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
737 MAINTAINER_MODE_FALSE
751 INSTALL_STRIP_PROGRAM
793 program_transform_name
806 enable_option_checking
808 enable_maintainer_mode
809 enable_dependency_tracking
826 enable_osx_universal_binaries
836 enable_background_post
844 with_simple_spellcheck
845 with_interactive_spellcheck
847 with_system_fixed_pinerc
848 with_local_support_info
849 with_mailcheck_interval
850 with_checkpoint_interval
851 with_checkpoint_frequency
854 with_max_display_rows
855 with_max_display_columns
861 with_forwarded_keyword
865 with_default_save_folder
866 with_default_legacy_postponed_folder
867 with_default_postponed_folder
868 with_default_trash_folder
869 with_default_interrupted_mail
870 with_default_dead_letter_folder
871 with_default_mail_directory
872 with_default_inbox_name
873 with_default_signature_file
874 with_default_elm_style_save
875 with_default_header_in_reply
876 with_default_old_style_reply
877 with_default_use_only_domain_name
878 with_default_save_by_sender
879 with_default_sort_key
880 with_default_addressbook_sort_rule
881 with_default_folder_sort_rule
882 with_default_saved_message_name_rule
883 with_default_fcc_rule
884 with_default_standard_printer
885 with_default_ansi_printer
886 with_default_addressbook
887 with_default_local_fullname
888 with_default_local_address
889 with_default_keyboard_lock_count
890 with_default_remote_addressbook_history
891 with_smime_public_cert_directory
892 with_smime_private_key_directory
893 with_smime_cacert_directory
896 with_local_password_cache
897 with_local_password_cache_method
907 with_krb5_include_dir
911 with_ldap_include_dir
919 with_system_mail_directory
924 ac_precious_vars
='build_alias
936 # Initialize some variables set by options.
938 ac_init_version
=false
939 ac_unrecognized_opts
=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name
=s
,x
,x
,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir
='${exec_prefix}/bin'
965 sbindir
='${exec_prefix}/sbin'
966 libexecdir
='${exec_prefix}/libexec'
967 datarootdir
='${prefix}/share'
968 datadir
='${datarootdir}'
969 sysconfdir
='${prefix}/etc'
970 sharedstatedir
='${prefix}/com'
971 localstatedir
='${prefix}/var'
972 includedir
='${prefix}/include'
973 oldincludedir
='/usr/include'
974 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir
='${datarootdir}/info'
980 libdir
='${exec_prefix}/lib'
981 localedir
='${datarootdir}/locale'
982 mandir
='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\
$ac_option
996 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1001 # Accept the important Cygnus configure options, so we can diagnose typos.
1003 case $ac_dashdash$ac_option in
1007 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1009 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1010 bindir
=$ac_optarg ;;
1012 -build |
--build |
--buil |
--bui |
--bu)
1013 ac_prev
=build_alias
;;
1014 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1015 build_alias
=$ac_optarg ;;
1017 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1018 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1019 ac_prev
=cache_file
;;
1020 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1021 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1022 cache_file
=$ac_optarg ;;
1024 --config-cache |
-C)
1025 cache_file
=config.cache
;;
1027 -datadir |
--datadir |
--datadi |
--datad)
1029 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1030 datadir
=$ac_optarg ;;
1032 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1033 |
--dataroo |
--dataro |
--datar)
1034 ac_prev
=datarootdir
;;
1035 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1036 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1037 datarootdir
=$ac_optarg ;;
1039 -disable-* |
--disable-*)
1040 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1043 as_fn_error $?
"invalid feature name: $ac_useropt"
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=no
;;
1055 -docdir |
--docdir |
--docdi |
--doc |
--do)
1057 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1058 docdir
=$ac_optarg ;;
1060 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1062 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1063 dvidir
=$ac_optarg ;;
1065 -enable-* |
--enable-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 as_fn_error $?
"invalid feature name: $ac_useropt"
1070 ac_useropt_orig
=$ac_useropt
1071 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1074 "enable_
$ac_useropt"
1076 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1077 ac_unrecognized_sep
=', ';;
1079 eval enable_
$ac_useropt=\
$ac_optarg ;;
1081 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1082 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1083 |
--exec |
--exe |
--ex)
1084 ac_prev
=exec_prefix
;;
1085 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1086 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1087 |
--exec=* |
--exe=* |
--ex=*)
1088 exec_prefix
=$ac_optarg ;;
1090 -gas |
--gas |
--ga |
--g)
1091 # Obsolete; use --with-gas.
1094 -help |
--help |
--hel |
--he |
-h)
1095 ac_init_help
=long
;;
1096 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1097 ac_init_help
=recursive
;;
1098 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1099 ac_init_help
=short
;;
1101 -host |
--host |
--hos |
--ho)
1102 ac_prev
=host_alias
;;
1103 -host=* |
--host=* |
--hos=* |
--ho=*)
1104 host_alias
=$ac_optarg ;;
1106 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1108 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1110 htmldir
=$ac_optarg ;;
1112 -includedir |
--includedir |
--includedi |
--included |
--include \
1113 |
--includ |
--inclu |
--incl |
--inc)
1114 ac_prev
=includedir
;;
1115 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1116 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1117 includedir
=$ac_optarg ;;
1119 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1121 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1122 infodir
=$ac_optarg ;;
1124 -libdir |
--libdir |
--libdi |
--libd)
1126 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1127 libdir
=$ac_optarg ;;
1129 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1130 |
--libexe |
--libex |
--libe)
1131 ac_prev
=libexecdir
;;
1132 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1133 |
--libexe=* |
--libex=* |
--libe=*)
1134 libexecdir
=$ac_optarg ;;
1136 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1137 ac_prev
=localedir
;;
1138 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1139 localedir
=$ac_optarg ;;
1141 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1142 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1143 ac_prev
=localstatedir
;;
1144 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1145 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1146 localstatedir
=$ac_optarg ;;
1148 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1150 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1151 mandir
=$ac_optarg ;;
1153 -nfp |
--nfp |
--nf)
1154 # Obsolete; use --without-fp.
1157 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1158 |
--no-cr |
--no-c |
-n)
1161 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1162 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1165 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1166 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1167 |
--oldin |
--oldi |
--old |
--ol |
--o)
1168 ac_prev
=oldincludedir
;;
1169 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1170 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1171 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1172 oldincludedir
=$ac_optarg ;;
1174 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1176 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1177 prefix
=$ac_optarg ;;
1179 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1180 |
--program-pre |
--program-pr |
--program-p)
1181 ac_prev
=program_prefix
;;
1182 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1183 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1184 program_prefix
=$ac_optarg ;;
1186 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1187 |
--program-suf |
--program-su |
--program-s)
1188 ac_prev
=program_suffix
;;
1189 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1190 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1191 program_suffix
=$ac_optarg ;;
1193 -program-transform-name |
--program-transform-name \
1194 |
--program-transform-nam |
--program-transform-na \
1195 |
--program-transform-n |
--program-transform- \
1196 |
--program-transform |
--program-transfor \
1197 |
--program-transfo |
--program-transf \
1198 |
--program-trans |
--program-tran \
1199 |
--progr-tra |
--program-tr |
--program-t)
1200 ac_prev
=program_transform_name
;;
1201 -program-transform-name=* |
--program-transform-name=* \
1202 |
--program-transform-nam=* |
--program-transform-na=* \
1203 |
--program-transform-n=* |
--program-transform-=* \
1204 |
--program-transform=* |
--program-transfor=* \
1205 |
--program-transfo=* |
--program-transf=* \
1206 |
--program-trans=* |
--program-tran=* \
1207 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1208 program_transform_name
=$ac_optarg ;;
1210 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1212 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1213 pdfdir
=$ac_optarg ;;
1215 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1217 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1220 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1221 |
-silent |
--silent |
--silen |
--sile |
--sil)
1224 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1226 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1228 sbindir
=$ac_optarg ;;
1230 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1231 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1232 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1234 ac_prev
=sharedstatedir
;;
1235 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1236 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1237 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1239 sharedstatedir
=$ac_optarg ;;
1241 -site |
--site |
--sit)
1243 -site=* |
--site=* |
--sit=*)
1246 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1248 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1249 srcdir
=$ac_optarg ;;
1251 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1252 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1253 ac_prev
=sysconfdir
;;
1254 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1255 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1256 sysconfdir
=$ac_optarg ;;
1258 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1259 ac_prev
=target_alias
;;
1260 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1261 target_alias
=$ac_optarg ;;
1263 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1266 -version |
--version |
--versio |
--versi |
--vers |
-V)
1267 ac_init_version
=: ;;
1270 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1273 as_fn_error $?
"invalid package name: $ac_useropt"
1274 ac_useropt_orig
=$ac_useropt
1275 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in
1280 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1281 ac_unrecognized_sep
=', ';;
1283 eval with_
$ac_useropt=\
$ac_optarg ;;
1285 -without-* |
--without-*)
1286 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1289 as_fn_error $?
"invalid package name: $ac_useropt"
1290 ac_useropt_orig
=$ac_useropt
1291 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1297 ac_unrecognized_sep
=', ';;
1299 eval with_
$ac_useropt=no
;;
1302 # Obsolete; use --with-x.
1305 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1306 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1307 ac_prev
=x_includes
;;
1308 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1309 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1310 x_includes
=$ac_optarg ;;
1312 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1313 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1314 ac_prev
=x_libraries
;;
1315 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1316 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1317 x_libraries
=$ac_optarg ;;
1319 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1320 Try \`$0 --help' for more information"
1324 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1325 # Reject names that are not valid shell variable names.
1326 case $ac_envvar in #(
1327 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1328 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1330 eval $ac_envvar=\
$ac_optarg
1331 export $ac_envvar ;;
1334 # FIXME: should be removed in autoconf 3.0.
1335 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1336 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1337 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1338 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1344 if test -n "$ac_prev"; then
1345 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1346 as_fn_error $?
"missing argument to $ac_option"
1349 if test -n "$ac_unrecognized_opts"; then
1350 case $enable_option_checking in
1352 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1353 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1357 # Check all directory arguments for consistency.
1358 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1359 datadir sysconfdir sharedstatedir localstatedir includedir \
1360 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1361 libdir localedir mandir
1363 eval ac_val
=\$
$ac_var
1364 # Remove trailing slashes.
1367 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1368 eval $ac_var=\
$ac_val;;
1370 # Be sure to have absolute directory names.
1372 [\\/$
]* | ?
:[\\/]* ) continue;;
1373 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1375 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1378 # There might be people who depend on the old broken behavior: `$host'
1379 # used to hold the argument of --host etc.
1380 # FIXME: To remove some day.
1383 target
=$target_alias
1385 # FIXME: To remove some day.
1386 if test "x$host_alias" != x
; then
1387 if test "x$build_alias" = x
; then
1388 cross_compiling
=maybe
1389 elif test "x$build_alias" != "x$host_alias"; then
1395 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1397 test "$silent" = yes && exec 6>/dev
/null
1400 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1401 ac_ls_di
=`ls -di .` &&
1402 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1403 as_fn_error $?
"working directory cannot be determined"
1404 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1405 as_fn_error $?
"pwd does not report name of working directory"
1408 # Find the source files, if location was not specified.
1409 if test -z "$srcdir"; then
1410 ac_srcdir_defaulted
=yes
1411 # Try the directory containing this script, then the parent directory.
1412 ac_confdir
=`$as_dirname -- "$as_myself" ||
1413 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1414 X"$as_myself" : 'X\(//\)[^/]' \| \
1415 X"$as_myself" : 'X\(//\)$' \| \
1416 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1417 $as_echo X"$as_myself" |
1418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1440 ac_srcdir_defaulted
=no
1442 if test ! -r "$srcdir/$ac_unique_file"; then
1443 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1444 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1446 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1448 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1450 # When building in place, set srcdir=.
1451 if test "$ac_abs_confdir" = "$ac_pwd"; then
1454 # Remove unnecessary trailing slashes from srcdir.
1455 # Double slashes in file names in object file debugging info
1456 # mess up M-x gdb in Emacs.
1458 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1460 for ac_var
in $ac_precious_vars; do
1461 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1462 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1463 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1464 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1468 # Report the --help message.
1470 if test "$ac_init_help" = "long"; then
1471 # Omit some internal or obsolete options to make the list less imposing.
1472 # This message is too long to be a string in the A/UX 3.1 sh.
1474 \`configure' configures alpine 2.21.9 to adapt to many kinds of systems.
1476 Usage: $0 [OPTION]... [VAR=VALUE]...
1478 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1479 VAR=VALUE. See below for descriptions of some of the useful variables.
1481 Defaults for the options are specified in brackets.
1484 -h, --help display this help and exit
1485 --help=short display options specific to this package
1486 --help=recursive display the short help of all the included packages
1487 -V, --version display version information and exit
1488 -q, --quiet, --silent do not print \`checking ...' messages
1489 --cache-file=FILE cache test results in FILE [disabled]
1490 -C, --config-cache alias for \`--cache-file=config.cache'
1491 -n, --no-create do not create output files
1492 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1494 Installation directories:
1495 --prefix=PREFIX install architecture-independent files in PREFIX
1496 [$ac_default_prefix]
1497 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1500 By default, \`make install' will install all the files in
1501 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1502 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1503 for instance \`--prefix=\$HOME'.
1505 For better control, use the options below.
1507 Fine tuning of the installation directories:
1508 --bindir=DIR user executables [EPREFIX/bin]
1509 --sbindir=DIR system admin executables [EPREFIX/sbin]
1510 --libexecdir=DIR program executables [EPREFIX/libexec]
1511 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1512 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1513 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1514 --libdir=DIR object code libraries [EPREFIX/lib]
1515 --includedir=DIR C header files [PREFIX/include]
1516 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1517 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1518 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1519 --infodir=DIR info documentation [DATAROOTDIR/info]
1520 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1521 --mandir=DIR man documentation [DATAROOTDIR/man]
1522 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1523 --htmldir=DIR html documentation [DOCDIR]
1524 --dvidir=DIR dvi documentation [DOCDIR]
1525 --pdfdir=DIR pdf documentation [DOCDIR]
1526 --psdir=DIR ps documentation [DOCDIR]
1532 --program-prefix=PREFIX prepend PREFIX to installed program names
1533 --program-suffix=SUFFIX append SUFFIX to installed program names
1534 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1537 --build=BUILD configure
for building on BUILD
[guessed
]
1538 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1542 if test -n "$ac_init_help"; then
1543 case $ac_init_help in
1544 short | recursive
) echo "Configuration of alpine 2.21.9:";;
1549 --disable-option-checking ignore unrecognized
--enable/--with options
1550 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1551 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1552 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1553 --disable-silent-rules verbose build output
(undo
: "make V=0")
1554 --enable-maintainer-mode
1555 enable make rules and dependencies not useful
(and
1556 sometimes confusing
) to the casual installer
1557 --enable-dependency-tracking
1558 do not reject slow dependency extractors
1559 --disable-dependency-tracking
1560 speeds up one-time build
1561 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1562 --enable-static[=PKGS
] build static libraries
[default
=yes]
1563 --enable-fast-install[=PKGS
]
1564 optimize
for fast installation
[default
=yes]
1565 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1566 --disable-nls do not use Native Language Support
1567 --disable-rpath do not hardcode runtime library paths
1568 --enable-dmalloc Enable dmalloc debugging
1569 --enable-osx-universal-binaries
1570 Produce universal binaries under OS X
[[default
=no
]]
1571 --disable-debug Exclude debug messages from
source
1572 --disable-optimization Exclude optimizing compiler flags
1573 --disable-mouse Disable mouse support
1574 --enable-quotas Enable disk quota checking on startup
1575 --disable-from-changing Disallow users changing From addresss
1576 --disable-background-post
1577 Disable background posting
1578 --disable-keyboard-lock Disable keyboard locking
1579 --enable-from-encoding Enable From encoding
in sent messages
1582 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1583 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1584 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1586 --with-aix-soname=aix|svr4|both
1587 shared library versioning
(aka
"SONAME") variant to
1588 provide on AIX
, [default
=aix
].
1589 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1590 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1591 compiler
's sysroot if not specified).
1592 --with-gnu-ld assume the C compiler uses GNU ld default=no
1593 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1594 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1595 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1596 --without-libintl-prefix don
't search for libintl in includedir and libdir
1597 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1598 --with-ps-cmd="CMD" Use this command to check running commands. Default:
1600 --with-localedir=DIR Name of gettext locale directory
1601 --with-include-path=PATHS
1602 Colon-separated list of directories used for include
1604 --with-lib-path=PATHS Colon-separated list of directories used for library
1606 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1607 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1608 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1609 --with-smtp-msa-flags=FLAGS
1610 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1611 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1612 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1613 --with-password-prog=PATH
1614 Password change program (/bin/passwd)
1615 --with-simple-spellcheck=PROG
1616 Spellcheck program reads stdin, emits misspellings
1618 --with-interactive-spellcheck=PROG
1619 Interactive, filewise spell checker
1620 --with-system-pinerc=VALUE
1621 System pinerc (/usr/local/lib/pine.conf)
1622 --with-system-fixed-pinerc=VALUE
1623 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1624 --with-local-support-info=VALUE
1625 Local Support Info File (/usr/local/lib/pine.info)
1626 --with-mailcheck-interval=VALUE
1627 Specify default mail-check-interval (150)
1628 --with-checkpoint-interval=VALUE
1629 Specify default checkpoint-interval (420)
1630 --with-checkpoint-frequency=VALUE
1631 State change count before checkpoint (12)
1632 --with-display-rows=VALUE
1633 Initial rows on display (24)
1634 --with-display-columns=VALUE
1635 Initial columns on display (80)
1636 --with-max-display-rows=VALUE
1637 Maximum display rows (200)
1638 --with-max-display-columns=VALUE
1639 Maximum display columns (500)
1640 --with-fill-column=VALUE
1641 Default fill column (74)
1642 --with-max_fill-column=VALUE
1643 Maximum fill column (80)
1644 --with-debug-level=VALUE
1645 Specify default debug verbosity level (2)
1646 --with-debug-files=VALUE
1647 Specify number of debug files (4)
1648 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1649 --with-forwarded-keyword=VALUE
1650 IMAP (c-client) keyword to store forwarded status
1652 --with-display-overlap=VALUE
1653 Lines preserved while paging (2)
1654 --with-display-margin=VALUE
1655 Lines visible while scrolling (0)
1656 --with-default-fcc=VALUE
1657 Default sent mail folder (sent-mail)
1658 --with-default-save-folder=VALUE
1659 Default save folder (saved-messages)
1660 --with-default-legacy-postponed-folder=VALUE
1661 Pre Pine 3.90 postponed folder (postponed-mail)
1662 --with-default-postponed-folder=VALUE
1663 Default postponed folder (postponed-msgs)
1664 --with-default-trash-folder=VALUE
1665 Default Trash folder for Web Alpine (Trash)
1666 --with-default-interrupted-mail=VALUE
1667 Default folder for interrupted mail
1668 (.pine-interrupted-mail)
1669 --with-default-dead-letter-folder=VALUE
1670 Default dead letter folder (dead.letter)
1671 --with-default-mail-directory=VALUE
1672 Default mail directory (mail)
1673 --with-default-inbox-name=VALUE
1674 Default inbox name (INBOX)
1675 --with-default-signature-file=VALUE
1676 Default signature file (.signature)
1677 --with-default-elm-style-save=VALUE
1678 Default to Elm style save (no)
1679 --with-default-header-in-reply=VALUE
1680 Include header in reply (no)
1681 --with-default-old-style-reply=VALUE
1682 Default to old style reply (no)
1683 --with-default-use-only-domain-name=VALUE
1684 Default to using only the domain name (no)
1685 --with-default-save-by-sender=VALUE
1686 Default to save by sender (no)
1687 --with-default-sort-key=VALUE
1688 Default sort key (arrival)
1689 --with-default-addressbook-sort-rule=VALUE
1690 Default addressbook sort rule
1691 (fullname-with-lists-last)
1692 --with-default-folder-sort-rule=VALUE
1693 Default folder sort rule (alphabetical)
1694 --with-default-saved-message-name-rule=VALUE
1695 Default saved message name rule (default-folder)
1696 --with-default-fcc-rule=VALUE
1697 Default fcc rule (default-fcc)
1698 --with-default-standard-printer=VALUE
1699 Default standard printern (lpr)
1700 --with-default-ansi-printer=VALUE
1701 ANSI printer definition (attached-to-ansi)
1702 --with-default-addressbook=VALUE
1703 Default addressbook name (.addressbook)
1704 --with-default-local-fullname=VALUE
1705 Default local support fullname ("Local Support")
1706 --with-default-local-address=VALUE
1707 Default local support address (postmaster)
1708 --with-default-keyboard-lock-count=VALUE
1709 Default keyboard lock count (1)
1710 --with-default-remote-addressbook-history=VALUE
1711 Default address book history count (3)
1712 --with-smime-public-cert-directory=VALUE
1713 Default Public Cert Directory (.alpine-smime/public)
1714 --with-smime-private-key-directory=VALUE
1715 Default Private Key Directory
1716 (.alpine-smime/private)
1717 --with-smime-cacert-directory=VALUE
1718 Default Cert Authority Directory (.alpine-smime/ca)
1719 --with-default-printer=VALUE
1720 Default printer (ANSI_PRINTER)
1721 --with-passfile=FILENAME
1722 Password cache file (recommended when S/MIME is
1723 enabled and configured)
1724 --without-local-password-cache
1725 Disable OS-specific password cache, if supported
1726 --with-local-password-cache-method
1727 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1729 --with-default-sshpath=FILENAME
1730 set default value of ssh command path (defining
1731 should cause ssh to be preferred to rsh)
1732 --with-default-sshcmd=PERCENT_S_STRING
1733 set default value of ssh command string (usually "%s
1734 %s -l %s exec /etc/r%sd")
1735 --without-ssl Disable SSL support (OpenSSL)
1736 --with-ssl-dir=DIR Root of SSL lib/include path
1737 --with-ssl-certs-dir=DIR
1738 Path to SSL certificate directory
1739 --with-ssl-include-dir=DIR
1740 SSL include file path
1741 --with-ssl-lib-dir=DIR SSL library path
1742 --without-krb5 Disable Kerberos support
1743 --with-krb5-dir=DIR Root of Kerberos lib/include path
1744 --with-krb5-include-dir=DIR
1745 Kerberos include file path
1746 --with-krb5-lib-dir=DIR Kerberos library path
1747 --without-ldap Disable LDAP query support
1748 --with-ldap-dir=DIR Root of LDAP lib/include path
1749 --with-ldap-include-dir=DIR
1750 Directory containing LDAP include files
1751 --with-ldap-lib-dir=DIR LDAP library path
1752 --without-smime Disable S/MIME
1753 --without-tcl Disable TCL, thus Web Alpine support
1754 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1755 --with-tcl-include=DIR Directory containing TCL include files
1756 --with-supplied-regex Use regex library supplied with alpine
1757 --without-pthread Do NOT test for nor build with POSIX thread support
1758 --with-system-mail-directory=DIR
1759 Directory where local mail is delivered
1760 --with-c-client-target=TARGET
1761 IMAP build target (see imap/Makefile)
1762 --without-ipv6 Disable IPv6, primarily to work around resolver
1764 --without-ntlm Disable NTLM client support
1766 Some influential environment variables:
1767 CC C compiler command
1768 CFLAGS C compiler flags
1769 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1770 nonstandard directory <lib dir>
1771 LIBS libraries to pass to the linker, e.g. -l<library>
1772 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1773 you have headers in a nonstandard directory <include dir>
1775 User-defined run-time library search path.
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.15'
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+set}" != 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 (and possibly the TAP driver). The
3354 # system "awk" is bad on some platforms.
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 -'
3370 # POSIX will say in a future version that running "rm -f" with no argument
3371 # is OK; and we want to be able to make that assumption in our Makefile
3372 # recipes. So use an aggressive probe to check that the usage we want is
3373 # actually supported "in the wild" to an acceptable degree.
3374 # See automake bug#10828.
3375 # To make any issue more visible, cause the running configure to be aborted
3376 # by default if the 'rm' program in use doesn't match our expectations; the
3377 # user can still override this though.
3378 if rm -f && rm -fr && rm -rf; then : OK
; else
3382 Your 'rm' program seems unable to run without file operands specified
3383 on the command line, even when the '-f' option is present. This is contrary
3384 to the behaviour of most rm programs out there, and not conforming with
3385 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3387 Please tell bug-automake@gnu.org about your system, including the value
3388 of your $PATH and any error possibly output before this message. This
3389 can help us improve future automake versions.
3392 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3393 echo 'Configuration will proceed anyway, since you have set the' >&2
3394 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3398 Aborting the configuration process, to ensure you take notice of the issue.
3400 You can download and install GNU coreutils to get an 'rm' implementation
3401 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3403 If you want to complete the configuration process using your problematic
3404 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3405 to "yes", and re-run configure.
3408 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3415 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3416 # Check whether --enable-maintainer-mode was given.
3417 if test "${enable_maintainer_mode+set}" = set; then :
3418 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3420 USE_MAINTAINER_MODE
=no
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3424 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3425 if test $USE_MAINTAINER_MODE = yes; then
3426 MAINTAINER_MODE_TRUE
=
3427 MAINTAINER_MODE_FALSE
='#'
3429 MAINTAINER_MODE_TRUE
='#'
3430 MAINTAINER_MODE_FALSE
=
3433 MAINT
=$MAINTAINER_MODE_TRUE
3437 # Make sure we can run config.sub.
3438 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3439 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3442 $as_echo_n "checking build system type... " >&6; }
3443 if ${ac_cv_build+:} false
; then :
3444 $as_echo_n "(cached) " >&6
3446 ac_build_alias
=$build_alias
3447 test "x$ac_build_alias" = x
&&
3448 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3449 test "x$ac_build_alias" = x
&&
3450 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3451 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3452 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3456 $as_echo "$ac_cv_build" >&6; }
3457 case $ac_cv_build in
3459 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3462 ac_save_IFS
=$IFS; IFS
='-'
3468 # Remember, the first character of IFS is used to create $*,
3469 # except with old shells:
3472 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3476 $as_echo_n "checking host system type... " >&6; }
3477 if ${ac_cv_host+:} false
; then :
3478 $as_echo_n "(cached) " >&6
3480 if test "x$host_alias" = x
; then
3481 ac_cv_host
=$ac_cv_build
3483 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3484 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3489 $as_echo "$ac_cv_host" >&6; }
3492 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3495 ac_save_IFS
=$IFS; IFS
='-'
3501 # Remember, the first character of IFS is used to create $*,
3502 # except with old shells:
3505 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3510 ac_cpp
='$CPP $CPPFLAGS'
3511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3517 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3519 # start out with intent to build Web Alpine
3520 WEB_BUILD
=web
/src
/alpined.d
3524 ac_cpp
='$CPP $CPPFLAGS'
3525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3528 if test -n "$ac_tool_prefix"; then
3529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3530 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if ${ac_cv_prog_CC+:} false
; then :
3534 $as_echo_n "(cached) " >&6
3536 if test -n "$CC"; then
3537 ac_cv_prog_CC
="$CC" # Let the user override the test.
3539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3543 test -z "$as_dir" && as_dir
=.
3544 for ac_exec_ext
in '' $ac_executable_extensions; do
3545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3546 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 if test -n "$CC"; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3559 $as_echo "$CC" >&6; }
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3567 if test -z "$ac_cv_prog_CC"; then
3569 # Extract the first word of "gcc", so it can be a program name with args.
3570 set dummy gcc
; ac_word
=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3574 $as_echo_n "(cached) " >&6
3576 if test -n "$ac_ct_CC"; then
3577 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3583 test -z "$as_dir" && as_dir
=.
3584 for ac_exec_ext
in '' $ac_executable_extensions; do
3585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3586 ac_cv_prog_ac_ct_CC
="gcc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3597 if test -n "$ac_ct_CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3599 $as_echo "$ac_ct_CC" >&6; }
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3605 if test "x$ac_ct_CC" = x
; then
3608 case $cross_compiling:$ac_tool_warned in
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3612 ac_tool_warned
=yes ;;
3620 if test -z "$CC"; then
3621 if test -n "$ac_tool_prefix"; then
3622 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3623 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_CC+:} false
; then :
3627 $as_echo_n "(cached) " >&6
3629 if test -n "$CC"; then
3630 ac_cv_prog_CC
="$CC" # Let the user override the test.
3632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir
=.
3637 for ac_exec_ext
in '' $ac_executable_extensions; do
3638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 if test -n "$CC"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3652 $as_echo "$CC" >&6; }
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3661 if test -z "$CC"; then
3662 # Extract the first word of "cc", so it can be a program name with args.
3663 set dummy cc
; ac_word
=$2
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665 $as_echo_n "checking for $ac_word... " >&6; }
3666 if ${ac_cv_prog_CC+:} false
; then :
3667 $as_echo_n "(cached) " >&6
3669 if test -n "$CC"; then
3670 ac_cv_prog_CC
="$CC" # Let the user override the test.
3673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3677 test -z "$as_dir" && as_dir
=.
3678 for ac_exec_ext
in '' $ac_executable_extensions; do
3679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3680 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3681 ac_prog_rejected
=yes
3685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 if test $ac_prog_rejected = yes; then
3693 # We found a bogon in the path, so make sure we never use it.
3694 set dummy
$ac_cv_prog_CC
3696 if test $# != 0; then
3697 # We chose a different compiler from the bogus one.
3698 # However, it has the same basename, so the bogon will be chosen
3699 # first if we set CC to just the basename; use the full file name.
3701 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
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; }
3717 if test -z "$CC"; then
3718 if test -n "$ac_tool_prefix"; then
3719 for ac_prog
in cl.exe
3721 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3722 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3725 if ${ac_cv_prog_CC+:} false
; then :
3726 $as_echo_n "(cached) " >&6
3728 if test -n "$CC"; then
3729 ac_cv_prog_CC
="$CC" # Let the user override the test.
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 if test -n "$CC"; then
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3751 $as_echo "$CC" >&6; }
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3754 $as_echo "no" >&6; }
3758 test -n "$CC" && break
3761 if test -z "$CC"; then
3763 for ac_prog
in cl.exe
3765 # Extract the first word of "$ac_prog", so it can be a program name with args.
3766 set dummy
$ac_prog; ac_word
=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3770 $as_echo_n "(cached) " >&6
3772 if test -n "$ac_ct_CC"; then
3773 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3779 test -z "$as_dir" && as_dir
=.
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_ac_ct_CC
="$ac_prog"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3793 if test -n "$ac_ct_CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3795 $as_echo "$ac_ct_CC" >&6; }
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3802 test -n "$ac_ct_CC" && break
3805 if test "x$ac_ct_CC" = x
; then
3808 case $cross_compiling:$ac_tool_warned in
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3812 ac_tool_warned
=yes ;;
3821 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3823 as_fn_error $?
"no acceptable C compiler found in \$PATH
3824 See \`config.log' for more details" "$LINENO" 5; }
3826 # Provide some information about the compiler.
3827 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3830 for ac_option
in --version -v -V -qversion; do
3831 { { ac_try
="$ac_compiler $ac_option >&5"
3833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3834 *) ac_try_echo=$ac_try;;
3836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3837 $as_echo "$ac_try_echo"; } >&5
3838 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3840 if test -s conftest.err; then
3842 ... rest of stderr output deleted ...
3843 10q' conftest.err >conftest.er1
3844 cat conftest.er1 >&5
3846 rm -f conftest.er1 conftest.err
3847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3848 test $ac_status = 0; }
3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3862 ac_clean_files_save=$ac_clean_files
3863 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3864 # Try to create an executable without -o first, disregard a.out.
3865 # It will help us diagnose broken compilers, and finding out an intuition
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3868 $as_echo_n "checking whether the C compiler works... " >&6; }
3869 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3871 # The possible output files:
3872 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3875 for ac_file in $ac_files
3878 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3879 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3884 if { { ac_try="$ac_link_default"
3886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3887 *) ac_try_echo
=$ac_try;;
3889 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3890 $as_echo "$ac_try_echo"; } >&5
3891 (eval "$ac_link_default") 2>&5
3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894 test $ac_status = 0; }; then :
3895 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3896 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3897 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3898 # so that the user can short-circuit this test for compilers unknown to
3900 for ac_file
in $ac_files ''
3902 test -f "$ac_file" ||
continue
3904 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3907 # We found the default executable, but exeext='' is most
3911 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3913 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3915 # We set ac_cv_exeext here because the later test for it is not
3916 # safe: cross compilers may not add the suffix if given an `-o'
3917 # argument, so we may need to know it at that point already.
3918 # Even if this section looks crufty: it has the advantage of
3925 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3930 if test -z "$ac_file"; then :
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3933 $as_echo "$as_me: failed program was:" >&5
3934 sed 's/^/| /' conftest.
$ac_ext >&5
3936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938 as_fn_error
77 "C compiler cannot create executables
3939 See \`config.log' for more details" "$LINENO" 5; }
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3942 $as_echo "yes" >&6; }
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3945 $as_echo_n "checking for C compiler default output file name... " >&6; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3947 $as_echo "$ac_file" >&6; }
3948 ac_exeext
=$ac_cv_exeext
3950 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3951 ac_clean_files
=$ac_clean_files_save
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3953 $as_echo_n "checking for suffix of executables... " >&6; }
3954 if { { ac_try
="$ac_link"
3956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3960 $as_echo "$ac_try_echo"; } >&5
3961 (eval "$ac_link") 2>&5
3963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 test $ac_status = 0; }; then :
3965 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3966 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3967 # work properly (i.e., refer to `conftest.exe'), while it won't with
3969 for ac_file
in conftest.exe conftest conftest.
*; do
3970 test -f "$ac_file" ||
continue
3972 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3973 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3982 See \`config.log' for more details" "$LINENO" 5; }
3984 rm -f conftest conftest
$ac_cv_exeext
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3986 $as_echo "$ac_cv_exeext" >&6; }
3988 rm -f conftest.
$ac_ext
3989 EXEEXT
=$ac_cv_exeext
3991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3992 /* end confdefs.h. */
3997 FILE *f = fopen ("conftest.out", "w");
3998 return ferror (f) || fclose (f) != 0;
4004 ac_clean_files
="$ac_clean_files conftest.out"
4005 # Check that the compiler produces executables we can run. If not, either
4006 # the compiler is broken, or we cross compile.
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4008 $as_echo_n "checking whether we are cross compiling... " >&6; }
4009 if test "$cross_compiling" != yes; then
4010 { { ac_try
="$ac_link"
4012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4013 *) ac_try_echo=$ac_try;;
4015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4016 $as_echo "$ac_try_echo"; } >&5
4017 (eval "$ac_link") 2>&5
4019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4020 test $ac_status = 0; }
4021 if { ac_try='./conftest$ac_cv_exeext'
4022 { { case "(($ac_try" in
4023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4024 *) ac_try_echo
=$ac_try;;
4026 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4027 $as_echo "$ac_try_echo"; } >&5
4028 (eval "$ac_try") 2>&5
4030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4031 test $ac_status = 0; }; }; then
4034 if test "$cross_compiling" = maybe
; then
4037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $?
"cannot run C compiled programs.
4040 If you meant to cross compile, use \`--host'.
4041 See \`config.log' for more details" "$LINENO" 5; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4046 $as_echo "$cross_compiling" >&6; }
4048 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4049 ac_clean_files
=$ac_clean_files_save
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4051 $as_echo_n "checking for suffix of object files... " >&6; }
4052 if ${ac_cv_objext+:} false
; then :
4053 $as_echo_n "(cached) " >&6
4055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4066 rm -f conftest.o conftest.obj
4067 if { { ac_try
="$ac_compile"
4069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4073 $as_echo "$ac_try_echo"; } >&5
4074 (eval "$ac_compile") 2>&5
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4077 test $ac_status = 0; }; then :
4078 for ac_file in conftest.o conftest.obj conftest.*; do
4079 test -f "$ac_file" || continue;
4081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4082 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4087 $as_echo "$as_me: failed program was:" >&5
4088 sed 's/^/| /' conftest.$ac_ext >&5
4090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4092 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4093 See \
`config.log' for more details" "$LINENO" 5; }
4095 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4098 $as_echo "$ac_cv_objext" >&6; }
4099 OBJEXT=$ac_cv_objext
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4102 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4103 if ${ac_cv_c_compiler_gnu+:} false; then :
4104 $as_echo_n "(cached) " >&6
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4120 if ac_fn_c_try_compile "$LINENO"; then :
4125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4130 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4131 if test $ac_compiler_gnu = yes; then
4136 ac_test_CFLAGS=${CFLAGS+set}
4137 ac_save_CFLAGS=$CFLAGS
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4139 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4140 if ${ac_cv_prog_cc_g+:} false; then :
4141 $as_echo_n "(cached) " >&6
4143 ac_save_c_werror_flag=$ac_c_werror_flag
4144 ac_c_werror_flag=yes
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 /* end confdefs.h. */
4158 if ac_fn_c_try_compile "$LINENO"; then :
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4173 if ac_fn_c_try_compile "$LINENO"; then :
4176 ac_c_werror_flag=$ac_save_c_werror_flag
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4189 if ac_fn_c_try_compile "$LINENO"; then :
4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4197 ac_c_werror_flag=$ac_save_c_werror_flag
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4200 $as_echo "$ac_cv_prog_cc_g" >&6; }
4201 if test "$ac_test_CFLAGS" = set; then
4202 CFLAGS=$ac_save_CFLAGS
4203 elif test $ac_cv_prog_cc_g = yes; then
4204 if test "$GCC" = yes; then
4210 if test "$GCC" = yes; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4217 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4218 if ${ac_cv_prog_cc_c89+:} false; then :
4219 $as_echo_n "(cached) " >&6
4221 ac_cv_prog_cc_c89=no
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4228 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4229 struct buf { int x; };
4230 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4231 static char *e (p, i)
4237 static char *f (char * (*g) (char **, int), char **p, ...)
4242 s = g (p, va_arg (v,int));
4247 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4248 function prototypes and stuff, but not '\xHH' hex character constants.
4249 These don't provoke an error unfortunately, instead are silently treated
4250 as 'x'. The following induces an error, until -std is added to get
4251 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4252 array size at least. It's necessary to write '\x00'==0 to get something
4253 that's true only with -std. */
4254 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4256 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4257 inside strings and character constants. */
4259 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4261 int test (int i, double x);
4262 struct s1 {int (*f) (int a);};
4263 struct s2 {int (*f) (double a);};
4264 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4270 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4275 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4276 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4278 CC="$ac_save_CC $ac_arg"
4279 if ac_fn_c_try_compile "$LINENO"; then :
4280 ac_cv_prog_cc_c89=$ac_arg
4282 rm -f core conftest.err conftest.$ac_objext
4283 test "x$ac_cv_prog_cc_c89" != "xno" && break
4285 rm -f conftest.$ac_ext
4290 case "x$ac_cv_prog_cc_c89" in
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4293 $as_echo "none needed" >&6; } ;;
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4296 $as_echo "unsupported" >&6; } ;;
4298 CC="$CC $ac_cv_prog_cc_c89"
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4300 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4302 if test "x$ac_cv_prog_cc_c89" != xno; then :
4307 ac_cpp='$CPP $CPPFLAGS'
4308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4313 ac_cpp='$CPP $CPPFLAGS'
4314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4318 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4319 if ${am_cv_prog_cc_c_o+:} false; then :
4320 $as_echo_n "(cached) " >&6
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4333 # Make sure it works both with $CC and with simple cc.
4334 # Following AC_PROG_CC_C_O, we do the test twice because some
4335 # compilers refuse to overwrite an existing .o file with -o,
4336 # though they will create one.
4337 am_cv_prog_cc_c_o=yes
4339 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4340 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } \
4344 && test -f conftest2.$ac_objext; then
4347 am_cv_prog_cc_c_o=no
4351 rm -f core conftest*
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4355 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4356 if test "$am_cv_prog_cc_c_o" != yes; then
4357 # Losing compiler, so override with the script.
4358 # FIXME: It is wrong to rewrite CC.
4359 # But if we don't then we get into trouble of one sort or another.
4360 # A longer-term fix would be to have automake use am__CC in this case,
4361 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4362 CC="$am_aux_dir/compile $CC"
4365 ac_cpp='$CPP $CPPFLAGS'
4366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4370 DEPDIR="${am__leading_dot}deps"
4372 ac_config_commands="$ac_config_commands depfiles"
4375 am_make=${MAKE-make}
4376 cat > confinc << 'END'
4378 @echo this is the am__doit target
4381 # If we don't find an include directive, just comment out the code.
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4383 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4387 # First try GNU make style include.
4388 echo "include confinc" > confmf
4389 # Ignore all kinds of additional output from 'make'.
4390 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4391 *the\ am__doit\ target*)
4397 # Now try BSD make style include.
4398 if test "$am__include" = "#"; then
4399 echo '.include "confinc"' > confmf
4400 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4401 *the\ am__doit\ target*)
4402 am__include=.include
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4411 $as_echo "$_am_result" >&6; }
4412 rm -f confinc confmf
4414 # Check whether --enable-dependency-tracking was given.
4415 if test "${enable_dependency_tracking+set}" = set; then :
4416 enableval=$enable_dependency_tracking;
4419 if test "x$enable_dependency_tracking" != xno; then
4420 am_depcomp="$ac_aux_dir/depcomp"
4424 if test "x$enable_dependency_tracking" != xno; then
4434 depcc="$CC" am_compiler_list=
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4437 $as_echo_n "checking dependency style of $depcc... " >&6; }
4438 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4439 $as_echo_n "(cached) " >&6
4441 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4442 # We make a subdir and do the tests there. Otherwise we can end up
4443 # making bogus files that we don't know about and never remove. For
4444 # instance it was reported that on HP-UX the gcc test will end up
4445 # making a dummy file named 'D' -- because '-MD' means "put the output
4449 # Copy depcomp to subdir because otherwise we won't find it if we're
4450 # using a relative directory.
4451 cp "$am_depcomp" conftest.dir
4453 # We will build objects and dependencies in a subdirectory because
4454 # it helps to detect inapplicable dependency modes. For instance
4455 # both Tru64's cc and ICC support -MD to output dependencies as a
4456 # side effect of compilation, but ICC will put the dependencies in
4457 # the current directory while Tru64 will put them in the object
4461 am_cv_CC_dependencies_compiler_type=none
4462 if test "$am_compiler_list" = ""; then
4463 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4466 case " $depcc " in #(
4467 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4470 for depmode in $am_compiler_list; do
4471 # Setup a source with many dependencies, because some compilers
4472 # like to wrap large dependency lists on column 80 (with \), and
4473 # we should not choose a depcomp mode which is confused by this.
4475 # We need to recreate these files for each test, as the compiler may
4476 # overwrite some of them when testing with obscure command lines.
4477 # This happens at least with the AIX C compiler.
4479 for i in 1 2 3 4 5 6; do
4480 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4481 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4482 # Solaris 10 /bin/sh.
4483 echo '/* dummy */' > sub/conftst$i.h
4485 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4487 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4488 # mode. It turns out that the SunPro C++ compiler does not properly
4489 # handle '-M -o', and we need to detect this. Also, some Intel
4490 # versions had trouble with output in subdirs.
4491 am__obj=sub/conftest.${OBJEXT-o}
4492 am__minus_obj="-o $am__obj"
4495 # This depmode causes a compiler race in universal mode.
4496 test "$am__universal" = false || continue
4499 # After this tag, mechanisms are not by side-effect, so they'll
4500 # only be used when explicitly requested.
4501 if test "x$enable_dependency_tracking" = xyes; then
4507 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4508 # This compiler won't grok '-c -o', but also, the minuso test has
4509 # not run yet. These depmodes are late enough in the game, and
4510 # so weak that their functioning should not be impacted.
4511 am__obj=conftest.${OBJEXT-o}
4516 if depmode=$depmode \
4517 source=sub/conftest.c object=$am__obj \
4518 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4519 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4520 >/dev/null 2>conftest.err &&
4521 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4522 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4523 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4524 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4525 # icc doesn't choke on unknown options, it will just issue warnings
4526 # or remarks (even with -Werror). So we grep stderr for any message
4527 # that says an option was ignored or not supported.
4528 # When given -MP, icc 7.0 and 7.1 complain thusly:
4529 # icc: Command line warning: ignoring option '-M'; no argument required
4530 # The diagnosis changed in icc 8.0:
4531 # icc: Command line remark: option '-MP' not supported
4532 if (grep 'ignoring option' conftest.err ||
4533 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4534 am_cv_CC_dependencies_compiler_type=$depmode
4543 am_cv_CC_dependencies_compiler_type=none
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4548 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4549 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4552 test "x$enable_dependency_tracking" != xno \
4553 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4555 am__fastdepCC_FALSE='#'
4557 am__fastdepCC_TRUE='#'
4558 am__fastdepCC_FALSE=
4562 case $ac_cv_prog_cc_stdc in #(
4564 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4567 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4568 if ${ac_cv_prog_cc_c99+:} false; then :
4569 $as_echo_n "(cached) " >&6
4571 ac_cv_prog_cc_c99=no
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4576 #include <stdbool.h>
4581 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4582 #define debug(...) fprintf (stderr, __VA_ARGS__)
4583 #define showlist(...) puts (#__VA_ARGS__)
4584 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4586 test_varargs_macros (void)
4591 debug ("X = %d\n", x);
4592 showlist (The first, second, and third items.);
4593 report (x>y, "x is %d but y is %d", x, y);
4596 // Check long long types.
4597 #define BIG64 18446744073709551615ull
4598 #define BIG32 4294967295ul
4599 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4601 your preprocessor is broken;
4605 your preprocessor is broken;
4607 static long long int bignum = -9223372036854775807LL;
4608 static unsigned long long int ubignum = BIG64;
4610 struct incomplete_array
4618 const wchar_t *name;
4622 typedef const char *ccp;
4625 test_restrict (ccp restrict text)
4627 // See if C++-style comments work.
4628 // Iterate through items via the restricted pointer.
4629 // Also check for declarations in for loops.
4630 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4635 // Check varargs and va_copy.
4637 test_varargs (const char *format, ...)
4640 va_start (args, format);
4642 va_copy (args_copy, args);
4653 str = va_arg (args_copy, const char *);
4656 number = va_arg (args_copy, int);
4659 fnumber = va_arg (args_copy, double);
4674 _Bool success = false;
4677 if (test_restrict ("String literal") == 0)
4679 char *restrict newvar = "Another string";
4682 test_varargs ("s, d' f .", "string", 65, 34.234);
4683 test_varargs_macros ();
4685 // Check flexible array members.
4686 struct incomplete_array *ia =
4687 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4689 for (int i = 0; i < ia->datasize; ++i)
4690 ia->data[i] = i * 1.234;
4692 // Check named initializers.
4693 struct named_init ni = {
4695 .name = L"Test wide string",
4696 .average = 543.34343,
4701 int dynamic_array[ni.number];
4702 dynamic_array[ni.number - 1] = 543;
4704 // work around unused variable warnings
4705 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4706 || dynamic_array[ni.number - 1] != 543);
4712 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4714 CC="$ac_save_CC $ac_arg"
4715 if ac_fn_c_try_compile "$LINENO"; then :
4716 ac_cv_prog_cc_c99=$ac_arg
4718 rm -f core conftest.err conftest.$ac_objext
4719 test "x$ac_cv_prog_cc_c99" != "xno" && break
4721 rm -f conftest.$ac_ext
4726 case "x$ac_cv_prog_cc_c99" in
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4729 $as_echo "none needed" >&6; } ;;
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4732 $as_echo "unsupported" >&6; } ;;
4734 CC="$CC $ac_cv_prog_cc_c99"
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4736 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4738 if test "x$ac_cv_prog_cc_c99" != xno; then :
4739 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4742 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4743 if ${ac_cv_prog_cc_c89+:} false; then :
4744 $as_echo_n "(cached) " >&6
4746 ac_cv_prog_cc_c89=no
4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4753 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4754 struct buf { int x; };
4755 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4756 static char *e (p, i)
4762 static char *f (char * (*g) (char **, int), char **p, ...)
4767 s = g (p, va_arg (v,int));
4772 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4773 function prototypes and stuff, but not '\xHH' hex character constants.
4774 These don't provoke an error unfortunately, instead are silently treated
4775 as 'x'. The following induces an error, until -std is added to get
4776 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4777 array size at least. It's necessary to write '\x00'==0 to get something
4778 that's true only with -std. */
4779 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4781 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4782 inside strings and character constants. */
4784 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4786 int test (int i, double x);
4787 struct s1 {int (*f) (int a);};
4788 struct s2 {int (*f) (double a);};
4789 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4795 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4800 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4801 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4803 CC="$ac_save_CC $ac_arg"
4804 if ac_fn_c_try_compile "$LINENO"; then :
4805 ac_cv_prog_cc_c89=$ac_arg
4807 rm -f core conftest.err conftest.$ac_objext
4808 test "x$ac_cv_prog_cc_c89" != "xno" && break
4810 rm -f conftest.$ac_ext
4815 case "x$ac_cv_prog_cc_c89" in
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4818 $as_echo "none needed" >&6; } ;;
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4821 $as_echo "unsupported" >&6; } ;;
4823 CC="$CC $ac_cv_prog_cc_c89"
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4825 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4827 if test "x$ac_cv_prog_cc_c89" != xno; then :
4828 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4830 ac_cv_prog_cc_stdc=no
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4837 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4838 if ${ac_cv_prog_cc_stdc+:} false; then :
4839 $as_echo_n "(cached) " >&6
4842 case $ac_cv_prog_cc_stdc in #(
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4845 $as_echo "unsupported" >&6; } ;; #(
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4848 $as_echo "none needed" >&6; } ;; #(
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4851 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4856 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4858 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4859 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4860 $as_echo_n "(cached) " >&6
4862 cat >conftest.make <<\_ACEOF
4865 @echo '@@@%%%=$(MAKE)=@@@%%%'
4867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4868 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4870 eval ac_cv_prog_make_${ac_make}_set=yes;;
4872 eval ac_cv_prog_make_${ac_make}_set=no;;
4876 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4878 $as_echo "yes" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4883 SET_MAKE="MAKE=${MAKE-make}"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4887 $as_echo_n "checking whether ln -s works... " >&6; }
4889 if test "$LN_S" = "ln -s"; then
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4891 $as_echo "yes" >&6; }
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4894 $as_echo "no, using $LN_S" >&6; }
4897 for ac_prog in gawk mawk nawk awk
4899 # Extract the first word of "$ac_prog", so it can be a program name with args.
4900 set dummy $ac_prog; ac_word=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if ${ac_cv_prog_AWK+:} false; then :
4904 $as_echo_n "(cached) " >&6
4906 if test -n "$AWK"; then
4907 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 test -z "$as_dir" && as_dir=.
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4916 ac_cv_prog_AWK="$ac_prog"
4917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 if test -n "$AWK"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4929 $as_echo "$AWK" >&6; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4936 test -n "$AWK" && break
4939 if test -n "$ac_tool_prefix"; then
4940 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4941 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_RANLIB+:} false; then :
4945 $as_echo_n "(cached) " >&6
4947 if test -n "$RANLIB"; then
4948 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 RANLIB=$ac_cv_prog_RANLIB
4968 if test -n "$RANLIB"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4970 $as_echo "$RANLIB" >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4978 if test -z "$ac_cv_prog_RANLIB"; then
4979 ac_ct_RANLIB=$RANLIB
4980 # Extract the first word of "ranlib", so it can be a program name with args.
4981 set dummy ranlib; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 if test -n "$ac_ct_RANLIB"; then
4988 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_ac_ct_RANLIB="ranlib"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5008 if test -n "$ac_ct_RANLIB"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5010 $as_echo "$ac_ct_RANLIB" >&6; }
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5016 if test "x$ac_ct_RANLIB" = x; then
5019 case $cross_compiling:$ac_tool_warned in
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned=yes ;;
5025 RANLIB=$ac_ct_RANLIB
5028 RANLIB="$ac_cv_prog_RANLIB"
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5034 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5039 macro_version='2.4.6'
5040 macro_revision='2.4.6'
5054 ltmain=$ac_aux_dir/ltmain.sh
5056 # Backslashify metacharacters that are still active within
5057 # double-quoted strings.
5058 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5060 # Same as above, but do not quote variable references.
5061 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5063 # Sed substitution to delay expansion of an escaped shell variable in a
5064 # double_quote_subst'ed string.
5065 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5067 # Sed substitution to delay expansion of an escaped single quote.
5068 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5070 # Sed substitution to avoid accidental globbing in evaled expressions
5071 no_glob_subst='s/\*/\\\*/g'
5073 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5074 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5075 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5078 $as_echo_n "checking how to print
strings...
" >&6; }
5079 # Test print first, because it will be a builtin if present.
5080 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5081 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5083 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5086 # Use this function as a fallback that always works.
5087 func_fallback_echo ()
5089 eval 'cat <<_LTECHO_EOF
5093 ECHO='func_fallback_echo'
5096 # func_echo_all arg...
5097 # Invoke $ECHO with all args, space-separated.
5104 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5105 $as_echo "printf" >&6; } ;;
5106 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5107 $as_echo "print
-r" >&6; } ;;
5108 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5109 $as_echo "cat" >&6; } ;;
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5126 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5127 if ${ac_cv_path_SED+:} false; then :
5128 $as_echo_n "(cached
) " >&6
5130 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5131 for ac_i in 1 2 3 4 5 6 7; do
5132 ac_script="$ac_script$as_nl$ac_script"
5134 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5135 { ac_script=; unset ac_script;}
5136 if test -z "$SED"; then
5137 ac_path_SED_found=false
5138 # Loop through the user's path and test for each of PROGNAME-LIST
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir=.
5144 for ac_prog in sed gsed; do
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5147 as_fn_executable_p "$ac_path_SED" || continue
5148 # Check for GNU ac_path_SED and select it if it is found.
5149 # Check for GNU $ac_path_SED
5150 case `"$ac_path_SED" --version 2>&1` in
5152 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5155 $as_echo_n 0123456789 >"conftest.
in"
5158 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5159 mv "conftest.tmp
" "conftest.
in"
5160 cp "conftest.
in" "conftest.
nl"
5161 $as_echo '' >> "conftest.
nl"
5162 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5163 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5164 as_fn_arith $ac_count + 1 && ac_count=$as_val
5165 if test $ac_count -gt ${ac_path_SED_max-0}; then
5166 # Best one so far, save it but keep looking for a better one
5167 ac_cv_path_SED="$ac_path_SED"
5168 ac_path_SED_max=$ac_count
5170 # 10*(2^10) chars as input seems more than enough
5171 test $ac_count -gt 10 && break
5173 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5176 $ac_path_SED_found && break 3
5181 if test -z "$ac_cv_path_SED"; then
5182 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5190 $as_echo "$ac_cv_path_SED" >&6; }
5191 SED="$ac_cv_path_SED"
5194 test -z "$SED" && SED=sed
5195 Xsed="$SED -e 1s
/^X
//"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5208 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5209 if ${ac_cv_path_GREP+:} false; then :
5210 $as_echo_n "(cached
) " >&6
5212 if test -z "$GREP"; then
5213 ac_path_GREP_found=false
5214 # Loop through the user's path and test for each of PROGNAME-LIST
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5219 test -z "$as_dir" && as_dir=.
5220 for ac_prog in grep ggrep; do
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5223 as_fn_executable_p "$ac_path_GREP" || continue
5224 # Check for GNU ac_path_GREP and select it if it is found.
5225 # Check for GNU $ac_path_GREP
5226 case `"$ac_path_GREP" --version 2>&1` in
5228 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5231 $as_echo_n 0123456789 >"conftest.
in"
5234 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5235 mv "conftest.tmp
" "conftest.
in"
5236 cp "conftest.
in" "conftest.
nl"
5237 $as_echo 'GREP' >> "conftest.
nl"
5238 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5239 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5240 as_fn_arith $ac_count + 1 && ac_count=$as_val
5241 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5242 # Best one so far, save it but keep looking for a better one
5243 ac_cv_path_GREP="$ac_path_GREP"
5244 ac_path_GREP_max=$ac_count
5246 # 10*(2^10) chars as input seems more than enough
5247 test $ac_count -gt 10 && break
5249 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5252 $ac_path_GREP_found && break 3
5257 if test -z "$ac_cv_path_GREP"; then
5258 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5261 ac_cv_path_GREP=$GREP
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5266 $as_echo "$ac_cv_path_GREP" >&6; }
5267 GREP="$ac_cv_path_GREP"
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5271 $as_echo_n "checking
for egrep...
" >&6; }
5272 if ${ac_cv_path_EGREP+:} false; then :
5273 $as_echo_n "(cached
) " >&6
5275 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5276 then ac_cv_path_EGREP="$GREP -E"
5278 if test -z "$EGREP"; then
5279 ac_path_EGREP_found=false
5280 # Loop through the user's path and test for each of PROGNAME-LIST
5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5285 test -z "$as_dir" && as_dir=.
5286 for ac_prog in egrep; do
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5289 as_fn_executable_p "$ac_path_EGREP" || continue
5290 # Check for GNU ac_path_EGREP and select it if it is found.
5291 # Check for GNU $ac_path_EGREP
5292 case `"$ac_path_EGREP" --version 2>&1` in
5294 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5297 $as_echo_n 0123456789 >"conftest.
in"
5300 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5301 mv "conftest.tmp
" "conftest.
in"
5302 cp "conftest.
in" "conftest.
nl"
5303 $as_echo 'EGREP' >> "conftest.
nl"
5304 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5305 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5306 as_fn_arith $ac_count + 1 && ac_count=$as_val
5307 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5308 # Best one so far, save it but keep looking for a better one
5309 ac_cv_path_EGREP="$ac_path_EGREP"
5310 ac_path_EGREP_max=$ac_count
5312 # 10*(2^10) chars as input seems more than enough
5313 test $ac_count -gt 10 && break
5315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5318 $ac_path_EGREP_found && break 3
5323 if test -z "$ac_cv_path_EGREP"; then
5324 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5327 ac_cv_path_EGREP=$EGREP
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5333 $as_echo "$ac_cv_path_EGREP" >&6; }
5334 EGREP="$ac_cv_path_EGREP"
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5338 $as_echo_n "checking
for fgrep...
" >&6; }
5339 if ${ac_cv_path_FGREP+:} false; then :
5340 $as_echo_n "(cached
) " >&6
5342 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5343 then ac_cv_path_FGREP="$GREP -F"
5345 if test -z "$FGREP"; then
5346 ac_path_FGREP_found=false
5347 # Loop through the user's path and test for each of PROGNAME-LIST
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5352 test -z "$as_dir" && as_dir=.
5353 for ac_prog in fgrep; do
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5356 as_fn_executable_p "$ac_path_FGREP" || continue
5357 # Check for GNU ac_path_FGREP and select it if it is found.
5358 # Check for GNU $ac_path_FGREP
5359 case `"$ac_path_FGREP" --version 2>&1` in
5361 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5364 $as_echo_n 0123456789 >"conftest.
in"
5367 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5368 mv "conftest.tmp
" "conftest.
in"
5369 cp "conftest.
in" "conftest.
nl"
5370 $as_echo 'FGREP' >> "conftest.
nl"
5371 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5372 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5373 as_fn_arith $ac_count + 1 && ac_count=$as_val
5374 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5375 # Best one so far, save it but keep looking for a better one
5376 ac_cv_path_FGREP="$ac_path_FGREP"
5377 ac_path_FGREP_max=$ac_count
5379 # 10*(2^10) chars as input seems more than enough
5380 test $ac_count -gt 10 && break
5382 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5385 $ac_path_FGREP_found && break 3
5390 if test -z "$ac_cv_path_FGREP"; then
5391 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5394 ac_cv_path_FGREP=$FGREP
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5400 $as_echo "$ac_cv_path_FGREP" >&6; }
5401 FGREP="$ac_cv_path_FGREP"
5404 test -z "$GREP" && GREP=grep
5424 # Check whether --with-gnu-ld was given.
5425 if test "${with_gnu_ld+set}" = set; then :
5426 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5432 if test yes = "$GCC"; then
5433 # Check if gcc -print-prog-name=ld gives a path.
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5435 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5438 # gcc leaves a trailing carriage return, which upsets mingw
5439 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5441 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5444 # Accept absolute paths.
5446 re_direlt='/[^/][^/]*/\.\./'
5447 # Canonicalize the pathname of ld
5448 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5449 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5450 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5452 test -z "$LD" && LD=$ac_prog
5455 # If it fails, then pretend we aren't using GCC.
5459 # If it is relative, then search for the first ld in PATH.
5463 elif test yes = "$with_gnu_ld"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5465 $as_echo_n "checking
for GNU ld...
" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5468 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5470 if ${lt_cv_path_LD+:} false; then :
5471 $as_echo_n "(cached
) " >&6
5473 if test -z "$LD"; then
5474 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5475 for ac_dir in $PATH; do
5477 test -z "$ac_dir" && ac_dir=.
5478 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5479 lt_cv_path_LD=$ac_dir/$ac_prog
5480 # Check to see if the program is GNU ld. I'd rather use --version,
5481 # but apparently some variants of GNU ld only accept -v.
5482 # Break only if it was the GNU/non-GNU ld that we prefer.
5483 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5484 *GNU* | *'with BFD'*)
5485 test no != "$with_gnu_ld" && break
5488 test yes != "$with_gnu_ld" && break
5495 lt_cv_path_LD=$LD # Let the user override the test with a path.
5500 if test -n "$LD"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5502 $as_echo "$LD" >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5505 $as_echo "no
" >&6; }
5507 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5509 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5510 if ${lt_cv_prog_gnu_ld+:} false; then :
5511 $as_echo_n "(cached
) " >&6
5513 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5514 case `$LD -v 2>&1 </dev/null` in
5515 *GNU* | *'with BFD'*)
5516 lt_cv_prog_gnu_ld=yes
5519 lt_cv_prog_gnu_ld=no
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5524 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5525 with_gnu_ld=$lt_cv_prog_gnu_ld
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5536 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5537 if ${lt_cv_path_NM+:} false; then :
5538 $as_echo_n "(cached
) " >&6
5540 if test -n "$NM"; then
5541 # Let the user override the test.
5544 lt_nm_to_check=${ac_tool_prefix}nm
5545 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5546 lt_nm_to_check="$lt_nm_to_check nm
"
5548 for lt_tmp_nm in $lt_nm_to_check; do
5549 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5550 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5552 test -z "$ac_dir" && ac_dir=.
5553 tmp_nm=$ac_dir/$lt_tmp_nm
5554 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5555 # Check to see if the nm accepts a BSD-compat flag.
5556 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5557 # nm: unknown option "B
" ignored
5558 # Tru64's nm complains that /dev/null is an invalid object file
5559 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5561 mingw*) lt_bad_file=conftest.nm/nofile ;;
5562 *) lt_bad_file=/dev/null ;;
5564 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5565 *$lt_bad_file* | *'Invalid file or object type'*)
5566 lt_cv_path_NM="$tmp_nm -B"
5570 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5572 lt_cv_path_NM="$tmp_nm -p"
5576 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5577 continue # so that we can try to find one that supports BSD flags
5586 : ${lt_cv_path_NM=no}
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5590 $as_echo "$lt_cv_path_NM" >&6; }
5591 if test no != "$lt_cv_path_NM"; then
5594 # Didn't find any BSD compatible name lister, look for dumpbin.
5595 if test -n "$DUMPBIN"; then :
5596 # Let the user override the test.
5598 if test -n "$ac_tool_prefix"; then
5599 for ac_prog in dumpbin "link
-dump"
5601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5604 $as_echo_n "checking
for $ac_word...
" >&6; }
5605 if ${ac_cv_prog_DUMPBIN+:} false; then :
5606 $as_echo_n "(cached
) " >&6
5608 if test -n "$DUMPBIN"; then
5609 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5628 DUMPBIN=$ac_cv_prog_DUMPBIN
5629 if test -n "$DUMPBIN"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5631 $as_echo "$DUMPBIN" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5634 $as_echo "no
" >&6; }
5638 test -n "$DUMPBIN" && break
5641 if test -z "$DUMPBIN"; then
5642 ac_ct_DUMPBIN=$DUMPBIN
5643 for ac_prog in dumpbin "link
-dump"
5645 # Extract the first word of "$ac_prog", so it can be a program name with args.
5646 set dummy $ac_prog; ac_word=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5648 $as_echo_n "checking
for $ac_word...
" >&6; }
5649 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5650 $as_echo_n "(cached
) " >&6
5652 if test -n "$ac_ct_DUMPBIN"; then
5653 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5672 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5673 if test -n "$ac_ct_DUMPBIN"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5675 $as_echo "$ac_ct_DUMPBIN" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5678 $as_echo "no
" >&6; }
5682 test -n "$ac_ct_DUMPBIN" && break
5685 if test "x
$ac_ct_DUMPBIN" = x; then
5688 case $cross_compiling:$ac_tool_warned in
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5691 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5692 ac_tool_warned=yes ;;
5694 DUMPBIN=$ac_ct_DUMPBIN
5698 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5700 DUMPBIN="$DUMPBIN -symbols -headers"
5708 if test : != "$DUMPBIN"; then
5712 test -z "$NM" && NM=nm
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5720 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5721 if ${lt_cv_nm_interface+:} false; then :
5722 $as_echo_n "(cached
) " >&6
5724 lt_cv_nm_interface="BSD nm
"
5725 echo "int some_variable
= 0;" > conftest.$ac_ext
5726 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5727 (eval "$ac_compile" 2>conftest.err)
5728 cat conftest.err >&5
5729 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5730 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5731 cat conftest.err >&5
5732 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5733 cat conftest.out >&5
5734 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5735 lt_cv_nm_interface="MS dumpbin
"
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5740 $as_echo "$lt_cv_nm_interface" >&6; }
5742 # find the maximum length of command line arguments
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5744 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5745 if ${lt_cv_sys_max_cmd_len+:} false; then :
5746 $as_echo_n "(cached
) " >&6
5753 # On DJGPP, this test can blow up pretty badly due to problems in libc
5754 # (any single argument exceeding 2000 bytes causes a buffer overrun
5755 # during glob expansion). Even if it were fixed, the result of this
5756 # check would be larger than it should be.
5757 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5761 # Under GNU Hurd, this test is not required because there is
5762 # no limit to the length of command line arguments.
5763 # Libtool will interpret -1 as no limit whatsoever
5764 lt_cv_sys_max_cmd_len=-1;
5767 cygwin* | mingw* | cegcc*)
5768 # On Win9x/ME, this test blows up -- it succeeds, but takes
5769 # about 5 minutes as the teststring grows exponentially.
5770 # Worse, since 9x/ME are not pre-emptively multitasking,
5771 # you end up with a "frozen
" computer, even though with patience
5772 # the test eventually succeeds (with a max line length of 256k).
5773 # Instead, let's just punt: use the minimum linelength reported by
5774 # all of the supported platforms: 8192 (on NT/2K/XP).
5775 lt_cv_sys_max_cmd_len=8192;
5779 # On MiNT this can take a long time and run out of memory.
5780 lt_cv_sys_max_cmd_len=8192;
5784 # On AmigaOS with pdksh, this test takes hours, literally.
5785 # So we just punt and use a minimum line length of 8192.
5786 lt_cv_sys_max_cmd_len=8192;
5789 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5790 # This has been around since 386BSD, at least. Likely further.
5791 if test -x /sbin/sysctl; then
5792 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5793 elif test -x /usr/sbin/sysctl; then
5794 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5796 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5798 # And add a safety zone
5799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5804 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5805 lt_cv_sys_max_cmd_len=196608
5809 # The test takes a long time on OS/2.
5810 lt_cv_sys_max_cmd_len=8192
5814 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5815 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5816 # nice to cause kernel panics so lets avoid the loop below.
5817 # First set a reasonable default.
5818 lt_cv_sys_max_cmd_len=16384
5820 if test -x /sbin/sysconfig; then
5821 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5822 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5827 lt_cv_sys_max_cmd_len=102400
5829 sysv5* | sco5v6* | sysv4.2uw2*)
5830 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5831 if test -n "$kargmax"; then
5832 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5834 lt_cv_sys_max_cmd_len=32768
5838 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5839 if test -n "$lt_cv_sys_max_cmd_len" && \
5840 test undefined != "$lt_cv_sys_max_cmd_len"; then
5841 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5842 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5844 # Make teststring a little bigger before we do anything with it.
5845 # a 1K string should be a reasonable start.
5846 for i in 1 2 3 4 5 6 7 8; do
5847 teststring=$teststring$teststring
5849 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5850 # If test is not a shell built-in, we'll probably end up computing a
5851 # maximum length that is only half of the actual maximum length, but
5853 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5854 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5855 test 17 != "$i" # 1/2 MB should be enough
5858 teststring=$teststring$teststring
5860 # Only check the string length outside the loop.
5861 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5863 # Add a significant safety factor because C++ compilers can tack on
5864 # massive amounts of additional arguments before passing them to the
5865 # linker. It appears as though 1/2 is a usable value.
5866 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5873 if test -n "$lt_cv_sys_max_cmd_len"; then
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5875 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5878 $as_echo "none
" >&6; }
5880 max_cmd_len=$lt_cv_sys_max_cmd_len
5891 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5901 # test EBCDIC or ASCII
5902 case `echo X|tr X '\101'` in
5903 A) # ASCII based system
5904 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5905 lt_SP2NL='tr \040 \012'
5906 lt_NL2SP='tr \015\012 \040\040'
5908 *) # EBCDIC based system
5909 lt_SP2NL='tr \100 \n'
5910 lt_NL2SP='tr \r\n \100\100'
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5923 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5924 if ${lt_cv_to_host_file_cmd+:} false; then :
5925 $as_echo_n "(cached
) " >&6
5930 *-*-mingw* ) # actually msys
5931 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5934 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5936 * ) # otherwise, assume *nix
5937 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5943 *-*-mingw* ) # actually msys
5944 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5947 lt_cv_to_host_file_cmd=func_convert_file_noop
5949 * ) # otherwise, assume *nix
5950 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5954 * ) # unhandled hosts (and "normal
" native builds)
5955 lt_cv_to_host_file_cmd=func_convert_file_noop
5961 to_host_file_cmd=$lt_cv_to_host_file_cmd
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5963 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5970 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5971 if ${lt_cv_to_tool_file_cmd+:} false; then :
5972 $as_echo_n "(cached
) " >&6
5974 #assume ordinary cross tools, or native build.
5975 lt_cv_to_tool_file_cmd=func_convert_file_noop
5979 *-*-mingw* ) # actually msys
5980 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5988 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5990 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5997 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5998 if ${lt_cv_ld_reload_flag+:} false; then :
5999 $as_echo_n "(cached
) " >&6
6001 lt_cv_ld_reload_flag='-r'
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6004 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6005 reload_flag=$lt_cv_ld_reload_flag
6006 case $reload_flag in
6008 *) reload_flag=" $reload_flag" ;;
6010 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6012 cygwin* | mingw* | pw32* | cegcc*)
6013 if test yes != "$GCC"; then
6018 if test yes = "$GCC"; then
6019 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6021 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6034 if test -n "$ac_tool_prefix"; then
6035 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6036 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6038 $as_echo_n "checking
for $ac_word...
" >&6; }
6039 if ${ac_cv_prog_OBJDUMP+:} false; then :
6040 $as_echo_n "(cached
) " >&6
6042 if test -n "$OBJDUMP"; then
6043 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 test -z "$as_dir" && as_dir=.
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6062 OBJDUMP=$ac_cv_prog_OBJDUMP
6063 if test -n "$OBJDUMP"; then
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6065 $as_echo "$OBJDUMP" >&6; }
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6068 $as_echo "no
" >&6; }
6073 if test -z "$ac_cv_prog_OBJDUMP"; then
6074 ac_ct_OBJDUMP=$OBJDUMP
6075 # Extract the first word of "objdump
", so it can be a program name with args.
6076 set dummy objdump; ac_word=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6078 $as_echo_n "checking
for $ac_word...
" >&6; }
6079 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6080 $as_echo_n "(cached
) " >&6
6082 if test -n "$ac_ct_OBJDUMP"; then
6083 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089 test -z "$as_dir" && as_dir=.
6090 for ac_exec_ext in '' $ac_executable_extensions; do
6091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6092 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6102 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6103 if test -n "$ac_ct_OBJDUMP"; then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6105 $as_echo "$ac_ct_OBJDUMP" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6108 $as_echo "no
" >&6; }
6111 if test "x
$ac_ct_OBJDUMP" = x; then
6114 case $cross_compiling:$ac_tool_warned in
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6117 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6118 ac_tool_warned=yes ;;
6120 OBJDUMP=$ac_ct_OBJDUMP
6123 OBJDUMP="$ac_cv_prog_OBJDUMP"
6126 test -z "$OBJDUMP" && OBJDUMP=objdump
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6137 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6138 if ${lt_cv_deplibs_check_method+:} false; then :
6139 $as_echo_n "(cached
) " >&6
6141 lt_cv_file_magic_cmd='$MAGIC_CMD'
6142 lt_cv_file_magic_test_file=
6143 lt_cv_deplibs_check_method='unknown'
6144 # Need to set the preceding variable on all platforms that support
6145 # interlibrary dependencies.
6146 # 'none' -- dependencies not supported.
6147 # 'unknown' -- same as none, but documents that we really don't know.
6148 # 'pass_all' -- all dependencies passed with no checks.
6149 # 'test_compile' -- check by making test program.
6150 # 'file_magic [[regex]]' -- check by looking for files in library path
6151 # that responds to the $file_magic_cmd with a given extended regex.
6152 # If you have 'file' or equivalent on your system and you're not sure
6153 # whether 'pass_all' will *always* work, you probably want this one.
6157 lt_cv_deplibs_check_method=pass_all
6161 lt_cv_deplibs_check_method=pass_all
6165 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6166 lt_cv_file_magic_cmd='/usr/bin/file -L'
6167 lt_cv_file_magic_test_file=/shlib/libc.so
6171 # func_win32_libid is a shell function defined in ltmain.sh
6172 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6173 lt_cv_file_magic_cmd='func_win32_libid'
6177 # Base MSYS/MinGW do not provide the 'file' command needed by
6178 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6179 # unless we find 'file', for example because we are cross-compiling.
6180 if ( file / ) >/dev/null 2>&1; then
6181 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6182 lt_cv_file_magic_cmd='func_win32_libid'
6184 # Keep this pattern in sync with the one in func_win32_libid.
6185 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6186 lt_cv_file_magic_cmd='$OBJDUMP -f'
6191 # use the weaker test based on 'objdump'. See mingw*.
6192 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6193 lt_cv_file_magic_cmd='$OBJDUMP -f'
6196 darwin* | rhapsody*)
6197 lt_cv_deplibs_check_method=pass_all
6200 freebsd* | dragonfly*)
6201 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6204 # Not sure whether the presence of OpenBSD here was a mistake.
6205 # Let's accept both of them until this is cleared up.
6206 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6207 lt_cv_file_magic_cmd=/usr/bin/file
6208 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6212 lt_cv_deplibs_check_method=pass_all
6217 lt_cv_deplibs_check_method=pass_all
6220 hpux10.20* | hpux11*)
6221 lt_cv_file_magic_cmd=/usr/bin/file
6224 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6225 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6228 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]'
6229 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6232 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6233 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6239 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6240 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6243 irix5* | irix6* | nonstopux*)
6245 *-32|*"-32 ") libmagic=32-bit;;
6246 *-n32|*"-n32 ") libmagic=N32;;
6247 *-64|*"-64 ") libmagic=64-bit;;
6248 *) libmagic=never-match;;
6250 lt_cv_deplibs_check_method=pass_all
6253 # This must be glibc/ELF.
6254 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6255 lt_cv_deplibs_check_method=pass_all
6259 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6260 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6262 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6267 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6268 lt_cv_file_magic_cmd=/usr/bin/file
6269 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6273 lt_cv_deplibs_check_method=pass_all
6277 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6278 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6280 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6284 osf3* | osf4* | osf5*)
6285 lt_cv_deplibs_check_method=pass_all
6289 lt_cv_deplibs_check_method=pass_all
6293 lt_cv_deplibs_check_method=pass_all
6296 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6297 lt_cv_deplibs_check_method=pass_all
6301 case $host_vendor in
6303 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]'
6304 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6307 lt_cv_deplibs_check_method=pass_all
6310 lt_cv_file_magic_cmd='/bin/file'
6311 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6314 lt_cv_file_magic_cmd='/bin/file'
6315 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6316 lt_cv_file_magic_test_file=/lib/libc.so
6319 lt_cv_deplibs_check_method=pass_all
6322 lt_cv_deplibs_check_method=pass_all
6328 lt_cv_deplibs_check_method=pass_all
6331 lt_cv_deplibs_check_method=pass_all
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6337 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6341 if test "$build" = "$host"; then
6344 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6347 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6353 file_magic_cmd=$lt_cv_file_magic_cmd
6354 deplibs_check_method=$lt_cv_deplibs_check_method
6355 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6378 if test -n "$ac_tool_prefix"; then
6379 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6380 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6382 $as_echo_n "checking
for $ac_word...
" >&6; }
6383 if ${ac_cv_prog_DLLTOOL+:} false; then :
6384 $as_echo_n "(cached
) " >&6
6386 if test -n "$DLLTOOL"; then
6387 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6396 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6406 DLLTOOL=$ac_cv_prog_DLLTOOL
6407 if test -n "$DLLTOOL"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6409 $as_echo "$DLLTOOL" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6412 $as_echo "no
" >&6; }
6417 if test -z "$ac_cv_prog_DLLTOOL"; then
6418 ac_ct_DLLTOOL=$DLLTOOL
6419 # Extract the first word of "dlltool
", so it can be a program name with args.
6420 set dummy dlltool; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6422 $as_echo_n "checking
for $ac_word...
" >&6; }
6423 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6424 $as_echo_n "(cached
) " >&6
6426 if test -n "$ac_ct_DLLTOOL"; then
6427 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6446 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6447 if test -n "$ac_ct_DLLTOOL"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6449 $as_echo "$ac_ct_DLLTOOL" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6452 $as_echo "no
" >&6; }
6455 if test "x
$ac_ct_DLLTOOL" = x; then
6458 case $cross_compiling:$ac_tool_warned in
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6461 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6462 ac_tool_warned=yes ;;
6464 DLLTOOL=$ac_ct_DLLTOOL
6467 DLLTOOL="$ac_cv_prog_DLLTOOL"
6470 test -z "$DLLTOOL" && DLLTOOL=dlltool
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6482 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6483 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6484 $as_echo_n "(cached
) " >&6
6486 lt_cv_sharedlib_from_linklib_cmd='unknown'
6489 cygwin* | mingw* | pw32* | cegcc*)
6490 # two different shell functions defined in ltmain.sh;
6491 # decide which one to use based on capabilities of $DLLTOOL
6492 case `$DLLTOOL --help 2>&1` in
6493 *--identify-strict*)
6494 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6497 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6502 # fallback: assume linklib IS sharedlib
6503 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6509 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6510 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6511 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6520 if test -n "$ac_tool_prefix"; then
6523 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6524 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6526 $as_echo_n "checking
for $ac_word...
" >&6; }
6527 if ${ac_cv_prog_AR+:} false; then :
6528 $as_echo_n "(cached
) " >&6
6530 if test -n "$AR"; then
6531 ac_cv_prog_AR="$AR" # Let the user override the test.
6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 test -z "$as_dir" && as_dir=.
6538 for ac_exec_ext in '' $ac_executable_extensions; do
6539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6540 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6551 if test -n "$AR"; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6553 $as_echo "$AR" >&6; }
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6556 $as_echo "no
" >&6; }
6560 test -n "$AR" && break
6563 if test -z "$AR"; then
6567 # Extract the first word of "$ac_prog", so it can be a program name with args.
6568 set dummy $ac_prog; ac_word=$2
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6570 $as_echo_n "checking
for $ac_word...
" >&6; }
6571 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6572 $as_echo_n "(cached
) " >&6
6574 if test -n "$ac_ct_AR"; then
6575 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6584 ac_cv_prog_ac_ct_AR="$ac_prog"
6585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6594 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6595 if test -n "$ac_ct_AR"; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6597 $as_echo "$ac_ct_AR" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6600 $as_echo "no
" >&6; }
6604 test -n "$ac_ct_AR" && break
6607 if test "x
$ac_ct_AR" = x; then
6610 case $cross_compiling:$ac_tool_warned in
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6613 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6614 ac_tool_warned=yes ;;
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6634 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6635 if ${lt_cv_ar_at_file+:} false; then :
6636 $as_echo_n "(cached
) " >&6
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6650 if ac_fn_c_try_compile "$LINENO"; then :
6651 echo conftest.$ac_objext > conftest.lst
6652 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6653 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6654 (eval $lt_ar_try) 2>&5
6656 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6657 test $ac_status = 0; }
6658 if test 0 -eq "$ac_status"; then
6659 # Ensure the archiver fails upon bogus file names.
6660 rm -f conftest.$ac_objext libconftest.a
6661 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6662 (eval $lt_ar_try) 2>&5
6664 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6665 test $ac_status = 0; }
6666 if test 0 -ne "$ac_status"; then
6670 rm -f conftest.* libconftest.a
6673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6677 $as_echo "$lt_cv_ar_at_file" >&6; }
6679 if test no = "$lt_cv_ar_at_file"; then
6682 archiver_list_spec=$lt_cv_ar_at_file
6691 if test -n "$ac_tool_prefix"; then
6692 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6693 set dummy ${ac_tool_prefix}strip; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6695 $as_echo_n "checking
for $ac_word...
" >&6; }
6696 if ${ac_cv_prog_STRIP+:} false; then :
6697 $as_echo_n "(cached
) " >&6
6699 if test -n "$STRIP"; then
6700 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6719 STRIP=$ac_cv_prog_STRIP
6720 if test -n "$STRIP"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6722 $as_echo "$STRIP" >&6; }
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6725 $as_echo "no
" >&6; }
6730 if test -z "$ac_cv_prog_STRIP"; then
6732 # Extract the first word of "strip
", so it can be a program name with args.
6733 set dummy strip; ac_word=$2
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6735 $as_echo_n "checking
for $ac_word...
" >&6; }
6736 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6737 $as_echo_n "(cached
) " >&6
6739 if test -n "$ac_ct_STRIP"; then
6740 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 test -z "$as_dir" && as_dir=.
6747 for ac_exec_ext in '' $ac_executable_extensions; do
6748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6749 ac_cv_prog_ac_ct_STRIP="strip
"
6750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6760 if test -n "$ac_ct_STRIP"; then
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6762 $as_echo "$ac_ct_STRIP" >&6; }
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6765 $as_echo "no
" >&6; }
6768 if test "x
$ac_ct_STRIP" = x; then
6771 case $cross_compiling:$ac_tool_warned in
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6774 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6775 ac_tool_warned=yes ;;
6780 STRIP="$ac_cv_prog_STRIP"
6783 test -z "$STRIP" && STRIP=:
6790 if test -n "$ac_tool_prefix"; then
6791 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6792 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6794 $as_echo_n "checking
for $ac_word...
" >&6; }
6795 if ${ac_cv_prog_RANLIB+:} false; then :
6796 $as_echo_n "(cached
) " >&6
6798 if test -n "$RANLIB"; then
6799 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir=.
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6818 RANLIB=$ac_cv_prog_RANLIB
6819 if test -n "$RANLIB"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6821 $as_echo "$RANLIB" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6824 $as_echo "no
" >&6; }
6829 if test -z "$ac_cv_prog_RANLIB"; then
6830 ac_ct_RANLIB=$RANLIB
6831 # Extract the first word of "ranlib
", so it can be a program name with args.
6832 set dummy ranlib; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6834 $as_echo_n "checking
for $ac_word...
" >&6; }
6835 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6836 $as_echo_n "(cached
) " >&6
6838 if test -n "$ac_ct_RANLIB"; then
6839 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6858 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6859 if test -n "$ac_ct_RANLIB"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6861 $as_echo "$ac_ct_RANLIB" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6864 $as_echo "no
" >&6; }
6867 if test "x
$ac_ct_RANLIB" = x; then
6870 case $cross_compiling:$ac_tool_warned in
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6873 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6874 ac_tool_warned=yes ;;
6876 RANLIB=$ac_ct_RANLIB
6879 RANLIB="$ac_cv_prog_RANLIB"
6882 test -z "$RANLIB" && RANLIB=:
6889 # Determine commands to create old-style static archives.
6890 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6891 old_postinstall_cmds='chmod 644 $oldlib'
6892 old_postuninstall_cmds=
6894 if test -n "$RANLIB"; then
6897 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6900 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6903 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6908 lock_old_archive_extraction=yes ;;
6910 lock_old_archive_extraction=no ;;
6951 # If no C compiler was specified, use CC.
6954 # If no C compiler flags were specified, use CFLAGS.
6955 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6957 # Allow CC to be a program name with arguments.
6961 # Check for command to grab the raw symbol name followed by C symbol from nm.
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6963 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6964 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6965 $as_echo_n "(cached
) " >&6
6968 # These are sane defaults that work on at least a few old systems.
6969 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6971 # Character class describing NM global symbol codes.
6972 symcode='[BCDEGRST]'
6974 # Regexp to match symbols that can be accessed directly from C.
6975 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6977 # Define system-specific variables.
6982 cygwin* | mingw* | pw32* | cegcc*)
6983 symcode='[ABCDGISTW]'
6986 if test ia64 = "$host_cpu"; then
6987 symcode='[ABCDEGRST]'
6991 symcode='[BCDEGRST]'
6994 symcode='[BCDEGQRST]'
7005 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7013 # If we're using GNU nm, then use its standard symbol codes.
7014 case `$NM -V 2>&1` in
7015 *GNU* | *'with BFD'*)
7016 symcode='[ABCDGIRSTW]' ;;
7019 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7020 # Gets list of data symbols to import.
7021 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7022 # Adjust the below global symbol transforms to fixup imported variables.
7023 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7024 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7025 lt_c_name_lib_hook="\
7026 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7027 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7029 # Disable hooks by default.
7030 lt_cv_sys_global_symbol_to_import=
7036 # Transform an extracted symbol line into a proper C declaration.
7037 # Some systems (esp. on ia64) link data and code symbols differently,
7038 # so use this general approach.
7039 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7041 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7042 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7044 # Transform an extracted symbol line into symbol name and symbol address
7045 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7047 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7048 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7050 # Transform an extracted symbol line into symbol name with lib prefix and
7052 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7053 $lt_c_name_lib_hook\
7054 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7055 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7056 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7058 # Handle CRLF in mingw tool chain
7062 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7066 # Try without a prefix underscore, then with it.
7067 for ac_symprfx in "" "_
"; do
7069 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7070 symxfrm="\\1 $ac_symprfx\\2 \\2"
7072 # Write the raw and C identifiers.
7073 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7074 # Fake it for dumpbin and say T for any non-static function,
7075 # D for any global variable and I for any imported variable.
7076 # Also find C++ and __fastcall symbols from MSVC++,
7077 # which start with @ or ?.
7078 lt_cv_sys_global_symbol_pipe="$AWK '"\
7079 " {last_section=section; section=\$ 3};"\
7080 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7081 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7082 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7083 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7084 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7085 " \$ 0!~/External *\|/{next};"\
7086 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7087 " {if(hide[section]) next};"\
7088 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7089 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7090 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7091 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7092 " ' prfx
=^
$ac_symprfx"
7094 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7096 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7098 # Check to see that the pipe works correctly.
7102 cat > conftest.$ac_ext <<_LT_EOF
7107 void nm_test_func(void);
7108 void nm_test_func(void){}
7112 int main(){nm_test_var='a';nm_test_func();return(0);}
7115 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7116 (eval $ac_compile) 2>&5
7118 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7119 test $ac_status = 0; }; then
7120 # Now try to grab the symbols.
7122 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7123 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7125 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7126 test $ac_status = 0; } && test -s "$nlist"; then
7127 # Try sorting and uniquifying the output.
7128 if sort "$nlist" | uniq > "$nlist"T; then
7129 mv -f "$nlist"T "$nlist"
7134 # Make sure that we snagged all the symbols we need.
7135 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7136 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7137 cat <<_LT_EOF > conftest.$ac_ext
7138 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7139 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7140 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7141 relocations are performed -- see ld's documentation on pseudo-relocs. */
7142 # define LT_DLSYM_CONST
7143 #elif defined __osf__
7144 /* This system does not cope well with relocations in const data. */
7145 # define LT_DLSYM_CONST
7147 # define LT_DLSYM_CONST const
7155 # Now generate the symbol file.
7156 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7158 cat <<_LT_EOF >> conftest.$ac_ext
7160 /* The mapping between symbol names and symbols. */
7161 LT_DLSYM_CONST struct {
7165 lt__PROGRAM__LTX_preloaded_symbols[] =
7167 { "@PROGRAM@
", (void *) 0 },
7169 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7170 cat <<\_LT_EOF >> conftest.$ac_ext
7174 /* This works around a problem in FreeBSD linker */
7175 #ifdef FREEBSD_WORKAROUND
7176 static const void *lt_preloaded_setup() {
7177 return lt__PROGRAM__LTX_preloaded_symbols;
7185 # Now try linking the two files.
7186 mv conftest.$ac_objext conftstm.$ac_objext
7187 lt_globsym_save_LIBS=$LIBS
7188 lt_globsym_save_CFLAGS=$CFLAGS
7189 LIBS=conftstm.$ac_objext
7190 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7191 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7192 (eval $ac_link) 2>&5
7194 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7195 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7198 LIBS=$lt_globsym_save_LIBS
7199 CFLAGS=$lt_globsym_save_CFLAGS
7201 echo "cannot
find nm_test_func
in $nlist" >&5
7204 echo "cannot
find nm_test_var
in $nlist" >&5
7207 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7210 echo "$progname: failed program was
:" >&5
7211 cat conftest.$ac_ext >&5
7213 rm -rf conftest* conftst*
7215 # Do not use the global_symbol_pipe unless it works.
7216 if test yes = "$pipe_works"; then
7219 lt_cv_sys_global_symbol_pipe=
7225 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7226 lt_cv_sys_global_symbol_to_cdecl=
7228 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7230 $as_echo "failed
" >&6; }
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7233 $as_echo "ok
" >&6; }
7236 # Response file support.
7237 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7238 nm_file_list_spec='@'
7239 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7240 nm_file_list_spec='@'
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7280 $as_echo_n "checking
for sysroot...
" >&6; }
7282 # Check whether --with-sysroot was given.
7283 if test "${with_sysroot+set}" = set; then :
7284 withval=$with_sysroot;
7291 case $with_sysroot in #(
7293 if test yes = "$GCC"; then
7294 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7298 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7304 $as_echo "$with_sysroot" >&6; }
7305 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7310 $as_echo "${lt_sysroot:-no}" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7317 $as_echo_n "checking
for a working
dd...
" >&6; }
7318 if ${ac_cv_path_lt_DD+:} false; then :
7319 $as_echo_n "(cached
) " >&6
7321 printf 0123456789abcdef0123456789abcdef >conftest.i
7322 cat conftest.i conftest.i >conftest2.i
7324 if test -z "$lt_DD"; then
7325 ac_path_lt_DD_found=false
7326 # Loop through the user's path and test for each of PROGNAME-LIST
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 test -z "$as_dir" && as_dir=.
7332 for ac_prog in dd; do
7333 for ac_exec_ext in '' $ac_executable_extensions; do
7334 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7335 as_fn_executable_p "$ac_path_lt_DD" || continue
7336 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7337 cmp -s conftest.i conftest.out \
7338 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7340 $ac_path_lt_DD_found && break 3
7345 if test -z "$ac_cv_path_lt_DD"; then
7349 ac_cv_path_lt_DD=$lt_DD
7352 rm -f conftest.i conftest2.i conftest.out
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7355 $as_echo "$ac_cv_path_lt_DD" >&6; }
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7359 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7360 if ${lt_cv_truncate_bin+:} false; then :
7361 $as_echo_n "(cached
) " >&6
7363 printf 0123456789abcdef0123456789abcdef >conftest.i
7364 cat conftest.i conftest.i >conftest2.i
7366 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7367 cmp -s conftest.i conftest.out \
7368 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7370 rm -f conftest.i conftest2.i conftest.out
7371 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7374 $as_echo "$lt_cv_truncate_bin" >&6; }
7382 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7385 for cc_temp in $*""; do
7387 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7388 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7393 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7396 # Check whether --enable-libtool-lock was given.
7397 if test "${enable_libtool_lock+set}" = set; then :
7398 enableval=$enable_libtool_lock;
7401 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7403 # Some flags need to be propagated to the compiler or linker for good
7407 # Find out what ABI is being produced by ac_compile, and set mode
7408 # options accordingly.
7409 echo 'int i;' > conftest.$ac_ext
7410 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7411 (eval $ac_compile) 2>&5
7413 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7414 test $ac_status = 0; }; then
7415 case `/usr/bin/file conftest.$ac_objext` in
7427 # Find out what ABI is being produced by ac_compile, and set linker
7428 # options accordingly.
7429 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7430 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7431 (eval $ac_compile) 2>&5
7433 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7434 test $ac_status = 0; }; then
7435 if test yes = "$lt_cv_prog_gnu_ld"; then
7436 case `/usr/bin/file conftest.$ac_objext` in
7438 LD="${LD-ld} -melf32bsmip"
7441 LD="${LD-ld} -melf32bmipn32"
7444 LD="${LD-ld} -melf64bmip"
7448 case `/usr/bin/file conftest.$ac_objext` in
7465 # Find out what ABI is being produced by ac_compile, and set linker
7466 # options accordingly.
7467 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7468 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7469 (eval $ac_compile) 2>&5
7471 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7472 test $ac_status = 0; }; then
7474 case `/usr/bin/file conftest.$ac_objext` in
7482 case `/usr/bin/file conftest.$ac_objext` in
7484 emul="${emul}btsmip
"
7487 emul="${emul}ltsmip
"
7490 case `/usr/bin/file conftest.$ac_objext` in
7495 LD="${LD-ld} -m $emul"
7500 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7501 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7502 # Find out what ABI is being produced by ac_compile, and set linker
7503 # options accordingly. Note that the listed cases only cover the
7504 # situations where additional linker options are needed (such as when
7505 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7506 # vice versa); the common cases where no linker options are needed do
7507 # not appear in the list.
7508 echo 'int i;' > conftest.$ac_ext
7509 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7510 (eval $ac_compile) 2>&5
7512 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7513 test $ac_status = 0; }; then
7514 case `/usr/bin/file conftest.o` in
7517 x86_64-*kfreebsd*-gnu)
7518 LD="${LD-ld} -m elf_i386_fbsd
"
7521 case `/usr/bin/file conftest.o` in
7523 LD="${LD-ld} -m elf32_x86_64
"
7526 LD="${LD-ld} -m elf_i386
"
7530 powerpc64le-*linux*)
7531 LD="${LD-ld} -m elf32lppclinux
"
7534 LD="${LD-ld} -m elf32ppclinux
"
7537 LD="${LD-ld} -m elf_s390
"
7540 LD="${LD-ld} -m elf32_sparc
"
7546 x86_64-*kfreebsd*-gnu)
7547 LD="${LD-ld} -m elf_x86_64_fbsd
"
7550 LD="${LD-ld} -m elf_x86_64
"
7553 LD="${LD-ld} -m elf64lppc
"
7556 LD="${LD-ld} -m elf64ppc
"
7558 s390*-*linux*|s390*-*tpf*)
7559 LD="${LD-ld} -m elf64_s390
"
7562 LD="${LD-ld} -m elf64_sparc
"
7572 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7574 CFLAGS="$CFLAGS -belf"
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7576 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7577 if ${lt_cv_cc_needs_belf+:} false; then :
7578 $as_echo_n "(cached
) " >&6
7581 ac_cpp='$CPP $CPPFLAGS'
7582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7597 if ac_fn_c_try_link "$LINENO"; then :
7598 lt_cv_cc_needs_belf=yes
7600 lt_cv_cc_needs_belf=no
7602 rm -f core conftest.err conftest.$ac_objext \
7603 conftest$ac_exeext conftest.$ac_ext
7605 ac_cpp='$CPP $CPPFLAGS'
7606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7612 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7613 if test yes != "$lt_cv_cc_needs_belf"; then
7614 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7619 # Find out what ABI is being produced by ac_compile, and set linker
7620 # options accordingly.
7621 echo 'int i;' > conftest.$ac_ext
7622 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7623 (eval $ac_compile) 2>&5
7625 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7626 test $ac_status = 0; }; then
7627 case `/usr/bin/file conftest.o` in
7629 case $lt_cv_prog_gnu_ld in
7632 i?86-*-solaris*|x86_64-*-solaris*)
7633 LD="${LD-ld} -m elf_x86_64
"
7636 LD="${LD-ld} -m elf64_sparc
"
7639 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7640 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7645 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7657 need_locks=$enable_libtool_lock
7659 if test -n "$ac_tool_prefix"; then
7660 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7661 set dummy ${ac_tool_prefix}mt; ac_word=$2
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7663 $as_echo_n "checking
for $ac_word...
" >&6; }
7664 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7665 $as_echo_n "(cached
) " >&6
7667 if test -n "$MANIFEST_TOOL"; then
7668 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 test -z "$as_dir" && as_dir=.
7675 for ac_exec_ext in '' $ac_executable_extensions; do
7676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7677 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7687 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7688 if test -n "$MANIFEST_TOOL"; then
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7690 $as_echo "$MANIFEST_TOOL" >&6; }
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7693 $as_echo "no
" >&6; }
7698 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7699 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7700 # Extract the first word of "mt
", so it can be a program name with args.
7701 set dummy mt; ac_word=$2
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7703 $as_echo_n "checking
for $ac_word...
" >&6; }
7704 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7705 $as_echo_n "(cached
) " >&6
7707 if test -n "$ac_ct_MANIFEST_TOOL"; then
7708 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7714 test -z "$as_dir" && as_dir=.
7715 for ac_exec_ext in '' $ac_executable_extensions; do
7716 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7717 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7727 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7728 if test -n "$ac_ct_MANIFEST_TOOL"; then
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7730 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7733 $as_echo "no
" >&6; }
7736 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7739 case $cross_compiling:$ac_tool_warned in
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7742 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7743 ac_tool_warned=yes ;;
7745 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7748 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7751 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7753 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7754 if ${lt_cv_path_mainfest_tool+:} false; then :
7755 $as_echo_n "(cached
) " >&6
7757 lt_cv_path_mainfest_tool=no
7758 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7759 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7760 cat conftest.err >&5
7761 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7762 lt_cv_path_mainfest_tool=yes
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7767 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7768 if test yes != "$lt_cv_path_mainfest_tool"; then
7778 rhapsody* | darwin*)
7779 if test -n "$ac_tool_prefix"; then
7780 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7781 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7783 $as_echo_n "checking
for $ac_word...
" >&6; }
7784 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7785 $as_echo_n "(cached
) " >&6
7787 if test -n "$DSYMUTIL"; then
7788 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7807 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7808 if test -n "$DSYMUTIL"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7810 $as_echo "$DSYMUTIL" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7813 $as_echo "no
" >&6; }
7818 if test -z "$ac_cv_prog_DSYMUTIL"; then
7819 ac_ct_DSYMUTIL=$DSYMUTIL
7820 # Extract the first word of "dsymutil
", so it can be a program name with args.
7821 set dummy dsymutil; ac_word=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7823 $as_echo_n "checking
for $ac_word...
" >&6; }
7824 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7825 $as_echo_n "(cached
) " >&6
7827 if test -n "$ac_ct_DSYMUTIL"; then
7828 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7847 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7848 if test -n "$ac_ct_DSYMUTIL"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7850 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7853 $as_echo "no
" >&6; }
7856 if test "x
$ac_ct_DSYMUTIL" = x; then
7859 case $cross_compiling:$ac_tool_warned in
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7862 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7863 ac_tool_warned=yes ;;
7865 DSYMUTIL=$ac_ct_DSYMUTIL
7868 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7871 if test -n "$ac_tool_prefix"; then
7872 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7873 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7875 $as_echo_n "checking
for $ac_word...
" >&6; }
7876 if ${ac_cv_prog_NMEDIT+:} false; then :
7877 $as_echo_n "(cached
) " >&6
7879 if test -n "$NMEDIT"; then
7880 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7899 NMEDIT=$ac_cv_prog_NMEDIT
7900 if test -n "$NMEDIT"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7902 $as_echo "$NMEDIT" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7905 $as_echo "no
" >&6; }
7910 if test -z "$ac_cv_prog_NMEDIT"; then
7911 ac_ct_NMEDIT=$NMEDIT
7912 # Extract the first word of "nmedit
", so it can be a program name with args.
7913 set dummy nmedit; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7915 $as_echo_n "checking
for $ac_word...
" >&6; }
7916 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7917 $as_echo_n "(cached
) " >&6
7919 if test -n "$ac_ct_NMEDIT"; then
7920 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7939 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7940 if test -n "$ac_ct_NMEDIT"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7942 $as_echo "$ac_ct_NMEDIT" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7945 $as_echo "no
" >&6; }
7948 if test "x
$ac_ct_NMEDIT" = x; then
7951 case $cross_compiling:$ac_tool_warned in
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7954 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7955 ac_tool_warned=yes ;;
7957 NMEDIT=$ac_ct_NMEDIT
7960 NMEDIT="$ac_cv_prog_NMEDIT"
7963 if test -n "$ac_tool_prefix"; then
7964 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7965 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7967 $as_echo_n "checking
for $ac_word...
" >&6; }
7968 if ${ac_cv_prog_LIPO+:} false; then :
7969 $as_echo_n "(cached
) " >&6
7971 if test -n "$LIPO"; then
7972 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7991 LIPO=$ac_cv_prog_LIPO
7992 if test -n "$LIPO"; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7994 $as_echo "$LIPO" >&6; }
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7997 $as_echo "no
" >&6; }
8002 if test -z "$ac_cv_prog_LIPO"; then
8004 # Extract the first word of "lipo
", so it can be a program name with args.
8005 set dummy lipo; ac_word=$2
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8007 $as_echo_n "checking
for $ac_word...
" >&6; }
8008 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8009 $as_echo_n "(cached
) " >&6
8011 if test -n "$ac_ct_LIPO"; then
8012 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8021 ac_cv_prog_ac_ct_LIPO="lipo
"
8022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8031 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8032 if test -n "$ac_ct_LIPO"; then
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8034 $as_echo "$ac_ct_LIPO" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8037 $as_echo "no
" >&6; }
8040 if test "x
$ac_ct_LIPO" = x; then
8043 case $cross_compiling:$ac_tool_warned in
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8046 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8047 ac_tool_warned=yes ;;
8052 LIPO="$ac_cv_prog_LIPO"
8055 if test -n "$ac_tool_prefix"; then
8056 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8057 set dummy ${ac_tool_prefix}otool; ac_word=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8059 $as_echo_n "checking
for $ac_word...
" >&6; }
8060 if ${ac_cv_prog_OTOOL+:} false; then :
8061 $as_echo_n "(cached
) " >&6
8063 if test -n "$OTOOL"; then
8064 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8070 test -z "$as_dir" && as_dir=.
8071 for ac_exec_ext in '' $ac_executable_extensions; do
8072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8073 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8083 OTOOL=$ac_cv_prog_OTOOL
8084 if test -n "$OTOOL"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8086 $as_echo "$OTOOL" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8089 $as_echo "no
" >&6; }
8094 if test -z "$ac_cv_prog_OTOOL"; then
8096 # Extract the first word of "otool
", so it can be a program name with args.
8097 set dummy otool; ac_word=$2
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8099 $as_echo_n "checking
for $ac_word...
" >&6; }
8100 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8101 $as_echo_n "(cached
) " >&6
8103 if test -n "$ac_ct_OTOOL"; then
8104 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8110 test -z "$as_dir" && as_dir=.
8111 for ac_exec_ext in '' $ac_executable_extensions; do
8112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8113 ac_cv_prog_ac_ct_OTOOL="otool
"
8114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8123 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8124 if test -n "$ac_ct_OTOOL"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8126 $as_echo "$ac_ct_OTOOL" >&6; }
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8129 $as_echo "no
" >&6; }
8132 if test "x
$ac_ct_OTOOL" = x; then
8135 case $cross_compiling:$ac_tool_warned in
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8138 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8139 ac_tool_warned=yes ;;
8144 OTOOL="$ac_cv_prog_OTOOL"
8147 if test -n "$ac_tool_prefix"; then
8148 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8149 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8151 $as_echo_n "checking
for $ac_word...
" >&6; }
8152 if ${ac_cv_prog_OTOOL64+:} false; then :
8153 $as_echo_n "(cached
) " >&6
8155 if test -n "$OTOOL64"; then
8156 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir=.
8163 for ac_exec_ext in '' $ac_executable_extensions; do
8164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8165 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8175 OTOOL64=$ac_cv_prog_OTOOL64
8176 if test -n "$OTOOL64"; then
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8178 $as_echo "$OTOOL64" >&6; }
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8181 $as_echo "no
" >&6; }
8186 if test -z "$ac_cv_prog_OTOOL64"; then
8187 ac_ct_OTOOL64=$OTOOL64
8188 # Extract the first word of "otool64
", so it can be a program name with args.
8189 set dummy otool64; ac_word=$2
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8191 $as_echo_n "checking
for $ac_word...
" >&6; }
8192 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8193 $as_echo_n "(cached
) " >&6
8195 if test -n "$ac_ct_OTOOL64"; then
8196 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8202 test -z "$as_dir" && as_dir=.
8203 for ac_exec_ext in '' $ac_executable_extensions; do
8204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8205 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8215 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8216 if test -n "$ac_ct_OTOOL64"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8218 $as_echo "$ac_ct_OTOOL64" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8221 $as_echo "no
" >&6; }
8224 if test "x
$ac_ct_OTOOL64" = x; then
8227 case $cross_compiling:$ac_tool_warned in
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8230 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8231 ac_tool_warned=yes ;;
8233 OTOOL64=$ac_ct_OTOOL64
8236 OTOOL64="$ac_cv_prog_OTOOL64"
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8266 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8267 if ${lt_cv_apple_cc_single_mod+:} false; then :
8268 $as_echo_n "(cached
) " >&6
8270 lt_cv_apple_cc_single_mod=no
8271 if test -z "$LT_MULTI_MODULE"; then
8272 # By default we will add the -single_module flag. You can override
8273 # by either setting the environment variable LT_MULTI_MODULE
8274 # non-empty at configure time, or by adding -multi_module to the
8276 rm -rf libconftest.dylib*
8277 echo "int foo
(void
){return 1;}" > conftest.c
8278 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8279 -dynamiclib -Wl,-single_module conftest.c
" >&5
8280 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8281 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8283 # If there is a non-empty error log, and "single_module
"
8284 # appears in it, assume the flag caused a linker warning
8285 if test -s conftest.err && $GREP single_module conftest.err; then
8286 cat conftest.err >&5
8287 # Otherwise, if the output was created with a 0 exit code from
8288 # the compiler, it worked.
8289 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8290 lt_cv_apple_cc_single_mod=yes
8292 cat conftest.err >&5
8294 rm -rf libconftest.dylib*
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8299 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8302 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8303 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8304 $as_echo_n "(cached
) " >&6
8306 lt_cv_ld_exported_symbols_list=no
8307 save_LDFLAGS=$LDFLAGS
8308 echo "_main
" > conftest.sym
8309 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8321 if ac_fn_c_try_link "$LINENO"; then :
8322 lt_cv_ld_exported_symbols_list=yes
8324 lt_cv_ld_exported_symbols_list=no
8326 rm -f core conftest.err conftest.$ac_objext \
8327 conftest$ac_exeext conftest.$ac_ext
8328 LDFLAGS=$save_LDFLAGS
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8332 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8335 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8336 if ${lt_cv_ld_force_load+:} false; then :
8337 $as_echo_n "(cached
) " >&6
8339 lt_cv_ld_force_load=no
8340 cat > conftest.c << _LT_EOF
8341 int forced_loaded() { return 2;}
8343 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8344 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8345 echo "$AR cru libconftest.a conftest.o
" >&5
8346 $AR cru libconftest.a conftest.o 2>&5
8347 echo "$RANLIB libconftest.a
" >&5
8348 $RANLIB libconftest.a 2>&5
8349 cat > conftest.c << _LT_EOF
8350 int main() { return 0;}
8352 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8353 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8355 if test -s conftest.err && $GREP force_load conftest.err; then
8356 cat conftest.err >&5
8357 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8358 lt_cv_ld_force_load=yes
8360 cat conftest.err >&5
8362 rm -f conftest.err libconftest.a conftest conftest.c
8363 rm -rf conftest.dSYM
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8367 $as_echo "$lt_cv_ld_force_load" >&6; }
8369 rhapsody* | darwin1.[012])
8370 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8372 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8373 darwin*) # darwin 5.x on
8374 # if running on 10.5 or later, the deployment target defaults
8375 # to the OS version, if on x86, and 10.4, the deployment
8376 # target defaults to 10.4. Don't you love it?
8377 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8378 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8379 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8381 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8383 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8387 if test yes = "$lt_cv_apple_cc_single_mod"; then
8388 _lt_dar_single_mod='$single_module'
8390 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8391 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8393 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8395 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8396 _lt_dsymutil='~$DSYMUTIL $lib || :'
8403 # func_munge_path_list VARIABLE PATH
8404 # -----------------------------------
8405 # VARIABLE is name of variable containing _space_ separated list of
8406 # directories to be munged by the contents of PATH, which is string
8409 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8411 # string "DIR
[ DIR
]" will be appended to VARIABLE
8412 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8413 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8414 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8416 # VARIABLE will be replaced by "DIR
[ DIR
]"
8417 func_munge_path_list ()
8423 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8426 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8429 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8430 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8433 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8439 ac_cpp='$CPP $CPPFLAGS'
8440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8444 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8445 # On Suns, sometimes $CPP names a directory.
8446 if test -n "$CPP" && test -d "$CPP"; then
8449 if test -z "$CPP"; then
8450 if ${ac_cv_prog_CPP+:} false; then :
8451 $as_echo_n "(cached
) " >&6
8453 # Double quotes because CPP needs to be expanded
8454 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8457 for ac_c_preproc_warn_flag in '' yes
8459 # Use a header file that comes with gcc, so configuring glibc
8460 # with a fresh cross-compiler works.
8461 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8462 # <limits.h> exists even on freestanding compilers.
8463 # On the NeXT, cc -E runs the code through the compiler's parser,
8464 # not just through cpp. "Syntax error
" is here to catch this case.
8465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8466 /* end confdefs.h. */
8468 # include <limits.h>
8470 # include <assert.h>
8474 if ac_fn_c_try_cpp "$LINENO"; then :
8477 # Broken: fails on valid input.
8480 rm -f conftest.err conftest.i conftest.$ac_ext
8482 # OK, works on sane cases. Now check whether nonexistent headers
8483 # can be detected and how.
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8486 #include <ac_nonexistent.h>
8488 if ac_fn_c_try_cpp "$LINENO"; then :
8489 # Broken: success on invalid input.
8492 # Passes both tests.
8496 rm -f conftest.err conftest.i conftest.$ac_ext
8499 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8500 rm -f conftest.i conftest.err conftest.$ac_ext
8501 if $ac_preproc_ok; then :
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8514 $as_echo "$CPP" >&6; }
8516 for ac_c_preproc_warn_flag in '' yes
8518 # Use a header file that comes with gcc, so configuring glibc
8519 # with a fresh cross-compiler works.
8520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8521 # <limits.h> exists even on freestanding compilers.
8522 # On the NeXT, cc -E runs the code through the compiler's parser,
8523 # not just through cpp. "Syntax error
" is here to catch this case.
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8527 # include <limits.h>
8529 # include <assert.h>
8533 if ac_fn_c_try_cpp "$LINENO"; then :
8536 # Broken: fails on valid input.
8539 rm -f conftest.err conftest.i conftest.$ac_ext
8541 # OK, works on sane cases. Now check whether nonexistent headers
8542 # can be detected and how.
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8545 #include <ac_nonexistent.h>
8547 if ac_fn_c_try_cpp "$LINENO"; then :
8548 # Broken: success on invalid input.
8551 # Passes both tests.
8555 rm -f conftest.err conftest.i conftest.$ac_ext
8558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8559 rm -f conftest.i conftest.err conftest.$ac_ext
8560 if $ac_preproc_ok; then :
8563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8565 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8566 See \`config.log' for more details
" "$LINENO" 5; }
8570 ac_cpp='$CPP $CPPFLAGS'
8571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8577 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8578 if ${ac_cv_header_stdc+:} false; then :
8579 $as_echo_n "(cached
) " >&6
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8596 if ac_fn_c_try_compile "$LINENO"; then :
8597 ac_cv_header_stdc=yes
8599 ac_cv_header_stdc=no
8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8603 if test $ac_cv_header_stdc = yes; then
8604 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8606 /* end confdefs.h. */
8610 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8611 $EGREP "memchr
" >/dev/null 2>&1; then :
8614 ac_cv_header_stdc=no
8620 if test $ac_cv_header_stdc = yes; then
8621 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8627 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8628 $EGREP "free
" >/dev/null 2>&1; then :
8631 ac_cv_header_stdc=no
8637 if test $ac_cv_header_stdc = yes; then
8638 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8639 if test "$cross_compiling" = yes; then :
8642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h. */
8646 #if ((' ' & 0x0FF) == 0x020)
8647 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8648 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8650 # define ISLOWER(c) \
8651 (('a' <= (c) && (c) <= 'i') \
8652 || ('j' <= (c) && (c) <= 'r') \
8653 || ('s' <= (c) && (c) <= 'z'))
8654 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8657 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8662 for (i = 0; i < 256; i++)
8663 if (XOR (islower (i), ISLOWER (i))
8664 || toupper (i) != TOUPPER (i))
8669 if ac_fn_c_try_run "$LINENO"; then :
8672 ac_cv_header_stdc=no
8674 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8675 conftest.$ac_objext conftest.beam conftest.$ac_ext
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8681 $as_echo "$ac_cv_header_stdc" >&6; }
8682 if test $ac_cv_header_stdc = yes; then
8684 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8688 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8689 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8690 inttypes.h stdint.h unistd.h
8692 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8693 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8695 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8696 cat >>confdefs.h
<<_ACEOF
8697 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8705 for ac_header
in dlfcn.h
8707 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8709 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8710 cat >>confdefs.h
<<_ACEOF
8711 #define HAVE_DLFCN_H 1
8732 # Check whether --enable-shared was given.
8733 if test "${enable_shared+set}" = set; then :
8734 enableval
=$enable_shared; p
=${PACKAGE-default}
8736 yes) enable_shared
=yes ;;
8737 no
) enable_shared
=no
;;
8740 # Look at the argument we got. We use all the common list separators.
8741 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8742 for pkg
in $enableval; do
8744 if test "X$pkg" = "X$p"; then
8763 # Check whether --enable-static was given.
8764 if test "${enable_static+set}" = set; then :
8765 enableval
=$enable_static; p
=${PACKAGE-default}
8767 yes) enable_static
=yes ;;
8768 no
) enable_static
=no
;;
8771 # Look at the argument we got. We use all the common list separators.
8772 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8773 for pkg
in $enableval; do
8775 if test "X$pkg" = "X$p"; then
8795 # Check whether --with-pic was given.
8796 if test "${with_pic+set}" = set; then :
8797 withval
=$with_pic; lt_p
=${PACKAGE-default}
8799 yes|no
) pic_mode
=$withval ;;
8802 # Look at the argument we got. We use all the common list separators.
8803 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8804 for lt_pkg
in $withval; do
8806 if test "X$lt_pkg" = "X$lt_p"; then
8824 # Check whether --enable-fast-install was given.
8825 if test "${enable_fast_install+set}" = set; then :
8826 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8828 yes) enable_fast_install
=yes ;;
8829 no
) enable_fast_install
=no
;;
8831 enable_fast_install
=no
8832 # Look at the argument we got. We use all the common list separators.
8833 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8834 for pkg
in $enableval; do
8836 if test "X$pkg" = "X$p"; then
8837 enable_fast_install
=yes
8844 enable_fast_install
=yes
8854 shared_archive_member_spec
=
8855 case $host,$enable_shared in
8856 power
*-*-aix[5-9]*,yes)
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8858 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8860 # Check whether --with-aix-soname was given.
8861 if test "${with_aix_soname+set}" = set; then :
8862 withval
=$with_aix_soname; case $withval in
8866 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
8869 lt_cv_with_aix_soname
=$with_aix_soname
8871 if ${lt_cv_with_aix_soname+:} false
; then :
8872 $as_echo_n "(cached) " >&6
8874 lt_cv_with_aix_soname
=aix
8877 with_aix_soname
=$lt_cv_with_aix_soname
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8881 $as_echo "$with_aix_soname" >&6; }
8882 if test aix
!= "$with_aix_soname"; then
8883 # For the AIX way of multilib, we name the shared archive member
8884 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8885 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8886 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8887 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8888 if test 64 = "${OBJECT_MODE-32}"; then
8889 shared_archive_member_spec
=shr_64
8891 shared_archive_member_spec
=shr
8909 # This can be used to rebuild libtool when needed
8910 LIBTOOL_DEPS
=$ltmain
8912 # Always use our own libtool.
8913 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8944 test -z "$LN_S" && LN_S
="ln -s"
8959 if test -n "${ZSH_VERSION+set}"; then
8960 setopt NO_GLOB_SUBST
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8964 $as_echo_n "checking for objdir... " >&6; }
8965 if ${lt_cv_objdir+:} false
; then :
8966 $as_echo_n "(cached) " >&6
8968 rm -f .libs
2>/dev
/null
8969 mkdir .libs
2>/dev
/null
8970 if test -d .libs
; then
8973 # MS-DOS does not allow filenames that begin with a dot.
8976 rmdir .libs
2>/dev
/null
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8979 $as_echo "$lt_cv_objdir" >&6; }
8980 objdir
=$lt_cv_objdir
8986 cat >>confdefs.h
<<_ACEOF
8987 #define LT_OBJDIR "$lt_cv_objdir/"
8995 # AIX sometimes has problems with the GCC collect2 program. For some
8996 # reason, if we set the COLLECT_NAMES environment variable, the problems
8997 # vanish in a puff of smoke.
8998 if test set != "${COLLECT_NAMES+set}"; then
9000 export COLLECT_NAMES
9007 can_build_shared
=yes
9009 # All known linkers require a '.a' archive for static linking (except MSVC,
9010 # which needs '.lib').
9013 with_gnu_ld
=$lt_cv_prog_gnu_ld
9018 # Set sane defaults for various variables
9019 test -z "$CC" && CC
=cc
9020 test -z "$LTCC" && LTCC
=$CC
9021 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9022 test -z "$LD" && LD
=ld
9023 test -z "$ac_objext" && ac_objext
=o
9025 func_cc_basename
$compiler
9026 cc_basename
=$func_cc_basename_result
9029 # Only perform the check for file, if the check method requires it
9030 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9031 case $deplibs_check_method in
9033 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9035 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9036 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9037 $as_echo_n "(cached) " >&6
9041 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9044 lt_save_MAGIC_CMD
=$MAGIC_CMD
9045 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9046 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9047 for ac_dir
in $ac_dummy; do
9049 test -z "$ac_dir" && ac_dir
=.
9050 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9051 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9052 if test -n "$file_magic_test_file"; then
9053 case $deplibs_check_method in
9055 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9056 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9057 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9058 $EGREP "$file_magic_regex" > /dev
/null
; then
9063 *** Warning: the command libtool uses to detect shared libraries,
9064 *** $file_magic_cmd, produces output that libtool cannot recognize.
9065 *** The result is that libtool may fail to recognize shared libraries
9066 *** as such. This will affect the creation of libtool libraries that
9067 *** depend on shared libraries, but programs linked with such libtool
9068 *** libraries will work regardless of this problem. Nevertheless, you
9069 *** may want to report the problem to your system manager and/or to
9070 *** bug-libtool@gnu.org
9080 MAGIC_CMD
=$lt_save_MAGIC_CMD
9085 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9086 if test -n "$MAGIC_CMD"; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9088 $as_echo "$MAGIC_CMD" >&6; }
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9098 if test -z "$lt_cv_path_MAGIC_CMD"; then
9099 if test -n "$ac_tool_prefix"; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9101 $as_echo_n "checking for file... " >&6; }
9102 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9103 $as_echo_n "(cached) " >&6
9107 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9110 lt_save_MAGIC_CMD
=$MAGIC_CMD
9111 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9112 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9113 for ac_dir
in $ac_dummy; do
9115 test -z "$ac_dir" && ac_dir
=.
9116 if test -f "$ac_dir/file"; then
9117 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9118 if test -n "$file_magic_test_file"; then
9119 case $deplibs_check_method in
9121 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9122 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9123 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9124 $EGREP "$file_magic_regex" > /dev
/null
; then
9129 *** Warning: the command libtool uses to detect shared libraries,
9130 *** $file_magic_cmd, produces output that libtool cannot recognize.
9131 *** The result is that libtool may fail to recognize shared libraries
9132 *** as such. This will affect the creation of libtool libraries that
9133 *** depend on shared libraries, but programs linked with such libtool
9134 *** libraries will work regardless of this problem. Nevertheless, you
9135 *** may want to report the problem to your system manager and/or to
9136 *** bug-libtool@gnu.org
9146 MAGIC_CMD
=$lt_save_MAGIC_CMD
9151 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9152 if test -n "$MAGIC_CMD"; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9154 $as_echo "$MAGIC_CMD" >&6; }
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9157 $as_echo "no" >&6; }
9170 # Use C for the default configuration in the libtool script
9174 ac_cpp
='$CPP $CPPFLAGS'
9175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9180 # Source file extension for C test sources.
9183 # Object file extension for compiled C test sources.
9187 # Code to be used in simple compile tests
9188 lt_simple_compile_test_code
="int some_variable = 0;"
9190 # Code to be used in simple link tests
9191 lt_simple_link_test_code
='int main(){return(0);}'
9199 # If no C compiler was specified, use CC.
9202 # If no C compiler flags were specified, use CFLAGS.
9203 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9205 # Allow CC to be a program name with arguments.
9208 # Save the default compiler, since it gets overwritten when the other
9209 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9210 compiler_DEFAULT
=$CC
9212 # save warnings/boilerplate of simple test code
9213 ac_outfile
=conftest.
$ac_objext
9214 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9215 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9216 _lt_compiler_boilerplate
=`cat conftest.err`
9219 ac_outfile
=conftest.
$ac_objext
9220 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9221 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9222 _lt_linker_boilerplate
=`cat conftest.err`
9227 ## There is no encapsulation within the following macros, do not change
9228 ## the running order or otherwise move them around unless you know exactly
9229 ## what you are doing...
9230 if test -n "$compiler"; then
9232 lt_prog_compiler_no_builtin_flag
=
9234 if test yes = "$GCC"; then
9235 case $cc_basename in
9237 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9239 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9243 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9244 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9245 $as_echo_n "(cached) " >&6
9247 lt_cv_prog_compiler_rtti_exceptions
=no
9248 ac_outfile
=conftest.
$ac_objext
9249 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9250 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9251 # Insert the option either (1) after the last *FLAGS variable, or
9252 # (2) before a word containing "conftest.", or (3) at the end.
9253 # Note that $ac_compile itself does not contain backslashes and begins
9254 # with a dollar sign (not a hyphen), so the echo should work correctly.
9255 # The option is referenced via a variable to avoid confusing sed.
9256 lt_compile
=`echo "$ac_compile" | $SED \
9257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9259 -e 's:$: $lt_compiler_flag:'`
9260 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9261 (eval "$lt_compile" 2>conftest.err
)
9263 cat conftest.err
>&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 if (exit $ac_status) && test -s "$ac_outfile"; then
9266 # The compiler can only warn and ignore the option if not recognized
9267 # So say no if there are warnings other than the usual output.
9268 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9269 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9270 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9271 lt_cv_prog_compiler_rtti_exceptions
=yes
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9278 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9280 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9281 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9293 lt_prog_compiler_wl
=
9294 lt_prog_compiler_pic
=
9295 lt_prog_compiler_static
=
9298 if test yes = "$GCC"; then
9299 lt_prog_compiler_wl
='-Wl,'
9300 lt_prog_compiler_static
='-static'
9304 # All AIX code is PIC.
9305 if test ia64
= "$host_cpu"; then
9306 # AIX 5 now supports IA64 processor
9307 lt_prog_compiler_static
='-Bstatic'
9309 lt_prog_compiler_pic
='-fPIC'
9315 # see comment about AmigaOS4 .so support
9316 lt_prog_compiler_pic
='-fPIC'
9319 # FIXME: we need at least 68020 code to build shared libraries, but
9320 # adding the '-m68020' flag to GCC prevents building anything better,
9322 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9327 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9328 # PIC is the default for these OSes.
9331 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9332 # This hack is so that the source file can tell whether it is being
9333 # built for inclusion in a dll (and should export symbols for example).
9334 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9335 # (--disable-auto-import) libraries
9336 lt_prog_compiler_pic
='-DDLL_EXPORT'
9339 lt_prog_compiler_static
='$wl-static'
9344 darwin
* | rhapsody
*)
9345 # PIC is the default on this platform
9346 # Common symbols not allowed in MH_DYLIB files
9347 lt_prog_compiler_pic
='-fno-common'
9351 # PIC is the default for Haiku.
9352 # The "-static" flag exists, but is broken.
9353 lt_prog_compiler_static
=
9357 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9358 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9359 # sets the default TLS model and affects inlining.
9365 lt_prog_compiler_pic
='-fPIC'
9371 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9372 # Instead, we relocate shared libraries at runtime.
9376 # Just because we use GCC doesn't mean we suddenly get shared libraries
9377 # on systems that don't support them.
9378 lt_prog_compiler_can_build_shared
=no
9383 # QNX uses GNU C++, but need to define -shared option too, otherwise
9385 lt_prog_compiler_pic
='-fPIC -shared'
9389 if test -d /usr
/nec
; then
9390 lt_prog_compiler_pic
=-Kconform_pic
9395 lt_prog_compiler_pic
='-fPIC'
9399 case $cc_basename in
9400 nvcc
*) # Cuda Compiler Driver 2.2
9401 lt_prog_compiler_wl
='-Xlinker '
9402 if test -n "$lt_prog_compiler_pic"; then
9403 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9408 # PORTME Check for flag to pass linker flags through the system compiler.
9411 lt_prog_compiler_wl
='-Wl,'
9412 if test ia64
= "$host_cpu"; then
9413 # AIX 5 now supports IA64 processor
9414 lt_prog_compiler_static
='-Bstatic'
9416 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9420 darwin
* | rhapsody
*)
9421 # PIC is the default on this platform
9422 # Common symbols not allowed in MH_DYLIB files
9423 lt_prog_compiler_pic
='-fno-common'
9424 case $cc_basename in
9426 # NAG Fortran compiler
9427 lt_prog_compiler_wl
='-Wl,-Wl,,'
9428 lt_prog_compiler_pic
='-PIC'
9429 lt_prog_compiler_static
='-Bstatic'
9434 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9435 # This hack is so that the source file can tell whether it is being
9436 # built for inclusion in a dll (and should export symbols for example).
9437 lt_prog_compiler_pic
='-DDLL_EXPORT'
9440 lt_prog_compiler_static
='$wl-static'
9445 hpux9
* | hpux10
* | hpux11
*)
9446 lt_prog_compiler_wl
='-Wl,'
9447 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9454 lt_prog_compiler_pic
='+Z'
9457 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9458 lt_prog_compiler_static
='$wl-a ${wl}archive'
9461 irix5
* | irix6
* | nonstopux
*)
9462 lt_prog_compiler_wl
='-Wl,'
9463 # PIC (with -KPIC) is the default.
9464 lt_prog_compiler_static
='-non_shared'
9467 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9468 case $cc_basename in
9469 # old Intel for x86_64, which still supported -KPIC.
9471 lt_prog_compiler_wl
='-Wl,'
9472 lt_prog_compiler_pic
='-KPIC'
9473 lt_prog_compiler_static
='-static'
9475 # icc used to be incompatible with GCC.
9476 # ICC 10 doesn't accept -KPIC any more.
9478 lt_prog_compiler_wl
='-Wl,'
9479 lt_prog_compiler_pic
='-fPIC'
9480 lt_prog_compiler_static
='-static'
9482 # Lahey Fortran 8.1.
9484 lt_prog_compiler_wl
='-Wl,'
9485 lt_prog_compiler_pic
='--shared'
9486 lt_prog_compiler_static
='--static'
9489 # NAG Fortran compiler
9490 lt_prog_compiler_wl
='-Wl,-Wl,,'
9491 lt_prog_compiler_pic
='-PIC'
9492 lt_prog_compiler_static
='-Bstatic'
9495 # Fabrice Bellard et al's Tiny C Compiler
9496 lt_prog_compiler_wl
='-Wl,'
9497 lt_prog_compiler_pic
='-fPIC'
9498 lt_prog_compiler_static
='-static'
9500 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9501 # Portland Group compilers (*not* the Pentium gcc compiler,
9502 # which looks to be a dead project)
9503 lt_prog_compiler_wl
='-Wl,'
9504 lt_prog_compiler_pic
='-fpic'
9505 lt_prog_compiler_static
='-Bstatic'
9508 lt_prog_compiler_wl
='-Wl,'
9509 # All Alpha code is PIC.
9510 lt_prog_compiler_static
='-non_shared'
9512 xl
* | bgxl
* | bgf
* | mpixl
*)
9513 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9514 lt_prog_compiler_wl
='-Wl,'
9515 lt_prog_compiler_pic
='-qpic'
9516 lt_prog_compiler_static
='-qstaticlink'
9519 case `$CC -V 2>&1 | sed 5q` in
9520 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9521 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9522 lt_prog_compiler_pic
='-KPIC'
9523 lt_prog_compiler_static
='-Bstatic'
9524 lt_prog_compiler_wl
=''
9526 *Sun\ F
* |
*Sun
*Fortran
*)
9527 lt_prog_compiler_pic
='-KPIC'
9528 lt_prog_compiler_static
='-Bstatic'
9529 lt_prog_compiler_wl
='-Qoption ld '
9533 lt_prog_compiler_pic
='-KPIC'
9534 lt_prog_compiler_static
='-Bstatic'
9535 lt_prog_compiler_wl
='-Wl,'
9537 *Intel
*\
[CF
]*Compiler
*)
9538 lt_prog_compiler_wl
='-Wl,'
9539 lt_prog_compiler_pic
='-fPIC'
9540 lt_prog_compiler_static
='-static'
9543 lt_prog_compiler_wl
='-Wl,'
9544 lt_prog_compiler_pic
='-fpic'
9545 lt_prog_compiler_static
='-Bstatic'
9553 lt_prog_compiler_pic
='-KPIC'
9554 lt_prog_compiler_static
='-Bstatic'
9558 # QNX uses GNU C++, but need to define -shared option too, otherwise
9560 lt_prog_compiler_pic
='-fPIC -shared'
9563 osf3
* | osf4
* | osf5
*)
9564 lt_prog_compiler_wl
='-Wl,'
9565 # All OSF/1 code is PIC.
9566 lt_prog_compiler_static
='-non_shared'
9570 lt_prog_compiler_static
='-non_shared'
9574 lt_prog_compiler_pic
='-KPIC'
9575 lt_prog_compiler_static
='-Bstatic'
9576 case $cc_basename in
9577 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9578 lt_prog_compiler_wl
='-Qoption ld ';;
9580 lt_prog_compiler_wl
='-Wl,';;
9585 lt_prog_compiler_wl
='-Qoption ld '
9586 lt_prog_compiler_pic
='-PIC'
9587 lt_prog_compiler_static
='-Bstatic'
9590 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9591 lt_prog_compiler_wl
='-Wl,'
9592 lt_prog_compiler_pic
='-KPIC'
9593 lt_prog_compiler_static
='-Bstatic'
9597 if test -d /usr
/nec
; then
9598 lt_prog_compiler_pic
='-Kconform_pic'
9599 lt_prog_compiler_static
='-Bstatic'
9603 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9604 lt_prog_compiler_wl
='-Wl,'
9605 lt_prog_compiler_pic
='-KPIC'
9606 lt_prog_compiler_static
='-Bstatic'
9610 lt_prog_compiler_wl
='-Wl,'
9611 lt_prog_compiler_can_build_shared
=no
9615 lt_prog_compiler_pic
='-pic'
9616 lt_prog_compiler_static
='-Bstatic'
9620 lt_prog_compiler_can_build_shared
=no
9626 # For platforms that do not support PIC, -DPIC is meaningless:
9628 lt_prog_compiler_pic
=
9631 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9636 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9637 if ${lt_cv_prog_compiler_pic+:} false
; then :
9638 $as_echo_n "(cached) " >&6
9640 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9643 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9644 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9647 # Check to make sure the PIC flag actually works.
9649 if test -n "$lt_prog_compiler_pic"; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9651 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9652 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9653 $as_echo_n "(cached) " >&6
9655 lt_cv_prog_compiler_pic_works
=no
9656 ac_outfile
=conftest.
$ac_objext
9657 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9658 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9659 # Insert the option either (1) after the last *FLAGS variable, or
9660 # (2) before a word containing "conftest.", or (3) at the end.
9661 # Note that $ac_compile itself does not contain backslashes and begins
9662 # with a dollar sign (not a hyphen), so the echo should work correctly.
9663 # The option is referenced via a variable to avoid confusing sed.
9664 lt_compile
=`echo "$ac_compile" | $SED \
9665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9667 -e 's:$: $lt_compiler_flag:'`
9668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9669 (eval "$lt_compile" 2>conftest.err
)
9671 cat conftest.err
>&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 if (exit $ac_status) && test -s "$ac_outfile"; then
9674 # The compiler can only warn and ignore the option if not recognized
9675 # So say no if there are warnings other than the usual output.
9676 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9677 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9678 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9679 lt_cv_prog_compiler_pic_works
=yes
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9686 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9688 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9689 case $lt_prog_compiler_pic in
9691 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9694 lt_prog_compiler_pic
=
9695 lt_prog_compiler_can_build_shared
=no
9711 # Check to make sure the static flag actually works.
9713 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9715 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9716 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9717 $as_echo_n "(cached) " >&6
9719 lt_cv_prog_compiler_static_works
=no
9720 save_LDFLAGS
=$LDFLAGS
9721 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9722 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9723 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9724 # The linker can only warn and ignore the option if not recognized
9725 # So say no if there are warnings
9726 if test -s conftest.err
; then
9727 # Append any errors to the config.log.
9728 cat conftest.err
1>&5
9729 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9730 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9731 if diff conftest.exp conftest.er2
>/dev
/null
; then
9732 lt_cv_prog_compiler_static_works
=yes
9735 lt_cv_prog_compiler_static_works
=yes
9739 LDFLAGS
=$save_LDFLAGS
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9743 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9745 if test yes = "$lt_cv_prog_compiler_static_works"; then
9748 lt_prog_compiler_static
=
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9758 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9759 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9760 $as_echo_n "(cached) " >&6
9762 lt_cv_prog_compiler_c_o
=no
9763 $RM -r conftest
2>/dev
/null
9767 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9769 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9770 # Insert the option either (1) after the last *FLAGS variable, or
9771 # (2) before a word containing "conftest.", or (3) at the end.
9772 # Note that $ac_compile itself does not contain backslashes and begins
9773 # with a dollar sign (not a hyphen), so the echo should work correctly.
9774 lt_compile
=`echo "$ac_compile" | $SED \
9775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9777 -e 's:$: $lt_compiler_flag:'`
9778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9779 (eval "$lt_compile" 2>out
/conftest.err
)
9781 cat out
/conftest.err
>&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9785 # The compiler can only warn and ignore the option if not recognized
9786 # So say no if there are warnings
9787 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9788 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9789 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9790 lt_cv_prog_compiler_c_o
=yes
9795 # SGI C++ compiler will create directory out/ii_files/ for
9796 # template instantiation
9797 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9798 $RM out
/* && rmdir out
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9805 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9814 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9815 $as_echo_n "(cached) " >&6
9817 lt_cv_prog_compiler_c_o
=no
9818 $RM -r conftest
2>/dev
/null
9822 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9824 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9825 # Insert the option either (1) after the last *FLAGS variable, or
9826 # (2) before a word containing "conftest.", or (3) at the end.
9827 # Note that $ac_compile itself does not contain backslashes and begins
9828 # with a dollar sign (not a hyphen), so the echo should work correctly.
9829 lt_compile
=`echo "$ac_compile" | $SED \
9830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9832 -e 's:$: $lt_compiler_flag:'`
9833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9834 (eval "$lt_compile" 2>out
/conftest.err
)
9836 cat out
/conftest.err
>&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9840 # The compiler can only warn and ignore the option if not recognized
9841 # So say no if there are warnings
9842 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9843 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9844 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9845 lt_cv_prog_compiler_c_o
=yes
9850 # SGI C++ compiler will create directory out/ii_files/ for
9851 # template instantiation
9852 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9853 $RM out
/* && rmdir out
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9860 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9865 hard_links
=nottested
9866 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
9867 # do not overwrite the value of need_locks provided by the user
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9869 $as_echo_n "checking if we can lock with hard links... " >&6; }
9872 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9874 ln conftest.a conftest.b
2>&5 || hard_links
=no
9875 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9877 $as_echo "$hard_links" >&6; }
9878 if test no
= "$hard_links"; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9880 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9893 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9896 allow_undefined_flag
=
9897 always_export_symbols
=no
9899 archive_expsym_cmds
=
9900 compiler_needs_object
=no
9901 enable_shared_with_static_runtimes
=no
9902 export_dynamic_flag_spec
=
9903 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9904 hardcode_automatic
=no
9906 hardcode_direct_absolute
=no
9907 hardcode_libdir_flag_spec
=
9908 hardcode_libdir_separator
=
9910 hardcode_shlibpath_var
=unsupported
9912 link_all_deplibs
=unknown
9915 old_archive_from_new_cmds
=
9916 old_archive_from_expsyms_cmds
=
9917 thread_safe_flag_spec
=
9918 whole_archive_flag_spec
=
9919 # include_expsyms should be a list of space-separated symbols to be *always*
9920 # included in the symbol list
9922 # exclude_expsyms can be an extended regexp of symbols to exclude
9923 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9924 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9925 # as well as any symbol that contains 'd'.
9926 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9927 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9928 # platforms (ab)use it in PIC code, but their linkers get confused if
9929 # the symbol is explicitly referenced. Since portable code cannot
9930 # rely on this symbol name, it's probably fine to never include it in
9931 # preloaded symbol tables.
9932 # Exclude shared library initialization/finalization symbols.
9933 extract_expsyms_cmds
=
9936 cygwin
* | mingw
* | pw32
* | cegcc
*)
9937 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9938 # When not using gcc, we currently assume that we are using
9939 # Microsoft Visual C++.
9940 if test yes != "$GCC"; then
9945 # we just hope/assume this is gcc and not c89 (= MSVC++)
9955 # On some targets, GNU ld is compatible enough with the native linker
9956 # that we're better off using the native interface for both.
9957 lt_use_gnu_ld_interface
=no
9958 if test yes = "$with_gnu_ld"; then
9961 # The AIX port of GNU ld has always aspired to compatibility
9962 # with the native linker. However, as the warning in the GNU ld
9963 # block says, versions before 2.19.5* couldn't really create working
9964 # shared libraries, regardless of the interface used.
9965 case `$LD -v 2>&1` in
9966 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9967 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9968 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9970 lt_use_gnu_ld_interface
=yes
9975 lt_use_gnu_ld_interface
=yes
9980 if test yes = "$lt_use_gnu_ld_interface"; then
9981 # If archive_cmds runs LD, not CC, wlarc should be empty
9984 # Set some defaults for GNU ld with shared library support. These
9985 # are reset later if shared libraries are not supported. Putting them
9986 # here allows them to be overridden if necessary.
9987 runpath_var
=LD_RUN_PATH
9988 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9989 export_dynamic_flag_spec
='$wl--export-dynamic'
9990 # ancient GNU ld didn't support --whole-archive et. al.
9991 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9992 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9994 whole_archive_flag_spec
=
9996 supports_anon_versioning
=no
9997 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9998 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9999 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10000 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10001 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10002 *\
2.11.
*) ;; # other 2.11 versions
10003 *) supports_anon_versioning
=yes ;;
10006 # See if GNU ld supports shared libraries.
10009 # On AIX/PPC, the GNU linker is very broken
10010 if test ia64
!= "$host_cpu"; then
10014 *** Warning: the GNU linker, at least up to release 2.19, is reported
10015 *** to be unable to reliably create shared libraries on AIX.
10016 *** Therefore, libtool is disabling shared libraries support. If you
10017 *** really care for shared libraries, you may want to install binutils
10018 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10019 *** You will then need to restart the configuration process.
10028 # see comment about AmigaOS4 .so support
10029 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10030 archive_expsym_cmds
=''
10033 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)'
10034 hardcode_libdir_flag_spec
='-L$libdir'
10035 hardcode_minus_L
=yes
10041 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10042 allow_undefined_flag
=unsupported
10043 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10044 # support --undefined. This deserves some investigation. FIXME
10045 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10051 cygwin
* | mingw
* | pw32
* | cegcc
*)
10052 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10053 # as there is no search path for DLLs.
10054 hardcode_libdir_flag_spec
='-L$libdir'
10055 export_dynamic_flag_spec
='$wl--export-all-symbols'
10056 allow_undefined_flag
=unsupported
10057 always_export_symbols
=no
10058 enable_shared_with_static_runtimes
=yes
10059 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'
10060 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10062 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10063 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10064 # If the export-symbols file already is a .def file, use it as
10065 # is; otherwise, prepend EXPORTS...
10066 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10067 cp $export_symbols $output_objdir/$soname.def;
10069 echo EXPORTS > $output_objdir/$soname.def;
10070 cat $export_symbols >> $output_objdir/$soname.def;
10072 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10079 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10080 link_all_deplibs
=yes
10084 hardcode_libdir_flag_spec
='-L$libdir'
10085 hardcode_minus_L
=yes
10086 allow_undefined_flag
=unsupported
10088 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10089 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10090 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10091 $ECHO EXPORTS >> $output_objdir/$libname.def~
10092 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10093 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10094 emximp -o $lib $output_objdir/$libname.def'
10095 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10096 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10097 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10098 $ECHO EXPORTS >> $output_objdir/$libname.def~
10099 prefix_cmds="$SED"~
10100 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10101 prefix_cmds="$prefix_cmds -e 1d";
10103 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10104 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10105 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10106 emximp -o $lib $output_objdir/$libname.def'
10107 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10108 enable_shared_with_static_runtimes
=yes
10113 hardcode_shlibpath_var
=no
10114 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10115 export_dynamic_flag_spec
='$wl-E'
10116 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10117 # Instead, shared libraries are loaded at an image base (0x10000000 by
10118 # default) and relocated if they conflict, which is a slow very memory
10119 # consuming and fragmenting process. To avoid this, we pick a random,
10120 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10121 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10122 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10123 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'
10126 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10128 if test linux-dietlibc
= "$host_os"; then
10129 case $cc_basename in
10130 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10133 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10134 && test no
= "$tmp_diet"
10136 tmp_addflag
=' $pic_flag'
10137 tmp_sharedflag
='-shared'
10138 case $cc_basename,$host_cpu in
10139 pgcc
*) # Portland Group C compiler
10140 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'
10141 tmp_addflag
=' $pic_flag'
10143 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10144 # Portland Group f77 and f90 compilers
10145 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'
10146 tmp_addflag
=' $pic_flag -Mnomain' ;;
10147 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10148 tmp_addflag
=' -i_dynamic' ;;
10149 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10150 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10151 ifc
* | ifort
*) # Intel Fortran compiler
10152 tmp_addflag
=' -nofor_main' ;;
10153 lf95
*) # Lahey Fortran 8.1
10154 whole_archive_flag_spec
=
10155 tmp_sharedflag
='--shared' ;;
10156 nagfor
*) # NAGFOR 5.3
10157 tmp_sharedflag
='-Wl,-shared' ;;
10158 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10159 tmp_sharedflag
='-qmkshrobj'
10161 nvcc
*) # Cuda Compiler Driver 2.2
10162 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'
10163 compiler_needs_object
=yes
10166 case `$CC -V 2>&1 | sed 5q` in
10167 *Sun\ C
*) # Sun C 5.9
10168 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'
10169 compiler_needs_object
=yes
10170 tmp_sharedflag
='-G' ;;
10171 *Sun\ F
*) # Sun Fortran 8.3
10172 tmp_sharedflag
='-G' ;;
10174 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10176 if test yes = "$supports_anon_versioning"; then
10177 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10178 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10179 echo "local: *; };" >> $output_objdir/$libname.ver~
10180 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10183 case $cc_basename in
10185 export_dynamic_flag_spec
='-rdynamic'
10187 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10188 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10189 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10190 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10191 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10192 if test yes = "$supports_anon_versioning"; then
10193 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10194 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10195 echo "local: *; };" >> $output_objdir/$libname.ver~
10196 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10206 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10207 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10210 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10211 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10216 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10220 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10221 *** create shared libraries on Solaris systems. Therefore, libtool
10222 *** is disabling shared libraries support. We urge you to upgrade GNU
10223 *** binutils to release 2.9.1 or newer. Another option is to modify
10224 *** your PATH or compiler configuration so that the native linker is
10225 *** used, and then restart.
10228 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10229 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10230 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10236 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10237 case `$LD -v 2>&1` in
10238 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10242 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10243 *** reliably create shared libraries on SCO systems. Therefore, libtool
10244 *** is disabling shared libraries support. We urge you to upgrade GNU
10245 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10246 *** your PATH or compiler configuration so that the native linker is
10247 *** used, and then restart.
10252 # For security reasons, it is highly recommended that you always
10253 # use absolute paths for naming shared libraries, and exclude the
10254 # DT_RUNPATH tag from executables and libraries. But doing so
10255 # requires that you compile everything twice, which is a pain.
10256 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10257 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10258 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10259 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10268 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10270 hardcode_direct
=yes
10271 hardcode_shlibpath_var
=no
10275 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10276 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10277 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10284 if test no
= "$ld_shlibs"; then
10286 hardcode_libdir_flag_spec
=
10287 export_dynamic_flag_spec
=
10288 whole_archive_flag_spec
=
10291 # PORTME fill in a description of your system's linker (not GNU ld)
10294 allow_undefined_flag
=unsupported
10295 always_export_symbols
=yes
10296 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'
10297 # Note: this linker hardcodes the directories in LIBPATH if there
10298 # are no directories specified by -L.
10299 hardcode_minus_L
=yes
10300 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10301 # Neither direct hardcoding nor static linking is supported with a
10303 hardcode_direct
=unsupported
10308 if test ia64
= "$host_cpu"; then
10309 # On IA64, the linker does run time linking by default, so we don't
10310 # have to do anything special.
10311 aix_use_runtimelinking
=no
10312 exp_sym_flag
='-Bexport'
10315 # If we're using GNU nm, then we don't want the "-C" option.
10316 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10317 # Without the "-l" option, or with the "-B" option, AIX nm treats
10318 # weak defined symbols like other global defined symbols, whereas
10319 # GNU nm marks them as "W".
10320 # While the 'weak' keyword is ignored in the Export File, we need
10321 # it in the Import File for the 'aix-soname' feature, so we have
10322 # to replace the "-B" option with "-P" for AIX nm.
10323 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10324 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10326 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10328 aix_use_runtimelinking
=no
10330 # Test if we are trying to use run time linking or normal
10331 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10332 # have runtime linking enabled, and use it for executables.
10333 # For shared libraries, we enable/disable runtime linking
10334 # depending on the kind of the shared library created -
10335 # when "with_aix_soname,aix_use_runtimelinking" is:
10336 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10337 # "aix,yes" lib.so shared, rtl:yes, for executables
10338 # lib.a static archive
10339 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10340 # lib.a(lib.so.V) shared, rtl:no, for executables
10341 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10342 # lib.a(lib.so.V) shared, rtl:no
10343 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10344 # lib.a static archive
10345 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10346 for ld_flag
in $LDFLAGS; do
10347 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10348 aix_use_runtimelinking
=yes
10352 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10353 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10354 # so we don't have lib.a shared libs to link our executables.
10355 # We have to force runtime linking in this case.
10356 aix_use_runtimelinking
=yes
10357 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10362 exp_sym_flag
='-bexport'
10363 no_entry_flag
='-bnoentry'
10366 # When large executables or shared objects are built, AIX ld can
10367 # have problems creating the table of contents. If linking a library
10368 # or program results in "error TOC overflow" add -mminimal-toc to
10369 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10370 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10373 hardcode_direct
=yes
10374 hardcode_direct_absolute
=yes
10375 hardcode_libdir_separator
=':'
10376 link_all_deplibs
=yes
10377 file_list_spec
='$wl-f,'
10378 case $with_aix_soname,$aix_use_runtimelinking in
10379 aix
,*) ;; # traditional, no import file
10380 svr4
,* |
*,yes) # use import file
10381 # The Import File defines what to hardcode.
10383 hardcode_direct_absolute
=no
10387 if test yes = "$GCC"; then
10388 case $host_os in aix4.
[012]|aix4.
[012].
*)
10389 # We only want to do this on AIX 4.2 and lower, the check
10390 # below for broken collect2 doesn't work under 4.3+
10391 collect2name
=`$CC -print-prog-name=collect2`
10392 if test -f "$collect2name" &&
10393 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10395 # We have reworked collect2
10398 # We have old collect2
10399 hardcode_direct
=unsupported
10400 # It fails to find uninstalled libraries when the uninstalled
10401 # path is not listed in the libpath. Setting hardcode_minus_L
10402 # to unsupported forces relinking
10403 hardcode_minus_L
=yes
10404 hardcode_libdir_flag_spec
='-L$libdir'
10405 hardcode_libdir_separator
=
10409 shared_flag
='-shared'
10410 if test yes = "$aix_use_runtimelinking"; then
10411 shared_flag
="$shared_flag "'$wl-G'
10413 # Need to ensure runtime linking is disabled for the traditional
10414 # shared library, or the linker may eventually find shared libraries
10415 # /with/ Import File - we do not want to mix them.
10416 shared_flag_aix
='-shared'
10417 shared_flag_svr4
='-shared $wl-G'
10420 if test ia64
= "$host_cpu"; then
10421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10422 # chokes on -Wl,-G. The following line is correct:
10425 if test yes = "$aix_use_runtimelinking"; then
10426 shared_flag
='$wl-G'
10428 shared_flag
='$wl-bM:SRE'
10430 shared_flag_aix
='$wl-bM:SRE'
10431 shared_flag_svr4
='$wl-G'
10435 export_dynamic_flag_spec
='$wl-bexpall'
10436 # It seems that -bexpall does not export symbols beginning with
10437 # underscore (_), so it is better to generate a list of symbols to export.
10438 always_export_symbols
=yes
10439 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10440 # Warning - without using the other runtime loading flags (-brtl),
10441 # -berok will link without error, but may produce a broken library.
10442 allow_undefined_flag
='-berok'
10443 # Determine the default libpath from the value encoded in an
10444 # empty executable.
10445 if test set = "${lt_cv_aix_libpath+set}"; then
10446 aix_libpath
=$lt_cv_aix_libpath
10448 if ${lt_cv_aix_libpath_+:} false
; then :
10449 $as_echo_n "(cached) " >&6
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10462 if ac_fn_c_try_link
"$LINENO"; then :
10464 lt_aix_libpath_sed
='
10465 /Import File Strings/,/^$/ {
10467 s/^0 *\([^ ]*\) *$/\1/
10471 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10472 # Check for a 64-bit object if we didn't find anything.
10473 if test -z "$lt_cv_aix_libpath_"; then
10474 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10477 rm -f core conftest.err conftest.
$ac_objext \
10478 conftest
$ac_exeext conftest.
$ac_ext
10479 if test -z "$lt_cv_aix_libpath_"; then
10480 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10485 aix_libpath
=$lt_cv_aix_libpath_
10488 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10489 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
10491 if test ia64
= "$host_cpu"; then
10492 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10493 allow_undefined_flag
="-z nodefs"
10494 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"
10496 # Determine the default libpath from the value encoded in an
10497 # empty executable.
10498 if test set = "${lt_cv_aix_libpath+set}"; then
10499 aix_libpath
=$lt_cv_aix_libpath
10501 if ${lt_cv_aix_libpath_+:} false
; then :
10502 $as_echo_n "(cached) " >&6
10504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h. */
10515 if ac_fn_c_try_link
"$LINENO"; then :
10517 lt_aix_libpath_sed
='
10518 /Import File Strings/,/^$/ {
10520 s/^0 *\([^ ]*\) *$/\1/
10524 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10525 # Check for a 64-bit object if we didn't find anything.
10526 if test -z "$lt_cv_aix_libpath_"; then
10527 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10530 rm -f core conftest.err conftest.
$ac_objext \
10531 conftest
$ac_exeext conftest.
$ac_ext
10532 if test -z "$lt_cv_aix_libpath_"; then
10533 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10538 aix_libpath
=$lt_cv_aix_libpath_
10541 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10542 # Warning - without using the other run time loading flags,
10543 # -berok will link without error, but may produce a broken library.
10544 no_undefined_flag
=' $wl-bernotok'
10545 allow_undefined_flag
=' $wl-berok'
10546 if test yes = "$with_gnu_ld"; then
10547 # We only use this code for GNU lds that support --whole-archive.
10548 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10550 # Exported symbols can be pulled into shared objects from archives
10551 whole_archive_flag_spec
='$convenience'
10553 archive_cmds_need_lc
=yes
10554 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10555 # -brtl affects multiple linker settings, -berok does not and is overridden later
10556 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10557 if test svr4
!= "$with_aix_soname"; then
10558 # This is similar to how AIX traditionally builds its shared libraries.
10559 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10561 if test aix
!= "$with_aix_soname"; then
10562 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10564 # used by -dlpreopen to get the symbols
10565 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10567 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10575 # see comment about AmigaOS4 .so support
10576 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10577 archive_expsym_cmds
=''
10580 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)'
10581 hardcode_libdir_flag_spec
='-L$libdir'
10582 hardcode_minus_L
=yes
10588 export_dynamic_flag_spec
=-rdynamic
10591 cygwin
* | mingw
* | pw32
* | cegcc
*)
10592 # When not using gcc, we currently assume that we are using
10593 # Microsoft Visual C++.
10594 # hardcode_libdir_flag_spec is actually meaningless, as there is
10595 # no search path for DLLs.
10596 case $cc_basename in
10599 hardcode_libdir_flag_spec
=' '
10600 allow_undefined_flag
=unsupported
10601 always_export_symbols
=yes
10603 # Tell ltmain to make .lib files, not .a files.
10605 # Tell ltmain to make .dll files, not .so files.
10607 # FIXME: Setting linknames here is a bad hack.
10608 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10609 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10610 cp "$export_symbols" "$output_objdir/$soname.def";
10611 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10613 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10615 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10617 # The linker will not automatically build a static lib if we build a DLL.
10618 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10619 enable_shared_with_static_runtimes
=yes
10620 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10621 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10623 old_postinstall_cmds
='chmod 644 $oldlib'
10624 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10625 lt_tool_outputfile="@TOOL_OUTPUT@"~
10626 case $lt_outputfile in
10629 lt_outputfile=$lt_outputfile.exe
10630 lt_tool_outputfile=$lt_tool_outputfile.exe
10633 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10634 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10635 $RM "$lt_outputfile.manifest";
10639 # Assume MSVC wrapper
10640 hardcode_libdir_flag_spec
=' '
10641 allow_undefined_flag
=unsupported
10642 # Tell ltmain to make .lib files, not .a files.
10644 # Tell ltmain to make .dll files, not .so files.
10646 # FIXME: Setting linknames here is a bad hack.
10647 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10648 # The linker will automatically build a .lib file if we build a DLL.
10649 old_archive_from_new_cmds
='true'
10650 # FIXME: Should let the user specify the lib program.
10651 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10652 enable_shared_with_static_runtimes
=yes
10657 darwin
* | rhapsody
*)
10660 archive_cmds_need_lc
=no
10662 hardcode_automatic
=yes
10663 hardcode_shlibpath_var
=unsupported
10664 if test yes = "$lt_cv_ld_force_load"; then
10665 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\"`'
10668 whole_archive_flag_spec
=''
10670 link_all_deplibs
=yes
10671 allow_undefined_flag
=$_lt_dar_allow_undefined
10672 case $cc_basename in
10673 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10674 *) _lt_dar_can_shared
=$GCC ;;
10676 if test yes = "$_lt_dar_can_shared"; then
10677 output_verbose_link_cmd
=func_echo_all
10678 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10679 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10680 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"
10681 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"
10690 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10691 hardcode_libdir_flag_spec
='-L$libdir'
10692 hardcode_shlibpath_var
=no
10695 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10696 # support. Future versions do this automatically, but an explicit c++rt0.o
10697 # does not break anything, and helps significantly (at the cost of a little
10700 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10701 hardcode_libdir_flag_spec
='-R$libdir'
10702 hardcode_direct
=yes
10703 hardcode_shlibpath_var
=no
10706 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10708 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10709 hardcode_direct
=yes
10710 hardcode_minus_L
=yes
10711 hardcode_shlibpath_var
=no
10714 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10715 freebsd
* | dragonfly
*)
10716 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10717 hardcode_libdir_flag_spec
='-R$libdir'
10718 hardcode_direct
=yes
10719 hardcode_shlibpath_var
=no
10723 if test yes = "$GCC"; then
10724 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10726 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10728 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10729 hardcode_libdir_separator
=:
10730 hardcode_direct
=yes
10732 # hardcode_minus_L: Not really in the search PATH,
10733 # but as the default location of the library.
10734 hardcode_minus_L
=yes
10735 export_dynamic_flag_spec
='$wl-E'
10739 if test yes,no
= "$GCC,$with_gnu_ld"; then
10740 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10742 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10744 if test no
= "$with_gnu_ld"; then
10745 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10746 hardcode_libdir_separator
=:
10747 hardcode_direct
=yes
10748 hardcode_direct_absolute
=yes
10749 export_dynamic_flag_spec
='$wl-E'
10750 # hardcode_minus_L: Not really in the search PATH,
10751 # but as the default location of the library.
10752 hardcode_minus_L
=yes
10757 if test yes,no
= "$GCC,$with_gnu_ld"; then
10760 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10763 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10766 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10772 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10775 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10779 # Older versions of the 11.00 compiler do not understand -b yet
10780 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10782 $as_echo_n "checking if $CC understands -b... " >&6; }
10783 if ${lt_cv_prog_compiler__b+:} false
; then :
10784 $as_echo_n "(cached) " >&6
10786 lt_cv_prog_compiler__b
=no
10787 save_LDFLAGS
=$LDFLAGS
10788 LDFLAGS
="$LDFLAGS -b"
10789 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10790 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10791 # The linker can only warn and ignore the option if not recognized
10792 # So say no if there are warnings
10793 if test -s conftest.err
; then
10794 # Append any errors to the config.log.
10795 cat conftest.err
1>&5
10796 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10797 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10798 if diff conftest.exp conftest.er2
>/dev
/null
; then
10799 lt_cv_prog_compiler__b
=yes
10802 lt_cv_prog_compiler__b
=yes
10806 LDFLAGS
=$save_LDFLAGS
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10810 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10812 if test yes = "$lt_cv_prog_compiler__b"; then
10813 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10815 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10821 if test no
= "$with_gnu_ld"; then
10822 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10823 hardcode_libdir_separator
=:
10828 hardcode_shlibpath_var
=no
10831 hardcode_direct
=yes
10832 hardcode_direct_absolute
=yes
10833 export_dynamic_flag_spec
='$wl-E'
10835 # hardcode_minus_L: Not really in the search PATH,
10836 # but as the default location of the library.
10837 hardcode_minus_L
=yes
10843 irix5
* | irix6
* | nonstopux
*)
10844 if test yes = "$GCC"; then
10845 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'
10846 # Try to use the -exported_symbol ld option, if it does not
10847 # work, assume that -exports_file does not work either and
10848 # implicitly export all symbols.
10849 # This should be the same for all languages, so no per-tag cache variable.
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10851 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10852 if ${lt_cv_irix_exported_symbol+:} false
; then :
10853 $as_echo_n "(cached) " >&6
10855 save_LDFLAGS
=$LDFLAGS
10856 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10859 int foo (void) { return 0; }
10861 if ac_fn_c_try_link
"$LINENO"; then :
10862 lt_cv_irix_exported_symbol
=yes
10864 lt_cv_irix_exported_symbol
=no
10866 rm -f core conftest.err conftest.
$ac_objext \
10867 conftest
$ac_exeext conftest.
$ac_ext
10868 LDFLAGS
=$save_LDFLAGS
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10871 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10872 if test yes = "$lt_cv_irix_exported_symbol"; then
10873 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'
10876 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'
10877 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'
10879 archive_cmds_need_lc
='no'
10880 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10881 hardcode_libdir_separator
=:
10883 link_all_deplibs
=yes
10887 case $cc_basename in
10889 # Fabrice Bellard et al's Tiny C Compiler
10891 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10897 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10898 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10900 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10902 hardcode_libdir_flag_spec
='-R$libdir'
10903 hardcode_direct
=yes
10904 hardcode_shlibpath_var
=no
10908 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10909 hardcode_direct
=yes
10910 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10911 hardcode_libdir_separator
=:
10912 hardcode_shlibpath_var
=no
10918 openbsd
* | bitrig
*)
10919 if test -f /usr
/libexec
/ld.so
; then
10920 hardcode_direct
=yes
10921 hardcode_shlibpath_var
=no
10922 hardcode_direct_absolute
=yes
10923 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10924 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10925 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10926 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10927 export_dynamic_flag_spec
='$wl-E'
10929 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10930 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10938 hardcode_libdir_flag_spec
='-L$libdir'
10939 hardcode_minus_L
=yes
10940 allow_undefined_flag
=unsupported
10942 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10943 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10944 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10945 $ECHO EXPORTS >> $output_objdir/$libname.def~
10946 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10947 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10948 emximp -o $lib $output_objdir/$libname.def'
10949 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10950 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10951 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10952 $ECHO EXPORTS >> $output_objdir/$libname.def~
10953 prefix_cmds="$SED"~
10954 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10955 prefix_cmds="$prefix_cmds -e 1d";
10957 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10958 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10959 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10960 emximp -o $lib $output_objdir/$libname.def'
10961 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10962 enable_shared_with_static_runtimes
=yes
10966 if test yes = "$GCC"; then
10967 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10968 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'
10970 allow_undefined_flag
=' -expect_unresolved \*'
10971 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'
10973 archive_cmds_need_lc
='no'
10974 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10975 hardcode_libdir_separator
=:
10978 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10979 if test yes = "$GCC"; then
10980 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10981 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'
10982 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10984 allow_undefined_flag
=' -expect_unresolved \*'
10985 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'
10986 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~
10987 $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'
10989 # Both c and cxx compiler support -rpath directly
10990 hardcode_libdir_flag_spec
='-rpath $libdir'
10992 archive_cmds_need_lc
='no'
10993 hardcode_libdir_separator
=:
10997 no_undefined_flag
=' -z defs'
10998 if test yes = "$GCC"; then
11000 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11001 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11002 $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'
11004 case `$CC -V 2>&1` in
11007 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11008 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11009 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11013 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11014 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11015 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11019 hardcode_libdir_flag_spec
='-R$libdir'
11020 hardcode_shlibpath_var
=no
11022 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11024 # The compiler driver will combine and reorder linker options,
11025 # but understands '-z linker_flag'. GCC discards it without '$wl',
11026 # but is careful enough not to reorder.
11027 # Supported since Solaris 2.6 (maybe 2.5.1?)
11028 if test yes = "$GCC"; then
11029 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11031 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11035 link_all_deplibs
=yes
11039 if test sequent
= "$host_vendor"; then
11040 # Use $CC to link under sequent, because it throws in some extra .o
11041 # files that make .init and .fini sections work.
11042 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11044 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11046 hardcode_libdir_flag_spec
='-L$libdir'
11047 hardcode_direct
=yes
11048 hardcode_minus_L
=yes
11049 hardcode_shlibpath_var
=no
11053 case $host_vendor in
11055 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11056 hardcode_direct
=yes # is this really true???
11059 ## LD is ld it makes a PLAMLIB
11060 ## CC just makes a GrossModule.
11061 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11062 reload_cmds
='$CC -r -o $output$reload_objs'
11066 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11067 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11070 runpath_var
='LD_RUN_PATH'
11071 hardcode_shlibpath_var
=no
11075 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11076 hardcode_shlibpath_var
=no
11077 export_dynamic_flag_spec
='-Bexport'
11081 if test -d /usr
/nec
; then
11082 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11083 hardcode_shlibpath_var
=no
11084 runpath_var
=LD_RUN_PATH
11085 hardcode_runpath_var
=yes
11090 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11091 no_undefined_flag
='$wl-z,text'
11092 archive_cmds_need_lc
=no
11093 hardcode_shlibpath_var
=no
11094 runpath_var
='LD_RUN_PATH'
11096 if test yes = "$GCC"; then
11097 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11098 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11100 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11101 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11105 sysv5
* | sco3.2v5
* | sco5v6
*)
11106 # Note: We CANNOT use -z defs as we might desire, because we do not
11107 # link with -lc, and that would cause any symbols used from libc to
11108 # always be unresolved, which means just about no library would
11109 # ever link correctly. If we're not using GNU ld we use -z text
11110 # though, which does catch some bad symbols but isn't as heavy-handed
11112 no_undefined_flag
='$wl-z,text'
11113 allow_undefined_flag
='$wl-z,nodefs'
11114 archive_cmds_need_lc
=no
11115 hardcode_shlibpath_var
=no
11116 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11117 hardcode_libdir_separator
=':'
11118 link_all_deplibs
=yes
11119 export_dynamic_flag_spec
='$wl-Bexport'
11120 runpath_var
='LD_RUN_PATH'
11122 if test yes = "$GCC"; then
11123 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11124 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11126 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11127 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11132 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11133 hardcode_libdir_flag_spec
='-L$libdir'
11134 hardcode_shlibpath_var
=no
11142 if test sni
= "$host_vendor"; then
11144 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11145 export_dynamic_flag_spec
='$wl-Blargedynsym'
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11152 $as_echo "$ld_shlibs" >&6; }
11153 test no
= "$ld_shlibs" && can_build_shared
=no
11155 with_gnu_ld
=$with_gnu_ld
11172 # Do we need to explicitly link libc?
11174 case "x$archive_cmds_need_lc" in
11176 # Assume -lc should be added
11177 archive_cmds_need_lc
=yes
11179 if test yes,yes = "$GCC,$enable_shared"; then
11180 case $archive_cmds in
11182 # FIXME: we may have to deal with multi-command sequences.
11185 # Test whether the compiler implicitly links with -lc since on some
11186 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11187 # to ld, don't add -lc before -lgcc.
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11189 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11190 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11191 $as_echo_n "(cached) " >&6
11194 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11197 (eval $ac_compile) 2>&5
11199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11200 test $ac_status = 0; } 2>conftest.err
; then
11203 libobjs
=conftest.
$ac_objext
11205 wl
=$lt_prog_compiler_wl
11206 pic_flag
=$lt_prog_compiler_pic
11212 lt_save_allow_undefined_flag
=$allow_undefined_flag
11213 allow_undefined_flag
=
11214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11215 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11218 test $ac_status = 0; }
11220 lt_cv_archive_cmds_need_lc
=no
11222 lt_cv_archive_cmds_need_lc
=yes
11224 allow_undefined_flag
=$lt_save_allow_undefined_flag
11226 cat conftest.err
1>&5
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11232 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11233 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11392 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11394 if test yes = "$GCC"; then
11396 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11397 *) lt_awk_arg
='/^libraries:/' ;;
11400 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11401 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11403 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11404 case $lt_search_path_spec in
11406 # if the path contains ";" then we assume it to be the separator
11407 # otherwise default to the standard path separator (i.e. ":") - it is
11408 # assumed that no part of a normal pathname contains ";" but that should
11409 # okay in the real world where ";" in dirpaths is itself problematic.
11410 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11413 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11416 # Ok, now we have the path, separated by spaces, we can step through it
11417 # and add multilib dir if necessary...
11418 lt_tmp_lt_search_path_spec
=
11419 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11420 # ...but if some path component already ends with the multilib dir we assume
11421 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11422 case "$lt_multi_os_dir; $lt_search_path_spec " in
11423 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11427 for lt_sys_path
in $lt_search_path_spec; do
11428 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11429 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11430 elif test -n "$lt_multi_os_dir"; then
11431 test -d "$lt_sys_path" && \
11432 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11435 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11436 BEGIN {RS = " "; FS = "/|\n";} {
11439 for (lt_i = NF; lt_i > 0; lt_i--) {
11440 if ($lt_i != "" && $lt_i != ".") {
11441 if ($lt_i == "..") {
11444 if (lt_count == 0) {
11445 lt_foo = "/" $lt_i lt_foo;
11452 if (lt_foo != "") { lt_freq[lt_foo]++; }
11453 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11455 # AWK program above erroneously prepends '/' to C:/dos/paths
11458 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11459 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11461 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11463 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11465 library_names_spec
=
11466 libname_spec
='lib$name'
11470 postuninstall_cmds
=
11474 shlibpath_overrides_runpath
=unknown
11476 dynamic_linker
="$host_os ld.so"
11477 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11478 need_lib_prefix
=unknown
11479 hardcode_into_libs
=no
11481 # when you set need_version to no, make sure it does not cause -set_version
11482 # flags to be left without arguments
11483 need_version
=unknown
11489 version_type
=linux
# correct to gnu/linux during the next big refactor
11490 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11491 shlibpath_var
=LIBPATH
11493 # AIX 3 has no versioning support, so we append a major version to the name.
11494 soname_spec
='$libname$release$shared_ext$major'
11498 version_type
=linux
# correct to gnu/linux during the next big refactor
11501 hardcode_into_libs
=yes
11502 if test ia64
= "$host_cpu"; then
11503 # AIX 5 supports IA64
11504 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11505 shlibpath_var
=LD_LIBRARY_PATH
11507 # With GCC up to 2.95.x, collect2 would create an import file
11508 # for dependence libraries. The import file would start with
11509 # the line '#! .'. This would cause the generated library to
11510 # depend on '.', always an invalid library. This was fixed in
11511 # development snapshots of GCC prior to 3.0.
11513 aix4 | aix4.
[01] | aix4.
[01].
*)
11514 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11516 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11519 can_build_shared
=no
11523 # Using Import Files as archive members, it is possible to support
11524 # filename-based versioning of shared library archives on AIX. While
11525 # this would work for both with and without runtime linking, it will
11526 # prevent static linking of such archives. So we do filename-based
11527 # shared library versioning with .so extension only, which is used
11528 # when both runtime linking and shared linking is enabled.
11529 # Unfortunately, runtime linking may impact performance, so we do
11530 # not want this to be the default eventually. Also, we use the
11531 # versioned .so libs for executables only if there is the -brtl
11532 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11533 # To allow for filename-based versioning support, we need to create
11534 # libNAME.so.V as an archive file, containing:
11535 # *) an Import File, referring to the versioned filename of the
11536 # archive as well as the shared archive member, telling the
11537 # bitwidth (32 or 64) of that shared object, and providing the
11538 # list of exported symbols of that shared object, eventually
11539 # decorated with the 'weak' keyword
11540 # *) the shared object with the F_LOADONLY flag set, to really avoid
11541 # it being seen by the linker.
11542 # At run time we better use the real file rather than another symlink,
11543 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11545 case $with_aix_soname,$aix_use_runtimelinking in
11546 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11547 # soname into executable. Probably we can add versioning support to
11548 # collect2, so additional links can be useful in future.
11549 aix
,yes) # traditional libtool
11550 dynamic_linker
='AIX unversionable lib.so'
11551 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11552 # instead of lib<name>.a to let people know that these are not
11553 # typical AIX shared libraries.
11554 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11556 aix
,no
) # traditional AIX only
11557 dynamic_linker
='AIX lib.a(lib.so.V)'
11558 # We preserve .a as extension for shared libraries through AIX4.2
11559 # and later when we are not doing run time linking.
11560 library_names_spec
='$libname$release.a $libname.a'
11561 soname_spec
='$libname$release$shared_ext$major'
11563 svr4
,*) # full svr4 only
11564 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11565 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11566 # We do not specify a path in Import Files, so LIBPATH fires.
11567 shlibpath_overrides_runpath
=yes
11569 *,yes) # both, prefer svr4
11570 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11571 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11572 # unpreferred sharedlib libNAME.a needs extra handling
11573 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11574 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11575 # We do not specify a path in Import Files, so LIBPATH fires.
11576 shlibpath_overrides_runpath
=yes
11578 *,no
) # both, prefer aix
11579 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11580 library_names_spec
='$libname$release.a $libname.a'
11581 soname_spec
='$libname$release$shared_ext$major'
11582 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11583 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11584 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11587 shlibpath_var
=LIBPATH
11594 # Since July 2007 AmigaOS4 officially supports .so libraries.
11595 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11596 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11599 library_names_spec
='$libname.ixlibrary $libname.a'
11600 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11601 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11607 library_names_spec
='$libname$shared_ext'
11608 dynamic_linker
="$host_os ld.so"
11609 shlibpath_var
=LIBRARY_PATH
11613 version_type
=linux
# correct to gnu/linux during the next big refactor
11615 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11616 soname_spec
='$libname$release$shared_ext$major'
11617 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11618 shlibpath_var
=LD_LIBRARY_PATH
11619 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11620 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11621 # the default ld.so.conf also contains /usr/contrib/lib and
11622 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11623 # libtool to hard-code these into programs
11626 cygwin
* | mingw
* | pw32
* | cegcc
*)
11627 version_type
=windows
11632 case $GCC,$cc_basename in
11635 library_names_spec
='$libname.dll.a'
11636 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11637 postinstall_cmds
='base_file=`basename \$file`~
11638 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11639 dldir=$destdir/`dirname \$dlpath`~
11640 test -d \$dldir || mkdir -p \$dldir~
11641 $install_prog $dir/$dlname \$dldir/$dlname~
11642 chmod a+x \$dldir/$dlname~
11643 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11644 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11646 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11647 dlpath=$dir/\$dldll~
11649 shlibpath_overrides_runpath
=yes
11653 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11654 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11656 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11659 # MinGW DLLs use traditional 'lib' prefix
11660 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11663 # pw32 DLLs use 'pw' prefix rather than 'lib'
11664 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11667 dynamic_linker
='Win32 ld.exe'
11672 libname_spec
='$name'
11673 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11674 library_names_spec
='$libname.dll.lib'
11678 sys_lib_search_path_spec
=
11681 for lt_path
in $LIB
11684 # Let DOS variable expansion print the short 8.3 style file name.
11685 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11686 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11689 # Convert to MSYS style.
11690 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11693 # Convert to unix form, then to dos form, then back to unix form
11694 # but this time dos style (no spaces!) so that the unix form looks
11695 # like /cygdrive/c/PROGRA~1:/cygdr...
11696 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11697 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11698 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11701 sys_lib_search_path_spec
=$LIB
11702 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11703 # It is most probably a Windows format PATH.
11704 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11706 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11708 # FIXME: find the short name or the path components, as spaces are
11709 # common. (e.g. "Program Files" -> "PROGRA~1")
11713 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11714 postinstall_cmds
='base_file=`basename \$file`~
11715 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11716 dldir=$destdir/`dirname \$dlpath`~
11717 test -d \$dldir || mkdir -p \$dldir~
11718 $install_prog $dir/$dlname \$dldir/$dlname'
11719 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11720 dlpath=$dir/\$dldll~
11722 shlibpath_overrides_runpath
=yes
11723 dynamic_linker
='Win32 link.exe'
11727 # Assume MSVC wrapper
11728 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11729 dynamic_linker
='Win32 ld.exe'
11732 # FIXME: first we should search . and the directory the executable is in
11736 darwin
* | rhapsody
*)
11737 dynamic_linker
="$host_os dyld"
11738 version_type
=darwin
11741 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11742 soname_spec
='$libname$release$major$shared_ext'
11743 shlibpath_overrides_runpath
=yes
11744 shlibpath_var
=DYLD_LIBRARY_PATH
11745 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11747 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11748 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11752 version_type
=linux
# correct to gnu/linux during the next big refactor
11755 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11756 soname_spec
='$libname$release$shared_ext$major'
11757 shlibpath_var
=LD_LIBRARY_PATH
11760 freebsd
* | dragonfly
*)
11761 # DragonFly does not have aout. When/if they implement a new
11762 # versioning mechanism, adjust this.
11763 if test -x /usr
/bin
/objformat
; then
11764 objformat
=`/usr/bin/objformat`
11767 freebsd
[23].
*) objformat
=aout
;;
11768 *) objformat
=elf
;;
11771 version_type
=freebsd-
$objformat
11772 case $version_type in
11774 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11775 soname_spec
='$libname$release$shared_ext$major'
11780 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11784 shlibpath_var
=LD_LIBRARY_PATH
11787 shlibpath_overrides_runpath
=yes
11789 freebsd3.
[01]* | freebsdelf3.
[01]*)
11790 shlibpath_overrides_runpath
=yes
11791 hardcode_into_libs
=yes
11793 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11794 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11795 shlibpath_overrides_runpath
=no
11796 hardcode_into_libs
=yes
11798 *) # from 4.6 on, and DragonFly
11799 shlibpath_overrides_runpath
=yes
11800 hardcode_into_libs
=yes
11806 version_type
=linux
# correct to gnu/linux during the next big refactor
11809 dynamic_linker
="$host_os runtime_loader"
11810 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11811 soname_spec
='$libname$release$shared_ext$major'
11812 shlibpath_var
=LIBRARY_PATH
11813 shlibpath_overrides_runpath
=no
11814 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11815 hardcode_into_libs
=yes
11818 hpux9
* | hpux10
* | hpux11
*)
11819 # Give a soname corresponding to the major version so that dld.sl refuses to
11820 # link against other versions.
11827 hardcode_into_libs
=yes
11828 dynamic_linker
="$host_os dld.so"
11829 shlibpath_var
=LD_LIBRARY_PATH
11830 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11831 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11832 soname_spec
='$libname$release$shared_ext$major'
11833 if test 32 = "$HPUX_IA64_MODE"; then
11834 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11835 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11837 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11838 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11843 hardcode_into_libs
=yes
11844 dynamic_linker
="$host_os dld.sl"
11845 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11846 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11847 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11848 soname_spec
='$libname$release$shared_ext$major'
11849 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11850 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11854 dynamic_linker
="$host_os dld.sl"
11855 shlibpath_var
=SHLIB_PATH
11856 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11857 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11858 soname_spec
='$libname$release$shared_ext$major'
11861 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11862 postinstall_cmds
='chmod 555 $lib'
11863 # or fails outright, so override atomically:
11864 install_override_mode
=555
11868 version_type
=linux
# correct to gnu/linux during the next big refactor
11871 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11872 soname_spec
='$libname$release$shared_ext$major'
11873 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11874 shlibpath_var
=LD_LIBRARY_PATH
11875 shlibpath_overrides_runpath
=no
11876 hardcode_into_libs
=yes
11879 irix5
* | irix6
* | nonstopux
*)
11881 nonstopux
*) version_type
=nonstopux
;;
11883 if test yes = "$lt_cv_prog_gnu_ld"; then
11884 version_type
=linux
# correct to gnu/linux during the next big refactor
11891 soname_spec
='$libname$release$shared_ext$major'
11892 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11894 irix5
* | nonstopux
*)
11895 libsuff
= shlibsuff
=
11898 case $LD in # libtool.m4 will add one of these switches to LD
11899 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11900 libsuff
= shlibsuff
= libmagic
=32-bit;;
11901 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11902 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11903 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11904 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11905 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11909 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11910 shlibpath_overrides_runpath
=no
11911 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11912 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11913 hardcode_into_libs
=yes
11916 # No shared lib support for Linux oldld, aout, or coff.
11917 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11922 version_type
=none
# Android doesn't support versioned libraries.
11925 library_names_spec
='$libname$release$shared_ext'
11926 soname_spec
='$libname$release$shared_ext'
11928 shlibpath_var
=LD_LIBRARY_PATH
11929 shlibpath_overrides_runpath
=yes
11931 # This implies no fast_install, which is unacceptable.
11932 # Some rework will be needed to allow for fast_install
11933 # before this can be enabled.
11934 hardcode_into_libs
=yes
11936 dynamic_linker
='Android linker'
11937 # Don't embed -rpath directories since the linker doesn't support them.
11938 hardcode_libdir_flag_spec
='-L$libdir'
11941 # This must be glibc/ELF.
11942 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11943 version_type
=linux
# correct to gnu/linux during the next big refactor
11946 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11947 soname_spec
='$libname$release$shared_ext$major'
11948 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11949 shlibpath_var
=LD_LIBRARY_PATH
11950 shlibpath_overrides_runpath
=no
11952 # Some binutils ld are patched to set DT_RUNPATH
11953 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11954 $as_echo_n "(cached) " >&6
11956 lt_cv_shlibpath_overrides_runpath
=no
11957 save_LDFLAGS
=$LDFLAGS
11958 save_libdir
=$libdir
11959 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11960 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11972 if ac_fn_c_try_link
"$LINENO"; then :
11973 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11974 lt_cv_shlibpath_overrides_runpath
=yes
11977 rm -f core conftest.err conftest.
$ac_objext \
11978 conftest
$ac_exeext conftest.
$ac_ext
11979 LDFLAGS
=$save_LDFLAGS
11980 libdir
=$save_libdir
11984 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11986 # This implies no fast_install, which is unacceptable.
11987 # Some rework will be needed to allow for fast_install
11988 # before this can be enabled.
11989 hardcode_into_libs
=yes
11991 # Ideally, we could use ldconfig to report *all* directores which are
11992 # searched for libraries, however this is still not possible. Aside from not
11993 # being certain /sbin/ldconfig is available, command
11994 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11995 # even though it is searched at run-time. Try to do the best guess by
11996 # appending ld.so.conf contents (and includes) to the search path.
11997 if test -f /etc
/ld.so.conf
; then
11998 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' ' '`
11999 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12002 # We used to test for /lib/ld.so.1 and disable shared libraries on
12003 # powerpc, because MkLinux only supported shared libraries with the
12004 # GNU dynamic linker. Since this was broken with cross compilers,
12005 # most powerpc-linux boxes support dynamic linking these days and
12006 # people can always --disable-shared, the test was removed, and we
12007 # assume the GNU/Linux dynamic linker is in use.
12008 dynamic_linker
='GNU/Linux ld.so'
12015 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12016 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12017 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12018 dynamic_linker
='NetBSD (a.out) ld.so'
12020 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12021 soname_spec
='$libname$release$shared_ext$major'
12022 dynamic_linker
='NetBSD ld.elf_so'
12024 shlibpath_var
=LD_LIBRARY_PATH
12025 shlibpath_overrides_runpath
=yes
12026 hardcode_into_libs
=yes
12030 version_type
=linux
# correct to gnu/linux during the next big refactor
12031 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12032 shlibpath_var
=LD_LIBRARY_PATH
12033 shlibpath_overrides_runpath
=yes
12040 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12041 soname_spec
='$libname$release$shared_ext$major'
12042 shlibpath_var
=LD_LIBRARY_PATH
12043 shlibpath_overrides_runpath
=no
12044 hardcode_into_libs
=yes
12045 dynamic_linker
='ldqnx.so'
12048 openbsd
* | bitrig
*)
12050 sys_lib_dlsearch_path_spec
=/usr
/lib
12052 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12057 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12058 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12059 shlibpath_var
=LD_LIBRARY_PATH
12060 shlibpath_overrides_runpath
=yes
12064 libname_spec
='$name'
12065 version_type
=windows
12069 # OS/2 can only load a DLL with a base name of 8 characters or less.
12070 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12071 v=$($ECHO $release$versuffix | tr -d .-);
12072 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12073 $ECHO $n$v`$shared_ext'
12074 library_names_spec
='${libname}_dll.$libext'
12075 dynamic_linker
='OS/2 ld.exe'
12076 shlibpath_var
=BEGINLIBPATH
12077 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12078 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12079 postinstall_cmds
='base_file=`basename \$file`~
12080 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12081 dldir=$destdir/`dirname \$dlpath`~
12082 test -d \$dldir || mkdir -p \$dldir~
12083 $install_prog $dir/$dlname \$dldir/$dlname~
12084 chmod a+x \$dldir/$dlname~
12085 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12086 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12088 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12089 dlpath=$dir/\$dldll~
12093 osf3
* | osf4
* | osf5
*)
12097 soname_spec
='$libname$release$shared_ext$major'
12098 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12099 shlibpath_var
=LD_LIBRARY_PATH
12100 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12101 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12109 version_type
=linux
# correct to gnu/linux during the next big refactor
12112 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12113 soname_spec
='$libname$release$shared_ext$major'
12114 shlibpath_var
=LD_LIBRARY_PATH
12115 shlibpath_overrides_runpath
=yes
12116 hardcode_into_libs
=yes
12117 # ldd complains unless libraries are executable
12118 postinstall_cmds
='chmod +x $lib'
12123 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12124 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12125 shlibpath_var
=LD_LIBRARY_PATH
12126 shlibpath_overrides_runpath
=yes
12127 if test yes = "$with_gnu_ld"; then
12134 version_type
=linux
# correct to gnu/linux during the next big refactor
12135 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12136 soname_spec
='$libname$release$shared_ext$major'
12137 shlibpath_var
=LD_LIBRARY_PATH
12138 case $host_vendor in
12140 shlibpath_overrides_runpath
=no
12142 runpath_var
=LD_RUN_PATH
12150 shlibpath_overrides_runpath
=no
12151 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12157 if test -d /usr
/nec
; then
12158 version_type
=linux
# correct to gnu/linux during the next big refactor
12159 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12160 soname_spec
='$libname$shared_ext.$major'
12161 shlibpath_var
=LD_LIBRARY_PATH
12165 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12169 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12170 soname_spec
='$libname$release$shared_ext$major'
12171 shlibpath_var
=LD_LIBRARY_PATH
12172 shlibpath_overrides_runpath
=yes
12173 hardcode_into_libs
=yes
12174 if test yes = "$with_gnu_ld"; then
12175 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12177 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12180 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12184 sys_lib_dlsearch_path_spec
='/usr/lib'
12188 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12189 version_type
=linux
# correct to gnu/linux during the next big refactor
12192 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12193 shlibpath_var
=LD_LIBRARY_PATH
12194 shlibpath_overrides_runpath
=no
12195 hardcode_into_libs
=yes
12199 version_type
=linux
# correct to gnu/linux during the next big refactor
12200 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12201 soname_spec
='$libname$release$shared_ext$major'
12202 shlibpath_var
=LD_LIBRARY_PATH
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12210 $as_echo "$dynamic_linker" >&6; }
12211 test no
= "$dynamic_linker" && can_build_shared
=no
12213 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12214 if test yes = "$GCC"; then
12215 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12218 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12219 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12222 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12223 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12226 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12227 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12229 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12230 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12232 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12233 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12332 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12334 if test -n "$hardcode_libdir_flag_spec" ||
12335 test -n "$runpath_var" ||
12336 test yes = "$hardcode_automatic"; then
12338 # We can hardcode non-existent directories.
12339 if test no
!= "$hardcode_direct" &&
12340 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12341 # have to relink, otherwise we might link with an installed library
12342 # when we should be linking with a yet-to-be-installed one
12343 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12344 test no
!= "$hardcode_minus_L"; then
12345 # Linking always hardcodes the temporary library directory.
12346 hardcode_action
=relink
12348 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12349 hardcode_action
=immediate
12352 # We cannot hardcode anything, or else we can only hardcode existing
12354 hardcode_action
=unsupported
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12357 $as_echo "$hardcode_action" >&6; }
12359 if test relink
= "$hardcode_action" ||
12360 test yes = "$inherit_rpath"; then
12361 # Fast installation is not supported
12362 enable_fast_install
=no
12363 elif test yes = "$shlibpath_overrides_runpath" ||
12364 test no
= "$enable_shared"; then
12365 # Fast installation is not necessary
12366 enable_fast_install
=needless
12374 if test yes != "$enable_dlopen"; then
12375 enable_dlopen
=unknown
12376 enable_dlopen_self
=unknown
12377 enable_dlopen_self_static
=unknown
12384 lt_cv_dlopen
=load_add_on
12386 lt_cv_dlopen_self
=yes
12389 mingw
* | pw32
* | cegcc
*)
12390 lt_cv_dlopen
=LoadLibrary
12395 lt_cv_dlopen
=dlopen
12400 # if libdl is installed we need to link against it
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12402 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12403 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12404 $as_echo_n "(cached) " >&6
12406 ac_check_lib_save_LIBS
=$LIBS
12408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12411 /* Override any GCC internal prototype to avoid an error.
12412 Use char because int might match the return type of a GCC
12413 builtin and then its argument prototype would still apply. */
12426 if ac_fn_c_try_link
"$LINENO"; then :
12427 ac_cv_lib_dl_dlopen
=yes
12429 ac_cv_lib_dl_dlopen
=no
12431 rm -f core conftest.err conftest.
$ac_objext \
12432 conftest
$ac_exeext conftest.
$ac_ext
12433 LIBS
=$ac_check_lib_save_LIBS
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12436 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12437 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12438 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12443 lt_cv_dlopen_self
=yes
12450 # Don't try to run any link tests for TPF. We know it's impossible
12451 # because TPF is a cross-compiler, and we know how we open DSOs.
12452 lt_cv_dlopen
=dlopen
12454 lt_cv_dlopen_self
=no
12458 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12459 if test "x$ac_cv_func_shl_load" = xyes
; then :
12460 lt_cv_dlopen
=shl_load
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12463 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12464 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12465 $as_echo_n "(cached) " >&6
12467 ac_check_lib_save_LIBS
=$LIBS
12469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12482 return shl_load ();
12487 if ac_fn_c_try_link
"$LINENO"; then :
12488 ac_cv_lib_dld_shl_load
=yes
12490 ac_cv_lib_dld_shl_load
=no
12492 rm -f core conftest.err conftest.
$ac_objext \
12493 conftest
$ac_exeext conftest.
$ac_ext
12494 LIBS
=$ac_check_lib_save_LIBS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12497 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12498 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12499 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12501 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12502 if test "x$ac_cv_func_dlopen" = xyes
; then :
12503 lt_cv_dlopen
=dlopen
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12506 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12507 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12508 $as_echo_n "(cached) " >&6
12510 ac_check_lib_save_LIBS
=$LIBS
12512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12530 if ac_fn_c_try_link
"$LINENO"; then :
12531 ac_cv_lib_dl_dlopen
=yes
12533 ac_cv_lib_dl_dlopen
=no
12535 rm -f core conftest.err conftest.
$ac_objext \
12536 conftest
$ac_exeext conftest.
$ac_ext
12537 LIBS
=$ac_check_lib_save_LIBS
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12540 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12541 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12542 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12545 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12546 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12547 $as_echo_n "(cached) " >&6
12549 ac_check_lib_save_LIBS
=$LIBS
12550 LIBS
="-lsvld $LIBS"
12551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12552 /* end confdefs.h. */
12554 /* Override any GCC internal prototype to avoid an error.
12555 Use char because int might match the return type of a GCC
12556 builtin and then its argument prototype would still apply. */
12569 if ac_fn_c_try_link
"$LINENO"; then :
12570 ac_cv_lib_svld_dlopen
=yes
12572 ac_cv_lib_svld_dlopen
=no
12574 rm -f core conftest.err conftest.
$ac_objext \
12575 conftest
$ac_exeext conftest.
$ac_ext
12576 LIBS
=$ac_check_lib_save_LIBS
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12579 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12580 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12581 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12584 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12585 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12586 $as_echo_n "(cached) " >&6
12588 ac_check_lib_save_LIBS
=$LIBS
12590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12603 return dld_link ();
12608 if ac_fn_c_try_link
"$LINENO"; then :
12609 ac_cv_lib_dld_dld_link
=yes
12611 ac_cv_lib_dld_dld_link
=no
12613 rm -f core conftest.err conftest.
$ac_objext \
12614 conftest
$ac_exeext conftest.
$ac_ext
12615 LIBS
=$ac_check_lib_save_LIBS
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12618 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12619 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12620 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12641 if test no
= "$lt_cv_dlopen"; then
12647 case $lt_cv_dlopen in
12649 save_CPPFLAGS
=$CPPFLAGS
12650 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12652 save_LDFLAGS
=$LDFLAGS
12653 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12656 LIBS
="$lt_cv_dlopen_libs $LIBS"
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12659 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12660 if ${lt_cv_dlopen_self+:} false
; then :
12661 $as_echo_n "(cached) " >&6
12663 if test yes = "$cross_compiling"; then :
12664 lt_cv_dlopen_self
=cross
12666 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12667 lt_status
=$lt_dlunknown
12668 cat > conftest.
$ac_ext <<_LT_EOF
12669 #line $LINENO "configure"
12670 #include "confdefs.h"
12679 # define LT_DLGLOBAL RTLD_GLOBAL
12682 # define LT_DLGLOBAL DL_GLOBAL
12684 # define LT_DLGLOBAL 0
12688 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12689 find out it does not work in some platform. */
12690 #ifndef LT_DLLAZY_OR_NOW
12692 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12695 # define LT_DLLAZY_OR_NOW DL_LAZY
12698 # define LT_DLLAZY_OR_NOW RTLD_NOW
12701 # define LT_DLLAZY_OR_NOW DL_NOW
12703 # define LT_DLLAZY_OR_NOW 0
12710 /* When -fvisibility=hidden is used, assume the code has been annotated
12711 correspondingly for the symbols needed. */
12712 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12713 int fnord () __attribute__((visibility("default")));
12716 int fnord () { return 42; }
12719 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12720 int status = $lt_dlunknown;
12724 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12727 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12728 else puts (dlerror ());
12730 /* dlclose (self); */
12738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12739 (eval $ac_link) 2>&5
12741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12742 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12743 (.
/conftest
; exit; ) >&5 2>/dev
/null
12745 case x
$lt_status in
12746 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12747 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12748 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12751 # compilation failed
12752 lt_cv_dlopen_self
=no
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12760 $as_echo "$lt_cv_dlopen_self" >&6; }
12762 if test yes = "$lt_cv_dlopen_self"; then
12763 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12765 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12766 if ${lt_cv_dlopen_self_static+:} false
; then :
12767 $as_echo_n "(cached) " >&6
12769 if test yes = "$cross_compiling"; then :
12770 lt_cv_dlopen_self_static
=cross
12772 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12773 lt_status
=$lt_dlunknown
12774 cat > conftest.
$ac_ext <<_LT_EOF
12775 #line $LINENO "configure"
12776 #include "confdefs.h"
12785 # define LT_DLGLOBAL RTLD_GLOBAL
12788 # define LT_DLGLOBAL DL_GLOBAL
12790 # define LT_DLGLOBAL 0
12794 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12795 find out it does not work in some platform. */
12796 #ifndef LT_DLLAZY_OR_NOW
12798 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12801 # define LT_DLLAZY_OR_NOW DL_LAZY
12804 # define LT_DLLAZY_OR_NOW RTLD_NOW
12807 # define LT_DLLAZY_OR_NOW DL_NOW
12809 # define LT_DLLAZY_OR_NOW 0
12816 /* When -fvisibility=hidden is used, assume the code has been annotated
12817 correspondingly for the symbols needed. */
12818 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12819 int fnord () __attribute__((visibility("default")));
12822 int fnord () { return 42; }
12825 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12826 int status = $lt_dlunknown;
12830 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12833 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12834 else puts (dlerror ());
12836 /* dlclose (self); */
12844 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12845 (eval $ac_link) 2>&5
12847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12848 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12849 (.
/conftest
; exit; ) >&5 2>/dev
/null
12851 case x
$lt_status in
12852 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12853 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12854 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12857 # compilation failed
12858 lt_cv_dlopen_self_static
=no
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12866 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12869 CPPFLAGS
=$save_CPPFLAGS
12870 LDFLAGS
=$save_LDFLAGS
12875 case $lt_cv_dlopen_self in
12876 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12877 *) enable_dlopen_self
=unknown
;;
12880 case $lt_cv_dlopen_self_static in
12881 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12882 *) enable_dlopen_self_static
=unknown
;;
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12905 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12906 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12907 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12908 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12910 $as_echo "yes" >&6; }
12912 # FIXME - insert some real tests, host_os isn't really good enough
12915 if test -n "$STRIP"; then
12916 striplib
="$STRIP -x"
12917 old_striplib
="$STRIP -S"
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12919 $as_echo "yes" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12922 $as_echo "no" >&6; }
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12927 $as_echo "no" >&6; }
12943 # Report what library types will actually be built
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12945 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12947 $as_echo "$can_build_shared" >&6; }
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12950 $as_echo_n "checking whether to build shared libraries... " >&6; }
12951 test no
= "$can_build_shared" && enable_shared
=no
12953 # On AIX, shared libraries and static libraries use the same namespace, and
12954 # are all built from PIC.
12957 test yes = "$enable_shared" && enable_static
=no
12958 if test -n "$RANLIB"; then
12959 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12960 postinstall_cmds
='$RANLIB $lib'
12965 if test ia64
!= "$host_cpu"; then
12966 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12967 yes,aix
,yes) ;; # shared object as lib.so file only
12968 yes,svr4
,*) ;; # shared object as lib.so archive member only
12969 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12975 $as_echo "$enable_shared" >&6; }
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12978 $as_echo_n "checking whether to build static libraries... " >&6; }
12979 # Make sure either enable_shared or enable_static is yes.
12980 test yes = "$enable_shared" || enable_static
=yes
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12982 $as_echo "$enable_static" >&6; }
12989 ac_cpp
='$CPP $CPPFLAGS'
12990 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12991 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12992 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13010 ac_config_commands
="$ac_config_commands libtool"
13015 # Only expand once:
13020 # Extract the first word of "ar", so it can be a program name with args.
13021 set dummy
ar; ac_word
=$2
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13023 $as_echo_n "checking for $ac_word... " >&6; }
13024 if ${ac_cv_path_AR+:} false
; then :
13025 $as_echo_n "(cached) " >&6
13029 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
13032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13033 for as_dir
in $PATH
13036 test -z "$as_dir" && as_dir
=.
13037 for ac_exec_ext
in '' $ac_executable_extensions; do
13038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13039 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
13040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13047 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
13052 if test -n "$AR"; then
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13054 $as_echo "$AR" >&6; }
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13057 $as_echo "no" >&6; }
13061 # Extract the first word of "rm", so it can be a program name with args.
13062 set dummy
rm; ac_word
=$2
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13064 $as_echo_n "checking for $ac_word... " >&6; }
13065 if ${ac_cv_path_RM+:} false
; then :
13066 $as_echo_n "(cached) " >&6
13070 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
13073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13074 for as_dir
in $PATH
13077 test -z "$as_dir" && as_dir
=.
13078 for ac_exec_ext
in '' $ac_executable_extensions; do
13079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13080 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
13081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13088 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
13093 if test -n "$RM"; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
13095 $as_echo "$RM" >&6; }
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13098 $as_echo "no" >&6; }
13102 # Extract the first word of "cp", so it can be a program name with args.
13103 set dummy
cp; ac_word
=$2
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13105 $as_echo_n "checking for $ac_word... " >&6; }
13106 if ${ac_cv_path_CP+:} false
; then :
13107 $as_echo_n "(cached) " >&6
13111 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13115 for as_dir
in $PATH
13118 test -z "$as_dir" && as_dir
=.
13119 for ac_exec_ext
in '' $ac_executable_extensions; do
13120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13121 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13129 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
13134 if test -n "$CP"; then
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
13136 $as_echo "$CP" >&6; }
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13139 $as_echo "no" >&6; }
13143 # Extract the first word of "ln", so it can be a program name with args.
13144 set dummy
ln; ac_word
=$2
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13146 $as_echo_n "checking for $ac_word... " >&6; }
13147 if ${ac_cv_path_LN+:} false
; then :
13148 $as_echo_n "(cached) " >&6
13152 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
13155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13156 for as_dir
in $PATH
13159 test -z "$as_dir" && as_dir
=.
13160 for ac_exec_ext
in '' $ac_executable_extensions; do
13161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13162 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
13163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13170 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
13175 if test -n "$LN"; then
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
13177 $as_echo "$LN" >&6; }
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13180 $as_echo "no" >&6; }
13184 # Extract the first word of "ls", so it can be a program name with args.
13185 set dummy
ls; ac_word
=$2
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13187 $as_echo_n "checking for $ac_word... " >&6; }
13188 if ${ac_cv_path_LS+:} false
; then :
13189 $as_echo_n "(cached) " >&6
13193 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
13196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13197 for as_dir
in $PATH
13200 test -z "$as_dir" && as_dir
=.
13201 for ac_exec_ext
in '' $ac_executable_extensions; do
13202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13203 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
13204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13211 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
13216 if test -n "$LS"; then
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
13218 $as_echo "$LS" >&6; }
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13225 # Extract the first word of "sed", so it can be a program name with args.
13226 set dummy
sed; ac_word
=$2
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13228 $as_echo_n "checking for $ac_word... " >&6; }
13229 if ${ac_cv_path_SED+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13234 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
13237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13238 for as_dir
in $PATH
13241 test -z "$as_dir" && as_dir
=.
13242 for ac_exec_ext
in '' $ac_executable_extensions; do
13243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13244 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
13245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13252 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
13256 SED
=$ac_cv_path_SED
13257 if test -n "$SED"; then
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
13259 $as_echo "$SED" >&6; }
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13262 $as_echo "no" >&6; }
13266 # Extract the first word of "make", so it can be a program name with args.
13267 set dummy
make; ac_word
=$2
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13269 $as_echo_n "checking for $ac_word... " >&6; }
13270 if ${ac_cv_path_MAKE+:} false
; then :
13271 $as_echo_n "(cached) " >&6
13275 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
13278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13279 for as_dir
in $PATH
13282 test -z "$as_dir" && as_dir
=.
13283 for ac_exec_ext
in '' $ac_executable_extensions; do
13284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13285 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
13286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13296 MAKE
=$ac_cv_path_MAKE
13297 if test -n "$MAKE"; then
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
13299 $as_echo "$MAKE" >&6; }
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13302 $as_echo "no" >&6; }
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13311 $as_echo_n "checking whether NLS is requested... " >&6; }
13312 # Check whether --enable-nls was given.
13313 if test "${enable_nls+set}" = set; then :
13314 enableval
=$enable_nls; USE_NLS
=$enableval
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13320 $as_echo "$USE_NLS" >&6; }
13327 # Prepare PATH_SEPARATOR.
13328 # The user is always right.
13329 if test "${PATH_SEPARATOR+set}" != set; then
13330 echo "#! /bin/sh" >conf$$.sh
13331 echo "exit 0" >>conf$$.sh
13333 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13341 # Find out how to test for executable files. Don't use a zero-byte file,
13342 # as systems may use methods other than mode bits to determine executability.
13343 cat >conf$$.
file <<_ASEOF
13347 chmod +x conf$$.
file
13348 if test -x conf$$.
file >/dev
/null
2>&1; then
13349 ac_executable_p
="test -x"
13351 ac_executable_p
="test -f"
13355 # Extract the first word of "msgfmt", so it can be a program name with args.
13356 set dummy msgfmt
; ac_word
=$2
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13358 $as_echo_n "checking for $ac_word... " >&6; }
13359 if ${ac_cv_path_MSGFMT+:} false
; then :
13360 $as_echo_n "(cached) " >&6
13364 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13367 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13368 for ac_dir
in $PATH; do
13370 test -z "$ac_dir" && ac_dir
=.
13371 for ac_exec_ext
in '' $ac_executable_extensions; do
13372 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13373 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13374 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
13375 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13376 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
13383 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
13387 MSGFMT
="$ac_cv_path_MSGFMT"
13388 if test "$MSGFMT" != ":"; then
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13390 $as_echo "$MSGFMT" >&6; }
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13393 $as_echo "no" >&6; }
13396 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13397 set dummy gmsgfmt
; ac_word
=$2
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13399 $as_echo_n "checking for $ac_word... " >&6; }
13400 if ${ac_cv_path_GMSGFMT+:} false
; then :
13401 $as_echo_n "(cached) " >&6
13405 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
13408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13409 for as_dir
in $PATH
13412 test -z "$as_dir" && as_dir
=.
13413 for ac_exec_ext
in '' $ac_executable_extensions; do
13414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13415 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13423 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
13427 GMSGFMT
=$ac_cv_path_GMSGFMT
13428 if test -n "$GMSGFMT"; then
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13430 $as_echo "$GMSGFMT" >&6; }
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13433 $as_echo "no" >&6; }
13438 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13439 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
13440 *) MSGFMT_015
=$MSGFMT ;;
13443 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13444 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
13445 *) GMSGFMT_015
=$GMSGFMT ;;
13450 # Prepare PATH_SEPARATOR.
13451 # The user is always right.
13452 if test "${PATH_SEPARATOR+set}" != set; then
13453 echo "#! /bin/sh" >conf$$.sh
13454 echo "exit 0" >>conf$$.sh
13456 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13464 # Find out how to test for executable files. Don't use a zero-byte file,
13465 # as systems may use methods other than mode bits to determine executability.
13466 cat >conf$$.
file <<_ASEOF
13470 chmod +x conf$$.
file
13471 if test -x conf$$.
file >/dev
/null
2>&1; then
13472 ac_executable_p
="test -x"
13474 ac_executable_p
="test -f"
13478 # Extract the first word of "xgettext", so it can be a program name with args.
13479 set dummy xgettext
; ac_word
=$2
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13481 $as_echo_n "checking for $ac_word... " >&6; }
13482 if ${ac_cv_path_XGETTEXT+:} false
; then :
13483 $as_echo_n "(cached) " >&6
13485 case "$XGETTEXT" in
13487 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
13490 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13491 for ac_dir
in $PATH; do
13493 test -z "$ac_dir" && ac_dir
=.
13494 for ac_exec_ext
in '' $ac_executable_extensions; do
13495 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13496 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13497 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
13498 (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
13499 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
13506 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
13510 XGETTEXT
="$ac_cv_path_XGETTEXT"
13511 if test "$XGETTEXT" != ":"; then
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13513 $as_echo "$XGETTEXT" >&6; }
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13516 $as_echo "no" >&6; }
13521 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13522 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
13523 *) XGETTEXT_015
=$XGETTEXT ;;
13528 # Prepare PATH_SEPARATOR.
13529 # The user is always right.
13530 if test "${PATH_SEPARATOR+set}" != set; then
13531 echo "#! /bin/sh" >conf$$.sh
13532 echo "exit 0" >>conf$$.sh
13534 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13542 # Find out how to test for executable files. Don't use a zero-byte file,
13543 # as systems may use methods other than mode bits to determine executability.
13544 cat >conf$$.
file <<_ASEOF
13548 chmod +x conf$$.
file
13549 if test -x conf$$.
file >/dev
/null
2>&1; then
13550 ac_executable_p
="test -x"
13552 ac_executable_p
="test -f"
13556 # Extract the first word of "msgmerge", so it can be a program name with args.
13557 set dummy msgmerge
; ac_word
=$2
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13559 $as_echo_n "checking for $ac_word... " >&6; }
13560 if ${ac_cv_path_MSGMERGE+:} false
; then :
13561 $as_echo_n "(cached) " >&6
13563 case "$MSGMERGE" in
13565 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
13568 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13569 for ac_dir
in $PATH; do
13571 test -z "$ac_dir" && ac_dir
=.
13572 for ac_exec_ext
in '' $ac_executable_extensions; do
13573 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13574 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13575 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
13576 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
13583 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
13587 MSGMERGE
="$ac_cv_path_MSGMERGE"
13588 if test "$MSGMERGE" != ":"; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13590 $as_echo "$MSGMERGE" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13593 $as_echo "no" >&6; }
13597 test -n "$localedir" || localedir
='${datadir}/locale'
13600 ac_config_commands
="$ac_config_commands po-directories"
13604 if test "X$prefix" = "XNONE"; then
13605 acl_final_prefix
="$ac_default_prefix"
13607 acl_final_prefix
="$prefix"
13609 if test "X$exec_prefix" = "XNONE"; then
13610 acl_final_exec_prefix
='${prefix}'
13612 acl_final_exec_prefix
="$exec_prefix"
13614 acl_save_prefix
="$prefix"
13615 prefix
="$acl_final_prefix"
13616 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13617 prefix
="$acl_save_prefix"
13620 # Check whether --with-gnu-ld was given.
13621 if test "${with_gnu_ld+set}" = set; then :
13622 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13627 # Prepare PATH_SEPARATOR.
13628 # The user is always right.
13629 if test "${PATH_SEPARATOR+set}" != set; then
13630 echo "#! /bin/sh" >conf$$.sh
13631 echo "exit 0" >>conf$$.sh
13633 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13641 if test "$GCC" = yes; then
13642 # Check if gcc -print-prog-name=ld gives a path.
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13644 $as_echo_n "checking for ld used by GCC... " >&6; }
13647 # gcc leaves a trailing carriage return which upsets mingw
13648 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13650 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13653 # Accept absolute paths.
13654 [\\/]* |
[A-Za-z
]:[\\/]*)
13655 re_direlt
='/[^/][^/]*/\.\./'
13656 # Canonicalize the path of ld
13657 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13658 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13659 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13661 test -z "$LD" && LD
="$ac_prog"
13664 # If it fails, then pretend we aren't using GCC.
13668 # If it is relative, then search for the first ld in PATH.
13669 with_gnu_ld
=unknown
13672 elif test "$with_gnu_ld" = yes; then
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13674 $as_echo_n "checking for GNU ld... " >&6; }
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13677 $as_echo_n "checking for non-GNU ld... " >&6; }
13679 if ${acl_cv_path_LD+:} false
; then :
13680 $as_echo_n "(cached) " >&6
13682 if test -z "$LD"; then
13683 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13684 for ac_dir
in $PATH; do
13685 test -z "$ac_dir" && ac_dir
=.
13686 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13687 acl_cv_path_LD
="$ac_dir/$ac_prog"
13688 # Check to see if the program is GNU ld. I'd rather use --version,
13689 # but apparently some GNU ld's only accept -v.
13690 # Break only if it was the GNU/non-GNU ld that we prefer.
13691 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13692 *GNU
* |
*'with BFD'*)
13693 test "$with_gnu_ld" != no
&& break ;;
13695 test "$with_gnu_ld" != yes && break ;;
13701 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13705 LD
="$acl_cv_path_LD"
13706 if test -n "$LD"; then
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13708 $as_echo "$LD" >&6; }
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13711 $as_echo "no" >&6; }
13713 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13715 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13716 if ${acl_cv_prog_gnu_ld+:} false
; then :
13717 $as_echo_n "(cached) " >&6
13719 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13720 case `$LD -v 2>&1 </dev/null` in
13721 *GNU
* |
*'with BFD'*)
13722 acl_cv_prog_gnu_ld
=yes ;;
13724 acl_cv_prog_gnu_ld
=no
;;
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13728 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13729 with_gnu_ld
=$acl_cv_prog_gnu_ld
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13735 $as_echo_n "checking for shared library run path origin... " >&6; }
13736 if ${acl_cv_rpath+:} false
; then :
13737 $as_echo_n "(cached) " >&6
13740 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13741 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13743 rm -f .
/conftest.sh
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13748 $as_echo "$acl_cv_rpath" >&6; }
13750 libext
="$acl_cv_libext"
13751 shlibext
="$acl_cv_shlibext"
13752 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13753 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13754 hardcode_direct
="$acl_cv_hardcode_direct"
13755 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13756 # Check whether --enable-rpath was given.
13757 if test "${enable_rpath+set}" = set; then :
13758 enableval
=$enable_rpath; :
13766 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13767 if test -n "$searchpath"; then
13768 acl_save_IFS
="${IFS= }"; IFS
=":"
13769 for searchdir
in $searchpath; do
13770 if test -d "$searchdir"; then
13771 case "$searchdir" in
13772 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
13773 *) searchdir
=`cd "$searchdir" && pwd`
13774 case "$searchdir" in
13775 */lib64
) acl_libdirstem
=lib64
;;
13780 IFS
="$acl_save_IFS"
13792 acl_save_prefix
="$prefix"
13793 prefix
="$acl_final_prefix"
13794 acl_save_exec_prefix
="$exec_prefix"
13795 exec_prefix
="$acl_final_exec_prefix"
13797 eval additional_includedir
=\"$includedir\"
13798 eval additional_libdir
=\"$libdir\"
13800 exec_prefix
="$acl_save_exec_prefix"
13801 prefix
="$acl_save_prefix"
13804 # Check whether --with-libiconv-prefix was given.
13805 if test "${with_libiconv_prefix+set}" = set; then :
13806 withval
=$with_libiconv_prefix;
13807 if test "X$withval" = "Xno"; then
13810 if test "X$withval" = "X"; then
13812 acl_save_prefix
="$prefix"
13813 prefix
="$acl_final_prefix"
13814 acl_save_exec_prefix
="$exec_prefix"
13815 exec_prefix
="$acl_final_exec_prefix"
13817 eval additional_includedir
=\"$includedir\"
13818 eval additional_libdir
=\"$libdir\"
13820 exec_prefix
="$acl_save_exec_prefix"
13821 prefix
="$acl_save_prefix"
13824 additional_includedir
="$withval/include"
13825 additional_libdir
="$withval/$acl_libdirstem"
13836 names_already_handled
=
13837 names_next_round
='iconv '
13838 while test -n "$names_next_round"; do
13839 names_this_round
="$names_next_round"
13841 for name
in $names_this_round; do
13843 for n
in $names_already_handled; do
13844 if test "$n" = "$name"; then
13845 already_handled
=yes
13849 if test -z "$already_handled"; then
13850 names_already_handled
="$names_already_handled $name"
13851 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13852 eval value
=\"\
$HAVE_LIB$uppername\"
13853 if test -n "$value"; then
13854 if test "$value" = yes; then
13855 eval value
=\"\
$LIB$uppername\"
13856 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13857 eval value
=\"\
$LTLIB$uppername\"
13858 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13867 if test $use_additional = yes; then
13868 if test -n "$shlibext" \
13869 && { test -f "$additional_libdir/lib$name.$shlibext" \
13870 ||
{ test "$shlibext" = dll \
13871 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13872 found_dir
="$additional_libdir"
13873 if test -f "$additional_libdir/lib$name.$shlibext"; then
13874 found_so
="$additional_libdir/lib$name.$shlibext"
13876 found_so
="$additional_libdir/lib$name.dll.a"
13878 if test -f "$additional_libdir/lib$name.la"; then
13879 found_la
="$additional_libdir/lib$name.la"
13882 if test -f "$additional_libdir/lib$name.$libext"; then
13883 found_dir
="$additional_libdir"
13884 found_a
="$additional_libdir/lib$name.$libext"
13885 if test -f "$additional_libdir/lib$name.la"; then
13886 found_la
="$additional_libdir/lib$name.la"
13891 if test "X$found_dir" = "X"; then
13892 for x
in $LDFLAGS $LTLIBICONV; do
13894 acl_save_prefix
="$prefix"
13895 prefix
="$acl_final_prefix"
13896 acl_save_exec_prefix
="$exec_prefix"
13897 exec_prefix
="$acl_final_exec_prefix"
13899 exec_prefix
="$acl_save_exec_prefix"
13900 prefix
="$acl_save_prefix"
13904 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13905 if test -n "$shlibext" \
13906 && { test -f "$dir/lib$name.$shlibext" \
13907 ||
{ test "$shlibext" = dll \
13908 && test -f "$dir/lib$name.dll.a"; }; }; then
13910 if test -f "$dir/lib$name.$shlibext"; then
13911 found_so
="$dir/lib$name.$shlibext"
13913 found_so
="$dir/lib$name.dll.a"
13915 if test -f "$dir/lib$name.la"; then
13916 found_la
="$dir/lib$name.la"
13919 if test -f "$dir/lib$name.$libext"; then
13921 found_a
="$dir/lib$name.$libext"
13922 if test -f "$dir/lib$name.la"; then
13923 found_la
="$dir/lib$name.la"
13929 if test "X$found_dir" != "X"; then
13934 if test "X$found_dir" != "X"; then
13935 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13936 if test "X$found_so" != "X"; then
13937 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13938 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13941 for x
in $ltrpathdirs; do
13942 if test "X$x" = "X$found_dir"; then
13947 if test -z "$haveit"; then
13948 ltrpathdirs
="$ltrpathdirs $found_dir"
13950 if test "$hardcode_direct" = yes; then
13951 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13953 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13954 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13956 for x
in $rpathdirs; do
13957 if test "X$x" = "X$found_dir"; then
13962 if test -z "$haveit"; then
13963 rpathdirs
="$rpathdirs $found_dir"
13967 for x
in $LDFLAGS $LIBICONV; do
13969 acl_save_prefix
="$prefix"
13970 prefix
="$acl_final_prefix"
13971 acl_save_exec_prefix
="$exec_prefix"
13972 exec_prefix
="$acl_final_exec_prefix"
13974 exec_prefix
="$acl_save_exec_prefix"
13975 prefix
="$acl_save_prefix"
13977 if test "X$x" = "X-L$found_dir"; then
13982 if test -z "$haveit"; then
13983 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13985 if test "$hardcode_minus_L" != no
; then
13986 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13988 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13994 if test "X$found_a" != "X"; then
13995 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13997 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14000 additional_includedir
=
14001 case "$found_dir" in
14002 */$acl_libdirstem |
*/$acl_libdirstem/)
14003 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14004 additional_includedir
="$basedir/include"
14007 if test "X$additional_includedir" != "X"; then
14008 if test "X$additional_includedir" != "X/usr/include"; then
14010 if test "X$additional_includedir" = "X/usr/local/include"; then
14011 if test -n "$GCC"; then
14013 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14017 if test -z "$haveit"; then
14018 for x
in $CPPFLAGS $INCICONV; do
14020 acl_save_prefix
="$prefix"
14021 prefix
="$acl_final_prefix"
14022 acl_save_exec_prefix
="$exec_prefix"
14023 exec_prefix
="$acl_final_exec_prefix"
14025 exec_prefix
="$acl_save_exec_prefix"
14026 prefix
="$acl_save_prefix"
14028 if test "X$x" = "X-I$additional_includedir"; then
14033 if test -z "$haveit"; then
14034 if test -d "$additional_includedir"; then
14035 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14041 if test -n "$found_la"; then
14042 save_libdir
="$libdir"
14043 case "$found_la" in
14044 */* |
*\\*) .
"$found_la" ;;
14045 *) .
"./$found_la" ;;
14047 libdir
="$save_libdir"
14048 for dep
in $dependency_libs; do
14051 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14052 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14054 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14055 if test -n "$GCC"; then
14057 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14061 if test -z "$haveit"; then
14063 for x
in $LDFLAGS $LIBICONV; do
14065 acl_save_prefix
="$prefix"
14066 prefix
="$acl_final_prefix"
14067 acl_save_exec_prefix
="$exec_prefix"
14068 exec_prefix
="$acl_final_exec_prefix"
14070 exec_prefix
="$acl_save_exec_prefix"
14071 prefix
="$acl_save_prefix"
14073 if test "X$x" = "X-L$additional_libdir"; then
14078 if test -z "$haveit"; then
14079 if test -d "$additional_libdir"; then
14080 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14084 for x
in $LDFLAGS $LTLIBICONV; do
14086 acl_save_prefix
="$prefix"
14087 prefix
="$acl_final_prefix"
14088 acl_save_exec_prefix
="$exec_prefix"
14089 exec_prefix
="$acl_final_exec_prefix"
14091 exec_prefix
="$acl_save_exec_prefix"
14092 prefix
="$acl_save_prefix"
14094 if test "X$x" = "X-L$additional_libdir"; then
14099 if test -z "$haveit"; then
14100 if test -d "$additional_libdir"; then
14101 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14108 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14109 if test "$enable_rpath" != no
; then
14111 for x
in $rpathdirs; do
14112 if test "X$x" = "X$dir"; then
14117 if test -z "$haveit"; then
14118 rpathdirs
="$rpathdirs $dir"
14121 for x
in $ltrpathdirs; do
14122 if test "X$x" = "X$dir"; then
14127 if test -z "$haveit"; then
14128 ltrpathdirs
="$ltrpathdirs $dir"
14133 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14136 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14139 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14140 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14146 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14147 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14153 if test "X$rpathdirs" != "X"; then
14154 if test -n "$hardcode_libdir_separator"; then
14156 for found_dir
in $rpathdirs; do
14157 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14159 acl_save_libdir
="$libdir"
14161 eval flag
=\"$hardcode_libdir_flag_spec\"
14162 libdir
="$acl_save_libdir"
14163 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14165 for found_dir
in $rpathdirs; do
14166 acl_save_libdir
="$libdir"
14167 libdir
="$found_dir"
14168 eval flag
=\"$hardcode_libdir_flag_spec\"
14169 libdir
="$acl_save_libdir"
14170 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14174 if test "X$ltrpathdirs" != "X"; then
14175 for found_dir
in $ltrpathdirs; do
14176 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14205 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14206 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
14207 $as_echo_n "(cached) " >&6
14209 gt_save_LIBS
="$LIBS"
14210 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14212 /* end confdefs.h. */
14213 #include <CoreFoundation/CFPreferences.h>
14217 CFPreferencesCopyAppValue(NULL, NULL)
14222 if ac_fn_c_try_link
"$LINENO"; then :
14223 gt_cv_func_CFPreferencesCopyAppValue
=yes
14225 gt_cv_func_CFPreferencesCopyAppValue
=no
14227 rm -f core conftest.err conftest.
$ac_objext \
14228 conftest
$ac_exeext conftest.
$ac_ext
14229 LIBS
="$gt_save_LIBS"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14232 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14233 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14235 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14239 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14240 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
14241 $as_echo_n "(cached) " >&6
14243 gt_save_LIBS
="$LIBS"
14244 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14247 #include <CoreFoundation/CFLocale.h>
14251 CFLocaleCopyCurrent();
14256 if ac_fn_c_try_link
"$LINENO"; then :
14257 gt_cv_func_CFLocaleCopyCurrent
=yes
14259 gt_cv_func_CFLocaleCopyCurrent
=no
14261 rm -f core conftest.err conftest.
$ac_objext \
14262 conftest
$ac_exeext conftest.
$ac_ext
14263 LIBS
="$gt_save_LIBS"
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14266 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14267 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14269 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14273 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14274 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
14286 case " $gt_needs " in
14287 *" need-formatstring-macros "*) gt_api_version
=3 ;;
14288 *" need-ngettext "*) gt_api_version
=2 ;;
14289 *) gt_api_version
=1 ;;
14291 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
14292 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
14294 if test "$USE_NLS" = "yes"; then
14295 gt_use_preinstalled_gnugettext
=no
14298 if test $gt_api_version -ge 3; then
14299 gt_revision_test_code
='
14300 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14301 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14303 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14306 gt_revision_test_code
=
14308 if test $gt_api_version -ge 2; then
14309 gt_expression_test_code
=' + * ngettext ("", "", 0)'
14311 gt_expression_test_code
=
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14315 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14316 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
14317 $as_echo_n "(cached) " >&6
14319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14321 #include <libintl.h>
14322 $gt_revision_test_code
14323 extern int _nl_msg_cat_cntr;
14324 extern int *_nl_domain_bindings;
14328 bindtextdomain ("", "");
14329 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14334 if ac_fn_c_try_link
"$LINENO"; then :
14335 eval "$gt_func_gnugettext_libc=yes"
14337 eval "$gt_func_gnugettext_libc=no"
14339 rm -f core conftest.err conftest.
$ac_objext \
14340 conftest
$ac_exeext conftest.
$ac_ext
14342 eval ac_res
=\$
$gt_func_gnugettext_libc
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14344 $as_echo "$ac_res" >&6; }
14346 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14352 am_save_CPPFLAGS
="$CPPFLAGS"
14354 for element
in $INCICONV; do
14356 for x
in $CPPFLAGS; do
14358 acl_save_prefix
="$prefix"
14359 prefix
="$acl_final_prefix"
14360 acl_save_exec_prefix
="$exec_prefix"
14361 exec_prefix
="$acl_final_exec_prefix"
14363 exec_prefix
="$acl_save_exec_prefix"
14364 prefix
="$acl_save_prefix"
14366 if test "X$x" = "X$element"; then
14371 if test -z "$haveit"; then
14372 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14378 $as_echo_n "checking for iconv... " >&6; }
14379 if ${am_cv_func_iconv+:} false
; then :
14380 $as_echo_n "(cached) " >&6
14383 am_cv_func_iconv
="no, consider installing GNU libiconv"
14385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 #include <stdlib.h>
14392 iconv_t cd = iconv_open("","");
14393 iconv(cd,NULL,NULL,NULL,NULL);
14399 if ac_fn_c_try_link
"$LINENO"; then :
14400 am_cv_func_iconv
=yes
14402 rm -f core conftest.err conftest.
$ac_objext \
14403 conftest
$ac_exeext conftest.
$ac_ext
14404 if test "$am_cv_func_iconv" != yes; then
14405 am_save_LIBS
="$LIBS"
14406 LIBS
="$LIBS $LIBICONV"
14407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 #include <stdlib.h>
14414 iconv_t cd = iconv_open("","");
14415 iconv(cd,NULL,NULL,NULL,NULL);
14421 if ac_fn_c_try_link
"$LINENO"; then :
14422 am_cv_lib_iconv
=yes
14423 am_cv_func_iconv
=yes
14425 rm -f core conftest.err conftest.
$ac_objext \
14426 conftest
$ac_exeext conftest.
$ac_ext
14427 LIBS
="$am_save_LIBS"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14432 $as_echo "$am_cv_func_iconv" >&6; }
14433 if test "$am_cv_func_iconv" = yes; then
14435 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14438 if test "$am_cv_lib_iconv" = yes; then
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14440 $as_echo_n "checking how to link with libiconv... " >&6; }
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14442 $as_echo "$LIBICONV" >&6; }
14444 CPPFLAGS
="$am_save_CPPFLAGS"
14457 acl_save_prefix
="$prefix"
14458 prefix
="$acl_final_prefix"
14459 acl_save_exec_prefix
="$exec_prefix"
14460 exec_prefix
="$acl_final_exec_prefix"
14462 eval additional_includedir
=\"$includedir\"
14463 eval additional_libdir
=\"$libdir\"
14465 exec_prefix
="$acl_save_exec_prefix"
14466 prefix
="$acl_save_prefix"
14469 # Check whether --with-libintl-prefix was given.
14470 if test "${with_libintl_prefix+set}" = set; then :
14471 withval
=$with_libintl_prefix;
14472 if test "X$withval" = "Xno"; then
14475 if test "X$withval" = "X"; then
14477 acl_save_prefix
="$prefix"
14478 prefix
="$acl_final_prefix"
14479 acl_save_exec_prefix
="$exec_prefix"
14480 exec_prefix
="$acl_final_exec_prefix"
14482 eval additional_includedir
=\"$includedir\"
14483 eval additional_libdir
=\"$libdir\"
14485 exec_prefix
="$acl_save_exec_prefix"
14486 prefix
="$acl_save_prefix"
14489 additional_includedir
="$withval/include"
14490 additional_libdir
="$withval/$acl_libdirstem"
14501 names_already_handled
=
14502 names_next_round
='intl '
14503 while test -n "$names_next_round"; do
14504 names_this_round
="$names_next_round"
14506 for name
in $names_this_round; do
14508 for n
in $names_already_handled; do
14509 if test "$n" = "$name"; then
14510 already_handled
=yes
14514 if test -z "$already_handled"; then
14515 names_already_handled
="$names_already_handled $name"
14516 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14517 eval value
=\"\
$HAVE_LIB$uppername\"
14518 if test -n "$value"; then
14519 if test "$value" = yes; then
14520 eval value
=\"\
$LIB$uppername\"
14521 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
14522 eval value
=\"\
$LTLIB$uppername\"
14523 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
14532 if test $use_additional = yes; then
14533 if test -n "$shlibext" \
14534 && { test -f "$additional_libdir/lib$name.$shlibext" \
14535 ||
{ test "$shlibext" = dll \
14536 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14537 found_dir
="$additional_libdir"
14538 if test -f "$additional_libdir/lib$name.$shlibext"; then
14539 found_so
="$additional_libdir/lib$name.$shlibext"
14541 found_so
="$additional_libdir/lib$name.dll.a"
14543 if test -f "$additional_libdir/lib$name.la"; then
14544 found_la
="$additional_libdir/lib$name.la"
14547 if test -f "$additional_libdir/lib$name.$libext"; then
14548 found_dir
="$additional_libdir"
14549 found_a
="$additional_libdir/lib$name.$libext"
14550 if test -f "$additional_libdir/lib$name.la"; then
14551 found_la
="$additional_libdir/lib$name.la"
14556 if test "X$found_dir" = "X"; then
14557 for x
in $LDFLAGS $LTLIBINTL; do
14559 acl_save_prefix
="$prefix"
14560 prefix
="$acl_final_prefix"
14561 acl_save_exec_prefix
="$exec_prefix"
14562 exec_prefix
="$acl_final_exec_prefix"
14564 exec_prefix
="$acl_save_exec_prefix"
14565 prefix
="$acl_save_prefix"
14569 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14570 if test -n "$shlibext" \
14571 && { test -f "$dir/lib$name.$shlibext" \
14572 ||
{ test "$shlibext" = dll \
14573 && test -f "$dir/lib$name.dll.a"; }; }; then
14575 if test -f "$dir/lib$name.$shlibext"; then
14576 found_so
="$dir/lib$name.$shlibext"
14578 found_so
="$dir/lib$name.dll.a"
14580 if test -f "$dir/lib$name.la"; then
14581 found_la
="$dir/lib$name.la"
14584 if test -f "$dir/lib$name.$libext"; then
14586 found_a
="$dir/lib$name.$libext"
14587 if test -f "$dir/lib$name.la"; then
14588 found_la
="$dir/lib$name.la"
14594 if test "X$found_dir" != "X"; then
14599 if test "X$found_dir" != "X"; then
14600 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14601 if test "X$found_so" != "X"; then
14602 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14603 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14606 for x
in $ltrpathdirs; do
14607 if test "X$x" = "X$found_dir"; then
14612 if test -z "$haveit"; then
14613 ltrpathdirs
="$ltrpathdirs $found_dir"
14615 if test "$hardcode_direct" = yes; then
14616 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14618 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14619 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14621 for x
in $rpathdirs; do
14622 if test "X$x" = "X$found_dir"; then
14627 if test -z "$haveit"; then
14628 rpathdirs
="$rpathdirs $found_dir"
14632 for x
in $LDFLAGS $LIBINTL; do
14634 acl_save_prefix
="$prefix"
14635 prefix
="$acl_final_prefix"
14636 acl_save_exec_prefix
="$exec_prefix"
14637 exec_prefix
="$acl_final_exec_prefix"
14639 exec_prefix
="$acl_save_exec_prefix"
14640 prefix
="$acl_save_prefix"
14642 if test "X$x" = "X-L$found_dir"; then
14647 if test -z "$haveit"; then
14648 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14650 if test "$hardcode_minus_L" != no
; then
14651 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14653 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14659 if test "X$found_a" != "X"; then
14660 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14662 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14665 additional_includedir
=
14666 case "$found_dir" in
14667 */$acl_libdirstem |
*/$acl_libdirstem/)
14668 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14669 additional_includedir
="$basedir/include"
14672 if test "X$additional_includedir" != "X"; then
14673 if test "X$additional_includedir" != "X/usr/include"; then
14675 if test "X$additional_includedir" = "X/usr/local/include"; then
14676 if test -n "$GCC"; then
14678 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14682 if test -z "$haveit"; then
14683 for x
in $CPPFLAGS $INCINTL; do
14685 acl_save_prefix
="$prefix"
14686 prefix
="$acl_final_prefix"
14687 acl_save_exec_prefix
="$exec_prefix"
14688 exec_prefix
="$acl_final_exec_prefix"
14690 exec_prefix
="$acl_save_exec_prefix"
14691 prefix
="$acl_save_prefix"
14693 if test "X$x" = "X-I$additional_includedir"; then
14698 if test -z "$haveit"; then
14699 if test -d "$additional_includedir"; then
14700 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14706 if test -n "$found_la"; then
14707 save_libdir
="$libdir"
14708 case "$found_la" in
14709 */* |
*\\*) .
"$found_la" ;;
14710 *) .
"./$found_la" ;;
14712 libdir
="$save_libdir"
14713 for dep
in $dependency_libs; do
14716 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14717 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14719 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14720 if test -n "$GCC"; then
14722 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14726 if test -z "$haveit"; then
14728 for x
in $LDFLAGS $LIBINTL; do
14730 acl_save_prefix
="$prefix"
14731 prefix
="$acl_final_prefix"
14732 acl_save_exec_prefix
="$exec_prefix"
14733 exec_prefix
="$acl_final_exec_prefix"
14735 exec_prefix
="$acl_save_exec_prefix"
14736 prefix
="$acl_save_prefix"
14738 if test "X$x" = "X-L$additional_libdir"; then
14743 if test -z "$haveit"; then
14744 if test -d "$additional_libdir"; then
14745 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14749 for x
in $LDFLAGS $LTLIBINTL; do
14751 acl_save_prefix
="$prefix"
14752 prefix
="$acl_final_prefix"
14753 acl_save_exec_prefix
="$exec_prefix"
14754 exec_prefix
="$acl_final_exec_prefix"
14756 exec_prefix
="$acl_save_exec_prefix"
14757 prefix
="$acl_save_prefix"
14759 if test "X$x" = "X-L$additional_libdir"; then
14764 if test -z "$haveit"; then
14765 if test -d "$additional_libdir"; then
14766 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14773 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14774 if test "$enable_rpath" != no
; then
14776 for x
in $rpathdirs; do
14777 if test "X$x" = "X$dir"; then
14782 if test -z "$haveit"; then
14783 rpathdirs
="$rpathdirs $dir"
14786 for x
in $ltrpathdirs; do
14787 if test "X$x" = "X$dir"; then
14792 if test -z "$haveit"; then
14793 ltrpathdirs
="$ltrpathdirs $dir"
14798 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14801 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14804 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14805 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14811 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14812 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14818 if test "X$rpathdirs" != "X"; then
14819 if test -n "$hardcode_libdir_separator"; then
14821 for found_dir
in $rpathdirs; do
14822 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14824 acl_save_libdir
="$libdir"
14826 eval flag
=\"$hardcode_libdir_flag_spec\"
14827 libdir
="$acl_save_libdir"
14828 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14830 for found_dir
in $rpathdirs; do
14831 acl_save_libdir
="$libdir"
14832 libdir
="$found_dir"
14833 eval flag
=\"$hardcode_libdir_flag_spec\"
14834 libdir
="$acl_save_libdir"
14835 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14839 if test "X$ltrpathdirs" != "X"; then
14840 for found_dir
in $ltrpathdirs; do
14841 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14846 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14847 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
14848 $as_echo_n "(cached) " >&6
14850 gt_save_CPPFLAGS
="$CPPFLAGS"
14851 CPPFLAGS
="$CPPFLAGS $INCINTL"
14852 gt_save_LIBS
="$LIBS"
14853 LIBS
="$LIBS $LIBINTL"
14854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14856 #include <libintl.h>
14857 $gt_revision_test_code
14858 extern int _nl_msg_cat_cntr;
14863 const char *_nl_expand_alias (const char *);
14867 bindtextdomain ("", "");
14868 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14873 if ac_fn_c_try_link
"$LINENO"; then :
14874 eval "$gt_func_gnugettext_libintl=yes"
14876 eval "$gt_func_gnugettext_libintl=no"
14878 rm -f core conftest.err conftest.
$ac_objext \
14879 conftest
$ac_exeext conftest.
$ac_ext
14880 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14881 LIBS
="$LIBS $LIBICONV"
14882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14884 #include <libintl.h>
14885 $gt_revision_test_code
14886 extern int _nl_msg_cat_cntr;
14891 const char *_nl_expand_alias (const char *);
14895 bindtextdomain ("", "");
14896 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14901 if ac_fn_c_try_link
"$LINENO"; then :
14902 LIBINTL
="$LIBINTL $LIBICONV"
14903 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
14904 eval "$gt_func_gnugettext_libintl=yes"
14907 rm -f core conftest.err conftest.
$ac_objext \
14908 conftest
$ac_exeext conftest.
$ac_ext
14910 CPPFLAGS
="$gt_save_CPPFLAGS"
14911 LIBS
="$gt_save_LIBS"
14913 eval ac_res
=\$
$gt_func_gnugettext_libintl
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14915 $as_echo "$ac_res" >&6; }
14918 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14919 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14920 && test "$PACKAGE" != gettext-runtime \
14921 && test "$PACKAGE" != gettext-tools
; }; then
14922 gt_use_preinstalled_gnugettext
=yes
14931 if test -n "$INTL_MACOSX_LIBS"; then
14932 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14933 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14934 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
14935 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
14939 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14940 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14942 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14950 $as_echo_n "checking whether to use NLS... " >&6; }
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14952 $as_echo "$USE_NLS" >&6; }
14953 if test "$USE_NLS" = "yes"; then
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14955 $as_echo_n "checking where the gettext function comes from... " >&6; }
14956 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14957 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14958 gt_source
="external libintl"
14963 gt_source
="included intl directory"
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14966 $as_echo "$gt_source" >&6; }
14969 if test "$USE_NLS" = "yes"; then
14971 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14972 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14974 $as_echo_n "checking how to link with libintl... " >&6; }
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14976 $as_echo "$LIBINTL" >&6; }
14978 for element
in $INCINTL; do
14980 for x
in $CPPFLAGS; do
14982 acl_save_prefix
="$prefix"
14983 prefix
="$acl_final_prefix"
14984 acl_save_exec_prefix
="$exec_prefix"
14985 exec_prefix
="$acl_final_exec_prefix"
14987 exec_prefix
="$acl_save_exec_prefix"
14988 prefix
="$acl_save_prefix"
14990 if test "X$x" = "X$element"; then
14995 if test -z "$haveit"; then
14996 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15003 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15006 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15015 INTLLIBS
="$LIBINTL"
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
15024 $as_echo_n "checking option: dmalloc enabled... " >&6; }
15025 # Check whether --enable-dmalloc was given.
15026 if test "${enable_dmalloc+set}" = set; then :
15027 enableval
=$enable_dmalloc;
15030 if test x
$enable_dmalloc = "xyes" ; then
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15032 $as_echo "yes" >&6; }
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15035 $as_echo "no" >&6; }
15039 # Check whether --with-dmalloc-dir was given.
15040 if test "${with_dmalloc_dir+set}" = set; then :
15041 withval
=$with_dmalloc_dir;
15042 if test "x$withval" != "xno" ; then
15043 enable_dmalloc
= "yes"
15044 CPPFLAGS
="$CPPFLAGS -I${withval}"
15045 LDFLAGS
="$LDFLAGS -L${withval}"
15051 if test x
$enable_dmalloc = "xyes" ; then
15053 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
15057 ALPINE_psefcmd
="/bin/ps auxww"
15058 ALPINE_psfailed
="0"
15061 # Check whether --with-ps-cmd was given.
15062 if test "${with_ps_cmd+set}" = set; then :
15063 withval
=$with_ps_cmd;
15064 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
15065 withval
=$ALPINE_psefcmd
15067 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15068 if test -n "$ALPINE_PSTEST" ; then
15069 ALPINE_psefcmd
="$withval"
15071 ALPINE_psfailed
="1"
15072 if test "x$ALPINE_psefcmd" != "x$withval" ; then
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
15074 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
15080 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
15081 withval
="$ALPINE_psefcmd"
15082 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15083 if test -z "$ALPINE_PSTEST" ; then
15084 ALPINE_psfailed
="1"
15086 ALPINE_psfailed
="0"
15089 if test "$ALPINE_psfailed" = "0" ; then
15091 cat >>confdefs.h
<<_ACEOF
15092 #define PSEFCMD "$ALPINE_psefcmd"
15099 if test -d /opt
/local ; then
15100 localedir
="/opt/local/share/locale"
15102 localedir
="\${datadir}/locale"
15106 localedir
="/usr/share"
15109 localedir
="\${datadir}/locale"
15114 # Check whether --with-localedir was given.
15115 if test "${with_localedir+set}" = set; then :
15116 withval
=$with_localedir;
15129 localedir
="$localedir"
15132 # Setup OS-Specific features
15135 # Check whether --enable-osx-universal-binaries was given.
15136 if test "${enable_osx_universal_binaries+set}" = set; then :
15137 enableval
=$enable_osx_universal_binaries;
15140 if test "x$enable_osx_universal_binaries" = "xyes" ; then
15141 if test "x$enable_dependency_tracking" != xno
; then
15142 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
15143 Please re-run configure with these options:
15144 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
15146 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
15147 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
15148 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
15149 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
15151 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
15153 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
15154 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
15155 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
15156 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
15157 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
15158 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
15164 # Check whether --with-include-path was given.
15165 if test "${with_include_path+set}" = set; then :
15166 withval
=$with_include_path;
15173 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
15174 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
15175 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
15183 # Check whether --with-lib-path was given.
15184 if test "${with_lib_path+set}" = set; then :
15185 withval
=$with_lib_path;
15192 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
15193 LDFLAGS
="$LDFLAGS $new_ldflags"
15194 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
15202 # Check whether --with-pubcookie was given.
15203 if test "${with_pubcookie+set}" = set; then :
15204 withval
=$with_pubcookie;
15205 if test "x$withval" != "xno" ; then
15206 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
15214 # Check whether --with-web-bin was given.
15215 if test "${with_web_bin+set}" = set; then :
15216 withval
=$with_web_bin;
15223 WEB_BINDIR
=$withval
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
15231 $as_echo_n "checking option: debugging is enabled... " >&6; }
15232 # Check whether --enable-debug was given.
15233 if test "${enable_debug+set}" = set; then :
15234 enableval
=$enable_debug;
15237 if test x
$enable_debug != "xno" ; then
15238 AM_CFLAGS
="$AM_CFLAGS -g"
15240 $as_echo "#define DEBUG 1" >>confdefs.h
15243 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15246 $as_echo "yes" >&6; }
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15249 $as_echo "no" >&6; }
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
15253 $as_echo_n "checking option: optimization is enabled... " >&6; }
15254 # Check whether --enable-optimization was given.
15255 if test "${enable_optimization+set}" = set; then :
15256 enableval
=$enable_optimization;
15259 if test x
$enable_optimization != "xno" ; then
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15261 $as_echo "yes" >&6; }
15263 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
15264 alpine_c_client_gccoptlevel
="-O0"
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15266 $as_echo "no" >&6; }
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
15270 $as_echo_n "checking option: mouse support enabled... " >&6; }
15271 # Check whether --enable-mouse was given.
15272 if test "${enable_mouse+set}" = set; then :
15273 enableval
=$enable_mouse;
15276 if test x
$enable_mouse != "xno" ; then
15278 $as_echo "#define MOUSE /**/" >>confdefs.h
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15281 $as_echo "yes" >&6; }
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15284 $as_echo "no" >&6; }
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
15288 $as_echo_n "checking option: quotas enabled... " >&6; }
15289 # Check whether --enable-quotas was given.
15290 if test "${enable_quotas+set}" = set; then :
15291 enableval
=$enable_quotas;
15294 if test x
$enable_quotas = "xyes" ; then
15296 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15299 $as_echo "yes" >&6; }
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15302 $as_echo "no" >&6; }
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
15306 $as_echo_n "checking option: From changing enabled... " >&6; }
15307 # Check whether --enable-from_changing was given.
15308 if test "${enable_from_changing+set}" = set; then :
15309 enableval
=$enable_from_changing;
15312 if test x
$enable_from_changing != "xno" ; then
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15314 $as_echo "yes" >&6; }
15317 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15320 $as_echo "no" >&6; }
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
15324 $as_echo_n "checking option: background post enabled... " >&6; }
15325 # Check whether --enable-background-post was given.
15326 if test "${enable_background_post+set}" = set; then :
15327 enableval
=$enable_background_post;
15330 if test x
$enable_background_post != "xno" ; then
15332 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15335 $as_echo "yes" >&6; }
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15338 $as_echo "no" >&6; }
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
15342 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
15343 # Check whether --enable-keyboard-lock was given.
15344 if test "${enable_keyboard_lock+set}" = set; then :
15345 enableval
=$enable_keyboard_lock;
15348 if test x
$enable_keyboard_lock != "xno" ; then
15350 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15353 $as_echo "yes" >&6; }
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15356 $as_echo "no" >&6; }
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
15360 $as_echo_n "checking option: from encoding enabled... " >&6; }
15361 # Check whether --enable-from-encoding was given.
15362 if test "${enable_from_encoding+set}" = set; then :
15363 enableval
=$enable_from_encoding;
15366 if test x
$enable_from_encoding = "xyes" ; then
15368 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15371 $as_echo "yes" >&6; }
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15374 $as_echo "no" >&6; }
15378 # Check whether --with-smtp-msa was given.
15379 if test "${with_smtp_msa+set}" = set; then :
15380 withval
=$with_smtp_msa;
15385 # Extract the first word of "sendmail", so it can be a program name with args.
15386 set dummy sendmail
; ac_word
=$2
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15388 $as_echo_n "checking for $ac_word... " >&6; }
15389 if ${ac_cv_path_SENDMAIL+:} false
; then :
15390 $as_echo_n "(cached) " >&6
15394 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15398 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15399 for as_dir
in $as_dummy
15402 test -z "$as_dir" && as_dir
=.
15403 for ac_exec_ext
in '' $ac_executable_extensions; do
15404 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15405 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15413 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15417 SENDMAIL
=$ac_cv_path_SENDMAIL
15418 if test -n "$SENDMAIL"; then
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15420 $as_echo "$SENDMAIL" >&6; }
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15423 $as_echo "no" >&6; }
15435 # Extract the first word of "sendmail", so it can be a program name with args.
15436 set dummy sendmail
; ac_word
=$2
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15438 $as_echo_n "checking for $ac_word... " >&6; }
15439 if ${ac_cv_path_SENDMAIL+:} false
; then :
15440 $as_echo_n "(cached) " >&6
15444 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15448 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15449 for as_dir
in $as_dummy
15452 test -z "$as_dir" && as_dir
=.
15453 for ac_exec_ext
in '' $ac_executable_extensions; do
15454 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15455 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15463 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15467 SENDMAIL
=$ac_cv_path_SENDMAIL
15468 if test -n "$SENDMAIL"; then
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15470 $as_echo "$SENDMAIL" >&6; }
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15473 $as_echo "no" >&6; }
15480 if test -n "$SENDMAIL" ; then
15482 cat >>confdefs.h
<<_ACEOF
15483 #define SENDMAIL "$SENDMAIL"
15488 smtp_msa_flags
="-bs -odb -oem"
15490 # Check whether --with-smtp-msa-flags was given.
15491 if test "${with_smtp_msa_flags+set}" = set; then :
15492 withval
=$with_smtp_msa_flags;
15493 if test "x$withval" != "xno" ; then
15494 smtp_msa_flags
=$withval
15500 cat >>confdefs.h
<<_ACEOF
15501 #define SENDMAILFLAGS "$smtp_msa_flags"
15507 # Check whether --with-npa was given.
15508 if test "${with_npa+set}" = set; then :
15514 # Extract the first word of "inews", so it can be a program name with args.
15515 set dummy inews
; ac_word
=$2
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15517 $as_echo_n "checking for $ac_word... " >&6; }
15518 if ${ac_cv_path_NPA_PROG+:} false
; then :
15519 $as_echo_n "(cached) " >&6
15523 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15527 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15528 for as_dir
in $as_dummy
15531 test -z "$as_dir" && as_dir
=.
15532 for ac_exec_ext
in '' $ac_executable_extensions; do
15533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15534 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15542 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15546 NPA_PROG
=$ac_cv_path_NPA_PROG
15547 if test -n "$NPA_PROG"; then
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15549 $as_echo "$NPA_PROG" >&6; }
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15552 $as_echo "no" >&6; }
15564 # Extract the first word of "inews", so it can be a program name with args.
15565 set dummy inews
; ac_word
=$2
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15567 $as_echo_n "checking for $ac_word... " >&6; }
15568 if ${ac_cv_path_NPA_PROG+:} false
; then :
15569 $as_echo_n "(cached) " >&6
15573 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15577 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15578 for as_dir
in $as_dummy
15581 test -z "$as_dir" && as_dir
=.
15582 for ac_exec_ext
in '' $ac_executable_extensions; do
15583 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15584 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15592 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15596 NPA_PROG
=$ac_cv_path_NPA_PROG
15597 if test -n "$NPA_PROG"; then
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15599 $as_echo "$NPA_PROG" >&6; }
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15602 $as_echo "no" >&6; }
15612 # Check whether --with-npa-flags was given.
15613 if test "${with_npa_flags+set}" = set; then :
15614 withval
=$with_npa_flags;
15615 if test "x$withval" != "xno" ; then
15621 if test -n "$NPA_PROG" ; then
15623 cat >>confdefs.h
<<_ACEOF
15624 #define SENDNEWS "$NPA_PROG $npa_flags"
15630 # Check whether --with-password-prog was given.
15631 if test "${with_password_prog+set}" = set; then :
15632 withval
=$with_password_prog;
15637 # Extract the first word of "passwd", so it can be a program name with args.
15638 set dummy passwd
; ac_word
=$2
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15640 $as_echo_n "checking for $ac_word... " >&6; }
15641 if ${ac_cv_path_PWPROG+:} false
; then :
15642 $as_echo_n "(cached) " >&6
15646 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15650 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15651 for as_dir
in $as_dummy
15654 test -z "$as_dir" && as_dir
=.
15655 for ac_exec_ext
in '' $ac_executable_extensions; do
15656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15657 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15665 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15669 PWPROG
=$ac_cv_path_PWPROG
15670 if test -n "$PWPROG"; then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15672 $as_echo "$PWPROG" >&6; }
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15675 $as_echo "no" >&6; }
15681 # Extract the first word of "$withval", so it can be a program name with args.
15682 set dummy
$withval; ac_word
=$2
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15684 $as_echo_n "checking for $ac_word... " >&6; }
15685 if ${ac_cv_path_PWPROG+:} false
; then :
15686 $as_echo_n "(cached) " >&6
15690 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15694 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15695 for as_dir
in $as_dummy
15698 test -z "$as_dir" && as_dir
=.
15699 for ac_exec_ext
in '' $ac_executable_extensions; do
15700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15701 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15709 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15713 PWPROG
=$ac_cv_path_PWPROG
15714 if test -n "$PWPROG"; then
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15716 $as_echo "$PWPROG" >&6; }
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15719 $as_echo "no" >&6; }
15728 # Extract the first word of "passwd", so it can be a program name with args.
15729 set dummy passwd
; ac_word
=$2
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15731 $as_echo_n "checking for $ac_word... " >&6; }
15732 if ${ac_cv_path_PWPROG+:} false
; then :
15733 $as_echo_n "(cached) " >&6
15737 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15741 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15742 for as_dir
in $as_dummy
15745 test -z "$as_dir" && as_dir
=.
15746 for ac_exec_ext
in '' $ac_executable_extensions; do
15747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15748 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15756 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15760 PWPROG
=$ac_cv_path_PWPROG
15761 if test -n "$PWPROG"; then
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15763 $as_echo "$PWPROG" >&6; }
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15766 $as_echo "no" >&6; }
15773 if test -n "$PWPROG" ; then
15775 cat >>confdefs.h
<<_ACEOF
15776 #define PASSWD_PROG "$PWPROG"
15782 # Check whether --with-simple-spellcheck was given.
15783 if test "${with_simple_spellcheck+set}" = set; then :
15784 withval
=$with_simple_spellcheck;
15785 if test "x$withval" != "xno" ; then
15791 # Extract the first word of "hunspell", so it can be a program name with args.
15792 set dummy hunspell
; ac_word
=$2
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15794 $as_echo_n "checking for $ac_word... " >&6; }
15795 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15796 $as_echo_n "(cached) " >&6
15798 if test -n "$SPELLPROG"; then
15799 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15802 for as_dir
in $PATH
15805 test -z "$as_dir" && as_dir
=.
15806 for ac_exec_ext
in '' $ac_executable_extensions; do
15807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15808 ac_cv_prog_SPELLPROG
="hunspell"
15809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15818 SPELLPROG
=$ac_cv_prog_SPELLPROG
15819 if test -n "$SPELLPROG"; then
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15821 $as_echo "$SPELLPROG" >&6; }
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15824 $as_echo "no" >&6; }
15828 if test -z "$SPELLPROG" ; then
15829 # Extract the first word of "aspell", so it can be a program name with args.
15830 set dummy aspell
; ac_word
=$2
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15832 $as_echo_n "checking for $ac_word... " >&6; }
15833 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15834 $as_echo_n "(cached) " >&6
15836 if test -n "$SPELLPROG"; then
15837 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15840 for as_dir
in $PATH
15843 test -z "$as_dir" && as_dir
=.
15844 for ac_exec_ext
in '' $ac_executable_extensions; do
15845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15846 ac_cv_prog_SPELLPROG
="aspell"
15847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15856 SPELLPROG
=$ac_cv_prog_SPELLPROG
15857 if test -n "$SPELLPROG"; then
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15859 $as_echo "$SPELLPROG" >&6; }
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15862 $as_echo "no" >&6; }
15866 if test -z "$SPELLPROG" ; then
15867 # Extract the first word of "ispell", so it can be a program name with args.
15868 set dummy ispell
; ac_word
=$2
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15870 $as_echo_n "checking for $ac_word... " >&6; }
15871 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15872 $as_echo_n "(cached) " >&6
15874 if test -n "$SPELLPROG"; then
15875 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15878 for as_dir
in $PATH
15881 test -z "$as_dir" && as_dir
=.
15882 for ac_exec_ext
in '' $ac_executable_extensions; do
15883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15884 ac_cv_prog_SPELLPROG
="ispell"
15885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15894 SPELLPROG
=$ac_cv_prog_SPELLPROG
15895 if test -n "$SPELLPROG"; then
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15897 $as_echo "$SPELLPROG" >&6; }
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15900 $as_echo "no" >&6; }
15904 if test -z "$SPELLPROG" ; then
15913 if test "x$SPELLPROG" != "xno" ; then
15914 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
15915 set dummy
$SPELLPROG; ac_word
=$2
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15917 $as_echo_n "checking for $ac_word... " >&6; }
15918 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
15919 $as_echo_n "(cached) " >&6
15921 case $alpine_simple_spellcheck in
15923 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
15926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15927 for as_dir
in $PATH
15930 test -z "$as_dir" && as_dir
=.
15931 for ac_exec_ext
in '' $ac_executable_extensions; do
15932 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15933 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
15934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15944 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
15945 if test -n "$alpine_simple_spellcheck"; then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
15947 $as_echo "$alpine_simple_spellcheck" >&6; }
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15950 $as_echo "no" >&6; }
15954 if test -n "$alpine_simple_spellcheck" ; then
15955 case "$SPELLPROG" in
15957 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15960 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
15963 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15972 # Check whether --with-interactive-spellcheck was given.
15973 if test "${with_interactive_spellcheck+set}" = set; then :
15974 withval
=$with_interactive_spellcheck;
15975 if test "x$withval" != "xno" ; then
15976 ISPELLPROG
=$withval
15981 # Extract the first word of "hunspell", so it can be a program name with args.
15982 set dummy hunspell
; ac_word
=$2
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15984 $as_echo_n "checking for $ac_word... " >&6; }
15985 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
15986 $as_echo_n "(cached) " >&6
15988 if test -n "$ISPELLPROG"; then
15989 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
15991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15992 for as_dir
in $PATH
15995 test -z "$as_dir" && as_dir
=.
15996 for ac_exec_ext
in '' $ac_executable_extensions; do
15997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15998 ac_cv_prog_ISPELLPROG
="hunspell"
15999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16008 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16009 if test -n "$ISPELLPROG"; then
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16011 $as_echo "$ISPELLPROG" >&6; }
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16014 $as_echo "no" >&6; }
16018 if test -z "$ISPELLPROG" ; then
16019 # Extract the first word of "aspell", so it can be a program name with args.
16020 set dummy aspell
; ac_word
=$2
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16022 $as_echo_n "checking for $ac_word... " >&6; }
16023 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16024 $as_echo_n "(cached) " >&6
16026 if test -n "$ISPELLPROG"; then
16027 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16030 for as_dir
in $PATH
16033 test -z "$as_dir" && as_dir
=.
16034 for ac_exec_ext
in '' $ac_executable_extensions; do
16035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16036 ac_cv_prog_ISPELLPROG
="aspell"
16037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16046 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16047 if test -n "$ISPELLPROG"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16049 $as_echo "$ISPELLPROG" >&6; }
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16056 if test -z "$SPELLPROG" ; then
16057 ISPELLPROG
="ispell"
16064 if test "x$ISPELLPROG" != "xno" ; then
16065 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
16066 set dummy
$ISPELLPROG; ac_word
=$2
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16068 $as_echo_n "checking for $ac_word... " >&6; }
16069 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
16070 $as_echo_n "(cached) " >&6
16072 case $alpine_interactive_spellcheck in
16074 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
16077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16078 for as_dir
in $PATH
16081 test -z "$as_dir" && as_dir
=.
16082 for ac_exec_ext
in '' $ac_executable_extensions; do
16083 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16084 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16095 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
16096 if test -n "$alpine_interactive_spellcheck"; then
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
16098 $as_echo "$alpine_interactive_spellcheck" >&6; }
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16101 $as_echo "no" >&6; }
16105 if test -n "$alpine_interactive_spellcheck" ; then
16106 case "$ISPELLPROG" in
16108 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
16116 if test -n "$alpine_interactive_spellcheck" ; then
16118 cat >>confdefs.h
<<_ACEOF
16119 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
16124 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
16125 alpine_simple_spellcheck
=test
16128 cat >>confdefs.h
<<_ACEOF
16129 #define SPELLER "$alpine_simple_spellcheck"
16134 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
16135 *) dpv
=${prefix}/lib
/pine.conf
;;
16138 # Check whether --with-system-pinerc was given.
16139 if test "${with_system_pinerc+set}" = set; then :
16140 withval
=$with_system_pinerc;
16154 cat >>confdefs.h
<<_ACEOF
16155 #define SYSTEM_PINERC "$dpv"
16160 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
16161 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
16164 # Check whether --with-system-fixed-pinerc was given.
16165 if test "${with_system_fixed_pinerc+set}" = set; then :
16166 withval
=$with_system_fixed_pinerc;
16180 cat >>confdefs.h
<<_ACEOF
16181 #define SYSTEM_PINERC_FIXED "$dpv"
16186 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
16187 *) dpv
=${prefix}/lib
/pine.info
;;
16190 # Check whether --with-local-support-info was given.
16191 if test "${with_local_support_info+set}" = set; then :
16192 withval
=$with_local_support_info;
16206 cat >>confdefs.h
<<_ACEOF
16207 #define SYSTEM_PINE_INFO_PATH "$dpv"
16218 # Check whether --with-mailcheck-interval was given.
16219 if test "${with_mailcheck_interval+set}" = set; then :
16220 withval
=$with_mailcheck_interval;
16221 if test "x$withval" != "xno" ; then
16228 cat >>confdefs.h
<<_ACEOF
16229 #define DF_MAILCHECK "$dpv"
16236 # Check whether --with-checkpoint-interval was given.
16237 if test "${with_checkpoint_interval+set}" = set; then :
16238 withval
=$with_checkpoint_interval;
16239 if test "x$withval" != "xno" ; then
16246 cat >>confdefs.h
<<_ACEOF
16247 #define CHECK_POINT_TIME $dpv
16254 # Check whether --with-checkpoint-frequency was given.
16255 if test "${with_checkpoint_frequency+set}" = set; then :
16256 withval
=$with_checkpoint_frequency;
16257 if test "x$withval" != "xno" ; then
16264 cat >>confdefs.h
<<_ACEOF
16265 #define CHECK_POINT_FREQ $dpv
16272 # Check whether --with-display-rows was given.
16273 if test "${with_display_rows+set}" = set; then :
16274 withval
=$with_display_rows;
16275 if test "x$withval" != "xno" ; then
16282 cat >>confdefs.h
<<_ACEOF
16283 #define DEFAULT_LINES_ON_TERMINAL $dpv
16290 # Check whether --with-display-columns was given.
16291 if test "${with_display_columns+set}" = set; then :
16292 withval
=$with_display_columns;
16293 if test "x$withval" != "xno" ; then
16300 cat >>confdefs.h
<<_ACEOF
16301 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
16308 # Check whether --with-max-display-rows was given.
16309 if test "${with_max_display_rows+set}" = set; then :
16310 withval
=$with_max_display_rows;
16311 if test "x$withval" != "xno" ; then
16318 cat >>confdefs.h
<<_ACEOF
16319 #define MAX_SCREEN_ROWS $dpv
16326 # Check whether --with-max-display-columns was given.
16327 if test "${with_max_display_columns+set}" = set; then :
16328 withval
=$with_max_display_columns;
16329 if test "x$withval" != "xno" ; then
16336 cat >>confdefs.h
<<_ACEOF
16337 #define MAX_SCREEN_COLS $dpv
16344 # Check whether --with-fill-column was given.
16345 if test "${with_fill_column+set}" = set; then :
16346 withval
=$with_fill_column;
16347 if test "x$withval" != "xno" ; then
16354 cat >>confdefs.h
<<_ACEOF
16355 #define DF_FILLCOL "$dpv"
16362 # Check whether --with-max_fill-column was given.
16363 if test "${with_max_fill_column+set}" = set; then :
16364 withval
=$with_max_fill_column;
16365 if test "x$withval" != "xno" ; then
16372 cat >>confdefs.h
<<_ACEOF
16373 #define MAX_FILLCOL $dpv
16380 # Check whether --with-debug-level was given.
16381 if test "${with_debug_level+set}" = set; then :
16382 withval
=$with_debug_level;
16383 if test "x$withval" != "xno" ; then
16390 cat >>confdefs.h
<<_ACEOF
16391 #define DEFAULT_DEBUG $dpv
16398 # Check whether --with-debug-files was given.
16399 if test "${with_debug_files+set}" = set; then :
16400 withval
=$with_debug_files;
16401 if test "x$withval" != "xno" ; then
16408 cat >>confdefs.h
<<_ACEOF
16409 #define NUMDEBUGFILES $dpv
16416 # Check whether --with-debug-file was given.
16417 if test "${with_debug_file+set}" = set; then :
16418 withval
=$with_debug_file;
16419 if test "x$withval" != "xno" ; then
16426 cat >>confdefs.h
<<_ACEOF
16427 #define DEBUGFILE "$dpv"
16434 # Check whether --with-forwarded-keyword was given.
16435 if test "${with_forwarded_keyword+set}" = set; then :
16436 withval
=$with_forwarded_keyword;
16437 if test "x$withval" != "xno" ; then
16444 cat >>confdefs.h
<<_ACEOF
16445 #define FORWARDED_FLAG "$dpv"
16452 # Check whether --with-display-overlap was given.
16453 if test "${with_display_overlap+set}" = set; then :
16454 withval
=$with_display_overlap;
16455 if test "x$withval" != "xno" ; then
16462 cat >>confdefs.h
<<_ACEOF
16463 #define DF_OVERLAP "$dpv"
16470 # Check whether --with-display-margin was given.
16471 if test "${with_display_margin+set}" = set; then :
16472 withval
=$with_display_margin;
16473 if test "x$withval" != "xno" ; then
16480 cat >>confdefs.h
<<_ACEOF
16481 #define DF_MARGIN "$dpv"
16488 # Check whether --with-default-fcc was given.
16489 if test "${with_default_fcc+set}" = set; then :
16490 withval
=$with_default_fcc;
16491 if test "x$withval" != "xno" ; then
16498 cat >>confdefs.h
<<_ACEOF
16499 #define DF_DEFAULT_FCC "$dpv"
16506 # Check whether --with-default-save-folder was given.
16507 if test "${with_default_save_folder+set}" = set; then :
16508 withval
=$with_default_save_folder;
16509 if test "x$withval" != "xno" ; then
16516 cat >>confdefs.h
<<_ACEOF
16517 #define DEFAULT_SAVE "$dpv"
16524 # Check whether --with-default-legacy-postponed-folder was given.
16525 if test "${with_default_legacy_postponed_folder+set}" = set; then :
16526 withval
=$with_default_legacy_postponed_folder;
16527 if test "x$withval" != "xno" ; then
16534 cat >>confdefs.h
<<_ACEOF
16535 #define POSTPONED_MAIL "$dpv"
16542 # Check whether --with-default-postponed-folder was given.
16543 if test "${with_default_postponed_folder+set}" = set; then :
16544 withval
=$with_default_postponed_folder;
16545 if test "x$withval" != "xno" ; then
16552 cat >>confdefs.h
<<_ACEOF
16553 #define POSTPONED_MSGS "$dpv"
16560 # Check whether --with-default-trash-folder was given.
16561 if test "${with_default_trash_folder+set}" = set; then :
16562 withval
=$with_default_trash_folder;
16563 if test "x$withval" != "xno" ; then
16570 cat >>confdefs.h
<<_ACEOF
16571 #define TRASH_FOLDER "$dpv"
16576 dpv
=.pine-interrupted-mail
16578 # Check whether --with-default-interrupted-mail was given.
16579 if test "${with_default_interrupted_mail+set}" = set; then :
16580 withval
=$with_default_interrupted_mail;
16581 if test "x$withval" != "xno" ; then
16588 cat >>confdefs.h
<<_ACEOF
16589 #define INTERRUPTED_MAIL "$dpv"
16596 # Check whether --with-default-dead-letter-folder was given.
16597 if test "${with_default_dead_letter_folder+set}" = set; then :
16598 withval
=$with_default_dead_letter_folder;
16599 if test "x$withval" != "xno" ; then
16606 cat >>confdefs.h
<<_ACEOF
16607 #define DEADLETTER "$dpv"
16614 # Check whether --with-default-mail-directory was given.
16615 if test "${with_default_mail_directory+set}" = set; then :
16616 withval
=$with_default_mail_directory;
16617 if test "x$withval" != "xno" ; then
16624 cat >>confdefs.h
<<_ACEOF
16625 #define DF_MAIL_DIRECTORY "$dpv"
16632 # Check whether --with-default-inbox-name was given.
16633 if test "${with_default_inbox_name+set}" = set; then :
16634 withval
=$with_default_inbox_name;
16635 if test "x$withval" != "xno" ; then
16642 cat >>confdefs.h
<<_ACEOF
16643 #define INBOX_NAME "$dpv"
16650 # Check whether --with-default-signature-file was given.
16651 if test "${with_default_signature_file+set}" = set; then :
16652 withval
=$with_default_signature_file;
16653 if test "x$withval" != "xno" ; then
16660 cat >>confdefs.h
<<_ACEOF
16661 #define DF_SIGNATURE_FILE "$dpv"
16668 # Check whether --with-default-elm-style-save was given.
16669 if test "${with_default_elm_style_save+set}" = set; then :
16670 withval
=$with_default_elm_style_save;
16671 if test "x$withval" != "xno" ; then
16678 cat >>confdefs.h
<<_ACEOF
16679 #define DF_ELM_STYLE_SAVE "$dpv"
16686 # Check whether --with-default-header-in-reply was given.
16687 if test "${with_default_header_in_reply+set}" = set; then :
16688 withval
=$with_default_header_in_reply;
16689 if test "x$withval" != "xno" ; then
16696 cat >>confdefs.h
<<_ACEOF
16697 #define DF_HEADER_IN_REPLY "$dpv"
16704 # Check whether --with-default-old-style-reply was given.
16705 if test "${with_default_old_style_reply+set}" = set; then :
16706 withval
=$with_default_old_style_reply;
16707 if test "x$withval" != "xno" ; then
16714 cat >>confdefs.h
<<_ACEOF
16715 #define DF_OLD_STYLE_REPLY "$dpv"
16722 # Check whether --with-default-use-only-domain-name was given.
16723 if test "${with_default_use_only_domain_name+set}" = set; then :
16724 withval
=$with_default_use_only_domain_name;
16725 if test "x$withval" != "xno" ; then
16732 cat >>confdefs.h
<<_ACEOF
16733 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
16740 # Check whether --with-default-save-by-sender was given.
16741 if test "${with_default_save_by_sender+set}" = set; then :
16742 withval
=$with_default_save_by_sender;
16743 if test "x$withval" != "xno" ; then
16750 cat >>confdefs.h
<<_ACEOF
16751 #define DF_SAVE_BY_SENDER "$dpv"
16758 # Check whether --with-default-sort-key was given.
16759 if test "${with_default_sort_key+set}" = set; then :
16760 withval
=$with_default_sort_key;
16761 if test "x$withval" != "xno" ; then
16768 cat >>confdefs.h
<<_ACEOF
16769 #define DF_SORT_KEY "$dpv"
16774 dpv
=fullname-with-lists-last
16776 # Check whether --with-default-addressbook-sort-rule was given.
16777 if test "${with_default_addressbook_sort_rule+set}" = set; then :
16778 withval
=$with_default_addressbook_sort_rule;
16779 if test "x$withval" != "xno" ; then
16786 cat >>confdefs.h
<<_ACEOF
16787 #define DF_AB_SORT_RULE "$dpv"
16794 # Check whether --with-default-folder-sort-rule was given.
16795 if test "${with_default_folder_sort_rule+set}" = set; then :
16796 withval
=$with_default_folder_sort_rule;
16797 if test "x$withval" != "xno" ; then
16804 cat >>confdefs.h
<<_ACEOF
16805 #define DF_FLD_SORT_RULE "$dpv"
16812 # Check whether --with-default-saved-message-name-rule was given.
16813 if test "${with_default_saved_message_name_rule+set}" = set; then :
16814 withval
=$with_default_saved_message_name_rule;
16815 if test "x$withval" != "xno" ; then
16822 cat >>confdefs.h
<<_ACEOF
16823 #define DF_SAVED_MSG_NAME_RULE "$dpv"
16830 # Check whether --with-default-fcc-rule was given.
16831 if test "${with_default_fcc_rule+set}" = set; then :
16832 withval
=$with_default_fcc_rule;
16833 if test "x$withval" != "xno" ; then
16840 cat >>confdefs.h
<<_ACEOF
16841 #define DF_FCC_RULE "$dpv"
16848 # Check whether --with-default-standard-printer was given.
16849 if test "${with_default_standard_printer+set}" = set; then :
16850 withval
=$with_default_standard_printer;
16851 if test "x$withval" != "xno" ; then
16858 cat >>confdefs.h
<<_ACEOF
16859 #define DF_STANDARD_PRINTER "$dpv"
16864 dpv
=attached-to-ansi
16866 # Check whether --with-default-ansi-printer was given.
16867 if test "${with_default_ansi_printer+set}" = set; then :
16868 withval
=$with_default_ansi_printer;
16869 if test "x$withval" != "xno" ; then
16876 cat >>confdefs.h
<<_ACEOF
16877 #define ANSI_PRINTER "$dpv"
16884 # Check whether --with-default-addressbook was given.
16885 if test "${with_default_addressbook+set}" = set; then :
16886 withval
=$with_default_addressbook;
16887 if test "x$withval" != "xno" ; then
16894 cat >>confdefs.h
<<_ACEOF
16895 #define DF_ADDRESSBOOK "$dpv"
16900 dpv
="Local Support"
16902 # Check whether --with-default-local-fullname was given.
16903 if test "${with_default_local_fullname+set}" = set; then :
16904 withval
=$with_default_local_fullname;
16905 if test "x$withval" != "xno" ; then
16912 cat >>confdefs.h
<<_ACEOF
16913 #define DF_LOCAL_FULLNAME "$dpv"
16920 # Check whether --with-default-local-address was given.
16921 if test "${with_default_local_address+set}" = set; then :
16922 withval
=$with_default_local_address;
16923 if test "x$withval" != "xno" ; then
16930 cat >>confdefs.h
<<_ACEOF
16931 #define DF_LOCAL_ADDRESS "$dpv"
16938 # Check whether --with-default-keyboard-lock-count was given.
16939 if test "${with_default_keyboard_lock_count+set}" = set; then :
16940 withval
=$with_default_keyboard_lock_count;
16941 if test "x$withval" != "xno" ; then
16948 cat >>confdefs.h
<<_ACEOF
16949 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
16956 # Check whether --with-default-remote-addressbook-history was given.
16957 if test "${with_default_remote_addressbook_history+set}" = set; then :
16958 withval
=$with_default_remote_addressbook_history;
16959 if test "x$withval" != "xno" ; then
16966 cat >>confdefs.h
<<_ACEOF
16967 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
16972 dpv
=.alpine-smime
/public
16974 # Check whether --with-smime-public-cert-directory was given.
16975 if test "${with_smime_public_cert_directory+set}" = set; then :
16976 withval
=$with_smime_public_cert_directory;
16977 if test "x$withval" != "xno" ; then
16984 cat >>confdefs.h
<<_ACEOF
16985 #define DF_PUBLICCERT_DIR "$dpv"
16990 dpv
=.alpine-smime
/private
16992 # Check whether --with-smime-private-key-directory was given.
16993 if test "${with_smime_private_key_directory+set}" = set; then :
16994 withval
=$with_smime_private_key_directory;
16995 if test "x$withval" != "xno" ; then
17002 cat >>confdefs.h
<<_ACEOF
17003 #define DF_PRIVATEKEY_DIR "$dpv"
17008 dpv
=.alpine-smime
/ca
17010 # Check whether --with-smime-cacert-directory was given.
17011 if test "${with_smime_cacert_directory+set}" = set; then :
17012 withval
=$with_smime_cacert_directory;
17013 if test "x$withval" != "xno" ; then
17020 cat >>confdefs.h
<<_ACEOF
17021 #define DF_CACERT_DIR "$dpv"
17028 # Check whether --with-default-printer was given.
17029 if test "${with_default_printer+set}" = set; then :
17030 withval
=$with_default_printer;
17031 if test "x$withval" != "xno" ; then
17038 cat >>confdefs.h
<<_ACEOF
17039 #define DF_DEFAULT_PRINTER $dpv
17045 cat >>confdefs.h
<<_ACEOF
17046 #define DF_PUBLIC_CONTAINER "PublicContainer"
17050 cat >>confdefs.h
<<_ACEOF
17051 #define DF_PRIVATE_CONTAINER "PrivateContainer"
17055 cat >>confdefs.h
<<_ACEOF
17056 #define DF_CA_CONTAINER "CAContainer"
17061 # Check whether --with-passfile was given.
17062 if test "${with_passfile+set}" = set; then :
17063 withval
=$with_passfile;
17070 alpine_PASSFILE
=$withval
17079 # Check whether --with-local-password-cache was given.
17080 if test "${with_local_password_cache+set}" = set; then :
17081 withval
=$with_local_password_cache;
17082 alpine_os_credential_cache
=$withval
17088 # Check whether --with-local-password-cache-method was given.
17089 if test "${with_local_password_cache_method+set}" = set; then :
17090 withval
=$with_local_password_cache_method;
17091 alpine_os_credential_cache_method
=$withval
17096 if test -n "$alpine_PASSFILE" ; then
17097 case $alpine_os_credential_cache in
17101 alpine_os_credential_cache
="no"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
17103 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
17107 cat >>confdefs.h
<<_ACEOF
17108 #define PASSFILE "$alpine_PASSFILE"
17114 # Check whether --with-default-sshpath was given.
17115 if test "${with_default_sshpath+set}" = set; then :
17116 withval
=$with_default_sshpath;
17124 cat >>confdefs.h
<<_ACEOF
17125 #define DF_SSHPATH "$withval"
17135 # Check whether --with-default-sshcmd was given.
17136 if test "${with_default_sshcmd+set}" = set; then :
17137 withval
=$with_default_sshcmd;
17145 cat >>confdefs.h
<<_ACEOF
17146 #define DF_SSHCMD "$withval"
17156 # Check whether --with-ssl was given.
17157 if test "${with_ssl+set}" = set; then :
17158 withval
=$with_ssl; with_ssl
=$withval
17162 if test "x$with_ssl" = "xno" ; then
17163 alpine_SSLTYPE
="none"
17164 elif test -d /usr
/local
/ssl
; then
17165 alpine_SSLDIR
="/usr/local/ssl"
17166 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17167 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17170 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17171 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17172 alpine_SSLTYPE
="nopwd"
17173 if test -d /etc
/pki
/tls
; then
17174 alpine_SSLDIR
="/etc/pki/tls"
17176 alpine_SSLDIR
="/usr/share/ssl"
17178 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17179 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17180 alpine_SSLINCLUDE
="/usr/include/openssl"
17181 alpine_SSLLIB
="/usr/lib"
17182 elif test -f /etc
/mandrake-release
; then
17183 alpine_SSLDIR
="/usr/lib/ssl"
17184 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17185 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17186 alpine_SSLINCLUDE
="/usr/include/openssl"
17187 alpine_SSLLIB
="/usr/lib"
17188 elif test -f /etc
/SuSE-release
; then
17189 alpine_SSLTYPE
="nopwd"
17190 alpine_SSLDIR
="/etc/ssl"
17191 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17192 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17193 alpine_SSLINCLUDE
="/usr/include/openssl"
17194 alpine_SSLLIB
="/usr/lib"
17195 elif test -d /etc
/osso-af-init
; then
17196 alpine_SSLTYPE
="nopwd"
17197 alpine_SSLDIR
="/usr"
17198 alpine_SSLCERTS
="/usr/share/certs"
17199 alpine_SSLINCLUDE
="/usr/include/openssl"
17200 alpine_SSLLIB
="/usr/lib"
17201 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17202 if test ! -d /etc
/osso-af-init
; then
17203 alpine_SSLDIR
="/etc/ssl"
17204 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17205 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17206 alpine_SSLINCLUDE
="/usr/include/openssl"
17207 alpine_SSLLIB
="/usr/lib"
17209 elif test -f /etc
/manjaro-release
; then
17210 alpine_SSLDIR
="/etc/ssl"
17211 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17212 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17213 alpine_SSLINCLUDE
="/usr/include/openssl"
17214 alpine_SSLLIB
="/usr/lib"
17216 alpine_SSLTYPE
="nopwd"
17217 alpine_SSLDIR
="/usr"
17218 alpine_SSLCERTS
="/etc/ssl/certs"
17222 alpine_SSLTYPE
="nopwd"
17223 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
17224 if test -d /usr
/local
/opt
/openssl
; then
17225 alpine_SSLDIR
="/usr/local/opt/openssl"
17226 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17227 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17228 alpine_SSLCERTS
="/usr/local/etc/openssl"
17229 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17230 elif test -d /opt
/local
/etc
/openssl
; then
17231 alpine_SSLDIR
="/opt/local"
17232 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17233 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17234 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
17235 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
17236 elif test -d /sw
/etc
/ssl
; then
17237 alpine_SSLDIR
="/sw/etc/ssl"
17238 alpine_SSLINCLUDE
="/sw/include"
17239 alpine_SSLLIB
="/sw/lib"
17240 alpine_SSLCERTS
="/sw/etc/ssl/certs"
17241 alpine_SSLKEYS
="/sw/etc/ssl/private"
17242 elif test -d /usr
/local
/ssl
; then
17243 alpine_SSLDIR
="/usr/local/ssl"
17244 elif test -d /System
/Library
/OpenSSL
; then
17245 alpine_SSLDIR
="/System/Library/OpenSSL"
17246 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17247 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17248 alpine_SSLLIB
="/usr/lib"
17249 alpine_SSLINCLUDE
="/usr/include/openssl"
17253 alpine_SSLDIR
="/etc/openssl"
17254 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17255 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17256 alpine_SSLINCLUDE
="/usr/include/openssl"
17257 alpine_SSLLIB
="/usr/lib"
17260 alpine_SSLDIR
="/etc/openssl"
17261 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17262 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17263 alpine_SSLINCLUDE
="/usr/include/openssl"
17264 alpine_SSLLIB
="/usr/lib"
17267 alpine_SSLTYPE
="nopwd"
17268 alpine_SSLDIR
="/usr"
17269 alpine_SSLCERTS
="/etc/ssl/certs"
17272 alpine_SSLDIR
="/etc/ssl"
17273 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17274 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17275 if test -d /usr
/local
/include
/openssl
; then
17276 alpine_SSLINCLUDE
="/usr/local/include/openssl"
17277 alpine_SSLLIB
="/usr/local/lib"
17279 alpine_SSLINCLUDE
="/usr/include/openssl"
17280 alpine_SSLLIB
="/usr/lib"
17284 alpine_SSLDIR
="/etc/ssl"
17285 alpine_SSLINCLUDE
="/usr/include/openssl"
17286 alpine_SSLLIB
="/usr/lib"
17287 alpine_SSLCERTS
="/etc/ssl"
17288 alpine_SSLKEYS
="/etc/ssl/private"
17291 alpine_SSLDIR
="/usr/ssl"
17292 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17293 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
17294 alpine_SSLINCLUDE
="/usr/include/openssl"
17295 alpine_SSLLIB
="/usr/lib"
17297 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
17298 alpine_SSLTYPE
="sco.nopwd"
17299 alpine_SSLDIR
="/usr/local/ssl"
17302 if test -d /usr
/include
/openssl
; then
17303 alpine_SSLINCLUDE
="/usr/include/openssl"
17304 elif test -d /usr
/sfw
/include
/openssl
; then
17305 alpine_SSLDIR
="/usr/sfw"
17306 elif test -d /opt
/csw
/include
/openssl
; then
17307 alpine_SSLDIR
="/opt/csw"
17308 if test -d /opt
/csw
/ssl
/certs
; then
17309 alpine_SSLCERTS
="/opt/csw/ssl/certs"
17312 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
17313 alpine_SSLCERTS
="/etc/certs"
17317 alpine_SSLTYPE
="nopwd"
17318 alpine_SSLDIR
="/usr/local/ssl"
17323 if test "x$alpine_SSLTYPE" != "xnone" ; then
17325 # Check whether --with-ssl-dir was given.
17326 if test "${with_ssl_dir+set}" = set; then :
17327 withval
=$with_ssl_dir;
17328 if test "x$withval" != "xno" ; then
17329 alpine_SSLDIR
=$withval
17330 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
17331 alpine_SSLLIB
=$alpine_SSLDIR/lib
17338 # Check whether --with-ssl-certs-dir was given.
17339 if test "${with_ssl_certs_dir+set}" = set; then :
17340 withval
=$with_ssl_certs_dir;
17341 if test "x$withval" != "xno" ; then
17342 alpine_SSLCERTS
=$withval
17349 # Check whether --with-ssl-include-dir was given.
17350 if test "${with_ssl_include_dir+set}" = set; then :
17351 withval
=$with_ssl_include_dir;
17352 if test "x$withval" != "xno" ; then
17353 alpine_SSLINCLUDE
=$withval
17360 # Check whether --with-ssl-lib-dir was given.
17361 if test "${with_ssl_lib_dir+set}" = set; then :
17362 withval
=$with_ssl_lib_dir;
17363 if test "x$withval" != "xno" ; then
17364 alpine_SSLLIB
=$withval
17370 if test -n "$alpine_SSLINCLUDE" ; then
17371 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
17372 elif test -n "$alpine_SSLDIR" ; then
17373 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
17375 if test -n "$alpine_SSLLIB" ; then
17376 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
17377 elif test -n "$alpine_SSLDIR" ; then
17378 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
17384 # Check whether --with-krb5 was given.
17385 if test "${with_krb5+set}" = set; then :
17386 withval
=$with_krb5; with_krb5
=$withval
17390 if test "x$with_krb5" = "xno" ; then
17391 alpine_GSSTYPE
="none"
17396 # Check whether --with-krb5-dir was given.
17397 if test "${with_krb5_dir+set}" = set; then :
17398 withval
=$with_krb5_dir;
17399 if test "x$withval" != "xno" ; then
17400 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17401 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17408 # Check whether --with-krb5-include-dir was given.
17409 if test "${with_krb5_include_dir+set}" = set; then :
17410 withval
=$with_krb5_include_dir;
17411 if test "x$withval" != "xno" ; then
17412 CPPFLAGS
="$CPPFLAGS -I$withval"
17419 # Check whether --with-krb5-lib-dir was given.
17420 if test "${with_krb5_lib_dir+set}" = set; then :
17421 withval
=$with_krb5_lib_dir;
17422 if test "x$withval" != "xno" ; then
17423 LDFLAGS
="$LDFLAGS -L$withval"
17431 # Check whether --with-ldap was given.
17432 if test "${with_ldap+set}" = set; then :
17433 withval
=$with_ldap; with_ldap
=$withval
17437 if test "x$with_ldap" = "xno" ; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
17440 $as_echo "$as_me: Excluding LDAP Support" >&6;}
17443 alpine_with_ldap
=yes
17445 # Check whether --with-ldap-dir was given.
17446 if test "${with_ldap_dir+set}" = set; then :
17447 withval
=$with_ldap_dir;
17448 if test "x$withval" != "xno" ; then
17449 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17450 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17457 # Check whether --with-ldap-include-dir was given.
17458 if test "${with_ldap_include_dir+set}" = set; then :
17459 withval
=$with_ldap_include_dir;
17460 if test "x$withval" != "xno" ; then
17461 CPPFLAGS
="$CPPFLAGS -I$withval"
17468 # Check whether --with-ldap-lib-dir was given.
17469 if test "${with_ldap_lib_dir+set}" = set; then :
17470 withval
=$with_ldap_lib_dir;
17471 if test "x$withval" != "xno" ; then
17472 LDFLAGS
="$LDFLAGS -L$withval"
17480 # Check whether --with-smime was given.
17481 if test "${with_smime+set}" = set; then :
17482 withval
=$with_smime; with_smime
=$withval
17487 # Check whether --with-tcl was given.
17488 if test "${with_tcl+set}" = set; then :
17489 withval
=$with_tcl; with_tcl
=$withval
17493 if test "x$with_tcl" = "xno" ; then
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
17496 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
17499 # Check whether --with-tcl-lib was given.
17500 if test "${with_tcl_lib+set}" = set; then :
17501 withval
=$with_tcl_lib;
17502 if test "x$withval" != "xno" ; then
17503 alpine_TCLLIB
=$withval
17509 # Check whether --with-tcl-include was given.
17510 if test "${with_tcl_include+set}" = set; then :
17511 withval
=$with_tcl_include;
17512 if test "x$withval" != "xno" ; then
17513 CPPFLAGS
="$CPPFLAGS -I$withval"
17514 alpine_TCLINC
=$withval
17522 # Check whether --with-supplied-regex was given.
17523 if test "${with_supplied_regex+set}" = set; then :
17524 withval
=$with_supplied_regex; alpine_REGEX
=$withval
17529 # Check whether --with-pthread was given.
17530 if test "${with_pthread+set}" = set; then :
17531 withval
=$with_pthread; with_pthread
=$withval
17536 # Check whether --with-system-mail-directory was given.
17537 if test "${with_system_mail_directory+set}" = set; then :
17538 withval
=$with_system_mail_directory;
17539 if test "x$withval" != "xno" ; then
17540 alpine_with_local_maildir
="$withval"
17547 # Check whether --with-c-client-target was given.
17548 if test "${with_c_client_target+set}" = set; then :
17549 withval
=$with_c_client_target;
17550 if test "x$withval" != "xno" ;then
17551 alpine_with_c_client_target
="$withval"
17561 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17562 alpine_path_delim
="/"
17563 alpine_mode_readonly
="(0600)"
17564 if test -f /etc
/fedora-release
; then
17567 if test -d /etc
/pki
/tls
; then
17568 alpine_c_client_target
="lfd"
17570 alpine_c_client_target
="lrh"
17572 elif test -f /etc
/mandrake-release
; then
17574 alpine_c_client_target
="lmd"
17576 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17579 if test -d /etc
/pki
/tls
; then
17580 alpine_c_client_target
="lr5"
17582 alpine_c_client_target
="lrh"
17584 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17585 if test -d /etc
/osso-af-init
; then
17587 alpine_c_client_target
="ln8"
17590 alpine_c_client_target
="ldb"
17593 elif test -f /etc
/SuSE-release
; then
17595 alpine_c_client_target
="lsu"
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17600 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17601 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17602 $as_echo_n "(cached) " >&6
17604 ac_check_lib_save_LIBS
=$LIBS
17606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17609 /* Override any GCC internal prototype to avoid an error.
17610 Use char because int might match the return type of a GCC
17611 builtin and then its argument prototype would still apply. */
17619 return pam_start ();
17624 if ac_fn_c_try_link
"$LINENO"; then :
17625 ac_cv_lib_pam_pam_start
=yes
17627 ac_cv_lib_pam_pam_start
=no
17629 rm -f core conftest.err conftest.
$ac_objext \
17630 conftest
$ac_exeext conftest.
$ac_ext
17631 LIBS
=$ac_check_lib_save_LIBS
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17634 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17635 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17637 alpine_c_client_target
="lnp"
17642 if test -f /etc
/shadow
; then
17643 alpine_c_client_target
="slx"
17645 alpine_c_client_target
="lnx"
17654 alpine_path_delim
="/"
17655 alpine_mode_readonly
="(0600)"
17656 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
17657 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
17659 $as_echo "#define OSX_TARGET 1" >>confdefs.h
17661 case "$alpine_os_credential_cache" in
17666 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17671 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17672 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17673 $as_echo_n "(cached) " >&6
17675 ac_check_lib_save_LIBS
=$LIBS
17677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17680 /* Override any GCC internal prototype to avoid an error.
17681 Use char because int might match the return type of a GCC
17682 builtin and then its argument prototype would still apply. */
17690 return pam_start ();
17695 if ac_fn_c_try_link
"$LINENO"; then :
17696 ac_cv_lib_pam_pam_start
=yes
17698 ac_cv_lib_pam_pam_start
=no
17700 rm -f core conftest.err conftest.
$ac_objext \
17701 conftest
$ac_exeext conftest.
$ac_ext
17702 LIBS
=$ac_check_lib_save_LIBS
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17705 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17706 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17708 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17709 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
17712 alpine_c_client_target
="oxs"
17715 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17716 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
17719 alpine_c_client_target
="oxp"
17724 alpine_pam_none_reason
="header files not found"
17736 alpine_c_client_target
="osx"
17742 if test x
$GCC = "xyes" ; then
17744 alpine_c_client_target
="gso"
17745 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
17748 alpine_c_client_target
="soc"
17750 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
17753 alpine_path_delim
="/"
17754 alpine_mode_readonly
="(0600)"
17758 alpine_path_delim
="/"
17759 alpine_mode_readonly
="(0600)"
17760 alpine_c_client_target
="s40"
17763 if test x
$GCC = "xyes" ; then
17765 alpine_c_client_target
="go5"
17768 alpine_c_client_target
="sc5"
17770 alpine_path_delim
="/"
17771 alpine_mode_readonly
="(0600)"
17775 alpine_path_delim
="/"
17776 alpine_mode_readonly
="(0600)"
17777 alpine_c_client_target
="nx3"
17781 alpine_path_delim
="/"
17782 alpine_mode_readonly
="(0600)"
17783 alpine_c_client_target
="neb"
17787 alpine_path_delim
="/"
17788 alpine_mode_readonly
="(0600)"
17789 alpine_c_client_target
="neb"
17793 alpine_path_delim
="/"
17794 alpine_mode_readonly
="(0600)"
17795 alpine_c_client_target
="bsi"
17799 alpine_path_delim
="/"
17800 alpine_mode_readonly
="(0600)"
17801 alpine_c_client_target
="bsf"
17802 LIBS
="$LIBS $LIBINTL"
17806 alpine_path_delim
="/"
17807 alpine_mode_readonly
="(0600)"
17808 alpine_c_client_target
="bso"
17809 LIBS
="$LIBS $LIBINTL"
17813 alpine_path_delim
="/"
17814 alpine_mode_readonly
="(0600)"
17815 alpine_c_client_target
="a52"
17819 alpine_path_delim
="/"
17820 alpine_mode_readonly
="(0600)"
17821 alpine_c_client_target
="a41"
17825 alpine_path_delim
="/"
17826 alpine_mode_readonly
="(0600)"
17827 alpine_c_client_target
="a32"
17829 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
17831 alpine_path_delim
="/"
17832 alpine_mode_readonly
="(0600)"
17833 alpine_c_client_target
="uw2"
17837 alpine_path_delim
="/"
17838 alpine_mode_readonly
="(0600)"
17839 alpine_c_client_target
="osf"
17843 alpine_path_delim
="/"
17844 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17845 alpine_c_client_target
="cyg"
17846 LIBS
="$LIBS $LIBINTL"
17848 windows
* |
*-*-pw32*)
17850 alpine_path_delim
="\\"
17851 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17852 alpine_c_client_target
="wnt"
17854 $as_echo "#define _WINDOWS 1" >>confdefs.h
17858 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
17863 # Check whether --with-ipv6 was given.
17864 if test "${with_ipv6+set}" = set; then :
17865 withval
=$with_ipv6; with_ipv6
=$withval
17869 if test "x$with_ipv6" = "xno" ; then
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
17871 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
17872 c_client_specials
="${c_client_specials}IP6=4 "
17873 c_client_ip6
="true"
17875 c_client_ip6
="touch imap/ip6"
17880 if test x
$enable_dmalloc = "xyes" ; then
17881 if test "x$with_pthread" = "xyes" ; then
17882 dmalloc_lib
=dmallocth
17884 dmalloc_lib
=dmalloc
17887 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
17889 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
17890 if eval \
${$as_ac_Lib+:} false
; then :
17891 $as_echo_n "(cached) " >&6
17893 ac_check_lib_save_LIBS
=$LIBS
17894 LIBS
="-l$dmalloc_lib $LIBS"
17895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17898 /* Override any GCC internal prototype to avoid an error.
17899 Use char because int might match the return type of a GCC
17900 builtin and then its argument prototype would still apply. */
17904 char dmalloc_shutdown ();
17908 return dmalloc_shutdown ();
17913 if ac_fn_c_try_link
"$LINENO"; then :
17914 eval "$as_ac_Lib=yes"
17916 eval "$as_ac_Lib=no"
17918 rm -f core conftest.err conftest.
$ac_objext \
17919 conftest
$ac_exeext conftest.
$ac_ext
17920 LIBS
=$ac_check_lib_save_LIBS
17922 eval ac_res
=\$
$as_ac_Lib
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17924 $as_echo "$ac_res" >&6; }
17925 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
17926 cat >>confdefs.h
<<_ACEOF
17927 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
17930 LIBS
="-l$dmalloc_lib $LIBS"
17934 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
17941 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
17942 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
17943 $as_echo_n "(cached) " >&6
17945 ac_check_lib_save_LIBS
=$LIBS
17946 LIBS
="-ltinfo $LIBS"
17947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17950 /* Override any GCC internal prototype to avoid an error.
17951 Use char because int might match the return type of a GCC
17952 builtin and then its argument prototype would still apply. */
17960 return setupterm ();
17965 if ac_fn_c_try_link
"$LINENO"; then :
17966 ac_cv_lib_tinfo_setupterm
=yes
17968 ac_cv_lib_tinfo_setupterm
=no
17970 rm -f core conftest.err conftest.
$ac_objext \
17971 conftest
$ac_exeext conftest.
$ac_ext
17972 LIBS
=$ac_check_lib_save_LIBS
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
17975 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
17976 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
17978 alpine_termdata
=info
17979 LIBS
="$LIBS -ltinfo"
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
17984 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
17985 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
17986 $as_echo_n "(cached) " >&6
17988 ac_check_lib_save_LIBS
=$LIBS
17989 LIBS
="-lncurses $LIBS"
17990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17993 /* Override any GCC internal prototype to avoid an error.
17994 Use char because int might match the return type of a GCC
17995 builtin and then its argument prototype would still apply. */
18003 return setupterm ();
18008 if ac_fn_c_try_link
"$LINENO"; then :
18009 ac_cv_lib_ncurses_setupterm
=yes
18011 ac_cv_lib_ncurses_setupterm
=no
18013 rm -f core conftest.err conftest.
$ac_objext \
18014 conftest
$ac_exeext conftest.
$ac_ext
18015 LIBS
=$ac_check_lib_save_LIBS
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
18018 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
18019 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
18021 alpine_termdata
=info
18022 LIBS
="$LIBS -lncurses"
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
18027 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
18028 if ${ac_cv_lib_curses_setupterm+:} false
; then :
18029 $as_echo_n "(cached) " >&6
18031 ac_check_lib_save_LIBS
=$LIBS
18032 LIBS
="-lcurses $LIBS"
18033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 /* Override any GCC internal prototype to avoid an error.
18037 Use char because int might match the return type of a GCC
18038 builtin and then its argument prototype would still apply. */
18046 return setupterm ();
18051 if ac_fn_c_try_link
"$LINENO"; then :
18052 ac_cv_lib_curses_setupterm
=yes
18054 ac_cv_lib_curses_setupterm
=no
18056 rm -f core conftest.err conftest.
$ac_objext \
18057 conftest
$ac_exeext conftest.
$ac_ext
18058 LIBS
=$ac_check_lib_save_LIBS
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
18061 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
18062 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
18064 alpine_termdata
=info
18065 LIBS
="$LIBS -lcurses"
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
18070 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
18071 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
18072 $as_echo_n "(cached) " >&6
18074 ac_check_lib_save_LIBS
=$LIBS
18075 LIBS
="-ltermlib $LIBS"
18076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18094 if ac_fn_c_try_link
"$LINENO"; then :
18095 ac_cv_lib_termlib_tgetent
=yes
18097 ac_cv_lib_termlib_tgetent
=no
18099 rm -f core conftest.err conftest.
$ac_objext \
18100 conftest
$ac_exeext conftest.
$ac_ext
18101 LIBS
=$ac_check_lib_save_LIBS
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
18104 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
18105 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
18107 alpine_termdata
=cap
18108 LIBS
="$LIBS -ltermlib"
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
18113 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
18114 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
18115 $as_echo_n "(cached) " >&6
18117 ac_check_lib_save_LIBS
=$LIBS
18118 LIBS
="-ltermcap $LIBS"
18119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18120 /* end confdefs.h. */
18122 /* Override any GCC internal prototype to avoid an error.
18123 Use char because int might match the return type of a GCC
18124 builtin and then its argument prototype would still apply. */
18137 if ac_fn_c_try_link
"$LINENO"; then :
18138 ac_cv_lib_termcap_tgetent
=yes
18140 ac_cv_lib_termcap_tgetent
=no
18142 rm -f core conftest.err conftest.
$ac_objext \
18143 conftest
$ac_exeext conftest.
$ac_ext
18144 LIBS
=$ac_check_lib_save_LIBS
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
18147 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
18148 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
18150 alpine_termdata
=cap
18151 LIBS
="$LIBS -ltermcap"
18155 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
18171 case $alpine_termdata in
18174 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
18179 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18185 $as_echo_n "checking for library containing dlopen... " >&6; }
18186 if ${ac_cv_search_dlopen+:} false
; then :
18187 $as_echo_n "(cached) " >&6
18189 ac_func_search_save_LIBS
=$LIBS
18190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18193 /* Override any GCC internal prototype to avoid an error.
18194 Use char because int might match the return type of a GCC
18195 builtin and then its argument prototype would still apply. */
18208 for ac_lib
in '' dl dld
; do
18209 if test -z "$ac_lib"; then
18210 ac_res
="none required"
18213 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18215 if ac_fn_c_try_link
"$LINENO"; then :
18216 ac_cv_search_dlopen
=$ac_res
18218 rm -f core conftest.err conftest.
$ac_objext \
18220 if ${ac_cv_search_dlopen+:} false
; then :
18224 if ${ac_cv_search_dlopen+:} false
; then :
18227 ac_cv_search_dlopen
=no
18229 rm conftest.
$ac_ext
18230 LIBS
=$ac_func_search_save_LIBS
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18233 $as_echo "$ac_cv_search_dlopen" >&6; }
18234 ac_res
=$ac_cv_search_dlopen
18235 if test "$ac_res" != no
; then :
18236 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18242 if test "x$alpine_DL" = "xnone" ; then
18243 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
18247 if test "x$alpine_SSLTYPE" != "xnone" ; then
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
18249 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
18250 if test "$cross_compiling" = yes; then :
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18252 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18258 #include <stdlib.h>
18260 #include <stdint.h>
18261 #endif /* HAVE_STDINT_H */
18262 #include <openssl/ssl.h>
18265 if (LIBRESSL_VERSION_NUMBER >= 0x20000000L)
18272 if ac_fn_c_try_run
"$LINENO"; then :
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18274 $as_echo "yes" >&6; }
18275 alpine_SSLPROVIDER
="libressl"
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18279 $as_echo "no" >&6; }
18282 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18283 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18288 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
18290 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
18291 if test "$cross_compiling" = yes; then :
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18293 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18299 #include <stdlib.h>
18301 #include <stdint.h>
18302 #endif /* HAVE_STDINT_H */
18303 #include <openssl/ssl.h>
18306 if (OPENSSL_VERSION_NUMBER >= 0x1000003fL)
18313 if ac_fn_c_try_run
"$LINENO"; then :
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18315 $as_echo "yes" >&6; }
18316 alpine_SSLPROVIDER
="openssl"
18319 alpine_SSLTYPE
="none"
18321 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18322 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18326 if test "x$alpine_SSLTYPE" = "xnone" ; then
18327 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
18332 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
18334 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
18335 if test "$cross_compiling" = yes; then :
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18337 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18340 /* end confdefs.h. */
18343 #include <stdlib.h>
18345 #include <stdint.h>
18346 #endif /* HAVE_STDINT_H */
18347 #include <openssl/ssl.h>
18350 if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
18357 if ac_fn_c_try_run
"$LINENO"; then :
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18359 $as_echo "yes" >&6; }
18360 alpine_SSLVERSION
="new"
18361 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18365 $as_echo "no" >&6; }
18366 alpine_SSLVERSION
="old"
18368 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18369 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18374 if test "x$alpine_SSLTYPE" != "xnone" ; then
18375 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
18377 $as_echo_n "checking for library containing SSLeay... " >&6; }
18378 if ${ac_cv_search_SSLeay+:} false
; then :
18379 $as_echo_n "(cached) " >&6
18381 ac_func_search_save_LIBS
=$LIBS
18382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18385 /* Override any GCC internal prototype to avoid an error.
18386 Use char because int might match the return type of a GCC
18387 builtin and then its argument prototype would still apply. */
18400 for ac_lib
in '' crypto
; do
18401 if test -z "$ac_lib"; then
18402 ac_res
="none required"
18405 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18407 if ac_fn_c_try_link
"$LINENO"; then :
18408 ac_cv_search_SSLeay
=$ac_res
18410 rm -f core conftest.err conftest.
$ac_objext \
18412 if ${ac_cv_search_SSLeay+:} false
; then :
18416 if ${ac_cv_search_SSLeay+:} false
; then :
18419 ac_cv_search_SSLeay
=no
18421 rm conftest.
$ac_ext
18422 LIBS
=$ac_func_search_save_LIBS
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
18425 $as_echo "$ac_cv_search_SSLeay" >&6; }
18426 ac_res
=$ac_cv_search_SSLeay
18427 if test "$ac_res" != no
; then :
18428 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18431 alpine_CRYPTO
="none"
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
18436 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
18437 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18438 $as_echo_n "(cached) " >&6
18440 ac_func_search_save_LIBS
=$LIBS
18441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18444 /* Override any GCC internal prototype to avoid an error.
18445 Use char because int might match the return type of a GCC
18446 builtin and then its argument prototype would still apply. */
18450 char OpenSSL_version_num ();
18454 return OpenSSL_version_num ();
18459 for ac_lib
in '' crypto
; do
18460 if test -z "$ac_lib"; then
18461 ac_res
="none required"
18464 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18466 if ac_fn_c_try_link
"$LINENO"; then :
18467 ac_cv_search_OpenSSL_version_num
=$ac_res
18469 rm -f core conftest.err conftest.
$ac_objext \
18471 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18475 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18478 ac_cv_search_OpenSSL_version_num
=no
18480 rm conftest.
$ac_ext
18481 LIBS
=$ac_func_search_save_LIBS
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
18484 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
18485 ac_res
=$ac_cv_search_OpenSSL_version_num
18486 if test "$ac_res" != no
; then :
18487 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18490 alpine_CRYPTO
="none"
18494 if test "x$alpine_CRYPTO" = "xnone" ; then
18495 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
18500 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
18501 if test "x$ac_cv_header_crypto_h" = xyes
; then :
18504 alpine_CRYPTO_DEVEL
="none"
18508 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
18509 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
18517 if test "x$alpine_SSLTYPE" != "xnone" ; then
18518 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
18520 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
18521 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18522 $as_echo_n "(cached) " >&6
18524 ac_func_search_save_LIBS
=$LIBS
18525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h. */
18528 /* Override any GCC internal prototype to avoid an error.
18529 Use char because int might match the return type of a GCC
18530 builtin and then its argument prototype would still apply. */
18534 char TLSv1_2_client_method ();
18538 return TLSv1_2_client_method ();
18543 for ac_lib
in '' ssl
; do
18544 if test -z "$ac_lib"; then
18545 ac_res
="none required"
18548 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18550 if ac_fn_c_try_link
"$LINENO"; then :
18551 ac_cv_search_TLSv1_2_client_method
=$ac_res
18553 rm -f core conftest.err conftest.
$ac_objext \
18555 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18559 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18562 ac_cv_search_TLSv1_2_client_method
=no
18564 rm conftest.
$ac_ext
18565 LIBS
=$ac_func_search_save_LIBS
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
18568 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
18569 ac_res
=$ac_cv_search_TLSv1_2_client_method
18570 if test "$ac_res" != no
; then :
18571 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18572 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
18574 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLS_client_method" >&5
18581 $as_echo_n "checking for library containing TLS_client_method... " >&6; }
18582 if ${ac_cv_search_TLS_client_method+:} false
; then :
18583 $as_echo_n "(cached) " >&6
18585 ac_func_search_save_LIBS
=$LIBS
18586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18589 /* Override any GCC internal prototype to avoid an error.
18590 Use char because int might match the return type of a GCC
18591 builtin and then its argument prototype would still apply. */
18595 char TLS_client_method ();
18599 return TLS_client_method ();
18604 for ac_lib
in '' ssl
; do
18605 if test -z "$ac_lib"; then
18606 ac_res
="none required"
18609 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18611 if ac_fn_c_try_link
"$LINENO"; then :
18612 ac_cv_search_TLS_client_method
=$ac_res
18614 rm -f core conftest.err conftest.
$ac_objext \
18616 if ${ac_cv_search_TLS_client_method+:} false
; then :
18620 if ${ac_cv_search_TLS_client_method+:} false
; then :
18623 ac_cv_search_TLS_client_method
=no
18625 rm conftest.
$ac_ext
18626 LIBS
=$ac_func_search_save_LIBS
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLS_client_method" >&5
18629 $as_echo "$ac_cv_search_TLS_client_method" >&6; }
18630 ac_res
=$ac_cv_search_TLS_client_method
18631 if test "$ac_res" != no
; then :
18632 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18635 alpine_SSLTYPE
="none"
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DTLS_client_method" >&5
18639 $as_echo_n "checking for library containing DTLS_client_method... " >&6; }
18640 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18641 $as_echo_n "(cached) " >&6
18643 ac_func_search_save_LIBS
=$LIBS
18644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18647 /* Override any GCC internal prototype to avoid an error.
18648 Use char because int might match the return type of a GCC
18649 builtin and then its argument prototype would still apply. */
18653 char DTLS_client_method ();
18657 return DTLS_client_method ();
18662 for ac_lib
in '' ssl
; do
18663 if test -z "$ac_lib"; then
18664 ac_res
="none required"
18667 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18669 if ac_fn_c_try_link
"$LINENO"; then :
18670 ac_cv_search_DTLS_client_method
=$ac_res
18672 rm -f core conftest.err conftest.
$ac_objext \
18674 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18678 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18681 ac_cv_search_DTLS_client_method
=no
18683 rm conftest.
$ac_ext
18684 LIBS
=$ac_func_search_save_LIBS
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DTLS_client_method" >&5
18687 $as_echo "$ac_cv_search_DTLS_client_method" >&6; }
18688 ac_res
=$ac_cv_search_DTLS_client_method
18689 if test "$ac_res" != no
; then :
18690 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18693 alpine_SSLTYPE
="none"
18696 if test "x$alpine_SSLTYPE" != "xnone" ; then
18698 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18704 if test "x$alpine_SSLTYPE" != "xnone" ; then
18705 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
18707 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
18708 if ${ac_cv_search_SSL_library_init+:} false
; then :
18709 $as_echo_n "(cached) " >&6
18711 ac_func_search_save_LIBS
=$LIBS
18712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18713 /* end confdefs.h. */
18715 /* Override any GCC internal prototype to avoid an error.
18716 Use char because int might match the return type of a GCC
18717 builtin and then its argument prototype would still apply. */
18721 char SSL_library_init ();
18725 return SSL_library_init ();
18730 for ac_lib
in '' ssl
; do
18731 if test -z "$ac_lib"; then
18732 ac_res
="none required"
18735 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18737 if ac_fn_c_try_link
"$LINENO"; then :
18738 ac_cv_search_SSL_library_init
=$ac_res
18740 rm -f core conftest.err conftest.
$ac_objext \
18742 if ${ac_cv_search_SSL_library_init+:} false
; then :
18746 if ${ac_cv_search_SSL_library_init+:} false
; then :
18749 ac_cv_search_SSL_library_init
=no
18751 rm conftest.
$ac_ext
18752 LIBS
=$ac_func_search_save_LIBS
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
18755 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
18756 ac_res
=$ac_cv_search_SSL_library_init
18757 if test "$ac_res" != no
; then :
18758 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18761 alpine_SSLTYPE
="none"
18764 if test "x$alpine_SSLTYPE" = "xnone" ; then
18765 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
18769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
18770 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
18771 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18772 $as_echo_n "(cached) " >&6
18774 ac_func_search_save_LIBS
=$LIBS
18775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18778 /* Override any GCC internal prototype to avoid an error.
18779 Use char because int might match the return type of a GCC
18780 builtin and then its argument prototype would still apply. */
18784 char OPENSSL_init_ssl ();
18788 return OPENSSL_init_ssl ();
18793 for ac_lib
in '' ssl
; do
18794 if test -z "$ac_lib"; then
18795 ac_res
="none required"
18798 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18800 if ac_fn_c_try_link
"$LINENO"; then :
18801 ac_cv_search_OPENSSL_init_ssl
=$ac_res
18803 rm -f core conftest.err conftest.
$ac_objext \
18805 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18809 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18812 ac_cv_search_OPENSSL_init_ssl
=no
18814 rm conftest.
$ac_ext
18815 LIBS
=$ac_func_search_save_LIBS
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
18818 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
18819 ac_res
=$ac_cv_search_OPENSSL_init_ssl
18820 if test "$ac_res" != no
; then :
18821 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18824 alpine_SSLTYPE
="none"
18827 if test "x$alpine_SSLTYPE" = "xnone" ; then
18828 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
18834 if test "$alpine_with_ldap" = "yes" ; then
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
18837 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
18838 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
18839 $as_echo_n "(cached) " >&6
18841 ac_check_lib_save_LIBS
=$LIBS
18842 LIBS
="-llber $LIBS"
18843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18846 /* Override any GCC internal prototype to avoid an error.
18847 Use char because int might match the return type of a GCC
18848 builtin and then its argument prototype would still apply. */
18856 return ber_alloc ();
18861 if ac_fn_c_try_link
"$LINENO"; then :
18862 ac_cv_lib_lber_ber_alloc
=yes
18864 ac_cv_lib_lber_ber_alloc
=no
18866 rm -f core conftest.err conftest.
$ac_objext \
18867 conftest
$ac_exeext conftest.
$ac_ext
18868 LIBS
=$ac_check_lib_save_LIBS
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
18871 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
18872 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
18874 LIBS
="$LIBS -llber"
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
18879 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
18880 if ${ac_cv_search_ldap_initialize+:} false
; then :
18881 $as_echo_n "(cached) " >&6
18883 ac_func_search_save_LIBS
=$LIBS
18884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18887 /* Override any GCC internal prototype to avoid an error.
18888 Use char because int might match the return type of a GCC
18889 builtin and then its argument prototype would still apply. */
18893 char ldap_initialize ();
18897 return ldap_initialize ();
18902 for ac_lib
in '' ldap
; do
18903 if test -z "$ac_lib"; then
18904 ac_res
="none required"
18907 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18909 if ac_fn_c_try_link
"$LINENO"; then :
18910 ac_cv_search_ldap_initialize
=$ac_res
18912 rm -f core conftest.err conftest.
$ac_objext \
18914 if ${ac_cv_search_ldap_initialize+:} false
; then :
18918 if ${ac_cv_search_ldap_initialize+:} false
; then :
18921 ac_cv_search_ldap_initialize
=no
18923 rm conftest.
$ac_ext
18924 LIBS
=$ac_func_search_save_LIBS
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
18927 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
18928 ac_res
=$ac_cv_search_ldap_initialize
18929 if test "$ac_res" != no
; then :
18930 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18932 alpine_has_ldap
=yes
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
18937 $as_echo_n "checking for library containing ldap_open... " >&6; }
18938 if ${ac_cv_search_ldap_open+:} false
; then :
18939 $as_echo_n "(cached) " >&6
18941 ac_func_search_save_LIBS
=$LIBS
18942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18943 /* end confdefs.h. */
18945 /* Override any GCC internal prototype to avoid an error.
18946 Use char because int might match the return type of a GCC
18947 builtin and then its argument prototype would still apply. */
18955 return ldap_open ();
18960 for ac_lib
in '' ldap
; do
18961 if test -z "$ac_lib"; then
18962 ac_res
="none required"
18965 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18967 if ac_fn_c_try_link
"$LINENO"; then :
18968 ac_cv_search_ldap_open
=$ac_res
18970 rm -f core conftest.err conftest.
$ac_objext \
18972 if ${ac_cv_search_ldap_open+:} false
; then :
18976 if ${ac_cv_search_ldap_open+:} false
; then :
18979 ac_cv_search_ldap_open
=no
18981 rm conftest.
$ac_ext
18982 LIBS
=$ac_func_search_save_LIBS
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
18985 $as_echo "$ac_cv_search_ldap_open" >&6; }
18986 ac_res
=$ac_cv_search_ldap_open
18987 if test "$ac_res" != no
; then :
18988 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18990 alpine_has_ldap
=yes
18998 if test "$alpine_has_ldap" = "yes" ; then
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
19000 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
19002 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
19007 if test "x$alpine_PAM" != "xnone" ; then
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
19009 $as_echo_n "checking for library containing pam_start... " >&6; }
19010 if ${ac_cv_search_pam_start+:} false
; then :
19011 $as_echo_n "(cached) " >&6
19013 ac_func_search_save_LIBS
=$LIBS
19014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19017 /* Override any GCC internal prototype to avoid an error.
19018 Use char because int might match the return type of a GCC
19019 builtin and then its argument prototype would still apply. */
19027 return pam_start ();
19032 for ac_lib
in '' pam
; do
19033 if test -z "$ac_lib"; then
19034 ac_res
="none required"
19037 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19039 if ac_fn_c_try_link
"$LINENO"; then :
19040 ac_cv_search_pam_start
=$ac_res
19042 rm -f core conftest.err conftest.
$ac_objext \
19044 if ${ac_cv_search_pam_start+:} false
; then :
19048 if ${ac_cv_search_pam_start+:} false
; then :
19051 ac_cv_search_pam_start
=no
19053 rm conftest.
$ac_ext
19054 LIBS
=$ac_func_search_save_LIBS
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
19057 $as_echo "$ac_cv_search_pam_start" >&6; }
19058 ac_res
=$ac_cv_search_pam_start
19059 if test "$ac_res" != no
; then :
19060 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19063 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
19064 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
19069 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
19070 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
19073 if test "x$alpine_c_client_target" != "xoxp" ; then
19075 alpine_pam_none_reason
="header files not in security/ directory"
19081 alpine_pam_none_reason
="header files not found"
19094 alpine_pam_none_reason
="library files not found"
19098 if test -n "$alpine_pam_none_reason" ; then
19099 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
19104 if test "x$alpine_GSSTYPE" != "xnone" ; then
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
19106 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
19107 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19108 $as_echo_n "(cached) " >&6
19110 ac_func_search_save_LIBS
=$LIBS
19111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19114 /* Override any GCC internal prototype to avoid an error.
19115 Use char because int might match the return type of a GCC
19116 builtin and then its argument prototype would still apply. */
19120 char gss_init_sec_context ();
19124 return gss_init_sec_context ();
19129 for ac_lib
in '' gss gssapi gssapi_krb5
; do
19130 if test -z "$ac_lib"; then
19131 ac_res
="none required"
19134 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19136 if ac_fn_c_try_link
"$LINENO"; then :
19137 ac_cv_search_gss_init_sec_context
=$ac_res
19139 rm -f core conftest.err conftest.
$ac_objext \
19141 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19145 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19148 ac_cv_search_gss_init_sec_context
=no
19150 rm conftest.
$ac_ext
19151 LIBS
=$ac_func_search_save_LIBS
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
19154 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
19155 ac_res
=$ac_cv_search_gss_init_sec_context
19156 if test "$ac_res" != no
; then :
19157 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19159 LIBS
="$LIBS -lkrb5"
19160 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
19165 if test ! -d /usr
/kerberos
/include
; then
19166 alpine_GSSTYPE
="none"
19167 alpine_gss_none_reason
="header files not found"
19176 alpine_GSSTYPE
="none"
19177 alpine_gss_none_reason
="libraries not found"
19181 if test -n "$alpine_gss_none_reason" ; then
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
19183 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
19188 # Check whether --with-ntlm was given.
19189 if test "${with_ntlm+set}" = set; then :
19190 withval
=$with_ntlm; with_ntlm
=$withval
19194 if test "x$with_ntlm" = "xno" ; then
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
19200 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
19201 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19202 $as_echo_n "(cached) " >&6
19204 ac_func_search_save_LIBS
=$LIBS
19205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19208 /* Override any GCC internal prototype to avoid an error.
19209 Use char because int might match the return type of a GCC
19210 builtin and then its argument prototype would still apply. */
19214 char buildSmbNtlmAuthRequest ();
19218 return buildSmbNtlmAuthRequest ();
19223 for ac_lib
in '' ntlm
; do
19224 if test -z "$ac_lib"; then
19225 ac_res
="none required"
19228 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19230 if ac_fn_c_try_link
"$LINENO"; then :
19231 ac_cv_search_buildSmbNtlmAuthRequest
=$ac_res
19233 rm -f core conftest.err conftest.
$ac_objext \
19235 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19239 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19242 ac_cv_search_buildSmbNtlmAuthRequest
=no
19244 rm conftest.
$ac_ext
19245 LIBS
=$ac_func_search_save_LIBS
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_buildSmbNtlmAuthRequest" >&5
19248 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
19249 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
19250 if test "$ac_res" != no
; then :
19251 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19253 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
19254 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
19256 extra_auth_ntlm
=ntl
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
19258 $as_echo "$as_me: including NTLM support" >&6;}
19263 alpine_ntlm_none_reason
="header file ntlm.h not found"
19272 alpine_ntlm_none_reason
="ntlm library not found"
19276 if test -n "$alpine_ntlm_none_reason" ; then
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
19278 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
19282 if test -n "$WEB_BUILD" ; then
19283 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
19284 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
19285 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
19287 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
19288 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19289 $as_echo_n "(cached) " >&6
19291 ac_func_search_save_LIBS
=$LIBS
19292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19295 /* Override any GCC internal prototype to avoid an error.
19296 Use char because int might match the return type of a GCC
19297 builtin and then its argument prototype would still apply. */
19305 return Tcl_Eval ();
19310 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
19311 if test -z "$ac_lib"; then
19312 ac_res
="none required"
19315 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19317 if ac_fn_c_try_link
"$LINENO"; then :
19318 ac_cv_search_Tcl_Eval
=$ac_res
19320 rm -f core conftest.err conftest.
$ac_objext \
19322 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19326 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19329 ac_cv_search_Tcl_Eval
=no
19331 rm conftest.
$ac_ext
19332 LIBS
=$ac_func_search_save_LIBS
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
19335 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
19336 ac_res
=$ac_cv_search_Tcl_Eval
19337 if test "$ac_res" != no
; then :
19338 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19347 if test -n "$alpine_TCLINC" ; then
19348 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
19349 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
19350 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19359 if test -z "$WEB_BUILD" ; then
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
19361 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
19364 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
19365 if test "x$ac_cv_header_tcl_h" = xyes
; then :
19369 for base
in /usr
/usr
/local ; do
19370 for dir
in ${TCL_VERSIONS} ; do
19371 as_ac_File
=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
19373 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
19374 if eval \
${$as_ac_File+:} false
; then :
19375 $as_echo_n "(cached) " >&6
19377 test "$cross_compiling" = yes &&
19378 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
19379 if test -r "$base/include/$dir/tcl.h"; then
19380 eval "$as_ac_File=yes"
19382 eval "$as_ac_File=no"
19385 eval ac_res
=\$
$as_ac_File
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19387 $as_echo "$ac_res" >&6; }
19388 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
19394 if test "$found" = "yes" ; then
19395 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
19399 if test "$found" = "yes" ; then
19403 if test "$found" != "yes" ; then
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
19406 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
19415 if test "x$alpine_REGEX" != "xyes" ; then
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
19417 $as_echo_n "checking for library containing regcomp... " >&6; }
19418 if ${ac_cv_search_regcomp+:} false
; then :
19419 $as_echo_n "(cached) " >&6
19421 ac_func_search_save_LIBS
=$LIBS
19422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19425 /* Override any GCC internal prototype to avoid an error.
19426 Use char because int might match the return type of a GCC
19427 builtin and then its argument prototype would still apply. */
19440 for ac_lib
in '' posix regexp regex re
; do
19441 if test -z "$ac_lib"; then
19442 ac_res
="none required"
19445 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19447 if ac_fn_c_try_link
"$LINENO"; then :
19448 ac_cv_search_regcomp
=$ac_res
19450 rm -f core conftest.err conftest.
$ac_objext \
19452 if ${ac_cv_search_regcomp+:} false
; then :
19456 if ${ac_cv_search_regcomp+:} false
; then :
19459 ac_cv_search_regcomp
=no
19461 rm conftest.
$ac_ext
19462 LIBS
=$ac_func_search_save_LIBS
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
19465 $as_echo "$ac_cv_search_regcomp" >&6; }
19466 ac_res
=$ac_cv_search_regcomp
19467 if test "$ac_res" != no
; then :
19468 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19472 if test x
$alpine_REGEX = "xno" ; then
19473 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
19481 if test "x$alpine_REGEX" != "xyes" ; then
19482 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
19483 if test "x$ac_cv_header_regex_h" = xyes
; then :
19487 if test x
$alpine_REGEX = "xno" ; then
19488 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
19498 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
19500 if test "x$alpine_REGEX" = "xyes" ; then
19501 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
19502 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
19504 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
19507 if test "x$with_pthread" != "xno" ; then
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
19509 $as_echo_n "checking for pthread support... " >&6; }
19514 ac_cpp
='$CPP $CPPFLAGS'
19515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19521 # We used to check for pthread.h first, but this fails if pthread.h
19522 # requires special compiler flags (e.g. on True64 or Sequent).
19523 # It gets checked for in the link test anyway.
19525 # First of all, check if the user has set any of the PTHREAD_LIBS,
19526 # etcetera environment variables, and if threads linking works using
19528 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19529 save_CFLAGS
="$CFLAGS"
19530 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19532 LIBS
="$PTHREAD_LIBS $LIBS"
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
19534 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
19535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19536 /* end confdefs.h. */
19538 /* Override any GCC internal prototype to avoid an error.
19539 Use char because int might match the return type of a GCC
19540 builtin and then its argument prototype would still apply. */
19544 char pthread_join ();
19548 return pthread_join ();
19553 if ac_fn_c_try_link
"$LINENO"; then :
19556 rm -f core conftest.err conftest.
$ac_objext \
19557 conftest
$ac_exeext conftest.
$ac_ext
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19559 $as_echo "$acx_pthread_ok" >&6; }
19560 if test x
"$acx_pthread_ok" = xno
; then
19565 CFLAGS
="$save_CFLAGS"
19568 # We must check for the threads library under a number of different
19569 # names; the ordering is very important because some systems
19570 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19571 # libraries is broken (non-POSIX).
19573 # Create a list of thread flags to try. Items starting with a "-" are
19574 # C compiler flags, and other items are library names, except for "none"
19575 # which indicates that we try without any flags at all, and "pthread-config"
19576 # which is a program returning the flags for the Pth emulation library.
19578 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
19580 # The ordering *is* (sometimes) important. Some notes on the
19581 # individual items follow:
19583 # pthreads: AIX (must check this before -lpthread)
19584 # none: in case threads are in libc; should be tried before -Kthread and
19585 # other compiler flags to prevent continual compiler warnings
19586 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19587 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19588 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19589 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
19590 # -pthreads: Solaris/gcc
19591 # -mthreads: Mingw32/gcc, Lynx/gcc
19592 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19593 # doesn't hurt to check since this sometimes defines pthreads too;
19594 # also defines -D_REENTRANT)
19595 # ... -mt is also the pthreads flag for HP/aCC
19596 # pthread: Linux, etcetera
19597 # --thread-safe: KAI C++
19598 # pthread-config: use pthread-config program (for GNU Pth library)
19600 case "${host_cpu}-${host_os}" in
19603 # On Solaris (at least, for some versions), libc contains stubbed
19604 # (non-functional) versions of the pthreads routines, so link-based
19605 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19606 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19607 # a function called by this macro, so we could check for that, but
19608 # who knows whether they'll stub that too in a future libc.) So,
19609 # we'll just look for -pthreads and -lpthread first:
19611 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
19615 if test x
"$acx_pthread_ok" = xno
; then
19616 for flag
in $acx_pthread_flags; do
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19621 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19626 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19627 PTHREAD_CFLAGS
="$flag"
19631 # Extract the first word of "pthread-config", so it can be a program name with args.
19632 set dummy pthread-config
; ac_word
=$2
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19634 $as_echo_n "checking for $ac_word... " >&6; }
19635 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
19636 $as_echo_n "(cached) " >&6
19638 if test -n "$acx_pthread_config"; then
19639 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
19641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19642 for as_dir
in $PATH
19645 test -z "$as_dir" && as_dir
=.
19646 for ac_exec_ext
in '' $ac_executable_extensions; do
19647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19648 ac_cv_prog_acx_pthread_config
="yes"
19649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19656 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
19659 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
19660 if test -n "$acx_pthread_config"; then
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
19662 $as_echo "$acx_pthread_config" >&6; }
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19665 $as_echo "no" >&6; }
19669 if test x
"$acx_pthread_config" = xno
; then continue; fi
19670 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19671 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19676 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19677 PTHREAD_LIBS
="-l$flag"
19682 save_CFLAGS
="$CFLAGS"
19683 LIBS
="$PTHREAD_LIBS $LIBS"
19684 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19686 # Check for various functions. We must include pthread.h,
19687 # since some functions may be macros. (On the Sequent, we
19688 # need a special flag -Kthread to make this header compile.)
19689 # We check for pthread_join because it is in -lpthread on IRIX
19690 # while pthread_create is in libc. We check for pthread_attr_init
19691 # due to DEC craziness with -lpthreads. We check for
19692 # pthread_cleanup_push because it is one of the few pthread
19693 # functions on Solaris that doesn't have a non-functional libc stub.
19694 # We try pthread_create on general principles.
19695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19697 #include <pthread.h>
19701 pthread_t th; pthread_join(th, 0);
19702 pthread_attr_init(0); pthread_cleanup_push(0, 0);
19703 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
19708 if ac_fn_c_try_link
"$LINENO"; then :
19711 rm -f core conftest.err conftest.
$ac_objext \
19712 conftest
$ac_exeext conftest.
$ac_ext
19715 CFLAGS
="$save_CFLAGS"
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19718 $as_echo "$acx_pthread_ok" >&6; }
19719 if test "x$acx_pthread_ok" = xyes
; then
19728 # Various other checks:
19729 if test "x$acx_pthread_ok" = xyes
; then
19731 LIBS
="$PTHREAD_LIBS $LIBS"
19732 save_CFLAGS
="$CFLAGS"
19733 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19735 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19737 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19739 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19742 #include <pthread.h>
19746 int attr=$attr; return attr;
19751 if ac_fn_c_try_link
"$LINENO"; then :
19752 attr_name
=$attr; break
19754 rm -f core conftest.err conftest.
$ac_objext \
19755 conftest
$ac_exeext conftest.
$ac_ext
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19758 $as_echo "$attr_name" >&6; }
19759 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19761 cat >>confdefs.h
<<_ACEOF
19762 #define PTHREAD_CREATE_JOINABLE $attr_name
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19768 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19770 case "${host_cpu}-${host_os}" in
19771 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
19772 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19775 $as_echo "${flag}" >&6; }
19776 if test "x$flag" != xno
; then
19777 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19781 CFLAGS
="$save_CFLAGS"
19783 # More AIX lossage: must compile with xlc_r or cc_r
19784 if test x
"$GCC" != xyes
; then
19785 for ac_prog
in xlc_r cc_r
19787 # Extract the first word of "$ac_prog", so it can be a program name with args.
19788 set dummy
$ac_prog; ac_word
=$2
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19790 $as_echo_n "checking for $ac_word... " >&6; }
19791 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19792 $as_echo_n "(cached) " >&6
19794 if test -n "$PTHREAD_CC"; then
19795 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19798 for as_dir
in $PATH
19801 test -z "$as_dir" && as_dir
=.
19802 for ac_exec_ext
in '' $ac_executable_extensions; do
19803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19804 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19814 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19815 if test -n "$PTHREAD_CC"; then
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19817 $as_echo "$PTHREAD_CC" >&6; }
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19820 $as_echo "no" >&6; }
19824 test -n "$PTHREAD_CC" && break
19826 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19839 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19840 if test x
"$acx_pthread_ok" = xyes
; then
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19843 $as_echo "yes" >&6; }
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
19847 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
19848 AM_CFLAGS
="$AM_CFLAGS -pthread"
19851 LIBS
="$PTHREAD_LIBS $LIBS"
19852 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
19855 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19863 $as_echo "no" >&6; }
19867 ac_cpp
='$CPP $CPPFLAGS'
19868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19875 $as_echo_n "checking for library containing nanosleep... " >&6; }
19876 if ${ac_cv_search_nanosleep+:} false
; then :
19877 $as_echo_n "(cached) " >&6
19879 ac_func_search_save_LIBS
=$LIBS
19880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h. */
19883 /* Override any GCC internal prototype to avoid an error.
19884 Use char because int might match the return type of a GCC
19885 builtin and then its argument prototype would still apply. */
19893 return nanosleep ();
19898 for ac_lib
in '' rt posix4
; do
19899 if test -z "$ac_lib"; then
19900 ac_res
="none required"
19903 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19905 if ac_fn_c_try_link
"$LINENO"; then :
19906 ac_cv_search_nanosleep
=$ac_res
19908 rm -f core conftest.err conftest.
$ac_objext \
19910 if ${ac_cv_search_nanosleep+:} false
; then :
19914 if ${ac_cv_search_nanosleep+:} false
; then :
19917 ac_cv_search_nanosleep
=no
19919 rm conftest.
$ac_ext
19920 LIBS
=$ac_func_search_save_LIBS
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19923 $as_echo "$ac_cv_search_nanosleep" >&6; }
19924 ac_res
=$ac_cv_search_nanosleep
19925 if test "$ac_res" != no
; then :
19926 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19929 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19940 $as_echo_n "checking for ANSI C header files... " >&6; }
19941 if ${ac_cv_header_stdc+:} false
; then :
19942 $as_echo_n "(cached) " >&6
19944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19946 #include <stdlib.h>
19947 #include <stdarg.h>
19948 #include <string.h>
19959 if ac_fn_c_try_compile
"$LINENO"; then :
19960 ac_cv_header_stdc
=yes
19962 ac_cv_header_stdc
=no
19964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19966 if test $ac_cv_header_stdc = yes; then
19967 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19969 /* end confdefs.h. */
19970 #include <string.h>
19973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19974 $EGREP "memchr" >/dev
/null
2>&1; then :
19977 ac_cv_header_stdc
=no
19983 if test $ac_cv_header_stdc = yes; then
19984 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19987 #include <stdlib.h>
19990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19991 $EGREP "free" >/dev
/null
2>&1; then :
19994 ac_cv_header_stdc
=no
20000 if test $ac_cv_header_stdc = yes; then
20001 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20002 if test "$cross_compiling" = yes; then :
20005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20008 #include <stdlib.h>
20009 #if ((' ' & 0x0FF) == 0x020)
20010 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20011 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20013 # define ISLOWER(c) \
20014 (('a' <= (c) && (c) <= 'i') \
20015 || ('j' <= (c) && (c) <= 'r') \
20016 || ('s' <= (c) && (c) <= 'z'))
20017 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20020 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20025 for (i = 0; i < 256; i++)
20026 if (XOR (islower (i), ISLOWER (i))
20027 || toupper (i) != TOUPPER (i))
20032 if ac_fn_c_try_run
"$LINENO"; then :
20035 ac_cv_header_stdc
=no
20037 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20038 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20044 $as_echo "$ac_cv_header_stdc" >&6; }
20045 if test $ac_cv_header_stdc = yes; then
20047 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20051 ac_header_dirent
=no
20052 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
20053 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
20055 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
20056 if eval \
${$as_ac_Header+:} false
; then :
20057 $as_echo_n "(cached) " >&6
20059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20061 #include <sys/types.h>
20073 if ac_fn_c_try_compile
"$LINENO"; then :
20074 eval "$as_ac_Header=yes"
20076 eval "$as_ac_Header=no"
20078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20080 eval ac_res
=\$
$as_ac_Header
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20082 $as_echo "$ac_res" >&6; }
20083 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20084 cat >>confdefs.h
<<_ACEOF
20085 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20088 ac_header_dirent
=$ac_hdr; break
20092 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20093 if test $ac_header_dirent = dirent.h
; then
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20095 $as_echo_n "checking for library containing opendir... " >&6; }
20096 if ${ac_cv_search_opendir+:} false
; then :
20097 $as_echo_n "(cached) " >&6
20099 ac_func_search_save_LIBS
=$LIBS
20100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20101 /* end confdefs.h. */
20103 /* Override any GCC internal prototype to avoid an error.
20104 Use char because int might match the return type of a GCC
20105 builtin and then its argument prototype would still apply. */
20118 for ac_lib
in '' dir
; do
20119 if test -z "$ac_lib"; then
20120 ac_res
="none required"
20123 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20125 if ac_fn_c_try_link
"$LINENO"; then :
20126 ac_cv_search_opendir
=$ac_res
20128 rm -f core conftest.err conftest.
$ac_objext \
20130 if ${ac_cv_search_opendir+:} false
; then :
20134 if ${ac_cv_search_opendir+:} false
; then :
20137 ac_cv_search_opendir
=no
20139 rm conftest.
$ac_ext
20140 LIBS
=$ac_func_search_save_LIBS
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20143 $as_echo "$ac_cv_search_opendir" >&6; }
20144 ac_res
=$ac_cv_search_opendir
20145 if test "$ac_res" != no
; then :
20146 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20152 $as_echo_n "checking for library containing opendir... " >&6; }
20153 if ${ac_cv_search_opendir+:} false
; then :
20154 $as_echo_n "(cached) " >&6
20156 ac_func_search_save_LIBS
=$LIBS
20157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20158 /* end confdefs.h. */
20160 /* Override any GCC internal prototype to avoid an error.
20161 Use char because int might match the return type of a GCC
20162 builtin and then its argument prototype would still apply. */
20175 for ac_lib
in '' x
; do
20176 if test -z "$ac_lib"; then
20177 ac_res
="none required"
20180 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20182 if ac_fn_c_try_link
"$LINENO"; then :
20183 ac_cv_search_opendir
=$ac_res
20185 rm -f core conftest.err conftest.
$ac_objext \
20187 if ${ac_cv_search_opendir+:} false
; then :
20191 if ${ac_cv_search_opendir+:} false
; then :
20194 ac_cv_search_opendir
=no
20196 rm conftest.
$ac_ext
20197 LIBS
=$ac_func_search_save_LIBS
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20200 $as_echo "$ac_cv_search_opendir" >&6; }
20201 ac_res
=$ac_cv_search_opendir
20202 if test "$ac_res" != no
; then :
20203 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
20210 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
20211 if ${ac_cv_header_stat_broken+:} false
; then :
20212 $as_echo_n "(cached) " >&6
20214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 #include <sys/types.h>
20217 #include <sys/stat.h>
20219 #if defined S_ISBLK && defined S_IFDIR
20220 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
20223 #if defined S_ISBLK && defined S_IFCHR
20224 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
20227 #if defined S_ISLNK && defined S_IFREG
20228 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
20231 #if defined S_ISSOCK && defined S_IFREG
20232 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20236 if ac_fn_c_try_compile
"$LINENO"; then :
20237 ac_cv_header_stat_broken
=no
20239 ac_cv_header_stat_broken
=yes
20241 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
20244 $as_echo "$ac_cv_header_stat_broken" >&6; }
20245 if test $ac_cv_header_stat_broken = yes; then
20247 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
20252 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
20253 if ${ac_cv_header_sys_wait_h+:} false
; then :
20254 $as_echo_n "(cached) " >&6
20256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20257 /* end confdefs.h. */
20258 #include <sys/types.h>
20259 #include <sys/wait.h>
20260 #ifndef WEXITSTATUS
20261 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
20264 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
20272 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
20277 if ac_fn_c_try_compile
"$LINENO"; then :
20278 ac_cv_header_sys_wait_h
=yes
20280 ac_cv_header_sys_wait_h
=no
20282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
20285 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
20286 if test $ac_cv_header_sys_wait_h = yes; then
20288 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
20293 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
20294 if ${ac_cv_header_time+:} false
; then :
20295 $as_echo_n "(cached) " >&6
20297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20298 /* end confdefs.h. */
20299 #include <sys/types.h>
20300 #include <sys/time.h>
20306 if ((struct tm *) 0)
20312 if ac_fn_c_try_compile
"$LINENO"; then :
20313 ac_cv_header_time
=yes
20315 ac_cv_header_time
=no
20317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
20320 $as_echo "$ac_cv_header_time" >&6; }
20321 if test $ac_cv_header_time = yes; then
20323 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
20328 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
20329 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
20330 $as_echo_n "(cached) " >&6
20332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20333 /* end confdefs.h. */
20334 #include <sys/types.h>
20335 #include <termios.h>
20341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20342 $EGREP "yes" >/dev
/null
2>&1; then :
20343 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
20345 ac_cv_sys_tiocgwinsz_in_termios_h
=no
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
20351 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
20353 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
20355 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
20356 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
20357 $as_echo_n "(cached) " >&6
20359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h. */
20361 #include <sys/types.h>
20362 #include <sys/ioctl.h>
20368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20369 $EGREP "yes" >/dev
/null
2>&1; then :
20370 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
20372 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
20378 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
20380 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
20382 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
20388 for ac_header
in unistd.h
20390 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20391 if test "x$ac_cv_header_unistd_h" = xyes
; then :
20392 cat >>confdefs.h
<<_ACEOF
20393 #define HAVE_UNISTD_H 1
20401 for ac_header
in errno.h \
20427 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20428 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20429 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20430 cat >>confdefs.h
<<_ACEOF
20431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20439 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
20440 if test "x$ac_cv_header_termios_h" = xyes
; then :
20442 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
20446 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
20447 if test "x$ac_cv_header_termio_h" = xyes
; then :
20449 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
20453 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
20454 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
20456 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
20460 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
20477 $as_echo_n "checking return type of signal handlers... " >&6; }
20478 if ${ac_cv_type_signal+:} false
; then :
20479 $as_echo_n "(cached) " >&6
20481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20482 /* end confdefs.h. */
20483 #include <sys/types.h>
20484 #include <signal.h>
20489 return *(signal (0, 0)) (0) == 1;
20494 if ac_fn_c_try_compile
"$LINENO"; then :
20495 ac_cv_type_signal
=int
20497 ac_cv_type_signal
=void
20499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
20502 $as_echo "$ac_cv_type_signal" >&6; }
20504 cat >>confdefs.h
<<_ACEOF
20505 #define RETSIGTYPE $ac_cv_type_signal
20509 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20510 if test "x$ac_cv_type_size_t" = xyes
; then :
20514 cat >>confdefs.h
<<_ACEOF
20515 #define size_t unsigned int
20520 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
20521 if test "x$ac_cv_type_mode_t" = xyes
; then :
20525 cat >>confdefs.h
<<_ACEOF
20531 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
20532 if test "x$ac_cv_type_pid_t" = xyes
; then :
20536 cat >>confdefs.h
<<_ACEOF
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
20543 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
20544 if ${ac_cv_type_uid_t+:} false
; then :
20545 $as_echo_n "(cached) " >&6
20547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20548 /* end confdefs.h. */
20549 #include <sys/types.h>
20552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20553 $EGREP "uid_t" >/dev
/null
2>&1; then :
20554 ac_cv_type_uid_t
=yes
20556 ac_cv_type_uid_t
=no
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
20562 $as_echo "$ac_cv_type_uid_t" >&6; }
20563 if test $ac_cv_type_uid_t = no
; then
20565 $as_echo "#define uid_t int" >>confdefs.h
20568 $as_echo "#define gid_t int" >>confdefs.h
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
20573 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
20574 if ${ac_cv_struct_tm+:} false
; then :
20575 $as_echo_n "(cached) " >&6
20577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20578 /* end confdefs.h. */
20579 #include <sys/types.h>
20586 int *p = &tm.tm_sec;
20592 if ac_fn_c_try_compile
"$LINENO"; then :
20593 ac_cv_struct_tm
=time.h
20595 ac_cv_struct_tm
=sys
/time.h
20597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
20600 $as_echo "$ac_cv_struct_tm" >&6; }
20601 if test $ac_cv_struct_tm = sys
/time.h
; then
20603 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
20608 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
20609 if test "x$ac_cv_type_union_wait" = xyes
; then :
20611 cat >>confdefs.h
<<_ACEOF
20612 #define HAVE_UNION_WAIT 1
20619 for ac_header
in stdint.h
20621 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20622 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20623 cat >>confdefs.h
<<_ACEOF
20624 #define HAVE_STDINT_H 1
20629 for ac_header
in inttypes.h
20631 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20632 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20633 cat >>confdefs.h
<<_ACEOF
20634 #define HAVE_INTTYPES_H 1
20639 for ac_header
in sys
/types.h
20641 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20642 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20643 cat >>confdefs.h
<<_ACEOF
20644 #define HAVE_SYS_TYPES_H 1
20649 # The cast to long int works around a bug in the HP C Compiler
20650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20652 # This bug is HP SR number 8606223364.
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
20654 $as_echo_n "checking size of unsigned short... " >&6; }
20655 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
20656 $as_echo_n "(cached) " >&6
20658 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
20661 if test "$ac_cv_type_unsigned_short" = yes; then
20662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20664 as_fn_error
77 "cannot compute sizeof (unsigned short)
20665 See \`config.log' for more details" "$LINENO" 5; }
20667 ac_cv_sizeof_unsigned_short
=0
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
20673 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
20677 cat >>confdefs.h
<<_ACEOF
20678 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20682 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
20683 uint16
="unsigned short"
20685 # The cast to long int works around a bug in the HP C Compiler
20686 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20687 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20688 # This bug is HP SR number 8606223364.
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20690 $as_echo_n "checking size of unsigned int... " >&6; }
20691 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20692 $as_echo_n "(cached) " >&6
20694 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20697 if test "$ac_cv_type_unsigned_int" = yes; then
20698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20700 as_fn_error
77 "cannot compute sizeof (unsigned int)
20701 See \`config.log' for more details" "$LINENO" 5; }
20703 ac_cv_sizeof_unsigned_int
=0
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20709 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20713 cat >>confdefs.h
<<_ACEOF
20714 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20718 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
20719 uint16
="unsigned int"
20721 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
20740 cat >>confdefs.h
<<_ACEOF
20741 #define UINT16 $uint16
20745 for ac_header
in stdint.h
20747 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20748 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20749 cat >>confdefs.h
<<_ACEOF
20750 #define HAVE_STDINT_H 1
20755 for ac_header
in inttypes.h
20757 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20758 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20759 cat >>confdefs.h
<<_ACEOF
20760 #define HAVE_INTTYPES_H 1
20765 for ac_header
in sys
/types.h
20767 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20768 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20769 cat >>confdefs.h
<<_ACEOF
20770 #define HAVE_SYS_TYPES_H 1
20775 # The cast to long int works around a bug in the HP C Compiler
20776 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20777 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20778 # This bug is HP SR number 8606223364.
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20780 $as_echo_n "checking size of unsigned int... " >&6; }
20781 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20782 $as_echo_n "(cached) " >&6
20784 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20787 if test "$ac_cv_type_unsigned_int" = yes; then
20788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20790 as_fn_error
77 "cannot compute sizeof (unsigned int)
20791 See \`config.log' for more details" "$LINENO" 5; }
20793 ac_cv_sizeof_unsigned_int
=0
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20799 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20803 cat >>confdefs.h
<<_ACEOF
20804 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20808 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
20809 uint32
="unsigned int"
20811 # The cast to long int works around a bug in the HP C Compiler
20812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20814 # This bug is HP SR number 8606223364.
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
20816 $as_echo_n "checking size of unsigned long... " >&6; }
20817 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
20818 $as_echo_n "(cached) " >&6
20820 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
20823 if test "$ac_cv_type_unsigned_long" = yes; then
20824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20826 as_fn_error
77 "cannot compute sizeof (unsigned long)
20827 See \`config.log' for more details" "$LINENO" 5; }
20829 ac_cv_sizeof_unsigned_long
=0
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
20835 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
20839 cat >>confdefs.h
<<_ACEOF
20840 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20844 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
20845 uint32
="unsigned long"
20847 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
20866 cat >>confdefs.h
<<_ACEOF
20867 #define UINT32 $uint32
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
20872 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
20873 if ${ac_cv_func_qsort_argtype+:} false
; then :
20874 $as_echo_n "(cached) " >&6
20876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20877 /* end confdefs.h. */
20880 #include "stdlib.h"
20884 extern sortf(const void *, const void *);
20887 const void *b; { return 0; }
20893 qsort(base, 2, sizeof(char *), sortf);
20899 if ac_fn_c_try_compile
"$LINENO"; then :
20900 ac_cv_func_qsort_argtype
=void
20902 ac_cv_func_qsort_argtype
=char
20904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
20908 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
20910 cat >>confdefs.h
<<_ACEOF
20911 #define qsort_t $ac_cv_func_qsort_argtype
20916 for ac_header
in sys
/select.h sys
/socket.h
20918 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20919 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20920 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20921 cat >>confdefs.h
<<_ACEOF
20922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
20930 $as_echo_n "checking types of arguments for select... " >&6; }
20931 if ${ac_cv_func_select_args+:} false
; then :
20932 $as_echo_n "(cached) " >&6
20934 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
20935 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
20936 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
20937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h. */
20939 $ac_includes_default
20940 #ifdef HAVE_SYS_SELECT_H
20941 # include <sys/select.h>
20943 #ifdef HAVE_SYS_SOCKET_H
20944 # include <sys/socket.h>
20950 extern int select ($ac_arg1,
20951 $ac_arg234, $ac_arg234, $ac_arg234,
20957 if ac_fn_c_try_compile
"$LINENO"; then :
20958 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
20960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20964 # Provide a safe default value.
20965 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
20969 $as_echo "$ac_cv_func_select_args" >&6; }
20970 ac_save_IFS
=$IFS; IFS
=','
20971 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
20975 cat >>confdefs.h
<<_ACEOF
20976 #define SELECT_TYPE_ARG1 $1
20980 cat >>confdefs.h
<<_ACEOF
20981 #define SELECT_TYPE_ARG234 ($2)
20985 cat >>confdefs.h
<<_ACEOF
20986 #define SELECT_TYPE_ARG5 ($3)
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
20993 $as_echo_n "checking for working strcoll... " >&6; }
20994 if ${ac_cv_func_strcoll_works+:} false
; then :
20995 $as_echo_n "(cached) " >&6
20997 if test "$cross_compiling" = yes; then :
20998 ac_cv_func_strcoll_works
=no
21000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21002 $ac_includes_default
21006 return (strcoll ("abc", "def") >= 0 ||
21007 strcoll ("ABC", "DEF") >= 0 ||
21008 strcoll ("123", "456") >= 0)
21013 if ac_fn_c_try_run
"$LINENO"; then :
21014 ac_cv_func_strcoll_works
=yes
21016 ac_cv_func_strcoll_works
=no
21018 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21019 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
21024 $as_echo "$ac_cv_func_strcoll_works" >&6; }
21025 if test $ac_cv_func_strcoll_works = yes; then
21027 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
21033 for ac_header
in vfork.h
21035 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
21036 if test "x$ac_cv_header_vfork_h" = xyes
; then :
21037 cat >>confdefs.h
<<_ACEOF
21038 #define HAVE_VFORK_H 1
21045 for ac_func
in fork vfork
21047 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21048 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21049 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21050 cat >>confdefs.h
<<_ACEOF
21051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21057 if test "x$ac_cv_func_fork" = xyes
; then
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
21059 $as_echo_n "checking for working fork... " >&6; }
21060 if ${ac_cv_func_fork_works+:} false
; then :
21061 $as_echo_n "(cached) " >&6
21063 if test "$cross_compiling" = yes; then :
21064 ac_cv_func_fork_works
=cross
21066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21067 /* end confdefs.h. */
21068 $ac_includes_default
21073 /* By Ruediger Kuhlmann. */
21074 return fork () < 0;
21080 if ac_fn_c_try_run
"$LINENO"; then :
21081 ac_cv_func_fork_works
=yes
21083 ac_cv_func_fork_works
=no
21085 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21086 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
21091 $as_echo "$ac_cv_func_fork_works" >&6; }
21094 ac_cv_func_fork_works
=$ac_cv_func_fork
21096 if test "x$ac_cv_func_fork_works" = xcross
; then
21098 *-*-amigaos* |
*-*-msdosdjgpp*)
21099 # Override, as these systems have only a dummy fork() stub
21100 ac_cv_func_fork_works
=no
21103 ac_cv_func_fork_works
=yes
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21107 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21109 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21110 if test "x$ac_cv_func_vfork" = xyes
; then
21111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
21112 $as_echo_n "checking for working vfork... " >&6; }
21113 if ${ac_cv_func_vfork_works+:} false
; then :
21114 $as_echo_n "(cached) " >&6
21116 if test "$cross_compiling" = yes; then :
21117 ac_cv_func_vfork_works
=cross
21119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21120 /* end confdefs.h. */
21121 /* Thanks to Paul Eggert for this test. */
21122 $ac_includes_default
21123 #include <sys/wait.h>
21124 #ifdef HAVE_VFORK_H
21125 # include <vfork.h>
21127 /* On some sparc systems, changes by the child to local and incoming
21128 argument registers are propagated back to the parent. The compiler
21129 is told about this with #include <vfork.h>, but some compilers
21130 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21131 static variable whose address is put into a register that is
21132 clobbered by the vfork. */
21135 sparc_address_test (int arg)
21137 sparc_address_test (arg) int arg;
21140 static pid_t child;
21158 pid_t parent = getpid ();
21161 sparc_address_test (0);
21166 /* Here is another test for sparc vfork register problems. This
21167 test uses lots of local variables, at least as many local
21168 variables as main has allocated so far including compiler
21169 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21170 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21171 reuse the register of parent for one of the local variables,
21172 since it will think that parent can't possibly be used any more
21173 in this routine. Assigning to the local variable will thus
21174 munge parent in the parent process. */
21176 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21177 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21178 /* Convince the compiler that p..p7 are live; otherwise, it might
21179 use the same hardware register for all 8 local variables. */
21180 if (p != p1 || p != p2 || p != p3 || p != p4
21181 || p != p5 || p != p6 || p != p7)
21184 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21185 from child file descriptors. If the child closes a descriptor
21186 before it execs or exits, this munges the parent's descriptor
21187 as well. Test for this by closing stdout in the child. */
21188 _exit(close(fileno(stdout)) != 0);
21193 while (wait(&status) != child)
21196 /* Was there some problem with vforking? */
21199 /* Did the child fail? (This shouldn't happen.) */
21202 /* Did the vfork/compiler bug occur? */
21203 || parent != getpid()
21205 /* Did the file descriptor bug occur? */
21206 || fstat(fileno(stdout), &st) != 0
21211 if ac_fn_c_try_run
"$LINENO"; then :
21212 ac_cv_func_vfork_works
=yes
21214 ac_cv_func_vfork_works
=no
21216 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21217 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
21222 $as_echo "$ac_cv_func_vfork_works" >&6; }
21225 if test "x$ac_cv_func_fork_works" = xcross
; then
21226 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21228 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21231 if test "x$ac_cv_func_vfork_works" = xyes
; then
21233 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
21237 $as_echo "#define vfork fork" >>confdefs.h
21240 if test "x$ac_cv_func_fork_works" = xyes
; then
21242 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
21246 for ac_func
in strchr \
21279 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21280 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21281 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21282 cat >>confdefs.h
<<_ACEOF
21283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
21291 $as_echo_n "checking for library containing gethostname... " >&6; }
21292 if ${ac_cv_search_gethostname+:} false
; then :
21293 $as_echo_n "(cached) " >&6
21295 ac_func_search_save_LIBS
=$LIBS
21296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21297 /* end confdefs.h. */
21299 /* Override any GCC internal prototype to avoid an error.
21300 Use char because int might match the return type of a GCC
21301 builtin and then its argument prototype would still apply. */
21305 char gethostname ();
21309 return gethostname ();
21314 for ac_lib
in '' nsl
; do
21315 if test -z "$ac_lib"; then
21316 ac_res
="none required"
21319 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21321 if ac_fn_c_try_link
"$LINENO"; then :
21322 ac_cv_search_gethostname
=$ac_res
21324 rm -f core conftest.err conftest.
$ac_objext \
21326 if ${ac_cv_search_gethostname+:} false
; then :
21330 if ${ac_cv_search_gethostname+:} false
; then :
21333 ac_cv_search_gethostname
=no
21335 rm conftest.
$ac_ext
21336 LIBS
=$ac_func_search_save_LIBS
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
21339 $as_echo "$ac_cv_search_gethostname" >&6; }
21340 ac_res
=$ac_cv_search_gethostname
21341 if test "$ac_res" != no
; then :
21342 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
21348 $as_echo_n "checking for library containing socket... " >&6; }
21349 if ${ac_cv_search_socket+:} false
; then :
21350 $as_echo_n "(cached) " >&6
21352 ac_func_search_save_LIBS
=$LIBS
21353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21354 /* end confdefs.h. */
21356 /* Override any GCC internal prototype to avoid an error.
21357 Use char because int might match the return type of a GCC
21358 builtin and then its argument prototype would still apply. */
21371 for ac_lib
in '' socket
; do
21372 if test -z "$ac_lib"; then
21373 ac_res
="none required"
21376 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21378 if ac_fn_c_try_link
"$LINENO"; then :
21379 ac_cv_search_socket
=$ac_res
21381 rm -f core conftest.err conftest.
$ac_objext \
21383 if ${ac_cv_search_socket+:} false
; then :
21387 if ${ac_cv_search_socket+:} false
; then :
21390 ac_cv_search_socket
=no
21392 rm conftest.
$ac_ext
21393 LIBS
=$ac_func_search_save_LIBS
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
21396 $as_echo "$ac_cv_search_socket" >&6; }
21397 ac_res
=$ac_cv_search_socket
21398 if test "$ac_res" != no
; then :
21399 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
21409 $as_echo_n "checking for library containing bind... " >&6; }
21410 if ${ac_cv_search_bind+:} false
; then :
21411 $as_echo_n "(cached) " >&6
21413 ac_func_search_save_LIBS
=$LIBS
21414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21415 /* end confdefs.h. */
21417 /* Override any GCC internal prototype to avoid an error.
21418 Use char because int might match the return type of a GCC
21419 builtin and then its argument prototype would still apply. */
21432 for ac_lib
in '' bind; do
21433 if test -z "$ac_lib"; then
21434 ac_res
="none required"
21437 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21439 if ac_fn_c_try_link
"$LINENO"; then :
21440 ac_cv_search_bind
=$ac_res
21442 rm -f core conftest.err conftest.
$ac_objext \
21444 if ${ac_cv_search_bind+:} false
; then :
21448 if ${ac_cv_search_bind+:} false
; then :
21451 ac_cv_search_bind
=no
21453 rm conftest.
$ac_ext
21454 LIBS
=$ac_func_search_save_LIBS
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
21457 $as_echo "$ac_cv_search_bind" >&6; }
21458 ac_res
=$ac_cv_search_bind
21459 if test "$ac_res" != no
; then :
21460 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21469 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
21471 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21472 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21473 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21474 cat >>confdefs.h
<<_ACEOF
21475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21479 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
21484 for ac_func
in sigset sigrelse
21486 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21487 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21488 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21489 cat >>confdefs.h
<<_ACEOF
21490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21494 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
21506 $as_echo_n "checking for library containing syslog... " >&6; }
21507 if ${ac_cv_search_syslog+:} false
; then :
21508 $as_echo_n "(cached) " >&6
21510 ac_func_search_save_LIBS
=$LIBS
21511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21514 /* Override any GCC internal prototype to avoid an error.
21515 Use char because int might match the return type of a GCC
21516 builtin and then its argument prototype would still apply. */
21529 for ac_lib
in '' bsd socket inet
; do
21530 if test -z "$ac_lib"; then
21531 ac_res
="none required"
21534 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21536 if ac_fn_c_try_link
"$LINENO"; then :
21537 ac_cv_search_syslog
=$ac_res
21539 rm -f core conftest.err conftest.
$ac_objext \
21541 if ${ac_cv_search_syslog+:} false
; then :
21545 if ${ac_cv_search_syslog+:} false
; then :
21548 ac_cv_search_syslog
=no
21550 rm conftest.
$ac_ext
21551 LIBS
=$ac_func_search_save_LIBS
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
21554 $as_echo "$ac_cv_search_syslog" >&6; }
21555 ac_res
=$ac_cv_search_syslog
21556 if test "$ac_res" != no
; then :
21557 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21560 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
21567 if test -n "$alpine_with_local_maildir" ; then
21568 alpine_local_maildir
=$alpine_with_local_maildir
21569 elif test -d /var
/spool
/mail ; then
21570 alpine_local_maildir
="/var/spool/mail"
21571 elif test -d /var
/mail ; then
21572 alpine_local_maildir
="/var/mail"
21574 alpine_local_maildir
="/usr/spool/mail"
21577 if test -n "$alpine_with_c_client_target" ; then
21578 alpine_c_client_target
=$alpine_with_c_client_target
21582 cat >>confdefs.h
<<_ACEOF
21583 #define SYSTYPE "$systype"
21587 cat >>confdefs.h
<<_ACEOF
21588 #define C_FILESEP '$alpine_path_delim'
21592 cat >>confdefs.h
<<_ACEOF
21593 #define S_FILESEP "$alpine_path_delim"
21597 cat >>confdefs.h
<<_ACEOF
21598 #define MAILDIR "$alpine_local_maildir"
21602 cat >>confdefs.h
<<_ACEOF
21603 #define MODE_READONLY $alpine_mode_readonly
21607 C_CLIENT_TARGET
=$alpine_c_client_target
21609 C_CLIENT_WITH_IPV6
=$c_client_ip6
21611 if test "x$alpine_SSLTYPE" = "xnone" ; then
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
21613 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
21614 c_client_specials
="${c_client_specials}SSLTYPE=none "
21617 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
21618 certdir
="$alpine_SSLCERTS"
21619 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
21620 certdir
="${alpine_SSLDIR}/certs"
21621 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
21622 certdir
="${alpine_SSLDIR}/ssl/certs"
21623 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
21624 certdir
="$alpine_SSLCERTS_ORIG"
21625 elif test -n "$alpine_SSLCERTS" ; then
21626 certdir
="$alpine_SSLCERTS"
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
21629 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
21632 if test "x$with_smime" != "xno" ; then
21633 if test -n "$certdir" ; then
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
21635 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
21637 $as_echo "#define SMIME /**/" >>confdefs.h
21640 cat >>confdefs.h
<<_ACEOF
21641 #define SMIME_SSLCERTS "$certdir"
21649 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
21650 SSL_BUNDLE_EXISTS
="no"
21651 SSL_PEM
="factory.pem ca-bundle.pem"
21652 for SSL_BUNDLE
in $SSL_PEM
21654 if test -f ${certdir}/${SSL_BUNDLE} ; then
21655 SSL_BUNDLE_EXISTS
="yes"
21659 SSL_CERT_LINK
="yes"
21662 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
21663 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
21664 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
21666 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
21668 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
21670 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
21673 if test -n "$alpine_SSLINCLUDE" ; then
21674 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
21677 if test -n "$alpine_SSLLIB" ; then
21678 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
21681 if test -n "$alpine_SSLDIR" ; then
21682 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
21685 if test -n "$certdir" ; then
21686 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
21689 if test -n "$alpine_SSLKEYS" ; then
21690 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
21695 if test "x$alpine_GSSTYPE" != "xnone" ; then
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
21698 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
21702 if test "x$alpine_NTLM" != "xnone" ; then
21703 extra_auth_ntlm
=ntl
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
21705 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
21708 if test -n "$CPPFLAGS" ; then
21709 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
21711 if test -n "$CFLAGS" ; then
21712 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
21715 if test -n "$alpine_c_client_cflags" ; then
21716 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
21720 if test -n "$LDFLAGS" ; then
21721 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
21723 if test -n "$LIBS" ; then
21724 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
21727 if test -n "$alpine_c_client_ldflags" ; then
21728 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
21732 if test -n "$alpine_c_client_gccoptlevel" ; then
21733 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
21737 c_client_auths
="$extra_auth_gss $extra_auth_ntlm"
21738 C_CLIENT_AUTHS
=$c_client_auths
21741 C_CLIENT_SPECIALS
=$c_client_specials
21744 if test -z "$WEB_BUILD" ; then
21745 WEB_PUBCOOKIE_BUILD
=
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
21747 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
21749 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
21751 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
21752 if test "x$alpine_GSSTYPE" = "xnone" ; then
21753 WEB_PUBCOOKIE_BUILD
=
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
21755 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
21757 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
21758 elif test -z "$WEB_BINDIR" ; then
21759 WEB_PUBCOOKIE_BUILD
=
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
21761 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
21762 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
21763 Please re-run configure with these options:
21764 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
21767 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
21769 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
21770 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
21786 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"
21788 cat >confcache
<<\_ACEOF
21789 # This file is a shell script that caches the results of configure
21790 # tests run on this system so they can be shared between configure
21791 # scripts and configure runs, see configure's option --config-cache.
21792 # It is not useful on other systems. If it contains results you don't
21793 # want to keep, you may remove or edit it.
21795 # config.status only pays attention to the cache file if you give it
21796 # the --recheck option to rerun configure.
21798 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21799 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21800 # following values.
21804 # The following way of writing the cache mishandles newlines in values,
21805 # but we know of no workaround that is simple, portable, and efficient.
21806 # So, we kill variables containing newlines.
21807 # Ultrix sh set writes to stderr and can't be redirected directly,
21808 # and sets the high bit in the cache file unless we assign to the vars.
21810 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21811 eval ac_val
=\$
$ac_var
21815 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21816 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21819 _ | IFS | as_nl
) ;; #(
21820 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21821 *) { eval $ac_var=; unset $ac_var;} ;;
21827 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21828 *${as_nl}ac_space
=\
*)
21829 # `set' does not quote correctly, so add quotes: double-quote
21830 # substitution turns \\\\ into \\, and sed turns \\ into \.
21833 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21836 # `set' quotes correctly as required by POSIX, so do not add quotes.
21837 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21848 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21850 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21851 if test -w "$cache_file"; then
21852 if test "x$cache_file" != "x/dev/null"; then
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21854 $as_echo "$as_me: updating cache $cache_file" >&6;}
21855 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
21856 cat confcache
>"$cache_file"
21858 case $cache_file in #(
21860 mv -f confcache
"$cache_file"$$
&&
21861 mv -f "$cache_file"$$
"$cache_file" ;; #(
21863 mv -f confcache
"$cache_file" ;;
21868 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21869 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21874 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21875 # Let make expand exec_prefix.
21876 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21878 DEFS
=-DHAVE_CONFIG_H
21883 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21884 # 1. Remove the extension, and $U if already installed.
21885 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21886 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21887 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21888 # will be set to the directory where LIBOBJS objects are built.
21889 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21890 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21892 LIBOBJS
=$ac_libobjs
21894 LTLIBOBJS
=$ac_ltlibobjs
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21898 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21899 if test -n "$am_sleep_pid"; then
21900 # Hide warnings about reused PIDs.
21901 wait $am_sleep_pid 2>/dev
/null
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21904 $as_echo "done" >&6; }
21905 if test -n "$EXEEXT"; then
21907 am__EXEEXT_FALSE
='#'
21909 am__EXEEXT_TRUE
='#'
21913 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21914 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21917 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21918 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21921 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21922 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21926 : "${CONFIG_STATUS=./config.status}"
21928 ac_clean_files_save
=$ac_clean_files
21929 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21931 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21933 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21935 # Generated by $as_me.
21936 # Run this file to recreate the current configuration.
21937 # Compiler output produced by configure, useful for debugging
21938 # configure, is in config.log if it exists.
21941 ac_cs_recheck=false
21944 SHELL=\${CONFIG_SHELL-$SHELL}
21947 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
21948 ## -------------------- ##
21949 ## M4sh Initialization. ##
21950 ## -------------------- ##
21952 # Be more Bourne compatible
21953 DUALCASE
=1; export DUALCASE
# for MKS sh
21954 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21957 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21958 # is contrary to our usage. Disable this feature.
21959 alias -g '${1+"$@"}'='"$@"'
21960 setopt NO_GLOB_SUBST
21962 case `(set -o) 2>/dev/null` in #(
21974 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21975 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21976 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21977 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21978 # Prefer a ksh shell builtin over an external printf program on Solaris,
21979 # but without wasting forks for bash or zsh.
21980 if test -z "$BASH_VERSION$ZSH_VERSION" \
21981 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21982 as_echo='print
-r --'
21983 as_echo_n='print
-rn --'
21984 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21985 as_echo='printf %s
\n'
21986 as_echo_n='printf %s
'
21988 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21989 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21990 as_echo_n='/usr
/ucb
/echo -n'
21992 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21993 as_echo_n_body='eval
21997 expr "X$arg" : "X\\(.*\\)$as_nl";
21998 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22000 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22002 export as_echo_n_body
22003 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22005 export as_echo_body
22006 as_echo='sh
-c $as_echo_body as_echo
'
22009 # The user is always right.
22010 if test "${PATH_SEPARATOR+set}" != set; then
22012 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22013 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22020 # We need space, tab and new line, in precisely that order. Quoting is
22021 # there to prevent editors from complaining about space-tab.
22022 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22023 # splitting by setting IFS to empty value.)
22026 # Find who we are. Look in the path if we contain no directory separator.
22029 *[\\/]* ) as_myself=$0 ;;
22030 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22031 for as_dir in $PATH
22034 test -z "$as_dir" && as_dir=.
22035 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22041 # We did not find ourselves, most probably we were run as `sh COMMAND'
22042 # in which case we are not to be found in the path.
22043 if test "x$as_myself" = x
; then
22046 if test ! -f "$as_myself"; then
22047 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22051 # Unset variables that we do not need and which cause bugs (e.g. in
22052 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22053 # suppresses any "Segmentation fault" message there. '((' could
22054 # trigger a bug in pdksh 5.2.14.
22055 for as_var
in BASH_ENV ENV MAIL MAILPATH
22056 do eval test x\
${$as_var+set} = xset \
22057 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22070 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22073 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22074 # ----------------------------------------
22075 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22076 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22077 # script with STATUS, using 1 if that was 0.
22080 as_status
=$1; test $as_status -eq 0 && as_status
=1
22082 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22083 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22085 $as_echo "$as_me: error: $2" >&2
22086 as_fn_exit
$as_status
22090 # as_fn_set_status STATUS
22091 # -----------------------
22092 # Set $? to STATUS, without forking.
22093 as_fn_set_status
()
22096 } # as_fn_set_status
22098 # as_fn_exit STATUS
22099 # -----------------
22100 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22104 as_fn_set_status
$1
22110 # Portably unset VAR.
22113 { eval $1=; unset $1;}
22115 as_unset
=as_fn_unset
22116 # as_fn_append VAR VALUE
22117 # ----------------------
22118 # Append the text in VALUE to the end of the definition contained in VAR. Take
22119 # advantage of any shell optimizations that allow amortized linear growth over
22120 # repeated appends, instead of the typical quadratic growth present in naive
22122 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22123 eval 'as_fn_append ()
22134 # as_fn_arith ARG...
22135 # ------------------
22136 # Perform arithmetic evaluation on the ARGs, and store the result in the
22137 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22138 # must be portable across $(()) and expr.
22139 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22140 eval 'as_fn_arith ()
22147 as_val
=`expr "$@" || test $? -eq 1`
22152 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22153 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22159 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22160 as_basename
=basename
22165 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22171 as_me
=`$as_basename -- "$0" ||
22172 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22173 X"$0" : 'X\(//\)$' \| \
22174 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22176 sed '/^.*\/\([^/][^/]*\)\/*$/{
22190 # Avoid depending upon Character Ranges.
22191 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22192 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22193 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22194 as_cr_digits
='0123456789'
22195 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22197 ECHO_C
= ECHO_N
= ECHO_T
=
22198 case `echo -n x` in #(((((
22200 case `echo 'xy\c'` in
22201 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22203 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22210 rm -f conf$$ conf$$.exe conf$$.
file
22211 if test -d conf$$.dir
; then
22212 rm -f conf$$.dir
/conf$$.
file
22215 mkdir conf$$.dir
2>/dev
/null
22217 if (echo >conf$$.
file) 2>/dev
/null
; then
22218 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22220 # ... but there are two gotchas:
22221 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22222 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22223 # In both cases, we have to default to `cp -pR'.
22224 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22226 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22234 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22235 rmdir conf$$.dir
2>/dev
/null
22240 # Create "$as_dir" as a directory, including parents if necessary.
22245 -*) as_dir
=.
/$as_dir;;
22247 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22251 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22252 *) as_qdir
=$as_dir;;
22254 as_dirs
="'$as_qdir' $as_dirs"
22255 as_dir
=`$as_dirname -- "$as_dir" ||
22256 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22257 X"$as_dir" : 'X\(//\)[^/]' \| \
22258 X"$as_dir" : 'X\(//\)$' \| \
22259 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22260 $as_echo X"$as_dir" |
22261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22265 /^X\(\/\/\)[^/].*/{
22278 test -d "$as_dir" && break
22280 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22281 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22285 if mkdir
-p .
2>/dev
/null
; then
22286 as_mkdir_p
='mkdir -p "$as_dir"'
22288 test -d .
/-p && rmdir .
/-p
22293 # as_fn_executable_p FILE
22294 # -----------------------
22295 # Test if FILE is an executable regular file.
22296 as_fn_executable_p
()
22298 test -f "$1" && test -x "$1"
22299 } # as_fn_executable_p
22300 as_test_x
='test -x'
22301 as_executable_p
=as_fn_executable_p
22303 # Sed expression to map a string onto a valid CPP name.
22304 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22306 # Sed expression to map a string onto a valid variable name.
22307 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22311 ## ----------------------------------- ##
22312 ## Main body of $CONFIG_STATUS script. ##
22313 ## ----------------------------------- ##
22315 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22318 # Save the log message, to keep $0 and so on meaningful, and to
22319 # report actual input values of CONFIG_FILES etc. instead of their
22320 # values after options handling.
22322 This file was extended by alpine $as_me 2.21.9, which was
22323 generated by GNU Autoconf 2.69. Invocation command line was
22325 CONFIG_FILES = $CONFIG_FILES
22326 CONFIG_HEADERS = $CONFIG_HEADERS
22327 CONFIG_LINKS = $CONFIG_LINKS
22328 CONFIG_COMMANDS = $CONFIG_COMMANDS
22331 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22336 case $ac_config_files in *"
22337 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22340 case $ac_config_headers in *"
22341 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22346 # Files that config.status was made for.
22347 config_files="$ac_config_files"
22348 config_headers="$ac_config_headers"
22349 config_commands="$ac_config_commands"
22353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22355 \`$as_me' instantiates files and other configuration actions
22356 from templates according to the current configuration. Unless the files
22357 and actions are specified as TAGs, all are instantiated by default.
22359 Usage: $0 [OPTION]... [TAG]...
22361 -h, --help print this help, then exit
22362 -V, --version print version number and configuration settings, then exit
22363 --config print configuration, then exit
22364 -q, --quiet, --silent
22365 do not print progress messages
22366 -d, --debug don't remove temporary files
22367 --recheck update $as_me by reconfiguring in the same conditions
22368 --file=FILE[:TEMPLATE]
22369 instantiate the configuration file FILE
22370 --header=FILE[:TEMPLATE]
22371 instantiate the configuration header FILE
22373 Configuration files:
22376 Configuration headers:
22379 Configuration commands:
22382 Report bugs to <chappa@washington.edu>."
22385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22386 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22388 alpine config.status 2.21.9
22389 configured by $0, generated by GNU Autoconf 2.69,
22390 with options \\"\$ac_cs_config\\"
22392 Copyright (C) 2012 Free Software Foundation, Inc.
22393 This config.status script is free software; the Free Software Foundation
22394 gives unlimited permission to copy, distribute and modify it."
22401 test -n "\$AWK" || AWK=awk
22404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22405 # The default lists apply if the user does not specify any file.
22411 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22412 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22416 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22428 # Handling of the options.
22429 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22431 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22432 $as_echo "$ac_cs_version"; exit ;;
22433 --config |
--confi |
--conf |
--con |
--co |
--c )
22434 $as_echo "$ac_cs_config"; exit ;;
22435 --debug |
--debu |
--deb |
--de |
--d |
-d )
22437 --file |
--fil |
--fi |
--f )
22440 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22441 '') as_fn_error $?
"missing file argument" ;;
22443 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22444 ac_need_defaults
=false
;;
22445 --header |
--heade |
--head |
--hea )
22448 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22450 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22451 ac_need_defaults
=false
;;
22453 # Conflict between --help and --header
22454 as_fn_error $?
"ambiguous option: \`$1'
22455 Try \`$0 --help' for more information.";;
22456 --help |
--hel |
-h )
22457 $as_echo "$ac_cs_usage"; exit ;;
22458 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22459 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22462 # This is an error.
22463 -*) as_fn_error $?
"unrecognized option: \`$1'
22464 Try \`$0 --help' for more information." ;;
22466 *) as_fn_append ac_config_targets
" $1"
22467 ac_need_defaults
=false
;;
22473 ac_configure_extra_args
=
22475 if $ac_cs_silent; then
22477 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22482 if \$ac_cs_recheck; then
22483 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22485 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22486 CONFIG_SHELL='$SHELL'
22487 export CONFIG_SHELL
22492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22497 ## Running $as_me. ##
22503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22507 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22510 # The HP-UX ksh and POSIX shell print the target directory to stdout
22511 # if CDPATH is set.
22512 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22514 sed_quote_subst='$sed_quote_subst'
22515 double_quote_subst='$double_quote_subst'
22516 delay_variable_subst='$delay_variable_subst'
22517 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22518 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22519 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22520 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22521 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22522 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22523 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22524 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22525 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22526 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22527 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22528 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22529 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22530 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22531 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22532 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22533 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22534 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22535 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22536 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22537 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22538 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22539 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22540 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22541 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22542 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22543 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22544 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22545 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22546 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22547 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22548 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22549 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22550 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22551 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22552 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22553 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22554 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22555 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22556 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22557 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22558 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22559 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22560 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22561 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22562 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22563 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22564 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22565 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22566 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22567 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22568 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22569 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22570 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22571 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22572 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22573 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22574 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22575 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"`'
22576 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22577 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22578 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22579 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22580 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22581 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22582 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22583 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22584 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22585 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22586 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22587 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22588 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22589 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22590 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22591 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22592 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22593 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22594 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22595 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22596 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22597 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22598 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22599 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22600 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22601 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22602 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22603 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22604 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22605 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22606 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22607 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22608 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22609 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22610 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22611 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22612 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22613 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22614 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22615 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22616 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22617 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22618 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22619 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22620 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22621 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22622 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22623 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22624 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22625 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22626 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22627 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22628 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22629 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22630 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22631 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22632 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22633 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22634 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22635 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22636 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22637 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22638 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22639 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22640 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22641 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22642 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22643 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22644 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22645 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22646 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22647 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22648 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22649 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22650 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22651 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22654 LTCFLAGS='$LTCFLAGS'
22655 compiler='$compiler_DEFAULT'
22657 # A function that is used when there is no print builtin or printf.
22658 func_fallback_echo ()
22660 eval 'cat <<_LTECHO_EOF
22665 # Quote evaled strings.
22680 deplibs_check_method \
22685 sharedlib_from_linklib_cmd \
22688 archiver_list_spec \
22694 lt_cv_sys_global_symbol_pipe \
22695 lt_cv_sys_global_symbol_to_cdecl \
22696 lt_cv_sys_global_symbol_to_import \
22697 lt_cv_sys_global_symbol_to_c_name_address \
22698 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22699 lt_cv_nm_interface \
22700 nm_file_list_spec \
22701 lt_cv_truncate_bin \
22702 lt_prog_compiler_no_builtin_flag \
22703 lt_prog_compiler_pic \
22704 lt_prog_compiler_wl \
22705 lt_prog_compiler_static \
22706 lt_cv_prog_compiler_c_o \
22715 export_dynamic_flag_spec \
22716 whole_archive_flag_spec \
22717 compiler_needs_object \
22719 allow_undefined_flag \
22720 no_undefined_flag \
22721 hardcode_libdir_flag_spec \
22722 hardcode_libdir_separator \
22726 variables_saved_for_relink \
22728 library_names_spec \
22730 install_override_mode \
22734 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22735 *[\\\\\\\`\\"\\\$]*)
22736 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22739 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22744 # Double-quote double-evaled strings.
22745 for var in reload_cmds \
22746 old_postinstall_cmds \
22747 old_postuninstall_cmds \
22749 extract_expsyms_cmds \
22750 old_archive_from_new_cmds \
22751 old_archive_from_expsyms_cmds \
22753 archive_expsym_cmds \
22755 module_expsym_cmds \
22756 export_symbols_cmds \
22760 postuninstall_cmds \
22762 sys_lib_search_path_spec \
22763 configure_time_dlsearch_path \
22764 configure_time_lt_sys_library_path; do
22765 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22766 *[\\\\\\\`\\"\\\$]*)
22767 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22770 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22775 ac_aux_dir='$ac_aux_dir'
22777 # See if we are running on zsh, and set the options that allow our
22778 # commands through without removal of \ escapes INIT.
22779 if test -n "\${ZSH_VERSION+set}"; then
22780 setopt NO_GLOB_SUBST
22791 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
22792 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
22793 # from automake < 1.5.
22794 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
22795 # Capture the value of LINGUAS because we need it to compute CATALOGS.
22796 LINGUAS="${LINGUAS-%UNSET%}"
22801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22803 # Handling of arguments.
22804 for ac_config_target
in $ac_config_targets
22806 case $ac_config_target in
22807 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22808 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22809 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22810 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
22811 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
22812 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
22813 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
22814 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
22815 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
22816 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
22817 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
22818 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
22819 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
22820 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
22821 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
22822 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
22823 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
22824 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22826 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22831 # If the user did not use the arguments to specify the items to instantiate,
22832 # then the envvar interface is used. Set only those that are not.
22833 # We use the long form for the default assignment because of an extremely
22834 # bizarre bug on SunOS 4.1.3.
22835 if $ac_need_defaults; then
22836 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22837 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22838 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22841 # Have a temporary directory for convenience. Make it in the build tree
22842 # simply because there is no reason against having it here, and in addition,
22843 # creating and moving files from /tmp can sometimes cause problems.
22844 # Hook for its removal unless debugging.
22845 # Note that there is a small window in which the directory will not be cleaned:
22846 # after its creation but before its name has been assigned to `$tmp'.
22850 trap 'exit_status=$?
22851 : "${ac_tmp:=$tmp}"
22852 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22854 trap 'as_fn_exit 1' 1 2 13 15
22856 # Create a (secure) tmp directory for tmp files.
22859 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22863 tmp
=.
/conf$$
-$RANDOM
22864 (umask 077 && mkdir
"$tmp")
22865 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22868 # Set up the scripts for CONFIG_FILES section.
22869 # No need to generate them if there are no CONFIG_FILES.
22870 # This happens for instance with `./config.status config.h'.
22871 if test -n "$CONFIG_FILES"; then
22874 ac_cr
=`echo X | tr X '\015'`
22875 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22876 # But we know of no other shell where ac_cr would be empty at this
22877 # point, so we can use a bashism as a fallback.
22878 if test "x$ac_cr" = x
; then
22879 eval ac_cr
=\$
\'\\r
\'
22881 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22882 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22885 ac_cs_awk_cr
=$ac_cr
22888 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22893 echo "cat >conf$$subs.awk <<_ACEOF" &&
22894 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22896 } >conf$$subs.sh ||
22897 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22898 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22900 for ac_last_try in false false false false false :; do
22901 . ./conf$$subs.sh ||
22902 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22904 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22905 if test $ac_delim_n = $ac_delim_num; then
22907 elif $ac_last_try; then
22908 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22910 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22913 rm -f conf$$subs.sh
22915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22916 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22920 s/^/S["/; s
/!.
*/"]=/
22930 s/\(.\{148\}\)..*/\1/
22932 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22937 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22944 s/\(.\{148\}\)..*/\1/
22946 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22950 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22955 ' <conf$$subs.awk | sed '
22960 ' >>$CONFIG_STATUS || ac_write_fail=1
22961 rm -f conf$$subs.awk
22962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22964 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22965 for (key in S) S_is_set[key] = 1
22971 nfields = split(line, field, "@
")
22973 len = length(field[1])
22974 for (i = 2; i < nfields; i++) {
22976 keylen = length(key)
22977 if (S_is_set[key]) {
22979 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22980 len += length(value) + length(field[++i])
22991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22992 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22993 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22996 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22997 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23000 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23001 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23002 # trailing colons and then remove the whole line if VPATH becomes empty
23003 # (actually we leave an empty line to preserve line numbers).
23004 if test "x
$srcdir" = x.; then
23005 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23024 fi # test -n "$CONFIG_FILES"
23026 # Set up the scripts for CONFIG_HEADERS section.
23027 # No need to generate them if there are no CONFIG_HEADERS.
23028 # This happens for instance with `./config.status Makefile'.
23029 if test -n "$CONFIG_HEADERS"; then
23030 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23034 # Transform confdefs.h into an awk script `defines.awk', embedded as
23035 # here-document in config.status, that substitutes the proper values into
23036 # config.h.in to produce config.h.
23038 # Create a delimiter string that does not exist in confdefs.h, to ease
23039 # handling of long lines.
23041 for ac_last_try in false false :; do
23042 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23043 if test -z "$ac_tt"; then
23045 elif $ac_last_try; then
23046 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23048 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23052 # For the awk script, D is an array of macro values keyed by name,
23053 # likewise P contains macro parameters if any. Preserve backslash
23054 # newline sequences.
23056 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23058 s/.\{148\}/&'"$ac_delim"'/g
23061 s/^[ ]*#[ ]*define[ ][ ]*/ /
23068 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23070 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23074 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23075 D["\
1"]=" \
3\\\\\\n
"\\/p
23077 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23082 s/.\{148\}/&'"$ac_delim"'/g
23087 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23090 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23092 ' <confdefs.h | sed '
23093 s/'"$ac_delim"'/"\\\
23094 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23097 for (key in D) D_is_set[key] = 1
23100 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23102 split(line, arg, " ")
23103 if (arg[1] == "#") {
23107 defundef
= substr
(arg
[1], 2)
23110 split(mac1
, mac2
, "(") #)
23112 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23113 if (D_is_set
[macro
]) {
23114 # Preserve the white space surrounding the "#".
23115 print prefix
"define", macro P
[macro
] D
[macro
]
23118 # Replace #undef with comments. This is necessary, for example,
23119 # in the case of _POSIX_SOURCE, which is predefined and required
23120 # on some systems where configure will not decide to define it.
23121 if (defundef
== "undef") {
23122 print
"/*", prefix defundef
, macro
, "*/"
23130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23131 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23132 fi # test -n "$CONFIG_HEADERS"
23135 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23140 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23142 case $ac_mode$ac_tag in
23144 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23145 :[FH
]-) ac_tag
=-:-;;
23146 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23163 -) ac_f
="$ac_tmp/stdin";;
23164 *) # Look for the file first in the build tree, then in the source tree
23165 # (if the path is not absolute). The absolute path cannot be DOS-style,
23166 # because $ac_f cannot contain `:'.
23170 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23172 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23174 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23175 as_fn_append ac_file_inputs
" '$ac_f'"
23178 # Let's still pretend it is `configure' which instantiates (i.e., don't
23179 # use $as_me), people would be surprised to read:
23180 # /* config.h. Generated by config.status. */
23181 configure_input
='Generated from '`
23182 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23184 if test x
"$ac_file" != x-
; then
23185 configure_input
="$ac_file. $configure_input"
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23187 $as_echo "$as_me: creating $ac_file" >&6;}
23189 # Neutralize special characters interpreted by sed in replacement strings.
23190 case $configure_input in #(
23191 *\
&* |
*\|
* |
*\\* )
23192 ac_sed_conf_input
=`$as_echo "$configure_input" |
23193 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23194 *) ac_sed_conf_input
=$configure_input;;
23198 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23199 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23204 ac_dir
=`$as_dirname -- "$ac_file" ||
23205 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23206 X"$ac_file" : 'X\(//\)[^/]' \| \
23207 X"$ac_file" : 'X\(//\)$' \| \
23208 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23209 $as_echo X"$ac_file" |
23210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23214 /^X\(\/\/\)[^/].*/{
23227 as_dir
="$ac_dir"; as_fn_mkdir_p
23231 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23233 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23234 # A ".." for each directory in $ac_dir_suffix.
23235 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23236 case $ac_top_builddir_sub in
23237 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23238 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23241 ac_abs_top_builddir
=$ac_pwd
23242 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23243 # for backward compatibility:
23244 ac_top_builddir
=$ac_top_build_prefix
23247 .
) # We are building in place.
23249 ac_top_srcdir
=$ac_top_builddir_sub
23250 ac_abs_top_srcdir
=$ac_pwd ;;
23251 [\\/]* | ?
:[\\/]* ) # Absolute name.
23252 ac_srcdir
=$srcdir$ac_dir_suffix;
23253 ac_top_srcdir
=$srcdir
23254 ac_abs_top_srcdir
=$srcdir ;;
23255 *) # Relative name.
23256 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23257 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23258 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23260 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23270 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23271 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23273 ac_MKDIR_P
=$MKDIR_P
23275 [\\/$
]* | ?
:[\\/]* ) ;;
23276 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23281 # If the template does not know about datarootdir, expand it.
23282 # FIXME: This hack should be removed a few years after 2.60.
23283 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23294 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23295 *datarootdir
*) ac_datarootdir_seen
=yes;;
23296 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23298 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23301 ac_datarootdir_hack='
23302 s&@datadir@&$datadir&g
23303 s&@docdir@&$docdir&g
23304 s&@infodir@&$infodir&g
23305 s&@localedir@&$localedir&g
23306 s&@mandir@&$mandir&g
23307 s&\\\${datarootdir}&$datarootdir&g' ;;
23311 # Neutralize VPATH when `$srcdir' = `.'.
23312 # Shell code in configure.ac might set extrasub.
23313 # FIXME: do we really want to maintain this feature?
23314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23315 ac_sed_extra="$ac_vpsub
23318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23320 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23321 s|@configure_input@|
$ac_sed_conf_input|
;t t
23322 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23323 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23324 s
&@srcdir@
&$ac_srcdir&;t t
23325 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23326 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23327 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23328 s
&@builddir@
&$ac_builddir&;t t
23329 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23330 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23331 s
&@INSTALL@
&$ac_INSTALL&;t t
23332 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23333 $ac_datarootdir_hack
23335 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23336 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23338 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23339 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23340 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23341 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23343 which seems to be undefined. Please make sure it is defined" >&5
23344 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23345 which seems to be undefined. Please make sure it is defined" >&2;}
23347 rm -f "$ac_tmp/stdin"
23349 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23350 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23358 if test x"$ac_file" != x-; then
23360 $as_echo "/* $configure_input */" \
23361 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23362 } >"$ac_tmp/config.h" \
23363 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23364 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23366 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23369 mv "$ac_tmp/config.h" "$ac_file" \
23370 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23373 $as_echo "/* $configure_input */" \
23374 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23375 || as_fn_error $? "could not create -" "$LINENO" 5
23377 # Compute "$ac_file"'s index
in $config_headers.
23380 for _am_header
in $config_headers :; do
23381 case $_am_header in
23382 $_am_arg |
$_am_arg:* )
23385 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23388 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23389 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23390 X"$_am_arg" : 'X\(//\)[^/]' \| \
23391 X"$_am_arg" : 'X\(//\)$' \| \
23392 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23393 $as_echo X"$_am_arg" |
23394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23398 /^X\(\/\/\)[^/].*/{
23410 s/.*/./; q'`/stamp-h
$_am_stamp_count
23413 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23414 $as_echo "$as_me: executing $ac_file commands" >&6;}
23419 case $ac_file$ac_mode in
23420 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23421 # Older Autoconf quotes --file arguments for eval, but not when files
23422 # are listed without --file. Let's play safe and only enable the eval
23423 # if we detect the quoting.
23424 case $CONFIG_FILES in
23425 *\'*) eval set x
"$CONFIG_FILES" ;;
23426 *) set x
$CONFIG_FILES ;;
23431 # Strip MF so we end up with the name of the file.
23432 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23433 # Check whether this is an Automake generated Makefile or not.
23434 # We used to match only the files named 'Makefile.in', but
23435 # some people rename them; so instead we look at the file content.
23436 # Grep'ing the first line is not enough: some people post-process
23437 # each Makefile.in and add a new line on top of each file to say so.
23438 # Grep'ing the whole file is not good either: AIX grep has a line
23439 # limit of 2048, but all sed's we know have understand at least 4000.
23440 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23441 dirpart
=`$as_dirname -- "$mf" ||
23442 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23443 X"$mf" : 'X\(//\)[^/]' \| \
23444 X"$mf" : 'X\(//\)$' \| \
23445 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23451 /^X\(\/\/\)[^/].*/{
23467 # Extract the definition of DEPDIR, am__include, and am__quote
23468 # from the Makefile without running 'make'.
23469 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23470 test -z "$DEPDIR" && continue
23471 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23472 test -z "$am__include" && continue
23473 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23474 # Find all dependency output files, they are included files with
23475 # $(DEPDIR) in their names. We invoke sed twice because it is the
23476 # simplest approach to changing $(DEPDIR) to its actual value in the
23478 for file in `sed -n "
23479 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23480 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23481 # Make sure the directory exists.
23482 test -f "$dirpart/$file" && continue
23483 fdir
=`$as_dirname -- "$file" ||
23484 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23485 X"$file" : 'X\(//\)[^/]' \| \
23486 X"$file" : 'X\(//\)$' \| \
23487 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23488 $as_echo X"$file" |
23489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23493 /^X\(\/\/\)[^/].*/{
23506 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23507 # echo "creating $dirpart/$file"
23508 echo '# dummy' > "$dirpart/$file"
23515 # See if we are running on zsh, and set the options that allow our
23516 # commands through without removal of \ escapes.
23517 if test -n "${ZSH_VERSION+set}"; then
23518 setopt NO_GLOB_SUBST
23522 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23525 cat <<_LT_EOF >> "$cfgfile"
23527 # Generated automatically by $as_me ($PACKAGE) $VERSION
23528 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23530 # Provide generalized library-building support services.
23531 # Written by Gordon Matzigkeit, 1996
23533 # Copyright (C) 2014 Free Software Foundation, Inc.
23534 # This is free software; see the source for copying conditions. There is NO
23535 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23537 # GNU Libtool is free software; you can redistribute it and/or modify
23538 # it under the terms of the GNU General Public License as published by
23539 # the Free Software Foundation; either version 2 of of the License, or
23540 # (at your option) any later version.
23542 # As a special exception to the GNU General Public License, if you
23543 # distribute this file as part of a program or library that is built
23544 # using GNU Libtool, you may include this file under the same
23545 # distribution terms that you use for the rest of that program.
23547 # GNU Libtool is distributed in the hope that it will be useful, but
23548 # WITHOUT ANY WARRANTY; without even the implied warranty of
23549 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23550 # GNU General Public License for more details.
23552 # You should have received a copy of the GNU General Public License
23553 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23556 # The names of the tagged configurations supported by this script.
23559 # Configured defaults for sys_lib_dlsearch_path munging.
23560 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23562 # ### BEGIN LIBTOOL CONFIG
23564 # Which release of libtool.m4 was used?
23565 macro_version=$macro_version
23566 macro_revision=$macro_revision
23568 # Whether or not to build shared libraries.
23569 build_libtool_libs=$enable_shared
23571 # Whether or not to build static libraries.
23572 build_old_libs=$enable_static
23574 # What type of objects to build.
23577 # Whether or not to optimize for fast installation.
23578 fast_install=$enable_fast_install
23580 # Shared archive member basename,for filename based shared library versioning on AIX.
23581 shared_archive_member_spec=$shared_archive_member_spec
23583 # Shell to use when invoking shell scripts.
23586 # An echo program that protects backslashes.
23589 # The PATH separator for the build system.
23590 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23593 host_alias=$host_alias
23597 # The build system.
23598 build_alias=$build_alias
23602 # A sed program that does not truncate output.
23605 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23606 Xsed="\$SED -e 1s/^X//"
23608 # A grep program that handles long lines.
23614 # A literal string matcher.
23617 # A BSD- or MS-compatible name lister.
23620 # Whether we need soft or hard links.
23623 # What is the maximum length of a command?
23624 max_cmd_len=$max_cmd_len
23626 # Object file suffix (normally "o").
23629 # Executable file suffix (normally "").
23632 # whether the shell understands "unset".
23635 # turn spaces into newlines.
23638 # turn newlines into spaces.
23641 # convert \$build file names to \$host format.
23642 to_host_file_cmd=$lt_cv_to_host_file_cmd
23644 # convert \$build files to toolchain format.
23645 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23647 # An object symbol dumper.
23648 OBJDUMP=$lt_OBJDUMP
23650 # Method to check whether dependent libraries are shared objects.
23651 deplibs_check_method=$lt_deplibs_check_method
23653 # Command to use when deplibs_check_method = "file_magic".
23654 file_magic_cmd=$lt_file_magic_cmd
23656 # How to find potential files when deplibs_check_method = "file_magic".
23657 file_magic_glob=$lt_file_magic_glob
23659 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23660 want_nocaseglob=$lt_want_nocaseglob
23662 # DLL creation program.
23663 DLLTOOL=$lt_DLLTOOL
23665 # Command to associate shared and link libraries.
23666 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23671 # Flags to create an archive.
23672 AR_FLAGS=$lt_AR_FLAGS
23674 # How to feed a file listing to the archiver.
23675 archiver_list_spec=$lt_archiver_list_spec
23677 # A symbol stripping program.
23680 # Commands used to install an old-style archive.
23682 old_postinstall_cmds=$lt_old_postinstall_cmds
23683 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23685 # Whether to use a lock for old archive extraction.
23686 lock_old_archive_extraction=$lock_old_archive_extraction
23691 # LTCC compiler flags.
23692 LTCFLAGS=$lt_CFLAGS
23694 # Take the output of nm and produce a listing of raw symbols and C names.
23695 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23697 # Transform the output of nm in a proper C declaration.
23698 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23700 # Transform the output of nm into a list of symbols to manually relocate.
23701 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23703 # Transform the output of nm in a C name address pair.
23704 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23706 # Transform the output of nm in a C name address pair when lib prefix is needed.
23707 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23709 # The name lister interface.
23710 nm_interface=$lt_lt_cv_nm_interface
23712 # Specify filename containing input files for \$NM.
23713 nm_file_list_spec=$lt_nm_file_list_spec
23715 # The root where to search for dependent libraries,and where our libraries should be installed.
23716 lt_sysroot=$lt_sysroot
23718 # Command to truncate a binary pipe.
23719 lt_truncate_bin=$lt_lt_cv_truncate_bin
23721 # The name of the directory that contains temporary libtool files.
23724 # Used to examine libraries when file_magic_cmd begins with "file".
23725 MAGIC_CMD=$MAGIC_CMD
23727 # Must we lock files when doing compilation?
23728 need_locks=$lt_need_locks
23731 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23733 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23734 DSYMUTIL=$lt_DSYMUTIL
23736 # Tool to change global to local symbols on Mac OS X.
23739 # Tool to manipulate fat objects and archives on Mac OS X.
23742 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23745 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23746 OTOOL64=$lt_OTOOL64
23748 # Old archive suffix (normally "a").
23751 # Shared library suffix (normally ".so").
23752 shrext_cmds=$lt_shrext_cmds
23754 # The commands to extract the exported symbol list from a shared archive.
23755 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23757 # Variables whose values should be saved in libtool wrapper scripts and
23758 # restored at link time.
23759 variables_saved_for_relink=$lt_variables_saved_for_relink
23761 # Do we need the "lib" prefix for modules?
23762 need_lib_prefix=$need_lib_prefix
23764 # Do we need a version for libraries?
23765 need_version=$need_version
23767 # Library versioning type.
23768 version_type=$version_type
23770 # Shared library runtime path variable.
23771 runpath_var=$runpath_var
23773 # Shared library path variable.
23774 shlibpath_var=$shlibpath_var
23776 # Is shlibpath searched before the hard-coded library search path?
23777 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23779 # Format of library name prefix.
23780 libname_spec=$lt_libname_spec
23782 # List of archive names. First name is the real one, the rest are links.
23783 # The last name is the one that the linker finds with -lNAME
23784 library_names_spec=$lt_library_names_spec
23786 # The coded name of the library, if different from the real name.
23787 soname_spec=$lt_soname_spec
23789 # Permission mode override for installation of shared libraries.
23790 install_override_mode=$lt_install_override_mode
23792 # Command to use after installation of a shared archive.
23793 postinstall_cmds=$lt_postinstall_cmds
23795 # Command to use after uninstallation of a shared archive.
23796 postuninstall_cmds=$lt_postuninstall_cmds
23798 # Commands used to finish a libtool library installation in a directory.
23799 finish_cmds=$lt_finish_cmds
23801 # As "finish_cmds", except a single script fragment to be evaled but
23803 finish_eval=$lt_finish_eval
23805 # Whether we should hardcode library paths into libraries.
23806 hardcode_into_libs=$hardcode_into_libs
23808 # Compile-time system search path for libraries.
23809 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23811 # Detected run-time system search path for libraries.
23812 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23814 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23815 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23817 # Whether dlopen is supported.
23818 dlopen_support=$enable_dlopen
23820 # Whether dlopen of programs is supported.
23821 dlopen_self=$enable_dlopen_self
23823 # Whether dlopen of statically linked programs is supported.
23824 dlopen_self_static=$enable_dlopen_self_static
23826 # Commands to strip libraries.
23827 old_striplib=$lt_old_striplib
23828 striplib=$lt_striplib
23831 # The linker used to build libraries.
23834 # How to create reloadable object files.
23835 reload_flag=$lt_reload_flag
23836 reload_cmds=$lt_reload_cmds
23838 # Commands used to build an old-style archive.
23839 old_archive_cmds=$lt_old_archive_cmds
23841 # A language specific compiler.
23844 # Is the compiler the GNU compiler?
23847 # Compiler flag to turn off builtin functions.
23848 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23850 # Additional compiler flags for building library objects.
23851 pic_flag=$lt_lt_prog_compiler_pic
23853 # How to pass a linker flag through the compiler.
23854 wl=$lt_lt_prog_compiler_wl
23856 # Compiler flag to prevent dynamic linking.
23857 link_static_flag=$lt_lt_prog_compiler_static
23859 # Does compiler simultaneously support -c and -o options?
23860 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23862 # Whether or not to add -lc for building shared libraries.
23863 build_libtool_need_lc=$archive_cmds_need_lc
23865 # Whether or not to disallow shared libs when runtime libs are static.
23866 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23868 # Compiler flag to allow reflexive dlopens.
23869 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23871 # Compiler flag to generate shared objects directly from archives.
23872 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23874 # Whether the compiler copes with passing no objects directly.
23875 compiler_needs_object=$lt_compiler_needs_object
23877 # Create an old-style archive from a shared archive.
23878 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23880 # Create a temporary old-style archive to link instead of a shared archive.
23881 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23883 # Commands used to build a shared archive.
23884 archive_cmds=$lt_archive_cmds
23885 archive_expsym_cmds=$lt_archive_expsym_cmds
23887 # Commands used to build a loadable module if different from building
23888 # a shared archive.
23889 module_cmds=$lt_module_cmds
23890 module_expsym_cmds=$lt_module_expsym_cmds
23892 # Whether we are building with GNU ld or not.
23893 with_gnu_ld=$lt_with_gnu_ld
23895 # Flag that allows shared libraries with undefined symbols to be built.
23896 allow_undefined_flag=$lt_allow_undefined_flag
23898 # Flag that enforces no undefined symbols.
23899 no_undefined_flag=$lt_no_undefined_flag
23901 # Flag to hardcode \$libdir into a binary during linking.
23902 # This must work even if \$libdir does not exist
23903 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23905 # Whether we need a single "-rpath" flag with a separated argument.
23906 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23908 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23909 # DIR into the resulting binary.
23910 hardcode_direct=$hardcode_direct
23912 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23913 # DIR into the resulting binary and the resulting library dependency is
23914 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23915 # library is relocated.
23916 hardcode_direct_absolute=$hardcode_direct_absolute
23918 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23919 # into the resulting binary.
23920 hardcode_minus_L=$hardcode_minus_L
23922 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23923 # into the resulting binary.
23924 hardcode_shlibpath_var=$hardcode_shlibpath_var
23926 # Set to "yes" if building a shared library automatically hardcodes DIR
23927 # into the library and all subsequent libraries and executables linked
23929 hardcode_automatic=$hardcode_automatic
23931 # Set to yes if linker adds runtime paths of dependent libraries
23932 # to runtime path list.
23933 inherit_rpath=$inherit_rpath
23935 # Whether libtool must link a program against all its dependency libraries.
23936 link_all_deplibs=$link_all_deplibs
23938 # Set to "yes" if exported symbols are required.
23939 always_export_symbols=$always_export_symbols
23941 # The commands to list exported symbols.
23942 export_symbols_cmds=$lt_export_symbols_cmds
23944 # Symbols that should not be listed in the preloaded symbols.
23945 exclude_expsyms=$lt_exclude_expsyms
23947 # Symbols that must always be exported.
23948 include_expsyms=$lt_include_expsyms
23950 # Commands necessary for linking programs (against libraries) with templates.
23951 prelink_cmds=$lt_prelink_cmds
23953 # Commands necessary for finishing linking programs.
23954 postlink_cmds=$lt_postlink_cmds
23956 # Specify filename containing input files.
23957 file_list_spec=$lt_file_list_spec
23959 # How to hardcode a shared library path into an executable.
23960 hardcode_action=$hardcode_action
23962 # ### END LIBTOOL CONFIG
23966 cat <<'_LT_EOF' >> "$cfgfile"
23968 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23970 # func_munge_path_list VARIABLE PATH
23971 # -----------------------------------
23972 # VARIABLE is name of variable containing _space_ separated list of
23973 # directories to be munged by the contents of PATH, which is string
23976 # string "DIR[ DIR]" will be prepended to VARIABLE
23978 # string "DIR[ DIR]" will be appended to VARIABLE
23979 # "DIRP[:DIRP]::[DIRA:]DIRA"
23980 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23981 # "DIRA[ DIRA]" will be appended to VARIABLE
23983 # VARIABLE will be replaced by "DIR[ DIR]"
23984 func_munge_path_list ()
23990 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23993 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23996 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23997 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24000 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24006 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24007 func_cc_basename ()
24009 for cc_temp in $*""; do
24011 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24012 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24017 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24021 # ### END FUNCTIONS SHARED WITH CONFIGURE
24027 cat <<\_LT_EOF
>> "$cfgfile"
24028 # AIX sometimes has problems with the GCC collect2 program. For some
24029 # reason, if we set the COLLECT_NAMES environment variable, the problems
24030 # vanish in a puff of smoke.
24031 if test set != "${COLLECT_NAMES+set}"; then
24033 export COLLECT_NAMES
24040 ltmain
=$ac_aux_dir/ltmain.sh
24043 # We use sed instead of cat because bash on DJGPP gets confused if
24044 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24045 # text mode, it properly converts lines to CR/LF. This bash problem
24046 # is reportedly fixed, but why not run on old versions too?
24047 sed '$q' "$ltmain" >> "$cfgfile" \
24048 ||
(rm -f "$cfgfile"; exit 1)
24050 mv -f "$cfgfile" "$ofile" ||
24051 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24055 "po-directories":C
)
24056 for ac_file
in $CONFIG_FILES; do
24057 # Support "outfile[:infile[:infile...]]"
24059 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24061 # PO directories have a Makefile.in generated from Makefile.in.in.
24062 case "$ac_file" in */Makefile.
in)
24063 # Adjust a relative srcdir.
24064 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24065 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
24066 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24067 # In autoconf-2.13 it is called $ac_given_srcdir.
24068 # In autoconf-2.50 it is called $srcdir.
24069 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
24070 case "$ac_given_srcdir" in
24071 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
24072 /*) top_srcdir
="$ac_given_srcdir" ;;
24073 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24075 # Treat a directory as a PO directory if and only if it has a
24076 # POTFILES.in file. This allows packages to have multiple PO
24077 # directories under different names or in different locations.
24078 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24079 rm -f "$ac_dir/POTFILES"
24080 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
24081 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24082 POMAKEFILEDEPS
="POTFILES.in"
24083 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
24084 # on $ac_dir but don't depend on user-specified configuration
24086 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24087 # The LINGUAS file contains the set of available languages.
24088 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24089 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
24091 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24092 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24093 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24094 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
24096 # The set of available languages was given in configure.in.
24097 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24098 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24101 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
24102 # Compute UPDATEPOFILES
24103 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
24104 # Compute DUMMYPOFILES
24105 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
24107 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
24108 case "$ac_given_srcdir" in
24110 *) srcdirpre
='$(srcdir)/' ;;
24116 for lang
in $ALL_LINGUAS; do
24117 POFILES
="$POFILES $srcdirpre$lang.po"
24118 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24119 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24120 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24122 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24123 # environment variable.
24125 if test -n "$ALL_LINGUAS"; then
24126 for presentlang
in $ALL_LINGUAS; do
24128 if test "%UNSET%" != "$LINGUAS"; then
24129 desiredlanguages
="$LINGUAS"
24131 desiredlanguages
="$ALL_LINGUAS"
24133 for desiredlang
in $desiredlanguages; do
24134 # Use the presentlang catalog if desiredlang is
24135 # a. equal to presentlang, or
24136 # b. a variant of presentlang (because in this case,
24137 # presentlang can be used as a fallback for messages
24138 # which are not translated in the desiredlang catalog).
24139 case "$desiredlang" in
24140 "$presentlang"*) useit
=yes;;
24143 if test $useit = yes; then
24144 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24149 if test -n "$INST_LINGUAS"; then
24150 for lang
in $INST_LINGUAS; do
24151 CATALOGS
="$CATALOGS $lang.gmo"
24154 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24155 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"
24156 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24157 if test -f "$f"; then
24159 *.orig |
*.bak |
*~
) ;;
24160 *) cat "$f" >> "$ac_dir/Makefile" ;;
24175 ac_clean_files
=$ac_clean_files_save
24177 test $ac_write_fail = 0 ||
24178 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24181 # configure is writing to config.log, and then calls config.status.
24182 # config.status does its own redirection, appending to config.log.
24183 # Unfortunately, on DOS this fails, as config.log is still kept open
24184 # by configure, so config.status won't be able to write to it; its
24185 # output is simply discarded. So we exec the FD to /dev/null,
24186 # effectively closing config.log, so it can be properly (re)opened and
24187 # appended to by config.status. When coming back to configure, we
24188 # need to make the FD available again.
24189 if test "$no_create" != yes; then
24191 ac_config_status_args
=
24192 test "$silent" = yes &&
24193 ac_config_status_args
="$ac_config_status_args --quiet"
24195 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24197 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24198 # would make configure fail if this is the last instruction.
24199 $ac_cs_success || as_fn_exit
1
24201 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24203 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}