2 # From configure.ac Rev:29 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.22.
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.22'
595 PACKAGE_STRING
='alpine 2.22'
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
661 alpine_interactive_spellcheck
663 alpine_simple_spellcheck
748 MAINTAINER_MODE_FALSE
762 INSTALL_STRIP_PROGRAM
804 program_transform_name
817 enable_option_checking
819 enable_maintainer_mode
820 enable_dependency_tracking
838 enable_osx_universal_binaries
848 enable_background_post
856 with_simple_spellcheck
857 with_interactive_spellcheck
859 with_system_fixed_pinerc
860 with_local_support_info
861 with_mailcheck_interval
862 with_checkpoint_interval
863 with_checkpoint_frequency
866 with_max_display_rows
867 with_max_display_columns
873 with_forwarded_keyword
877 with_default_save_folder
878 with_default_legacy_postponed_folder
879 with_default_postponed_folder
880 with_default_trash_folder
881 with_default_interrupted_mail
882 with_default_dead_letter_folder
883 with_default_mail_directory
884 with_default_inbox_name
885 with_default_signature_file
886 with_default_elm_style_save
887 with_default_header_in_reply
888 with_default_old_style_reply
889 with_default_use_only_domain_name
890 with_default_save_by_sender
891 with_default_sort_key
892 with_default_addressbook_sort_rule
893 with_default_folder_sort_rule
894 with_default_saved_message_name_rule
895 with_default_fcc_rule
896 with_default_standard_printer
897 with_default_ansi_printer
898 with_default_addressbook
899 with_default_local_fullname
900 with_default_local_address
901 with_default_keyboard_lock_count
902 with_default_remote_addressbook_history
903 with_html_messages_directory
904 with_smime_public_cert_directory
905 with_smime_private_key_directory
906 with_smime_cacert_directory
909 with_local_password_cache
910 with_local_password_cache_method
918 with_encryption_minimum_version
919 with_encryption_maximum_version
920 with_encryption_range
923 with_krb5_include_dir
927 with_ldap_include_dir
936 with_system_mail_directory
942 ac_precious_vars
='build_alias
954 # Initialize some variables set by options.
956 ac_init_version
=false
957 ac_unrecognized_opts
=
959 # The variables have the same names as the options, with
960 # dashes changed to underlines.
968 program_transform_name
=s
,x
,x
,
976 # Installation directory options.
977 # These are left unexpanded so users can "make install exec_prefix=/foo"
978 # and all the variables that are supposed to be based on exec_prefix
979 # by default will actually change.
980 # Use braces instead of parens because sh, perl, etc. also accept them.
981 # (The list follows the same order as the GNU Coding Standards.)
982 bindir
='${exec_prefix}/bin'
983 sbindir
='${exec_prefix}/sbin'
984 libexecdir
='${exec_prefix}/libexec'
985 datarootdir
='${prefix}/share'
986 datadir
='${datarootdir}'
987 sysconfdir
='${prefix}/etc'
988 sharedstatedir
='${prefix}/com'
989 localstatedir
='${prefix}/var'
990 includedir
='${prefix}/include'
991 oldincludedir
='/usr/include'
992 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
993 infodir
='${datarootdir}/info'
998 libdir
='${exec_prefix}/lib'
999 localedir
='${datarootdir}/locale'
1000 mandir
='${datarootdir}/man'
1006 # If the previous option needs an argument, assign it.
1007 if test -n "$ac_prev"; then
1008 eval $ac_prev=\
$ac_option
1014 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019 # Accept the important Cygnus configure options, so we can diagnose typos.
1021 case $ac_dashdash$ac_option in
1025 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1027 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1028 bindir
=$ac_optarg ;;
1030 -build |
--build |
--buil |
--bui |
--bu)
1031 ac_prev
=build_alias
;;
1032 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1033 build_alias
=$ac_optarg ;;
1035 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1036 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1037 ac_prev
=cache_file
;;
1038 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1039 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1040 cache_file
=$ac_optarg ;;
1042 --config-cache |
-C)
1043 cache_file
=config.cache
;;
1045 -datadir |
--datadir |
--datadi |
--datad)
1047 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1048 datadir
=$ac_optarg ;;
1050 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1051 |
--dataroo |
--dataro |
--datar)
1052 ac_prev
=datarootdir
;;
1053 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1054 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1055 datarootdir
=$ac_optarg ;;
1057 -disable-* |
--disable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error $?
"invalid feature name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_
$ac_useropt"
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval enable_
$ac_useropt=no
;;
1073 -docdir |
--docdir |
--docdi |
--doc |
--do)
1075 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1076 docdir
=$ac_optarg ;;
1078 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1080 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1081 dvidir
=$ac_optarg ;;
1083 -enable-* |
--enable-*)
1084 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error $?
"invalid feature name: $ac_useropt"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1092 "enable_
$ac_useropt"
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval enable_
$ac_useropt=\
$ac_optarg ;;
1099 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1100 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1101 |
--exec |
--exe |
--ex)
1102 ac_prev
=exec_prefix
;;
1103 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1104 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1105 |
--exec=* |
--exe=* |
--ex=*)
1106 exec_prefix
=$ac_optarg ;;
1108 -gas |
--gas |
--ga |
--g)
1109 # Obsolete; use --with-gas.
1112 -help |
--help |
--hel |
--he |
-h)
1113 ac_init_help
=long
;;
1114 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1115 ac_init_help
=recursive
;;
1116 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1117 ac_init_help
=short
;;
1119 -host |
--host |
--hos |
--ho)
1120 ac_prev
=host_alias
;;
1121 -host=* |
--host=* |
--hos=* |
--ho=*)
1122 host_alias
=$ac_optarg ;;
1124 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1126 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1128 htmldir
=$ac_optarg ;;
1130 -includedir |
--includedir |
--includedi |
--included |
--include \
1131 |
--includ |
--inclu |
--incl |
--inc)
1132 ac_prev
=includedir
;;
1133 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1134 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1135 includedir
=$ac_optarg ;;
1137 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1139 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1140 infodir
=$ac_optarg ;;
1142 -libdir |
--libdir |
--libdi |
--libd)
1144 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1145 libdir
=$ac_optarg ;;
1147 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1148 |
--libexe |
--libex |
--libe)
1149 ac_prev
=libexecdir
;;
1150 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1151 |
--libexe=* |
--libex=* |
--libe=*)
1152 libexecdir
=$ac_optarg ;;
1154 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1155 ac_prev
=localedir
;;
1156 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1157 localedir
=$ac_optarg ;;
1159 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1160 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1161 ac_prev
=localstatedir
;;
1162 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1163 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1164 localstatedir
=$ac_optarg ;;
1166 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1168 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1169 mandir
=$ac_optarg ;;
1171 -nfp |
--nfp |
--nf)
1172 # Obsolete; use --without-fp.
1175 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1176 |
--no-cr |
--no-c |
-n)
1179 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1180 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1183 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1184 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1185 |
--oldin |
--oldi |
--old |
--ol |
--o)
1186 ac_prev
=oldincludedir
;;
1187 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1188 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1189 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1190 oldincludedir
=$ac_optarg ;;
1192 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1194 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1195 prefix
=$ac_optarg ;;
1197 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1198 |
--program-pre |
--program-pr |
--program-p)
1199 ac_prev
=program_prefix
;;
1200 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1201 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1202 program_prefix
=$ac_optarg ;;
1204 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1205 |
--program-suf |
--program-su |
--program-s)
1206 ac_prev
=program_suffix
;;
1207 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1208 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1209 program_suffix
=$ac_optarg ;;
1211 -program-transform-name |
--program-transform-name \
1212 |
--program-transform-nam |
--program-transform-na \
1213 |
--program-transform-n |
--program-transform- \
1214 |
--program-transform |
--program-transfor \
1215 |
--program-transfo |
--program-transf \
1216 |
--program-trans |
--program-tran \
1217 |
--progr-tra |
--program-tr |
--program-t)
1218 ac_prev
=program_transform_name
;;
1219 -program-transform-name=* |
--program-transform-name=* \
1220 |
--program-transform-nam=* |
--program-transform-na=* \
1221 |
--program-transform-n=* |
--program-transform-=* \
1222 |
--program-transform=* |
--program-transfor=* \
1223 |
--program-transfo=* |
--program-transf=* \
1224 |
--program-trans=* |
--program-tran=* \
1225 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1226 program_transform_name
=$ac_optarg ;;
1228 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1230 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1231 pdfdir
=$ac_optarg ;;
1233 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1235 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1238 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1239 |
-silent |
--silent |
--silen |
--sile |
--sil)
1242 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1244 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1246 sbindir
=$ac_optarg ;;
1248 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1249 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1250 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1252 ac_prev
=sharedstatedir
;;
1253 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1254 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1255 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1257 sharedstatedir
=$ac_optarg ;;
1259 -site |
--site |
--sit)
1261 -site=* |
--site=* |
--sit=*)
1264 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1266 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1267 srcdir
=$ac_optarg ;;
1269 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1270 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1271 ac_prev
=sysconfdir
;;
1272 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1273 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1274 sysconfdir
=$ac_optarg ;;
1276 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1277 ac_prev
=target_alias
;;
1278 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1279 target_alias
=$ac_optarg ;;
1281 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1284 -version |
--version |
--versio |
--versi |
--vers |
-V)
1285 ac_init_version
=: ;;
1288 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 as_fn_error $?
"invalid package name: $ac_useropt"
1292 ac_useropt_orig
=$ac_useropt
1293 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1294 case $ac_user_opts in
1298 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1299 ac_unrecognized_sep
=', ';;
1301 eval with_
$ac_useropt=\
$ac_optarg ;;
1303 -without-* |
--without-*)
1304 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1307 as_fn_error $?
"invalid package name: $ac_useropt"
1308 ac_useropt_orig
=$ac_useropt
1309 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1310 case $ac_user_opts in
1314 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1315 ac_unrecognized_sep
=', ';;
1317 eval with_
$ac_useropt=no
;;
1320 # Obsolete; use --with-x.
1323 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1324 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1325 ac_prev
=x_includes
;;
1326 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1327 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1328 x_includes
=$ac_optarg ;;
1330 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1331 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1332 ac_prev
=x_libraries
;;
1333 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1334 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1335 x_libraries
=$ac_optarg ;;
1337 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1338 Try \`$0 --help' for more information"
1342 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1343 # Reject names that are not valid shell variable names.
1344 case $ac_envvar in #(
1345 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1346 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1348 eval $ac_envvar=\
$ac_optarg
1349 export $ac_envvar ;;
1352 # FIXME: should be removed in autoconf 3.0.
1353 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1354 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1355 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1356 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1362 if test -n "$ac_prev"; then
1363 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1364 as_fn_error $?
"missing argument to $ac_option"
1367 if test -n "$ac_unrecognized_opts"; then
1368 case $enable_option_checking in
1370 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1371 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1375 # Check all directory arguments for consistency.
1376 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1377 datadir sysconfdir sharedstatedir localstatedir includedir \
1378 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1379 libdir localedir mandir
1381 eval ac_val
=\$
$ac_var
1382 # Remove trailing slashes.
1385 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1386 eval $ac_var=\
$ac_val;;
1388 # Be sure to have absolute directory names.
1390 [\\/$
]* | ?
:[\\/]* ) continue;;
1391 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1393 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1396 # There might be people who depend on the old broken behavior: `$host'
1397 # used to hold the argument of --host etc.
1398 # FIXME: To remove some day.
1401 target
=$target_alias
1403 # FIXME: To remove some day.
1404 if test "x$host_alias" != x
; then
1405 if test "x$build_alias" = x
; then
1406 cross_compiling
=maybe
1407 elif test "x$build_alias" != "x$host_alias"; then
1413 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1415 test "$silent" = yes && exec 6>/dev
/null
1418 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1419 ac_ls_di
=`ls -di .` &&
1420 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1421 as_fn_error $?
"working directory cannot be determined"
1422 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1423 as_fn_error $?
"pwd does not report name of working directory"
1426 # Find the source files, if location was not specified.
1427 if test -z "$srcdir"; then
1428 ac_srcdir_defaulted
=yes
1429 # Try the directory containing this script, then the parent directory.
1430 ac_confdir
=`$as_dirname -- "$as_myself" ||
1431 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1432 X"$as_myself" : 'X\(//\)[^/]' \| \
1433 X"$as_myself" : 'X\(//\)$' \| \
1434 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1435 $as_echo X"$as_myself" |
1436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454 if test ! -r "$srcdir/$ac_unique_file"; then
1458 ac_srcdir_defaulted
=no
1460 if test ! -r "$srcdir/$ac_unique_file"; then
1461 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1462 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1464 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1466 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1468 # When building in place, set srcdir=.
1469 if test "$ac_abs_confdir" = "$ac_pwd"; then
1472 # Remove unnecessary trailing slashes from srcdir.
1473 # Double slashes in file names in object file debugging info
1474 # mess up M-x gdb in Emacs.
1476 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1478 for ac_var
in $ac_precious_vars; do
1479 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1480 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1481 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1482 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1486 # Report the --help message.
1488 if test "$ac_init_help" = "long"; then
1489 # Omit some internal or obsolete options to make the list less imposing.
1490 # This message is too long to be a string in the A/UX 3.1 sh.
1492 \`configure' configures alpine 2.22 to adapt to many kinds of systems.
1494 Usage: $0 [OPTION]... [VAR=VALUE]...
1496 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1497 VAR=VALUE. See below for descriptions of some of the useful variables.
1499 Defaults for the options are specified in brackets.
1502 -h, --help display this help and exit
1503 --help=short display options specific to this package
1504 --help=recursive display the short help of all the included packages
1505 -V, --version display version information and exit
1506 -q, --quiet, --silent do not print \`checking ...' messages
1507 --cache-file=FILE cache test results in FILE [disabled]
1508 -C, --config-cache alias for \`--cache-file=config.cache'
1509 -n, --no-create do not create output files
1510 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1512 Installation directories:
1513 --prefix=PREFIX install architecture-independent files in PREFIX
1514 [$ac_default_prefix]
1515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1518 By default, \`make install' will install all the files in
1519 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1520 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1521 for instance \`--prefix=\$HOME'.
1523 For better control, use the options below.
1525 Fine tuning of the installation directories:
1526 --bindir=DIR user executables [EPREFIX/bin]
1527 --sbindir=DIR system admin executables [EPREFIX/sbin]
1528 --libexecdir=DIR program executables [EPREFIX/libexec]
1529 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1530 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1531 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1532 --libdir=DIR object code libraries [EPREFIX/lib]
1533 --includedir=DIR C header files [PREFIX/include]
1534 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1535 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1536 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1537 --infodir=DIR info documentation [DATAROOTDIR/info]
1538 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1539 --mandir=DIR man documentation [DATAROOTDIR/man]
1540 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1541 --htmldir=DIR html documentation [DOCDIR]
1542 --dvidir=DIR dvi documentation [DOCDIR]
1543 --pdfdir=DIR pdf documentation [DOCDIR]
1544 --psdir=DIR ps documentation [DOCDIR]
1550 --program-prefix=PREFIX prepend PREFIX to installed program names
1551 --program-suffix=SUFFIX append SUFFIX to installed program names
1552 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1555 --build=BUILD configure
for building on BUILD
[guessed
]
1556 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1560 if test -n "$ac_init_help"; then
1561 case $ac_init_help in
1562 short | recursive
) echo "Configuration of alpine 2.22:";;
1567 --disable-option-checking ignore unrecognized
--enable/--with options
1568 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1569 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1570 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1571 --disable-silent-rules verbose build output
(undo
: "make V=0")
1572 --enable-maintainer-mode
1573 enable make rules and dependencies not useful
(and
1574 sometimes confusing
) to the casual installer
1575 --enable-dependency-tracking
1576 do not reject slow dependency extractors
1577 --disable-dependency-tracking
1578 speeds up one-time build
1579 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1580 --enable-static[=PKGS
] build static libraries
[default
=yes]
1581 --enable-fast-install[=PKGS
]
1582 optimize
for fast installation
[default
=yes]
1583 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1584 --disable-nls do not use Native Language Support
1585 --disable-rpath do not hardcode runtime library paths
1586 --enable-dmalloc Enable dmalloc debugging
1587 --enable-osx-universal-binaries
1588 Produce universal binaries under OS X
[[default
=no
]]
1589 --disable-debug Exclude debug messages from
source
1590 --disable-optimization Exclude optimizing compiler flags
1591 --disable-mouse Disable mouse support
1592 --enable-quotas Enable disk quota checking on startup
1593 --disable-from-changing Disallow users changing From addresss
1594 --disable-background-post
1595 Disable background posting
1596 --disable-keyboard-lock Disable keyboard locking
1597 --enable-from-encoding Enable From encoding
in sent messages
1600 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1601 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1602 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1604 --with-aix-soname=aix|svr4|both
1605 shared library versioning
(aka
"SONAME") variant to
1606 provide on AIX
, [default
=aix
].
1607 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1608 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1609 compiler
's sysroot if not specified).
1610 --with-gnu-ld assume the C compiler uses GNU ld default=no
1611 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1612 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1613 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1614 --without-libintl-prefix don
't search for libintl in includedir and libdir
1615 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1616 --with-date-stamp=DATE Set this as the date this program was built.
1617 Default: output of `date`
1618 --with-host-stamp=HOST Set name of computer for compilation. Default:
1619 output of `hostname`
1620 --with-localedir=DIR Name of gettext locale directory
1621 --with-include-path=PATHS
1622 Colon-separated list of directories used for include
1624 --with-lib-path=PATHS Colon-separated list of directories used for library
1626 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1627 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1628 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1629 --with-smtp-msa-flags=FLAGS
1630 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1631 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1632 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1633 --with-password-prog=PATH
1634 Password change program (/bin/passwd)
1635 --with-simple-spellcheck=PROG
1636 Spellcheck program reads stdin, emits misspellings
1638 --with-interactive-spellcheck=PROG
1639 Interactive, filewise spell checker
1640 --with-system-pinerc=VALUE
1641 System pinerc (/usr/local/lib/pine.conf)
1642 --with-system-fixed-pinerc=VALUE
1643 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1644 --with-local-support-info=VALUE
1645 Local Support Info File (/usr/local/lib/pine.info)
1646 --with-mailcheck-interval=VALUE
1647 Specify default mail-check-interval (150)
1648 --with-checkpoint-interval=VALUE
1649 Specify default checkpoint-interval (420)
1650 --with-checkpoint-frequency=VALUE
1651 State change count before checkpoint (12)
1652 --with-display-rows=VALUE
1653 Initial rows on display (24)
1654 --with-display-columns=VALUE
1655 Initial columns on display (80)
1656 --with-max-display-rows=VALUE
1657 Maximum display rows (200)
1658 --with-max-display-columns=VALUE
1659 Maximum display columns (500)
1660 --with-fill-column=VALUE
1661 Default fill column (74)
1662 --with-max_fill-column=VALUE
1663 Maximum fill column (80)
1664 --with-debug-level=VALUE
1665 Specify default debug verbosity level (2)
1666 --with-debug-files=VALUE
1667 Specify number of debug files (4)
1668 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1669 --with-forwarded-keyword=VALUE
1670 IMAP (c-client) keyword to store forwarded status
1672 --with-display-overlap=VALUE
1673 Lines preserved while paging (2)
1674 --with-display-margin=VALUE
1675 Lines visible while scrolling (0)
1676 --with-default-fcc=VALUE
1677 Default sent mail folder (sent-mail)
1678 --with-default-save-folder=VALUE
1679 Default save folder (saved-messages)
1680 --with-default-legacy-postponed-folder=VALUE
1681 Pre Pine 3.90 postponed folder (postponed-mail)
1682 --with-default-postponed-folder=VALUE
1683 Default postponed folder (postponed-msgs)
1684 --with-default-trash-folder=VALUE
1685 Default Trash folder for Web Alpine (Trash)
1686 --with-default-interrupted-mail=VALUE
1687 Default folder for interrupted mail
1688 (.pine-interrupted-mail)
1689 --with-default-dead-letter-folder=VALUE
1690 Default dead letter folder (dead.letter)
1691 --with-default-mail-directory=VALUE
1692 Default mail directory (mail)
1693 --with-default-inbox-name=VALUE
1694 Default inbox name (INBOX)
1695 --with-default-signature-file=VALUE
1696 Default signature file (.signature)
1697 --with-default-elm-style-save=VALUE
1698 Default to Elm style save (no)
1699 --with-default-header-in-reply=VALUE
1700 Include header in reply (no)
1701 --with-default-old-style-reply=VALUE
1702 Default to old style reply (no)
1703 --with-default-use-only-domain-name=VALUE
1704 Default to using only the domain name (no)
1705 --with-default-save-by-sender=VALUE
1706 Default to save by sender (no)
1707 --with-default-sort-key=VALUE
1708 Default sort key (arrival)
1709 --with-default-addressbook-sort-rule=VALUE
1710 Default addressbook sort rule
1711 (fullname-with-lists-last)
1712 --with-default-folder-sort-rule=VALUE
1713 Default folder sort rule (alphabetical)
1714 --with-default-saved-message-name-rule=VALUE
1715 Default saved message name rule (default-folder)
1716 --with-default-fcc-rule=VALUE
1717 Default fcc rule (default-fcc)
1718 --with-default-standard-printer=VALUE
1719 Default standard printern (lpr)
1720 --with-default-ansi-printer=VALUE
1721 ANSI printer definition (attached-to-ansi)
1722 --with-default-addressbook=VALUE
1723 Default addressbook name (.addressbook)
1724 --with-default-local-fullname=VALUE
1725 Default local support fullname ("Local Support")
1726 --with-default-local-address=VALUE
1727 Default local support address (postmaster)
1728 --with-default-keyboard-lock-count=VALUE
1729 Default keyboard lock count (1)
1730 --with-default-remote-addressbook-history=VALUE
1731 Default address book history count (3)
1732 --with-html-messages-directory=VALUE
1733 Default Directory to Temporarily Save HTML Messages
1735 --with-smime-public-cert-directory=VALUE
1736 Default Public Cert Directory (.alpine-smime/public)
1737 --with-smime-private-key-directory=VALUE
1738 Default Private Key Directory
1739 (.alpine-smime/private)
1740 --with-smime-cacert-directory=VALUE
1741 Default Cert Authority Directory (.alpine-smime/ca)
1742 --with-default-printer=VALUE
1743 Default printer (ANSI_PRINTER)
1744 --with-passfile=FILENAME
1745 Password cache file (recommended when S/MIME is
1746 enabled and configured)
1747 --without-local-password-cache
1748 Disable OS-specific password cache, if supported
1749 --with-local-password-cache-method
1750 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1752 --with-default-sshpath=FILENAME
1753 set default value of ssh command path (defining
1754 should cause ssh to be preferred to rsh)
1755 --with-default-sshcmd=PERCENT_S_STRING
1756 set default value of ssh command string (usually "%s
1757 %s -l %s exec /etc/r%sd")
1758 --without-ssl Disable SSL support (OpenSSL)
1759 --with-ssl-dir=DIR Root of SSL lib/include path
1760 --with-ssl-certs-dir=DIR
1761 Path to SSL certificate directory
1762 --with-ssl-include-dir=DIR
1763 SSL include file path
1764 --with-ssl-lib-dir=DIR SSL library path
1765 --encryption-minimum-version=VERSION
1766 Minimum SSL encryption version. Default: no_min
1767 --encryption-maximum-version=VERSION
1768 Maximum SSL encryption version. Default: no_max
1769 --with-encryption-range=VALUE
1770 Default Encryption Range ($alpine_RANGE )
1771 --without-krb5 Disable Kerberos support
1772 --with-krb5-dir=DIR Root of Kerberos lib/include path
1773 --with-krb5-include-dir=DIR
1774 Kerberos include file path
1775 --with-krb5-lib-dir=DIR Kerberos library path
1776 --without-ldap Disable LDAP query support
1777 --with-ldap-dir=DIR Root of LDAP lib/include path
1778 --with-ldap-include-dir=DIR
1779 Directory containing LDAP include files
1780 --with-ldap-lib-dir=DIR LDAP library path
1781 --without-smime Disable S/MIME
1782 --without-tcl Disable TCL, thus Web Alpine support
1783 --with-tcl-lib-dir=PATH Specific TCL Librar dir, like \"/usr/opt/tcl86/lib\"
1784 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1785 --with-tcl-include=DIR Directory containing TCL include files
1786 --with-supplied-regex Use regex library supplied with alpine
1787 --without-pthread Do NOT test for nor build with POSIX thread support
1788 --with-system-mail-directory=DIR
1789 Directory where local mail is delivered
1790 --with-c-client-target=TARGET
1791 IMAP build target (see imap/Makefile)
1792 --with-bundled-tools Build additional tools (mtest, imapd, etc.) Default:
1793 --with-bundled-tools=no
1794 --without-ipv6 Disable IPv6, primarily to work around resolver
1796 --without-ntlm Disable NTLM client support
1798 Some influential environment variables:
1799 CC C compiler command
1800 CFLAGS C compiler flags
1801 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1802 nonstandard directory <lib dir>
1803 LIBS libraries to pass to the linker, e.g. -l<library>
1804 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1805 you have headers in a nonstandard directory <include dir>
1808 User-defined run-time library search path.
1810 Use these variables to override the choices made by `configure' or to
help
1811 it to
find libraries and programs with nonstandard names
/locations.
1813 Report bugs to
<chappa@washington.edu
>.
1818 if test "$ac_init_help" = "recursive"; then
1819 # If there are subdirs, report their specific --help.
1820 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1821 test -d "$ac_dir" ||
1822 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1827 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1829 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1830 # A ".." for each directory in $ac_dir_suffix.
1831 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1832 case $ac_top_builddir_sub in
1833 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1834 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1837 ac_abs_top_builddir
=$ac_pwd
1838 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1839 # for backward compatibility:
1840 ac_top_builddir
=$ac_top_build_prefix
1843 .
) # We are building in place.
1845 ac_top_srcdir
=$ac_top_builddir_sub
1846 ac_abs_top_srcdir
=$ac_pwd ;;
1847 [\\/]* | ?
:[\\/]* ) # Absolute name.
1848 ac_srcdir
=$srcdir$ac_dir_suffix;
1849 ac_top_srcdir
=$srcdir
1850 ac_abs_top_srcdir
=$srcdir ;;
1852 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1853 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1854 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1856 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1858 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1859 # Check for guested configure.
1860 if test -f "$ac_srcdir/configure.gnu"; then
1862 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1863 elif test -f "$ac_srcdir/configure"; then
1865 $SHELL "$ac_srcdir/configure" --help=recursive
1867 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1869 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1873 test -n "$ac_init_help" && exit $ac_status
1874 if $ac_init_version; then
1876 alpine configure
2.22
1877 generated by GNU Autoconf
2.69
1879 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1880 This configure
script is free software
; the Free Software Foundation
1881 gives unlimited permission to copy
, distribute and modify it.
1886 ## ------------------------ ##
1887 ## Autoconf initialization. ##
1888 ## ------------------------ ##
1890 # ac_fn_c_try_compile LINENO
1891 # --------------------------
1892 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_c_try_compile
()
1895 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1896 rm -f conftest.
$ac_objext
1897 if { { ac_try
="$ac_compile"
1899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_compile") 2>conftest.err
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } && {
1913 test -z "$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1915 } && test -s conftest.$ac_objext; then :
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_c_try_compile
1928 # ac_fn_c_try_cpp LINENO
1929 # ----------------------
1930 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 if { { ac_try="$ac_cpp conftest.$ac_ext"
1936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1937 *) ac_try_echo
=$ac_try;;
1939 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1940 $as_echo "$ac_try_echo"; } >&5
1941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1943 if test -s conftest.err
; then
1944 grep -v '^ *+' conftest.err
>conftest.er1
1945 cat conftest.er1
>&5
1946 mv -f conftest.er1 conftest.err
1948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1949 test $ac_status = 0; } > conftest.i
&& {
1950 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1951 test ! -s conftest.err
1955 $as_echo "$as_me: failed program was:" >&5
1956 sed 's/^/| /' conftest.
$ac_ext >&5
1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961 as_fn_set_status
$ac_retval
1965 # ac_fn_c_try_link LINENO
1966 # -----------------------
1967 # Try to link conftest.$ac_ext, and return whether this succeeded.
1970 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1971 rm -f conftest.
$ac_objext conftest
$ac_exeext
1972 if { { ac_try
="$ac_link"
1974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1975 *) ac_try_echo=$ac_try;;
1977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979 (eval "$ac_link") 2>conftest.err
1981 if test -s conftest.err; then
1982 grep -v '^ *+' conftest.err >conftest.er1
1983 cat conftest.er1 >&5
1984 mv -f conftest.er1 conftest.err
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; } && {
1988 test -z "$ac_c_werror_flag" ||
1989 test ! -s conftest.err
1990 } && test -s conftest$ac_exeext && {
1991 test "$cross_compiling" = yes ||
1992 test -x conftest$ac_exeext
1996 $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
2001 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2002 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2003 # interfere with the next link command; also delete a directory that is
2004 # left behind by Apple's compiler. We do this before executing the actions.
2005 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 as_fn_set_status $ac_retval
2009 } # ac_fn_c_try_link
2011 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2012 # -------------------------------------------------------
2013 # Tests whether HEADER exists and can be compiled using the include files in
2014 # INCLUDES, setting the cache variable VAR accordingly.
2015 ac_fn_c_check_header_compile ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2019 $as_echo_n "checking for $2... " >&6; }
2020 if eval \${$3+:} false; then :
2021 $as_echo_n "(cached) " >&6
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2028 if ac_fn_c_try_compile "$LINENO"; then :
2033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037 $as_echo "$ac_res" >&6; }
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040 } # ac_fn_c_check_header_compile
2042 # ac_fn_c_try_run LINENO
2043 # ----------------------
2044 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2045 # that executables *can* be run.
2048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2049 if { { ac_try="$ac_link"
2051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2052 *) ac_try_echo
=$ac_try;;
2054 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2055 $as_echo "$ac_try_echo"; } >&5
2056 (eval "$ac_link") 2>&5
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2060 { { case "(($ac_try" in
2061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2062 *) ac_try_echo=$ac_try;;
2064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2065 $as_echo "$ac_try_echo"; } >&5
2066 (eval "$ac_try") 2>&5
2068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2069 test $ac_status = 0; }; }; then :
2072 $as_echo "$as_me: program exited with status $ac_status" >&5
2073 $as_echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.$ac_ext >&5
2076 ac_retval=$ac_status
2078 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 as_fn_set_status $ac_retval
2084 # ac_fn_c_check_func LINENO FUNC VAR
2085 # ----------------------------------
2086 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2087 ac_fn_c_check_func ()
2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if eval \${$3+:} false; then :
2093 $as_echo_n "(cached) " >&6
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2097 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2099 #define $2 innocuous_$2
2101 /* System header to define __stub macros and hopefully few prototypes,
2102 which can conflict with char $2 (); below.
2103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2104 <limits.h> exists even on freestanding compilers. */
2107 # include <limits.h>
2109 # include <assert.h>
2114 /* Override any GCC internal prototype to avoid an error.
2115 Use char because int might match the return type of a GCC
2116 builtin and then its argument prototype would still apply. */
2121 /* The GNU C library defines this for functions which it implements
2122 to always fail with ENOSYS. Some functions are actually named
2123 something starting with __ and the normal name is an alias. */
2124 #if defined __stub_$2 || defined __stub___$2
2136 if ac_fn_c_try_link "$LINENO"; then :
2141 rm -f core conftest.err conftest.$ac_objext \
2142 conftest$ac_exeext conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2146 $as_echo "$ac_res" >&6; }
2147 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149 } # ac_fn_c_check_func
2151 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2152 # -------------------------------------------------------
2153 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2154 # the include files in INCLUDES and setting the cache variable VAR
2156 ac_fn_c_check_header_mongrel ()
2158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159 if eval \${$3+:} false; then :
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161 $as_echo_n "checking for $2... " >&6; }
2162 if eval \${$3+:} false; then :
2163 $as_echo_n "(cached) " >&6
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2167 $as_echo "$ac_res" >&6; }
2169 # Is the header compilable?
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2171 $as_echo_n "checking $2 usability... " >&6; }
2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173 /* end confdefs.h. */
2177 if ac_fn_c_try_compile "$LINENO"; then :
2178 ac_header_compiler=yes
2180 ac_header_compiler=no
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2184 $as_echo "$ac_header_compiler" >&6; }
2186 # Is the header present?
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2188 $as_echo_n "checking $2 presence... " >&6; }
2189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2193 if ac_fn_c_try_cpp "$LINENO"; then :
2194 ac_header_preproc=yes
2196 ac_header_preproc=no
2198 rm -f conftest.err conftest.i conftest.$ac_ext
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2200 $as_echo "$ac_header_preproc" >&6; }
2202 # So? What about this header?
2203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2206 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2208 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2212 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2214 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2216 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2218 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221 ( $as_echo "## ------------------------------------ ##
2222 ## Report this to chappa@washington.edu ##
2223 ## ------------------------------------ ##"
2224 ) | sed "s/^/$as_me: WARNING: /" >&2
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2228 $as_echo_n "checking for $2... " >&6; }
2229 if eval \${$3+:} false; then :
2230 $as_echo_n "(cached) " >&6
2232 eval "$3=\$ac_header_compiler"
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2236 $as_echo "$ac_res" >&6; }
2238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240 } # ac_fn_c_check_header_mongrel
2242 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2243 # -------------------------------------------
2244 # Tests whether TYPE exists after having included INCLUDES, setting cache
2245 # variable VAR accordingly.
2246 ac_fn_c_check_type ()
2248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2250 $as_echo_n "checking for $2... " >&6; }
2251 if eval \${$3+:} false; then :
2252 $as_echo_n "(cached) " >&6
2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2256 /* end confdefs.h. */
2267 if ac_fn_c_try_compile "$LINENO"; then :
2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2280 if ac_fn_c_try_compile "$LINENO"; then :
2285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2291 $as_echo "$ac_res" >&6; }
2292 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2294 } # ac_fn_c_check_type
2296 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2297 # --------------------------------------------
2298 # Tries to find the compile-time value of EXPR in a program that includes
2299 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2301 ac_fn_c_compute_int ()
2303 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2304 if test "$cross_compiling" = yes; then
2305 # Depending upon the size, compute the lo and hi bounds.
2306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307 /* end confdefs.h. */
2312 static int test_array [1 - 2 * !(($2) >= 0)];
2314 return test_array [0];
2320 if ac_fn_c_try_compile "$LINENO"; then :
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2329 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2331 return test_array [0];
2337 if ac_fn_c_try_compile "$LINENO"; then :
2338 ac_hi=$ac_mid; break
2340 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2341 if test $ac_lo -le $ac_mid; then
2345 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2351 /* end confdefs.h. */
2356 static int test_array [1 - 2 * !(($2) < 0)];
2358 return test_array [0];
2364 if ac_fn_c_try_compile "$LINENO"; then :
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2373 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2375 return test_array [0];
2381 if ac_fn_c_try_compile "$LINENO"; then :
2382 ac_lo=$ac_mid; break
2384 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2385 if test $ac_mid -le $ac_hi; then
2389 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2399 # Binary search between lo and hi bounds.
2400 while test "x$ac_lo" != "x$ac_hi"; do
2401 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2408 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2410 return test_array [0];
2416 if ac_fn_c_try_compile "$LINENO"; then :
2419 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2424 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2431 static long int longval () { return $2; }
2432 static unsigned long int ulongval () { return $2; }
2439 FILE *f = fopen ("conftest.val", "w");
2444 long int i = longval ();
2447 fprintf (f, "%ld", i);
2451 unsigned long int i = ulongval ();
2454 fprintf (f, "%lu", i);
2456 /* Do not output a trailing newline, as this causes \r\n confusion
2457 on some platforms. */
2458 return ferror (f) || fclose (f) != 0;
2464 if ac_fn_c_try_run "$LINENO"; then :
2465 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2470 conftest.$ac_objext conftest.beam conftest.$ac_ext
2474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2475 as_fn_set_status $ac_retval
2477 } # ac_fn_c_compute_int
2478 cat >config.log <<_ACEOF
2479 This file contains any messages produced by compilers while
2480 running configure, to aid debugging if configure makes a mistake.
2482 It was created by alpine $as_me 2.22, which was
2483 generated by GNU Autoconf 2.69. Invocation command line was
2495 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2496 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2497 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2498 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2499 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2501 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2502 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2504 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2505 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2506 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2507 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2508 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2509 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2510 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir=.
2519 $as_echo "PATH: $as_dir"
2535 # Keep a trace of the command line.
2536 # Strip out --no-create and --no-recursion so they do not pile up.
2537 # Strip out --silent because we don't want to record it for future runs.
2538 # Also quote any args containing shell meta-characters.
2539 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_must_keep_next=false
2549 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2551 | -silent | --silent | --silen | --sile | --sil)
2554 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2557 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2559 as_fn_append ac_configure_args1 " '$ac_arg'"
2560 if test $ac_must_keep_next = true; then
2561 ac_must_keep_next=false # Got value, back to normal.
2564 *=* | --config-cache | -C | -disable-* | --disable-* \
2565 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2566 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2567 | -with-* | --with-* | -without-* | --without-* | --x)
2568 case "$ac_configure_args0 " in
2569 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2572 -* ) ac_must_keep_next=true ;;
2575 as_fn_append ac_configure_args " '$ac_arg'"
2580 { ac_configure_args0=; unset ac_configure_args0;}
2581 { ac_configure_args1=; unset ac_configure_args1;}
2583 # When interrupted or exit'd, cleanup temporary files, and complete
2584 # config.log. We remove comments because anyway the quotes in there
2585 # would cause problems or look ugly.
2586 # WARNING: Use '\'' to represent an apostrophe within the trap.
2587 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2588 trap 'exit_status=$?
2589 # Save into config.log some information that might help in debugging.
2593 $as_echo "## ---------------- ##
2594 ## Cache variables. ##
2595 ## ---------------- ##"
2597 # The following way of writing the cache mishandles newlines in values,
2599 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2600 eval ac_val=\$$ac_var
2604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2608 _ | IFS | as_nl) ;; #(
2609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2610 *) { eval $ac_var=; unset $ac_var;} ;;
2615 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2616 *${as_nl}ac_space=\ *)
2618 "s/'\''/'\''\\\\'\'''\''/g;
2619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2629 $as_echo "## ----------------- ##
2630 ## Output variables. ##
2631 ## ----------------- ##"
2633 for ac_var in $ac_subst_vars
2635 eval ac_val=\$$ac_var
2637 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2639 $as_echo "$ac_var='\''$ac_val'\''"
2643 if test -n "$ac_subst_files"; then
2644 $as_echo "## ------------------- ##
2645 ## File substitutions. ##
2646 ## ------------------- ##"
2648 for ac_var in $ac_subst_files
2650 eval ac_val=\$$ac_var
2652 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2654 $as_echo "$ac_var='\''$ac_val'\''"
2659 if test -s confdefs.h; then
2660 $as_echo "## ----------- ##
2667 test "$ac_signal" != 0 &&
2668 $as_echo "$as_me: caught signal $ac_signal"
2669 $as_echo "$as_me: exit $exit_status"
2671 rm -f core *.core core.conftest.* &&
2672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2675 for ac_signal in 1 2 13 15; do
2676 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2680 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2681 rm -f -r conftest* confdefs.h
2683 $as_echo "/* confdefs.h */" > confdefs.h
2685 # Predefined preprocessor variables.
2687 cat >>confdefs.h <<_ACEOF
2688 #define PACKAGE_NAME "$PACKAGE_NAME"
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_STRING "$PACKAGE_STRING"
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE_URL "$PACKAGE_URL"
2712 # Let the site file select an alternate cache file if it wants to.
2713 # Prefer an explicitly selected file to automatically selected ones.
2716 if test -n "$CONFIG_SITE"; then
2717 # We do not want a PATH search for config.site.
2718 case $CONFIG_SITE in #((
2719 -*) ac_site_file1=./$CONFIG_SITE;;
2720 */*) ac_site_file1=$CONFIG_SITE;;
2721 *) ac_site_file1=./$CONFIG_SITE;;
2723 elif test "x$prefix" != xNONE; then
2724 ac_site_file1=$prefix/share/config.site
2725 ac_site_file2=$prefix/etc/config.site
2727 ac_site_file1=$ac_default_prefix/share/config.site
2728 ac_site_file2=$ac_default_prefix/etc/config.site
2730 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2732 test "x$ac_site_file" = xNONE && continue
2733 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2735 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2736 sed 's/^/| /' "$ac_site_file" >&5
2738 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740 as_fn_error $? "failed to load site
script $ac_site_file
2741 See \
`config.log' for more details" "$LINENO" 5; }
2745 if test -r "$cache_file"; then
2746 # Some versions of bash will fail to source /dev/null (special files
2747 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2748 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2750 $as_echo "$as_me: loading cache $cache_file" >&6;}
2752 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2753 *) . "./$cache_file";;
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2758 $as_echo "$as_me: creating cache $cache_file" >&6;}
2762 gt_needs="$gt_needs "
2763 # Check that the precious variables saved in the cache have kept the same
2765 ac_cache_corrupted=false
2766 for ac_var in $ac_precious_vars; do
2767 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2768 eval ac_new_set=\$ac_env_${ac_var}_set
2769 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2770 eval ac_new_val=\$ac_env_${ac_var}_value
2771 case $ac_old_set,$ac_new_set in
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2774 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2775 ac_cache_corrupted=: ;;
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2778 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2779 ac_cache_corrupted=: ;;
2782 if test "x$ac_old_val" != "x$ac_new_val"; then
2783 # differences in whitespace do not lead to failure.
2784 ac_old_val_w=`echo x
$ac_old_val`
2785 ac_new_val_w=`echo x
$ac_new_val`
2786 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2788 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2789 ac_cache_corrupted=:
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2792 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2793 eval $ac_var=\$ac_old_val
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2796 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2798 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2801 # Pass precious variables to config.status.
2802 if test "$ac_new_set" = set; then
2804 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2805 *) ac_arg=$ac_var=$ac_new_val ;;
2807 case " $ac_configure_args " in
2808 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2809 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2813 if $ac_cache_corrupted; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2817 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2818 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2820 ## -------------------- ##
2821 ## Main body of script. ##
2822 ## -------------------- ##
2825 ac_cpp='$CPP $CPPFLAGS'
2826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2833 ac_config_headers="$ac_config_headers include/config.h"
2836 am__api_version='1.15'
2839 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2840 if test -f "$ac_dir/install-sh"; then
2842 ac_install_sh="$ac_aux_dir/install-sh -c"
2844 elif test -f "$ac_dir/install.sh"; then
2846 ac_install_sh="$ac_aux_dir/install.sh -c"
2848 elif test -f "$ac_dir/shtool"; then
2850 ac_install_sh="$ac_aux_dir/shtool install -c"
2854 if test -z "$ac_aux_dir"; then
2855 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2858 # These three variables are undocumented and unsupported,
2859 # and are intended to be withdrawn in a future Autoconf release.
2860 # They can cause serious problems if a builder's source tree is in a directory
2861 # whose full name contains unusual characters.
2862 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2863 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2864 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2867 # Find a good install program. We prefer a C program (faster),
2868 # so one script is as good as another. But avoid the broken or
2869 # incompatible versions:
2870 # SysV /etc/install, /usr/sbin/install
2871 # SunOS /usr/etc/install
2872 # IRIX /sbin/install
2874 # AmigaOS /C/install, which installs bootblocks on floppy discs
2875 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2876 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2877 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2878 # OS/2's system install, which has a completely different semantic
2879 # ./install, which can be erroneously created by make from ./install.sh.
2880 # Reject install programs that cannot install multiple files.
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2882 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2883 if test -z "$INSTALL"; then
2884 if ${ac_cv_path_install+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir=.
2892 # Account for people who put trailing slashes in PATH elements.
2893 case $as_dir/ in #((
2894 ./ | .// | /[cC]/* | \
2895 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2896 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2899 # OSF1 and SCO ODT 3.0 have their own names for install.
2900 # Don't use installbsd from OSF since it installs stuff as root
2902 for ac_prog in ginstall scoinst install; do
2903 for ac_exec_ext in '' $ac_executable_extensions; do
2904 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2905 if test $ac_prog = install &&
2906 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2907 # AIX install. It has an incompatible calling convention.
2909 elif test $ac_prog = install &&
2910 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2911 # program-specific install script used by HP pwplus--don't use.
2914 rm -rf conftest.one conftest.two conftest.dir
2915 echo one > conftest.one
2916 echo two > conftest.two
2918 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2919 test -s conftest.one && test -s conftest.two &&
2920 test -s conftest.dir/conftest.one &&
2921 test -s conftest.dir/conftest.two
2923 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2936 rm -rf conftest.one conftest.two conftest.dir
2939 if test "${ac_cv_path_install+set}" = set; then
2940 INSTALL=$ac_cv_path_install
2942 # As a last resort, use the slow shell script. Don't cache a
2943 # value for INSTALL within a source directory, because that will
2944 # break other packages using the cache if that directory is
2945 # removed, or if the value is a relative name.
2946 INSTALL=$ac_install_sh
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2950 $as_echo "$INSTALL" >&6; }
2952 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2953 # It thinks the first close brace ends the variable substitution.
2954 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2956 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2958 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2961 $as_echo_n "checking whether build environment is sane... " >&6; }
2962 # Reject unsafe characters in $srcdir or the absolute working directory
2963 # name. Accept space and tab only in the latter.
2967 *[\\\"\#\$\&\'\`$am_lf]*)
2968 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2971 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2972 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2975 # Do 'set' in a subshell so we don't clobber the current shell's
2976 # arguments. Must try -L first in case configure is actually a
2977 # symlink; some systems play weird games with the mod time of symlinks
2978 # (eg FreeBSD returns the mod time of the symlink's containing
2982 for am_try
in 1 2; do
2983 echo "timestamp, slept: $am_has_slept" > conftest.
file
2984 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2985 if test "$*" = "X"; then
2987 set X
`ls -t "$srcdir/configure" conftest.file`
2989 if test "$*" != "X $srcdir/configure conftest.file" \
2990 && test "$*" != "X conftest.file $srcdir/configure"; then
2992 # If neither matched, then we have a broken ls. This can happen
2993 # if, for instance, CONFIG_SHELL is bash and it inherits a
2994 # broken ls alias from the environment. This has actually
2995 # happened. Such a system could not be considered "sane".
2996 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2997 alias in your environment" "$LINENO" 5
2999 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3006 test "$2" = conftest.
file
3012 as_fn_error $?
"newly created file is older than distributed files!
3013 Check your system clock" "$LINENO" 5
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3016 $as_echo "yes" >&6; }
3017 # If we didn't sleep, we still need to ensure time stamps of config.status and
3018 # generated files are strictly newer.
3020 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3027 test "$program_prefix" != NONE
&&
3028 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3029 # Use a double $ so make ignores it.
3030 test "$program_suffix" != NONE
&&
3031 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3032 # Double any \ or $.
3033 # By default was `s,x,x', remove it if useless.
3034 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3035 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3037 # Expand $ac_aux_dir to an absolute path.
3038 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3040 if test x
"${MISSING+set}" != xset
; then
3043 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3045 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3048 # Use eval to expand $SHELL
3049 if eval "$MISSING --is-lightweight"; then
3050 am_missing_run
="$MISSING "
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3054 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3057 if test x
"${install_sh+set}" != xset
; then
3060 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3062 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3066 # Installed binaries are usually stripped using 'strip' when the user
3067 # run "make install-strip". However 'strip' might not be the right
3068 # tool to use in cross-compilation environments, therefore Automake
3069 # will honor the 'STRIP' environment variable to overrule this program.
3070 if test "$cross_compiling" != no
; then
3071 if test -n "$ac_tool_prefix"; then
3072 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3073 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_STRIP+:} false
; then :
3077 $as_echo_n "(cached) " >&6
3079 if test -n "$STRIP"; then
3080 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir
=.
3087 for ac_exec_ext
in '' $ac_executable_extensions; do
3088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3089 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 STRIP
=$ac_cv_prog_STRIP
3100 if test -n "$STRIP"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3102 $as_echo "$STRIP" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3110 if test -z "$ac_cv_prog_STRIP"; then
3112 # Extract the first word of "strip", so it can be a program name with args.
3113 set dummy strip
; ac_word
=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$ac_ct_STRIP"; then
3120 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir
=.
3127 for ac_exec_ext
in '' $ac_executable_extensions; do
3128 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3129 ac_cv_prog_ac_ct_STRIP
="strip"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3140 if test -n "$ac_ct_STRIP"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3142 $as_echo "$ac_ct_STRIP" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3148 if test "x$ac_ct_STRIP" = x
; then
3151 case $cross_compiling:$ac_tool_warned in
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3155 ac_tool_warned
=yes ;;
3160 STRIP
="$ac_cv_prog_STRIP"
3164 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3167 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3168 if test -z "$MKDIR_P"; then
3169 if ${ac_cv_path_mkdir+:} false
; then :
3170 $as_echo_n "(cached) " >&6
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3173 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_prog
in mkdir gmkdir
; do
3178 for ac_exec_ext
in '' $ac_executable_extensions; do
3179 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3180 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3181 'mkdir (GNU coreutils) '* | \
3182 'mkdir (coreutils) '* | \
3183 'mkdir (fileutils) '4.1*)
3184 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3194 test -d .
/--version && rmdir .
/--version
3195 if test "${ac_cv_path_mkdir+set}" = set; then
3196 MKDIR_P
="$ac_cv_path_mkdir -p"
3198 # As a last resort, use the slow shell script. Don't cache a
3199 # value for MKDIR_P within a source directory, because that will
3200 # break other packages using the cache if that directory is
3201 # removed, or if the value is a relative name.
3202 MKDIR_P
="$ac_install_sh -d"
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3206 $as_echo "$MKDIR_P" >&6; }
3208 for ac_prog
in gawk mawk nawk
awk
3210 # Extract the first word of "$ac_prog", so it can be a program name with args.
3211 set dummy
$ac_prog; ac_word
=$2
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if ${ac_cv_prog_AWK+:} false
; then :
3215 $as_echo_n "(cached) " >&6
3217 if test -n "$AWK"; then
3218 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3224 test -z "$as_dir" && as_dir
=.
3225 for ac_exec_ext
in '' $ac_executable_extensions; do
3226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3227 ac_cv_prog_AWK
="$ac_prog"
3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238 if test -n "$AWK"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3240 $as_echo "$AWK" >&6; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3247 test -n "$AWK" && break
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3251 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3253 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3254 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3255 $as_echo_n "(cached) " >&6
3257 cat >conftest.
make <<\_ACEOF
3260 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3262 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3263 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3265 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3267 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3271 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3273 $as_echo "yes" >&6; }
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277 $as_echo "no" >&6; }
3278 SET_MAKE
="MAKE=${MAKE-make}"
3281 rm -rf .tst
2>/dev
/null
3282 mkdir .tst
2>/dev
/null
3283 if test -d .tst
; then
3288 rmdir .tst
2>/dev
/null
3290 # Check whether --enable-silent-rules was given.
3291 if test "${enable_silent_rules+set}" = set; then :
3292 enableval
=$enable_silent_rules;
3295 case $enable_silent_rules in # (((
3296 yes) AM_DEFAULT_VERBOSITY
=0;;
3297 no
) AM_DEFAULT_VERBOSITY
=1;;
3298 *) AM_DEFAULT_VERBOSITY
=1;;
3300 am_make
=${MAKE-make}
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3302 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3303 if ${am_cv_make_support_nested_variables+:} false
; then :
3304 $as_echo_n "(cached) " >&6
3306 if $as_echo 'TRUE=$(BAR$(V))
3312 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3313 am_cv_make_support_nested_variables
=yes
3315 am_cv_make_support_nested_variables
=no
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3319 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3320 if test $am_cv_make_support_nested_variables = yes; then
3322 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3324 AM_V
=$AM_DEFAULT_VERBOSITY
3325 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3329 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3330 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3331 # is not polluted with repeated "-I."
3332 am__isrc
=' -I$(srcdir)'
3333 # test to see if srcdir already configured
3334 if test -f $srcdir/config.status
; then
3335 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3339 # test whether we have cygpath
3340 if test -z "$CYGPATH_W"; then
3341 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3342 CYGPATH_W
='cygpath -w'
3349 # Define the identity of the package.
3354 cat >>confdefs.h
<<_ACEOF
3355 #define PACKAGE "$PACKAGE"
3359 cat >>confdefs.h
<<_ACEOF
3360 #define VERSION "$VERSION"
3363 # Some tools Automake needs.
3365 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3368 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3371 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3374 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3377 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3379 # For better backward compatibility. To be removed once Automake 1.9.x
3380 # dies out for good. For more background, see:
3381 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3382 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3383 mkdir_p
='$(MKDIR_P)'
3385 # We need awk for the "check" target (and possibly the TAP driver). The
3386 # system "awk" is bad on some platforms.
3387 # Always define AMTAR for backward compatibility. Yes, it's still used
3388 # in the wild :-( We should find a proper way to deprecate it ...
3392 # We'll loop over all known methods to create a tar archive until one works.
3393 _am_tools
='gnutar pax cpio none'
3395 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3402 # POSIX will say in a future version that running "rm -f" with no argument
3403 # is OK; and we want to be able to make that assumption in our Makefile
3404 # recipes. So use an aggressive probe to check that the usage we want is
3405 # actually supported "in the wild" to an acceptable degree.
3406 # See automake bug#10828.
3407 # To make any issue more visible, cause the running configure to be aborted
3408 # by default if the 'rm' program in use doesn't match our expectations; the
3409 # user can still override this though.
3410 if rm -f && rm -fr && rm -rf; then : OK
; else
3414 Your 'rm' program seems unable to run without file operands specified
3415 on the command line, even when the '-f' option is present. This is contrary
3416 to the behaviour of most rm programs out there, and not conforming with
3417 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3419 Please tell bug-automake@gnu.org about your system, including the value
3420 of your $PATH and any error possibly output before this message. This
3421 can help us improve future automake versions.
3424 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3425 echo 'Configuration will proceed anyway, since you have set the' >&2
3426 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3430 Aborting the configuration process, to ensure you take notice of the issue.
3432 You can download and install GNU coreutils to get an 'rm' implementation
3433 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3435 If you want to complete the configuration process using your problematic
3436 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3437 to "yes", and re-run configure.
3440 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3447 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3448 # Check whether --enable-maintainer-mode was given.
3449 if test "${enable_maintainer_mode+set}" = set; then :
3450 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3452 USE_MAINTAINER_MODE
=no
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3456 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3457 if test $USE_MAINTAINER_MODE = yes; then
3458 MAINTAINER_MODE_TRUE
=
3459 MAINTAINER_MODE_FALSE
='#'
3461 MAINTAINER_MODE_TRUE
='#'
3462 MAINTAINER_MODE_FALSE
=
3465 MAINT
=$MAINTAINER_MODE_TRUE
3469 # Make sure we can run config.sub.
3470 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3471 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3474 $as_echo_n "checking build system type... " >&6; }
3475 if ${ac_cv_build+:} false
; then :
3476 $as_echo_n "(cached) " >&6
3478 ac_build_alias
=$build_alias
3479 test "x$ac_build_alias" = x
&&
3480 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3481 test "x$ac_build_alias" = x
&&
3482 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3483 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3484 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3488 $as_echo "$ac_cv_build" >&6; }
3489 case $ac_cv_build in
3491 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3494 ac_save_IFS
=$IFS; IFS
='-'
3500 # Remember, the first character of IFS is used to create $*,
3501 # except with old shells:
3504 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3508 $as_echo_n "checking host system type... " >&6; }
3509 if ${ac_cv_host+:} false
; then :
3510 $as_echo_n "(cached) " >&6
3512 if test "x$host_alias" = x
; then
3513 ac_cv_host
=$ac_cv_build
3515 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3516 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3521 $as_echo "$ac_cv_host" >&6; }
3524 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3527 ac_save_IFS
=$IFS; IFS
='-'
3533 # Remember, the first character of IFS is used to create $*,
3534 # except with old shells:
3537 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3542 ac_cpp
='$CPP $CPPFLAGS'
3543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3549 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3551 # start out with intent to build Web Alpine
3552 WEB_BUILD
=web
/src
/alpined.d
3556 ac_cpp
='$CPP $CPPFLAGS'
3557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3560 if test -n "$ac_tool_prefix"; then
3561 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3562 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if ${ac_cv_prog_CC+:} false
; then :
3566 $as_echo_n "(cached) " >&6
3568 if test -n "$CC"; then
3569 ac_cv_prog_CC
="$CC" # Let the user override the test.
3571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir
=.
3576 for ac_exec_ext
in '' $ac_executable_extensions; do
3577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 if test -n "$CC"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3591 $as_echo "$CC" >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3599 if test -z "$ac_cv_prog_CC"; then
3601 # Extract the first word of "gcc", so it can be a program name with args.
3602 set dummy gcc
; ac_word
=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$ac_ct_CC"; then
3609 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_ac_ct_CC
="gcc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3629 if test -n "$ac_ct_CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3631 $as_echo "$ac_ct_CC" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3637 if test "x$ac_ct_CC" = x
; then
3640 case $cross_compiling:$ac_tool_warned in
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3644 ac_tool_warned
=yes ;;
3652 if test -z "$CC"; then
3653 if test -n "$ac_tool_prefix"; then
3654 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3655 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3657 $as_echo_n "checking for $ac_word... " >&6; }
3658 if ${ac_cv_prog_CC+:} false
; then :
3659 $as_echo_n "(cached) " >&6
3661 if test -n "$CC"; then
3662 ac_cv_prog_CC
="$CC" # Let the user override the test.
3664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3668 test -z "$as_dir" && as_dir
=.
3669 for ac_exec_ext
in '' $ac_executable_extensions; do
3670 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3671 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 if test -n "$CC"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3684 $as_echo "$CC" >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3693 if test -z "$CC"; then
3694 # Extract the first word of "cc", so it can be a program name with args.
3695 set dummy cc
; ac_word
=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_CC+:} false
; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC
="$CC" # Let the user override the test.
3705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir
=.
3710 for ac_exec_ext
in '' $ac_executable_extensions; do
3711 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3713 ac_prog_rejected
=yes
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 if test $ac_prog_rejected = yes; then
3725 # We found a bogon in the path, so make sure we never use it.
3726 set dummy
$ac_cv_prog_CC
3728 if test $# != 0; then
3729 # We chose a different compiler from the bogus one.
3730 # However, it has the same basename, so the bogon will be chosen
3731 # first if we set CC to just the basename; use the full file name.
3733 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3739 if test -n "$CC"; then
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3741 $as_echo "$CC" >&6; }
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 $as_echo "no" >&6; }
3749 if test -z "$CC"; then
3750 if test -n "$ac_tool_prefix"; then
3751 for ac_prog
in cl.exe
3753 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3754 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3756 $as_echo_n "checking for $ac_word... " >&6; }
3757 if ${ac_cv_prog_CC+:} false
; then :
3758 $as_echo_n "(cached) " >&6
3760 if test -n "$CC"; then
3761 ac_cv_prog_CC
="$CC" # Let the user override the test.
3763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3767 test -z "$as_dir" && as_dir
=.
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3770 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3781 if test -n "$CC"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3783 $as_echo "$CC" >&6; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3790 test -n "$CC" && break
3793 if test -z "$CC"; then
3795 for ac_prog
in cl.exe
3797 # Extract the first word of "$ac_prog", so it can be a program name with args.
3798 set dummy
$ac_prog; ac_word
=$2
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3800 $as_echo_n "checking for $ac_word... " >&6; }
3801 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3802 $as_echo_n "(cached) " >&6
3804 if test -n "$ac_ct_CC"; then
3805 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_ac_ct_CC
="$ac_prog"
3815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3825 if test -n "$ac_ct_CC"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3827 $as_echo "$ac_ct_CC" >&6; }
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 $as_echo "no" >&6; }
3834 test -n "$ac_ct_CC" && break
3837 if test "x$ac_ct_CC" = x
; then
3840 case $cross_compiling:$ac_tool_warned in
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3844 ac_tool_warned
=yes ;;
3853 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3855 as_fn_error $?
"no acceptable C compiler found in \$PATH
3856 See \`config.log' for more details" "$LINENO" 5; }
3858 # Provide some information about the compiler.
3859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3862 for ac_option
in --version -v -V -qversion; do
3863 { { ac_try
="$ac_compiler $ac_option >&5"
3865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3866 *) ac_try_echo=$ac_try;;
3868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869 $as_echo "$ac_try_echo"; } >&5
3870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3872 if test -s conftest.err; then
3874 ... rest of stderr output deleted ...
3875 10q' conftest.err >conftest.er1
3876 cat conftest.er1 >&5
3878 rm -f conftest.er1 conftest.err
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 ac_clean_files_save=$ac_clean_files
3895 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3896 # Try to create an executable without -o first, disregard a.out.
3897 # It will help us diagnose broken compilers, and finding out an intuition
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3900 $as_echo_n "checking whether the C compiler works... " >&6; }
3901 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3903 # The possible output files:
3904 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3907 for ac_file in $ac_files
3910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3911 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3916 if { { ac_try="$ac_link_default"
3918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3919 *) ac_try_echo
=$ac_try;;
3921 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_link_default") 2>&5
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; then :
3927 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3928 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3929 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3930 # so that the user can short-circuit this test for compilers unknown to
3932 for ac_file
in $ac_files ''
3934 test -f "$ac_file" ||
continue
3936 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3939 # We found the default executable, but exeext='' is most
3943 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3945 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3947 # We set ac_cv_exeext here because the later test for it is not
3948 # safe: cross compilers may not add the suffix if given an `-o'
3949 # argument, so we may need to know it at that point already.
3950 # Even if this section looks crufty: it has the advantage of
3957 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3962 if test -z "$ac_file"; then :
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3965 $as_echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.
$ac_ext >&5
3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3970 as_fn_error
77 "C compiler cannot create executables
3971 See \`config.log' for more details" "$LINENO" 5; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3974 $as_echo "yes" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3977 $as_echo_n "checking for C compiler default output file name... " >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3979 $as_echo "$ac_file" >&6; }
3980 ac_exeext
=$ac_cv_exeext
3982 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3983 ac_clean_files
=$ac_clean_files_save
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3985 $as_echo_n "checking for suffix of executables... " >&6; }
3986 if { { ac_try
="$ac_link"
3988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_link") 2>&5
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }; then :
3997 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3998 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3999 # work properly (i.e., refer to `conftest.exe'), while it won't with
4001 for ac_file
in conftest.exe conftest conftest.
*; do
4002 test -f "$ac_file" ||
continue
4004 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4005 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4014 See \`config.log' for more details" "$LINENO" 5; }
4016 rm -f conftest conftest
$ac_cv_exeext
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4018 $as_echo "$ac_cv_exeext" >&6; }
4020 rm -f conftest.
$ac_ext
4021 EXEEXT
=$ac_cv_exeext
4023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4029 FILE *f = fopen ("conftest.out", "w");
4030 return ferror (f) || fclose (f) != 0;
4036 ac_clean_files
="$ac_clean_files conftest.out"
4037 # Check that the compiler produces executables we can run. If not, either
4038 # the compiler is broken, or we cross compile.
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4040 $as_echo_n "checking whether we are cross compiling... " >&6; }
4041 if test "$cross_compiling" != yes; then
4042 { { ac_try
="$ac_link"
4044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_link") 2>&5
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }
4053 if { ac_try='./conftest$ac_cv_exeext'
4054 { { case "(($ac_try" in
4055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4056 *) ac_try_echo
=$ac_try;;
4058 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_try") 2>&5
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; }; then
4066 if test "$cross_compiling" = maybe
; then
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error $?
"cannot run C compiled programs.
4072 If you meant to cross compile, use \`--host'.
4073 See \`config.log' for more details" "$LINENO" 5; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4078 $as_echo "$cross_compiling" >&6; }
4080 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4081 ac_clean_files
=$ac_clean_files_save
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if ${ac_cv_objext+:} false
; then :
4085 $as_echo_n "(cached) " >&6
4087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try
="$ac_compile"
4101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4125 See \
`config.log' for more details" "$LINENO" 5; }
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if ${ac_cv_c_compiler_gnu+:} false; then :
4136 $as_echo_n "(cached) " >&6
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4152 if ac_fn_c_try_compile "$LINENO"; then :
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if ${ac_cv_prog_cc_g+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4190 if ac_fn_c_try_compile "$LINENO"; then :
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4205 if ac_fn_c_try_compile "$LINENO"; then :
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4221 if ac_fn_c_try_compile "$LINENO"; then :
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4242 if test "$GCC" = yes; then
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if ${ac_cv_prog_cc_c89+:} false; then :
4251 $as_echo_n "(cached) " >&6
4253 ac_cv_prog_cc_c89=no
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4260 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4261 struct buf { int x; };
4262 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4263 static char *e (p, i)
4269 static char *f (char * (*g) (char **, int), char **p, ...)
4274 s = g (p, va_arg (v,int));
4279 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4280 function prototypes and stuff, but not '\xHH' hex character constants.
4281 These don't provoke an error unfortunately, instead are silently treated
4282 as 'x'. The following induces an error, until -std is added to get
4283 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4284 array size at least. It's necessary to write '\x00'==0 to get something
4285 that's true only with -std. */
4286 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4289 inside strings and character constants. */
4291 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293 int test (int i, double x);
4294 struct s1 {int (*f) (int a);};
4295 struct s2 {int (*f) (double a);};
4296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4307 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4308 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 CC="$ac_save_CC $ac_arg"
4311 if ac_fn_c_try_compile "$LINENO"; then :
4312 ac_cv_prog_cc_c89=$ac_arg
4314 rm -f core conftest.err conftest.$ac_objext
4315 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 rm -f conftest.$ac_ext
4322 case "x$ac_cv_prog_cc_c89" in
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4325 $as_echo "none needed" >&6; } ;;
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4328 $as_echo "unsupported" >&6; } ;;
4330 CC="$CC $ac_cv_prog_cc_c89"
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4332 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 if test "x$ac_cv_prog_cc_c89" != xno; then :
4339 ac_cpp='$CPP $CPPFLAGS'
4340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 ac_cpp='$CPP $CPPFLAGS'
4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4350 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4351 if ${am_cv_prog_cc_c_o+:} false; then :
4352 $as_echo_n "(cached) " >&6
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4365 # Make sure it works both with $CC and with simple cc.
4366 # Following AC_PROG_CC_C_O, we do the test twice because some
4367 # compilers refuse to overwrite an existing .o file with -o,
4368 # though they will create one.
4369 am_cv_prog_cc_c_o=yes
4371 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4372 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } \
4376 && test -f conftest2.$ac_objext; then
4379 am_cv_prog_cc_c_o=no
4383 rm -f core conftest*
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4387 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4388 if test "$am_cv_prog_cc_c_o" != yes; then
4389 # Losing compiler, so override with the script.
4390 # FIXME: It is wrong to rewrite CC.
4391 # But if we don't then we get into trouble of one sort or another.
4392 # A longer-term fix would be to have automake use am__CC in this case,
4393 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4394 CC="$am_aux_dir/compile $CC"
4397 ac_cpp='$CPP $CPPFLAGS'
4398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4402 DEPDIR="${am__leading_dot}deps"
4404 ac_config_commands="$ac_config_commands depfiles"
4407 am_make=${MAKE-make}
4408 cat > confinc << 'END'
4410 @echo this is the am__doit target
4413 # If we don't find an include directive, just comment out the code.
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4415 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4419 # First try GNU make style include.
4420 echo "include confinc" > confmf
4421 # Ignore all kinds of additional output from 'make'.
4422 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4423 *the\ am__doit\ target*)
4429 # Now try BSD make style include.
4430 if test "$am__include" = "#"; then
4431 echo '.include "confinc"' > confmf
4432 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4433 *the\ am__doit\ target*)
4434 am__include=.include
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4443 $as_echo "$_am_result" >&6; }
4444 rm -f confinc confmf
4446 # Check whether --enable-dependency-tracking was given.
4447 if test "${enable_dependency_tracking+set}" = set; then :
4448 enableval=$enable_dependency_tracking;
4451 if test "x$enable_dependency_tracking" != xno; then
4452 am_depcomp="$ac_aux_dir/depcomp"
4456 if test "x$enable_dependency_tracking" != xno; then
4466 depcc="$CC" am_compiler_list=
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4469 $as_echo_n "checking dependency style of $depcc... " >&6; }
4470 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4471 $as_echo_n "(cached) " >&6
4473 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4474 # We make a subdir and do the tests there. Otherwise we can end up
4475 # making bogus files that we don't know about and never remove. For
4476 # instance it was reported that on HP-UX the gcc test will end up
4477 # making a dummy file named 'D' -- because '-MD' means "put the output
4481 # Copy depcomp to subdir because otherwise we won't find it if we're
4482 # using a relative directory.
4483 cp "$am_depcomp" conftest.dir
4485 # We will build objects and dependencies in a subdirectory because
4486 # it helps to detect inapplicable dependency modes. For instance
4487 # both Tru64's cc and ICC support -MD to output dependencies as a
4488 # side effect of compilation, but ICC will put the dependencies in
4489 # the current directory while Tru64 will put them in the object
4493 am_cv_CC_dependencies_compiler_type=none
4494 if test "$am_compiler_list" = ""; then
4495 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4498 case " $depcc " in #(
4499 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4502 for depmode in $am_compiler_list; do
4503 # Setup a source with many dependencies, because some compilers
4504 # like to wrap large dependency lists on column 80 (with \), and
4505 # we should not choose a depcomp mode which is confused by this.
4507 # We need to recreate these files for each test, as the compiler may
4508 # overwrite some of them when testing with obscure command lines.
4509 # This happens at least with the AIX C compiler.
4511 for i in 1 2 3 4 5 6; do
4512 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4513 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4514 # Solaris 10 /bin/sh.
4515 echo '/* dummy */' > sub/conftst$i.h
4517 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4519 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4520 # mode. It turns out that the SunPro C++ compiler does not properly
4521 # handle '-M -o', and we need to detect this. Also, some Intel
4522 # versions had trouble with output in subdirs.
4523 am__obj=sub/conftest.${OBJEXT-o}
4524 am__minus_obj="-o $am__obj"
4527 # This depmode causes a compiler race in universal mode.
4528 test "$am__universal" = false || continue
4531 # After this tag, mechanisms are not by side-effect, so they'll
4532 # only be used when explicitly requested.
4533 if test "x$enable_dependency_tracking" = xyes; then
4539 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4540 # This compiler won't grok '-c -o', but also, the minuso test has
4541 # not run yet. These depmodes are late enough in the game, and
4542 # so weak that their functioning should not be impacted.
4543 am__obj=conftest.${OBJEXT-o}
4548 if depmode=$depmode \
4549 source=sub/conftest.c object=$am__obj \
4550 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4551 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4552 >/dev/null 2>conftest.err &&
4553 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4554 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4555 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4556 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4557 # icc doesn't choke on unknown options, it will just issue warnings
4558 # or remarks (even with -Werror). So we grep stderr for any message
4559 # that says an option was ignored or not supported.
4560 # When given -MP, icc 7.0 and 7.1 complain thusly:
4561 # icc: Command line warning: ignoring option '-M'; no argument required
4562 # The diagnosis changed in icc 8.0:
4563 # icc: Command line remark: option '-MP' not supported
4564 if (grep 'ignoring option' conftest.err ||
4565 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4566 am_cv_CC_dependencies_compiler_type=$depmode
4575 am_cv_CC_dependencies_compiler_type=none
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4580 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4581 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4584 test "x$enable_dependency_tracking" != xno \
4585 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4587 am__fastdepCC_FALSE='#'
4589 am__fastdepCC_TRUE='#'
4590 am__fastdepCC_FALSE=
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4600 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4601 # On Suns, sometimes $CPP names a directory.
4602 if test -n "$CPP" && test -d "$CPP"; then
4605 if test -z "$CPP"; then
4606 if ${ac_cv_prog_CPP+:} false; then :
4607 $as_echo_n "(cached) " >&6
4609 # Double quotes because CPP needs to be expanded
4610 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4613 for ac_c_preproc_warn_flag in '' yes
4615 # Use a header file that comes with gcc, so configuring glibc
4616 # with a fresh cross-compiler works.
4617 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4618 # <limits.h> exists even on freestanding compilers.
4619 # On the NeXT, cc -E runs the code through the compiler's parser,
4620 # not just through cpp. "Syntax error" is here to catch this case.
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4624 # include <limits.h>
4626 # include <assert.h>
4630 if ac_fn_c_try_cpp "$LINENO"; then :
4633 # Broken: fails on valid input.
4636 rm -f conftest.err conftest.i conftest.$ac_ext
4638 # OK, works on sane cases. Now check whether nonexistent headers
4639 # can be detected and how.
4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4642 #include <ac_nonexistent.h>
4644 if ac_fn_c_try_cpp "$LINENO"; then :
4645 # Broken: success on invalid input.
4648 # Passes both tests.
4652 rm -f conftest.err conftest.i conftest.$ac_ext
4655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4656 rm -f conftest.i conftest.err conftest.
$ac_ext
4657 if $ac_preproc_ok; then :
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4670 $as_echo "$CPP" >&6; }
4672 for ac_c_preproc_warn_flag
in '' yes
4674 # Use a header file that comes with gcc, so configuring glibc
4675 # with a fresh cross-compiler works.
4676 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4677 # <limits.h> exists even on freestanding compilers.
4678 # On the NeXT, cc -E runs the code through the compiler's parser,
4679 # not just through cpp. "Syntax error" is here to catch this case.
4680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4683 # include <limits.h>
4685 # include <assert.h>
4689 if ac_fn_c_try_cpp
"$LINENO"; then :
4692 # Broken: fails on valid input.
4695 rm -f conftest.err conftest.i conftest.
$ac_ext
4697 # OK, works on sane cases. Now check whether nonexistent headers
4698 # can be detected and how.
4699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4701 #include <ac_nonexistent.h>
4703 if ac_fn_c_try_cpp
"$LINENO"; then :
4704 # Broken: success on invalid input.
4707 # Passes both tests.
4711 rm -f conftest.err conftest.i conftest.
$ac_ext
4714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4715 rm -f conftest.i conftest.err conftest.
$ac_ext
4716 if $ac_preproc_ok; then :
4719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4721 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4722 See \`config.log' for more details" "$LINENO" 5; }
4726 ac_cpp
='$CPP $CPPFLAGS'
4727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4734 save_cross_compiling
=$cross_compiling
4735 save_ac_tool_prefix
=$ac_tool_prefix
4740 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4741 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4742 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4744 if test -n "$ac_tool_prefix"; then
4745 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4746 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4750 $as_echo_n "(cached) " >&6
4752 if test -n "$CC_FOR_BUILD"; then
4753 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4773 if test -n "$CC_FOR_BUILD"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4775 $as_echo "$CC_FOR_BUILD" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4783 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
4784 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4785 # Extract the first word of "gcc", so it can be a program name with args.
4786 set dummy gcc
; ac_word
=$2
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4788 $as_echo_n "checking for $ac_word... " >&6; }
4789 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4790 $as_echo_n "(cached) " >&6
4792 if test -n "$ac_ct_CC_FOR_BUILD"; then
4793 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
4803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4813 if test -n "$ac_ct_CC_FOR_BUILD"; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4815 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4821 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
4824 case $cross_compiling:$ac_tool_warned in
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
4827 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
4828 ac_tool_warned
=yes ;;
4830 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
4833 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
4836 if test -z "$CC_FOR_BUILD"; then
4837 if test -n "$ac_tool_prefix"; then
4838 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4839 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 $as_echo_n "checking for $ac_word... " >&6; }
4842 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -n "$CC_FOR_BUILD"; then
4846 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir
=.
4853 for ac_exec_ext
in '' $ac_executable_extensions; do
4854 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4855 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
4856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4866 if test -n "$CC_FOR_BUILD"; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4868 $as_echo "$CC_FOR_BUILD" >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 $as_echo "no" >&6; }
4877 if test -z "$CC_FOR_BUILD"; then
4878 # Extract the first word of "cc", so it can be a program name with args.
4879 set dummy cc
; ac_word
=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4883 $as_echo_n "(cached) " >&6
4885 if test -n "$CC_FOR_BUILD"; then
4886 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir
=.
4894 for ac_exec_ext
in '' $ac_executable_extensions; do
4895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4896 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4897 ac_prog_rejected
=yes
4900 ac_cv_prog_CC_FOR_BUILD
="cc"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 if test $ac_prog_rejected = yes; then
4909 # We found a bogon in the path, so make sure we never use it.
4910 set dummy
$ac_cv_prog_CC_FOR_BUILD
4912 if test $# != 0; then
4913 # We chose a different compiler from the bogus one.
4914 # However, it has the same basename, so the bogon will be chosen
4915 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
4917 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
4922 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4923 if test -n "$CC_FOR_BUILD"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4925 $as_echo "$CC_FOR_BUILD" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4933 if test -z "$CC_FOR_BUILD"; then
4934 if test -n "$ac_tool_prefix"; then
4935 for ac_prog
in cl.exe
4937 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4938 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$CC_FOR_BUILD"; then
4945 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4965 if test -n "$CC_FOR_BUILD"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4967 $as_echo "$CC_FOR_BUILD" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4974 test -n "$CC_FOR_BUILD" && break
4977 if test -z "$CC_FOR_BUILD"; then
4978 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4979 for ac_prog
in cl.exe
4981 # Extract the first word of "$ac_prog", so it can be a program name with args.
4982 set dummy
$ac_prog; ac_word
=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -n "$ac_ct_CC_FOR_BUILD"; then
4989 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir
=.
4996 for ac_exec_ext
in '' $ac_executable_extensions; do
4997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4998 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5009 if test -n "$ac_ct_CC_FOR_BUILD"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5011 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5018 test -n "$ac_ct_CC_FOR_BUILD" && break
5021 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5024 case $cross_compiling:$ac_tool_warned in
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5028 ac_tool_warned
=yes ;;
5030 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5037 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5039 as_fn_error $?
"no acceptable C compiler found in \$PATH
5040 See \`config.log' for more details" "$LINENO" 5; }
5042 # Provide some information about the compiler.
5043 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5044 set X
$ac_build_compile
5046 for ac_option
in --version -v -V -qversion; do
5047 { { ac_try
="$ac_compiler $ac_option >&5"
5049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5050 *) ac_try_echo=$ac_try;;
5052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5053 $as_echo "$ac_try_echo"; } >&5
5054 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5056 if test -s conftest.err; then
5058 ... rest of stderr output deleted ...
5059 10q' conftest.err >conftest.er1
5060 cat conftest.er1 >&5
5062 rm -f conftest.er1 conftest.err
5063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5064 test $ac_status = 0; }
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5068 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5069 if ${ac_cv_c_compiler_gnu+:} false; then :
5070 $as_echo_n "(cached) " >&6
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5086 if ac_fn_c_try_compile "$LINENO"; then :
5091 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5092 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5096 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5097 if test $ac_compiler_gnu = yes; then
5102 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5103 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5105 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5106 if ${ac_cv_build_prog_cc_g+:} false; then :
5107 $as_echo_n "(cached) " >&6
5109 ac_save_c_werror_flag=$ac_c_werror_flag
5110 ac_c_werror_flag=yes
5111 ac_cv_build_prog_cc_g=no
5112 CFLAGS_FOR_BUILD="-g"
5113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 /* end confdefs.h. */
5124 if ac_fn_c_try_compile "$LINENO"; then :
5125 ac_cv_build_prog_cc_g=yes
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5139 if ac_fn_c_try_compile "$LINENO"; then :
5142 ac_c_werror_flag=$ac_save_c_werror_flag
5143 CFLAGS_FOR_BUILD="-g"
5144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5145 /* end confdefs.h. */
5155 if ac_fn_c_try_compile "$LINENO"; then :
5156 ac_cv_build_prog_cc_g=yes
5158 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5160 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5162 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5163 ac_c_werror_flag=$ac_save_c_werror_flag
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5166 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5167 if test "$ac_test_CFLAGS" = set; then
5168 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5169 elif test $ac_cv_build_prog_cc_g = yes; then
5170 if test "$GCC" = yes; then
5171 CFLAGS_FOR_BUILD="-g -O2"
5173 CFLAGS_FOR_BUILD="-g"
5176 if test "$GCC" = yes; then
5177 CFLAGS_FOR_BUILD="-O2"
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5183 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5184 if ${ac_cv_prog_cc_c89+:} false; then :
5185 $as_echo_n "(cached) " >&6
5187 ac_cv_prog_cc_c89=no
5188 ac_save_CC=$CC_FOR_BUILD
5189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5194 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5195 struct buf { int x; };
5196 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5197 static char *e (p, i)
5203 static char *f (char * (*g) (char **, int), char **p, ...)
5208 s = g (p, va_arg (v,int));
5213 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5214 function prototypes and stuff, but not '\xHH' hex character constants.
5215 These don't provoke an error unfortunately, instead are silently treated
5216 as 'x'. The following induces an error, until -std is added to get
5217 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5218 array size at least. It's necessary to write '\x00'==0 to get something
5219 that's true only with -std. */
5220 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5222 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5223 inside strings and character constants. */
5225 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5227 int test (int i, double x);
5228 struct s1 {int (*f) (int a);};
5229 struct s2 {int (*f) (double a);};
5230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5241 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5242 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5244 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5245 if ac_fn_c_try_compile "$LINENO"; then :
5246 ac_cv_prog_cc_c89=$ac_arg
5248 rm -f core conftest.err conftest.$ac_build_objext
5249 test "x$ac_cv_prog_cc_c89" != "xno" && break
5251 rm -f conftest.$ac_ext
5252 CC_FOR_BUILD=$ac_save_CC
5256 case "x$ac_cv_prog_cc_c89" in
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5259 $as_echo "none needed" >&6; } ;;
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5262 $as_echo "unsupported" >&6; } ;;
5264 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5266 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5268 if test "x$ac_cv_prog_cc_c89" != xno; then :
5273 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5274 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5275 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5279 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5280 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5281 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5284 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5285 if ${am_cv_prog_cc_c_o+:} false; then :
5286 $as_echo_n "(cached) " >&6
5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5299 # Make sure it works both with $CC and with simple cc.
5300 # Following AC_PROG_CC_C_O, we do the test twice because some
5301 # compilers refuse to overwrite an existing .o file with -o,
5302 # though they will create one.
5303 am_cv_prog_cc_c_o=yes
5305 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5306 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } \
5310 && test -f conftest2.$ac_build_objext; then
5313 am_cv_prog_cc_c_o=no
5317 rm -f core conftest*
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5321 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5322 if test "$am_cv_prog_cc_c_o" != yes; then
5323 # Losing compiler, so override with the script.
5324 # FIXME: It is wrong to rewrite CC.
5325 # But if we don't then we get into trouble of one sort or another.
5326 # A longer-term fix would be to have automake use am__CC in this case,
5327 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5328 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5331 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5332 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5333 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5337 depcc="$CC_FOR_BUILD" am_compiler_list=
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5340 $as_echo_n "checking dependency style of $depcc... " >&6; }
5341 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5342 $as_echo_n "(cached) " >&6
5344 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5345 # We make a subdir and do the tests there. Otherwise we can end up
5346 # making bogus files that we don't know about and never remove. For
5347 # instance it was reported that on HP-UX the gcc test will end up
5348 # making a dummy file named 'D' -- because '-MD' means "put the output
5352 # Copy depcomp to subdir because otherwise we won't find it if we're
5353 # using a relative directory.
5354 cp "$am_depcomp" conftest.dir
5356 # We will build objects and dependencies in a subdirectory because
5357 # it helps to detect inapplicable dependency modes. For instance
5358 # both Tru64's cc and ICC support -MD to output dependencies as a
5359 # side effect of compilation, but ICC will put the dependencies in
5360 # the current directory while Tru64 will put them in the object
5364 am_cv_CC_dependencies_compiler_type=none
5365 if test "$am_compiler_list" = ""; then
5366 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5369 case " $depcc " in #(
5370 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5373 for depmode in $am_compiler_list; do
5374 # Setup a source with many dependencies, because some compilers
5375 # like to wrap large dependency lists on column 80 (with \), and
5376 # we should not choose a depcomp mode which is confused by this.
5378 # We need to recreate these files for each test, as the compiler may
5379 # overwrite some of them when testing with obscure command lines.
5380 # This happens at least with the AIX C compiler.
5382 for i in 1 2 3 4 5 6; do
5383 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5384 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5385 # Solaris 10 /bin/sh.
5386 echo '/* dummy */' > sub/conftst$i.h
5388 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5390 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5391 # mode. It turns out that the SunPro C++ compiler does not properly
5392 # handle '-M -o', and we need to detect this. Also, some Intel
5393 # versions had trouble with output in subdirs.
5394 am__obj=sub/conftest.${OBJEXT-o}
5395 am__minus_obj="-o $am__obj"
5398 # This depmode causes a compiler race in universal mode.
5399 test "$am__universal" = false || continue
5402 # After this tag, mechanisms are not by side-effect, so they'll
5403 # only be used when explicitly requested.
5404 if test "x$enable_dependency_tracking" = xyes; then
5410 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5411 # This compiler won't grok '-c -o', but also, the minuso test has
5412 # not run yet. These depmodes are late enough in the game, and
5413 # so weak that their functioning should not be impacted.
5414 am__obj=conftest.${OBJEXT-o}
5419 if depmode=$depmode \
5420 source=sub/conftest.c object=$am__obj \
5421 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5422 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5423 >/dev/null 2>conftest.err &&
5424 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5425 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5426 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5427 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5428 # icc doesn't choke on unknown options, it will just issue warnings
5429 # or remarks (even with -Werror). So we grep stderr for any message
5430 # that says an option was ignored or not supported.
5431 # When given -MP, icc 7.0 and 7.1 complain thusly:
5432 # icc: Command line warning: ignoring option '-M'; no argument required
5433 # The diagnosis changed in icc 8.0:
5434 # icc: Command line remark: option '-MP' not supported
5435 if (grep 'ignoring option' conftest.err ||
5436 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5437 am_cv_CC_dependencies_compiler_type=$depmode
5446 am_cv_CC_dependencies_compiler_type=none
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5451 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5452 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5455 test "x$enable_dependency_tracking" != xno \
5456 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5458 am__fastdepCC_FALSE='#'
5460 am__fastdepCC_TRUE='#'
5461 am__fastdepCC_FALSE=
5466 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5467 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5468 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5471 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5472 # On Suns, sometimes $CPP names a directory.
5473 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
5476 if test -z "$CPP_FOR_BUILD"; then
5477 if ${ac_cv_build_prog_CPP+:} false; then :
5478 $as_echo_n "(cached) " >&6
5480 # Double quotes because CPP needs to be expanded
5481 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5484 for ac_c_preproc_warn_flag in '' yes
5486 # Use a header file that comes with gcc, so configuring glibc
5487 # with a fresh cross-compiler works.
5488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5489 # <limits.h> exists even on freestanding compilers.
5490 # On the NeXT, cc -E runs the code through the compiler's parser,
5491 # not just through cpp. "Syntax error" is here to catch this case.
5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5495 # include <limits.h>
5497 # include <assert.h>
5501 if ac_fn_c_try_cpp "$LINENO"; then :
5504 # Broken: fails on valid input.
5507 rm -f conftest.err conftest.i conftest.$ac_ext
5509 # OK, works on sane cases. Now check whether nonexistent headers
5510 # can be detected and how.
5511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5512 /* end confdefs.h. */
5513 #include <ac_nonexistent.h>
5515 if ac_fn_c_try_cpp "$LINENO"; then :
5516 # Broken: success on invalid input.
5519 # Passes both tests.
5523 rm -f conftest.err conftest.i conftest.$ac_ext
5526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5527 rm -f conftest.i conftest.err conftest.
$ac_ext
5528 if $ac_preproc_ok; then :
5533 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5536 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
5538 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
5541 $as_echo "$CPP_FOR_BUILD" >&6; }
5543 for ac_c_preproc_warn_flag
in '' yes
5545 # Use a header file that comes with gcc, so configuring glibc
5546 # with a fresh cross-compiler works.
5547 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5548 # <limits.h> exists even on freestanding compilers.
5549 # On the NeXT, cc -E runs the code through the compiler's parser,
5550 # not just through cpp. "Syntax error" is here to catch this case.
5551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5554 # include <limits.h>
5556 # include <assert.h>
5560 if ac_fn_c_try_cpp
"$LINENO"; then :
5563 # Broken: fails on valid input.
5566 rm -f conftest.err conftest.i conftest.
$ac_ext
5568 # OK, works on sane cases. Now check whether nonexistent headers
5569 # can be detected and how.
5570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5572 #include <ac_nonexistent.h>
5574 if ac_fn_c_try_cpp
"$LINENO"; then :
5575 # Broken: success on invalid input.
5578 # Passes both tests.
5582 rm -f conftest.err conftest.i conftest.
$ac_ext
5585 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5586 rm -f conftest.i conftest.err conftest.
$ac_ext
5587 if $ac_preproc_ok; then :
5590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5592 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5593 See \`config.log' for more details" "$LINENO" 5; }
5597 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5598 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5599 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5604 ac_tool_prefix
=$save_ac_tool_prefix
5605 cross_compiling
=$save_cross_compiling
5608 BUILD_EXEEXT
=$ac_build_exeext
5609 BUILD_OBJEXT
=$ac_build_objext
5611 case $ac_cv_prog_cc_stdc in #(
5613 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5616 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5617 if ${ac_cv_prog_cc_c99+:} false
; then :
5618 $as_echo_n "(cached) " >&6
5620 ac_cv_prog_cc_c99
=no
5622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5625 #include <stdbool.h>
5630 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5631 #define debug(...) fprintf (stderr, __VA_ARGS__)
5632 #define showlist(...) puts (#__VA_ARGS__)
5633 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5635 test_varargs_macros (void)
5640 debug ("X = %d\n", x);
5641 showlist (The first, second, and third items.);
5642 report (x>y, "x is %d but y is %d", x, y);
5645 // Check long long types.
5646 #define BIG64 18446744073709551615ull
5647 #define BIG32 4294967295ul
5648 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5650 your preprocessor is broken;
5654 your preprocessor is broken;
5656 static long long int bignum = -9223372036854775807LL;
5657 static unsigned long long int ubignum = BIG64;
5659 struct incomplete_array
5667 const wchar_t *name;
5671 typedef const char *ccp;
5674 test_restrict (ccp restrict text)
5676 // See if C++-style comments work.
5677 // Iterate through items via the restricted pointer.
5678 // Also check for declarations in for loops.
5679 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5684 // Check varargs and va_copy.
5686 test_varargs (const char *format, ...)
5689 va_start (args, format);
5691 va_copy (args_copy, args);
5702 str = va_arg (args_copy, const char *);
5705 number = va_arg (args_copy, int);
5708 fnumber = va_arg (args_copy, double);
5723 _Bool success = false;
5726 if (test_restrict ("String literal") == 0)
5728 char *restrict newvar = "Another string";
5731 test_varargs ("s, d' f .", "string", 65, 34.234);
5732 test_varargs_macros ();
5734 // Check flexible array members.
5735 struct incomplete_array *ia =
5736 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5738 for (int i = 0; i < ia->datasize; ++i)
5739 ia->data[i] = i * 1.234;
5741 // Check named initializers.
5742 struct named_init ni = {
5744 .name = L"Test wide string",
5745 .average = 543.34343,
5750 int dynamic_array[ni.number];
5751 dynamic_array[ni.number - 1] = 543;
5753 // work around unused variable warnings
5754 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5755 || dynamic_array[ni.number - 1] != 543);
5761 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5763 CC
="$ac_save_CC $ac_arg"
5764 if ac_fn_c_try_compile
"$LINENO"; then :
5765 ac_cv_prog_cc_c99
=$ac_arg
5767 rm -f core conftest.err conftest.
$ac_objext
5768 test "x$ac_cv_prog_cc_c99" != "xno" && break
5770 rm -f conftest.
$ac_ext
5775 case "x$ac_cv_prog_cc_c99" in
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5778 $as_echo "none needed" >&6; } ;;
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5781 $as_echo "unsupported" >&6; } ;;
5783 CC
="$CC $ac_cv_prog_cc_c99"
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5785 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5787 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5788 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5791 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5792 if ${ac_cv_prog_cc_c89+:} false
; then :
5793 $as_echo_n "(cached) " >&6
5795 ac_cv_prog_cc_c89
=no
5797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5802 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5803 struct buf { int x; };
5804 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5805 static char *e (p, i)
5811 static char *f (char * (*g) (char **, int), char **p, ...)
5816 s = g (p, va_arg (v,int));
5821 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5822 function prototypes and stuff, but not '\xHH' hex character constants.
5823 These don't provoke an error unfortunately, instead are silently treated
5824 as 'x'. The following induces an error, until -std is added to get
5825 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5826 array size at least. It's necessary to write '\x00'==0 to get something
5827 that's true only with -std. */
5828 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5830 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5831 inside strings and character constants. */
5833 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5835 int test (int i, double x);
5836 struct s1 {int (*f) (int a);};
5837 struct s2 {int (*f) (double a);};
5838 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5844 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5849 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
5850 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5852 CC
="$ac_save_CC $ac_arg"
5853 if ac_fn_c_try_compile
"$LINENO"; then :
5854 ac_cv_prog_cc_c89
=$ac_arg
5856 rm -f core conftest.err conftest.
$ac_objext
5857 test "x$ac_cv_prog_cc_c89" != "xno" && break
5859 rm -f conftest.
$ac_ext
5864 case "x$ac_cv_prog_cc_c89" in
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5867 $as_echo "none needed" >&6; } ;;
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5870 $as_echo "unsupported" >&6; } ;;
5872 CC
="$CC $ac_cv_prog_cc_c89"
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5874 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5876 if test "x$ac_cv_prog_cc_c89" != xno
; then :
5877 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
5879 ac_cv_prog_cc_stdc
=no
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5886 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5887 if ${ac_cv_prog_cc_stdc+:} false
; then :
5888 $as_echo_n "(cached) " >&6
5891 case $ac_cv_prog_cc_stdc in #(
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5894 $as_echo "unsupported" >&6; } ;; #(
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5897 $as_echo "none needed" >&6; } ;; #(
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5900 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5905 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5907 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5908 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5909 $as_echo_n "(cached) " >&6
5911 cat >conftest.
make <<\_ACEOF
5914 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5916 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5917 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5919 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5921 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5925 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5927 $as_echo "yes" >&6; }
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5932 SET_MAKE
="MAKE=${MAKE-make}"
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5936 $as_echo_n "checking whether ln -s works... " >&6; }
5938 if test "$LN_S" = "ln -s"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5940 $as_echo "yes" >&6; }
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5943 $as_echo "no, using $LN_S" >&6; }
5946 for ac_prog
in gawk mawk nawk
awk
5948 # Extract the first word of "$ac_prog", so it can be a program name with args.
5949 set dummy
$ac_prog; ac_word
=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if ${ac_cv_prog_AWK+:} false
; then :
5953 $as_echo_n "(cached) " >&6
5955 if test -n "$AWK"; then
5956 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir
=.
5963 for ac_exec_ext
in '' $ac_executable_extensions; do
5964 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_AWK
="$ac_prog"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 if test -n "$AWK"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5978 $as_echo "$AWK" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 test -n "$AWK" && break
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5991 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5996 macro_version
='2.4.6'
5997 macro_revision
='2.4.6'
6011 ltmain
=$ac_aux_dir/ltmain.sh
6013 # Backslashify metacharacters that are still active within
6014 # double-quoted strings.
6015 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6017 # Same as above, but do not quote variable references.
6018 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6020 # Sed substitution to delay expansion of an escaped shell variable in a
6021 # double_quote_subst'ed string.
6022 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6024 # Sed substitution to delay expansion of an escaped single quote.
6025 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6027 # Sed substitution to avoid accidental globbing in evaled expressions
6028 no_glob_subst
='s/\*/\\\*/g'
6030 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6031 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6032 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6035 $as_echo_n "checking how to print strings... " >&6; }
6036 # Test print first, because it will be a builtin if present.
6037 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6038 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6040 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6043 # Use this function as a fallback that always works.
6044 func_fallback_echo ()
6046 eval 'cat <<_LTECHO_EOF
6050 ECHO='func_fallback_echo
'
6053 # func_echo_all arg...
6054 # Invoke $ECHO with all args, space-separated.
6061 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6062 $as_echo "printf" >&6; } ;;
6063 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6064 $as_echo "print -r" >&6; } ;;
6065 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6066 $as_echo "cat" >&6; } ;;
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6083 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6084 if ${ac_cv_path_SED+:} false; then :
6085 $as_echo_n "(cached) " >&6
6087 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6088 for ac_i in 1 2 3 4 5 6 7; do
6089 ac_script="$ac_script$as_nl$ac_script"
6091 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6092 { ac_script=; unset ac_script;}
6093 if test -z "$SED"; then
6094 ac_path_SED_found=false
6095 # Loop through the user's path and
test for each of PROGNAME-LIST
6096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir
=.
6101 for ac_prog
in sed gsed
; do
6102 for ac_exec_ext
in '' $ac_executable_extensions; do
6103 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6104 as_fn_executable_p
"$ac_path_SED" ||
continue
6105 # Check for GNU ac_path_SED and select it if it is found.
6106 # Check for GNU $ac_path_SED
6107 case `"$ac_path_SED" --version 2>&1` in
6109 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6112 $as_echo_n 0123456789 >"conftest.in"
6115 cat "conftest.in" "conftest.in" >"conftest.tmp"
6116 mv "conftest.tmp" "conftest.in"
6117 cp "conftest.in" "conftest.nl"
6118 $as_echo '' >> "conftest.nl"
6119 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6120 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6121 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6122 if test $ac_count -gt ${ac_path_SED_max-0}; then
6123 # Best one so far, save it but keep looking for a better one
6124 ac_cv_path_SED
="$ac_path_SED"
6125 ac_path_SED_max
=$ac_count
6127 # 10*(2^10) chars as input seems more than enough
6128 test $ac_count -gt 10 && break
6130 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6133 $ac_path_SED_found && break 3
6138 if test -z "$ac_cv_path_SED"; then
6139 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6147 $as_echo "$ac_cv_path_SED" >&6; }
6148 SED
="$ac_cv_path_SED"
6151 test -z "$SED" && SED
=sed
6152 Xsed
="$SED -e 1s/^X//"
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6165 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6166 if ${ac_cv_path_GREP+:} false
; then :
6167 $as_echo_n "(cached) " >&6
6169 if test -z "$GREP"; then
6170 ac_path_GREP_found
=false
6171 # Loop through the user's path and test for each of PROGNAME-LIST
6172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6173 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6176 test -z "$as_dir" && as_dir
=.
6177 for ac_prog
in grep ggrep
; do
6178 for ac_exec_ext
in '' $ac_executable_extensions; do
6179 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6180 as_fn_executable_p
"$ac_path_GREP" ||
continue
6181 # Check for GNU ac_path_GREP and select it if it is found.
6182 # Check for GNU $ac_path_GREP
6183 case `"$ac_path_GREP" --version 2>&1` in
6185 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6188 $as_echo_n 0123456789 >"conftest.in"
6191 cat "conftest.in" "conftest.in" >"conftest.tmp"
6192 mv "conftest.tmp" "conftest.in"
6193 cp "conftest.in" "conftest.nl"
6194 $as_echo 'GREP' >> "conftest.nl"
6195 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6196 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6197 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6198 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6199 # Best one so far, save it but keep looking for a better one
6200 ac_cv_path_GREP
="$ac_path_GREP"
6201 ac_path_GREP_max
=$ac_count
6203 # 10*(2^10) chars as input seems more than enough
6204 test $ac_count -gt 10 && break
6206 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6209 $ac_path_GREP_found && break 3
6214 if test -z "$ac_cv_path_GREP"; then
6215 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6218 ac_cv_path_GREP
=$GREP
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6223 $as_echo "$ac_cv_path_GREP" >&6; }
6224 GREP
="$ac_cv_path_GREP"
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6228 $as_echo_n "checking for egrep... " >&6; }
6229 if ${ac_cv_path_EGREP+:} false
; then :
6230 $as_echo_n "(cached) " >&6
6232 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6233 then ac_cv_path_EGREP
="$GREP -E"
6235 if test -z "$EGREP"; then
6236 ac_path_EGREP_found
=false
6237 # Loop through the user's path and test for each of PROGNAME-LIST
6238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6239 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6242 test -z "$as_dir" && as_dir
=.
6243 for ac_prog
in egrep; do
6244 for ac_exec_ext
in '' $ac_executable_extensions; do
6245 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6246 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6247 # Check for GNU ac_path_EGREP and select it if it is found.
6248 # Check for GNU $ac_path_EGREP
6249 case `"$ac_path_EGREP" --version 2>&1` in
6251 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6254 $as_echo_n 0123456789 >"conftest.in"
6257 cat "conftest.in" "conftest.in" >"conftest.tmp"
6258 mv "conftest.tmp" "conftest.in"
6259 cp "conftest.in" "conftest.nl"
6260 $as_echo 'EGREP' >> "conftest.nl"
6261 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6262 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6263 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6264 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6265 # Best one so far, save it but keep looking for a better one
6266 ac_cv_path_EGREP
="$ac_path_EGREP"
6267 ac_path_EGREP_max
=$ac_count
6269 # 10*(2^10) chars as input seems more than enough
6270 test $ac_count -gt 10 && break
6272 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6275 $ac_path_EGREP_found && break 3
6280 if test -z "$ac_cv_path_EGREP"; then
6281 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6284 ac_cv_path_EGREP
=$EGREP
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6290 $as_echo "$ac_cv_path_EGREP" >&6; }
6291 EGREP
="$ac_cv_path_EGREP"
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6295 $as_echo_n "checking for fgrep... " >&6; }
6296 if ${ac_cv_path_FGREP+:} false
; then :
6297 $as_echo_n "(cached) " >&6
6299 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6300 then ac_cv_path_FGREP
="$GREP -F"
6302 if test -z "$FGREP"; then
6303 ac_path_FGREP_found
=false
6304 # Loop through the user's path and test for each of PROGNAME-LIST
6305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6306 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6309 test -z "$as_dir" && as_dir
=.
6310 for ac_prog
in fgrep
; do
6311 for ac_exec_ext
in '' $ac_executable_extensions; do
6312 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6313 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6314 # Check for GNU ac_path_FGREP and select it if it is found.
6315 # Check for GNU $ac_path_FGREP
6316 case `"$ac_path_FGREP" --version 2>&1` in
6318 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6321 $as_echo_n 0123456789 >"conftest.in"
6324 cat "conftest.in" "conftest.in" >"conftest.tmp"
6325 mv "conftest.tmp" "conftest.in"
6326 cp "conftest.in" "conftest.nl"
6327 $as_echo 'FGREP' >> "conftest.nl"
6328 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6329 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6330 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6331 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6332 # Best one so far, save it but keep looking for a better one
6333 ac_cv_path_FGREP
="$ac_path_FGREP"
6334 ac_path_FGREP_max
=$ac_count
6336 # 10*(2^10) chars as input seems more than enough
6337 test $ac_count -gt 10 && break
6339 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6342 $ac_path_FGREP_found && break 3
6347 if test -z "$ac_cv_path_FGREP"; then
6348 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6351 ac_cv_path_FGREP
=$FGREP
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6357 $as_echo "$ac_cv_path_FGREP" >&6; }
6358 FGREP
="$ac_cv_path_FGREP"
6361 test -z "$GREP" && GREP
=grep
6381 # Check whether --with-gnu-ld was given.
6382 if test "${with_gnu_ld+set}" = set; then :
6383 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
6389 if test yes = "$GCC"; then
6390 # Check if gcc -print-prog-name=ld gives a path.
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6392 $as_echo_n "checking for ld used by $CC... " >&6; }
6395 # gcc leaves a trailing carriage return, which upsets mingw
6396 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6398 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6401 # Accept absolute paths.
6403 re_direlt
='/[^/][^/]*/\.\./'
6404 # Canonicalize the pathname of ld
6405 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6406 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6407 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6409 test -z "$LD" && LD
=$ac_prog
6412 # If it fails, then pretend we aren't using GCC.
6416 # If it is relative, then search for the first ld in PATH.
6420 elif test yes = "$with_gnu_ld"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6422 $as_echo_n "checking for GNU ld... " >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6425 $as_echo_n "checking for non-GNU ld... " >&6; }
6427 if ${lt_cv_path_LD+:} false
; then :
6428 $as_echo_n "(cached) " >&6
6430 if test -z "$LD"; then
6431 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6432 for ac_dir
in $PATH; do
6434 test -z "$ac_dir" && ac_dir
=.
6435 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6436 lt_cv_path_LD
=$ac_dir/$ac_prog
6437 # Check to see if the program is GNU ld. I'd rather use --version,
6438 # but apparently some variants of GNU ld only accept -v.
6439 # Break only if it was the GNU/non-GNU ld that we prefer.
6440 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6441 *GNU
* |
*'with BFD'*)
6442 test no
!= "$with_gnu_ld" && break
6445 test yes != "$with_gnu_ld" && break
6452 lt_cv_path_LD
=$LD # Let the user override the test with a path.
6457 if test -n "$LD"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6459 $as_echo "$LD" >&6; }
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6464 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6466 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6467 if ${lt_cv_prog_gnu_ld+:} false
; then :
6468 $as_echo_n "(cached) " >&6
6470 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6471 case `$LD -v 2>&1 </dev/null` in
6472 *GNU
* |
*'with BFD'*)
6473 lt_cv_prog_gnu_ld
=yes
6476 lt_cv_prog_gnu_ld
=no
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6481 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6482 with_gnu_ld
=$lt_cv_prog_gnu_ld
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6493 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6494 if ${lt_cv_path_NM+:} false
; then :
6495 $as_echo_n "(cached) " >&6
6497 if test -n "$NM"; then
6498 # Let the user override the test.
6501 lt_nm_to_check
=${ac_tool_prefix}nm
6502 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6503 lt_nm_to_check
="$lt_nm_to_check nm"
6505 for lt_tmp_nm
in $lt_nm_to_check; do
6506 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6507 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6509 test -z "$ac_dir" && ac_dir
=.
6510 tmp_nm
=$ac_dir/$lt_tmp_nm
6511 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
6512 # Check to see if the nm accepts a BSD-compat flag.
6513 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6514 # nm: unknown option "B" ignored
6515 # Tru64's nm complains that /dev/null is an invalid object file
6516 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6518 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
6519 *) lt_bad_file
=/dev
/null
;;
6521 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6522 *$lt_bad_file* |
*'Invalid file or object type'*)
6523 lt_cv_path_NM
="$tmp_nm -B"
6527 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6529 lt_cv_path_NM
="$tmp_nm -p"
6533 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6534 continue # so that we can try to find one that supports BSD flags
6543 : ${lt_cv_path_NM=no}
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6547 $as_echo "$lt_cv_path_NM" >&6; }
6548 if test no
!= "$lt_cv_path_NM"; then
6551 # Didn't find any BSD compatible name lister, look for dumpbin.
6552 if test -n "$DUMPBIN"; then :
6553 # Let the user override the test.
6555 if test -n "$ac_tool_prefix"; then
6556 for ac_prog
in dumpbin
"link -dump"
6558 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6559 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6563 $as_echo_n "(cached) " >&6
6565 if test -n "$DUMPBIN"; then
6566 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir
=.
6573 for ac_exec_ext
in '' $ac_executable_extensions; do
6574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6575 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6585 DUMPBIN
=$ac_cv_prog_DUMPBIN
6586 if test -n "$DUMPBIN"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6588 $as_echo "$DUMPBIN" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6595 test -n "$DUMPBIN" && break
6598 if test -z "$DUMPBIN"; then
6599 ac_ct_DUMPBIN
=$DUMPBIN
6600 for ac_prog
in dumpbin
"link -dump"
6602 # Extract the first word of "$ac_prog", so it can be a program name with args.
6603 set dummy
$ac_prog; ac_word
=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6607 $as_echo_n "(cached) " >&6
6609 if test -n "$ac_ct_DUMPBIN"; then
6610 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6616 test -z "$as_dir" && as_dir
=.
6617 for ac_exec_ext
in '' $ac_executable_extensions; do
6618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6619 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6630 if test -n "$ac_ct_DUMPBIN"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6632 $as_echo "$ac_ct_DUMPBIN" >&6; }
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6639 test -n "$ac_ct_DUMPBIN" && break
6642 if test "x$ac_ct_DUMPBIN" = x
; then
6645 case $cross_compiling:$ac_tool_warned in
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6649 ac_tool_warned
=yes ;;
6651 DUMPBIN
=$ac_ct_DUMPBIN
6655 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6657 DUMPBIN
="$DUMPBIN -symbols -headers"
6665 if test : != "$DUMPBIN"; then
6669 test -z "$NM" && NM
=nm
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6677 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6678 if ${lt_cv_nm_interface+:} false
; then :
6679 $as_echo_n "(cached) " >&6
6681 lt_cv_nm_interface
="BSD nm"
6682 echo "int some_variable = 0;" > conftest.
$ac_ext
6683 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6684 (eval "$ac_compile" 2>conftest.err
)
6685 cat conftest.err
>&5
6686 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6687 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6688 cat conftest.err
>&5
6689 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6690 cat conftest.out
>&5
6691 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6692 lt_cv_nm_interface
="MS dumpbin"
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6697 $as_echo "$lt_cv_nm_interface" >&6; }
6699 # find the maximum length of command line arguments
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6701 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6702 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6703 $as_echo_n "(cached) " >&6
6710 # On DJGPP, this test can blow up pretty badly due to problems in libc
6711 # (any single argument exceeding 2000 bytes causes a buffer overrun
6712 # during glob expansion). Even if it were fixed, the result of this
6713 # check would be larger than it should be.
6714 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6718 # Under GNU Hurd, this test is not required because there is
6719 # no limit to the length of command line arguments.
6720 # Libtool will interpret -1 as no limit whatsoever
6721 lt_cv_sys_max_cmd_len
=-1;
6724 cygwin
* | mingw
* | cegcc
*)
6725 # On Win9x/ME, this test blows up -- it succeeds, but takes
6726 # about 5 minutes as the teststring grows exponentially.
6727 # Worse, since 9x/ME are not pre-emptively multitasking,
6728 # you end up with a "frozen" computer, even though with patience
6729 # the test eventually succeeds (with a max line length of 256k).
6730 # Instead, let's just punt: use the minimum linelength reported by
6731 # all of the supported platforms: 8192 (on NT/2K/XP).
6732 lt_cv_sys_max_cmd_len
=8192;
6736 # On MiNT this can take a long time and run out of memory.
6737 lt_cv_sys_max_cmd_len
=8192;
6741 # On AmigaOS with pdksh, this test takes hours, literally.
6742 # So we just punt and use a minimum line length of 8192.
6743 lt_cv_sys_max_cmd_len
=8192;
6746 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
6747 # This has been around since 386BSD, at least. Likely further.
6748 if test -x /sbin
/sysctl
; then
6749 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6750 elif test -x /usr
/sbin
/sysctl
; then
6751 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6753 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6755 # And add a safety zone
6756 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6757 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6761 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6762 lt_cv_sys_max_cmd_len
=196608
6766 # The test takes a long time on OS/2.
6767 lt_cv_sys_max_cmd_len
=8192
6771 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6772 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6773 # nice to cause kernel panics so lets avoid the loop below.
6774 # First set a reasonable default.
6775 lt_cv_sys_max_cmd_len
=16384
6777 if test -x /sbin
/sysconfig
; then
6778 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6779 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6784 lt_cv_sys_max_cmd_len
=102400
6786 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6787 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6788 if test -n "$kargmax"; then
6789 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6791 lt_cv_sys_max_cmd_len
=32768
6795 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6796 if test -n "$lt_cv_sys_max_cmd_len" && \
6797 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6798 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6799 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6801 # Make teststring a little bigger before we do anything with it.
6802 # a 1K string should be a reasonable start.
6803 for i
in 1 2 3 4 5 6 7 8; do
6804 teststring
=$teststring$teststring
6806 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6807 # If test is not a shell built-in, we'll probably end up computing a
6808 # maximum length that is only half of the actual maximum length, but
6810 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
6811 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6812 test 17 != "$i" # 1/2 MB should be enough
6815 teststring
=$teststring$teststring
6817 # Only check the string length outside the loop.
6818 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6820 # Add a significant safety factor because C++ compilers can tack on
6821 # massive amounts of additional arguments before passing them to the
6822 # linker. It appears as though 1/2 is a usable value.
6823 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6830 if test -n "$lt_cv_sys_max_cmd_len"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6832 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6835 $as_echo "none" >&6; }
6837 max_cmd_len
=$lt_cv_sys_max_cmd_len
6848 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6858 # test EBCDIC or ASCII
6859 case `echo X|tr X '\101'` in
6860 A
) # ASCII based system
6861 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6862 lt_SP2NL
='tr \040 \012'
6863 lt_NL2SP
='tr \015\012 \040\040'
6865 *) # EBCDIC based system
6866 lt_SP2NL
='tr \100 \n'
6867 lt_NL2SP
='tr \r\n \100\100'
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6880 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6881 if ${lt_cv_to_host_file_cmd+:} false
; then :
6882 $as_echo_n "(cached) " >&6
6887 *-*-mingw* ) # actually msys
6888 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6891 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6893 * ) # otherwise, assume *nix
6894 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6900 *-*-mingw* ) # actually msys
6901 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6904 lt_cv_to_host_file_cmd
=func_convert_file_noop
6906 * ) # otherwise, assume *nix
6907 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6911 * ) # unhandled hosts (and "normal" native builds)
6912 lt_cv_to_host_file_cmd
=func_convert_file_noop
6918 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6920 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6927 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6928 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6929 $as_echo_n "(cached) " >&6
6931 #assume ordinary cross tools, or native build.
6932 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6936 *-*-mingw* ) # actually msys
6937 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6945 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6947 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6954 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6955 if ${lt_cv_ld_reload_flag+:} false
; then :
6956 $as_echo_n "(cached) " >&6
6958 lt_cv_ld_reload_flag
='-r'
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6961 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6962 reload_flag
=$lt_cv_ld_reload_flag
6963 case $reload_flag in
6965 *) reload_flag
=" $reload_flag" ;;
6967 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6969 cygwin
* | mingw
* | pw32
* | cegcc
*)
6970 if test yes != "$GCC"; then
6975 if test yes = "$GCC"; then
6976 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6978 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6991 if test -n "$ac_tool_prefix"; then
6992 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6993 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6997 $as_echo_n "(cached) " >&6
6999 if test -n "$OBJDUMP"; then
7000 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir
=.
7007 for ac_exec_ext
in '' $ac_executable_extensions; do
7008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 OBJDUMP
=$ac_cv_prog_OBJDUMP
7020 if test -n "$OBJDUMP"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7022 $as_echo "$OBJDUMP" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7030 if test -z "$ac_cv_prog_OBJDUMP"; then
7031 ac_ct_OBJDUMP
=$OBJDUMP
7032 # Extract the first word of "objdump", so it can be a program name with args.
7033 set dummy objdump
; ac_word
=$2
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 $as_echo_n "checking for $ac_word... " >&6; }
7036 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7037 $as_echo_n "(cached) " >&6
7039 if test -n "$ac_ct_OBJDUMP"; then
7040 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7046 test -z "$as_dir" && as_dir
=.
7047 for ac_exec_ext
in '' $ac_executable_extensions; do
7048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7049 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7060 if test -n "$ac_ct_OBJDUMP"; then
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7062 $as_echo "$ac_ct_OBJDUMP" >&6; }
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7068 if test "x$ac_ct_OBJDUMP" = x
; then
7071 case $cross_compiling:$ac_tool_warned in
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7075 ac_tool_warned
=yes ;;
7077 OBJDUMP
=$ac_ct_OBJDUMP
7080 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7083 test -z "$OBJDUMP" && OBJDUMP
=objdump
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7094 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7095 if ${lt_cv_deplibs_check_method+:} false
; then :
7096 $as_echo_n "(cached) " >&6
7098 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7099 lt_cv_file_magic_test_file
=
7100 lt_cv_deplibs_check_method
='unknown'
7101 # Need to set the preceding variable on all platforms that support
7102 # interlibrary dependencies.
7103 # 'none' -- dependencies not supported.
7104 # 'unknown' -- same as none, but documents that we really don't know.
7105 # 'pass_all' -- all dependencies passed with no checks.
7106 # 'test_compile' -- check by making test program.
7107 # 'file_magic [[regex]]' -- check by looking for files in library path
7108 # that responds to the $file_magic_cmd with a given extended regex.
7109 # If you have 'file' or equivalent on your system and you're not sure
7110 # whether 'pass_all' will *always* work, you probably want this one.
7114 lt_cv_deplibs_check_method
=pass_all
7118 lt_cv_deplibs_check_method
=pass_all
7122 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7123 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7124 lt_cv_file_magic_test_file
=/shlib
/libc.so
7128 # func_win32_libid is a shell function defined in ltmain.sh
7129 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7130 lt_cv_file_magic_cmd
='func_win32_libid'
7134 # Base MSYS/MinGW do not provide the 'file' command needed by
7135 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7136 # unless we find 'file', for example because we are cross-compiling.
7137 if ( file / ) >/dev
/null
2>&1; then
7138 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7139 lt_cv_file_magic_cmd
='func_win32_libid'
7141 # Keep this pattern in sync with the one in func_win32_libid.
7142 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7143 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7148 # use the weaker test based on 'objdump'. See mingw*.
7149 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7150 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7153 darwin
* | rhapsody
*)
7154 lt_cv_deplibs_check_method
=pass_all
7157 freebsd
* | dragonfly
*)
7158 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7161 # Not sure whether the presence of OpenBSD here was a mistake.
7162 # Let's accept both of them until this is cleared up.
7163 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7164 lt_cv_file_magic_cmd
=/usr
/bin
/file
7165 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7169 lt_cv_deplibs_check_method
=pass_all
7174 lt_cv_deplibs_check_method
=pass_all
7177 hpux10.20
* | hpux11
*)
7178 lt_cv_file_magic_cmd
=/usr
/bin
/file
7181 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7182 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7185 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]'
7186 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7189 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7190 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7196 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7197 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7200 irix5
* | irix6
* | nonstopux
*)
7202 *-32|
*"-32 ") libmagic
=32-bit;;
7203 *-n32|
*"-n32 ") libmagic
=N32
;;
7204 *-64|
*"-64 ") libmagic
=64-bit;;
7205 *) libmagic
=never-match
;;
7207 lt_cv_deplibs_check_method
=pass_all
7210 # This must be glibc/ELF.
7211 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7212 lt_cv_deplibs_check_method
=pass_all
7216 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7217 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7219 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7224 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7225 lt_cv_file_magic_cmd
=/usr
/bin
/file
7226 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7230 lt_cv_deplibs_check_method
=pass_all
7234 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7235 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7237 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7241 osf3
* | osf4
* | osf5
*)
7242 lt_cv_deplibs_check_method
=pass_all
7246 lt_cv_deplibs_check_method
=pass_all
7250 lt_cv_deplibs_check_method
=pass_all
7253 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7254 lt_cv_deplibs_check_method
=pass_all
7258 case $host_vendor in
7260 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]'
7261 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7264 lt_cv_deplibs_check_method
=pass_all
7267 lt_cv_file_magic_cmd
='/bin/file'
7268 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7271 lt_cv_file_magic_cmd
='/bin/file'
7272 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7273 lt_cv_file_magic_test_file
=/lib
/libc.so
7276 lt_cv_deplibs_check_method
=pass_all
7279 lt_cv_deplibs_check_method
=pass_all
7285 lt_cv_deplibs_check_method
=pass_all
7288 lt_cv_deplibs_check_method
=pass_all
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7294 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7298 if test "$build" = "$host"; then
7301 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
7304 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7310 file_magic_cmd
=$lt_cv_file_magic_cmd
7311 deplibs_check_method
=$lt_cv_deplibs_check_method
7312 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7337 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7341 $as_echo_n "(cached) " >&6
7343 if test -n "$DLLTOOL"; then
7344 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7350 test -z "$as_dir" && as_dir
=.
7351 for ac_exec_ext
in '' $ac_executable_extensions; do
7352 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7353 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7363 DLLTOOL
=$ac_cv_prog_DLLTOOL
7364 if test -n "$DLLTOOL"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7366 $as_echo "$DLLTOOL" >&6; }
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7374 if test -z "$ac_cv_prog_DLLTOOL"; then
7375 ac_ct_DLLTOOL
=$DLLTOOL
7376 # Extract the first word of "dlltool", so it can be a program name with args.
7377 set dummy dlltool
; ac_word
=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7381 $as_echo_n "(cached) " >&6
7383 if test -n "$ac_ct_DLLTOOL"; then
7384 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7390 test -z "$as_dir" && as_dir
=.
7391 for ac_exec_ext
in '' $ac_executable_extensions; do
7392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7393 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7403 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7404 if test -n "$ac_ct_DLLTOOL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7406 $as_echo "$ac_ct_DLLTOOL" >&6; }
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7412 if test "x$ac_ct_DLLTOOL" = x
; then
7415 case $cross_compiling:$ac_tool_warned in
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned
=yes ;;
7421 DLLTOOL
=$ac_ct_DLLTOOL
7424 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7427 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7439 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7440 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
7441 $as_echo_n "(cached) " >&6
7443 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7446 cygwin
* | mingw
* | pw32
* | cegcc
*)
7447 # two different shell functions defined in ltmain.sh;
7448 # decide which one to use based on capabilities of $DLLTOOL
7449 case `$DLLTOOL --help 2>&1` in
7450 *--identify-strict*)
7451 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7454 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7459 # fallback: assume linklib IS sharedlib
7460 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7466 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7467 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7468 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7477 if test -n "$ac_tool_prefix"; then
7480 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7481 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if ${ac_cv_prog_AR+:} false
; then :
7485 $as_echo_n "(cached) " >&6
7487 if test -n "$AR"; then
7488 ac_cv_prog_AR
="$AR" # Let the user override the test.
7490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir
=.
7495 for ac_exec_ext
in '' $ac_executable_extensions; do
7496 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 if test -n "$AR"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7510 $as_echo "$AR" >&6; }
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7517 test -n "$AR" && break
7520 if test -z "$AR"; then
7524 # Extract the first word of "$ac_prog", so it can be a program name with args.
7525 set dummy
$ac_prog; ac_word
=$2
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7527 $as_echo_n "checking for $ac_word... " >&6; }
7528 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7529 $as_echo_n "(cached) " >&6
7531 if test -n "$ac_ct_AR"; then
7532 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7538 test -z "$as_dir" && as_dir
=.
7539 for ac_exec_ext
in '' $ac_executable_extensions; do
7540 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7541 ac_cv_prog_ac_ct_AR
="$ac_prog"
7542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7552 if test -n "$ac_ct_AR"; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7554 $as_echo "$ac_ct_AR" >&6; }
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7557 $as_echo "no" >&6; }
7561 test -n "$ac_ct_AR" && break
7564 if test "x$ac_ct_AR" = x
; then
7567 case $cross_compiling:$ac_tool_warned in
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7571 ac_tool_warned
=yes ;;
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7591 $as_echo_n "checking for archiver @FILE support... " >&6; }
7592 if ${lt_cv_ar_at_file+:} false
; then :
7593 $as_echo_n "(cached) " >&6
7596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7597 /* end confdefs.h. */
7607 if ac_fn_c_try_compile
"$LINENO"; then :
7608 echo conftest.
$ac_objext > conftest.lst
7609 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7610 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7611 (eval $lt_ar_try) 2>&5
7613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7614 test $ac_status = 0; }
7615 if test 0 -eq "$ac_status"; then
7616 # Ensure the archiver fails upon bogus file names.
7617 rm -f conftest.
$ac_objext libconftest.a
7618 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7619 (eval $lt_ar_try) 2>&5
7621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7622 test $ac_status = 0; }
7623 if test 0 -ne "$ac_status"; then
7627 rm -f conftest.
* libconftest.a
7630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7634 $as_echo "$lt_cv_ar_at_file" >&6; }
7636 if test no
= "$lt_cv_ar_at_file"; then
7639 archiver_list_spec
=$lt_cv_ar_at_file
7648 if test -n "$ac_tool_prefix"; then
7649 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7650 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7652 $as_echo_n "checking for $ac_word... " >&6; }
7653 if ${ac_cv_prog_STRIP+:} false
; then :
7654 $as_echo_n "(cached) " >&6
7656 if test -n "$STRIP"; then
7657 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7663 test -z "$as_dir" && as_dir
=.
7664 for ac_exec_ext
in '' $ac_executable_extensions; do
7665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7666 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676 STRIP
=$ac_cv_prog_STRIP
7677 if test -n "$STRIP"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7679 $as_echo "$STRIP" >&6; }
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7687 if test -z "$ac_cv_prog_STRIP"; then
7689 # Extract the first word of "strip", so it can be a program name with args.
7690 set dummy strip
; ac_word
=$2
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692 $as_echo_n "checking for $ac_word... " >&6; }
7693 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7694 $as_echo_n "(cached) " >&6
7696 if test -n "$ac_ct_STRIP"; then
7697 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7703 test -z "$as_dir" && as_dir
=.
7704 for ac_exec_ext
in '' $ac_executable_extensions; do
7705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7706 ac_cv_prog_ac_ct_STRIP
="strip"
7707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7717 if test -n "$ac_ct_STRIP"; then
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7719 $as_echo "$ac_ct_STRIP" >&6; }
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722 $as_echo "no" >&6; }
7725 if test "x$ac_ct_STRIP" = x
; then
7728 case $cross_compiling:$ac_tool_warned in
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7732 ac_tool_warned
=yes ;;
7737 STRIP
="$ac_cv_prog_STRIP"
7740 test -z "$STRIP" && STRIP
=:
7747 if test -n "$ac_tool_prefix"; then
7748 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7749 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7751 $as_echo_n "checking for $ac_word... " >&6; }
7752 if ${ac_cv_prog_RANLIB+:} false
; then :
7753 $as_echo_n "(cached) " >&6
7755 if test -n "$RANLIB"; then
7756 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7762 test -z "$as_dir" && as_dir
=.
7763 for ac_exec_ext
in '' $ac_executable_extensions; do
7764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7765 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7775 RANLIB
=$ac_cv_prog_RANLIB
7776 if test -n "$RANLIB"; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7778 $as_echo "$RANLIB" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7781 $as_echo "no" >&6; }
7786 if test -z "$ac_cv_prog_RANLIB"; then
7787 ac_ct_RANLIB
=$RANLIB
7788 # Extract the first word of "ranlib", so it can be a program name with args.
7789 set dummy ranlib
; ac_word
=$2
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7791 $as_echo_n "checking for $ac_word... " >&6; }
7792 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7793 $as_echo_n "(cached) " >&6
7795 if test -n "$ac_ct_RANLIB"; then
7796 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7802 test -z "$as_dir" && as_dir
=.
7803 for ac_exec_ext
in '' $ac_executable_extensions; do
7804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7805 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7815 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7816 if test -n "$ac_ct_RANLIB"; then
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7818 $as_echo "$ac_ct_RANLIB" >&6; }
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7821 $as_echo "no" >&6; }
7824 if test "x$ac_ct_RANLIB" = x
; then
7827 case $cross_compiling:$ac_tool_warned in
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7831 ac_tool_warned
=yes ;;
7833 RANLIB
=$ac_ct_RANLIB
7836 RANLIB
="$ac_cv_prog_RANLIB"
7839 test -z "$RANLIB" && RANLIB
=:
7846 # Determine commands to create old-style static archives.
7847 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7848 old_postinstall_cmds
='chmod 644 $oldlib'
7849 old_postuninstall_cmds
=
7851 if test -n "$RANLIB"; then
7854 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7857 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7860 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7865 lock_old_archive_extraction
=yes ;;
7867 lock_old_archive_extraction
=no
;;
7908 # If no C compiler was specified, use CC.
7911 # If no C compiler flags were specified, use CFLAGS.
7912 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7914 # Allow CC to be a program name with arguments.
7918 # Check for command to grab the raw symbol name followed by C symbol from nm.
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7920 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7921 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7922 $as_echo_n "(cached) " >&6
7925 # These are sane defaults that work on at least a few old systems.
7926 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7928 # Character class describing NM global symbol codes.
7929 symcode
='[BCDEGRST]'
7931 # Regexp to match symbols that can be accessed directly from C.
7932 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7934 # Define system-specific variables.
7939 cygwin
* | mingw
* | pw32
* | cegcc
*)
7940 symcode
='[ABCDGISTW]'
7943 if test ia64
= "$host_cpu"; then
7944 symcode
='[ABCDEGRST]'
7948 symcode
='[BCDEGRST]'
7951 symcode
='[BCDEGQRST]'
7962 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7970 # If we're using GNU nm, then use its standard symbol codes.
7971 case `$NM -V 2>&1` in
7972 *GNU
* |
*'with BFD'*)
7973 symcode
='[ABCDGIRSTW]' ;;
7976 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7977 # Gets list of data symbols to import.
7978 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7979 # Adjust the below global symbol transforms to fixup imported variables.
7980 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7981 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7982 lt_c_name_lib_hook
="\
7983 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7984 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7986 # Disable hooks by default.
7987 lt_cv_sys_global_symbol_to_import
=
7993 # Transform an extracted symbol line into a proper C declaration.
7994 # Some systems (esp. on ia64) link data and code symbols differently,
7995 # so use this general approach.
7996 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
7998 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7999 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8001 # Transform an extracted symbol line into symbol name and symbol address
8002 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
8004 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8005 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
8007 # Transform an extracted symbol line into symbol name with lib prefix and
8009 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
8010 $lt_c_name_lib_hook\
8011 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8012 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
8013 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8015 # Handle CRLF in mingw tool chain
8019 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8023 # Try without a prefix underscore, then with it.
8024 for ac_symprfx
in "" "_"; do
8026 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8027 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8029 # Write the raw and C identifiers.
8030 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8031 # Fake it for dumpbin and say T for any non-static function,
8032 # D for any global variable and I for any imported variable.
8033 # Also find C++ and __fastcall symbols from MSVC++,
8034 # which start with @ or ?.
8035 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8036 " {last_section=section; section=\$ 3};"\
8037 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8038 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8039 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8040 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8041 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8042 " \$ 0!~/External *\|/{next};"\
8043 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8044 " {if(hide[section]) next};"\
8045 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8046 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8047 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8048 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8049 " ' prfx=^$ac_symprfx"
8051 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8053 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8055 # Check to see that the pipe works correctly.
8059 cat > conftest.
$ac_ext <<_LT_EOF
8064 void nm_test_func(void);
8065 void nm_test_func(void){}
8069 int main(){nm_test_var='a';nm_test_func();return(0);}
8072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8073 (eval $ac_compile) 2>&5
8075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8076 test $ac_status = 0; }; then
8077 # Now try to grab the symbols.
8079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8080 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8083 test $ac_status = 0; } && test -s "$nlist"; then
8084 # Try sorting and uniquifying the output.
8085 if sort "$nlist" |
uniq > "$nlist"T
; then
8086 mv -f "$nlist"T
"$nlist"
8091 # Make sure that we snagged all the symbols we need.
8092 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8093 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8094 cat <<_LT_EOF > conftest.$ac_ext
8095 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8096 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8097 /* DATA imports from DLLs on WIN32 can't be const, because runtime
8098 relocations are performed -- see ld's documentation on pseudo-relocs. */
8099 # define LT_DLSYM_CONST
8100 #elif defined __osf__
8101 /* This system does not cope well with relocations in const data. */
8102 # define LT_DLSYM_CONST
8104 # define LT_DLSYM_CONST const
8112 # Now generate the symbol file.
8113 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8115 cat <<_LT_EOF >> conftest.$ac_ext
8117 /* The mapping between symbol names and symbols. */
8118 LT_DLSYM_CONST struct {
8122 lt__PROGRAM__LTX_preloaded_symbols[] =
8124 { "@PROGRAM@", (void *) 0 },
8126 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8127 cat <<\_LT_EOF
>> conftest.
$ac_ext
8131 /* This works around a problem
in FreeBSD linker
*/
8132 #ifdef FREEBSD_WORKAROUND
8133 static const void
*lt_preloaded_setup
() {
8134 return lt__PROGRAM__LTX_preloaded_symbols
;
8142 # Now try linking the two files.
8143 mv conftest.
$ac_objext conftstm.
$ac_objext
8144 lt_globsym_save_LIBS
=$LIBS
8145 lt_globsym_save_CFLAGS
=$CFLAGS
8146 LIBS
=conftstm.
$ac_objext
8147 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8149 (eval $ac_link) 2>&5
8151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8152 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
8155 LIBS
=$lt_globsym_save_LIBS
8156 CFLAGS
=$lt_globsym_save_CFLAGS
8158 echo "cannot find nm_test_func in $nlist" >&5
8161 echo "cannot find nm_test_var in $nlist" >&5
8164 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8167 echo "$progname: failed program was:" >&5
8168 cat conftest.
$ac_ext >&5
8170 rm -rf conftest
* conftst
*
8172 # Do not use the global_symbol_pipe unless it works.
8173 if test yes = "$pipe_works"; then
8176 lt_cv_sys_global_symbol_pipe
=
8182 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8183 lt_cv_sys_global_symbol_to_cdecl
=
8185 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8187 $as_echo "failed" >&6; }
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8190 $as_echo "ok" >&6; }
8193 # Response file support.
8194 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8195 nm_file_list_spec
='@'
8196 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
8197 nm_file_list_spec
='@'
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8237 $as_echo_n "checking for sysroot... " >&6; }
8239 # Check whether --with-sysroot was given.
8240 if test "${with_sysroot+set}" = set; then :
8241 withval
=$with_sysroot;
8248 case $with_sysroot in #(
8250 if test yes = "$GCC"; then
8251 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
8255 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8261 $as_echo "$with_sysroot" >&6; }
8262 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8267 $as_echo "${lt_sysroot:-no}" >&6; }
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8274 $as_echo_n "checking for a working dd... " >&6; }
8275 if ${ac_cv_path_lt_DD+:} false
; then :
8276 $as_echo_n "(cached) " >&6
8278 printf 0123456789abcdef0123456789abcdef
>conftest.i
8279 cat conftest.i conftest.i
>conftest2.i
8281 if test -z "$lt_DD"; then
8282 ac_path_lt_DD_found
=false
8283 # Loop through the user's path and test for each of PROGNAME-LIST
8284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8288 test -z "$as_dir" && as_dir
=.
8289 for ac_prog
in dd; do
8290 for ac_exec_ext
in '' $ac_executable_extensions; do
8291 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
8292 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
8293 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8294 cmp -s conftest.i conftest.out \
8295 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
8297 $ac_path_lt_DD_found && break 3
8302 if test -z "$ac_cv_path_lt_DD"; then
8306 ac_cv_path_lt_DD
=$lt_DD
8309 rm -f conftest.i conftest2.i conftest.out
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8312 $as_echo "$ac_cv_path_lt_DD" >&6; }
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8316 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8317 if ${lt_cv_truncate_bin+:} false
; then :
8318 $as_echo_n "(cached) " >&6
8320 printf 0123456789abcdef0123456789abcdef
>conftest.i
8321 cat conftest.i conftest.i
>conftest2.i
8323 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8324 cmp -s conftest.i conftest.out \
8325 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
8327 rm -f conftest.i conftest2.i conftest.out
8328 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8331 $as_echo "$lt_cv_truncate_bin" >&6; }
8339 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8342 for cc_temp
in $
*""; do
8344 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8345 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8350 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8353 # Check whether --enable-libtool-lock was given.
8354 if test "${enable_libtool_lock+set}" = set; then :
8355 enableval
=$enable_libtool_lock;
8358 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
8360 # Some flags need to be propagated to the compiler or linker for good
8364 # Find out what ABI is being produced by ac_compile, and set mode
8365 # options accordingly.
8366 echo 'int i;' > conftest.
$ac_ext
8367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8368 (eval $ac_compile) 2>&5
8370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8371 test $ac_status = 0; }; then
8372 case `/usr/bin/file conftest.$ac_objext` in
8384 # Find out what ABI is being produced by ac_compile, and set linker
8385 # options accordingly.
8386 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8388 (eval $ac_compile) 2>&5
8390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8391 test $ac_status = 0; }; then
8392 if test yes = "$lt_cv_prog_gnu_ld"; then
8393 case `/usr/bin/file conftest.$ac_objext` in
8395 LD
="${LD-ld} -melf32bsmip"
8398 LD
="${LD-ld} -melf32bmipn32"
8401 LD
="${LD-ld} -melf64bmip"
8405 case `/usr/bin/file conftest.$ac_objext` in
8422 # Find out what ABI is being produced by ac_compile, and set linker
8423 # options accordingly.
8424 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8426 (eval $ac_compile) 2>&5
8428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8429 test $ac_status = 0; }; then
8431 case `/usr/bin/file conftest.$ac_objext` in
8439 case `/usr/bin/file conftest.$ac_objext` in
8441 emul
="${emul}btsmip"
8444 emul
="${emul}ltsmip"
8447 case `/usr/bin/file conftest.$ac_objext` in
8452 LD
="${LD-ld} -m $emul"
8457 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8458 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8459 # Find out what ABI is being produced by ac_compile, and set linker
8460 # options accordingly. Note that the listed cases only cover the
8461 # situations where additional linker options are needed (such as when
8462 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8463 # vice versa); the common cases where no linker options are needed do
8464 # not appear in the list.
8465 echo 'int i;' > conftest.
$ac_ext
8466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8467 (eval $ac_compile) 2>&5
8469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8470 test $ac_status = 0; }; then
8471 case `/usr/bin/file conftest.o` in
8474 x86_64-
*kfreebsd
*-gnu)
8475 LD
="${LD-ld} -m elf_i386_fbsd"
8478 case `/usr/bin/file conftest.o` in
8480 LD
="${LD-ld} -m elf32_x86_64"
8483 LD
="${LD-ld} -m elf_i386"
8487 powerpc64le-
*linux
*)
8488 LD
="${LD-ld} -m elf32lppclinux"
8491 LD
="${LD-ld} -m elf32ppclinux"
8494 LD
="${LD-ld} -m elf_s390"
8497 LD
="${LD-ld} -m elf32_sparc"
8503 x86_64-
*kfreebsd
*-gnu)
8504 LD
="${LD-ld} -m elf_x86_64_fbsd"
8507 LD
="${LD-ld} -m elf_x86_64"
8510 LD
="${LD-ld} -m elf64lppc"
8513 LD
="${LD-ld} -m elf64ppc"
8515 s390
*-*linux
*|s390
*-*tpf
*)
8516 LD
="${LD-ld} -m elf64_s390"
8519 LD
="${LD-ld} -m elf64_sparc"
8529 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8531 CFLAGS
="$CFLAGS -belf"
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8533 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8534 if ${lt_cv_cc_needs_belf+:} false
; then :
8535 $as_echo_n "(cached) " >&6
8538 ac_cpp
='$CPP $CPPFLAGS'
8539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8554 if ac_fn_c_try_link
"$LINENO"; then :
8555 lt_cv_cc_needs_belf
=yes
8557 lt_cv_cc_needs_belf
=no
8559 rm -f core conftest.err conftest.
$ac_objext \
8560 conftest
$ac_exeext conftest.
$ac_ext
8562 ac_cpp
='$CPP $CPPFLAGS'
8563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8569 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8570 if test yes != "$lt_cv_cc_needs_belf"; then
8571 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8576 # Find out what ABI is being produced by ac_compile, and set linker
8577 # options accordingly.
8578 echo 'int i;' > conftest.
$ac_ext
8579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8580 (eval $ac_compile) 2>&5
8582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8583 test $ac_status = 0; }; then
8584 case `/usr/bin/file conftest.o` in
8586 case $lt_cv_prog_gnu_ld in
8589 i?
86-*-solaris*|x86_64-
*-solaris*)
8590 LD
="${LD-ld} -m elf_x86_64"
8593 LD
="${LD-ld} -m elf64_sparc"
8596 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8597 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
8602 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8614 need_locks
=$enable_libtool_lock
8616 if test -n "$ac_tool_prefix"; then
8617 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8618 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8620 $as_echo_n "checking for $ac_word... " >&6; }
8621 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
8622 $as_echo_n "(cached) " >&6
8624 if test -n "$MANIFEST_TOOL"; then
8625 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8631 test -z "$as_dir" && as_dir
=.
8632 for ac_exec_ext
in '' $ac_executable_extensions; do
8633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8634 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8644 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8645 if test -n "$MANIFEST_TOOL"; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8647 $as_echo "$MANIFEST_TOOL" >&6; }
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8650 $as_echo "no" >&6; }
8655 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8656 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8657 # Extract the first word of "mt", so it can be a program name with args.
8658 set dummy mt
; ac_word
=$2
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8660 $as_echo_n "checking for $ac_word... " >&6; }
8661 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8662 $as_echo_n "(cached) " >&6
8664 if test -n "$ac_ct_MANIFEST_TOOL"; then
8665 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8671 test -z "$as_dir" && as_dir
=.
8672 for ac_exec_ext
in '' $ac_executable_extensions; do
8673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8674 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8684 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8685 if test -n "$ac_ct_MANIFEST_TOOL"; then
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8687 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8690 $as_echo "no" >&6; }
8693 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8696 case $cross_compiling:$ac_tool_warned in
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8700 ac_tool_warned
=yes ;;
8702 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8705 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8708 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8710 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8711 if ${lt_cv_path_mainfest_tool+:} false
; then :
8712 $as_echo_n "(cached) " >&6
8714 lt_cv_path_mainfest_tool
=no
8715 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8716 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8717 cat conftest.err
>&5
8718 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8719 lt_cv_path_mainfest_tool
=yes
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8724 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8725 if test yes != "$lt_cv_path_mainfest_tool"; then
8735 rhapsody
* | darwin
*)
8736 if test -n "$ac_tool_prefix"; then
8737 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8738 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8740 $as_echo_n "checking for $ac_word... " >&6; }
8741 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8742 $as_echo_n "(cached) " >&6
8744 if test -n "$DSYMUTIL"; then
8745 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8751 test -z "$as_dir" && as_dir
=.
8752 for ac_exec_ext
in '' $ac_executable_extensions; do
8753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8754 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8764 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8765 if test -n "$DSYMUTIL"; then
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8767 $as_echo "$DSYMUTIL" >&6; }
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8770 $as_echo "no" >&6; }
8775 if test -z "$ac_cv_prog_DSYMUTIL"; then
8776 ac_ct_DSYMUTIL
=$DSYMUTIL
8777 # Extract the first word of "dsymutil", so it can be a program name with args.
8778 set dummy dsymutil
; ac_word
=$2
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8780 $as_echo_n "checking for $ac_word... " >&6; }
8781 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8782 $as_echo_n "(cached) " >&6
8784 if test -n "$ac_ct_DSYMUTIL"; then
8785 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8791 test -z "$as_dir" && as_dir
=.
8792 for ac_exec_ext
in '' $ac_executable_extensions; do
8793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8794 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8804 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8805 if test -n "$ac_ct_DSYMUTIL"; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8807 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8810 $as_echo "no" >&6; }
8813 if test "x$ac_ct_DSYMUTIL" = x
; then
8816 case $cross_compiling:$ac_tool_warned in
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8820 ac_tool_warned
=yes ;;
8822 DSYMUTIL
=$ac_ct_DSYMUTIL
8825 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8828 if test -n "$ac_tool_prefix"; then
8829 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8830 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8832 $as_echo_n "checking for $ac_word... " >&6; }
8833 if ${ac_cv_prog_NMEDIT+:} false
; then :
8834 $as_echo_n "(cached) " >&6
8836 if test -n "$NMEDIT"; then
8837 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8843 test -z "$as_dir" && as_dir
=.
8844 for ac_exec_ext
in '' $ac_executable_extensions; do
8845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8846 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8856 NMEDIT
=$ac_cv_prog_NMEDIT
8857 if test -n "$NMEDIT"; then
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8859 $as_echo "$NMEDIT" >&6; }
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8862 $as_echo "no" >&6; }
8867 if test -z "$ac_cv_prog_NMEDIT"; then
8868 ac_ct_NMEDIT
=$NMEDIT
8869 # Extract the first word of "nmedit", so it can be a program name with args.
8870 set dummy nmedit
; ac_word
=$2
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8872 $as_echo_n "checking for $ac_word... " >&6; }
8873 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8874 $as_echo_n "(cached) " >&6
8876 if test -n "$ac_ct_NMEDIT"; then
8877 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8883 test -z "$as_dir" && as_dir
=.
8884 for ac_exec_ext
in '' $ac_executable_extensions; do
8885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8886 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8896 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8897 if test -n "$ac_ct_NMEDIT"; then
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8899 $as_echo "$ac_ct_NMEDIT" >&6; }
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8902 $as_echo "no" >&6; }
8905 if test "x$ac_ct_NMEDIT" = x
; then
8908 case $cross_compiling:$ac_tool_warned in
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8912 ac_tool_warned
=yes ;;
8914 NMEDIT
=$ac_ct_NMEDIT
8917 NMEDIT
="$ac_cv_prog_NMEDIT"
8920 if test -n "$ac_tool_prefix"; then
8921 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8922 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8924 $as_echo_n "checking for $ac_word... " >&6; }
8925 if ${ac_cv_prog_LIPO+:} false
; then :
8926 $as_echo_n "(cached) " >&6
8928 if test -n "$LIPO"; then
8929 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8935 test -z "$as_dir" && as_dir
=.
8936 for ac_exec_ext
in '' $ac_executable_extensions; do
8937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8938 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8948 LIPO
=$ac_cv_prog_LIPO
8949 if test -n "$LIPO"; then
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8951 $as_echo "$LIPO" >&6; }
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8954 $as_echo "no" >&6; }
8959 if test -z "$ac_cv_prog_LIPO"; then
8961 # Extract the first word of "lipo", so it can be a program name with args.
8962 set dummy lipo
; ac_word
=$2
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8964 $as_echo_n "checking for $ac_word... " >&6; }
8965 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8966 $as_echo_n "(cached) " >&6
8968 if test -n "$ac_ct_LIPO"; then
8969 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir
=.
8976 for ac_exec_ext
in '' $ac_executable_extensions; do
8977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8978 ac_cv_prog_ac_ct_LIPO
="lipo"
8979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8988 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8989 if test -n "$ac_ct_LIPO"; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8991 $as_echo "$ac_ct_LIPO" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8994 $as_echo "no" >&6; }
8997 if test "x$ac_ct_LIPO" = x
; then
9000 case $cross_compiling:$ac_tool_warned in
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9004 ac_tool_warned
=yes ;;
9009 LIPO
="$ac_cv_prog_LIPO"
9012 if test -n "$ac_tool_prefix"; then
9013 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9014 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9016 $as_echo_n "checking for $ac_word... " >&6; }
9017 if ${ac_cv_prog_OTOOL+:} false
; then :
9018 $as_echo_n "(cached) " >&6
9020 if test -n "$OTOOL"; then
9021 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9027 test -z "$as_dir" && as_dir
=.
9028 for ac_exec_ext
in '' $ac_executable_extensions; do
9029 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9030 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9040 OTOOL
=$ac_cv_prog_OTOOL
9041 if test -n "$OTOOL"; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9043 $as_echo "$OTOOL" >&6; }
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9046 $as_echo "no" >&6; }
9051 if test -z "$ac_cv_prog_OTOOL"; then
9053 # Extract the first word of "otool", so it can be a program name with args.
9054 set dummy otool
; ac_word
=$2
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9056 $as_echo_n "checking for $ac_word... " >&6; }
9057 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
9058 $as_echo_n "(cached) " >&6
9060 if test -n "$ac_ct_OTOOL"; then
9061 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9067 test -z "$as_dir" && as_dir
=.
9068 for ac_exec_ext
in '' $ac_executable_extensions; do
9069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9070 ac_cv_prog_ac_ct_OTOOL
="otool"
9071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9080 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9081 if test -n "$ac_ct_OTOOL"; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9083 $as_echo "$ac_ct_OTOOL" >&6; }
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9086 $as_echo "no" >&6; }
9089 if test "x$ac_ct_OTOOL" = x
; then
9092 case $cross_compiling:$ac_tool_warned in
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9096 ac_tool_warned
=yes ;;
9101 OTOOL
="$ac_cv_prog_OTOOL"
9104 if test -n "$ac_tool_prefix"; then
9105 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9106 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9108 $as_echo_n "checking for $ac_word... " >&6; }
9109 if ${ac_cv_prog_OTOOL64+:} false
; then :
9110 $as_echo_n "(cached) " >&6
9112 if test -n "$OTOOL64"; then
9113 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9119 test -z "$as_dir" && as_dir
=.
9120 for ac_exec_ext
in '' $ac_executable_extensions; do
9121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9122 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9132 OTOOL64
=$ac_cv_prog_OTOOL64
9133 if test -n "$OTOOL64"; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9135 $as_echo "$OTOOL64" >&6; }
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9138 $as_echo "no" >&6; }
9143 if test -z "$ac_cv_prog_OTOOL64"; then
9144 ac_ct_OTOOL64
=$OTOOL64
9145 # Extract the first word of "otool64", so it can be a program name with args.
9146 set dummy otool64
; ac_word
=$2
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9148 $as_echo_n "checking for $ac_word... " >&6; }
9149 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9150 $as_echo_n "(cached) " >&6
9152 if test -n "$ac_ct_OTOOL64"; then
9153 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9159 test -z "$as_dir" && as_dir
=.
9160 for ac_exec_ext
in '' $ac_executable_extensions; do
9161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9162 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9172 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9173 if test -n "$ac_ct_OTOOL64"; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9175 $as_echo "$ac_ct_OTOOL64" >&6; }
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9178 $as_echo "no" >&6; }
9181 if test "x$ac_ct_OTOOL64" = x
; then
9184 case $cross_compiling:$ac_tool_warned in
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9188 ac_tool_warned
=yes ;;
9190 OTOOL64
=$ac_ct_OTOOL64
9193 OTOOL64
="$ac_cv_prog_OTOOL64"
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9223 $as_echo_n "checking for -single_module linker flag... " >&6; }
9224 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9225 $as_echo_n "(cached) " >&6
9227 lt_cv_apple_cc_single_mod
=no
9228 if test -z "$LT_MULTI_MODULE"; then
9229 # By default we will add the -single_module flag. You can override
9230 # by either setting the environment variable LT_MULTI_MODULE
9231 # non-empty at configure time, or by adding -multi_module to the
9233 rm -rf libconftest.dylib
*
9234 echo "int foo(void){return 1;}" > conftest.c
9235 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9236 -dynamiclib -Wl,-single_module conftest.c" >&5
9237 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9238 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9240 # If there is a non-empty error log, and "single_module"
9241 # appears in it, assume the flag caused a linker warning
9242 if test -s conftest.err
&& $GREP single_module conftest.err
; then
9243 cat conftest.err
>&5
9244 # Otherwise, if the output was created with a 0 exit code from
9245 # the compiler, it worked.
9246 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
9247 lt_cv_apple_cc_single_mod
=yes
9249 cat conftest.err
>&5
9251 rm -rf libconftest.dylib
*
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9256 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9259 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9260 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9261 $as_echo_n "(cached) " >&6
9263 lt_cv_ld_exported_symbols_list
=no
9264 save_LDFLAGS
=$LDFLAGS
9265 echo "_main" > conftest.sym
9266 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9268 /* end confdefs.h. */
9278 if ac_fn_c_try_link
"$LINENO"; then :
9279 lt_cv_ld_exported_symbols_list
=yes
9281 lt_cv_ld_exported_symbols_list
=no
9283 rm -f core conftest.err conftest.
$ac_objext \
9284 conftest
$ac_exeext conftest.
$ac_ext
9285 LDFLAGS
=$save_LDFLAGS
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9289 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9292 $as_echo_n "checking for -force_load linker flag... " >&6; }
9293 if ${lt_cv_ld_force_load+:} false
; then :
9294 $as_echo_n "(cached) " >&6
9296 lt_cv_ld_force_load
=no
9297 cat > conftest.c
<< _LT_EOF
9298 int forced_loaded() { return 2;}
9300 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9301 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9302 echo "$AR cru libconftest.a conftest.o" >&5
9303 $AR cru libconftest.a conftest.o
2>&5
9304 echo "$RANLIB libconftest.a" >&5
9305 $RANLIB libconftest.a
2>&5
9306 cat > conftest.c
<< _LT_EOF
9307 int main() { return 0;}
9309 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9310 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9312 if test -s conftest.err
&& $GREP force_load conftest.err
; then
9313 cat conftest.err
>&5
9314 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
9315 lt_cv_ld_force_load
=yes
9317 cat conftest.err
>&5
9319 rm -f conftest.err libconftest.a conftest conftest.c
9320 rm -rf conftest.dSYM
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9324 $as_echo "$lt_cv_ld_force_load" >&6; }
9326 rhapsody
* | darwin1.
[012])
9327 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
9329 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9330 darwin
*) # darwin 5.x on
9331 # if running on 10.5 or later, the deployment target defaults
9332 # to the OS version, if on x86, and 10.4, the deployment
9333 # target defaults to 10.4. Don't you love it?
9334 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9335 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9336 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9338 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9340 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9344 if test yes = "$lt_cv_apple_cc_single_mod"; then
9345 _lt_dar_single_mod
='$single_module'
9347 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9348 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9350 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9352 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
9353 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9360 # func_munge_path_list VARIABLE PATH
9361 # -----------------------------------
9362 # VARIABLE is name of variable containing _space_ separated list of
9363 # directories to be munged by the contents of PATH, which is string
9366 # string "DIR[ DIR]" will be prepended to VARIABLE
9368 # string "DIR[ DIR]" will be appended to VARIABLE
9369 # "DIRP[:DIRP]::[DIRA:]DIRA"
9370 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9371 # "DIRA[ DIRA]" will be appended to VARIABLE
9373 # VARIABLE will be replaced by "DIR[ DIR]"
9374 func_munge_path_list
()
9380 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
9383 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9386 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9387 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
9390 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9397 $as_echo_n "checking for ANSI C header files... " >&6; }
9398 if ${ac_cv_header_stdc+:} false
; then :
9399 $as_echo_n "(cached) " >&6
9401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9416 if ac_fn_c_try_compile
"$LINENO"; then :
9417 ac_cv_header_stdc
=yes
9419 ac_cv_header_stdc
=no
9421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9423 if test $ac_cv_header_stdc = yes; then
9424 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9431 $EGREP "memchr" >/dev
/null
2>&1; then :
9434 ac_cv_header_stdc
=no
9440 if test $ac_cv_header_stdc = yes; then
9441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9448 $EGREP "free" >/dev
/null
2>&1; then :
9451 ac_cv_header_stdc
=no
9457 if test $ac_cv_header_stdc = yes; then
9458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9459 if test "$cross_compiling" = yes; then :
9462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9466 #if ((' ' & 0x0FF) == 0x020)
9467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9470 # define ISLOWER(c) \
9471 (('a' <= (c) && (c) <= 'i') \
9472 || ('j' <= (c) && (c) <= 'r') \
9473 || ('s' <= (c) && (c) <= 'z'))
9474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9482 for (i = 0; i < 256; i++)
9483 if (XOR (islower (i), ISLOWER (i))
9484 || toupper (i) != TOUPPER (i))
9489 if ac_fn_c_try_run
"$LINENO"; then :
9492 ac_cv_header_stdc
=no
9494 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9495 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9501 $as_echo "$ac_cv_header_stdc" >&6; }
9502 if test $ac_cv_header_stdc = yes; then
9504 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9508 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9509 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9510 inttypes.h stdint.h unistd.h
9512 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9513 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9515 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9516 cat >>confdefs.h
<<_ACEOF
9517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9525 for ac_header
in dlfcn.h
9527 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9529 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9530 cat >>confdefs.h
<<_ACEOF
9531 #define HAVE_DLFCN_H 1
9552 # Check whether --enable-shared was given.
9553 if test "${enable_shared+set}" = set; then :
9554 enableval
=$enable_shared; p
=${PACKAGE-default}
9556 yes) enable_shared
=yes ;;
9557 no
) enable_shared
=no
;;
9560 # Look at the argument we got. We use all the common list separators.
9561 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9562 for pkg
in $enableval; do
9564 if test "X$pkg" = "X$p"; then
9583 # Check whether --enable-static was given.
9584 if test "${enable_static+set}" = set; then :
9585 enableval
=$enable_static; p
=${PACKAGE-default}
9587 yes) enable_static
=yes ;;
9588 no
) enable_static
=no
;;
9591 # Look at the argument we got. We use all the common list separators.
9592 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9593 for pkg
in $enableval; do
9595 if test "X$pkg" = "X$p"; then
9615 # Check whether --with-pic was given.
9616 if test "${with_pic+set}" = set; then :
9617 withval
=$with_pic; lt_p
=${PACKAGE-default}
9619 yes|no
) pic_mode
=$withval ;;
9622 # Look at the argument we got. We use all the common list separators.
9623 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9624 for lt_pkg
in $withval; do
9626 if test "X$lt_pkg" = "X$lt_p"; then
9644 # Check whether --enable-fast-install was given.
9645 if test "${enable_fast_install+set}" = set; then :
9646 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9648 yes) enable_fast_install
=yes ;;
9649 no
) enable_fast_install
=no
;;
9651 enable_fast_install
=no
9652 # Look at the argument we got. We use all the common list separators.
9653 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9654 for pkg
in $enableval; do
9656 if test "X$pkg" = "X$p"; then
9657 enable_fast_install
=yes
9664 enable_fast_install
=yes
9674 shared_archive_member_spec
=
9675 case $host,$enable_shared in
9676 power
*-*-aix[5-9]*,yes)
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9678 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9680 # Check whether --with-aix-soname was given.
9681 if test "${with_aix_soname+set}" = set; then :
9682 withval
=$with_aix_soname; case $withval in
9686 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9689 lt_cv_with_aix_soname
=$with_aix_soname
9691 if ${lt_cv_with_aix_soname+:} false
; then :
9692 $as_echo_n "(cached) " >&6
9694 lt_cv_with_aix_soname
=aix
9697 with_aix_soname
=$lt_cv_with_aix_soname
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9701 $as_echo "$with_aix_soname" >&6; }
9702 if test aix
!= "$with_aix_soname"; then
9703 # For the AIX way of multilib, we name the shared archive member
9704 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9705 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9706 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9707 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9708 if test 64 = "${OBJECT_MODE-32}"; then
9709 shared_archive_member_spec
=shr_64
9711 shared_archive_member_spec
=shr
9729 # This can be used to rebuild libtool when needed
9730 LIBTOOL_DEPS
=$ltmain
9732 # Always use our own libtool.
9733 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9764 test -z "$LN_S" && LN_S
="ln -s"
9779 if test -n "${ZSH_VERSION+set}"; then
9780 setopt NO_GLOB_SUBST
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9784 $as_echo_n "checking for objdir... " >&6; }
9785 if ${lt_cv_objdir+:} false
; then :
9786 $as_echo_n "(cached) " >&6
9788 rm -f .libs
2>/dev
/null
9789 mkdir .libs
2>/dev
/null
9790 if test -d .libs
; then
9793 # MS-DOS does not allow filenames that begin with a dot.
9796 rmdir .libs
2>/dev
/null
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9799 $as_echo "$lt_cv_objdir" >&6; }
9800 objdir
=$lt_cv_objdir
9806 cat >>confdefs.h
<<_ACEOF
9807 #define LT_OBJDIR "$lt_cv_objdir/"
9815 # AIX sometimes has problems with the GCC collect2 program. For some
9816 # reason, if we set the COLLECT_NAMES environment variable, the problems
9817 # vanish in a puff of smoke.
9818 if test set != "${COLLECT_NAMES+set}"; then
9820 export COLLECT_NAMES
9827 can_build_shared
=yes
9829 # All known linkers require a '.a' archive for static linking (except MSVC,
9830 # which needs '.lib').
9833 with_gnu_ld
=$lt_cv_prog_gnu_ld
9838 # Set sane defaults for various variables
9839 test -z "$CC" && CC
=cc
9840 test -z "$LTCC" && LTCC
=$CC
9841 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9842 test -z "$LD" && LD
=ld
9843 test -z "$ac_objext" && ac_objext
=o
9845 func_cc_basename
$compiler
9846 cc_basename
=$func_cc_basename_result
9849 # Only perform the check for file, if the check method requires it
9850 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9851 case $deplibs_check_method in
9853 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9855 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9856 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9857 $as_echo_n "(cached) " >&6
9861 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9864 lt_save_MAGIC_CMD
=$MAGIC_CMD
9865 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9866 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9867 for ac_dir
in $ac_dummy; do
9869 test -z "$ac_dir" && ac_dir
=.
9870 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9871 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9872 if test -n "$file_magic_test_file"; then
9873 case $deplibs_check_method in
9875 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9876 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9877 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9878 $EGREP "$file_magic_regex" > /dev
/null
; then
9883 *** Warning: the command libtool uses to detect shared libraries,
9884 *** $file_magic_cmd, produces output that libtool cannot recognize.
9885 *** The result is that libtool may fail to recognize shared libraries
9886 *** as such. This will affect the creation of libtool libraries that
9887 *** depend on shared libraries, but programs linked with such libtool
9888 *** libraries will work regardless of this problem. Nevertheless, you
9889 *** may want to report the problem to your system manager and/or to
9890 *** bug-libtool@gnu.org
9900 MAGIC_CMD
=$lt_save_MAGIC_CMD
9905 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9906 if test -n "$MAGIC_CMD"; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9908 $as_echo "$MAGIC_CMD" >&6; }
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9911 $as_echo "no" >&6; }
9918 if test -z "$lt_cv_path_MAGIC_CMD"; then
9919 if test -n "$ac_tool_prefix"; then
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9921 $as_echo_n "checking for file... " >&6; }
9922 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9923 $as_echo_n "(cached) " >&6
9927 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9930 lt_save_MAGIC_CMD
=$MAGIC_CMD
9931 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9932 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9933 for ac_dir
in $ac_dummy; do
9935 test -z "$ac_dir" && ac_dir
=.
9936 if test -f "$ac_dir/file"; then
9937 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9938 if test -n "$file_magic_test_file"; then
9939 case $deplibs_check_method in
9941 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9942 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9943 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9944 $EGREP "$file_magic_regex" > /dev
/null
; then
9949 *** Warning: the command libtool uses to detect shared libraries,
9950 *** $file_magic_cmd, produces output that libtool cannot recognize.
9951 *** The result is that libtool may fail to recognize shared libraries
9952 *** as such. This will affect the creation of libtool libraries that
9953 *** depend on shared libraries, but programs linked with such libtool
9954 *** libraries will work regardless of this problem. Nevertheless, you
9955 *** may want to report the problem to your system manager and/or to
9956 *** bug-libtool@gnu.org
9966 MAGIC_CMD
=$lt_save_MAGIC_CMD
9971 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9972 if test -n "$MAGIC_CMD"; then
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9974 $as_echo "$MAGIC_CMD" >&6; }
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9977 $as_echo "no" >&6; }
9990 # Use C for the default configuration in the libtool script
9994 ac_cpp
='$CPP $CPPFLAGS'
9995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10000 # Source file extension for C test sources.
10003 # Object file extension for compiled C test sources.
10007 # Code to be used in simple compile tests
10008 lt_simple_compile_test_code
="int some_variable = 0;"
10010 # Code to be used in simple link tests
10011 lt_simple_link_test_code
='int main(){return(0);}'
10019 # If no C compiler was specified, use CC.
10022 # If no C compiler flags were specified, use CFLAGS.
10023 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10025 # Allow CC to be a program name with arguments.
10028 # Save the default compiler, since it gets overwritten when the other
10029 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10030 compiler_DEFAULT
=$CC
10032 # save warnings/boilerplate of simple test code
10033 ac_outfile
=conftest.
$ac_objext
10034 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10035 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10036 _lt_compiler_boilerplate
=`cat conftest.err`
10039 ac_outfile
=conftest.
$ac_objext
10040 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10041 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10042 _lt_linker_boilerplate
=`cat conftest.err`
10047 ## There is no encapsulation within the following macros, do not change
10048 ## the running order or otherwise move them around unless you know exactly
10049 ## what you are doing...
10050 if test -n "$compiler"; then
10052 lt_prog_compiler_no_builtin_flag
=
10054 if test yes = "$GCC"; then
10055 case $cc_basename in
10057 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10059 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10063 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10064 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
10065 $as_echo_n "(cached) " >&6
10067 lt_cv_prog_compiler_rtti_exceptions
=no
10068 ac_outfile
=conftest.
$ac_objext
10069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10070 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10071 # Insert the option either (1) after the last *FLAGS variable, or
10072 # (2) before a word containing "conftest.", or (3) at the end.
10073 # Note that $ac_compile itself does not contain backslashes and begins
10074 # with a dollar sign (not a hyphen), so the echo should work correctly.
10075 # The option is referenced via a variable to avoid confusing sed.
10076 lt_compile
=`echo "$ac_compile" | $SED \
10077 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10078 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10079 -e 's:$: $lt_compiler_flag:'`
10080 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10081 (eval "$lt_compile" 2>conftest.err
)
10083 cat conftest.err
>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 if (exit $ac_status) && test -s "$ac_outfile"; then
10086 # The compiler can only warn and ignore the option if not recognized
10087 # So say no if there are warnings other than the usual output.
10088 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10089 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10090 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10091 lt_cv_prog_compiler_rtti_exceptions
=yes
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10098 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10100 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10101 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10113 lt_prog_compiler_wl
=
10114 lt_prog_compiler_pic
=
10115 lt_prog_compiler_static
=
10118 if test yes = "$GCC"; then
10119 lt_prog_compiler_wl
='-Wl,'
10120 lt_prog_compiler_static
='-static'
10124 # All AIX code is PIC.
10125 if test ia64
= "$host_cpu"; then
10126 # AIX 5 now supports IA64 processor
10127 lt_prog_compiler_static
='-Bstatic'
10129 lt_prog_compiler_pic
='-fPIC'
10135 # see comment about AmigaOS4 .so support
10136 lt_prog_compiler_pic
='-fPIC'
10139 # FIXME: we need at least 68020 code to build shared libraries, but
10140 # adding the '-m68020' flag to GCC prevents building anything better,
10142 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10147 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10148 # PIC is the default for these OSes.
10151 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10152 # This hack is so that the source file can tell whether it is being
10153 # built for inclusion in a dll (and should export symbols for example).
10154 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10155 # (--disable-auto-import) libraries
10156 lt_prog_compiler_pic
='-DDLL_EXPORT'
10159 lt_prog_compiler_static
='$wl-static'
10164 darwin
* | rhapsody
*)
10165 # PIC is the default on this platform
10166 # Common symbols not allowed in MH_DYLIB files
10167 lt_prog_compiler_pic
='-fno-common'
10171 # PIC is the default for Haiku.
10172 # The "-static" flag exists, but is broken.
10173 lt_prog_compiler_static
=
10177 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10178 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10179 # sets the default TLS model and affects inlining.
10185 lt_prog_compiler_pic
='-fPIC'
10191 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10192 # Instead, we relocate shared libraries at runtime.
10196 # Just because we use GCC doesn't mean we suddenly get shared libraries
10197 # on systems that don't support them.
10198 lt_prog_compiler_can_build_shared
=no
10203 # QNX uses GNU C++, but need to define -shared option too, otherwise
10204 # it will coredump.
10205 lt_prog_compiler_pic
='-fPIC -shared'
10209 if test -d /usr
/nec
; then
10210 lt_prog_compiler_pic
=-Kconform_pic
10215 lt_prog_compiler_pic
='-fPIC'
10219 case $cc_basename in
10220 nvcc
*) # Cuda Compiler Driver 2.2
10221 lt_prog_compiler_wl
='-Xlinker '
10222 if test -n "$lt_prog_compiler_pic"; then
10223 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10228 # PORTME Check for flag to pass linker flags through the system compiler.
10231 lt_prog_compiler_wl
='-Wl,'
10232 if test ia64
= "$host_cpu"; then
10233 # AIX 5 now supports IA64 processor
10234 lt_prog_compiler_static
='-Bstatic'
10236 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10240 darwin
* | rhapsody
*)
10241 # PIC is the default on this platform
10242 # Common symbols not allowed in MH_DYLIB files
10243 lt_prog_compiler_pic
='-fno-common'
10244 case $cc_basename in
10246 # NAG Fortran compiler
10247 lt_prog_compiler_wl
='-Wl,-Wl,,'
10248 lt_prog_compiler_pic
='-PIC'
10249 lt_prog_compiler_static
='-Bstatic'
10254 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10255 # This hack is so that the source file can tell whether it is being
10256 # built for inclusion in a dll (and should export symbols for example).
10257 lt_prog_compiler_pic
='-DDLL_EXPORT'
10260 lt_prog_compiler_static
='$wl-static'
10265 hpux9
* | hpux10
* | hpux11
*)
10266 lt_prog_compiler_wl
='-Wl,'
10267 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10268 # not for PA HP-UX.
10274 lt_prog_compiler_pic
='+Z'
10277 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10278 lt_prog_compiler_static
='$wl-a ${wl}archive'
10281 irix5
* | irix6
* | nonstopux
*)
10282 lt_prog_compiler_wl
='-Wl,'
10283 # PIC (with -KPIC) is the default.
10284 lt_prog_compiler_static
='-non_shared'
10287 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10288 case $cc_basename in
10289 # old Intel for x86_64, which still supported -KPIC.
10291 lt_prog_compiler_wl
='-Wl,'
10292 lt_prog_compiler_pic
='-KPIC'
10293 lt_prog_compiler_static
='-static'
10295 # icc used to be incompatible with GCC.
10296 # ICC 10 doesn't accept -KPIC any more.
10298 lt_prog_compiler_wl
='-Wl,'
10299 lt_prog_compiler_pic
='-fPIC'
10300 lt_prog_compiler_static
='-static'
10302 # Lahey Fortran 8.1.
10304 lt_prog_compiler_wl
='-Wl,'
10305 lt_prog_compiler_pic
='--shared'
10306 lt_prog_compiler_static
='--static'
10309 # NAG Fortran compiler
10310 lt_prog_compiler_wl
='-Wl,-Wl,,'
10311 lt_prog_compiler_pic
='-PIC'
10312 lt_prog_compiler_static
='-Bstatic'
10315 # Fabrice Bellard et al's Tiny C Compiler
10316 lt_prog_compiler_wl
='-Wl,'
10317 lt_prog_compiler_pic
='-fPIC'
10318 lt_prog_compiler_static
='-static'
10320 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10321 # Portland Group compilers (*not* the Pentium gcc compiler,
10322 # which looks to be a dead project)
10323 lt_prog_compiler_wl
='-Wl,'
10324 lt_prog_compiler_pic
='-fpic'
10325 lt_prog_compiler_static
='-Bstatic'
10328 lt_prog_compiler_wl
='-Wl,'
10329 # All Alpha code is PIC.
10330 lt_prog_compiler_static
='-non_shared'
10332 xl
* | bgxl
* | bgf
* | mpixl
*)
10333 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10334 lt_prog_compiler_wl
='-Wl,'
10335 lt_prog_compiler_pic
='-qpic'
10336 lt_prog_compiler_static
='-qstaticlink'
10339 case `$CC -V 2>&1 | sed 5q` in
10340 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10341 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10342 lt_prog_compiler_pic
='-KPIC'
10343 lt_prog_compiler_static
='-Bstatic'
10344 lt_prog_compiler_wl
=''
10346 *Sun\ F
* |
*Sun
*Fortran
*)
10347 lt_prog_compiler_pic
='-KPIC'
10348 lt_prog_compiler_static
='-Bstatic'
10349 lt_prog_compiler_wl
='-Qoption ld '
10353 lt_prog_compiler_pic
='-KPIC'
10354 lt_prog_compiler_static
='-Bstatic'
10355 lt_prog_compiler_wl
='-Wl,'
10357 *Intel
*\
[CF
]*Compiler
*)
10358 lt_prog_compiler_wl
='-Wl,'
10359 lt_prog_compiler_pic
='-fPIC'
10360 lt_prog_compiler_static
='-static'
10363 lt_prog_compiler_wl
='-Wl,'
10364 lt_prog_compiler_pic
='-fpic'
10365 lt_prog_compiler_static
='-Bstatic'
10373 lt_prog_compiler_pic
='-KPIC'
10374 lt_prog_compiler_static
='-Bstatic'
10378 # QNX uses GNU C++, but need to define -shared option too, otherwise
10379 # it will coredump.
10380 lt_prog_compiler_pic
='-fPIC -shared'
10383 osf3
* | osf4
* | osf5
*)
10384 lt_prog_compiler_wl
='-Wl,'
10385 # All OSF/1 code is PIC.
10386 lt_prog_compiler_static
='-non_shared'
10390 lt_prog_compiler_static
='-non_shared'
10394 lt_prog_compiler_pic
='-KPIC'
10395 lt_prog_compiler_static
='-Bstatic'
10396 case $cc_basename in
10397 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10398 lt_prog_compiler_wl
='-Qoption ld ';;
10400 lt_prog_compiler_wl
='-Wl,';;
10405 lt_prog_compiler_wl
='-Qoption ld '
10406 lt_prog_compiler_pic
='-PIC'
10407 lt_prog_compiler_static
='-Bstatic'
10410 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10411 lt_prog_compiler_wl
='-Wl,'
10412 lt_prog_compiler_pic
='-KPIC'
10413 lt_prog_compiler_static
='-Bstatic'
10417 if test -d /usr
/nec
; then
10418 lt_prog_compiler_pic
='-Kconform_pic'
10419 lt_prog_compiler_static
='-Bstatic'
10423 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10424 lt_prog_compiler_wl
='-Wl,'
10425 lt_prog_compiler_pic
='-KPIC'
10426 lt_prog_compiler_static
='-Bstatic'
10430 lt_prog_compiler_wl
='-Wl,'
10431 lt_prog_compiler_can_build_shared
=no
10435 lt_prog_compiler_pic
='-pic'
10436 lt_prog_compiler_static
='-Bstatic'
10440 lt_prog_compiler_can_build_shared
=no
10446 # For platforms that do not support PIC, -DPIC is meaningless:
10448 lt_prog_compiler_pic
=
10451 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10456 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10457 if ${lt_cv_prog_compiler_pic+:} false
; then :
10458 $as_echo_n "(cached) " >&6
10460 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10463 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10464 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10467 # Check to make sure the PIC flag actually works.
10469 if test -n "$lt_prog_compiler_pic"; then
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10471 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10472 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10473 $as_echo_n "(cached) " >&6
10475 lt_cv_prog_compiler_pic_works
=no
10476 ac_outfile
=conftest.
$ac_objext
10477 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10478 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10479 # Insert the option either (1) after the last *FLAGS variable, or
10480 # (2) before a word containing "conftest.", or (3) at the end.
10481 # Note that $ac_compile itself does not contain backslashes and begins
10482 # with a dollar sign (not a hyphen), so the echo should work correctly.
10483 # The option is referenced via a variable to avoid confusing sed.
10484 lt_compile
=`echo "$ac_compile" | $SED \
10485 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10486 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10487 -e 's:$: $lt_compiler_flag:'`
10488 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10489 (eval "$lt_compile" 2>conftest.err
)
10491 cat conftest.err
>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 if (exit $ac_status) && test -s "$ac_outfile"; then
10494 # The compiler can only warn and ignore the option if not recognized
10495 # So say no if there are warnings other than the usual output.
10496 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10497 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10498 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10499 lt_cv_prog_compiler_pic_works
=yes
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10506 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10508 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10509 case $lt_prog_compiler_pic in
10511 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10514 lt_prog_compiler_pic
=
10515 lt_prog_compiler_can_build_shared
=no
10531 # Check to make sure the static flag actually works.
10533 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10535 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10536 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10537 $as_echo_n "(cached) " >&6
10539 lt_cv_prog_compiler_static_works
=no
10540 save_LDFLAGS
=$LDFLAGS
10541 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10542 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10543 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10544 # The linker can only warn and ignore the option if not recognized
10545 # So say no if there are warnings
10546 if test -s conftest.err
; then
10547 # Append any errors to the config.log.
10548 cat conftest.err
1>&5
10549 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10550 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10551 if diff conftest.exp conftest.er2
>/dev
/null
; then
10552 lt_cv_prog_compiler_static_works
=yes
10555 lt_cv_prog_compiler_static_works
=yes
10559 LDFLAGS
=$save_LDFLAGS
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10563 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10565 if test yes = "$lt_cv_prog_compiler_static_works"; then
10568 lt_prog_compiler_static
=
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10578 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10579 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10580 $as_echo_n "(cached) " >&6
10582 lt_cv_prog_compiler_c_o
=no
10583 $RM -r conftest
2>/dev
/null
10587 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10589 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10590 # Insert the option either (1) after the last *FLAGS variable, or
10591 # (2) before a word containing "conftest.", or (3) at the end.
10592 # Note that $ac_compile itself does not contain backslashes and begins
10593 # with a dollar sign (not a hyphen), so the echo should work correctly.
10594 lt_compile
=`echo "$ac_compile" | $SED \
10595 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10596 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10597 -e 's:$: $lt_compiler_flag:'`
10598 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10599 (eval "$lt_compile" 2>out
/conftest.err
)
10601 cat out
/conftest.err
>&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10605 # The compiler can only warn and ignore the option if not recognized
10606 # So say no if there are warnings
10607 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10608 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10609 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10610 lt_cv_prog_compiler_c_o
=yes
10615 # SGI C++ compiler will create directory out/ii_files/ for
10616 # template instantiation
10617 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10618 $RM out
/* && rmdir out
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10625 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10634 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10635 $as_echo_n "(cached) " >&6
10637 lt_cv_prog_compiler_c_o
=no
10638 $RM -r conftest
2>/dev
/null
10642 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10644 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10645 # Insert the option either (1) after the last *FLAGS variable, or
10646 # (2) before a word containing "conftest.", or (3) at the end.
10647 # Note that $ac_compile itself does not contain backslashes and begins
10648 # with a dollar sign (not a hyphen), so the echo should work correctly.
10649 lt_compile
=`echo "$ac_compile" | $SED \
10650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10652 -e 's:$: $lt_compiler_flag:'`
10653 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10654 (eval "$lt_compile" 2>out
/conftest.err
)
10656 cat out
/conftest.err
>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10660 # The compiler can only warn and ignore the option if not recognized
10661 # So say no if there are warnings
10662 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10663 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10664 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10665 lt_cv_prog_compiler_c_o
=yes
10670 # SGI C++ compiler will create directory out/ii_files/ for
10671 # template instantiation
10672 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10673 $RM out
/* && rmdir out
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10680 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10685 hard_links
=nottested
10686 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10687 # do not overwrite the value of need_locks provided by the user
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10689 $as_echo_n "checking if we can lock with hard links... " >&6; }
10692 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10694 ln conftest.a conftest.b
2>&5 || hard_links
=no
10695 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10697 $as_echo "$hard_links" >&6; }
10698 if test no
= "$hard_links"; then
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10700 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10713 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10716 allow_undefined_flag
=
10717 always_export_symbols
=no
10719 archive_expsym_cmds
=
10720 compiler_needs_object
=no
10721 enable_shared_with_static_runtimes
=no
10722 export_dynamic_flag_spec
=
10723 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10724 hardcode_automatic
=no
10726 hardcode_direct_absolute
=no
10727 hardcode_libdir_flag_spec
=
10728 hardcode_libdir_separator
=
10729 hardcode_minus_L
=no
10730 hardcode_shlibpath_var
=unsupported
10732 link_all_deplibs
=unknown
10734 module_expsym_cmds
=
10735 old_archive_from_new_cmds
=
10736 old_archive_from_expsyms_cmds
=
10737 thread_safe_flag_spec
=
10738 whole_archive_flag_spec
=
10739 # include_expsyms should be a list of space-separated symbols to be *always*
10740 # included in the symbol list
10742 # exclude_expsyms can be an extended regexp of symbols to exclude
10743 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10744 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10745 # as well as any symbol that contains 'd'.
10746 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10747 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10748 # platforms (ab)use it in PIC code, but their linkers get confused if
10749 # the symbol is explicitly referenced. Since portable code cannot
10750 # rely on this symbol name, it's probably fine to never include it in
10751 # preloaded symbol tables.
10752 # Exclude shared library initialization/finalization symbols.
10753 extract_expsyms_cmds
=
10756 cygwin
* | mingw
* | pw32
* | cegcc
*)
10757 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10758 # When not using gcc, we currently assume that we are using
10759 # Microsoft Visual C++.
10760 if test yes != "$GCC"; then
10765 # we just hope/assume this is gcc and not c89 (= MSVC++)
10768 openbsd
* | bitrig
*)
10775 # On some targets, GNU ld is compatible enough with the native linker
10776 # that we're better off using the native interface for both.
10777 lt_use_gnu_ld_interface
=no
10778 if test yes = "$with_gnu_ld"; then
10781 # The AIX port of GNU ld has always aspired to compatibility
10782 # with the native linker. However, as the warning in the GNU ld
10783 # block says, versions before 2.19.5* couldn't really create working
10784 # shared libraries, regardless of the interface used.
10785 case `$LD -v 2>&1` in
10786 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10787 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10788 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10790 lt_use_gnu_ld_interface
=yes
10795 lt_use_gnu_ld_interface
=yes
10800 if test yes = "$lt_use_gnu_ld_interface"; then
10801 # If archive_cmds runs LD, not CC, wlarc should be empty
10804 # Set some defaults for GNU ld with shared library support. These
10805 # are reset later if shared libraries are not supported. Putting them
10806 # here allows them to be overridden if necessary.
10807 runpath_var
=LD_RUN_PATH
10808 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10809 export_dynamic_flag_spec
='$wl--export-dynamic'
10810 # ancient GNU ld didn't support --whole-archive et. al.
10811 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10812 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10814 whole_archive_flag_spec
=
10816 supports_anon_versioning
=no
10817 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10818 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10819 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10820 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10821 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10822 *\
2.11.
*) ;; # other 2.11 versions
10823 *) supports_anon_versioning
=yes ;;
10826 # See if GNU ld supports shared libraries.
10829 # On AIX/PPC, the GNU linker is very broken
10830 if test ia64
!= "$host_cpu"; then
10834 *** Warning: the GNU linker, at least up to release 2.19, is reported
10835 *** to be unable to reliably create shared libraries on AIX.
10836 *** Therefore, libtool is disabling shared libraries support. If you
10837 *** really care for shared libraries, you may want to install binutils
10838 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10839 *** You will then need to restart the configuration process.
10848 # see comment about AmigaOS4 .so support
10849 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10850 archive_expsym_cmds
=''
10853 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)'
10854 hardcode_libdir_flag_spec
='-L$libdir'
10855 hardcode_minus_L
=yes
10861 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10862 allow_undefined_flag
=unsupported
10863 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10864 # support --undefined. This deserves some investigation. FIXME
10865 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10871 cygwin
* | mingw
* | pw32
* | cegcc
*)
10872 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10873 # as there is no search path for DLLs.
10874 hardcode_libdir_flag_spec
='-L$libdir'
10875 export_dynamic_flag_spec
='$wl--export-all-symbols'
10876 allow_undefined_flag
=unsupported
10877 always_export_symbols
=no
10878 enable_shared_with_static_runtimes
=yes
10879 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'
10880 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10882 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10883 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10884 # If the export-symbols file already is a .def file, use it as
10885 # is; otherwise, prepend EXPORTS...
10886 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10887 cp $export_symbols $output_objdir/$soname.def;
10889 echo EXPORTS > $output_objdir/$soname.def;
10890 cat $export_symbols >> $output_objdir/$soname.def;
10892 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10899 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10900 link_all_deplibs
=yes
10904 hardcode_libdir_flag_spec
='-L$libdir'
10905 hardcode_minus_L
=yes
10906 allow_undefined_flag
=unsupported
10908 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10909 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10910 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10911 $ECHO EXPORTS >> $output_objdir/$libname.def~
10912 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10913 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10914 emximp -o $lib $output_objdir/$libname.def'
10915 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10916 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10917 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10918 $ECHO EXPORTS >> $output_objdir/$libname.def~
10919 prefix_cmds="$SED"~
10920 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10921 prefix_cmds="$prefix_cmds -e 1d";
10923 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10924 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10925 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10926 emximp -o $lib $output_objdir/$libname.def'
10927 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10928 enable_shared_with_static_runtimes
=yes
10933 hardcode_shlibpath_var
=no
10934 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10935 export_dynamic_flag_spec
='$wl-E'
10936 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10937 # Instead, shared libraries are loaded at an image base (0x10000000 by
10938 # default) and relocated if they conflict, which is a slow very memory
10939 # consuming and fragmenting process. To avoid this, we pick a random,
10940 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10941 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10942 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10943 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'
10946 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10948 if test linux-dietlibc
= "$host_os"; then
10949 case $cc_basename in
10950 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10953 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10954 && test no
= "$tmp_diet"
10956 tmp_addflag
=' $pic_flag'
10957 tmp_sharedflag
='-shared'
10958 case $cc_basename,$host_cpu in
10959 pgcc
*) # Portland Group C compiler
10960 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'
10961 tmp_addflag
=' $pic_flag'
10963 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10964 # Portland Group f77 and f90 compilers
10965 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'
10966 tmp_addflag
=' $pic_flag -Mnomain' ;;
10967 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10968 tmp_addflag
=' -i_dynamic' ;;
10969 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10970 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10971 ifc
* | ifort
*) # Intel Fortran compiler
10972 tmp_addflag
=' -nofor_main' ;;
10973 lf95
*) # Lahey Fortran 8.1
10974 whole_archive_flag_spec
=
10975 tmp_sharedflag
='--shared' ;;
10976 nagfor
*) # NAGFOR 5.3
10977 tmp_sharedflag
='-Wl,-shared' ;;
10978 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10979 tmp_sharedflag
='-qmkshrobj'
10981 nvcc
*) # Cuda Compiler Driver 2.2
10982 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'
10983 compiler_needs_object
=yes
10986 case `$CC -V 2>&1 | sed 5q` in
10987 *Sun\ C
*) # Sun C 5.9
10988 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'
10989 compiler_needs_object
=yes
10990 tmp_sharedflag
='-G' ;;
10991 *Sun\ F
*) # Sun Fortran 8.3
10992 tmp_sharedflag
='-G' ;;
10994 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10996 if test yes = "$supports_anon_versioning"; then
10997 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10998 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10999 echo "local: *; };" >> $output_objdir/$libname.ver~
11000 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11003 case $cc_basename in
11005 export_dynamic_flag_spec
='-rdynamic'
11007 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11008 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11009 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11010 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11011 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11012 if test yes = "$supports_anon_versioning"; then
11013 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11014 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11015 echo "local: *; };" >> $output_objdir/$libname.ver~
11016 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11026 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11027 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11030 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11031 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11036 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11040 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11041 *** create shared libraries on Solaris systems. Therefore, libtool
11042 *** is disabling shared libraries support. We urge you to upgrade GNU
11043 *** binutils to release 2.9.1 or newer. Another option is to modify
11044 *** your PATH or compiler configuration so that the native linker is
11045 *** used, and then restart.
11048 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11049 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11050 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11056 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11057 case `$LD -v 2>&1` in
11058 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11062 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11063 *** reliably create shared libraries on SCO systems. Therefore, libtool
11064 *** is disabling shared libraries support. We urge you to upgrade GNU
11065 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11066 *** your PATH or compiler configuration so that the native linker is
11067 *** used, and then restart.
11072 # For security reasons, it is highly recommended that you always
11073 # use absolute paths for naming shared libraries, and exclude the
11074 # DT_RUNPATH tag from executables and libraries. But doing so
11075 # requires that you compile everything twice, which is a pain.
11076 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11077 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11078 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11079 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11088 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11090 hardcode_direct
=yes
11091 hardcode_shlibpath_var
=no
11095 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11096 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11097 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11104 if test no
= "$ld_shlibs"; then
11106 hardcode_libdir_flag_spec
=
11107 export_dynamic_flag_spec
=
11108 whole_archive_flag_spec
=
11111 # PORTME fill in a description of your system's linker (not GNU ld)
11114 allow_undefined_flag
=unsupported
11115 always_export_symbols
=yes
11116 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'
11117 # Note: this linker hardcodes the directories in LIBPATH if there
11118 # are no directories specified by -L.
11119 hardcode_minus_L
=yes
11120 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11121 # Neither direct hardcoding nor static linking is supported with a
11123 hardcode_direct
=unsupported
11128 if test ia64
= "$host_cpu"; then
11129 # On IA64, the linker does run time linking by default, so we don't
11130 # have to do anything special.
11131 aix_use_runtimelinking
=no
11132 exp_sym_flag
='-Bexport'
11135 # If we're using GNU nm, then we don't want the "-C" option.
11136 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11137 # Without the "-l" option, or with the "-B" option, AIX nm treats
11138 # weak defined symbols like other global defined symbols, whereas
11139 # GNU nm marks them as "W".
11140 # While the 'weak' keyword is ignored in the Export File, we need
11141 # it in the Import File for the 'aix-soname' feature, so we have
11142 # to replace the "-B" option with "-P" for AIX nm.
11143 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11144 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'
11146 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'
11148 aix_use_runtimelinking
=no
11150 # Test if we are trying to use run time linking or normal
11151 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11152 # have runtime linking enabled, and use it for executables.
11153 # For shared libraries, we enable/disable runtime linking
11154 # depending on the kind of the shared library created -
11155 # when "with_aix_soname,aix_use_runtimelinking" is:
11156 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11157 # "aix,yes" lib.so shared, rtl:yes, for executables
11158 # lib.a static archive
11159 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11160 # lib.a(lib.so.V) shared, rtl:no, for executables
11161 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11162 # lib.a(lib.so.V) shared, rtl:no
11163 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11164 # lib.a static archive
11165 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11166 for ld_flag
in $LDFLAGS; do
11167 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11168 aix_use_runtimelinking
=yes
11172 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11173 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11174 # so we don't have lib.a shared libs to link our executables.
11175 # We have to force runtime linking in this case.
11176 aix_use_runtimelinking
=yes
11177 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11182 exp_sym_flag
='-bexport'
11183 no_entry_flag
='-bnoentry'
11186 # When large executables or shared objects are built, AIX ld can
11187 # have problems creating the table of contents. If linking a library
11188 # or program results in "error TOC overflow" add -mminimal-toc to
11189 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11190 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11193 hardcode_direct
=yes
11194 hardcode_direct_absolute
=yes
11195 hardcode_libdir_separator
=':'
11196 link_all_deplibs
=yes
11197 file_list_spec
='$wl-f,'
11198 case $with_aix_soname,$aix_use_runtimelinking in
11199 aix
,*) ;; # traditional, no import file
11200 svr4
,* |
*,yes) # use import file
11201 # The Import File defines what to hardcode.
11203 hardcode_direct_absolute
=no
11207 if test yes = "$GCC"; then
11208 case $host_os in aix4.
[012]|aix4.
[012].
*)
11209 # We only want to do this on AIX 4.2 and lower, the check
11210 # below for broken collect2 doesn't work under 4.3+
11211 collect2name
=`$CC -print-prog-name=collect2`
11212 if test -f "$collect2name" &&
11213 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11215 # We have reworked collect2
11218 # We have old collect2
11219 hardcode_direct
=unsupported
11220 # It fails to find uninstalled libraries when the uninstalled
11221 # path is not listed in the libpath. Setting hardcode_minus_L
11222 # to unsupported forces relinking
11223 hardcode_minus_L
=yes
11224 hardcode_libdir_flag_spec
='-L$libdir'
11225 hardcode_libdir_separator
=
11229 shared_flag
='-shared'
11230 if test yes = "$aix_use_runtimelinking"; then
11231 shared_flag
="$shared_flag "'$wl-G'
11233 # Need to ensure runtime linking is disabled for the traditional
11234 # shared library, or the linker may eventually find shared libraries
11235 # /with/ Import File - we do not want to mix them.
11236 shared_flag_aix
='-shared'
11237 shared_flag_svr4
='-shared $wl-G'
11240 if test ia64
= "$host_cpu"; then
11241 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11242 # chokes on -Wl,-G. The following line is correct:
11245 if test yes = "$aix_use_runtimelinking"; then
11246 shared_flag
='$wl-G'
11248 shared_flag
='$wl-bM:SRE'
11250 shared_flag_aix
='$wl-bM:SRE'
11251 shared_flag_svr4
='$wl-G'
11255 export_dynamic_flag_spec
='$wl-bexpall'
11256 # It seems that -bexpall does not export symbols beginning with
11257 # underscore (_), so it is better to generate a list of symbols to export.
11258 always_export_symbols
=yes
11259 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11260 # Warning - without using the other runtime loading flags (-brtl),
11261 # -berok will link without error, but may produce a broken library.
11262 allow_undefined_flag
='-berok'
11263 # Determine the default libpath from the value encoded in an
11264 # empty executable.
11265 if test set = "${lt_cv_aix_libpath+set}"; then
11266 aix_libpath
=$lt_cv_aix_libpath
11268 if ${lt_cv_aix_libpath_+:} false
; then :
11269 $as_echo_n "(cached) " >&6
11271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11282 if ac_fn_c_try_link
"$LINENO"; then :
11284 lt_aix_libpath_sed
='
11285 /Import File Strings/,/^$/ {
11287 s/^0 *\([^ ]*\) *$/\1/
11291 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11292 # Check for a 64-bit object if we didn't find anything.
11293 if test -z "$lt_cv_aix_libpath_"; then
11294 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11297 rm -f core conftest.err conftest.
$ac_objext \
11298 conftest
$ac_exeext conftest.
$ac_ext
11299 if test -z "$lt_cv_aix_libpath_"; then
11300 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11305 aix_libpath
=$lt_cv_aix_libpath_
11308 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11309 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
11311 if test ia64
= "$host_cpu"; then
11312 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11313 allow_undefined_flag
="-z nodefs"
11314 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"
11316 # Determine the default libpath from the value encoded in an
11317 # empty executable.
11318 if test set = "${lt_cv_aix_libpath+set}"; then
11319 aix_libpath
=$lt_cv_aix_libpath
11321 if ${lt_cv_aix_libpath_+:} false
; then :
11322 $as_echo_n "(cached) " >&6
11324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11335 if ac_fn_c_try_link
"$LINENO"; then :
11337 lt_aix_libpath_sed
='
11338 /Import File Strings/,/^$/ {
11340 s/^0 *\([^ ]*\) *$/\1/
11344 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11345 # Check for a 64-bit object if we didn't find anything.
11346 if test -z "$lt_cv_aix_libpath_"; then
11347 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11350 rm -f core conftest.err conftest.
$ac_objext \
11351 conftest
$ac_exeext conftest.
$ac_ext
11352 if test -z "$lt_cv_aix_libpath_"; then
11353 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11358 aix_libpath
=$lt_cv_aix_libpath_
11361 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11362 # Warning - without using the other run time loading flags,
11363 # -berok will link without error, but may produce a broken library.
11364 no_undefined_flag
=' $wl-bernotok'
11365 allow_undefined_flag
=' $wl-berok'
11366 if test yes = "$with_gnu_ld"; then
11367 # We only use this code for GNU lds that support --whole-archive.
11368 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11370 # Exported symbols can be pulled into shared objects from archives
11371 whole_archive_flag_spec
='$convenience'
11373 archive_cmds_need_lc
=yes
11374 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11375 # -brtl affects multiple linker settings, -berok does not and is overridden later
11376 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11377 if test svr4
!= "$with_aix_soname"; then
11378 # This is similar to how AIX traditionally builds its shared libraries.
11379 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'
11381 if test aix
!= "$with_aix_soname"; then
11382 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'
11384 # used by -dlpreopen to get the symbols
11385 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11387 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11395 # see comment about AmigaOS4 .so support
11396 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11397 archive_expsym_cmds
=''
11400 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)'
11401 hardcode_libdir_flag_spec
='-L$libdir'
11402 hardcode_minus_L
=yes
11408 export_dynamic_flag_spec
=-rdynamic
11411 cygwin
* | mingw
* | pw32
* | cegcc
*)
11412 # When not using gcc, we currently assume that we are using
11413 # Microsoft Visual C++.
11414 # hardcode_libdir_flag_spec is actually meaningless, as there is
11415 # no search path for DLLs.
11416 case $cc_basename in
11419 hardcode_libdir_flag_spec
=' '
11420 allow_undefined_flag
=unsupported
11421 always_export_symbols
=yes
11423 # Tell ltmain to make .lib files, not .a files.
11425 # Tell ltmain to make .dll files, not .so files.
11427 # FIXME: Setting linknames here is a bad hack.
11428 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11429 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11430 cp "$export_symbols" "$output_objdir/$soname.def";
11431 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11433 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11435 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11437 # The linker will not automatically build a static lib if we build a DLL.
11438 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11439 enable_shared_with_static_runtimes
=yes
11440 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11441 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11443 old_postinstall_cmds
='chmod 644 $oldlib'
11444 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11445 lt_tool_outputfile="@TOOL_OUTPUT@"~
11446 case $lt_outputfile in
11449 lt_outputfile=$lt_outputfile.exe
11450 lt_tool_outputfile=$lt_tool_outputfile.exe
11453 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11454 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11455 $RM "$lt_outputfile.manifest";
11459 # Assume MSVC wrapper
11460 hardcode_libdir_flag_spec
=' '
11461 allow_undefined_flag
=unsupported
11462 # Tell ltmain to make .lib files, not .a files.
11464 # Tell ltmain to make .dll files, not .so files.
11466 # FIXME: Setting linknames here is a bad hack.
11467 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11468 # The linker will automatically build a .lib file if we build a DLL.
11469 old_archive_from_new_cmds
='true'
11470 # FIXME: Should let the user specify the lib program.
11471 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11472 enable_shared_with_static_runtimes
=yes
11477 darwin
* | rhapsody
*)
11480 archive_cmds_need_lc
=no
11482 hardcode_automatic
=yes
11483 hardcode_shlibpath_var
=unsupported
11484 if test yes = "$lt_cv_ld_force_load"; then
11485 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\"`'
11488 whole_archive_flag_spec
=''
11490 link_all_deplibs
=yes
11491 allow_undefined_flag
=$_lt_dar_allow_undefined
11492 case $cc_basename in
11493 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11494 *) _lt_dar_can_shared
=$GCC ;;
11496 if test yes = "$_lt_dar_can_shared"; then
11497 output_verbose_link_cmd
=func_echo_all
11498 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11499 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11500 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"
11501 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"
11510 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11511 hardcode_libdir_flag_spec
='-L$libdir'
11512 hardcode_shlibpath_var
=no
11515 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11516 # support. Future versions do this automatically, but an explicit c++rt0.o
11517 # does not break anything, and helps significantly (at the cost of a little
11520 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11521 hardcode_libdir_flag_spec
='-R$libdir'
11522 hardcode_direct
=yes
11523 hardcode_shlibpath_var
=no
11526 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11528 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11529 hardcode_direct
=yes
11530 hardcode_minus_L
=yes
11531 hardcode_shlibpath_var
=no
11534 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11535 freebsd
* | dragonfly
*)
11536 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11537 hardcode_libdir_flag_spec
='-R$libdir'
11538 hardcode_direct
=yes
11539 hardcode_shlibpath_var
=no
11543 if test yes = "$GCC"; then
11544 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'
11546 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'
11548 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11549 hardcode_libdir_separator
=:
11550 hardcode_direct
=yes
11552 # hardcode_minus_L: Not really in the search PATH,
11553 # but as the default location of the library.
11554 hardcode_minus_L
=yes
11555 export_dynamic_flag_spec
='$wl-E'
11559 if test yes,no
= "$GCC,$with_gnu_ld"; then
11560 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11562 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11564 if test no
= "$with_gnu_ld"; then
11565 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11566 hardcode_libdir_separator
=:
11567 hardcode_direct
=yes
11568 hardcode_direct_absolute
=yes
11569 export_dynamic_flag_spec
='$wl-E'
11570 # hardcode_minus_L: Not really in the search PATH,
11571 # but as the default location of the library.
11572 hardcode_minus_L
=yes
11577 if test yes,no
= "$GCC,$with_gnu_ld"; then
11580 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11583 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11586 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11592 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11595 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11599 # Older versions of the 11.00 compiler do not understand -b yet
11600 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11602 $as_echo_n "checking if $CC understands -b... " >&6; }
11603 if ${lt_cv_prog_compiler__b+:} false
; then :
11604 $as_echo_n "(cached) " >&6
11606 lt_cv_prog_compiler__b
=no
11607 save_LDFLAGS
=$LDFLAGS
11608 LDFLAGS
="$LDFLAGS -b"
11609 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11610 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11611 # The linker can only warn and ignore the option if not recognized
11612 # So say no if there are warnings
11613 if test -s conftest.err
; then
11614 # Append any errors to the config.log.
11615 cat conftest.err
1>&5
11616 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11617 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11618 if diff conftest.exp conftest.er2
>/dev
/null
; then
11619 lt_cv_prog_compiler__b
=yes
11622 lt_cv_prog_compiler__b
=yes
11626 LDFLAGS
=$save_LDFLAGS
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11630 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11632 if test yes = "$lt_cv_prog_compiler__b"; then
11633 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11635 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11641 if test no
= "$with_gnu_ld"; then
11642 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11643 hardcode_libdir_separator
=:
11648 hardcode_shlibpath_var
=no
11651 hardcode_direct
=yes
11652 hardcode_direct_absolute
=yes
11653 export_dynamic_flag_spec
='$wl-E'
11655 # hardcode_minus_L: Not really in the search PATH,
11656 # but as the default location of the library.
11657 hardcode_minus_L
=yes
11663 irix5
* | irix6
* | nonstopux
*)
11664 if test yes = "$GCC"; then
11665 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'
11666 # Try to use the -exported_symbol ld option, if it does not
11667 # work, assume that -exports_file does not work either and
11668 # implicitly export all symbols.
11669 # This should be the same for all languages, so no per-tag cache variable.
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11671 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11672 if ${lt_cv_irix_exported_symbol+:} false
; then :
11673 $as_echo_n "(cached) " >&6
11675 save_LDFLAGS
=$LDFLAGS
11676 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11679 int foo (void) { return 0; }
11681 if ac_fn_c_try_link
"$LINENO"; then :
11682 lt_cv_irix_exported_symbol
=yes
11684 lt_cv_irix_exported_symbol
=no
11686 rm -f core conftest.err conftest.
$ac_objext \
11687 conftest
$ac_exeext conftest.
$ac_ext
11688 LDFLAGS
=$save_LDFLAGS
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11691 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11692 if test yes = "$lt_cv_irix_exported_symbol"; then
11693 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'
11696 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'
11697 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'
11699 archive_cmds_need_lc
='no'
11700 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11701 hardcode_libdir_separator
=:
11703 link_all_deplibs
=yes
11707 case $cc_basename in
11709 # Fabrice Bellard et al's Tiny C Compiler
11711 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11717 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11718 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11720 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11722 hardcode_libdir_flag_spec
='-R$libdir'
11723 hardcode_direct
=yes
11724 hardcode_shlibpath_var
=no
11728 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11729 hardcode_direct
=yes
11730 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11731 hardcode_libdir_separator
=:
11732 hardcode_shlibpath_var
=no
11738 openbsd
* | bitrig
*)
11739 if test -f /usr
/libexec
/ld.so
; then
11740 hardcode_direct
=yes
11741 hardcode_shlibpath_var
=no
11742 hardcode_direct_absolute
=yes
11743 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11744 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11745 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11746 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11747 export_dynamic_flag_spec
='$wl-E'
11749 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11750 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11758 hardcode_libdir_flag_spec
='-L$libdir'
11759 hardcode_minus_L
=yes
11760 allow_undefined_flag
=unsupported
11762 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11763 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11764 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11765 $ECHO EXPORTS >> $output_objdir/$libname.def~
11766 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11767 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11768 emximp -o $lib $output_objdir/$libname.def'
11769 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11770 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11771 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11772 $ECHO EXPORTS >> $output_objdir/$libname.def~
11773 prefix_cmds="$SED"~
11774 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11775 prefix_cmds="$prefix_cmds -e 1d";
11777 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11778 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11779 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11780 emximp -o $lib $output_objdir/$libname.def'
11781 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11782 enable_shared_with_static_runtimes
=yes
11786 if test yes = "$GCC"; then
11787 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11788 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'
11790 allow_undefined_flag
=' -expect_unresolved \*'
11791 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'
11793 archive_cmds_need_lc
='no'
11794 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11795 hardcode_libdir_separator
=:
11798 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11799 if test yes = "$GCC"; then
11800 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11801 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'
11802 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11804 allow_undefined_flag
=' -expect_unresolved \*'
11805 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'
11806 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~
11807 $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'
11809 # Both c and cxx compiler support -rpath directly
11810 hardcode_libdir_flag_spec
='-rpath $libdir'
11812 archive_cmds_need_lc
='no'
11813 hardcode_libdir_separator
=:
11817 no_undefined_flag
=' -z defs'
11818 if test yes = "$GCC"; then
11820 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11821 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11822 $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'
11824 case `$CC -V 2>&1` in
11827 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11828 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11829 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11833 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11834 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11835 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11839 hardcode_libdir_flag_spec
='-R$libdir'
11840 hardcode_shlibpath_var
=no
11842 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11844 # The compiler driver will combine and reorder linker options,
11845 # but understands '-z linker_flag'. GCC discards it without '$wl',
11846 # but is careful enough not to reorder.
11847 # Supported since Solaris 2.6 (maybe 2.5.1?)
11848 if test yes = "$GCC"; then
11849 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11851 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11855 link_all_deplibs
=yes
11859 if test sequent
= "$host_vendor"; then
11860 # Use $CC to link under sequent, because it throws in some extra .o
11861 # files that make .init and .fini sections work.
11862 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11864 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11866 hardcode_libdir_flag_spec
='-L$libdir'
11867 hardcode_direct
=yes
11868 hardcode_minus_L
=yes
11869 hardcode_shlibpath_var
=no
11873 case $host_vendor in
11875 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11876 hardcode_direct
=yes # is this really true???
11879 ## LD is ld it makes a PLAMLIB
11880 ## CC just makes a GrossModule.
11881 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11882 reload_cmds
='$CC -r -o $output$reload_objs'
11886 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11887 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11890 runpath_var
='LD_RUN_PATH'
11891 hardcode_shlibpath_var
=no
11895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11896 hardcode_shlibpath_var
=no
11897 export_dynamic_flag_spec
='-Bexport'
11901 if test -d /usr
/nec
; then
11902 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11903 hardcode_shlibpath_var
=no
11904 runpath_var
=LD_RUN_PATH
11905 hardcode_runpath_var
=yes
11910 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11911 no_undefined_flag
='$wl-z,text'
11912 archive_cmds_need_lc
=no
11913 hardcode_shlibpath_var
=no
11914 runpath_var
='LD_RUN_PATH'
11916 if test yes = "$GCC"; then
11917 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11918 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11920 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11921 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11925 sysv5
* | sco3.2v5
* | sco5v6
*)
11926 # Note: We CANNOT use -z defs as we might desire, because we do not
11927 # link with -lc, and that would cause any symbols used from libc to
11928 # always be unresolved, which means just about no library would
11929 # ever link correctly. If we're not using GNU ld we use -z text
11930 # though, which does catch some bad symbols but isn't as heavy-handed
11932 no_undefined_flag
='$wl-z,text'
11933 allow_undefined_flag
='$wl-z,nodefs'
11934 archive_cmds_need_lc
=no
11935 hardcode_shlibpath_var
=no
11936 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11937 hardcode_libdir_separator
=':'
11938 link_all_deplibs
=yes
11939 export_dynamic_flag_spec
='$wl-Bexport'
11940 runpath_var
='LD_RUN_PATH'
11942 if test yes = "$GCC"; then
11943 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11944 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11946 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11947 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11952 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11953 hardcode_libdir_flag_spec
='-L$libdir'
11954 hardcode_shlibpath_var
=no
11962 if test sni
= "$host_vendor"; then
11964 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11965 export_dynamic_flag_spec
='$wl-Blargedynsym'
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11972 $as_echo "$ld_shlibs" >&6; }
11973 test no
= "$ld_shlibs" && can_build_shared
=no
11975 with_gnu_ld
=$with_gnu_ld
11992 # Do we need to explicitly link libc?
11994 case "x$archive_cmds_need_lc" in
11996 # Assume -lc should be added
11997 archive_cmds_need_lc
=yes
11999 if test yes,yes = "$GCC,$enable_shared"; then
12000 case $archive_cmds in
12002 # FIXME: we may have to deal with multi-command sequences.
12005 # Test whether the compiler implicitly links with -lc since on some
12006 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12007 # to ld, don't add -lc before -lgcc.
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12009 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12010 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
12011 $as_echo_n "(cached) " >&6
12014 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12017 (eval $ac_compile) 2>&5
12019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12020 test $ac_status = 0; } 2>conftest.err
; then
12023 libobjs
=conftest.
$ac_objext
12025 wl
=$lt_prog_compiler_wl
12026 pic_flag
=$lt_prog_compiler_pic
12032 lt_save_allow_undefined_flag
=$allow_undefined_flag
12033 allow_undefined_flag
=
12034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12035 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12038 test $ac_status = 0; }
12040 lt_cv_archive_cmds_need_lc
=no
12042 lt_cv_archive_cmds_need_lc
=yes
12044 allow_undefined_flag
=$lt_save_allow_undefined_flag
12046 cat conftest.err
1>&5
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12052 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12053 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12212 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12214 if test yes = "$GCC"; then
12216 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12217 *) lt_awk_arg
='/^libraries:/' ;;
12220 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12221 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12223 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12224 case $lt_search_path_spec in
12226 # if the path contains ";" then we assume it to be the separator
12227 # otherwise default to the standard path separator (i.e. ":") - it is
12228 # assumed that no part of a normal pathname contains ";" but that should
12229 # okay in the real world where ";" in dirpaths is itself problematic.
12230 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12233 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12236 # Ok, now we have the path, separated by spaces, we can step through it
12237 # and add multilib dir if necessary...
12238 lt_tmp_lt_search_path_spec
=
12239 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12240 # ...but if some path component already ends with the multilib dir we assume
12241 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12242 case "$lt_multi_os_dir; $lt_search_path_spec " in
12243 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12247 for lt_sys_path
in $lt_search_path_spec; do
12248 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12249 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12250 elif test -n "$lt_multi_os_dir"; then
12251 test -d "$lt_sys_path" && \
12252 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12255 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12256 BEGIN {RS = " "; FS = "/|\n";} {
12259 for (lt_i = NF; lt_i > 0; lt_i--) {
12260 if ($lt_i != "" && $lt_i != ".") {
12261 if ($lt_i == "..") {
12264 if (lt_count == 0) {
12265 lt_foo = "/" $lt_i lt_foo;
12272 if (lt_foo != "") { lt_freq[lt_foo]++; }
12273 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12275 # AWK program above erroneously prepends '/' to C:/dos/paths
12278 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12279 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12281 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12283 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12285 library_names_spec
=
12286 libname_spec
='lib$name'
12290 postuninstall_cmds
=
12294 shlibpath_overrides_runpath
=unknown
12296 dynamic_linker
="$host_os ld.so"
12297 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12298 need_lib_prefix
=unknown
12299 hardcode_into_libs
=no
12301 # when you set need_version to no, make sure it does not cause -set_version
12302 # flags to be left without arguments
12303 need_version
=unknown
12309 version_type
=linux
# correct to gnu/linux during the next big refactor
12310 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12311 shlibpath_var
=LIBPATH
12313 # AIX 3 has no versioning support, so we append a major version to the name.
12314 soname_spec
='$libname$release$shared_ext$major'
12318 version_type
=linux
# correct to gnu/linux during the next big refactor
12321 hardcode_into_libs
=yes
12322 if test ia64
= "$host_cpu"; then
12323 # AIX 5 supports IA64
12324 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12325 shlibpath_var
=LD_LIBRARY_PATH
12327 # With GCC up to 2.95.x, collect2 would create an import file
12328 # for dependence libraries. The import file would start with
12329 # the line '#! .'. This would cause the generated library to
12330 # depend on '.', always an invalid library. This was fixed in
12331 # development snapshots of GCC prior to 3.0.
12333 aix4 | aix4.
[01] | aix4.
[01].
*)
12334 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12336 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12339 can_build_shared
=no
12343 # Using Import Files as archive members, it is possible to support
12344 # filename-based versioning of shared library archives on AIX. While
12345 # this would work for both with and without runtime linking, it will
12346 # prevent static linking of such archives. So we do filename-based
12347 # shared library versioning with .so extension only, which is used
12348 # when both runtime linking and shared linking is enabled.
12349 # Unfortunately, runtime linking may impact performance, so we do
12350 # not want this to be the default eventually. Also, we use the
12351 # versioned .so libs for executables only if there is the -brtl
12352 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12353 # To allow for filename-based versioning support, we need to create
12354 # libNAME.so.V as an archive file, containing:
12355 # *) an Import File, referring to the versioned filename of the
12356 # archive as well as the shared archive member, telling the
12357 # bitwidth (32 or 64) of that shared object, and providing the
12358 # list of exported symbols of that shared object, eventually
12359 # decorated with the 'weak' keyword
12360 # *) the shared object with the F_LOADONLY flag set, to really avoid
12361 # it being seen by the linker.
12362 # At run time we better use the real file rather than another symlink,
12363 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12365 case $with_aix_soname,$aix_use_runtimelinking in
12366 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12367 # soname into executable. Probably we can add versioning support to
12368 # collect2, so additional links can be useful in future.
12369 aix
,yes) # traditional libtool
12370 dynamic_linker
='AIX unversionable lib.so'
12371 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12372 # instead of lib<name>.a to let people know that these are not
12373 # typical AIX shared libraries.
12374 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12376 aix
,no
) # traditional AIX only
12377 dynamic_linker
='AIX lib.a(lib.so.V)'
12378 # We preserve .a as extension for shared libraries through AIX4.2
12379 # and later when we are not doing run time linking.
12380 library_names_spec
='$libname$release.a $libname.a'
12381 soname_spec
='$libname$release$shared_ext$major'
12383 svr4
,*) # full svr4 only
12384 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12385 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12386 # We do not specify a path in Import Files, so LIBPATH fires.
12387 shlibpath_overrides_runpath
=yes
12389 *,yes) # both, prefer svr4
12390 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12391 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12392 # unpreferred sharedlib libNAME.a needs extra handling
12393 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"'
12394 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"'
12395 # We do not specify a path in Import Files, so LIBPATH fires.
12396 shlibpath_overrides_runpath
=yes
12398 *,no
) # both, prefer aix
12399 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12400 library_names_spec
='$libname$release.a $libname.a'
12401 soname_spec
='$libname$release$shared_ext$major'
12402 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12403 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)'
12404 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"'
12407 shlibpath_var
=LIBPATH
12414 # Since July 2007 AmigaOS4 officially supports .so libraries.
12415 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12416 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12419 library_names_spec
='$libname.ixlibrary $libname.a'
12420 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12421 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'
12427 library_names_spec
='$libname$shared_ext'
12428 dynamic_linker
="$host_os ld.so"
12429 shlibpath_var
=LIBRARY_PATH
12433 version_type
=linux
# correct to gnu/linux during the next big refactor
12435 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12436 soname_spec
='$libname$release$shared_ext$major'
12437 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12438 shlibpath_var
=LD_LIBRARY_PATH
12439 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12440 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12441 # the default ld.so.conf also contains /usr/contrib/lib and
12442 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12443 # libtool to hard-code these into programs
12446 cygwin
* | mingw
* | pw32
* | cegcc
*)
12447 version_type
=windows
12452 case $GCC,$cc_basename in
12455 library_names_spec
='$libname.dll.a'
12456 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12457 postinstall_cmds
='base_file=`basename \$file`~
12458 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12459 dldir=$destdir/`dirname \$dlpath`~
12460 test -d \$dldir || mkdir -p \$dldir~
12461 $install_prog $dir/$dlname \$dldir/$dlname~
12462 chmod a+x \$dldir/$dlname~
12463 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12464 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12466 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12467 dlpath=$dir/\$dldll~
12469 shlibpath_overrides_runpath
=yes
12473 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12474 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12476 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12479 # MinGW DLLs use traditional 'lib' prefix
12480 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12483 # pw32 DLLs use 'pw' prefix rather than 'lib'
12484 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12487 dynamic_linker
='Win32 ld.exe'
12492 libname_spec
='$name'
12493 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12494 library_names_spec
='$libname.dll.lib'
12498 sys_lib_search_path_spec
=
12501 for lt_path
in $LIB
12504 # Let DOS variable expansion print the short 8.3 style file name.
12505 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12506 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12509 # Convert to MSYS style.
12510 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12513 # Convert to unix form, then to dos form, then back to unix form
12514 # but this time dos style (no spaces!) so that the unix form looks
12515 # like /cygdrive/c/PROGRA~1:/cygdr...
12516 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12517 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12518 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12521 sys_lib_search_path_spec
=$LIB
12522 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12523 # It is most probably a Windows format PATH.
12524 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12526 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12528 # FIXME: find the short name or the path components, as spaces are
12529 # common. (e.g. "Program Files" -> "PROGRA~1")
12533 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12534 postinstall_cmds
='base_file=`basename \$file`~
12535 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12536 dldir=$destdir/`dirname \$dlpath`~
12537 test -d \$dldir || mkdir -p \$dldir~
12538 $install_prog $dir/$dlname \$dldir/$dlname'
12539 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12540 dlpath=$dir/\$dldll~
12542 shlibpath_overrides_runpath
=yes
12543 dynamic_linker
='Win32 link.exe'
12547 # Assume MSVC wrapper
12548 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12549 dynamic_linker
='Win32 ld.exe'
12552 # FIXME: first we should search . and the directory the executable is in
12556 darwin
* | rhapsody
*)
12557 dynamic_linker
="$host_os dyld"
12558 version_type
=darwin
12561 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12562 soname_spec
='$libname$release$major$shared_ext'
12563 shlibpath_overrides_runpath
=yes
12564 shlibpath_var
=DYLD_LIBRARY_PATH
12565 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12567 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12568 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12572 version_type
=linux
# correct to gnu/linux during the next big refactor
12575 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12576 soname_spec
='$libname$release$shared_ext$major'
12577 shlibpath_var
=LD_LIBRARY_PATH
12580 freebsd
* | dragonfly
*)
12581 # DragonFly does not have aout. When/if they implement a new
12582 # versioning mechanism, adjust this.
12583 if test -x /usr
/bin
/objformat
; then
12584 objformat
=`/usr/bin/objformat`
12587 freebsd
[23].
*) objformat
=aout
;;
12588 *) objformat
=elf
;;
12591 version_type
=freebsd-
$objformat
12592 case $version_type in
12594 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12595 soname_spec
='$libname$release$shared_ext$major'
12600 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12604 shlibpath_var
=LD_LIBRARY_PATH
12607 shlibpath_overrides_runpath
=yes
12609 freebsd3.
[01]* | freebsdelf3.
[01]*)
12610 shlibpath_overrides_runpath
=yes
12611 hardcode_into_libs
=yes
12613 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12614 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12615 shlibpath_overrides_runpath
=no
12616 hardcode_into_libs
=yes
12618 *) # from 4.6 on, and DragonFly
12619 shlibpath_overrides_runpath
=yes
12620 hardcode_into_libs
=yes
12626 version_type
=linux
# correct to gnu/linux during the next big refactor
12629 dynamic_linker
="$host_os runtime_loader"
12630 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12631 soname_spec
='$libname$release$shared_ext$major'
12632 shlibpath_var
=LIBRARY_PATH
12633 shlibpath_overrides_runpath
=no
12634 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12635 hardcode_into_libs
=yes
12638 hpux9
* | hpux10
* | hpux11
*)
12639 # Give a soname corresponding to the major version so that dld.sl refuses to
12640 # link against other versions.
12647 hardcode_into_libs
=yes
12648 dynamic_linker
="$host_os dld.so"
12649 shlibpath_var
=LD_LIBRARY_PATH
12650 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12651 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12652 soname_spec
='$libname$release$shared_ext$major'
12653 if test 32 = "$HPUX_IA64_MODE"; then
12654 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12655 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12657 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12658 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12663 hardcode_into_libs
=yes
12664 dynamic_linker
="$host_os dld.sl"
12665 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12666 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12667 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12668 soname_spec
='$libname$release$shared_ext$major'
12669 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12670 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12674 dynamic_linker
="$host_os dld.sl"
12675 shlibpath_var
=SHLIB_PATH
12676 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12677 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12678 soname_spec
='$libname$release$shared_ext$major'
12681 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12682 postinstall_cmds
='chmod 555 $lib'
12683 # or fails outright, so override atomically:
12684 install_override_mode
=555
12688 version_type
=linux
# correct to gnu/linux during the next big refactor
12691 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12692 soname_spec
='$libname$release$shared_ext$major'
12693 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12694 shlibpath_var
=LD_LIBRARY_PATH
12695 shlibpath_overrides_runpath
=no
12696 hardcode_into_libs
=yes
12699 irix5
* | irix6
* | nonstopux
*)
12701 nonstopux
*) version_type
=nonstopux
;;
12703 if test yes = "$lt_cv_prog_gnu_ld"; then
12704 version_type
=linux
# correct to gnu/linux during the next big refactor
12711 soname_spec
='$libname$release$shared_ext$major'
12712 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12714 irix5
* | nonstopux
*)
12715 libsuff
= shlibsuff
=
12718 case $LD in # libtool.m4 will add one of these switches to LD
12719 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12720 libsuff
= shlibsuff
= libmagic
=32-bit;;
12721 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12722 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12723 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12724 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12725 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12729 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12730 shlibpath_overrides_runpath
=no
12731 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12732 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12733 hardcode_into_libs
=yes
12736 # No shared lib support for Linux oldld, aout, or coff.
12737 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12742 version_type
=none
# Android doesn't support versioned libraries.
12745 library_names_spec
='$libname$release$shared_ext'
12746 soname_spec
='$libname$release$shared_ext'
12748 shlibpath_var
=LD_LIBRARY_PATH
12749 shlibpath_overrides_runpath
=yes
12751 # This implies no fast_install, which is unacceptable.
12752 # Some rework will be needed to allow for fast_install
12753 # before this can be enabled.
12754 hardcode_into_libs
=yes
12756 dynamic_linker
='Android linker'
12757 # Don't embed -rpath directories since the linker doesn't support them.
12758 hardcode_libdir_flag_spec
='-L$libdir'
12761 # This must be glibc/ELF.
12762 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12763 version_type
=linux
# correct to gnu/linux during the next big refactor
12766 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12767 soname_spec
='$libname$release$shared_ext$major'
12768 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12769 shlibpath_var
=LD_LIBRARY_PATH
12770 shlibpath_overrides_runpath
=no
12772 # Some binutils ld are patched to set DT_RUNPATH
12773 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12774 $as_echo_n "(cached) " >&6
12776 lt_cv_shlibpath_overrides_runpath
=no
12777 save_LDFLAGS
=$LDFLAGS
12778 save_libdir
=$libdir
12779 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12780 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12792 if ac_fn_c_try_link
"$LINENO"; then :
12793 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12794 lt_cv_shlibpath_overrides_runpath
=yes
12797 rm -f core conftest.err conftest.
$ac_objext \
12798 conftest
$ac_exeext conftest.
$ac_ext
12799 LDFLAGS
=$save_LDFLAGS
12800 libdir
=$save_libdir
12804 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12806 # This implies no fast_install, which is unacceptable.
12807 # Some rework will be needed to allow for fast_install
12808 # before this can be enabled.
12809 hardcode_into_libs
=yes
12811 # Ideally, we could use ldconfig to report *all* directores which are
12812 # searched for libraries, however this is still not possible. Aside from not
12813 # being certain /sbin/ldconfig is available, command
12814 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12815 # even though it is searched at run-time. Try to do the best guess by
12816 # appending ld.so.conf contents (and includes) to the search path.
12817 if test -f /etc
/ld.so.conf
; then
12818 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' ' '`
12819 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12822 # We used to test for /lib/ld.so.1 and disable shared libraries on
12823 # powerpc, because MkLinux only supported shared libraries with the
12824 # GNU dynamic linker. Since this was broken with cross compilers,
12825 # most powerpc-linux boxes support dynamic linking these days and
12826 # people can always --disable-shared, the test was removed, and we
12827 # assume the GNU/Linux dynamic linker is in use.
12828 dynamic_linker
='GNU/Linux ld.so'
12835 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12836 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12837 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12838 dynamic_linker
='NetBSD (a.out) ld.so'
12840 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12841 soname_spec
='$libname$release$shared_ext$major'
12842 dynamic_linker
='NetBSD ld.elf_so'
12844 shlibpath_var
=LD_LIBRARY_PATH
12845 shlibpath_overrides_runpath
=yes
12846 hardcode_into_libs
=yes
12850 version_type
=linux
# correct to gnu/linux during the next big refactor
12851 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12852 shlibpath_var
=LD_LIBRARY_PATH
12853 shlibpath_overrides_runpath
=yes
12860 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12861 soname_spec
='$libname$release$shared_ext$major'
12862 shlibpath_var
=LD_LIBRARY_PATH
12863 shlibpath_overrides_runpath
=no
12864 hardcode_into_libs
=yes
12865 dynamic_linker
='ldqnx.so'
12868 openbsd
* | bitrig
*)
12870 sys_lib_dlsearch_path_spec
=/usr
/lib
12872 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12877 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12878 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12879 shlibpath_var
=LD_LIBRARY_PATH
12880 shlibpath_overrides_runpath
=yes
12884 libname_spec
='$name'
12885 version_type
=windows
12889 # OS/2 can only load a DLL with a base name of 8 characters or less.
12890 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12891 v=$($ECHO $release$versuffix | tr -d .-);
12892 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12893 $ECHO $n$v`$shared_ext'
12894 library_names_spec
='${libname}_dll.$libext'
12895 dynamic_linker
='OS/2 ld.exe'
12896 shlibpath_var
=BEGINLIBPATH
12897 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12898 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12899 postinstall_cmds
='base_file=`basename \$file`~
12900 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12901 dldir=$destdir/`dirname \$dlpath`~
12902 test -d \$dldir || mkdir -p \$dldir~
12903 $install_prog $dir/$dlname \$dldir/$dlname~
12904 chmod a+x \$dldir/$dlname~
12905 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12906 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12908 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12909 dlpath=$dir/\$dldll~
12913 osf3
* | osf4
* | osf5
*)
12917 soname_spec
='$libname$release$shared_ext$major'
12918 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12919 shlibpath_var
=LD_LIBRARY_PATH
12920 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12921 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12929 version_type
=linux
# correct to gnu/linux during the next big refactor
12932 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12933 soname_spec
='$libname$release$shared_ext$major'
12934 shlibpath_var
=LD_LIBRARY_PATH
12935 shlibpath_overrides_runpath
=yes
12936 hardcode_into_libs
=yes
12937 # ldd complains unless libraries are executable
12938 postinstall_cmds
='chmod +x $lib'
12943 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12944 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12945 shlibpath_var
=LD_LIBRARY_PATH
12946 shlibpath_overrides_runpath
=yes
12947 if test yes = "$with_gnu_ld"; then
12954 version_type
=linux
# correct to gnu/linux during the next big refactor
12955 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12956 soname_spec
='$libname$release$shared_ext$major'
12957 shlibpath_var
=LD_LIBRARY_PATH
12958 case $host_vendor in
12960 shlibpath_overrides_runpath
=no
12962 runpath_var
=LD_RUN_PATH
12970 shlibpath_overrides_runpath
=no
12971 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12977 if test -d /usr
/nec
; then
12978 version_type
=linux
# correct to gnu/linux during the next big refactor
12979 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12980 soname_spec
='$libname$shared_ext.$major'
12981 shlibpath_var
=LD_LIBRARY_PATH
12985 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12989 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12990 soname_spec
='$libname$release$shared_ext$major'
12991 shlibpath_var
=LD_LIBRARY_PATH
12992 shlibpath_overrides_runpath
=yes
12993 hardcode_into_libs
=yes
12994 if test yes = "$with_gnu_ld"; then
12995 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12997 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13000 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13004 sys_lib_dlsearch_path_spec
='/usr/lib'
13008 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13009 version_type
=linux
# correct to gnu/linux during the next big refactor
13012 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13013 shlibpath_var
=LD_LIBRARY_PATH
13014 shlibpath_overrides_runpath
=no
13015 hardcode_into_libs
=yes
13019 version_type
=linux
# correct to gnu/linux during the next big refactor
13020 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13021 soname_spec
='$libname$release$shared_ext$major'
13022 shlibpath_var
=LD_LIBRARY_PATH
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13030 $as_echo "$dynamic_linker" >&6; }
13031 test no
= "$dynamic_linker" && can_build_shared
=no
13033 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13034 if test yes = "$GCC"; then
13035 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13038 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13039 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13042 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13043 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13046 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13047 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
13049 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13050 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13052 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13053 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13152 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13154 if test -n "$hardcode_libdir_flag_spec" ||
13155 test -n "$runpath_var" ||
13156 test yes = "$hardcode_automatic"; then
13158 # We can hardcode non-existent directories.
13159 if test no
!= "$hardcode_direct" &&
13160 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13161 # have to relink, otherwise we might link with an installed library
13162 # when we should be linking with a yet-to-be-installed one
13163 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13164 test no
!= "$hardcode_minus_L"; then
13165 # Linking always hardcodes the temporary library directory.
13166 hardcode_action
=relink
13168 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13169 hardcode_action
=immediate
13172 # We cannot hardcode anything, or else we can only hardcode existing
13174 hardcode_action
=unsupported
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13177 $as_echo "$hardcode_action" >&6; }
13179 if test relink
= "$hardcode_action" ||
13180 test yes = "$inherit_rpath"; then
13181 # Fast installation is not supported
13182 enable_fast_install
=no
13183 elif test yes = "$shlibpath_overrides_runpath" ||
13184 test no
= "$enable_shared"; then
13185 # Fast installation is not necessary
13186 enable_fast_install
=needless
13194 if test yes != "$enable_dlopen"; then
13195 enable_dlopen
=unknown
13196 enable_dlopen_self
=unknown
13197 enable_dlopen_self_static
=unknown
13204 lt_cv_dlopen
=load_add_on
13206 lt_cv_dlopen_self
=yes
13209 mingw
* | pw32
* | cegcc
*)
13210 lt_cv_dlopen
=LoadLibrary
13215 lt_cv_dlopen
=dlopen
13220 # if libdl is installed we need to link against it
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13222 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13223 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13224 $as_echo_n "(cached) " >&6
13226 ac_check_lib_save_LIBS
=$LIBS
13228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13231 /* Override any GCC internal prototype to avoid an error.
13232 Use char because int might match the return type of a GCC
13233 builtin and then its argument prototype would still apply. */
13246 if ac_fn_c_try_link
"$LINENO"; then :
13247 ac_cv_lib_dl_dlopen
=yes
13249 ac_cv_lib_dl_dlopen
=no
13251 rm -f core conftest.err conftest.
$ac_objext \
13252 conftest
$ac_exeext conftest.
$ac_ext
13253 LIBS
=$ac_check_lib_save_LIBS
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13256 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13257 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13258 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13263 lt_cv_dlopen_self
=yes
13270 # Don't try to run any link tests for TPF. We know it's impossible
13271 # because TPF is a cross-compiler, and we know how we open DSOs.
13272 lt_cv_dlopen
=dlopen
13274 lt_cv_dlopen_self
=no
13278 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13279 if test "x$ac_cv_func_shl_load" = xyes
; then :
13280 lt_cv_dlopen
=shl_load
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13283 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13284 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13285 $as_echo_n "(cached) " >&6
13287 ac_check_lib_save_LIBS
=$LIBS
13289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13292 /* Override any GCC internal prototype to avoid an error.
13293 Use char because int might match the return type of a GCC
13294 builtin and then its argument prototype would still apply. */
13302 return shl_load ();
13307 if ac_fn_c_try_link
"$LINENO"; then :
13308 ac_cv_lib_dld_shl_load
=yes
13310 ac_cv_lib_dld_shl_load
=no
13312 rm -f core conftest.err conftest.
$ac_objext \
13313 conftest
$ac_exeext conftest.
$ac_ext
13314 LIBS
=$ac_check_lib_save_LIBS
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13317 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13318 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13319 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13321 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13322 if test "x$ac_cv_func_dlopen" = xyes
; then :
13323 lt_cv_dlopen
=dlopen
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13327 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13328 $as_echo_n "(cached) " >&6
13330 ac_check_lib_save_LIBS
=$LIBS
13332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13335 /* Override any GCC internal prototype to avoid an error.
13336 Use char because int might match the return type of a GCC
13337 builtin and then its argument prototype would still apply. */
13350 if ac_fn_c_try_link
"$LINENO"; then :
13351 ac_cv_lib_dl_dlopen
=yes
13353 ac_cv_lib_dl_dlopen
=no
13355 rm -f core conftest.err conftest.
$ac_objext \
13356 conftest
$ac_exeext conftest.
$ac_ext
13357 LIBS
=$ac_check_lib_save_LIBS
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13361 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13362 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13365 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13366 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13367 $as_echo_n "(cached) " >&6
13369 ac_check_lib_save_LIBS
=$LIBS
13370 LIBS
="-lsvld $LIBS"
13371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13389 if ac_fn_c_try_link
"$LINENO"; then :
13390 ac_cv_lib_svld_dlopen
=yes
13392 ac_cv_lib_svld_dlopen
=no
13394 rm -f core conftest.err conftest.
$ac_objext \
13395 conftest
$ac_exeext conftest.
$ac_ext
13396 LIBS
=$ac_check_lib_save_LIBS
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13399 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13400 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13401 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13404 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13405 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13406 $as_echo_n "(cached) " >&6
13408 ac_check_lib_save_LIBS
=$LIBS
13410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13413 /* Override any GCC internal prototype to avoid an error.
13414 Use char because int might match the return type of a GCC
13415 builtin and then its argument prototype would still apply. */
13423 return dld_link ();
13428 if ac_fn_c_try_link
"$LINENO"; then :
13429 ac_cv_lib_dld_dld_link
=yes
13431 ac_cv_lib_dld_dld_link
=no
13433 rm -f core conftest.err conftest.
$ac_objext \
13434 conftest
$ac_exeext conftest.
$ac_ext
13435 LIBS
=$ac_check_lib_save_LIBS
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13438 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13439 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13440 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13461 if test no
= "$lt_cv_dlopen"; then
13467 case $lt_cv_dlopen in
13469 save_CPPFLAGS
=$CPPFLAGS
13470 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13472 save_LDFLAGS
=$LDFLAGS
13473 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13476 LIBS
="$lt_cv_dlopen_libs $LIBS"
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13479 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13480 if ${lt_cv_dlopen_self+:} false
; then :
13481 $as_echo_n "(cached) " >&6
13483 if test yes = "$cross_compiling"; then :
13484 lt_cv_dlopen_self
=cross
13486 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13487 lt_status
=$lt_dlunknown
13488 cat > conftest.
$ac_ext <<_LT_EOF
13489 #line $LINENO "configure"
13490 #include "confdefs.h"
13499 # define LT_DLGLOBAL RTLD_GLOBAL
13502 # define LT_DLGLOBAL DL_GLOBAL
13504 # define LT_DLGLOBAL 0
13508 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13509 find out it does not work in some platform. */
13510 #ifndef LT_DLLAZY_OR_NOW
13512 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13515 # define LT_DLLAZY_OR_NOW DL_LAZY
13518 # define LT_DLLAZY_OR_NOW RTLD_NOW
13521 # define LT_DLLAZY_OR_NOW DL_NOW
13523 # define LT_DLLAZY_OR_NOW 0
13530 /* When -fvisibility=hidden is used, assume the code has been annotated
13531 correspondingly for the symbols needed. */
13532 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13533 int fnord () __attribute__((visibility("default")));
13536 int fnord () { return 42; }
13539 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13540 int status = $lt_dlunknown;
13544 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13547 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13548 else puts (dlerror ());
13550 /* dlclose (self); */
13558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13559 (eval $ac_link) 2>&5
13561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13562 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13563 (.
/conftest
; exit; ) >&5 2>/dev
/null
13565 case x
$lt_status in
13566 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13567 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13568 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13571 # compilation failed
13572 lt_cv_dlopen_self
=no
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13580 $as_echo "$lt_cv_dlopen_self" >&6; }
13582 if test yes = "$lt_cv_dlopen_self"; then
13583 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13585 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13586 if ${lt_cv_dlopen_self_static+:} false
; then :
13587 $as_echo_n "(cached) " >&6
13589 if test yes = "$cross_compiling"; then :
13590 lt_cv_dlopen_self_static
=cross
13592 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13593 lt_status
=$lt_dlunknown
13594 cat > conftest.
$ac_ext <<_LT_EOF
13595 #line $LINENO "configure"
13596 #include "confdefs.h"
13605 # define LT_DLGLOBAL RTLD_GLOBAL
13608 # define LT_DLGLOBAL DL_GLOBAL
13610 # define LT_DLGLOBAL 0
13614 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13615 find out it does not work in some platform. */
13616 #ifndef LT_DLLAZY_OR_NOW
13618 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13621 # define LT_DLLAZY_OR_NOW DL_LAZY
13624 # define LT_DLLAZY_OR_NOW RTLD_NOW
13627 # define LT_DLLAZY_OR_NOW DL_NOW
13629 # define LT_DLLAZY_OR_NOW 0
13636 /* When -fvisibility=hidden is used, assume the code has been annotated
13637 correspondingly for the symbols needed. */
13638 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13639 int fnord () __attribute__((visibility("default")));
13642 int fnord () { return 42; }
13645 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13646 int status = $lt_dlunknown;
13650 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13653 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13654 else puts (dlerror ());
13656 /* dlclose (self); */
13664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13665 (eval $ac_link) 2>&5
13667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13668 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13669 (.
/conftest
; exit; ) >&5 2>/dev
/null
13671 case x
$lt_status in
13672 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13673 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13674 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13677 # compilation failed
13678 lt_cv_dlopen_self_static
=no
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13686 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13689 CPPFLAGS
=$save_CPPFLAGS
13690 LDFLAGS
=$save_LDFLAGS
13695 case $lt_cv_dlopen_self in
13696 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13697 *) enable_dlopen_self
=unknown
;;
13700 case $lt_cv_dlopen_self_static in
13701 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13702 *) enable_dlopen_self_static
=unknown
;;
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13725 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13726 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13727 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13728 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13730 $as_echo "yes" >&6; }
13732 # FIXME - insert some real tests, host_os isn't really good enough
13735 if test -n "$STRIP"; then
13736 striplib
="$STRIP -x"
13737 old_striplib
="$STRIP -S"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13739 $as_echo "yes" >&6; }
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13742 $as_echo "no" >&6; }
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13747 $as_echo "no" >&6; }
13763 # Report what library types will actually be built
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13765 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13767 $as_echo "$can_build_shared" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13770 $as_echo_n "checking whether to build shared libraries... " >&6; }
13771 test no
= "$can_build_shared" && enable_shared
=no
13773 # On AIX, shared libraries and static libraries use the same namespace, and
13774 # are all built from PIC.
13777 test yes = "$enable_shared" && enable_static
=no
13778 if test -n "$RANLIB"; then
13779 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13780 postinstall_cmds
='$RANLIB $lib'
13785 if test ia64
!= "$host_cpu"; then
13786 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13787 yes,aix
,yes) ;; # shared object as lib.so file only
13788 yes,svr4
,*) ;; # shared object as lib.so archive member only
13789 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13795 $as_echo "$enable_shared" >&6; }
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13798 $as_echo_n "checking whether to build static libraries... " >&6; }
13799 # Make sure either enable_shared or enable_static is yes.
13800 test yes = "$enable_shared" || enable_static
=yes
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13802 $as_echo "$enable_static" >&6; }
13809 ac_cpp
='$CPP $CPPFLAGS'
13810 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13811 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13812 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13830 ac_config_commands
="$ac_config_commands libtool"
13835 # Only expand once:
13840 # Extract the first word of "ar", so it can be a program name with args.
13841 set dummy
ar; ac_word
=$2
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13843 $as_echo_n "checking for $ac_word... " >&6; }
13844 if ${ac_cv_path_AR+:} false
; then :
13845 $as_echo_n "(cached) " >&6
13849 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
13852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13853 for as_dir
in $PATH
13856 test -z "$as_dir" && as_dir
=.
13857 for ac_exec_ext
in '' $ac_executable_extensions; do
13858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13859 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
13860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13867 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
13872 if test -n "$AR"; then
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13874 $as_echo "$AR" >&6; }
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13877 $as_echo "no" >&6; }
13881 # Extract the first word of "rm", so it can be a program name with args.
13882 set dummy
rm; ac_word
=$2
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13884 $as_echo_n "checking for $ac_word... " >&6; }
13885 if ${ac_cv_path_RM+:} false
; then :
13886 $as_echo_n "(cached) " >&6
13890 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
13893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13894 for as_dir
in $PATH
13897 test -z "$as_dir" && as_dir
=.
13898 for ac_exec_ext
in '' $ac_executable_extensions; do
13899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13900 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
13901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13908 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
13913 if test -n "$RM"; then
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
13915 $as_echo "$RM" >&6; }
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13918 $as_echo "no" >&6; }
13922 # Extract the first word of "cp", so it can be a program name with args.
13923 set dummy
cp; ac_word
=$2
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13925 $as_echo_n "checking for $ac_word... " >&6; }
13926 if ${ac_cv_path_CP+:} false
; then :
13927 $as_echo_n "(cached) " >&6
13931 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13935 for as_dir
in $PATH
13938 test -z "$as_dir" && as_dir
=.
13939 for ac_exec_ext
in '' $ac_executable_extensions; do
13940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13941 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13949 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
13954 if test -n "$CP"; then
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
13956 $as_echo "$CP" >&6; }
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13959 $as_echo "no" >&6; }
13963 # Extract the first word of "ln", so it can be a program name with args.
13964 set dummy
ln; ac_word
=$2
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13966 $as_echo_n "checking for $ac_word... " >&6; }
13967 if ${ac_cv_path_LN+:} false
; then :
13968 $as_echo_n "(cached) " >&6
13972 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
13975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13976 for as_dir
in $PATH
13979 test -z "$as_dir" && as_dir
=.
13980 for ac_exec_ext
in '' $ac_executable_extensions; do
13981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13982 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
13983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13990 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
13995 if test -n "$LN"; then
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
13997 $as_echo "$LN" >&6; }
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14000 $as_echo "no" >&6; }
14004 # Extract the first word of "ls", so it can be a program name with args.
14005 set dummy
ls; ac_word
=$2
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14007 $as_echo_n "checking for $ac_word... " >&6; }
14008 if ${ac_cv_path_LS+:} false
; then :
14009 $as_echo_n "(cached) " >&6
14013 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
14016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14017 for as_dir
in $PATH
14020 test -z "$as_dir" && as_dir
=.
14021 for ac_exec_ext
in '' $ac_executable_extensions; do
14022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14023 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
14024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14031 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
14036 if test -n "$LS"; then
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
14038 $as_echo "$LS" >&6; }
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14041 $as_echo "no" >&6; }
14045 # Extract the first word of "sed", so it can be a program name with args.
14046 set dummy
sed; ac_word
=$2
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14048 $as_echo_n "checking for $ac_word... " >&6; }
14049 if ${ac_cv_path_SED+:} false
; then :
14050 $as_echo_n "(cached) " >&6
14054 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
14057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14058 for as_dir
in $PATH
14061 test -z "$as_dir" && as_dir
=.
14062 for ac_exec_ext
in '' $ac_executable_extensions; do
14063 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14064 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
14065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14072 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
14076 SED
=$ac_cv_path_SED
14077 if test -n "$SED"; then
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14079 $as_echo "$SED" >&6; }
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14082 $as_echo "no" >&6; }
14086 # Extract the first word of "make", so it can be a program name with args.
14087 set dummy
make; ac_word
=$2
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14089 $as_echo_n "checking for $ac_word... " >&6; }
14090 if ${ac_cv_path_MAKE+:} false
; then :
14091 $as_echo_n "(cached) " >&6
14095 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
14098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14099 for as_dir
in $PATH
14102 test -z "$as_dir" && as_dir
=.
14103 for ac_exec_ext
in '' $ac_executable_extensions; do
14104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14105 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
14106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14116 MAKE
=$ac_cv_path_MAKE
14117 if test -n "$MAKE"; then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
14119 $as_echo "$MAKE" >&6; }
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14122 $as_echo "no" >&6; }
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14131 $as_echo_n "checking whether NLS is requested... " >&6; }
14132 # Check whether --enable-nls was given.
14133 if test "${enable_nls+set}" = set; then :
14134 enableval
=$enable_nls; USE_NLS
=$enableval
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14140 $as_echo "$USE_NLS" >&6; }
14147 # Prepare PATH_SEPARATOR.
14148 # The user is always right.
14149 if test "${PATH_SEPARATOR+set}" != set; then
14150 echo "#! /bin/sh" >conf$$.sh
14151 echo "exit 0" >>conf$$.sh
14153 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14161 # Find out how to test for executable files. Don't use a zero-byte file,
14162 # as systems may use methods other than mode bits to determine executability.
14163 cat >conf$$.
file <<_ASEOF
14167 chmod +x conf$$.
file
14168 if test -x conf$$.
file >/dev
/null
2>&1; then
14169 ac_executable_p
="test -x"
14171 ac_executable_p
="test -f"
14175 # Extract the first word of "msgfmt", so it can be a program name with args.
14176 set dummy msgfmt
; ac_word
=$2
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14178 $as_echo_n "checking for $ac_word... " >&6; }
14179 if ${ac_cv_path_MSGFMT+:} false
; then :
14180 $as_echo_n "(cached) " >&6
14184 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
14187 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14188 for ac_dir
in $PATH; do
14190 test -z "$ac_dir" && ac_dir
=.
14191 for ac_exec_ext
in '' $ac_executable_extensions; do
14192 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14193 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14194 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
14195 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
14196 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
14203 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
14207 MSGFMT
="$ac_cv_path_MSGFMT"
14208 if test "$MSGFMT" != ":"; then
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14210 $as_echo "$MSGFMT" >&6; }
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14213 $as_echo "no" >&6; }
14216 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14217 set dummy gmsgfmt
; ac_word
=$2
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14219 $as_echo_n "checking for $ac_word... " >&6; }
14220 if ${ac_cv_path_GMSGFMT+:} false
; then :
14221 $as_echo_n "(cached) " >&6
14225 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
14228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14229 for as_dir
in $PATH
14232 test -z "$as_dir" && as_dir
=.
14233 for ac_exec_ext
in '' $ac_executable_extensions; do
14234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14235 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
14236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14243 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
14247 GMSGFMT
=$ac_cv_path_GMSGFMT
14248 if test -n "$GMSGFMT"; then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14250 $as_echo "$GMSGFMT" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14253 $as_echo "no" >&6; }
14258 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14259 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
14260 *) MSGFMT_015
=$MSGFMT ;;
14263 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14264 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
14265 *) GMSGFMT_015
=$GMSGFMT ;;
14270 # Prepare PATH_SEPARATOR.
14271 # The user is always right.
14272 if test "${PATH_SEPARATOR+set}" != set; then
14273 echo "#! /bin/sh" >conf$$.sh
14274 echo "exit 0" >>conf$$.sh
14276 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14284 # Find out how to test for executable files. Don't use a zero-byte file,
14285 # as systems may use methods other than mode bits to determine executability.
14286 cat >conf$$.
file <<_ASEOF
14290 chmod +x conf$$.
file
14291 if test -x conf$$.
file >/dev
/null
2>&1; then
14292 ac_executable_p
="test -x"
14294 ac_executable_p
="test -f"
14298 # Extract the first word of "xgettext", so it can be a program name with args.
14299 set dummy xgettext
; ac_word
=$2
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14301 $as_echo_n "checking for $ac_word... " >&6; }
14302 if ${ac_cv_path_XGETTEXT+:} false
; then :
14303 $as_echo_n "(cached) " >&6
14305 case "$XGETTEXT" in
14307 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
14310 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14311 for ac_dir
in $PATH; do
14313 test -z "$ac_dir" && ac_dir
=.
14314 for ac_exec_ext
in '' $ac_executable_extensions; do
14315 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14316 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14317 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
14318 (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
14319 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
14326 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
14330 XGETTEXT
="$ac_cv_path_XGETTEXT"
14331 if test "$XGETTEXT" != ":"; then
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14333 $as_echo "$XGETTEXT" >&6; }
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14336 $as_echo "no" >&6; }
14341 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14342 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
14343 *) XGETTEXT_015
=$XGETTEXT ;;
14348 # Prepare PATH_SEPARATOR.
14349 # The user is always right.
14350 if test "${PATH_SEPARATOR+set}" != set; then
14351 echo "#! /bin/sh" >conf$$.sh
14352 echo "exit 0" >>conf$$.sh
14354 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14362 # Find out how to test for executable files. Don't use a zero-byte file,
14363 # as systems may use methods other than mode bits to determine executability.
14364 cat >conf$$.
file <<_ASEOF
14368 chmod +x conf$$.
file
14369 if test -x conf$$.
file >/dev
/null
2>&1; then
14370 ac_executable_p
="test -x"
14372 ac_executable_p
="test -f"
14376 # Extract the first word of "msgmerge", so it can be a program name with args.
14377 set dummy msgmerge
; ac_word
=$2
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14379 $as_echo_n "checking for $ac_word... " >&6; }
14380 if ${ac_cv_path_MSGMERGE+:} false
; then :
14381 $as_echo_n "(cached) " >&6
14383 case "$MSGMERGE" in
14385 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
14388 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14389 for ac_dir
in $PATH; do
14391 test -z "$ac_dir" && ac_dir
=.
14392 for ac_exec_ext
in '' $ac_executable_extensions; do
14393 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14394 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14395 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
14396 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
14403 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
14407 MSGMERGE
="$ac_cv_path_MSGMERGE"
14408 if test "$MSGMERGE" != ":"; then
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14410 $as_echo "$MSGMERGE" >&6; }
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14417 test -n "$localedir" || localedir
='${datadir}/locale'
14420 ac_config_commands
="$ac_config_commands po-directories"
14424 if test "X$prefix" = "XNONE"; then
14425 acl_final_prefix
="$ac_default_prefix"
14427 acl_final_prefix
="$prefix"
14429 if test "X$exec_prefix" = "XNONE"; then
14430 acl_final_exec_prefix
='${prefix}'
14432 acl_final_exec_prefix
="$exec_prefix"
14434 acl_save_prefix
="$prefix"
14435 prefix
="$acl_final_prefix"
14436 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14437 prefix
="$acl_save_prefix"
14440 # Check whether --with-gnu-ld was given.
14441 if test "${with_gnu_ld+set}" = set; then :
14442 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
14447 # Prepare PATH_SEPARATOR.
14448 # The user is always right.
14449 if test "${PATH_SEPARATOR+set}" != set; then
14450 echo "#! /bin/sh" >conf$$.sh
14451 echo "exit 0" >>conf$$.sh
14453 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14461 if test "$GCC" = yes; then
14462 # Check if gcc -print-prog-name=ld gives a path.
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14464 $as_echo_n "checking for ld used by GCC... " >&6; }
14467 # gcc leaves a trailing carriage return which upsets mingw
14468 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14470 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14473 # Accept absolute paths.
14474 [\\/]* |
[A-Za-z
]:[\\/]*)
14475 re_direlt
='/[^/][^/]*/\.\./'
14476 # Canonicalize the path of ld
14477 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14478 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
14479 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14481 test -z "$LD" && LD
="$ac_prog"
14484 # If it fails, then pretend we aren't using GCC.
14488 # If it is relative, then search for the first ld in PATH.
14489 with_gnu_ld
=unknown
14492 elif test "$with_gnu_ld" = yes; then
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14494 $as_echo_n "checking for GNU ld... " >&6; }
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14497 $as_echo_n "checking for non-GNU ld... " >&6; }
14499 if ${acl_cv_path_LD+:} false
; then :
14500 $as_echo_n "(cached) " >&6
14502 if test -z "$LD"; then
14503 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14504 for ac_dir
in $PATH; do
14505 test -z "$ac_dir" && ac_dir
=.
14506 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14507 acl_cv_path_LD
="$ac_dir/$ac_prog"
14508 # Check to see if the program is GNU ld. I'd rather use --version,
14509 # but apparently some GNU ld's only accept -v.
14510 # Break only if it was the GNU/non-GNU ld that we prefer.
14511 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14512 *GNU
* |
*'with BFD'*)
14513 test "$with_gnu_ld" != no
&& break ;;
14515 test "$with_gnu_ld" != yes && break ;;
14521 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14525 LD
="$acl_cv_path_LD"
14526 if test -n "$LD"; then
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14528 $as_echo "$LD" >&6; }
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14531 $as_echo "no" >&6; }
14533 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14535 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14536 if ${acl_cv_prog_gnu_ld+:} false
; then :
14537 $as_echo_n "(cached) " >&6
14539 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14540 case `$LD -v 2>&1 </dev/null` in
14541 *GNU
* |
*'with BFD'*)
14542 acl_cv_prog_gnu_ld
=yes ;;
14544 acl_cv_prog_gnu_ld
=no
;;
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14548 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14549 with_gnu_ld
=$acl_cv_prog_gnu_ld
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14555 $as_echo_n "checking for shared library run path origin... " >&6; }
14556 if ${acl_cv_rpath+:} false
; then :
14557 $as_echo_n "(cached) " >&6
14560 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14561 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14563 rm -f .
/conftest.sh
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14568 $as_echo "$acl_cv_rpath" >&6; }
14570 libext
="$acl_cv_libext"
14571 shlibext
="$acl_cv_shlibext"
14572 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14573 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14574 hardcode_direct
="$acl_cv_hardcode_direct"
14575 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14576 # Check whether --enable-rpath was given.
14577 if test "${enable_rpath+set}" = set; then :
14578 enableval
=$enable_rpath; :
14586 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14587 if test -n "$searchpath"; then
14588 acl_save_IFS
="${IFS= }"; IFS
=":"
14589 for searchdir
in $searchpath; do
14590 if test -d "$searchdir"; then
14591 case "$searchdir" in
14592 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
14593 *) searchdir
=`cd "$searchdir" && pwd`
14594 case "$searchdir" in
14595 */lib64
) acl_libdirstem
=lib64
;;
14600 IFS
="$acl_save_IFS"
14612 acl_save_prefix
="$prefix"
14613 prefix
="$acl_final_prefix"
14614 acl_save_exec_prefix
="$exec_prefix"
14615 exec_prefix
="$acl_final_exec_prefix"
14617 eval additional_includedir
=\"$includedir\"
14618 eval additional_libdir
=\"$libdir\"
14620 exec_prefix
="$acl_save_exec_prefix"
14621 prefix
="$acl_save_prefix"
14624 # Check whether --with-libiconv-prefix was given.
14625 if test "${with_libiconv_prefix+set}" = set; then :
14626 withval
=$with_libiconv_prefix;
14627 if test "X$withval" = "Xno"; then
14630 if test "X$withval" = "X"; then
14632 acl_save_prefix
="$prefix"
14633 prefix
="$acl_final_prefix"
14634 acl_save_exec_prefix
="$exec_prefix"
14635 exec_prefix
="$acl_final_exec_prefix"
14637 eval additional_includedir
=\"$includedir\"
14638 eval additional_libdir
=\"$libdir\"
14640 exec_prefix
="$acl_save_exec_prefix"
14641 prefix
="$acl_save_prefix"
14644 additional_includedir
="$withval/include"
14645 additional_libdir
="$withval/$acl_libdirstem"
14656 names_already_handled
=
14657 names_next_round
='iconv '
14658 while test -n "$names_next_round"; do
14659 names_this_round
="$names_next_round"
14661 for name
in $names_this_round; do
14663 for n
in $names_already_handled; do
14664 if test "$n" = "$name"; then
14665 already_handled
=yes
14669 if test -z "$already_handled"; then
14670 names_already_handled
="$names_already_handled $name"
14671 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14672 eval value
=\"\
$HAVE_LIB$uppername\"
14673 if test -n "$value"; then
14674 if test "$value" = yes; then
14675 eval value
=\"\
$LIB$uppername\"
14676 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14677 eval value
=\"\
$LTLIB$uppername\"
14678 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14687 if test $use_additional = yes; then
14688 if test -n "$shlibext" \
14689 && { test -f "$additional_libdir/lib$name.$shlibext" \
14690 ||
{ test "$shlibext" = dll \
14691 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14692 found_dir
="$additional_libdir"
14693 if test -f "$additional_libdir/lib$name.$shlibext"; then
14694 found_so
="$additional_libdir/lib$name.$shlibext"
14696 found_so
="$additional_libdir/lib$name.dll.a"
14698 if test -f "$additional_libdir/lib$name.la"; then
14699 found_la
="$additional_libdir/lib$name.la"
14702 if test -f "$additional_libdir/lib$name.$libext"; then
14703 found_dir
="$additional_libdir"
14704 found_a
="$additional_libdir/lib$name.$libext"
14705 if test -f "$additional_libdir/lib$name.la"; then
14706 found_la
="$additional_libdir/lib$name.la"
14711 if test "X$found_dir" = "X"; then
14712 for x
in $LDFLAGS $LTLIBICONV; do
14714 acl_save_prefix
="$prefix"
14715 prefix
="$acl_final_prefix"
14716 acl_save_exec_prefix
="$exec_prefix"
14717 exec_prefix
="$acl_final_exec_prefix"
14719 exec_prefix
="$acl_save_exec_prefix"
14720 prefix
="$acl_save_prefix"
14724 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14725 if test -n "$shlibext" \
14726 && { test -f "$dir/lib$name.$shlibext" \
14727 ||
{ test "$shlibext" = dll \
14728 && test -f "$dir/lib$name.dll.a"; }; }; then
14730 if test -f "$dir/lib$name.$shlibext"; then
14731 found_so
="$dir/lib$name.$shlibext"
14733 found_so
="$dir/lib$name.dll.a"
14735 if test -f "$dir/lib$name.la"; then
14736 found_la
="$dir/lib$name.la"
14739 if test -f "$dir/lib$name.$libext"; then
14741 found_a
="$dir/lib$name.$libext"
14742 if test -f "$dir/lib$name.la"; then
14743 found_la
="$dir/lib$name.la"
14749 if test "X$found_dir" != "X"; then
14754 if test "X$found_dir" != "X"; then
14755 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14756 if test "X$found_so" != "X"; then
14757 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14758 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14761 for x
in $ltrpathdirs; do
14762 if test "X$x" = "X$found_dir"; then
14767 if test -z "$haveit"; then
14768 ltrpathdirs
="$ltrpathdirs $found_dir"
14770 if test "$hardcode_direct" = yes; then
14771 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14773 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14774 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14776 for x
in $rpathdirs; do
14777 if test "X$x" = "X$found_dir"; then
14782 if test -z "$haveit"; then
14783 rpathdirs
="$rpathdirs $found_dir"
14787 for x
in $LDFLAGS $LIBICONV; do
14789 acl_save_prefix
="$prefix"
14790 prefix
="$acl_final_prefix"
14791 acl_save_exec_prefix
="$exec_prefix"
14792 exec_prefix
="$acl_final_exec_prefix"
14794 exec_prefix
="$acl_save_exec_prefix"
14795 prefix
="$acl_save_prefix"
14797 if test "X$x" = "X-L$found_dir"; then
14802 if test -z "$haveit"; then
14803 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14805 if test "$hardcode_minus_L" != no
; then
14806 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14808 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14814 if test "X$found_a" != "X"; then
14815 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14817 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14820 additional_includedir
=
14821 case "$found_dir" in
14822 */$acl_libdirstem |
*/$acl_libdirstem/)
14823 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14824 additional_includedir
="$basedir/include"
14827 if test "X$additional_includedir" != "X"; then
14828 if test "X$additional_includedir" != "X/usr/include"; then
14830 if test "X$additional_includedir" = "X/usr/local/include"; then
14831 if test -n "$GCC"; then
14833 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14837 if test -z "$haveit"; then
14838 for x
in $CPPFLAGS $INCICONV; do
14840 acl_save_prefix
="$prefix"
14841 prefix
="$acl_final_prefix"
14842 acl_save_exec_prefix
="$exec_prefix"
14843 exec_prefix
="$acl_final_exec_prefix"
14845 exec_prefix
="$acl_save_exec_prefix"
14846 prefix
="$acl_save_prefix"
14848 if test "X$x" = "X-I$additional_includedir"; then
14853 if test -z "$haveit"; then
14854 if test -d "$additional_includedir"; then
14855 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14861 if test -n "$found_la"; then
14862 save_libdir
="$libdir"
14863 case "$found_la" in
14864 */* |
*\\*) .
"$found_la" ;;
14865 *) .
"./$found_la" ;;
14867 libdir
="$save_libdir"
14868 for dep
in $dependency_libs; do
14871 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14872 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14874 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14875 if test -n "$GCC"; then
14877 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14881 if test -z "$haveit"; then
14883 for x
in $LDFLAGS $LIBICONV; do
14885 acl_save_prefix
="$prefix"
14886 prefix
="$acl_final_prefix"
14887 acl_save_exec_prefix
="$exec_prefix"
14888 exec_prefix
="$acl_final_exec_prefix"
14890 exec_prefix
="$acl_save_exec_prefix"
14891 prefix
="$acl_save_prefix"
14893 if test "X$x" = "X-L$additional_libdir"; then
14898 if test -z "$haveit"; then
14899 if test -d "$additional_libdir"; then
14900 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14904 for x
in $LDFLAGS $LTLIBICONV; do
14906 acl_save_prefix
="$prefix"
14907 prefix
="$acl_final_prefix"
14908 acl_save_exec_prefix
="$exec_prefix"
14909 exec_prefix
="$acl_final_exec_prefix"
14911 exec_prefix
="$acl_save_exec_prefix"
14912 prefix
="$acl_save_prefix"
14914 if test "X$x" = "X-L$additional_libdir"; then
14919 if test -z "$haveit"; then
14920 if test -d "$additional_libdir"; then
14921 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14928 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14929 if test "$enable_rpath" != no
; then
14931 for x
in $rpathdirs; do
14932 if test "X$x" = "X$dir"; then
14937 if test -z "$haveit"; then
14938 rpathdirs
="$rpathdirs $dir"
14941 for x
in $ltrpathdirs; do
14942 if test "X$x" = "X$dir"; then
14947 if test -z "$haveit"; then
14948 ltrpathdirs
="$ltrpathdirs $dir"
14953 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14956 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14959 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14960 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14966 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14967 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14973 if test "X$rpathdirs" != "X"; then
14974 if test -n "$hardcode_libdir_separator"; then
14976 for found_dir
in $rpathdirs; do
14977 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14979 acl_save_libdir
="$libdir"
14981 eval flag
=\"$hardcode_libdir_flag_spec\"
14982 libdir
="$acl_save_libdir"
14983 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14985 for found_dir
in $rpathdirs; do
14986 acl_save_libdir
="$libdir"
14987 libdir
="$found_dir"
14988 eval flag
=\"$hardcode_libdir_flag_spec\"
14989 libdir
="$acl_save_libdir"
14990 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14994 if test "X$ltrpathdirs" != "X"; then
14995 for found_dir
in $ltrpathdirs; do
14996 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15025 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15026 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
15027 $as_echo_n "(cached) " >&6
15029 gt_save_LIBS
="$LIBS"
15030 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 #include <CoreFoundation/CFPreferences.h>
15037 CFPreferencesCopyAppValue(NULL, NULL)
15042 if ac_fn_c_try_link
"$LINENO"; then :
15043 gt_cv_func_CFPreferencesCopyAppValue
=yes
15045 gt_cv_func_CFPreferencesCopyAppValue
=no
15047 rm -f core conftest.err conftest.
$ac_objext \
15048 conftest
$ac_exeext conftest.
$ac_ext
15049 LIBS
="$gt_save_LIBS"
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15052 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15053 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15055 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15059 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15060 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
15061 $as_echo_n "(cached) " >&6
15063 gt_save_LIBS
="$LIBS"
15064 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
15065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 #include <CoreFoundation/CFLocale.h>
15071 CFLocaleCopyCurrent();
15076 if ac_fn_c_try_link
"$LINENO"; then :
15077 gt_cv_func_CFLocaleCopyCurrent
=yes
15079 gt_cv_func_CFLocaleCopyCurrent
=no
15081 rm -f core conftest.err conftest.
$ac_objext \
15082 conftest
$ac_exeext conftest.
$ac_ext
15083 LIBS
="$gt_save_LIBS"
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15086 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15087 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15089 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15093 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15094 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
15106 case " $gt_needs " in
15107 *" need-formatstring-macros "*) gt_api_version
=3 ;;
15108 *" need-ngettext "*) gt_api_version
=2 ;;
15109 *) gt_api_version
=1 ;;
15111 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
15112 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
15114 if test "$USE_NLS" = "yes"; then
15115 gt_use_preinstalled_gnugettext
=no
15118 if test $gt_api_version -ge 3; then
15119 gt_revision_test_code
='
15120 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15121 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15123 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15126 gt_revision_test_code
=
15128 if test $gt_api_version -ge 2; then
15129 gt_expression_test_code
=' + * ngettext ("", "", 0)'
15131 gt_expression_test_code
=
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15135 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15136 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
15137 $as_echo_n "(cached) " >&6
15139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141 #include <libintl.h>
15142 $gt_revision_test_code
15143 extern int _nl_msg_cat_cntr;
15144 extern int *_nl_domain_bindings;
15148 bindtextdomain ("", "");
15149 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15154 if ac_fn_c_try_link
"$LINENO"; then :
15155 eval "$gt_func_gnugettext_libc=yes"
15157 eval "$gt_func_gnugettext_libc=no"
15159 rm -f core conftest.err conftest.
$ac_objext \
15160 conftest
$ac_exeext conftest.
$ac_ext
15162 eval ac_res
=\$
$gt_func_gnugettext_libc
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15164 $as_echo "$ac_res" >&6; }
15166 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15172 am_save_CPPFLAGS
="$CPPFLAGS"
15174 for element
in $INCICONV; do
15176 for x
in $CPPFLAGS; do
15178 acl_save_prefix
="$prefix"
15179 prefix
="$acl_final_prefix"
15180 acl_save_exec_prefix
="$exec_prefix"
15181 exec_prefix
="$acl_final_exec_prefix"
15183 exec_prefix
="$acl_save_exec_prefix"
15184 prefix
="$acl_save_prefix"
15186 if test "X$x" = "X$element"; then
15191 if test -z "$haveit"; then
15192 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15198 $as_echo_n "checking for iconv... " >&6; }
15199 if ${am_cv_func_iconv+:} false
; then :
15200 $as_echo_n "(cached) " >&6
15203 am_cv_func_iconv
="no, consider installing GNU libiconv"
15205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15206 /* end confdefs.h. */
15207 #include <stdlib.h>
15212 iconv_t cd = iconv_open("","");
15213 iconv(cd,NULL,NULL,NULL,NULL);
15219 if ac_fn_c_try_link
"$LINENO"; then :
15220 am_cv_func_iconv
=yes
15222 rm -f core conftest.err conftest.
$ac_objext \
15223 conftest
$ac_exeext conftest.
$ac_ext
15224 if test "$am_cv_func_iconv" != yes; then
15225 am_save_LIBS
="$LIBS"
15226 LIBS
="$LIBS $LIBICONV"
15227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229 #include <stdlib.h>
15234 iconv_t cd = iconv_open("","");
15235 iconv(cd,NULL,NULL,NULL,NULL);
15241 if ac_fn_c_try_link
"$LINENO"; then :
15242 am_cv_lib_iconv
=yes
15243 am_cv_func_iconv
=yes
15245 rm -f core conftest.err conftest.
$ac_objext \
15246 conftest
$ac_exeext conftest.
$ac_ext
15247 LIBS
="$am_save_LIBS"
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15252 $as_echo "$am_cv_func_iconv" >&6; }
15253 if test "$am_cv_func_iconv" = yes; then
15255 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15258 if test "$am_cv_lib_iconv" = yes; then
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15260 $as_echo_n "checking how to link with libiconv... " >&6; }
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15262 $as_echo "$LIBICONV" >&6; }
15264 CPPFLAGS
="$am_save_CPPFLAGS"
15277 acl_save_prefix
="$prefix"
15278 prefix
="$acl_final_prefix"
15279 acl_save_exec_prefix
="$exec_prefix"
15280 exec_prefix
="$acl_final_exec_prefix"
15282 eval additional_includedir
=\"$includedir\"
15283 eval additional_libdir
=\"$libdir\"
15285 exec_prefix
="$acl_save_exec_prefix"
15286 prefix
="$acl_save_prefix"
15289 # Check whether --with-libintl-prefix was given.
15290 if test "${with_libintl_prefix+set}" = set; then :
15291 withval
=$with_libintl_prefix;
15292 if test "X$withval" = "Xno"; then
15295 if test "X$withval" = "X"; then
15297 acl_save_prefix
="$prefix"
15298 prefix
="$acl_final_prefix"
15299 acl_save_exec_prefix
="$exec_prefix"
15300 exec_prefix
="$acl_final_exec_prefix"
15302 eval additional_includedir
=\"$includedir\"
15303 eval additional_libdir
=\"$libdir\"
15305 exec_prefix
="$acl_save_exec_prefix"
15306 prefix
="$acl_save_prefix"
15309 additional_includedir
="$withval/include"
15310 additional_libdir
="$withval/$acl_libdirstem"
15321 names_already_handled
=
15322 names_next_round
='intl '
15323 while test -n "$names_next_round"; do
15324 names_this_round
="$names_next_round"
15326 for name
in $names_this_round; do
15328 for n
in $names_already_handled; do
15329 if test "$n" = "$name"; then
15330 already_handled
=yes
15334 if test -z "$already_handled"; then
15335 names_already_handled
="$names_already_handled $name"
15336 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15337 eval value
=\"\
$HAVE_LIB$uppername\"
15338 if test -n "$value"; then
15339 if test "$value" = yes; then
15340 eval value
=\"\
$LIB$uppername\"
15341 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
15342 eval value
=\"\
$LTLIB$uppername\"
15343 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
15352 if test $use_additional = yes; then
15353 if test -n "$shlibext" \
15354 && { test -f "$additional_libdir/lib$name.$shlibext" \
15355 ||
{ test "$shlibext" = dll \
15356 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
15357 found_dir
="$additional_libdir"
15358 if test -f "$additional_libdir/lib$name.$shlibext"; then
15359 found_so
="$additional_libdir/lib$name.$shlibext"
15361 found_so
="$additional_libdir/lib$name.dll.a"
15363 if test -f "$additional_libdir/lib$name.la"; then
15364 found_la
="$additional_libdir/lib$name.la"
15367 if test -f "$additional_libdir/lib$name.$libext"; then
15368 found_dir
="$additional_libdir"
15369 found_a
="$additional_libdir/lib$name.$libext"
15370 if test -f "$additional_libdir/lib$name.la"; then
15371 found_la
="$additional_libdir/lib$name.la"
15376 if test "X$found_dir" = "X"; then
15377 for x
in $LDFLAGS $LTLIBINTL; do
15379 acl_save_prefix
="$prefix"
15380 prefix
="$acl_final_prefix"
15381 acl_save_exec_prefix
="$exec_prefix"
15382 exec_prefix
="$acl_final_exec_prefix"
15384 exec_prefix
="$acl_save_exec_prefix"
15385 prefix
="$acl_save_prefix"
15389 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15390 if test -n "$shlibext" \
15391 && { test -f "$dir/lib$name.$shlibext" \
15392 ||
{ test "$shlibext" = dll \
15393 && test -f "$dir/lib$name.dll.a"; }; }; then
15395 if test -f "$dir/lib$name.$shlibext"; then
15396 found_so
="$dir/lib$name.$shlibext"
15398 found_so
="$dir/lib$name.dll.a"
15400 if test -f "$dir/lib$name.la"; then
15401 found_la
="$dir/lib$name.la"
15404 if test -f "$dir/lib$name.$libext"; then
15406 found_a
="$dir/lib$name.$libext"
15407 if test -f "$dir/lib$name.la"; then
15408 found_la
="$dir/lib$name.la"
15414 if test "X$found_dir" != "X"; then
15419 if test "X$found_dir" != "X"; then
15420 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15421 if test "X$found_so" != "X"; then
15422 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15423 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15426 for x
in $ltrpathdirs; do
15427 if test "X$x" = "X$found_dir"; then
15432 if test -z "$haveit"; then
15433 ltrpathdirs
="$ltrpathdirs $found_dir"
15435 if test "$hardcode_direct" = yes; then
15436 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15438 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
15439 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15441 for x
in $rpathdirs; do
15442 if test "X$x" = "X$found_dir"; then
15447 if test -z "$haveit"; then
15448 rpathdirs
="$rpathdirs $found_dir"
15452 for x
in $LDFLAGS $LIBINTL; do
15454 acl_save_prefix
="$prefix"
15455 prefix
="$acl_final_prefix"
15456 acl_save_exec_prefix
="$exec_prefix"
15457 exec_prefix
="$acl_final_exec_prefix"
15459 exec_prefix
="$acl_save_exec_prefix"
15460 prefix
="$acl_save_prefix"
15462 if test "X$x" = "X-L$found_dir"; then
15467 if test -z "$haveit"; then
15468 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15470 if test "$hardcode_minus_L" != no
; then
15471 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15473 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15479 if test "X$found_a" != "X"; then
15480 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
15482 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15485 additional_includedir
=
15486 case "$found_dir" in
15487 */$acl_libdirstem |
*/$acl_libdirstem/)
15488 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15489 additional_includedir
="$basedir/include"
15492 if test "X$additional_includedir" != "X"; then
15493 if test "X$additional_includedir" != "X/usr/include"; then
15495 if test "X$additional_includedir" = "X/usr/local/include"; then
15496 if test -n "$GCC"; then
15498 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15502 if test -z "$haveit"; then
15503 for x
in $CPPFLAGS $INCINTL; do
15505 acl_save_prefix
="$prefix"
15506 prefix
="$acl_final_prefix"
15507 acl_save_exec_prefix
="$exec_prefix"
15508 exec_prefix
="$acl_final_exec_prefix"
15510 exec_prefix
="$acl_save_exec_prefix"
15511 prefix
="$acl_save_prefix"
15513 if test "X$x" = "X-I$additional_includedir"; then
15518 if test -z "$haveit"; then
15519 if test -d "$additional_includedir"; then
15520 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15526 if test -n "$found_la"; then
15527 save_libdir
="$libdir"
15528 case "$found_la" in
15529 */* |
*\\*) .
"$found_la" ;;
15530 *) .
"./$found_la" ;;
15532 libdir
="$save_libdir"
15533 for dep
in $dependency_libs; do
15536 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15537 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15539 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15540 if test -n "$GCC"; then
15542 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15546 if test -z "$haveit"; then
15548 for x
in $LDFLAGS $LIBINTL; do
15550 acl_save_prefix
="$prefix"
15551 prefix
="$acl_final_prefix"
15552 acl_save_exec_prefix
="$exec_prefix"
15553 exec_prefix
="$acl_final_exec_prefix"
15555 exec_prefix
="$acl_save_exec_prefix"
15556 prefix
="$acl_save_prefix"
15558 if test "X$x" = "X-L$additional_libdir"; then
15563 if test -z "$haveit"; then
15564 if test -d "$additional_libdir"; then
15565 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15569 for x
in $LDFLAGS $LTLIBINTL; do
15571 acl_save_prefix
="$prefix"
15572 prefix
="$acl_final_prefix"
15573 acl_save_exec_prefix
="$exec_prefix"
15574 exec_prefix
="$acl_final_exec_prefix"
15576 exec_prefix
="$acl_save_exec_prefix"
15577 prefix
="$acl_save_prefix"
15579 if test "X$x" = "X-L$additional_libdir"; then
15584 if test -z "$haveit"; then
15585 if test -d "$additional_libdir"; then
15586 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15593 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15594 if test "$enable_rpath" != no
; then
15596 for x
in $rpathdirs; do
15597 if test "X$x" = "X$dir"; then
15602 if test -z "$haveit"; then
15603 rpathdirs
="$rpathdirs $dir"
15606 for x
in $ltrpathdirs; do
15607 if test "X$x" = "X$dir"; then
15612 if test -z "$haveit"; then
15613 ltrpathdirs
="$ltrpathdirs $dir"
15618 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15621 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15624 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
15625 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15631 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15632 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15638 if test "X$rpathdirs" != "X"; then
15639 if test -n "$hardcode_libdir_separator"; then
15641 for found_dir
in $rpathdirs; do
15642 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15644 acl_save_libdir
="$libdir"
15646 eval flag
=\"$hardcode_libdir_flag_spec\"
15647 libdir
="$acl_save_libdir"
15648 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15650 for found_dir
in $rpathdirs; do
15651 acl_save_libdir
="$libdir"
15652 libdir
="$found_dir"
15653 eval flag
=\"$hardcode_libdir_flag_spec\"
15654 libdir
="$acl_save_libdir"
15655 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15659 if test "X$ltrpathdirs" != "X"; then
15660 for found_dir
in $ltrpathdirs; do
15661 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15666 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15667 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
15668 $as_echo_n "(cached) " >&6
15670 gt_save_CPPFLAGS
="$CPPFLAGS"
15671 CPPFLAGS
="$CPPFLAGS $INCINTL"
15672 gt_save_LIBS
="$LIBS"
15673 LIBS
="$LIBS $LIBINTL"
15674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15676 #include <libintl.h>
15677 $gt_revision_test_code
15678 extern int _nl_msg_cat_cntr;
15683 const char *_nl_expand_alias (const char *);
15687 bindtextdomain ("", "");
15688 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15693 if ac_fn_c_try_link
"$LINENO"; then :
15694 eval "$gt_func_gnugettext_libintl=yes"
15696 eval "$gt_func_gnugettext_libintl=no"
15698 rm -f core conftest.err conftest.
$ac_objext \
15699 conftest
$ac_exeext conftest.
$ac_ext
15700 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15701 LIBS
="$LIBS $LIBICONV"
15702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15704 #include <libintl.h>
15705 $gt_revision_test_code
15706 extern int _nl_msg_cat_cntr;
15711 const char *_nl_expand_alias (const char *);
15715 bindtextdomain ("", "");
15716 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15721 if ac_fn_c_try_link
"$LINENO"; then :
15722 LIBINTL
="$LIBINTL $LIBICONV"
15723 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
15724 eval "$gt_func_gnugettext_libintl=yes"
15727 rm -f core conftest.err conftest.
$ac_objext \
15728 conftest
$ac_exeext conftest.
$ac_ext
15730 CPPFLAGS
="$gt_save_CPPFLAGS"
15731 LIBS
="$gt_save_LIBS"
15733 eval ac_res
=\$
$gt_func_gnugettext_libintl
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15735 $as_echo "$ac_res" >&6; }
15738 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15739 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15740 && test "$PACKAGE" != gettext-runtime \
15741 && test "$PACKAGE" != gettext-tools
; }; then
15742 gt_use_preinstalled_gnugettext
=yes
15751 if test -n "$INTL_MACOSX_LIBS"; then
15752 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15753 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15754 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
15755 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
15759 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15760 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15762 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15770 $as_echo_n "checking whether to use NLS... " >&6; }
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15772 $as_echo "$USE_NLS" >&6; }
15773 if test "$USE_NLS" = "yes"; then
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15775 $as_echo_n "checking where the gettext function comes from... " >&6; }
15776 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15777 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15778 gt_source
="external libintl"
15783 gt_source
="included intl directory"
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15786 $as_echo "$gt_source" >&6; }
15789 if test "$USE_NLS" = "yes"; then
15791 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15792 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15794 $as_echo_n "checking how to link with libintl... " >&6; }
15795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15796 $as_echo "$LIBINTL" >&6; }
15798 for element
in $INCINTL; do
15800 for x
in $CPPFLAGS; do
15802 acl_save_prefix
="$prefix"
15803 prefix
="$acl_final_prefix"
15804 acl_save_exec_prefix
="$exec_prefix"
15805 exec_prefix
="$acl_final_exec_prefix"
15807 exec_prefix
="$acl_save_exec_prefix"
15808 prefix
="$acl_save_prefix"
15810 if test "X$x" = "X$element"; then
15815 if test -z "$haveit"; then
15816 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15823 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15826 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15835 INTLLIBS
="$LIBINTL"
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
15844 $as_echo_n "checking option: dmalloc enabled... " >&6; }
15845 # Check whether --enable-dmalloc was given.
15846 if test "${enable_dmalloc+set}" = set; then :
15847 enableval
=$enable_dmalloc;
15850 if test x
$enable_dmalloc = "xyes" ; then
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15852 $as_echo "yes" >&6; }
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15855 $as_echo "no" >&6; }
15859 # Check whether --with-dmalloc-dir was given.
15860 if test "${with_dmalloc_dir+set}" = set; then :
15861 withval
=$with_dmalloc_dir;
15862 if test "x$withval" != "xno" ; then
15863 enable_dmalloc
= "yes"
15864 CPPFLAGS
="$CPPFLAGS -I${withval}"
15865 LDFLAGS
="$LDFLAGS -L${withval}"
15871 if test x
$enable_dmalloc = "xyes" ; then
15873 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
15877 ALPINE_datestamp
=`date`
15879 # Check whether --with-date-stamp was given.
15880 if test "${with_date_stamp+set}" = set; then :
15881 withval
=$with_date_stamp;
15882 if test "x$withval" != "xno" ; then
15883 ALPINE_datestamp
=$withval
15888 ALPINE_DATESTAMP
=$ALPINE_datestamp
15891 ALPINE_hoststamp
=`hostname`
15893 # Check whether --with-host-stamp was given.
15894 if test "${with_host_stamp+set}" = set; then :
15895 withval
=$with_host_stamp;
15896 if test "x$withval" != "xno" ; then
15897 ALPINE_hoststamp
="$withval"
15902 ALPINE_HOSTSTAMP
=$ALPINE_hoststamp
15907 if test -d /opt
/local ; then
15908 localedir
="/opt/local/share/locale"
15910 localedir
="\${datadir}/locale"
15914 localedir
="/usr/share"
15917 localedir
="\${datadir}/locale"
15922 # Check whether --with-localedir was given.
15923 if test "${with_localedir+set}" = set; then :
15924 withval
=$with_localedir;
15937 localedir
="$localedir"
15940 # Setup OS-Specific features
15943 # Check whether --enable-osx-universal-binaries was given.
15944 if test "${enable_osx_universal_binaries+set}" = set; then :
15945 enableval
=$enable_osx_universal_binaries;
15948 if test "x$enable_osx_universal_binaries" = "xyes" ; then
15949 if test "x$enable_dependency_tracking" != xno
; then
15950 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
15951 Please re-run configure with these options:
15952 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
15954 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
15955 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
15956 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
15957 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
15959 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
15961 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
15962 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
15963 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
15964 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
15965 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
15966 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
15972 # Check whether --with-include-path was given.
15973 if test "${with_include_path+set}" = set; then :
15974 withval
=$with_include_path;
15981 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
15982 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
15983 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
15991 # Check whether --with-lib-path was given.
15992 if test "${with_lib_path+set}" = set; then :
15993 withval
=$with_lib_path;
16000 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
16001 LDFLAGS
="$LDFLAGS $new_ldflags"
16002 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
16010 # Check whether --with-pubcookie was given.
16011 if test "${with_pubcookie+set}" = set; then :
16012 withval
=$with_pubcookie;
16013 if test "x$withval" != "xno" ; then
16014 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
16022 # Check whether --with-web-bin was given.
16023 if test "${with_web_bin+set}" = set; then :
16024 withval
=$with_web_bin;
16031 WEB_BINDIR
=$withval
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
16039 $as_echo_n "checking option: debugging is enabled... " >&6; }
16040 # Check whether --enable-debug was given.
16041 if test "${enable_debug+set}" = set; then :
16042 enableval
=$enable_debug;
16045 if test x
$enable_debug != "xno" ; then
16046 AM_CFLAGS
="$AM_CFLAGS -g"
16048 $as_echo "#define DEBUG 1" >>confdefs.h
16051 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16054 $as_echo "yes" >&6; }
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16057 $as_echo "no" >&6; }
16060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
16061 $as_echo_n "checking option: optimization is enabled... " >&6; }
16062 # Check whether --enable-optimization was given.
16063 if test "${enable_optimization+set}" = set; then :
16064 enableval
=$enable_optimization;
16067 if test x
$enable_optimization != "xno" ; then
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16069 $as_echo "yes" >&6; }
16071 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
16072 alpine_c_client_gccoptlevel
="-O0"
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16074 $as_echo "no" >&6; }
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
16078 $as_echo_n "checking option: mouse support enabled... " >&6; }
16079 # Check whether --enable-mouse was given.
16080 if test "${enable_mouse+set}" = set; then :
16081 enableval
=$enable_mouse;
16084 if test x
$enable_mouse != "xno" ; then
16086 $as_echo "#define MOUSE /**/" >>confdefs.h
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16089 $as_echo "yes" >&6; }
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16092 $as_echo "no" >&6; }
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
16096 $as_echo_n "checking option: quotas enabled... " >&6; }
16097 # Check whether --enable-quotas was given.
16098 if test "${enable_quotas+set}" = set; then :
16099 enableval
=$enable_quotas;
16102 if test x
$enable_quotas = "xyes" ; then
16104 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16107 $as_echo "yes" >&6; }
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16110 $as_echo "no" >&6; }
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
16114 $as_echo_n "checking option: From changing enabled... " >&6; }
16115 # Check whether --enable-from_changing was given.
16116 if test "${enable_from_changing+set}" = set; then :
16117 enableval
=$enable_from_changing;
16120 if test x
$enable_from_changing != "xno" ; then
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16122 $as_echo "yes" >&6; }
16125 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16128 $as_echo "no" >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
16132 $as_echo_n "checking option: background post enabled... " >&6; }
16133 # Check whether --enable-background-post was given.
16134 if test "${enable_background_post+set}" = set; then :
16135 enableval
=$enable_background_post;
16138 if test x
$enable_background_post != "xno" ; then
16140 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16143 $as_echo "yes" >&6; }
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16146 $as_echo "no" >&6; }
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
16150 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
16151 # Check whether --enable-keyboard-lock was given.
16152 if test "${enable_keyboard_lock+set}" = set; then :
16153 enableval
=$enable_keyboard_lock;
16156 if test x
$enable_keyboard_lock != "xno" ; then
16158 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16161 $as_echo "yes" >&6; }
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16164 $as_echo "no" >&6; }
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
16168 $as_echo_n "checking option: from encoding enabled... " >&6; }
16169 # Check whether --enable-from-encoding was given.
16170 if test "${enable_from_encoding+set}" = set; then :
16171 enableval
=$enable_from_encoding;
16174 if test x
$enable_from_encoding = "xyes" ; then
16176 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16179 $as_echo "yes" >&6; }
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16182 $as_echo "no" >&6; }
16186 # Check whether --with-smtp-msa was given.
16187 if test "${with_smtp_msa+set}" = set; then :
16188 withval
=$with_smtp_msa;
16193 # Extract the first word of "sendmail", so it can be a program name with args.
16194 set dummy sendmail
; ac_word
=$2
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16196 $as_echo_n "checking for $ac_word... " >&6; }
16197 if ${ac_cv_path_SENDMAIL+:} false
; then :
16198 $as_echo_n "(cached) " >&6
16202 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
16205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16206 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16207 for as_dir
in $as_dummy
16210 test -z "$as_dir" && as_dir
=.
16211 for ac_exec_ext
in '' $ac_executable_extensions; do
16212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16213 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
16214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16221 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
16225 SENDMAIL
=$ac_cv_path_SENDMAIL
16226 if test -n "$SENDMAIL"; then
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
16228 $as_echo "$SENDMAIL" >&6; }
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16231 $as_echo "no" >&6; }
16243 # Extract the first word of "sendmail", so it can be a program name with args.
16244 set dummy sendmail
; ac_word
=$2
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16246 $as_echo_n "checking for $ac_word... " >&6; }
16247 if ${ac_cv_path_SENDMAIL+:} false
; then :
16248 $as_echo_n "(cached) " >&6
16252 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
16255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16256 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16257 for as_dir
in $as_dummy
16260 test -z "$as_dir" && as_dir
=.
16261 for ac_exec_ext
in '' $ac_executable_extensions; do
16262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16263 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
16264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16271 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
16275 SENDMAIL
=$ac_cv_path_SENDMAIL
16276 if test -n "$SENDMAIL"; then
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
16278 $as_echo "$SENDMAIL" >&6; }
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16281 $as_echo "no" >&6; }
16288 if test -n "$SENDMAIL" ; then
16290 cat >>confdefs.h
<<_ACEOF
16291 #define SENDMAIL "$SENDMAIL"
16296 smtp_msa_flags
="-bs -odb -oem"
16298 # Check whether --with-smtp-msa-flags was given.
16299 if test "${with_smtp_msa_flags+set}" = set; then :
16300 withval
=$with_smtp_msa_flags;
16301 if test "x$withval" != "xno" ; then
16302 smtp_msa_flags
=$withval
16308 cat >>confdefs.h
<<_ACEOF
16309 #define SENDMAILFLAGS "$smtp_msa_flags"
16315 # Check whether --with-npa was given.
16316 if test "${with_npa+set}" = set; then :
16322 # Extract the first word of "inews", so it can be a program name with args.
16323 set dummy inews
; ac_word
=$2
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16325 $as_echo_n "checking for $ac_word... " >&6; }
16326 if ${ac_cv_path_NPA_PROG+:} false
; then :
16327 $as_echo_n "(cached) " >&6
16331 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
16334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16335 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16336 for as_dir
in $as_dummy
16339 test -z "$as_dir" && as_dir
=.
16340 for ac_exec_ext
in '' $ac_executable_extensions; do
16341 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16342 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
16343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16350 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
16354 NPA_PROG
=$ac_cv_path_NPA_PROG
16355 if test -n "$NPA_PROG"; then
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
16357 $as_echo "$NPA_PROG" >&6; }
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16360 $as_echo "no" >&6; }
16372 # Extract the first word of "inews", so it can be a program name with args.
16373 set dummy inews
; ac_word
=$2
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16375 $as_echo_n "checking for $ac_word... " >&6; }
16376 if ${ac_cv_path_NPA_PROG+:} false
; then :
16377 $as_echo_n "(cached) " >&6
16381 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
16384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16385 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16386 for as_dir
in $as_dummy
16389 test -z "$as_dir" && as_dir
=.
16390 for ac_exec_ext
in '' $ac_executable_extensions; do
16391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16392 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
16393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16400 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
16404 NPA_PROG
=$ac_cv_path_NPA_PROG
16405 if test -n "$NPA_PROG"; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
16407 $as_echo "$NPA_PROG" >&6; }
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16410 $as_echo "no" >&6; }
16420 # Check whether --with-npa-flags was given.
16421 if test "${with_npa_flags+set}" = set; then :
16422 withval
=$with_npa_flags;
16423 if test "x$withval" != "xno" ; then
16429 if test -n "$NPA_PROG" ; then
16431 cat >>confdefs.h
<<_ACEOF
16432 #define SENDNEWS "$NPA_PROG $npa_flags"
16438 # Check whether --with-password-prog was given.
16439 if test "${with_password_prog+set}" = set; then :
16440 withval
=$with_password_prog;
16445 # Extract the first word of "passwd", so it can be a program name with args.
16446 set dummy passwd
; ac_word
=$2
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16448 $as_echo_n "checking for $ac_word... " >&6; }
16449 if ${ac_cv_path_PWPROG+:} false
; then :
16450 $as_echo_n "(cached) " >&6
16454 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16458 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16459 for as_dir
in $as_dummy
16462 test -z "$as_dir" && as_dir
=.
16463 for ac_exec_ext
in '' $ac_executable_extensions; do
16464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16465 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16473 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16477 PWPROG
=$ac_cv_path_PWPROG
16478 if test -n "$PWPROG"; then
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16480 $as_echo "$PWPROG" >&6; }
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16483 $as_echo "no" >&6; }
16489 # Extract the first word of "$withval", so it can be a program name with args.
16490 set dummy
$withval; ac_word
=$2
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16492 $as_echo_n "checking for $ac_word... " >&6; }
16493 if ${ac_cv_path_PWPROG+:} false
; then :
16494 $as_echo_n "(cached) " >&6
16498 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16502 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16503 for as_dir
in $as_dummy
16506 test -z "$as_dir" && as_dir
=.
16507 for ac_exec_ext
in '' $ac_executable_extensions; do
16508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16509 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16517 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16521 PWPROG
=$ac_cv_path_PWPROG
16522 if test -n "$PWPROG"; then
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16524 $as_echo "$PWPROG" >&6; }
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16527 $as_echo "no" >&6; }
16536 # Extract the first word of "passwd", so it can be a program name with args.
16537 set dummy passwd
; ac_word
=$2
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16539 $as_echo_n "checking for $ac_word... " >&6; }
16540 if ${ac_cv_path_PWPROG+:} false
; then :
16541 $as_echo_n "(cached) " >&6
16545 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16549 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16550 for as_dir
in $as_dummy
16553 test -z "$as_dir" && as_dir
=.
16554 for ac_exec_ext
in '' $ac_executable_extensions; do
16555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16556 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16564 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16568 PWPROG
=$ac_cv_path_PWPROG
16569 if test -n "$PWPROG"; then
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16571 $as_echo "$PWPROG" >&6; }
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16574 $as_echo "no" >&6; }
16581 if test -n "$PWPROG" ; then
16583 cat >>confdefs.h
<<_ACEOF
16584 #define PASSWD_PROG "$PWPROG"
16590 # Check whether --with-simple-spellcheck was given.
16591 if test "${with_simple_spellcheck+set}" = set; then :
16592 withval
=$with_simple_spellcheck;
16593 if test "x$withval" != "xno" ; then
16599 # Extract the first word of "hunspell", so it can be a program name with args.
16600 set dummy hunspell
; ac_word
=$2
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16602 $as_echo_n "checking for $ac_word... " >&6; }
16603 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16604 $as_echo_n "(cached) " >&6
16606 if test -n "$SPELLPROG"; then
16607 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16610 for as_dir
in $PATH
16613 test -z "$as_dir" && as_dir
=.
16614 for ac_exec_ext
in '' $ac_executable_extensions; do
16615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16616 ac_cv_prog_SPELLPROG
="hunspell"
16617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16626 SPELLPROG
=$ac_cv_prog_SPELLPROG
16627 if test -n "$SPELLPROG"; then
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16629 $as_echo "$SPELLPROG" >&6; }
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16632 $as_echo "no" >&6; }
16636 if test -z "$SPELLPROG" ; then
16637 # Extract the first word of "aspell", so it can be a program name with args.
16638 set dummy aspell
; ac_word
=$2
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16640 $as_echo_n "checking for $ac_word... " >&6; }
16641 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16642 $as_echo_n "(cached) " >&6
16644 if test -n "$SPELLPROG"; then
16645 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16648 for as_dir
in $PATH
16651 test -z "$as_dir" && as_dir
=.
16652 for ac_exec_ext
in '' $ac_executable_extensions; do
16653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16654 ac_cv_prog_SPELLPROG
="aspell"
16655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16664 SPELLPROG
=$ac_cv_prog_SPELLPROG
16665 if test -n "$SPELLPROG"; then
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16667 $as_echo "$SPELLPROG" >&6; }
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16670 $as_echo "no" >&6; }
16674 if test -z "$SPELLPROG" ; then
16675 # Extract the first word of "ispell", so it can be a program name with args.
16676 set dummy ispell
; ac_word
=$2
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16678 $as_echo_n "checking for $ac_word... " >&6; }
16679 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16680 $as_echo_n "(cached) " >&6
16682 if test -n "$SPELLPROG"; then
16683 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16686 for as_dir
in $PATH
16689 test -z "$as_dir" && as_dir
=.
16690 for ac_exec_ext
in '' $ac_executable_extensions; do
16691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16692 ac_cv_prog_SPELLPROG
="ispell"
16693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16702 SPELLPROG
=$ac_cv_prog_SPELLPROG
16703 if test -n "$SPELLPROG"; then
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16705 $as_echo "$SPELLPROG" >&6; }
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16708 $as_echo "no" >&6; }
16712 if test -z "$SPELLPROG" ; then
16721 if test "x$SPELLPROG" != "xno" ; then
16722 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
16723 set dummy
$SPELLPROG; ac_word
=$2
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16725 $as_echo_n "checking for $ac_word... " >&6; }
16726 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
16727 $as_echo_n "(cached) " >&6
16729 case $alpine_simple_spellcheck in
16731 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
16734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16735 for as_dir
in $PATH
16738 test -z "$as_dir" && as_dir
=.
16739 for ac_exec_ext
in '' $ac_executable_extensions; do
16740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16741 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16752 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
16753 if test -n "$alpine_simple_spellcheck"; then
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
16755 $as_echo "$alpine_simple_spellcheck" >&6; }
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16758 $as_echo "no" >&6; }
16762 if test -n "$alpine_simple_spellcheck" ; then
16763 case "$SPELLPROG" in
16765 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16768 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
16771 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16780 # Check whether --with-interactive-spellcheck was given.
16781 if test "${with_interactive_spellcheck+set}" = set; then :
16782 withval
=$with_interactive_spellcheck;
16783 if test "x$withval" != "xno" ; then
16784 ISPELLPROG
=$withval
16789 # Extract the first word of "hunspell", so it can be a program name with args.
16790 set dummy hunspell
; ac_word
=$2
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16792 $as_echo_n "checking for $ac_word... " >&6; }
16793 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16794 $as_echo_n "(cached) " >&6
16796 if test -n "$ISPELLPROG"; then
16797 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16800 for as_dir
in $PATH
16803 test -z "$as_dir" && as_dir
=.
16804 for ac_exec_ext
in '' $ac_executable_extensions; do
16805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16806 ac_cv_prog_ISPELLPROG
="hunspell"
16807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16816 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16817 if test -n "$ISPELLPROG"; then
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16819 $as_echo "$ISPELLPROG" >&6; }
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16822 $as_echo "no" >&6; }
16826 if test -z "$ISPELLPROG" ; then
16827 # Extract the first word of "aspell", so it can be a program name with args.
16828 set dummy aspell
; ac_word
=$2
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16830 $as_echo_n "checking for $ac_word... " >&6; }
16831 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16832 $as_echo_n "(cached) " >&6
16834 if test -n "$ISPELLPROG"; then
16835 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16838 for as_dir
in $PATH
16841 test -z "$as_dir" && as_dir
=.
16842 for ac_exec_ext
in '' $ac_executable_extensions; do
16843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16844 ac_cv_prog_ISPELLPROG
="aspell"
16845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16854 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16855 if test -n "$ISPELLPROG"; then
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16857 $as_echo "$ISPELLPROG" >&6; }
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16860 $as_echo "no" >&6; }
16864 if test -z "$SPELLPROG" ; then
16865 ISPELLPROG
="ispell"
16872 if test "x$ISPELLPROG" != "xno" ; then
16873 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
16874 set dummy
$ISPELLPROG; ac_word
=$2
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16876 $as_echo_n "checking for $ac_word... " >&6; }
16877 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
16878 $as_echo_n "(cached) " >&6
16880 case $alpine_interactive_spellcheck in
16882 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
16885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16886 for as_dir
in $PATH
16889 test -z "$as_dir" && as_dir
=.
16890 for ac_exec_ext
in '' $ac_executable_extensions; do
16891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16892 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16903 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
16904 if test -n "$alpine_interactive_spellcheck"; then
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
16906 $as_echo "$alpine_interactive_spellcheck" >&6; }
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16909 $as_echo "no" >&6; }
16913 if test -n "$alpine_interactive_spellcheck" ; then
16914 case "$ISPELLPROG" in
16916 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
16924 if test -n "$alpine_interactive_spellcheck" ; then
16926 cat >>confdefs.h
<<_ACEOF
16927 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
16932 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
16933 alpine_simple_spellcheck
=test
16936 cat >>confdefs.h
<<_ACEOF
16937 #define SPELLER "$alpine_simple_spellcheck"
16942 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
16943 *) dpv
=${prefix}/lib
/pine.conf
;;
16946 # Check whether --with-system-pinerc was given.
16947 if test "${with_system_pinerc+set}" = set; then :
16948 withval
=$with_system_pinerc;
16962 cat >>confdefs.h
<<_ACEOF
16963 #define SYSTEM_PINERC "$dpv"
16968 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
16969 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
16972 # Check whether --with-system-fixed-pinerc was given.
16973 if test "${with_system_fixed_pinerc+set}" = set; then :
16974 withval
=$with_system_fixed_pinerc;
16988 cat >>confdefs.h
<<_ACEOF
16989 #define SYSTEM_PINERC_FIXED "$dpv"
16994 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
16995 *) dpv
=${prefix}/lib
/pine.info
;;
16998 # Check whether --with-local-support-info was given.
16999 if test "${with_local_support_info+set}" = set; then :
17000 withval
=$with_local_support_info;
17014 cat >>confdefs.h
<<_ACEOF
17015 #define SYSTEM_PINE_INFO_PATH "$dpv"
17026 # Check whether --with-mailcheck-interval was given.
17027 if test "${with_mailcheck_interval+set}" = set; then :
17028 withval
=$with_mailcheck_interval;
17029 if test "x$withval" != "xno" ; then
17036 cat >>confdefs.h
<<_ACEOF
17037 #define DF_MAILCHECK "$dpv"
17044 # Check whether --with-checkpoint-interval was given.
17045 if test "${with_checkpoint_interval+set}" = set; then :
17046 withval
=$with_checkpoint_interval;
17047 if test "x$withval" != "xno" ; then
17054 cat >>confdefs.h
<<_ACEOF
17055 #define CHECK_POINT_TIME $dpv
17062 # Check whether --with-checkpoint-frequency was given.
17063 if test "${with_checkpoint_frequency+set}" = set; then :
17064 withval
=$with_checkpoint_frequency;
17065 if test "x$withval" != "xno" ; then
17072 cat >>confdefs.h
<<_ACEOF
17073 #define CHECK_POINT_FREQ $dpv
17080 # Check whether --with-display-rows was given.
17081 if test "${with_display_rows+set}" = set; then :
17082 withval
=$with_display_rows;
17083 if test "x$withval" != "xno" ; then
17090 cat >>confdefs.h
<<_ACEOF
17091 #define DEFAULT_LINES_ON_TERMINAL $dpv
17098 # Check whether --with-display-columns was given.
17099 if test "${with_display_columns+set}" = set; then :
17100 withval
=$with_display_columns;
17101 if test "x$withval" != "xno" ; then
17108 cat >>confdefs.h
<<_ACEOF
17109 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
17116 # Check whether --with-max-display-rows was given.
17117 if test "${with_max_display_rows+set}" = set; then :
17118 withval
=$with_max_display_rows;
17119 if test "x$withval" != "xno" ; then
17126 cat >>confdefs.h
<<_ACEOF
17127 #define MAX_SCREEN_ROWS $dpv
17134 # Check whether --with-max-display-columns was given.
17135 if test "${with_max_display_columns+set}" = set; then :
17136 withval
=$with_max_display_columns;
17137 if test "x$withval" != "xno" ; then
17144 cat >>confdefs.h
<<_ACEOF
17145 #define MAX_SCREEN_COLS $dpv
17152 # Check whether --with-fill-column was given.
17153 if test "${with_fill_column+set}" = set; then :
17154 withval
=$with_fill_column;
17155 if test "x$withval" != "xno" ; then
17162 cat >>confdefs.h
<<_ACEOF
17163 #define DF_FILLCOL "$dpv"
17170 # Check whether --with-max_fill-column was given.
17171 if test "${with_max_fill_column+set}" = set; then :
17172 withval
=$with_max_fill_column;
17173 if test "x$withval" != "xno" ; then
17180 cat >>confdefs.h
<<_ACEOF
17181 #define MAX_FILLCOL $dpv
17188 # Check whether --with-debug-level was given.
17189 if test "${with_debug_level+set}" = set; then :
17190 withval
=$with_debug_level;
17191 if test "x$withval" != "xno" ; then
17198 cat >>confdefs.h
<<_ACEOF
17199 #define DEFAULT_DEBUG $dpv
17206 # Check whether --with-debug-files was given.
17207 if test "${with_debug_files+set}" = set; then :
17208 withval
=$with_debug_files;
17209 if test "x$withval" != "xno" ; then
17216 cat >>confdefs.h
<<_ACEOF
17217 #define NUMDEBUGFILES $dpv
17224 # Check whether --with-debug-file was given.
17225 if test "${with_debug_file+set}" = set; then :
17226 withval
=$with_debug_file;
17227 if test "x$withval" != "xno" ; then
17234 cat >>confdefs.h
<<_ACEOF
17235 #define DEBUGFILE "$dpv"
17242 # Check whether --with-forwarded-keyword was given.
17243 if test "${with_forwarded_keyword+set}" = set; then :
17244 withval
=$with_forwarded_keyword;
17245 if test "x$withval" != "xno" ; then
17252 cat >>confdefs.h
<<_ACEOF
17253 #define FORWARDED_FLAG "$dpv"
17260 # Check whether --with-display-overlap was given.
17261 if test "${with_display_overlap+set}" = set; then :
17262 withval
=$with_display_overlap;
17263 if test "x$withval" != "xno" ; then
17270 cat >>confdefs.h
<<_ACEOF
17271 #define DF_OVERLAP "$dpv"
17278 # Check whether --with-display-margin was given.
17279 if test "${with_display_margin+set}" = set; then :
17280 withval
=$with_display_margin;
17281 if test "x$withval" != "xno" ; then
17288 cat >>confdefs.h
<<_ACEOF
17289 #define DF_MARGIN "$dpv"
17296 # Check whether --with-default-fcc was given.
17297 if test "${with_default_fcc+set}" = set; then :
17298 withval
=$with_default_fcc;
17299 if test "x$withval" != "xno" ; then
17306 cat >>confdefs.h
<<_ACEOF
17307 #define DF_DEFAULT_FCC "$dpv"
17314 # Check whether --with-default-save-folder was given.
17315 if test "${with_default_save_folder+set}" = set; then :
17316 withval
=$with_default_save_folder;
17317 if test "x$withval" != "xno" ; then
17324 cat >>confdefs.h
<<_ACEOF
17325 #define DEFAULT_SAVE "$dpv"
17332 # Check whether --with-default-legacy-postponed-folder was given.
17333 if test "${with_default_legacy_postponed_folder+set}" = set; then :
17334 withval
=$with_default_legacy_postponed_folder;
17335 if test "x$withval" != "xno" ; then
17342 cat >>confdefs.h
<<_ACEOF
17343 #define POSTPONED_MAIL "$dpv"
17350 # Check whether --with-default-postponed-folder was given.
17351 if test "${with_default_postponed_folder+set}" = set; then :
17352 withval
=$with_default_postponed_folder;
17353 if test "x$withval" != "xno" ; then
17360 cat >>confdefs.h
<<_ACEOF
17361 #define POSTPONED_MSGS "$dpv"
17368 # Check whether --with-default-trash-folder was given.
17369 if test "${with_default_trash_folder+set}" = set; then :
17370 withval
=$with_default_trash_folder;
17371 if test "x$withval" != "xno" ; then
17378 cat >>confdefs.h
<<_ACEOF
17379 #define TRASH_FOLDER "$dpv"
17384 dpv
=.pine-interrupted-mail
17386 # Check whether --with-default-interrupted-mail was given.
17387 if test "${with_default_interrupted_mail+set}" = set; then :
17388 withval
=$with_default_interrupted_mail;
17389 if test "x$withval" != "xno" ; then
17396 cat >>confdefs.h
<<_ACEOF
17397 #define INTERRUPTED_MAIL "$dpv"
17404 # Check whether --with-default-dead-letter-folder was given.
17405 if test "${with_default_dead_letter_folder+set}" = set; then :
17406 withval
=$with_default_dead_letter_folder;
17407 if test "x$withval" != "xno" ; then
17414 cat >>confdefs.h
<<_ACEOF
17415 #define DEADLETTER "$dpv"
17422 # Check whether --with-default-mail-directory was given.
17423 if test "${with_default_mail_directory+set}" = set; then :
17424 withval
=$with_default_mail_directory;
17425 if test "x$withval" != "xno" ; then
17432 cat >>confdefs.h
<<_ACEOF
17433 #define DF_MAIL_DIRECTORY "$dpv"
17440 # Check whether --with-default-inbox-name was given.
17441 if test "${with_default_inbox_name+set}" = set; then :
17442 withval
=$with_default_inbox_name;
17443 if test "x$withval" != "xno" ; then
17450 cat >>confdefs.h
<<_ACEOF
17451 #define INBOX_NAME "$dpv"
17458 # Check whether --with-default-signature-file was given.
17459 if test "${with_default_signature_file+set}" = set; then :
17460 withval
=$with_default_signature_file;
17461 if test "x$withval" != "xno" ; then
17468 cat >>confdefs.h
<<_ACEOF
17469 #define DF_SIGNATURE_FILE "$dpv"
17476 # Check whether --with-default-elm-style-save was given.
17477 if test "${with_default_elm_style_save+set}" = set; then :
17478 withval
=$with_default_elm_style_save;
17479 if test "x$withval" != "xno" ; then
17486 cat >>confdefs.h
<<_ACEOF
17487 #define DF_ELM_STYLE_SAVE "$dpv"
17494 # Check whether --with-default-header-in-reply was given.
17495 if test "${with_default_header_in_reply+set}" = set; then :
17496 withval
=$with_default_header_in_reply;
17497 if test "x$withval" != "xno" ; then
17504 cat >>confdefs.h
<<_ACEOF
17505 #define DF_HEADER_IN_REPLY "$dpv"
17512 # Check whether --with-default-old-style-reply was given.
17513 if test "${with_default_old_style_reply+set}" = set; then :
17514 withval
=$with_default_old_style_reply;
17515 if test "x$withval" != "xno" ; then
17522 cat >>confdefs.h
<<_ACEOF
17523 #define DF_OLD_STYLE_REPLY "$dpv"
17530 # Check whether --with-default-use-only-domain-name was given.
17531 if test "${with_default_use_only_domain_name+set}" = set; then :
17532 withval
=$with_default_use_only_domain_name;
17533 if test "x$withval" != "xno" ; then
17540 cat >>confdefs.h
<<_ACEOF
17541 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
17548 # Check whether --with-default-save-by-sender was given.
17549 if test "${with_default_save_by_sender+set}" = set; then :
17550 withval
=$with_default_save_by_sender;
17551 if test "x$withval" != "xno" ; then
17558 cat >>confdefs.h
<<_ACEOF
17559 #define DF_SAVE_BY_SENDER "$dpv"
17566 # Check whether --with-default-sort-key was given.
17567 if test "${with_default_sort_key+set}" = set; then :
17568 withval
=$with_default_sort_key;
17569 if test "x$withval" != "xno" ; then
17576 cat >>confdefs.h
<<_ACEOF
17577 #define DF_SORT_KEY "$dpv"
17582 dpv
=fullname-with-lists-last
17584 # Check whether --with-default-addressbook-sort-rule was given.
17585 if test "${with_default_addressbook_sort_rule+set}" = set; then :
17586 withval
=$with_default_addressbook_sort_rule;
17587 if test "x$withval" != "xno" ; then
17594 cat >>confdefs.h
<<_ACEOF
17595 #define DF_AB_SORT_RULE "$dpv"
17602 # Check whether --with-default-folder-sort-rule was given.
17603 if test "${with_default_folder_sort_rule+set}" = set; then :
17604 withval
=$with_default_folder_sort_rule;
17605 if test "x$withval" != "xno" ; then
17612 cat >>confdefs.h
<<_ACEOF
17613 #define DF_FLD_SORT_RULE "$dpv"
17620 # Check whether --with-default-saved-message-name-rule was given.
17621 if test "${with_default_saved_message_name_rule+set}" = set; then :
17622 withval
=$with_default_saved_message_name_rule;
17623 if test "x$withval" != "xno" ; then
17630 cat >>confdefs.h
<<_ACEOF
17631 #define DF_SAVED_MSG_NAME_RULE "$dpv"
17638 # Check whether --with-default-fcc-rule was given.
17639 if test "${with_default_fcc_rule+set}" = set; then :
17640 withval
=$with_default_fcc_rule;
17641 if test "x$withval" != "xno" ; then
17648 cat >>confdefs.h
<<_ACEOF
17649 #define DF_FCC_RULE "$dpv"
17656 # Check whether --with-default-standard-printer was given.
17657 if test "${with_default_standard_printer+set}" = set; then :
17658 withval
=$with_default_standard_printer;
17659 if test "x$withval" != "xno" ; then
17666 cat >>confdefs.h
<<_ACEOF
17667 #define DF_STANDARD_PRINTER "$dpv"
17672 dpv
=attached-to-ansi
17674 # Check whether --with-default-ansi-printer was given.
17675 if test "${with_default_ansi_printer+set}" = set; then :
17676 withval
=$with_default_ansi_printer;
17677 if test "x$withval" != "xno" ; then
17684 cat >>confdefs.h
<<_ACEOF
17685 #define ANSI_PRINTER "$dpv"
17692 # Check whether --with-default-addressbook was given.
17693 if test "${with_default_addressbook+set}" = set; then :
17694 withval
=$with_default_addressbook;
17695 if test "x$withval" != "xno" ; then
17702 cat >>confdefs.h
<<_ACEOF
17703 #define DF_ADDRESSBOOK "$dpv"
17708 dpv
="Local Support"
17710 # Check whether --with-default-local-fullname was given.
17711 if test "${with_default_local_fullname+set}" = set; then :
17712 withval
=$with_default_local_fullname;
17713 if test "x$withval" != "xno" ; then
17720 cat >>confdefs.h
<<_ACEOF
17721 #define DF_LOCAL_FULLNAME "$dpv"
17728 # Check whether --with-default-local-address was given.
17729 if test "${with_default_local_address+set}" = set; then :
17730 withval
=$with_default_local_address;
17731 if test "x$withval" != "xno" ; then
17738 cat >>confdefs.h
<<_ACEOF
17739 #define DF_LOCAL_ADDRESS "$dpv"
17746 # Check whether --with-default-keyboard-lock-count was given.
17747 if test "${with_default_keyboard_lock_count+set}" = set; then :
17748 withval
=$with_default_keyboard_lock_count;
17749 if test "x$withval" != "xno" ; then
17756 cat >>confdefs.h
<<_ACEOF
17757 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
17764 # Check whether --with-default-remote-addressbook-history was given.
17765 if test "${with_default_remote_addressbook_history+set}" = set; then :
17766 withval
=$with_default_remote_addressbook_history;
17767 if test "x$withval" != "xno" ; then
17774 cat >>confdefs.h
<<_ACEOF
17775 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
17782 # Check whether --with-html-messages-directory was given.
17783 if test "${with_html_messages_directory+set}" = set; then :
17784 withval
=$with_html_messages_directory;
17785 if test "x$withval" != "xno" ; then
17792 cat >>confdefs.h
<<_ACEOF
17793 #define DF_HTML_DIRECTORY "$dpv"
17798 dpv
=.alpine-smime
/public
17800 # Check whether --with-smime-public-cert-directory was given.
17801 if test "${with_smime_public_cert_directory+set}" = set; then :
17802 withval
=$with_smime_public_cert_directory;
17803 if test "x$withval" != "xno" ; then
17810 cat >>confdefs.h
<<_ACEOF
17811 #define DF_PUBLICCERT_DIR "$dpv"
17816 dpv
=.alpine-smime
/private
17818 # Check whether --with-smime-private-key-directory was given.
17819 if test "${with_smime_private_key_directory+set}" = set; then :
17820 withval
=$with_smime_private_key_directory;
17821 if test "x$withval" != "xno" ; then
17828 cat >>confdefs.h
<<_ACEOF
17829 #define DF_PRIVATEKEY_DIR "$dpv"
17834 dpv
=.alpine-smime
/ca
17836 # Check whether --with-smime-cacert-directory was given.
17837 if test "${with_smime_cacert_directory+set}" = set; then :
17838 withval
=$with_smime_cacert_directory;
17839 if test "x$withval" != "xno" ; then
17846 cat >>confdefs.h
<<_ACEOF
17847 #define DF_CACERT_DIR "$dpv"
17854 # Check whether --with-default-printer was given.
17855 if test "${with_default_printer+set}" = set; then :
17856 withval
=$with_default_printer;
17857 if test "x$withval" != "xno" ; then
17864 cat >>confdefs.h
<<_ACEOF
17865 #define DF_DEFAULT_PRINTER $dpv
17871 cat >>confdefs.h
<<_ACEOF
17872 #define DF_PUBLIC_CONTAINER "PublicContainer"
17876 cat >>confdefs.h
<<_ACEOF
17877 #define DF_PRIVATE_CONTAINER "PrivateContainer"
17881 cat >>confdefs.h
<<_ACEOF
17882 #define DF_CA_CONTAINER "CAContainer"
17887 # Check whether --with-passfile was given.
17888 if test "${with_passfile+set}" = set; then :
17889 withval
=$with_passfile;
17896 alpine_PASSFILE
=$withval
17905 # Check whether --with-local-password-cache was given.
17906 if test "${with_local_password_cache+set}" = set; then :
17907 withval
=$with_local_password_cache;
17908 alpine_os_credential_cache
=$withval
17914 # Check whether --with-local-password-cache-method was given.
17915 if test "${with_local_password_cache_method+set}" = set; then :
17916 withval
=$with_local_password_cache_method;
17917 alpine_os_credential_cache_method
=$withval
17922 if test -n "$alpine_PASSFILE" ; then
17923 case $alpine_os_credential_cache in
17927 alpine_os_credential_cache
="no"
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
17929 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
17933 cat >>confdefs.h
<<_ACEOF
17934 #define PASSFILE "$alpine_PASSFILE"
17940 # Check whether --with-default-sshpath was given.
17941 if test "${with_default_sshpath+set}" = set; then :
17942 withval
=$with_default_sshpath;
17950 cat >>confdefs.h
<<_ACEOF
17951 #define DF_SSHPATH "$withval"
17961 # Check whether --with-default-sshcmd was given.
17962 if test "${with_default_sshcmd+set}" = set; then :
17963 withval
=$with_default_sshcmd;
17971 cat >>confdefs.h
<<_ACEOF
17972 #define DF_SSHCMD "$withval"
17982 # Check whether --with-ssl was given.
17983 if test "${with_ssl+set}" = set; then :
17984 withval
=$with_ssl; with_ssl
=$withval
17988 if test "x$with_ssl" = "xno" ; then
17989 alpine_SSLTYPE
="none"
17990 elif test -d /usr
/local
/ssl
; then
17991 alpine_SSLDIR
="/usr/local/ssl"
17992 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17993 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17996 *-linux*|
*-k*bsd
*-gnu*|
*-gnu*)
17997 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17998 alpine_SSLTYPE
="nopwd"
17999 if test -d /etc
/pki
/tls
; then
18000 alpine_SSLDIR
="/etc/pki/tls"
18002 alpine_SSLDIR
="/usr/share/ssl"
18004 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18005 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18006 alpine_SSLINCLUDE
="/usr/include/openssl"
18007 alpine_SSLLIB
="/usr/lib"
18008 elif test -f /etc
/mandrake-release
; then
18009 alpine_SSLDIR
="/usr/lib/ssl"
18010 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18011 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18012 alpine_SSLINCLUDE
="/usr/include/openssl"
18013 alpine_SSLLIB
="/usr/lib"
18014 elif test -f /etc
/SuSE-release
; then
18015 alpine_SSLTYPE
="nopwd"
18016 alpine_SSLDIR
="/etc/ssl"
18017 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18018 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18019 alpine_SSLINCLUDE
="/usr/include/openssl"
18020 alpine_SSLLIB
="/usr/lib"
18021 elif test -d /etc
/osso-af-init
; then
18022 alpine_SSLTYPE
="nopwd"
18023 alpine_SSLDIR
="/usr"
18024 alpine_SSLCERTS
="/usr/share/certs"
18025 alpine_SSLINCLUDE
="/usr/include/openssl"
18026 alpine_SSLLIB
="/usr/lib"
18027 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
18028 if test ! -d /etc
/osso-af-init
; then
18029 alpine_SSLDIR
="/etc/ssl"
18030 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18031 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18032 alpine_SSLINCLUDE
="/usr/include/openssl"
18033 alpine_SSLLIB
="/usr/lib"
18035 elif test -f /etc
/manjaro-release
; then
18036 alpine_SSLDIR
="/etc/ssl"
18037 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18038 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18039 alpine_SSLINCLUDE
="/usr/include/openssl"
18040 alpine_SSLLIB
="/usr/lib"
18042 alpine_SSLTYPE
="nopwd"
18043 alpine_SSLDIR
="/usr"
18044 alpine_SSLCERTS
="/etc/ssl/certs"
18048 alpine_SSLTYPE
="nopwd"
18049 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
18050 if test -d /usr
/local
/opt
/openssl
; then
18051 alpine_SSLDIR
="/usr/local/opt/openssl"
18052 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18053 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18054 alpine_SSLCERTS
="/usr/local/etc/openssl"
18055 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18056 elif test -d /opt
/local
/etc
/openssl
; then
18057 alpine_SSLDIR
="/opt/local"
18058 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18059 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18060 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
18061 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
18062 elif test -d /sw
/etc
/ssl
; then
18063 alpine_SSLDIR
="/sw/etc/ssl"
18064 alpine_SSLINCLUDE
="/sw/include"
18065 alpine_SSLLIB
="/sw/lib"
18066 alpine_SSLCERTS
="/sw/etc/ssl/certs"
18067 alpine_SSLKEYS
="/sw/etc/ssl/private"
18068 elif test -d /usr
/local
/ssl
; then
18069 alpine_SSLDIR
="/usr/local/ssl"
18070 elif test -d /System
/Library
/OpenSSL
; then
18071 alpine_SSLDIR
="/System/Library/OpenSSL"
18072 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18073 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18074 alpine_SSLLIB
="/usr/lib"
18075 alpine_SSLINCLUDE
="/usr/include/openssl"
18079 alpine_SSLDIR
="/etc/openssl"
18080 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18081 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18082 alpine_SSLINCLUDE
="/usr/include/openssl"
18083 alpine_SSLLIB
="/usr/lib"
18086 alpine_SSLDIR
="/etc/openssl"
18087 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18088 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18089 alpine_SSLINCLUDE
="/usr/include/openssl"
18090 alpine_SSLLIB
="/usr/lib"
18093 alpine_SSLTYPE
="nopwd"
18094 alpine_SSLDIR
="/usr"
18095 alpine_SSLCERTS
="/etc/ssl/certs"
18098 alpine_SSLDIR
="/etc/ssl"
18099 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18100 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18101 if test -d /usr
/local
/include
/openssl
; then
18102 alpine_SSLINCLUDE
="/usr/local/include/openssl"
18103 alpine_SSLLIB
="/usr/local/lib"
18105 alpine_SSLINCLUDE
="/usr/include/openssl"
18106 alpine_SSLLIB
="/usr/lib"
18110 alpine_SSLDIR
="/etc/ssl"
18111 alpine_SSLINCLUDE
="/usr/include/openssl"
18112 alpine_SSLLIB
="/usr/lib"
18113 alpine_SSLCERTS
="/etc/ssl"
18114 alpine_SSLKEYS
="/etc/ssl/private"
18117 alpine_SSLDIR
="/usr/ssl"
18118 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18119 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
18120 alpine_SSLINCLUDE
="/usr/include/openssl"
18121 alpine_SSLLIB
="/usr/lib"
18123 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
18124 alpine_SSLTYPE
="sco.nopwd"
18125 alpine_SSLDIR
="/usr/local/ssl"
18128 if test -d /usr
/include
/openssl
; then
18129 alpine_SSLINCLUDE
="/usr/include/openssl"
18130 elif test -d /usr
/sfw
/include
/openssl
; then
18131 alpine_SSLDIR
="/usr/sfw"
18132 elif test -d /opt
/csw
/include
/openssl
; then
18133 alpine_SSLDIR
="/opt/csw"
18134 if test -d /opt
/csw
/ssl
/certs
; then
18135 alpine_SSLCERTS
="/opt/csw/ssl/certs"
18138 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
18139 alpine_SSLCERTS
="/etc/certs"
18143 alpine_SSLTYPE
="nopwd"
18144 alpine_SSLDIR
="/usr/local/ssl"
18149 if test "x$alpine_SSLTYPE" != "xnone" ; then
18151 # Check whether --with-ssl-dir was given.
18152 if test "${with_ssl_dir+set}" = set; then :
18153 withval
=$with_ssl_dir;
18154 if test "x$withval" != "xno" ; then
18155 alpine_SSLDIR
=$withval
18156 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
18157 alpine_SSLLIB
=$alpine_SSLDIR/lib
18164 # Check whether --with-ssl-certs-dir was given.
18165 if test "${with_ssl_certs_dir+set}" = set; then :
18166 withval
=$with_ssl_certs_dir;
18167 if test "x$withval" != "xno" ; then
18168 alpine_SSLCERTS
=$withval
18175 # Check whether --with-ssl-include-dir was given.
18176 if test "${with_ssl_include_dir+set}" = set; then :
18177 withval
=$with_ssl_include_dir;
18178 if test "x$withval" != "xno" ; then
18179 alpine_SSLINCLUDE
=$withval
18186 # Check whether --with-ssl-lib-dir was given.
18187 if test "${with_ssl_lib_dir+set}" = set; then :
18188 withval
=$with_ssl_lib_dir;
18189 if test "x$withval" != "xno" ; then
18190 alpine_SSLLIB
=$withval
18196 if test -n "$alpine_SSLINCLUDE" ; then
18197 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
18198 elif test -n "$alpine_SSLDIR" ; then
18199 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
18201 if test -n "$alpine_SSLLIB" ; then
18202 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
18203 elif test -n "$alpine_SSLDIR" ; then
18204 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
18208 if test "x$alpine_SSLTYPE" != "xnone" ; then
18209 alpine_default_SSLMIN
="no_min"
18210 alpine_default_SSLMAX
="no_max"
18211 alpine_default_RANGE
="${alpine_default_SSLMIN},${alpine_default_SSLMAX}"
18212 alpine_ENCRYPTION
="$alpine_default_SSLMIN ssl3 tls1 tls1_1 tls1_2 tls1_3 $alpine_default_SSLMAX"
18213 alpine_SSLMIN
="$alpine_default_SSLMIN"
18214 alpine_SSLMAX
="$alpine_default_SSLMAX"
18215 alpine_RANGE
="$alpine_default_RANGE"
18217 # Check whether --with-encryption-minimum-version was given.
18218 if test "${with_encryption_minimum_version+set}" = set; then :
18219 withval
=$with_encryption_minimum_version;
18220 if test "x$withval" != "xno" ; then
18221 alpine_SSLMIN
=$withval
18227 # Check whether --with-encryption-maximum-version was given.
18228 if test "${with_encryption_maximum_version+set}" = set; then :
18229 withval
=$with_encryption_maximum_version;
18230 if test "x$withval" != "xno" ; then
18231 alpine_SSLMAX
=$withval
18236 alpine_RANGE
="$alpine_SSLMIN $alpine_SSLMAX"
18237 for range
in ${alpine_RANGE} ; do
18238 for encryption
in ${alpine_ENCRYPTION} ; do
18239 if test "x$range" = "x$encryption" ; then
18240 if test -z $alpine_min ; then
18249 if test -z $alpine_max ; then
18250 as_fn_error $?
"Unrecognized maximum encryption version: $alpine_max" "$LINENO" 5
18253 if test -z $alpine_min ; then
18254 as_fn_error $?
"Unrecognized minimum encryption version: $alpine_min" "$LINENO" 5
18257 if test "x$alpine_SSLMIN" != "x$alpine_SSLMAX" ; then
18258 alpine_RANGE_FEASIBLE
=`echo "$alpine_ENCRYPTION" | sed "s/^.*$alpine_SSLMIN//" | grep "$alpine_SSLMAX"`
18259 if test -n "$alpine_RANGE_FEASIBLE" ; then
18260 alpine_RANGE
="${alpine_SSLMIN},${alpine_SSLMAX}"
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Reversing order of minimum and maximum encryption" >&5
18263 $as_echo "$as_me: WARNING: Reversing order of minimum and maximum encryption" >&2;}
18264 alpine_RANGE
="${alpine_SSLMAX},${alpine_SSLMIN}"
18267 if test "x$alpine_SSLMIN" = "x$alpine_default_SSLMIN" ; then
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Overriding maximum encryption to default" >&5
18269 $as_echo "$as_me: WARNING: Overriding maximum encryption to default" >&2;}
18270 alpine_SSLMAX
="$alpine_default_SSLMAX"
18272 if test "x$alpine_SSLMAX" = "x$alpine_default_SSLMAX" ; then
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Overriding minimum encryption to default" >&5
18274 $as_echo "$as_me: WARNING: Overriding minimum encryption to default" >&2;}
18275 alpine_SSLMIN
="$alpine_default_SSLMIN"
18277 alpine_RANGE
="${alpine_SSLMIN},${alpine_SSLMAX}"
18282 # Check whether --with-encryption-range was given.
18283 if test "${with_encryption_range+set}" = set; then :
18284 withval
=$with_encryption_range;
18285 if test "x$withval" != "xno" ; then
18292 cat >>confdefs.h
<<_ACEOF
18293 #define DF_ENCRYPTION_RANGE "$dpv"
18300 # Check whether --with-krb5 was given.
18301 if test "${with_krb5+set}" = set; then :
18302 withval
=$with_krb5; with_krb5
=$withval
18306 if test "x$with_krb5" = "xno" ; then
18307 alpine_GSSTYPE
="none"
18312 # Check whether --with-krb5-dir was given.
18313 if test "${with_krb5_dir+set}" = set; then :
18314 withval
=$with_krb5_dir;
18315 if test "x$withval" != "xno" ; then
18316 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
18317 LDFLAGS
="$LDFLAGS -L${withval}/lib"
18324 # Check whether --with-krb5-include-dir was given.
18325 if test "${with_krb5_include_dir+set}" = set; then :
18326 withval
=$with_krb5_include_dir;
18327 if test "x$withval" != "xno" ; then
18328 CPPFLAGS
="$CPPFLAGS -I$withval"
18335 # Check whether --with-krb5-lib-dir was given.
18336 if test "${with_krb5_lib_dir+set}" = set; then :
18337 withval
=$with_krb5_lib_dir;
18338 if test "x$withval" != "xno" ; then
18339 LDFLAGS
="$LDFLAGS -L$withval"
18347 # Check whether --with-ldap was given.
18348 if test "${with_ldap+set}" = set; then :
18349 withval
=$with_ldap; with_ldap
=$withval
18353 if test "x$with_ldap" = "xno" ; then
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
18356 $as_echo "$as_me: Excluding LDAP Support" >&6;}
18361 alpine_LDAPDIR
="/usr/local"
18362 alpine_LDAPINCLUDE
="${alpine_LDAPDIR}/include"
18363 alpine_LDAPLIB
="${alpine_LDAPDIR}/lib"
18367 alpine_with_ldap
=yes
18370 # Check whether --with-ldap-dir was given.
18371 if test "${with_ldap_dir+set}" = set; then :
18372 withval
=$with_ldap_dir;
18373 if test "x$withval" != "xno" ; then
18374 alpine_LDAPDIR
="${withval}"
18375 alpine_LDAPINCLUDE
="${alpine_LDAPDIR}/include"
18376 alpine_LDAPLIB
="${alpine_LDAPDIR}/lib"
18383 # Check whether --with-ldap-include-dir was given.
18384 if test "${with_ldap_include_dir+set}" = set; then :
18385 withval
=$with_ldap_include_dir;
18386 if test "x$withval" != "xno" ; then
18387 alpine_LDAPINCLUDE
="$withval"
18394 # Check whether --with-ldap-lib-dir was given.
18395 if test "${with_ldap_lib_dir+set}" = set; then :
18396 withval
=$with_ldap_lib_dir;
18397 if test "x$withval" != "xno" ; then
18398 alpine_LDAPLIB
="${withval}"
18404 if test -n "$alpine_LDAPINCLUDE" ; then
18405 CPPFLAGS
="$CPPFLAGS -I${alpine_LDAPINCLUDE}/include"
18407 if test -n "$alpine_LDAPLIB" ; then
18408 LDFLAGS
="$LDFLAGS -L${alpine_LDAPLIB}/lib"
18413 # Check whether --with-smime was given.
18414 if test "${with_smime+set}" = set; then :
18415 withval
=$with_smime; with_smime
=$withval
18420 # Check whether --with-tcl was given.
18421 if test "${with_tcl+set}" = set; then :
18422 withval
=$with_tcl; with_tcl
=$withval
18426 if test "x$with_tcl" = "xno" ; then
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
18429 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
18432 # Check whether --with-tcl-lib-dir was given.
18433 if test "${with_tcl_lib_dir+set}" = set; then :
18434 withval
=$with_tcl_lib_dir;
18435 if test "x$withval" != "xno" ; then
18436 alpine_TCLLIBDIR
=$withval
18437 if test -n "$alpine_TCLLIBDIR" ; then
18438 LDFLAGS
="-L$alpine_TCLLIBDIR $LDFLAGS"
18445 # Check whether --with-tcl-lib was given.
18446 if test "${with_tcl_lib+set}" = set; then :
18447 withval
=$with_tcl_lib;
18448 if test "x$withval" != "xno" ; then
18449 alpine_TCLLIB
=$withval
18455 # Check whether --with-tcl-include was given.
18456 if test "${with_tcl_include+set}" = set; then :
18457 withval
=$with_tcl_include;
18458 if test "x$withval" != "xno" ; then
18459 CPPFLAGS
="$CPPFLAGS -I$withval"
18460 alpine_TCLINC
=$withval
18468 # Check whether --with-supplied-regex was given.
18469 if test "${with_supplied_regex+set}" = set; then :
18470 withval
=$with_supplied_regex; alpine_REGEX
=$withval
18475 # Check whether --with-pthread was given.
18476 if test "${with_pthread+set}" = set; then :
18477 withval
=$with_pthread; with_pthread
=$withval
18482 # Check whether --with-system-mail-directory was given.
18483 if test "${with_system_mail_directory+set}" = set; then :
18484 withval
=$with_system_mail_directory;
18485 if test "x$withval" != "xno" ; then
18486 alpine_with_local_maildir
="$withval"
18493 # Check whether --with-c-client-target was given.
18494 if test "${with_c_client_target+set}" = set; then :
18495 withval
=$with_c_client_target;
18496 if test "x$withval" != "xno" ;then
18497 alpine_with_c_client_target
="$withval"
18504 alpine_c_client_bundled
="no"
18506 # Check whether --with-bundled-tools was given.
18507 if test "${with_bundled_tools+set}" = set; then :
18508 withval
=$with_bundled_tools;
18509 if test "x$withval" = "xyes" ; then
18510 alpine_c_client_bundled
=""
18519 *-linux*|
*-k*bsd
*-gnu*|
*-gnu*)
18520 alpine_path_delim
="/"
18521 alpine_mode_readonly
="(0600)"
18522 if test -f /etc
/fedora-release
; then
18525 if test -d /etc
/pki
/tls
; then
18526 alpine_c_client_target
="lfd"
18528 alpine_c_client_target
="lrh"
18530 elif test -f /etc
/mandrake-release
; then
18532 alpine_c_client_target
="lmd"
18534 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
18537 if test -d /etc
/pki
/tls
; then
18538 alpine_c_client_target
="lr5"
18540 alpine_c_client_target
="lrh"
18542 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
18543 if test -d /etc
/osso-af-init
; then
18545 alpine_c_client_target
="ln8"
18548 alpine_c_client_target
="ldb"
18551 elif test -f /etc
/SuSE-release
; then
18553 alpine_c_client_target
="lsu"
18557 if test -z "$alpine_c_client_bundled" ; then
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for am_start in -lpam" >&5
18559 $as_echo_n "checking for am_start in -lpam... " >&6; }
18560 if ${ac_cv_lib_pam_am_start+:} false
; then :
18561 $as_echo_n "(cached) " >&6
18563 ac_check_lib_save_LIBS
=$LIBS
18565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18568 /* Override any GCC internal prototype to avoid an error.
18569 Use char because int might match the return type of a GCC
18570 builtin and then its argument prototype would still apply. */
18578 return am_start ();
18583 if ac_fn_c_try_link
"$LINENO"; then :
18584 ac_cv_lib_pam_am_start
=yes
18586 ac_cv_lib_pam_am_start
=no
18588 rm -f core conftest.err conftest.
$ac_objext \
18589 conftest
$ac_exeext conftest.
$ac_ext
18590 LIBS
=$ac_check_lib_save_LIBS
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_am_start" >&5
18593 $as_echo "$ac_cv_lib_pam_am_start" >&6; }
18594 if test "x$ac_cv_lib_pam_am_start" = xyes
; then :
18596 alpine_c_client_target
="lnp"
18601 if test -f /etc
/shadow
; then
18602 alpine_c_client_target
="slx"
18604 alpine_c_client_target
="lnx"
18610 if test -f /etc
/shadow
; then
18611 alpine_c_client_target
="slx"
18613 alpine_c_client_target
="lnx"
18620 alpine_path_delim
="/"
18621 alpine_mode_readonly
="(0600)"
18622 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
18623 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
18625 $as_echo "#define OSX_TARGET 1" >>confdefs.h
18627 case "$alpine_os_credential_cache" in
18632 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
18636 if test -z "$alpine_c_client_bundled" ; then
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
18638 $as_echo_n "checking for pam_start in -lpam... " >&6; }
18639 if ${ac_cv_lib_pam_pam_start+:} false
; then :
18640 $as_echo_n "(cached) " >&6
18642 ac_check_lib_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. */
18657 return pam_start ();
18662 if ac_fn_c_try_link
"$LINENO"; then :
18663 ac_cv_lib_pam_pam_start
=yes
18665 ac_cv_lib_pam_pam_start
=no
18667 rm -f core conftest.err conftest.
$ac_objext \
18668 conftest
$ac_exeext conftest.
$ac_ext
18669 LIBS
=$ac_check_lib_save_LIBS
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
18672 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
18673 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
18675 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
18676 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
18679 alpine_c_client_target
="oxs"
18682 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
18683 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
18686 alpine_c_client_target
="oxp"
18691 alpine_pam_none_reason
="header files not found"
18703 alpine_c_client_target
="osx"
18708 alpine_c_client_target
="osx"
18712 if test x
$GCC = "xyes" ; then
18714 alpine_c_client_target
="gso"
18715 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
18718 alpine_c_client_target
="soc"
18720 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
18723 alpine_path_delim
="/"
18724 alpine_mode_readonly
="(0600)"
18728 alpine_path_delim
="/"
18729 alpine_mode_readonly
="(0600)"
18730 alpine_c_client_target
="s40"
18733 if test x
$GCC = "xyes" ; then
18735 alpine_c_client_target
="go5"
18738 alpine_c_client_target
="sc5"
18740 alpine_path_delim
="/"
18741 alpine_mode_readonly
="(0600)"
18745 alpine_path_delim
="/"
18746 alpine_mode_readonly
="(0600)"
18747 alpine_c_client_target
="nx3"
18751 alpine_path_delim
="/"
18752 alpine_mode_readonly
="(0600)"
18753 alpine_c_client_target
="neb"
18757 alpine_path_delim
="/"
18758 alpine_mode_readonly
="(0600)"
18759 alpine_c_client_target
="neb"
18763 alpine_path_delim
="/"
18764 alpine_mode_readonly
="(0600)"
18765 alpine_c_client_target
="bsi"
18769 alpine_path_delim
="/"
18770 alpine_mode_readonly
="(0600)"
18771 alpine_c_client_target
="bsf"
18772 LIBS
="$LIBS $LIBINTL"
18776 alpine_path_delim
="/"
18777 alpine_mode_readonly
="(0600)"
18778 alpine_c_client_target
="bso"
18779 LIBS
="$LIBS $LIBINTL"
18783 alpine_path_delim
="/"
18784 alpine_mode_readonly
="(0600)"
18785 alpine_c_client_target
="a52"
18789 alpine_path_delim
="/"
18790 alpine_mode_readonly
="(0600)"
18791 alpine_c_client_target
="a41"
18795 alpine_path_delim
="/"
18796 alpine_mode_readonly
="(0600)"
18797 alpine_c_client_target
="a32"
18799 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
18801 alpine_path_delim
="/"
18802 alpine_mode_readonly
="(0600)"
18803 alpine_c_client_target
="uw2"
18807 alpine_path_delim
="/"
18808 alpine_mode_readonly
="(0600)"
18809 alpine_c_client_target
="osf"
18813 alpine_path_delim
="/"
18814 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18815 alpine_c_client_target
="cyg"
18816 LIBS
="$LIBS $LIBINTL"
18818 windows
* |
*-*-pw32*)
18820 alpine_path_delim
="\\"
18821 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18822 alpine_c_client_target
="wnt"
18824 $as_echo "#define _WINDOWS 1" >>confdefs.h
18828 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
18833 # Check whether --with-ipv6 was given.
18834 if test "${with_ipv6+set}" = set; then :
18835 withval
=$with_ipv6; with_ipv6
=$withval
18839 if test "x$with_ipv6" = "xno" ; then
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
18841 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
18842 c_client_specials
="${c_client_specials}IP6=4 "
18843 c_client_ip6
="true"
18845 c_client_ip6
="touch imap/ip6"
18850 if test x
$enable_dmalloc = "xyes" ; then
18851 if test "x$with_pthread" = "xyes" ; then
18852 dmalloc_lib
=dmallocth
18854 dmalloc_lib
=dmalloc
18857 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
18859 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
18860 if eval \
${$as_ac_Lib+:} false
; then :
18861 $as_echo_n "(cached) " >&6
18863 ac_check_lib_save_LIBS
=$LIBS
18864 LIBS
="-l$dmalloc_lib $LIBS"
18865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18868 /* Override any GCC internal prototype to avoid an error.
18869 Use char because int might match the return type of a GCC
18870 builtin and then its argument prototype would still apply. */
18874 char dmalloc_shutdown ();
18878 return dmalloc_shutdown ();
18883 if ac_fn_c_try_link
"$LINENO"; then :
18884 eval "$as_ac_Lib=yes"
18886 eval "$as_ac_Lib=no"
18888 rm -f core conftest.err conftest.
$ac_objext \
18889 conftest
$ac_exeext conftest.
$ac_ext
18890 LIBS
=$ac_check_lib_save_LIBS
18892 eval ac_res
=\$
$as_ac_Lib
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18894 $as_echo "$ac_res" >&6; }
18895 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
18896 cat >>confdefs.h
<<_ACEOF
18897 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
18900 LIBS
="-l$dmalloc_lib $LIBS"
18904 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
18911 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
18912 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
18913 $as_echo_n "(cached) " >&6
18915 ac_check_lib_save_LIBS
=$LIBS
18916 LIBS
="-ltinfo $LIBS"
18917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18920 /* Override any GCC internal prototype to avoid an error.
18921 Use char because int might match the return type of a GCC
18922 builtin and then its argument prototype would still apply. */
18930 return setupterm ();
18935 if ac_fn_c_try_link
"$LINENO"; then :
18936 ac_cv_lib_tinfo_setupterm
=yes
18938 ac_cv_lib_tinfo_setupterm
=no
18940 rm -f core conftest.err conftest.
$ac_objext \
18941 conftest
$ac_exeext conftest.
$ac_ext
18942 LIBS
=$ac_check_lib_save_LIBS
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
18945 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
18946 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
18948 alpine_termdata
=info
18949 LIBS
="$LIBS -ltinfo"
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
18954 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
18955 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
18956 $as_echo_n "(cached) " >&6
18958 ac_check_lib_save_LIBS
=$LIBS
18959 LIBS
="-lncurses $LIBS"
18960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18961 /* end confdefs.h. */
18963 /* Override any GCC internal prototype to avoid an error.
18964 Use char because int might match the return type of a GCC
18965 builtin and then its argument prototype would still apply. */
18973 return setupterm ();
18978 if ac_fn_c_try_link
"$LINENO"; then :
18979 ac_cv_lib_ncurses_setupterm
=yes
18981 ac_cv_lib_ncurses_setupterm
=no
18983 rm -f core conftest.err conftest.
$ac_objext \
18984 conftest
$ac_exeext conftest.
$ac_ext
18985 LIBS
=$ac_check_lib_save_LIBS
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
18988 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
18989 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
18991 alpine_termdata
=info
18992 LIBS
="$LIBS -lncurses"
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
18997 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
18998 if ${ac_cv_lib_curses_setupterm+:} false
; then :
18999 $as_echo_n "(cached) " >&6
19001 ac_check_lib_save_LIBS
=$LIBS
19002 LIBS
="-lcurses $LIBS"
19003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19004 /* end confdefs.h. */
19006 /* Override any GCC internal prototype to avoid an error.
19007 Use char because int might match the return type of a GCC
19008 builtin and then its argument prototype would still apply. */
19016 return setupterm ();
19021 if ac_fn_c_try_link
"$LINENO"; then :
19022 ac_cv_lib_curses_setupterm
=yes
19024 ac_cv_lib_curses_setupterm
=no
19026 rm -f core conftest.err conftest.
$ac_objext \
19027 conftest
$ac_exeext conftest.
$ac_ext
19028 LIBS
=$ac_check_lib_save_LIBS
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
19031 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
19032 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
19034 alpine_termdata
=info
19035 LIBS
="$LIBS -lcurses"
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
19040 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
19041 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
19042 $as_echo_n "(cached) " >&6
19044 ac_check_lib_save_LIBS
=$LIBS
19045 LIBS
="-ltermlib $LIBS"
19046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19049 /* Override any GCC internal prototype to avoid an error.
19050 Use char because int might match the return type of a GCC
19051 builtin and then its argument prototype would still apply. */
19064 if ac_fn_c_try_link
"$LINENO"; then :
19065 ac_cv_lib_termlib_tgetent
=yes
19067 ac_cv_lib_termlib_tgetent
=no
19069 rm -f core conftest.err conftest.
$ac_objext \
19070 conftest
$ac_exeext conftest.
$ac_ext
19071 LIBS
=$ac_check_lib_save_LIBS
19073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
19074 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
19075 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
19077 alpine_termdata
=cap
19078 LIBS
="$LIBS -ltermlib"
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
19083 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
19084 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
19085 $as_echo_n "(cached) " >&6
19087 ac_check_lib_save_LIBS
=$LIBS
19088 LIBS
="-ltermcap $LIBS"
19089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19092 /* Override any GCC internal prototype to avoid an error.
19093 Use char because int might match the return type of a GCC
19094 builtin and then its argument prototype would still apply. */
19107 if ac_fn_c_try_link
"$LINENO"; then :
19108 ac_cv_lib_termcap_tgetent
=yes
19110 ac_cv_lib_termcap_tgetent
=no
19112 rm -f core conftest.err conftest.
$ac_objext \
19113 conftest
$ac_exeext conftest.
$ac_ext
19114 LIBS
=$ac_check_lib_save_LIBS
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
19117 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
19118 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
19120 alpine_termdata
=cap
19121 LIBS
="$LIBS -ltermcap"
19125 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
19141 case $alpine_termdata in
19144 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
19149 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19155 $as_echo_n "checking for library containing dlopen... " >&6; }
19156 if ${ac_cv_search_dlopen+:} false
; then :
19157 $as_echo_n "(cached) " >&6
19159 ac_func_search_save_LIBS
=$LIBS
19160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19161 /* end confdefs.h. */
19163 /* Override any GCC internal prototype to avoid an error.
19164 Use char because int might match the return type of a GCC
19165 builtin and then its argument prototype would still apply. */
19178 for ac_lib
in '' dl dld
; do
19179 if test -z "$ac_lib"; then
19180 ac_res
="none required"
19183 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19185 if ac_fn_c_try_link
"$LINENO"; then :
19186 ac_cv_search_dlopen
=$ac_res
19188 rm -f core conftest.err conftest.
$ac_objext \
19190 if ${ac_cv_search_dlopen+:} false
; then :
19194 if ${ac_cv_search_dlopen+:} false
; then :
19197 ac_cv_search_dlopen
=no
19199 rm conftest.
$ac_ext
19200 LIBS
=$ac_func_search_save_LIBS
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19203 $as_echo "$ac_cv_search_dlopen" >&6; }
19204 ac_res
=$ac_cv_search_dlopen
19205 if test "$ac_res" != no
; then :
19206 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19212 if test "x$alpine_DL" = "xnone" ; then
19213 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
19217 if test "x$alpine_SSLTYPE" != "xnone" ; then
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
19219 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
19220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19224 #include <stdlib.h>
19226 #include <stdint.h>
19227 #endif /* HAVE_STDINT_H */
19228 #include <openssl/ssl.h>
19234 #if OPENSSL_VERSION_NUMBER != 0x20000000L
19242 if ac_fn_c_try_compile
"$LINENO"; then :
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19244 $as_echo "yes" >&6; }
19245 alpine_SSLPROVIDER
="libressl"
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19249 $as_echo "no" >&6; }
19252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19255 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
19257 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
19258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19262 #include <stdlib.h>
19264 #include <stdint.h>
19265 #endif /* HAVE_STDINT_H */
19266 #include <openssl/ssl.h>
19272 #if OPENSSL_VERSION_NUMBER < 0x1000003fL
19280 if ac_fn_c_try_compile
"$LINENO"; then :
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19282 $as_echo "yes" >&6; }
19283 alpine_SSLPROVIDER
="openssl"
19286 alpine_SSLTYPE
="none"
19288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19290 if test "x$alpine_SSLTYPE" = "xnone" ; then
19291 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
19296 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
19298 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
19299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19303 #include <stdlib.h>
19305 #include <stdint.h>
19306 #endif /* HAVE_STDINT_H */
19307 #include <openssl/ssl.h>
19313 #if OPENSSL_VERSION_NUMBER < 0x10100000L
19321 if ac_fn_c_try_compile
"$LINENO"; then :
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19323 $as_echo "yes" >&6; }
19324 alpine_SSLVERSION
="new"
19325 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19329 $as_echo "no" >&6; }
19330 alpine_SSLVERSION
="old"
19332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19335 if test "x$alpine_SSLTYPE" != "xnone" ; then
19336 if test "x$alpine_SSLVERSION" = "xold" ; then
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
19338 $as_echo_n "checking for library containing SSLeay... " >&6; }
19339 if ${ac_cv_search_SSLeay+:} false
; then :
19340 $as_echo_n "(cached) " >&6
19342 ac_func_search_save_LIBS
=$LIBS
19343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19346 /* Override any GCC internal prototype to avoid an error.
19347 Use char because int might match the return type of a GCC
19348 builtin and then its argument prototype would still apply. */
19361 for ac_lib
in '' crypto
; do
19362 if test -z "$ac_lib"; then
19363 ac_res
="none required"
19366 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19368 if ac_fn_c_try_link
"$LINENO"; then :
19369 ac_cv_search_SSLeay
=$ac_res
19371 rm -f core conftest.err conftest.
$ac_objext \
19373 if ${ac_cv_search_SSLeay+:} false
; then :
19377 if ${ac_cv_search_SSLeay+:} false
; then :
19380 ac_cv_search_SSLeay
=no
19382 rm conftest.
$ac_ext
19383 LIBS
=$ac_func_search_save_LIBS
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
19386 $as_echo "$ac_cv_search_SSLeay" >&6; }
19387 ac_res
=$ac_cv_search_SSLeay
19388 if test "$ac_res" != no
; then :
19389 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19392 alpine_CRYPTO
="none"
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
19397 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
19398 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19399 $as_echo_n "(cached) " >&6
19401 ac_func_search_save_LIBS
=$LIBS
19402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19405 /* Override any GCC internal prototype to avoid an error.
19406 Use char because int might match the return type of a GCC
19407 builtin and then its argument prototype would still apply. */
19411 char OpenSSL_version_num ();
19415 return OpenSSL_version_num ();
19420 for ac_lib
in '' crypto
; do
19421 if test -z "$ac_lib"; then
19422 ac_res
="none required"
19425 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19427 if ac_fn_c_try_link
"$LINENO"; then :
19428 ac_cv_search_OpenSSL_version_num
=$ac_res
19430 rm -f core conftest.err conftest.
$ac_objext \
19432 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19436 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19439 ac_cv_search_OpenSSL_version_num
=no
19441 rm conftest.
$ac_ext
19442 LIBS
=$ac_func_search_save_LIBS
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
19445 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
19446 ac_res
=$ac_cv_search_OpenSSL_version_num
19447 if test "$ac_res" != no
; then :
19448 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19451 alpine_CRYPTO
="none"
19455 if test "x$alpine_CRYPTO" = "xnone" ; then
19456 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
19461 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
19462 if test "x$ac_cv_header_crypto_h" = xyes
; then :
19465 alpine_CRYPTO_DEVEL
="none"
19469 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
19470 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
19478 if test "x$alpine_SSLTYPE" != "xnone" ; then
19479 if test "x$alpine_SSLVERSION" = "xold" ; then
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
19481 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
19482 if ${ac_cv_search_SSL_library_init+:} false
; then :
19483 $as_echo_n "(cached) " >&6
19485 ac_func_search_save_LIBS
=$LIBS
19486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19489 /* Override any GCC internal prototype to avoid an error.
19490 Use char because int might match the return type of a GCC
19491 builtin and then its argument prototype would still apply. */
19495 char SSL_library_init ();
19499 return SSL_library_init ();
19504 for ac_lib
in '' ssl
; do
19505 if test -z "$ac_lib"; then
19506 ac_res
="none required"
19509 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19511 if ac_fn_c_try_link
"$LINENO"; then :
19512 ac_cv_search_SSL_library_init
=$ac_res
19514 rm -f core conftest.err conftest.
$ac_objext \
19516 if ${ac_cv_search_SSL_library_init+:} false
; then :
19520 if ${ac_cv_search_SSL_library_init+:} false
; then :
19523 ac_cv_search_SSL_library_init
=no
19525 rm conftest.
$ac_ext
19526 LIBS
=$ac_func_search_save_LIBS
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
19529 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
19530 ac_res
=$ac_cv_search_SSL_library_init
19531 if test "$ac_res" != no
; then :
19532 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19535 alpine_SSLTYPE
="none"
19538 if test "x$alpine_SSLTYPE" = "xnone" ; then
19539 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
19544 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
19545 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19546 $as_echo_n "(cached) " >&6
19548 ac_func_search_save_LIBS
=$LIBS
19549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19552 /* Override any GCC internal prototype to avoid an error.
19553 Use char because int might match the return type of a GCC
19554 builtin and then its argument prototype would still apply. */
19558 char OPENSSL_init_ssl ();
19562 return OPENSSL_init_ssl ();
19567 for ac_lib
in '' ssl
; do
19568 if test -z "$ac_lib"; then
19569 ac_res
="none required"
19572 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19574 if ac_fn_c_try_link
"$LINENO"; then :
19575 ac_cv_search_OPENSSL_init_ssl
=$ac_res
19577 rm -f core conftest.err conftest.
$ac_objext \
19579 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19583 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19586 ac_cv_search_OPENSSL_init_ssl
=no
19588 rm conftest.
$ac_ext
19589 LIBS
=$ac_func_search_save_LIBS
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
19592 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
19593 ac_res
=$ac_cv_search_OPENSSL_init_ssl
19594 if test "$ac_res" != no
; then :
19595 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19598 alpine_SSLTYPE
="none"
19601 if test "x$aalpiLlpine_SSLTYPE" = "xnone" ; then
19602 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
19608 if test "$alpine_with_ldap" = "yes" ; then
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
19611 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
19612 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
19613 $as_echo_n "(cached) " >&6
19615 ac_check_lib_save_LIBS
=$LIBS
19616 LIBS
="-llber $LIBS"
19617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19620 /* Override any GCC internal prototype to avoid an error.
19621 Use char because int might match the return type of a GCC
19622 builtin and then its argument prototype would still apply. */
19630 return ber_alloc ();
19635 if ac_fn_c_try_link
"$LINENO"; then :
19636 ac_cv_lib_lber_ber_alloc
=yes
19638 ac_cv_lib_lber_ber_alloc
=no
19640 rm -f core conftest.err conftest.
$ac_objext \
19641 conftest
$ac_exeext conftest.
$ac_ext
19642 LIBS
=$ac_check_lib_save_LIBS
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
19645 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
19646 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
19648 LIBS
="$LIBS -llber"
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
19653 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
19654 if ${ac_cv_search_ldap_initialize+:} false
; then :
19655 $as_echo_n "(cached) " >&6
19657 ac_func_search_save_LIBS
=$LIBS
19658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19661 /* Override any GCC internal prototype to avoid an error.
19662 Use char because int might match the return type of a GCC
19663 builtin and then its argument prototype would still apply. */
19667 char ldap_initialize ();
19671 return ldap_initialize ();
19676 for ac_lib
in '' ldap
; do
19677 if test -z "$ac_lib"; then
19678 ac_res
="none required"
19681 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19683 if ac_fn_c_try_link
"$LINENO"; then :
19684 ac_cv_search_ldap_initialize
=$ac_res
19686 rm -f core conftest.err conftest.
$ac_objext \
19688 if ${ac_cv_search_ldap_initialize+:} false
; then :
19692 if ${ac_cv_search_ldap_initialize+:} false
; then :
19695 ac_cv_search_ldap_initialize
=no
19697 rm conftest.
$ac_ext
19698 LIBS
=$ac_func_search_save_LIBS
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
19701 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
19702 ac_res
=$ac_cv_search_ldap_initialize
19703 if test "$ac_res" != no
; then :
19704 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19706 alpine_has_ldap
=yes
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
19711 $as_echo_n "checking for library containing ldap_open... " >&6; }
19712 if ${ac_cv_search_ldap_open+:} false
; then :
19713 $as_echo_n "(cached) " >&6
19715 ac_func_search_save_LIBS
=$LIBS
19716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19717 /* end confdefs.h. */
19719 /* Override any GCC internal prototype to avoid an error.
19720 Use char because int might match the return type of a GCC
19721 builtin and then its argument prototype would still apply. */
19729 return ldap_open ();
19734 for ac_lib
in '' ldap
; do
19735 if test -z "$ac_lib"; then
19736 ac_res
="none required"
19739 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19741 if ac_fn_c_try_link
"$LINENO"; then :
19742 ac_cv_search_ldap_open
=$ac_res
19744 rm -f core conftest.err conftest.
$ac_objext \
19746 if ${ac_cv_search_ldap_open+:} false
; then :
19750 if ${ac_cv_search_ldap_open+:} false
; then :
19753 ac_cv_search_ldap_open
=no
19755 rm conftest.
$ac_ext
19756 LIBS
=$ac_func_search_save_LIBS
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
19759 $as_echo "$ac_cv_search_ldap_open" >&6; }
19760 ac_res
=$ac_cv_search_ldap_open
19761 if test "$ac_res" != no
; then :
19762 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19764 alpine_has_ldap
=yes
19772 if test "$alpine_has_ldap" = "yes" ; then
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
19774 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
19776 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
19781 if test -z "$alpine_c_client_bundled" ; then
19782 if test "x$alpine_PAM" != "xnone" ; then
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
19784 $as_echo_n "checking for library containing pam_start... " >&6; }
19785 if ${ac_cv_search_pam_start+:} false
; then :
19786 $as_echo_n "(cached) " >&6
19788 ac_func_search_save_LIBS
=$LIBS
19789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19792 /* Override any GCC internal prototype to avoid an error.
19793 Use char because int might match the return type of a GCC
19794 builtin and then its argument prototype would still apply. */
19802 return pam_start ();
19807 for ac_lib
in '' pam
; do
19808 if test -z "$ac_lib"; then
19809 ac_res
="none required"
19812 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19814 if ac_fn_c_try_link
"$LINENO"; then :
19815 ac_cv_search_pam_start
=$ac_res
19817 rm -f core conftest.err conftest.
$ac_objext \
19819 if ${ac_cv_search_pam_start+:} false
; then :
19823 if ${ac_cv_search_pam_start+:} false
; then :
19826 ac_cv_search_pam_start
=no
19828 rm conftest.
$ac_ext
19829 LIBS
=$ac_func_search_save_LIBS
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
19832 $as_echo "$ac_cv_search_pam_start" >&6; }
19833 ac_res
=$ac_cv_search_pam_start
19834 if test "$ac_res" != no
; then :
19835 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19838 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
19839 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
19844 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
19845 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
19848 if test "x$alpine_c_client_target" != "xoxp" ; then
19850 alpine_pam_none_reason
="header files not in security/ directory"
19856 alpine_pam_none_reason
="header files not found"
19869 alpine_pam_none_reason
="library files not found"
19873 if test -n "$alpine_pam_none_reason" ; then
19874 as_fn_error or
do not use
--with-bundled-tools "Trying to build bundled tools but could not find libpam. Install it first and try again" "$LINENO" 5
19879 if test -n "$alpine_c_client_bundled" ; then
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
19881 $as_echo_n "checking for library containing crypt... " >&6; }
19882 if ${ac_cv_search_crypt+:} false
; then :
19883 $as_echo_n "(cached) " >&6
19885 ac_func_search_save_LIBS
=$LIBS
19886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19887 /* end confdefs.h. */
19889 /* Override any GCC internal prototype to avoid an error.
19890 Use char because int might match the return type of a GCC
19891 builtin and then its argument prototype would still apply. */
19904 for ac_lib
in '' crypt; do
19905 if test -z "$ac_lib"; then
19906 ac_res
="none required"
19909 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19911 if ac_fn_c_try_link
"$LINENO"; then :
19912 ac_cv_search_crypt
=$ac_res
19914 rm -f core conftest.err conftest.
$ac_objext \
19916 if ${ac_cv_search_crypt+:} false
; then :
19920 if ${ac_cv_search_crypt+:} false
; then :
19923 ac_cv_search_crypt
=no
19925 rm conftest.
$ac_ext
19926 LIBS
=$ac_func_search_save_LIBS
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
19929 $as_echo "$ac_cv_search_crypt" >&6; }
19930 ac_res
=$ac_cv_search_crypt
19931 if test "$ac_res" != no
; then :
19932 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19936 as_fn_error $?
"crypt library not found." "$LINENO" 5
19942 C_CLIENT_BUNDLED
=$alpine_c_client_bundled
19945 if test "x$alpine_GSSTYPE" != "xnone" ; then
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
19947 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
19948 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19949 $as_echo_n "(cached) " >&6
19951 ac_func_search_save_LIBS
=$LIBS
19952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19953 /* end confdefs.h. */
19955 /* Override any GCC internal prototype to avoid an error.
19956 Use char because int might match the return type of a GCC
19957 builtin and then its argument prototype would still apply. */
19961 char gss_init_sec_context ();
19965 return gss_init_sec_context ();
19970 for ac_lib
in '' gss gssapi gssapi_krb5
; do
19971 if test -z "$ac_lib"; then
19972 ac_res
="none required"
19975 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19977 if ac_fn_c_try_link
"$LINENO"; then :
19978 ac_cv_search_gss_init_sec_context
=$ac_res
19980 rm -f core conftest.err conftest.
$ac_objext \
19982 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19986 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19989 ac_cv_search_gss_init_sec_context
=no
19991 rm conftest.
$ac_ext
19992 LIBS
=$ac_func_search_save_LIBS
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
19995 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
19996 ac_res
=$ac_cv_search_gss_init_sec_context
19997 if test "$ac_res" != no
; then :
19998 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20000 LIBS
="$LIBS -lkrb5"
20001 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
20002 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
20006 if test ! -d /usr
/kerberos
/include
; then
20007 alpine_GSSTYPE
="none"
20008 alpine_gss_none_reason
="header files not found"
20017 alpine_GSSTYPE
="none"
20018 alpine_gss_none_reason
="libraries not found"
20022 if test -n "$alpine_gss_none_reason" ; then
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
20024 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
20029 # Check whether --with-ntlm was given.
20030 if test "${with_ntlm+set}" = set; then :
20031 withval
=$with_ntlm; with_ntlm
=$withval
20035 if test "x$with_ntlm" = "xno" ; then
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
20041 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
20042 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20043 $as_echo_n "(cached) " >&6
20045 ac_func_search_save_LIBS
=$LIBS
20046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20047 /* end confdefs.h. */
20049 /* Override any GCC internal prototype to avoid an error.
20050 Use char because int might match the return type of a GCC
20051 builtin and then its argument prototype would still apply. */
20055 char buildSmbNtlmAuthRequest ();
20059 return buildSmbNtlmAuthRequest ();
20064 for ac_lib
in '' ntlm
; do
20065 if test -z "$ac_lib"; then
20066 ac_res
="none required"
20069 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20071 if ac_fn_c_try_link
"$LINENO"; then :
20072 ac_cv_search_buildSmbNtlmAuthRequest
=$ac_res
20074 rm -f core conftest.err conftest.
$ac_objext \
20076 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20080 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20083 ac_cv_search_buildSmbNtlmAuthRequest
=no
20085 rm conftest.
$ac_ext
20086 LIBS
=$ac_func_search_save_LIBS
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_buildSmbNtlmAuthRequest" >&5
20089 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
20090 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
20091 if test "$ac_res" != no
; then :
20092 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20094 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
20095 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
20097 extra_auth_ntlm
=ntl
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
20099 $as_echo "$as_me: including NTLM support" >&6;}
20104 alpine_ntlm_none_reason
="header file ntlm.h not found"
20113 alpine_ntlm_none_reason
="ntlm library not found"
20117 if test -n "$alpine_ntlm_none_reason" ; then
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
20119 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
20123 if test -n "$WEB_BUILD" ; then
20124 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
20125 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
20126 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
20128 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
20129 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20130 $as_echo_n "(cached) " >&6
20132 ac_func_search_save_LIBS
=$LIBS
20133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20134 /* end confdefs.h. */
20136 /* Override any GCC internal prototype to avoid an error.
20137 Use char because int might match the return type of a GCC
20138 builtin and then its argument prototype would still apply. */
20146 return Tcl_Eval ();
20151 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
20152 if test -z "$ac_lib"; then
20153 ac_res
="none required"
20156 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20158 if ac_fn_c_try_link
"$LINENO"; then :
20159 ac_cv_search_Tcl_Eval
=$ac_res
20161 rm -f core conftest.err conftest.
$ac_objext \
20163 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20167 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20170 ac_cv_search_Tcl_Eval
=no
20172 rm conftest.
$ac_ext
20173 LIBS
=$ac_func_search_save_LIBS
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
20176 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
20177 ac_res
=$ac_cv_search_Tcl_Eval
20178 if test "$ac_res" != no
; then :
20179 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20188 if test -n "$alpine_TCLINC" ; then
20189 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
20190 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
20191 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20200 if test -z "$WEB_BUILD" ; then
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
20202 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
20205 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
20206 if test "x$ac_cv_header_tcl_h" = xyes
; then :
20210 for base
in /usr
/usr
/local ; do
20211 for dir
in ${TCL_VERSIONS} ; do
20212 if test -f $base/include
/$dir/tcl.h
; then
20213 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
20218 if test "x$found" = "xyes" ; then
20222 if test "$found" != "yes" ; then
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
20225 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
20234 if test "x$alpine_REGEX" != "xyes" ; then
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
20236 $as_echo_n "checking for library containing regcomp... " >&6; }
20237 if ${ac_cv_search_regcomp+:} false
; then :
20238 $as_echo_n "(cached) " >&6
20240 ac_func_search_save_LIBS
=$LIBS
20241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20244 /* Override any GCC internal prototype to avoid an error.
20245 Use char because int might match the return type of a GCC
20246 builtin and then its argument prototype would still apply. */
20259 for ac_lib
in '' posix regexp regex re
; do
20260 if test -z "$ac_lib"; then
20261 ac_res
="none required"
20264 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20266 if ac_fn_c_try_link
"$LINENO"; then :
20267 ac_cv_search_regcomp
=$ac_res
20269 rm -f core conftest.err conftest.
$ac_objext \
20271 if ${ac_cv_search_regcomp+:} false
; then :
20275 if ${ac_cv_search_regcomp+:} false
; then :
20278 ac_cv_search_regcomp
=no
20280 rm conftest.
$ac_ext
20281 LIBS
=$ac_func_search_save_LIBS
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
20284 $as_echo "$ac_cv_search_regcomp" >&6; }
20285 ac_res
=$ac_cv_search_regcomp
20286 if test "$ac_res" != no
; then :
20287 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20291 if test x
$alpine_REGEX = "xno" ; then
20292 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
20300 if test "x$alpine_REGEX" != "xyes" ; then
20301 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
20302 if test "x$ac_cv_header_regex_h" = xyes
; then :
20306 if test x
$alpine_REGEX = "xno" ; then
20307 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
20317 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
20319 if test "x$alpine_REGEX" = "xyes" ; then
20320 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
20321 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
20323 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
20326 if test "x$with_pthread" != "xno" ; then
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
20328 $as_echo_n "checking for pthread support... " >&6; }
20333 ac_cpp
='$CPP $CPPFLAGS'
20334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20340 # We used to check for pthread.h first, but this fails if pthread.h
20341 # requires special compiler flags (e.g. on True64 or Sequent).
20342 # It gets checked for in the link test anyway.
20344 # First of all, check if the user has set any of the PTHREAD_LIBS,
20345 # etcetera environment variables, and if threads linking works using
20347 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
20348 save_CFLAGS
="$CFLAGS"
20349 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20351 LIBS
="$PTHREAD_LIBS $LIBS"
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
20353 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
20354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20355 /* end confdefs.h. */
20357 /* Override any GCC internal prototype to avoid an error.
20358 Use char because int might match the return type of a GCC
20359 builtin and then its argument prototype would still apply. */
20363 char pthread_join ();
20367 return pthread_join ();
20372 if ac_fn_c_try_link
"$LINENO"; then :
20375 rm -f core conftest.err conftest.
$ac_objext \
20376 conftest
$ac_exeext conftest.
$ac_ext
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20378 $as_echo "$acx_pthread_ok" >&6; }
20379 if test x
"$acx_pthread_ok" = xno
; then
20384 CFLAGS
="$save_CFLAGS"
20387 # We must check for the threads library under a number of different
20388 # names; the ordering is very important because some systems
20389 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
20390 # libraries is broken (non-POSIX).
20392 # Create a list of thread flags to try. Items starting with a "-" are
20393 # C compiler flags, and other items are library names, except for "none"
20394 # which indicates that we try without any flags at all, and "pthread-config"
20395 # which is a program returning the flags for the Pth emulation library.
20397 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
20399 # The ordering *is* (sometimes) important. Some notes on the
20400 # individual items follow:
20402 # pthreads: AIX (must check this before -lpthread)
20403 # none: in case threads are in libc; should be tried before -Kthread and
20404 # other compiler flags to prevent continual compiler warnings
20405 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
20406 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
20407 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
20408 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
20409 # -pthreads: Solaris/gcc
20410 # -mthreads: Mingw32/gcc, Lynx/gcc
20411 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
20412 # doesn't hurt to check since this sometimes defines pthreads too;
20413 # also defines -D_REENTRANT)
20414 # ... -mt is also the pthreads flag for HP/aCC
20415 # pthread: Linux, etcetera
20416 # --thread-safe: KAI C++
20417 # pthread-config: use pthread-config program (for GNU Pth library)
20419 case "${host_cpu}-${host_os}" in
20422 # On Solaris (at least, for some versions), libc contains stubbed
20423 # (non-functional) versions of the pthreads routines, so link-based
20424 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
20425 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
20426 # a function called by this macro, so we could check for that, but
20427 # who knows whether they'll stub that too in a future libc.) So,
20428 # we'll just look for -pthreads and -lpthread first:
20430 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
20434 if test x
"$acx_pthread_ok" = xno
; then
20435 for flag
in $acx_pthread_flags; do
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
20440 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
20445 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
20446 PTHREAD_CFLAGS
="$flag"
20450 # Extract the first word of "pthread-config", so it can be a program name with args.
20451 set dummy pthread-config
; ac_word
=$2
20452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20453 $as_echo_n "checking for $ac_word... " >&6; }
20454 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
20455 $as_echo_n "(cached) " >&6
20457 if test -n "$acx_pthread_config"; then
20458 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
20460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20461 for as_dir
in $PATH
20464 test -z "$as_dir" && as_dir
=.
20465 for ac_exec_ext
in '' $ac_executable_extensions; do
20466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20467 ac_cv_prog_acx_pthread_config
="yes"
20468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20475 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
20478 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
20479 if test -n "$acx_pthread_config"; then
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
20481 $as_echo "$acx_pthread_config" >&6; }
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20484 $as_echo "no" >&6; }
20488 if test x
"$acx_pthread_config" = xno
; then continue; fi
20489 PTHREAD_CFLAGS
="`pthread-config --cflags`"
20490 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
20495 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
20496 PTHREAD_LIBS
="-l$flag"
20501 save_CFLAGS
="$CFLAGS"
20502 LIBS
="$PTHREAD_LIBS $LIBS"
20503 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20505 # Check for various functions. We must include pthread.h,
20506 # since some functions may be macros. (On the Sequent, we
20507 # need a special flag -Kthread to make this header compile.)
20508 # We check for pthread_join because it is in -lpthread on IRIX
20509 # while pthread_create is in libc. We check for pthread_attr_init
20510 # due to DEC craziness with -lpthreads. We check for
20511 # pthread_cleanup_push because it is one of the few pthread
20512 # functions on Solaris that doesn't have a non-functional libc stub.
20513 # We try pthread_create on general principles.
20514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20515 /* end confdefs.h. */
20516 #include <pthread.h>
20520 pthread_t th; pthread_join(th, 0);
20521 pthread_attr_init(0); pthread_cleanup_push(0, 0);
20522 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
20527 if ac_fn_c_try_link
"$LINENO"; then :
20530 rm -f core conftest.err conftest.
$ac_objext \
20531 conftest
$ac_exeext conftest.
$ac_ext
20534 CFLAGS
="$save_CFLAGS"
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20537 $as_echo "$acx_pthread_ok" >&6; }
20538 if test "x$acx_pthread_ok" = xyes
; then
20547 # Various other checks:
20548 if test "x$acx_pthread_ok" = xyes
; then
20550 LIBS
="$PTHREAD_LIBS $LIBS"
20551 save_CFLAGS
="$CFLAGS"
20552 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20554 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
20556 $as_echo_n "checking for joinable pthread attribute... " >&6; }
20558 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
20559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h. */
20561 #include <pthread.h>
20565 int attr=$attr; return attr;
20570 if ac_fn_c_try_link
"$LINENO"; then :
20571 attr_name
=$attr; break
20573 rm -f core conftest.err conftest.
$ac_objext \
20574 conftest
$ac_exeext conftest.
$ac_ext
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
20577 $as_echo "$attr_name" >&6; }
20578 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
20580 cat >>confdefs.h
<<_ACEOF
20581 #define PTHREAD_CREATE_JOINABLE $attr_name
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
20587 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
20589 case "${host_cpu}-${host_os}" in
20590 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
20591 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
20594 $as_echo "${flag}" >&6; }
20595 if test "x$flag" != xno
; then
20596 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
20600 CFLAGS
="$save_CFLAGS"
20602 # More AIX lossage: must compile with xlc_r or cc_r
20603 if test x
"$GCC" != xyes
; then
20604 for ac_prog
in xlc_r cc_r
20606 # Extract the first word of "$ac_prog", so it can be a program name with args.
20607 set dummy
$ac_prog; ac_word
=$2
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20609 $as_echo_n "checking for $ac_word... " >&6; }
20610 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
20611 $as_echo_n "(cached) " >&6
20613 if test -n "$PTHREAD_CC"; then
20614 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
20616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20617 for as_dir
in $PATH
20620 test -z "$as_dir" && as_dir
=.
20621 for ac_exec_ext
in '' $ac_executable_extensions; do
20622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20623 ac_cv_prog_PTHREAD_CC
="$ac_prog"
20624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20633 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
20634 if test -n "$PTHREAD_CC"; then
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20636 $as_echo "$PTHREAD_CC" >&6; }
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20639 $as_echo "no" >&6; }
20643 test -n "$PTHREAD_CC" && break
20645 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
20658 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20659 if test x
"$acx_pthread_ok" = xyes
; then
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20662 $as_echo "yes" >&6; }
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
20666 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
20667 AM_CFLAGS
="$AM_CFLAGS -pthread"
20670 LIBS
="$PTHREAD_LIBS $LIBS"
20671 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
20674 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20682 $as_echo "no" >&6; }
20686 ac_cpp
='$CPP $CPPFLAGS'
20687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20694 $as_echo_n "checking for library containing nanosleep... " >&6; }
20695 if ${ac_cv_search_nanosleep+:} false
; then :
20696 $as_echo_n "(cached) " >&6
20698 ac_func_search_save_LIBS
=$LIBS
20699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20700 /* end confdefs.h. */
20702 /* Override any GCC internal prototype to avoid an error.
20703 Use char because int might match the return type of a GCC
20704 builtin and then its argument prototype would still apply. */
20712 return nanosleep ();
20717 for ac_lib
in '' rt posix4
; do
20718 if test -z "$ac_lib"; then
20719 ac_res
="none required"
20722 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20724 if ac_fn_c_try_link
"$LINENO"; then :
20725 ac_cv_search_nanosleep
=$ac_res
20727 rm -f core conftest.err conftest.
$ac_objext \
20729 if ${ac_cv_search_nanosleep+:} false
; then :
20733 if ${ac_cv_search_nanosleep+:} false
; then :
20736 ac_cv_search_nanosleep
=no
20738 rm conftest.
$ac_ext
20739 LIBS
=$ac_func_search_save_LIBS
20741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20742 $as_echo "$ac_cv_search_nanosleep" >&6; }
20743 ac_res
=$ac_cv_search_nanosleep
20744 if test "$ac_res" != no
; then :
20745 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20748 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20759 $as_echo_n "checking for ANSI C header files... " >&6; }
20760 if ${ac_cv_header_stdc+:} false
; then :
20761 $as_echo_n "(cached) " >&6
20763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20764 /* end confdefs.h. */
20765 #include <stdlib.h>
20766 #include <stdarg.h>
20767 #include <string.h>
20778 if ac_fn_c_try_compile
"$LINENO"; then :
20779 ac_cv_header_stdc
=yes
20781 ac_cv_header_stdc
=no
20783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20785 if test $ac_cv_header_stdc = yes; then
20786 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20788 /* end confdefs.h. */
20789 #include <string.h>
20792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20793 $EGREP "memchr" >/dev
/null
2>&1; then :
20796 ac_cv_header_stdc
=no
20802 if test $ac_cv_header_stdc = yes; then
20803 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20806 #include <stdlib.h>
20809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20810 $EGREP "free" >/dev
/null
2>&1; then :
20813 ac_cv_header_stdc
=no
20819 if test $ac_cv_header_stdc = yes; then
20820 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20821 if test "$cross_compiling" = yes; then :
20824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20825 /* end confdefs.h. */
20827 #include <stdlib.h>
20828 #if ((' ' & 0x0FF) == 0x020)
20829 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20830 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20832 # define ISLOWER(c) \
20833 (('a' <= (c) && (c) <= 'i') \
20834 || ('j' <= (c) && (c) <= 'r') \
20835 || ('s' <= (c) && (c) <= 'z'))
20836 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20839 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20844 for (i = 0; i < 256; i++)
20845 if (XOR (islower (i), ISLOWER (i))
20846 || toupper (i) != TOUPPER (i))
20851 if ac_fn_c_try_run
"$LINENO"; then :
20854 ac_cv_header_stdc
=no
20856 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20857 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20863 $as_echo "$ac_cv_header_stdc" >&6; }
20864 if test $ac_cv_header_stdc = yes; then
20866 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20870 ac_header_dirent
=no
20871 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
20872 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
20874 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
20875 if eval \
${$as_ac_Header+:} false
; then :
20876 $as_echo_n "(cached) " >&6
20878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h. */
20880 #include <sys/types.h>
20892 if ac_fn_c_try_compile
"$LINENO"; then :
20893 eval "$as_ac_Header=yes"
20895 eval "$as_ac_Header=no"
20897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20899 eval ac_res
=\$
$as_ac_Header
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20901 $as_echo "$ac_res" >&6; }
20902 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20903 cat >>confdefs.h
<<_ACEOF
20904 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20907 ac_header_dirent
=$ac_hdr; break
20911 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20912 if test $ac_header_dirent = dirent.h
; then
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20914 $as_echo_n "checking for library containing opendir... " >&6; }
20915 if ${ac_cv_search_opendir+:} false
; then :
20916 $as_echo_n "(cached) " >&6
20918 ac_func_search_save_LIBS
=$LIBS
20919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20922 /* Override any GCC internal prototype to avoid an error.
20923 Use char because int might match the return type of a GCC
20924 builtin and then its argument prototype would still apply. */
20937 for ac_lib
in '' dir
; do
20938 if test -z "$ac_lib"; then
20939 ac_res
="none required"
20942 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20944 if ac_fn_c_try_link
"$LINENO"; then :
20945 ac_cv_search_opendir
=$ac_res
20947 rm -f core conftest.err conftest.
$ac_objext \
20949 if ${ac_cv_search_opendir+:} false
; then :
20953 if ${ac_cv_search_opendir+:} false
; then :
20956 ac_cv_search_opendir
=no
20958 rm conftest.
$ac_ext
20959 LIBS
=$ac_func_search_save_LIBS
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20962 $as_echo "$ac_cv_search_opendir" >&6; }
20963 ac_res
=$ac_cv_search_opendir
20964 if test "$ac_res" != no
; then :
20965 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20971 $as_echo_n "checking for library containing opendir... " >&6; }
20972 if ${ac_cv_search_opendir+:} false
; then :
20973 $as_echo_n "(cached) " >&6
20975 ac_func_search_save_LIBS
=$LIBS
20976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20977 /* end confdefs.h. */
20979 /* Override any GCC internal prototype to avoid an error.
20980 Use char because int might match the return type of a GCC
20981 builtin and then its argument prototype would still apply. */
20994 for ac_lib
in '' x
; do
20995 if test -z "$ac_lib"; then
20996 ac_res
="none required"
20999 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21001 if ac_fn_c_try_link
"$LINENO"; then :
21002 ac_cv_search_opendir
=$ac_res
21004 rm -f core conftest.err conftest.
$ac_objext \
21006 if ${ac_cv_search_opendir+:} false
; then :
21010 if ${ac_cv_search_opendir+:} false
; then :
21013 ac_cv_search_opendir
=no
21015 rm conftest.
$ac_ext
21016 LIBS
=$ac_func_search_save_LIBS
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21019 $as_echo "$ac_cv_search_opendir" >&6; }
21020 ac_res
=$ac_cv_search_opendir
21021 if test "$ac_res" != no
; then :
21022 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
21029 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
21030 if ${ac_cv_header_stat_broken+:} false
; then :
21031 $as_echo_n "(cached) " >&6
21033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21034 /* end confdefs.h. */
21035 #include <sys/types.h>
21036 #include <sys/stat.h>
21038 #if defined S_ISBLK && defined S_IFDIR
21039 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
21042 #if defined S_ISBLK && defined S_IFCHR
21043 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
21046 #if defined S_ISLNK && defined S_IFREG
21047 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
21050 #if defined S_ISSOCK && defined S_IFREG
21051 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
21055 if ac_fn_c_try_compile
"$LINENO"; then :
21056 ac_cv_header_stat_broken
=no
21058 ac_cv_header_stat_broken
=yes
21060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
21063 $as_echo "$ac_cv_header_stat_broken" >&6; }
21064 if test $ac_cv_header_stat_broken = yes; then
21066 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
21071 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
21072 if ${ac_cv_header_sys_wait_h+:} false
; then :
21073 $as_echo_n "(cached) " >&6
21075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21077 #include <sys/types.h>
21078 #include <sys/wait.h>
21079 #ifndef WEXITSTATUS
21080 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
21083 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
21091 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
21096 if ac_fn_c_try_compile
"$LINENO"; then :
21097 ac_cv_header_sys_wait_h
=yes
21099 ac_cv_header_sys_wait_h
=no
21101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
21104 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
21105 if test $ac_cv_header_sys_wait_h = yes; then
21107 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
21111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
21112 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
21113 if ${ac_cv_header_time+:} false
; then :
21114 $as_echo_n "(cached) " >&6
21116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21117 /* end confdefs.h. */
21118 #include <sys/types.h>
21119 #include <sys/time.h>
21125 if ((struct tm *) 0)
21131 if ac_fn_c_try_compile
"$LINENO"; then :
21132 ac_cv_header_time
=yes
21134 ac_cv_header_time
=no
21136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
21139 $as_echo "$ac_cv_header_time" >&6; }
21140 if test $ac_cv_header_time = yes; then
21142 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
21147 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
21148 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
21149 $as_echo_n "(cached) " >&6
21151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21152 /* end confdefs.h. */
21153 #include <sys/types.h>
21154 #include <termios.h>
21160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21161 $EGREP "yes" >/dev
/null
2>&1; then :
21162 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
21164 ac_cv_sys_tiocgwinsz_in_termios_h
=no
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
21170 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
21172 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
21174 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
21175 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
21176 $as_echo_n "(cached) " >&6
21178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21179 /* end confdefs.h. */
21180 #include <sys/types.h>
21181 #include <sys/ioctl.h>
21187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21188 $EGREP "yes" >/dev
/null
2>&1; then :
21189 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
21191 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
21197 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
21199 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
21201 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
21207 for ac_header
in unistd.h
21209 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21210 if test "x$ac_cv_header_unistd_h" = xyes
; then :
21211 cat >>confdefs.h
<<_ACEOF
21212 #define HAVE_UNISTD_H 1
21220 for ac_header
in errno.h \
21246 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21247 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21248 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21249 cat >>confdefs.h
<<_ACEOF
21250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21258 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
21259 if test "x$ac_cv_header_termios_h" = xyes
; then :
21261 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
21265 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
21266 if test "x$ac_cv_header_termio_h" = xyes
; then :
21268 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
21272 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
21273 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
21275 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
21279 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
21296 $as_echo_n "checking return type of signal handlers... " >&6; }
21297 if ${ac_cv_type_signal+:} false
; then :
21298 $as_echo_n "(cached) " >&6
21300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h. */
21302 #include <sys/types.h>
21303 #include <signal.h>
21308 return *(signal (0, 0)) (0) == 1;
21313 if ac_fn_c_try_compile
"$LINENO"; then :
21314 ac_cv_type_signal
=int
21316 ac_cv_type_signal
=void
21318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
21321 $as_echo "$ac_cv_type_signal" >&6; }
21323 cat >>confdefs.h
<<_ACEOF
21324 #define RETSIGTYPE $ac_cv_type_signal
21328 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
21329 if test "x$ac_cv_type_size_t" = xyes
; then :
21333 cat >>confdefs.h
<<_ACEOF
21334 #define size_t unsigned int
21339 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
21340 if test "x$ac_cv_type_mode_t" = xyes
; then :
21344 cat >>confdefs.h
<<_ACEOF
21350 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
21351 if test "x$ac_cv_type_pid_t" = xyes
; then :
21355 cat >>confdefs.h
<<_ACEOF
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
21362 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
21363 if ${ac_cv_type_uid_t+:} false
; then :
21364 $as_echo_n "(cached) " >&6
21366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h. */
21368 #include <sys/types.h>
21371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21372 $EGREP "uid_t" >/dev
/null
2>&1; then :
21373 ac_cv_type_uid_t
=yes
21375 ac_cv_type_uid_t
=no
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
21381 $as_echo "$ac_cv_type_uid_t" >&6; }
21382 if test $ac_cv_type_uid_t = no
; then
21384 $as_echo "#define uid_t int" >>confdefs.h
21387 $as_echo "#define gid_t int" >>confdefs.h
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21392 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21393 if ${ac_cv_struct_tm+:} false
; then :
21394 $as_echo_n "(cached) " >&6
21396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21397 /* end confdefs.h. */
21398 #include <sys/types.h>
21405 int *p = &tm.tm_sec;
21411 if ac_fn_c_try_compile
"$LINENO"; then :
21412 ac_cv_struct_tm
=time.h
21414 ac_cv_struct_tm
=sys
/time.h
21416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21419 $as_echo "$ac_cv_struct_tm" >&6; }
21420 if test $ac_cv_struct_tm = sys
/time.h
; then
21422 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21427 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
21428 if test "x$ac_cv_type_union_wait" = xyes
; then :
21430 cat >>confdefs.h
<<_ACEOF
21431 #define HAVE_UNION_WAIT 1
21438 for ac_header
in stdint.h
21440 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21441 if test "x$ac_cv_header_stdint_h" = xyes
; then :
21442 cat >>confdefs.h
<<_ACEOF
21443 #define HAVE_STDINT_H 1
21448 for ac_header
in inttypes.h
21450 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
21451 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
21452 cat >>confdefs.h
<<_ACEOF
21453 #define HAVE_INTTYPES_H 1
21458 for ac_header
in sys
/types.h
21460 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
21461 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
21462 cat >>confdefs.h
<<_ACEOF
21463 #define HAVE_SYS_TYPES_H 1
21468 # The cast to long int works around a bug in the HP C Compiler
21469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21471 # This bug is HP SR number 8606223364.
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
21473 $as_echo_n "checking size of unsigned short... " >&6; }
21474 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
21475 $as_echo_n "(cached) " >&6
21477 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
21480 if test "$ac_cv_type_unsigned_short" = yes; then
21481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21483 as_fn_error
77 "cannot compute sizeof (unsigned short)
21484 See \`config.log' for more details" "$LINENO" 5; }
21486 ac_cv_sizeof_unsigned_short
=0
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
21492 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
21496 cat >>confdefs.h
<<_ACEOF
21497 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
21501 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
21502 uint16
="unsigned short"
21504 # The cast to long int works around a bug in the HP C Compiler
21505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21507 # This bug is HP SR number 8606223364.
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
21509 $as_echo_n "checking size of unsigned int... " >&6; }
21510 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
21511 $as_echo_n "(cached) " >&6
21513 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
21516 if test "$ac_cv_type_unsigned_int" = yes; then
21517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21519 as_fn_error
77 "cannot compute sizeof (unsigned int)
21520 See \`config.log' for more details" "$LINENO" 5; }
21522 ac_cv_sizeof_unsigned_int
=0
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
21528 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
21532 cat >>confdefs.h
<<_ACEOF
21533 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21537 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
21538 uint16
="unsigned int"
21540 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
21559 cat >>confdefs.h
<<_ACEOF
21560 #define UINT16 $uint16
21564 for ac_header
in stdint.h
21566 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21567 if test "x$ac_cv_header_stdint_h" = xyes
; then :
21568 cat >>confdefs.h
<<_ACEOF
21569 #define HAVE_STDINT_H 1
21574 for ac_header
in inttypes.h
21576 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
21577 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
21578 cat >>confdefs.h
<<_ACEOF
21579 #define HAVE_INTTYPES_H 1
21584 for ac_header
in sys
/types.h
21586 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
21587 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
21588 cat >>confdefs.h
<<_ACEOF
21589 #define HAVE_SYS_TYPES_H 1
21594 # The cast to long int works around a bug in the HP C Compiler
21595 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21596 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21597 # This bug is HP SR number 8606223364.
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
21599 $as_echo_n "checking size of unsigned int... " >&6; }
21600 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
21601 $as_echo_n "(cached) " >&6
21603 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
21606 if test "$ac_cv_type_unsigned_int" = yes; then
21607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21609 as_fn_error
77 "cannot compute sizeof (unsigned int)
21610 See \`config.log' for more details" "$LINENO" 5; }
21612 ac_cv_sizeof_unsigned_int
=0
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
21618 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
21622 cat >>confdefs.h
<<_ACEOF
21623 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21627 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
21628 uint32
="unsigned int"
21630 # The cast to long int works around a bug in the HP C Compiler
21631 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21632 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21633 # This bug is HP SR number 8606223364.
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
21635 $as_echo_n "checking size of unsigned long... " >&6; }
21636 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
21637 $as_echo_n "(cached) " >&6
21639 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
21642 if test "$ac_cv_type_unsigned_long" = yes; then
21643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21645 as_fn_error
77 "cannot compute sizeof (unsigned long)
21646 See \`config.log' for more details" "$LINENO" 5; }
21648 ac_cv_sizeof_unsigned_long
=0
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
21654 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
21658 cat >>confdefs.h
<<_ACEOF
21659 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
21663 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
21664 uint32
="unsigned long"
21666 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
21685 cat >>confdefs.h
<<_ACEOF
21686 #define UINT32 $uint32
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
21691 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
21692 if ${ac_cv_func_qsort_argtype+:} false
; then :
21693 $as_echo_n "(cached) " >&6
21695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21696 /* end confdefs.h. */
21699 #include "stdlib.h"
21703 extern sortf(const void *, const void *);
21706 const void *b; { return 0; }
21712 qsort(base, 2, sizeof(char *), sortf);
21718 if ac_fn_c_try_compile
"$LINENO"; then :
21719 ac_cv_func_qsort_argtype
=void
21721 ac_cv_func_qsort_argtype
=char
21723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
21727 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
21729 cat >>confdefs.h
<<_ACEOF
21730 #define qsort_t $ac_cv_func_qsort_argtype
21735 for ac_header
in sys
/select.h sys
/socket.h
21737 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21738 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21739 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21740 cat >>confdefs.h
<<_ACEOF
21741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
21749 $as_echo_n "checking types of arguments for select... " >&6; }
21750 if ${ac_cv_func_select_args+:} false
; then :
21751 $as_echo_n "(cached) " >&6
21753 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
21754 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
21755 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
21756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758 $ac_includes_default
21759 #ifdef HAVE_SYS_SELECT_H
21760 # include <sys/select.h>
21762 #ifdef HAVE_SYS_SOCKET_H
21763 # include <sys/socket.h>
21769 extern int select ($ac_arg1,
21770 $ac_arg234, $ac_arg234, $ac_arg234,
21776 if ac_fn_c_try_compile
"$LINENO"; then :
21777 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
21779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21783 # Provide a safe default value.
21784 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
21788 $as_echo "$ac_cv_func_select_args" >&6; }
21789 ac_save_IFS
=$IFS; IFS
=','
21790 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
21794 cat >>confdefs.h
<<_ACEOF
21795 #define SELECT_TYPE_ARG1 $1
21799 cat >>confdefs.h
<<_ACEOF
21800 #define SELECT_TYPE_ARG234 ($2)
21804 cat >>confdefs.h
<<_ACEOF
21805 #define SELECT_TYPE_ARG5 ($3)
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
21812 $as_echo_n "checking for working strcoll... " >&6; }
21813 if ${ac_cv_func_strcoll_works+:} false
; then :
21814 $as_echo_n "(cached) " >&6
21816 if test "$cross_compiling" = yes; then :
21817 ac_cv_func_strcoll_works
=no
21819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21820 /* end confdefs.h. */
21821 $ac_includes_default
21825 return (strcoll ("abc", "def") >= 0 ||
21826 strcoll ("ABC", "DEF") >= 0 ||
21827 strcoll ("123", "456") >= 0)
21832 if ac_fn_c_try_run
"$LINENO"; then :
21833 ac_cv_func_strcoll_works
=yes
21835 ac_cv_func_strcoll_works
=no
21837 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21838 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
21843 $as_echo "$ac_cv_func_strcoll_works" >&6; }
21844 if test $ac_cv_func_strcoll_works = yes; then
21846 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
21852 for ac_header
in vfork.h
21854 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
21855 if test "x$ac_cv_header_vfork_h" = xyes
; then :
21856 cat >>confdefs.h
<<_ACEOF
21857 #define HAVE_VFORK_H 1
21864 for ac_func
in fork vfork
21866 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21867 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21868 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21869 cat >>confdefs.h
<<_ACEOF
21870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21876 if test "x$ac_cv_func_fork" = xyes
; then
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
21878 $as_echo_n "checking for working fork... " >&6; }
21879 if ${ac_cv_func_fork_works+:} false
; then :
21880 $as_echo_n "(cached) " >&6
21882 if test "$cross_compiling" = yes; then :
21883 ac_cv_func_fork_works
=cross
21885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21886 /* end confdefs.h. */
21887 $ac_includes_default
21892 /* By Ruediger Kuhlmann. */
21893 return fork () < 0;
21899 if ac_fn_c_try_run
"$LINENO"; then :
21900 ac_cv_func_fork_works
=yes
21902 ac_cv_func_fork_works
=no
21904 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21905 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
21910 $as_echo "$ac_cv_func_fork_works" >&6; }
21913 ac_cv_func_fork_works
=$ac_cv_func_fork
21915 if test "x$ac_cv_func_fork_works" = xcross
; then
21917 *-*-amigaos* |
*-*-msdosdjgpp*)
21918 # Override, as these systems have only a dummy fork() stub
21919 ac_cv_func_fork_works
=no
21922 ac_cv_func_fork_works
=yes
21925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21926 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21928 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21929 if test "x$ac_cv_func_vfork" = xyes
; then
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
21931 $as_echo_n "checking for working vfork... " >&6; }
21932 if ${ac_cv_func_vfork_works+:} false
; then :
21933 $as_echo_n "(cached) " >&6
21935 if test "$cross_compiling" = yes; then :
21936 ac_cv_func_vfork_works
=cross
21938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21939 /* end confdefs.h. */
21940 /* Thanks to Paul Eggert for this test. */
21941 $ac_includes_default
21942 #include <sys/wait.h>
21943 #ifdef HAVE_VFORK_H
21944 # include <vfork.h>
21946 /* On some sparc systems, changes by the child to local and incoming
21947 argument registers are propagated back to the parent. The compiler
21948 is told about this with #include <vfork.h>, but some compilers
21949 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21950 static variable whose address is put into a register that is
21951 clobbered by the vfork. */
21954 sparc_address_test (int arg)
21956 sparc_address_test (arg) int arg;
21959 static pid_t child;
21977 pid_t parent = getpid ();
21980 sparc_address_test (0);
21985 /* Here is another test for sparc vfork register problems. This
21986 test uses lots of local variables, at least as many local
21987 variables as main has allocated so far including compiler
21988 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21989 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21990 reuse the register of parent for one of the local variables,
21991 since it will think that parent can't possibly be used any more
21992 in this routine. Assigning to the local variable will thus
21993 munge parent in the parent process. */
21995 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21996 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21997 /* Convince the compiler that p..p7 are live; otherwise, it might
21998 use the same hardware register for all 8 local variables. */
21999 if (p != p1 || p != p2 || p != p3 || p != p4
22000 || p != p5 || p != p6 || p != p7)
22003 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
22004 from child file descriptors. If the child closes a descriptor
22005 before it execs or exits, this munges the parent's descriptor
22006 as well. Test for this by closing stdout in the child. */
22007 _exit(close(fileno(stdout)) != 0);
22012 while (wait(&status) != child)
22015 /* Was there some problem with vforking? */
22018 /* Did the child fail? (This shouldn't happen.) */
22021 /* Did the vfork/compiler bug occur? */
22022 || parent != getpid()
22024 /* Did the file descriptor bug occur? */
22025 || fstat(fileno(stdout), &st) != 0
22030 if ac_fn_c_try_run
"$LINENO"; then :
22031 ac_cv_func_vfork_works
=yes
22033 ac_cv_func_vfork_works
=no
22035 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22036 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
22041 $as_echo "$ac_cv_func_vfork_works" >&6; }
22044 if test "x$ac_cv_func_fork_works" = xcross
; then
22045 ac_cv_func_vfork_works
=$ac_cv_func_vfork
22046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
22047 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
22050 if test "x$ac_cv_func_vfork_works" = xyes
; then
22052 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
22056 $as_echo "#define vfork fork" >>confdefs.h
22059 if test "x$ac_cv_func_fork_works" = xyes
; then
22061 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
22065 for ac_func
in strchr \
22098 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22099 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22100 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22101 cat >>confdefs.h
<<_ACEOF
22102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
22110 $as_echo_n "checking for library containing gethostname... " >&6; }
22111 if ${ac_cv_search_gethostname+:} false
; then :
22112 $as_echo_n "(cached) " >&6
22114 ac_func_search_save_LIBS
=$LIBS
22115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22116 /* end confdefs.h. */
22118 /* Override any GCC internal prototype to avoid an error.
22119 Use char because int might match the return type of a GCC
22120 builtin and then its argument prototype would still apply. */
22124 char gethostname ();
22128 return gethostname ();
22133 for ac_lib
in '' nsl
; do
22134 if test -z "$ac_lib"; then
22135 ac_res
="none required"
22138 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22140 if ac_fn_c_try_link
"$LINENO"; then :
22141 ac_cv_search_gethostname
=$ac_res
22143 rm -f core conftest.err conftest.
$ac_objext \
22145 if ${ac_cv_search_gethostname+:} false
; then :
22149 if ${ac_cv_search_gethostname+:} false
; then :
22152 ac_cv_search_gethostname
=no
22154 rm conftest.
$ac_ext
22155 LIBS
=$ac_func_search_save_LIBS
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
22158 $as_echo "$ac_cv_search_gethostname" >&6; }
22159 ac_res
=$ac_cv_search_gethostname
22160 if test "$ac_res" != no
; then :
22161 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
22167 $as_echo_n "checking for library containing socket... " >&6; }
22168 if ${ac_cv_search_socket+:} false
; then :
22169 $as_echo_n "(cached) " >&6
22171 ac_func_search_save_LIBS
=$LIBS
22172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22173 /* end confdefs.h. */
22175 /* Override any GCC internal prototype to avoid an error.
22176 Use char because int might match the return type of a GCC
22177 builtin and then its argument prototype would still apply. */
22190 for ac_lib
in '' socket
; do
22191 if test -z "$ac_lib"; then
22192 ac_res
="none required"
22195 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22197 if ac_fn_c_try_link
"$LINENO"; then :
22198 ac_cv_search_socket
=$ac_res
22200 rm -f core conftest.err conftest.
$ac_objext \
22202 if ${ac_cv_search_socket+:} false
; then :
22206 if ${ac_cv_search_socket+:} false
; then :
22209 ac_cv_search_socket
=no
22211 rm conftest.
$ac_ext
22212 LIBS
=$ac_func_search_save_LIBS
22214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
22215 $as_echo "$ac_cv_search_socket" >&6; }
22216 ac_res
=$ac_cv_search_socket
22217 if test "$ac_res" != no
; then :
22218 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
22228 $as_echo_n "checking for library containing bind... " >&6; }
22229 if ${ac_cv_search_bind+:} false
; then :
22230 $as_echo_n "(cached) " >&6
22232 ac_func_search_save_LIBS
=$LIBS
22233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22234 /* end confdefs.h. */
22236 /* Override any GCC internal prototype to avoid an error.
22237 Use char because int might match the return type of a GCC
22238 builtin and then its argument prototype would still apply. */
22251 for ac_lib
in '' bind; do
22252 if test -z "$ac_lib"; then
22253 ac_res
="none required"
22256 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22258 if ac_fn_c_try_link
"$LINENO"; then :
22259 ac_cv_search_bind
=$ac_res
22261 rm -f core conftest.err conftest.
$ac_objext \
22263 if ${ac_cv_search_bind+:} false
; then :
22267 if ${ac_cv_search_bind+:} false
; then :
22270 ac_cv_search_bind
=no
22272 rm conftest.
$ac_ext
22273 LIBS
=$ac_func_search_save_LIBS
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
22276 $as_echo "$ac_cv_search_bind" >&6; }
22277 ac_res
=$ac_cv_search_bind
22278 if test "$ac_res" != no
; then :
22279 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22288 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
22290 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22291 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22292 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22293 cat >>confdefs.h
<<_ACEOF
22294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22298 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
22303 for ac_func
in sigset sigrelse
22305 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22306 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22307 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22308 cat >>confdefs.h
<<_ACEOF
22309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22313 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
22325 $as_echo_n "checking for library containing syslog... " >&6; }
22326 if ${ac_cv_search_syslog+:} false
; then :
22327 $as_echo_n "(cached) " >&6
22329 ac_func_search_save_LIBS
=$LIBS
22330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22331 /* end confdefs.h. */
22333 /* Override any GCC internal prototype to avoid an error.
22334 Use char because int might match the return type of a GCC
22335 builtin and then its argument prototype would still apply. */
22348 for ac_lib
in '' bsd socket inet
; do
22349 if test -z "$ac_lib"; then
22350 ac_res
="none required"
22353 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22355 if ac_fn_c_try_link
"$LINENO"; then :
22356 ac_cv_search_syslog
=$ac_res
22358 rm -f core conftest.err conftest.
$ac_objext \
22360 if ${ac_cv_search_syslog+:} false
; then :
22364 if ${ac_cv_search_syslog+:} false
; then :
22367 ac_cv_search_syslog
=no
22369 rm conftest.
$ac_ext
22370 LIBS
=$ac_func_search_save_LIBS
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
22373 $as_echo "$ac_cv_search_syslog" >&6; }
22374 ac_res
=$ac_cv_search_syslog
22375 if test "$ac_res" != no
; then :
22376 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22379 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
22386 if test -n "$alpine_with_local_maildir" ; then
22387 alpine_local_maildir
=$alpine_with_local_maildir
22388 elif test -d /var
/spool
/mail ; then
22389 alpine_local_maildir
="/var/spool/mail"
22390 elif test -d /var
/mail ; then
22391 alpine_local_maildir
="/var/mail"
22393 alpine_local_maildir
="/usr/spool/mail"
22396 if test -n "$alpine_with_c_client_target" ; then
22397 alpine_c_client_target
=$alpine_with_c_client_target
22401 cat >>confdefs.h
<<_ACEOF
22402 #define SYSTYPE "$systype"
22406 cat >>confdefs.h
<<_ACEOF
22407 #define C_FILESEP '$alpine_path_delim'
22411 cat >>confdefs.h
<<_ACEOF
22412 #define S_FILESEP "$alpine_path_delim"
22416 cat >>confdefs.h
<<_ACEOF
22417 #define MAILDIR "$alpine_local_maildir"
22421 cat >>confdefs.h
<<_ACEOF
22422 #define MODE_READONLY $alpine_mode_readonly
22426 cat >>confdefs.h
<<_ACEOF
22427 #define HTML_EXT "html"
22431 C_CLIENT_TARGET
=$alpine_c_client_target
22433 C_CLIENT_WITH_IPV6
=$c_client_ip6
22435 if test "x$alpine_SSLTYPE" = "xnone" ; then
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
22437 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
22438 c_client_specials
="${c_client_specials}SSLTYPE=none "
22441 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
22442 certdir
="$alpine_SSLCERTS"
22443 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
22444 certdir
="${alpine_SSLDIR}/certs"
22445 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
22446 certdir
="${alpine_SSLDIR}/ssl/certs"
22447 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
22448 certdir
="$alpine_SSLCERTS_ORIG"
22449 elif test -n "$alpine_SSLCERTS" ; then
22450 certdir
="$alpine_SSLCERTS"
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
22453 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
22456 if test "x$with_smime" != "xno" ; then
22457 if test -n "$certdir" ; then
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
22459 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
22461 $as_echo "#define SMIME /**/" >>confdefs.h
22464 cat >>confdefs.h
<<_ACEOF
22465 #define SMIME_SSLCERTS "$certdir"
22473 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
22474 SSL_BUNDLE_EXISTS
="no"
22475 SSL_PEM
="factory.pem ca-bundle.pem cert.pem ca-bundle.crt ca-root-nss.crt"
22476 for SSL_BUNDLE
in $SSL_PEM
22478 if test -f ${certdir}/${SSL_BUNDLE} ; then
22479 SSL_BUNDLE_EXISTS
="yes"
22483 SSL_CERT_LINK
="yes"
22486 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
22488 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
22490 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
22492 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
22494 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
22497 if test -n "$alpine_SSLINCLUDE" ; then
22498 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
22501 if test -n "$alpine_SSLLIB" ; then
22502 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
22505 if test -n "$alpine_SSLDIR" ; then
22506 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
22509 if test -n "$certdir" ; then
22510 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
22513 if test -n "$alpine_SSLKEYS" ; then
22514 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
22519 if test "x$alpine_GSSTYPE" != "xnone" ; then
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
22522 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
22526 if test "x$alpine_NTLM" != "xnone" ; then
22527 extra_auth_ntlm
=ntl
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
22529 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
22532 if test -n "$CPPFLAGS" ; then
22533 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
22535 if test -n "$CFLAGS" ; then
22536 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
22539 if test -n "$alpine_c_client_cflags" ; then
22540 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
22544 if test -n "$LDFLAGS" ; then
22545 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
22547 if test -n "$LIBS" ; then
22548 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
22551 if test -n "$alpine_c_client_ldflags" ; then
22552 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
22556 if test -n "$alpine_c_client_gccoptlevel" ; then
22557 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
22561 c_client_auths
="$extra_auth_gss $extra_auth_ntlm"
22562 C_CLIENT_AUTHS
=$c_client_auths
22565 C_CLIENT_SPECIALS
=$c_client_specials
22568 if test -z "$WEB_BUILD" ; then
22569 WEB_PUBCOOKIE_BUILD
=
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
22571 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
22573 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
22575 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
22576 if test "x$alpine_GSSTYPE" = "xnone" ; then
22577 WEB_PUBCOOKIE_BUILD
=
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
22579 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
22581 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
22582 elif test -z "$WEB_BINDIR" ; then
22583 WEB_PUBCOOKIE_BUILD
=
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
22585 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
22586 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
22587 Please re-run configure with these options:
22588 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
22591 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
22593 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
22594 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
22610 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"
22612 cat >confcache
<<\_ACEOF
22613 # This file is a shell script that caches the results of configure
22614 # tests run on this system so they can be shared between configure
22615 # scripts and configure runs, see configure's option --config-cache.
22616 # It is not useful on other systems. If it contains results you don't
22617 # want to keep, you may remove or edit it.
22619 # config.status only pays attention to the cache file if you give it
22620 # the --recheck option to rerun configure.
22622 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22623 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22624 # following values.
22628 # The following way of writing the cache mishandles newlines in values,
22629 # but we know of no workaround that is simple, portable, and efficient.
22630 # So, we kill variables containing newlines.
22631 # Ultrix sh set writes to stderr and can't be redirected directly,
22632 # and sets the high bit in the cache file unless we assign to the vars.
22634 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22635 eval ac_val
=\$
$ac_var
22639 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22640 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22643 _ | IFS | as_nl
) ;; #(
22644 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22645 *) { eval $ac_var=; unset $ac_var;} ;;
22651 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22652 *${as_nl}ac_space
=\
*)
22653 # `set' does not quote correctly, so add quotes: double-quote
22654 # substitution turns \\\\ into \\, and sed turns \\ into \.
22657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22660 # `set' quotes correctly as required by POSIX, so do not add quotes.
22661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22670 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22672 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22674 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22675 if test -w "$cache_file"; then
22676 if test "x$cache_file" != "x/dev/null"; then
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22678 $as_echo "$as_me: updating cache $cache_file" >&6;}
22679 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22680 cat confcache
>"$cache_file"
22682 case $cache_file in #(
22684 mv -f confcache
"$cache_file"$$
&&
22685 mv -f "$cache_file"$$
"$cache_file" ;; #(
22687 mv -f confcache
"$cache_file" ;;
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22693 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22698 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22699 # Let make expand exec_prefix.
22700 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22702 DEFS
=-DHAVE_CONFIG_H
22707 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22708 # 1. Remove the extension, and $U if already installed.
22709 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22710 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22711 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22712 # will be set to the directory where LIBOBJS objects are built.
22713 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22714 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22716 LIBOBJS
=$ac_libobjs
22718 LTLIBOBJS
=$ac_ltlibobjs
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22722 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22723 if test -n "$am_sleep_pid"; then
22724 # Hide warnings about reused PIDs.
22725 wait $am_sleep_pid 2>/dev
/null
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22728 $as_echo "done" >&6; }
22729 if test -n "$EXEEXT"; then
22731 am__EXEEXT_FALSE
='#'
22733 am__EXEEXT_TRUE
='#'
22737 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22738 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22741 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22742 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22745 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22746 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22749 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22750 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22754 : "${CONFIG_STATUS=./config.status}"
22756 ac_clean_files_save
=$ac_clean_files
22757 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22759 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22761 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22763 # Generated by $as_me.
22764 # Run this file to recreate the current configuration.
22765 # Compiler output produced by configure, useful for debugging
22766 # configure, is in config.log if it exists.
22769 ac_cs_recheck=false
22772 SHELL=\${CONFIG_SHELL-$SHELL}
22775 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22776 ## -------------------- ##
22777 ## M4sh Initialization. ##
22778 ## -------------------- ##
22780 # Be more Bourne compatible
22781 DUALCASE
=1; export DUALCASE
# for MKS sh
22782 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22785 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22786 # is contrary to our usage. Disable this feature.
22787 alias -g '${1+"$@"}'='"$@"'
22788 setopt NO_GLOB_SUBST
22790 case `(set -o) 2>/dev/null` in #(
22802 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22803 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22804 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22805 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22806 # Prefer a ksh shell builtin over an external printf program on Solaris,
22807 # but without wasting forks for bash or zsh.
22808 if test -z "$BASH_VERSION$ZSH_VERSION" \
22809 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22810 as_echo='print
-r --'
22811 as_echo_n='print
-rn --'
22812 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22813 as_echo='printf %s
\n'
22814 as_echo_n='printf %s
'
22816 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22817 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22818 as_echo_n='/usr
/ucb
/echo -n'
22820 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22821 as_echo_n_body='eval
22825 expr "X$arg" : "X\\(.*\\)$as_nl";
22826 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22828 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22830 export as_echo_n_body
22831 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22833 export as_echo_body
22834 as_echo='sh
-c $as_echo_body as_echo
'
22837 # The user is always right.
22838 if test "${PATH_SEPARATOR+set}" != set; then
22840 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22841 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22848 # We need space, tab and new line, in precisely that order. Quoting is
22849 # there to prevent editors from complaining about space-tab.
22850 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22851 # splitting by setting IFS to empty value.)
22854 # Find who we are. Look in the path if we contain no directory separator.
22857 *[\\/]* ) as_myself=$0 ;;
22858 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22859 for as_dir in $PATH
22862 test -z "$as_dir" && as_dir=.
22863 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22869 # We did not find ourselves, most probably we were run as `sh COMMAND'
22870 # in which case we are not to be found in the path.
22871 if test "x$as_myself" = x
; then
22874 if test ! -f "$as_myself"; then
22875 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22879 # Unset variables that we do not need and which cause bugs (e.g. in
22880 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22881 # suppresses any "Segmentation fault" message there. '((' could
22882 # trigger a bug in pdksh 5.2.14.
22883 for as_var
in BASH_ENV ENV MAIL MAILPATH
22884 do eval test x\
${$as_var+set} = xset \
22885 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22898 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22901 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22902 # ----------------------------------------
22903 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22904 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22905 # script with STATUS, using 1 if that was 0.
22908 as_status
=$1; test $as_status -eq 0 && as_status
=1
22910 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22911 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22913 $as_echo "$as_me: error: $2" >&2
22914 as_fn_exit
$as_status
22918 # as_fn_set_status STATUS
22919 # -----------------------
22920 # Set $? to STATUS, without forking.
22921 as_fn_set_status
()
22924 } # as_fn_set_status
22926 # as_fn_exit STATUS
22927 # -----------------
22928 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22932 as_fn_set_status
$1
22938 # Portably unset VAR.
22941 { eval $1=; unset $1;}
22943 as_unset
=as_fn_unset
22944 # as_fn_append VAR VALUE
22945 # ----------------------
22946 # Append the text in VALUE to the end of the definition contained in VAR. Take
22947 # advantage of any shell optimizations that allow amortized linear growth over
22948 # repeated appends, instead of the typical quadratic growth present in naive
22950 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22951 eval 'as_fn_append ()
22962 # as_fn_arith ARG...
22963 # ------------------
22964 # Perform arithmetic evaluation on the ARGs, and store the result in the
22965 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22966 # must be portable across $(()) and expr.
22967 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22968 eval 'as_fn_arith ()
22975 as_val
=`expr "$@" || test $? -eq 1`
22980 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22981 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22987 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22988 as_basename
=basename
22993 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22999 as_me
=`$as_basename -- "$0" ||
23000 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23001 X"$0" : 'X\(//\)$' \| \
23002 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23004 sed '/^.*\/\([^/][^/]*\)\/*$/{
23018 # Avoid depending upon Character Ranges.
23019 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23020 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23021 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23022 as_cr_digits
='0123456789'
23023 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23025 ECHO_C
= ECHO_N
= ECHO_T
=
23026 case `echo -n x` in #(((((
23028 case `echo 'xy\c'` in
23029 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23031 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23038 rm -f conf$$ conf$$.exe conf$$.
file
23039 if test -d conf$$.dir
; then
23040 rm -f conf$$.dir
/conf$$.
file
23043 mkdir conf$$.dir
2>/dev
/null
23045 if (echo >conf$$.
file) 2>/dev
/null
; then
23046 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23048 # ... but there are two gotchas:
23049 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23050 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23051 # In both cases, we have to default to `cp -pR'.
23052 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23054 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23062 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23063 rmdir conf$$.dir
2>/dev
/null
23068 # Create "$as_dir" as a directory, including parents if necessary.
23073 -*) as_dir
=.
/$as_dir;;
23075 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23079 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23080 *) as_qdir
=$as_dir;;
23082 as_dirs
="'$as_qdir' $as_dirs"
23083 as_dir
=`$as_dirname -- "$as_dir" ||
23084 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23085 X"$as_dir" : 'X\(//\)[^/]' \| \
23086 X"$as_dir" : 'X\(//\)$' \| \
23087 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23088 $as_echo X"$as_dir" |
23089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23093 /^X\(\/\/\)[^/].*/{
23106 test -d "$as_dir" && break
23108 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23109 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23113 if mkdir
-p .
2>/dev
/null
; then
23114 as_mkdir_p
='mkdir -p "$as_dir"'
23116 test -d .
/-p && rmdir .
/-p
23121 # as_fn_executable_p FILE
23122 # -----------------------
23123 # Test if FILE is an executable regular file.
23124 as_fn_executable_p
()
23126 test -f "$1" && test -x "$1"
23127 } # as_fn_executable_p
23128 as_test_x
='test -x'
23129 as_executable_p
=as_fn_executable_p
23131 # Sed expression to map a string onto a valid CPP name.
23132 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23134 # Sed expression to map a string onto a valid variable name.
23135 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23139 ## ----------------------------------- ##
23140 ## Main body of $CONFIG_STATUS script. ##
23141 ## ----------------------------------- ##
23143 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23146 # Save the log message, to keep $0 and so on meaningful, and to
23147 # report actual input values of CONFIG_FILES etc. instead of their
23148 # values after options handling.
23150 This file was extended by alpine $as_me 2.22, which was
23151 generated by GNU Autoconf 2.69. Invocation command line was
23153 CONFIG_FILES = $CONFIG_FILES
23154 CONFIG_HEADERS = $CONFIG_HEADERS
23155 CONFIG_LINKS = $CONFIG_LINKS
23156 CONFIG_COMMANDS = $CONFIG_COMMANDS
23159 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23164 case $ac_config_files in *"
23165 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
23168 case $ac_config_headers in *"
23169 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23174 # Files that config.status was made for.
23175 config_files="$ac_config_files"
23176 config_headers="$ac_config_headers"
23177 config_commands="$ac_config_commands"
23181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23183 \`$as_me' instantiates files and other configuration actions
23184 from templates according to the current configuration. Unless the files
23185 and actions are specified as TAGs, all are instantiated by default.
23187 Usage: $0 [OPTION]... [TAG]...
23189 -h, --help print this help, then exit
23190 -V, --version print version number and configuration settings, then exit
23191 --config print configuration, then exit
23192 -q, --quiet, --silent
23193 do not print progress messages
23194 -d, --debug don't remove temporary files
23195 --recheck update $as_me by reconfiguring in the same conditions
23196 --file=FILE[:TEMPLATE]
23197 instantiate the configuration file FILE
23198 --header=FILE[:TEMPLATE]
23199 instantiate the configuration header FILE
23201 Configuration files:
23204 Configuration headers:
23207 Configuration commands:
23210 Report bugs to <chappa@washington.edu>."
23213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23214 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23216 alpine config.status 2.22
23217 configured by $0, generated by GNU Autoconf 2.69,
23218 with options \\"\$ac_cs_config\\"
23220 Copyright (C) 2012 Free Software Foundation, Inc.
23221 This config.status script is free software; the Free Software Foundation
23222 gives unlimited permission to copy, distribute and modify it."
23229 test -n "\$AWK" || AWK=awk
23232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23233 # The default lists apply if the user does not specify any file.
23239 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23240 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23244 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23256 # Handling of the options.
23257 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23259 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23260 $as_echo "$ac_cs_version"; exit ;;
23261 --config |
--confi |
--conf |
--con |
--co |
--c )
23262 $as_echo "$ac_cs_config"; exit ;;
23263 --debug |
--debu |
--deb |
--de |
--d |
-d )
23265 --file |
--fil |
--fi |
--f )
23268 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23269 '') as_fn_error $?
"missing file argument" ;;
23271 as_fn_append CONFIG_FILES
" '$ac_optarg'"
23272 ac_need_defaults
=false
;;
23273 --header |
--heade |
--head |
--hea )
23276 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23278 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23279 ac_need_defaults
=false
;;
23281 # Conflict between --help and --header
23282 as_fn_error $?
"ambiguous option: \`$1'
23283 Try \`$0 --help' for more information.";;
23284 --help |
--hel |
-h )
23285 $as_echo "$ac_cs_usage"; exit ;;
23286 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23287 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23290 # This is an error.
23291 -*) as_fn_error $?
"unrecognized option: \`$1'
23292 Try \`$0 --help' for more information." ;;
23294 *) as_fn_append ac_config_targets
" $1"
23295 ac_need_defaults
=false
;;
23301 ac_configure_extra_args
=
23303 if $ac_cs_silent; then
23305 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23310 if \$ac_cs_recheck; then
23311 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23313 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23314 CONFIG_SHELL='$SHELL'
23315 export CONFIG_SHELL
23320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23324 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23325 ## Running $as_me. ##
23331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23335 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23338 # The HP-UX ksh and POSIX shell print the target directory to stdout
23339 # if CDPATH is set.
23340 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23342 sed_quote_subst='$sed_quote_subst'
23343 double_quote_subst='$double_quote_subst'
23344 delay_variable_subst='$delay_variable_subst'
23345 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23346 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23347 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23348 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23349 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23350 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23351 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
23352 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23353 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23354 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23355 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23356 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23357 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23358 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23359 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23360 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23361 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23362 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23363 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23364 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23365 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23366 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23367 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23368 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23369 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23370 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23371 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23372 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23373 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23374 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23375 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23376 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23377 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23378 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23379 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23380 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23381 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23382 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23383 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23384 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23385 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23386 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23387 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23388 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23389 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23390 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23391 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23392 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23393 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23394 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23395 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23396 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23397 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23398 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23399 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23400 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23401 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
23402 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23403 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"`'
23404 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
23405 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23406 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23407 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
23408 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23409 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23410 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23411 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23412 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23413 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23414 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23415 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23416 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23417 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23418 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23419 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23420 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23421 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23422 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23423 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23424 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23425 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23426 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23427 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23428 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23429 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23430 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23431 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23432 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23433 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23434 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23435 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23436 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23437 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23438 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23439 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23440 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23441 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23442 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23443 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23444 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23445 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23446 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23447 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23448 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23449 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23450 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23451 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23452 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23453 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23454 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23455 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23456 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23457 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23458 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23459 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23460 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23461 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23462 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23463 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23464 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23465 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23466 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23467 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23468 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23469 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23470 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23471 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23472 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
23473 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
23474 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23475 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23476 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23477 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23478 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23479 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23482 LTCFLAGS='$LTCFLAGS'
23483 compiler='$compiler_DEFAULT'
23485 # A function that is used when there is no print builtin or printf.
23486 func_fallback_echo ()
23488 eval 'cat <<_LTECHO_EOF
23493 # Quote evaled strings.
23508 deplibs_check_method \
23513 sharedlib_from_linklib_cmd \
23516 archiver_list_spec \
23522 lt_cv_sys_global_symbol_pipe \
23523 lt_cv_sys_global_symbol_to_cdecl \
23524 lt_cv_sys_global_symbol_to_import \
23525 lt_cv_sys_global_symbol_to_c_name_address \
23526 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23527 lt_cv_nm_interface \
23528 nm_file_list_spec \
23529 lt_cv_truncate_bin \
23530 lt_prog_compiler_no_builtin_flag \
23531 lt_prog_compiler_pic \
23532 lt_prog_compiler_wl \
23533 lt_prog_compiler_static \
23534 lt_cv_prog_compiler_c_o \
23543 export_dynamic_flag_spec \
23544 whole_archive_flag_spec \
23545 compiler_needs_object \
23547 allow_undefined_flag \
23548 no_undefined_flag \
23549 hardcode_libdir_flag_spec \
23550 hardcode_libdir_separator \
23554 variables_saved_for_relink \
23556 library_names_spec \
23558 install_override_mode \
23562 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23563 *[\\\\\\\`\\"\\\$]*)
23564 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23567 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23572 # Double-quote double-evaled strings.
23573 for var in reload_cmds \
23574 old_postinstall_cmds \
23575 old_postuninstall_cmds \
23577 extract_expsyms_cmds \
23578 old_archive_from_new_cmds \
23579 old_archive_from_expsyms_cmds \
23581 archive_expsym_cmds \
23583 module_expsym_cmds \
23584 export_symbols_cmds \
23588 postuninstall_cmds \
23590 sys_lib_search_path_spec \
23591 configure_time_dlsearch_path \
23592 configure_time_lt_sys_library_path; do
23593 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23594 *[\\\\\\\`\\"\\\$]*)
23595 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23598 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23603 ac_aux_dir='$ac_aux_dir'
23605 # See if we are running on zsh, and set the options that allow our
23606 # commands through without removal of \ escapes INIT.
23607 if test -n "\${ZSH_VERSION+set}"; then
23608 setopt NO_GLOB_SUBST
23619 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
23620 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
23621 # from automake < 1.5.
23622 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
23623 # Capture the value of LINGUAS because we need it to compute CATALOGS.
23624 LINGUAS="${LINGUAS-%UNSET%}"
23629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23631 # Handling of arguments.
23632 for ac_config_target
in $ac_config_targets
23634 case $ac_config_target in
23635 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23636 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23637 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23638 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
23639 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
23640 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
23641 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
23642 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
23643 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
23644 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
23645 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
23646 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
23647 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
23648 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
23649 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
23650 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
23651 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
23652 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23654 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23659 # If the user did not use the arguments to specify the items to instantiate,
23660 # then the envvar interface is used. Set only those that are not.
23661 # We use the long form for the default assignment because of an extremely
23662 # bizarre bug on SunOS 4.1.3.
23663 if $ac_need_defaults; then
23664 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23665 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23666 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23669 # Have a temporary directory for convenience. Make it in the build tree
23670 # simply because there is no reason against having it here, and in addition,
23671 # creating and moving files from /tmp can sometimes cause problems.
23672 # Hook for its removal unless debugging.
23673 # Note that there is a small window in which the directory will not be cleaned:
23674 # after its creation but before its name has been assigned to `$tmp'.
23678 trap 'exit_status=$?
23679 : "${ac_tmp:=$tmp}"
23680 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23682 trap 'as_fn_exit 1' 1 2 13 15
23684 # Create a (secure) tmp directory for tmp files.
23687 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23691 tmp
=.
/conf$$
-$RANDOM
23692 (umask 077 && mkdir
"$tmp")
23693 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23696 # Set up the scripts for CONFIG_FILES section.
23697 # No need to generate them if there are no CONFIG_FILES.
23698 # This happens for instance with `./config.status config.h'.
23699 if test -n "$CONFIG_FILES"; then
23702 ac_cr
=`echo X | tr X '\015'`
23703 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23704 # But we know of no other shell where ac_cr would be empty at this
23705 # point, so we can use a bashism as a fallback.
23706 if test "x$ac_cr" = x
; then
23707 eval ac_cr
=\$
\'\\r
\'
23709 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23710 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23713 ac_cs_awk_cr
=$ac_cr
23716 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23721 echo "cat >conf$$subs.awk <<_ACEOF" &&
23722 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23724 } >conf$$subs.sh ||
23725 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23726 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23728 for ac_last_try in false false false false false :; do
23729 . ./conf$$subs.sh ||
23730 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23732 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23733 if test $ac_delim_n = $ac_delim_num; then
23735 elif $ac_last_try; then
23736 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23738 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23741 rm -f conf$$subs.sh
23743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23744 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23748 s/^/S["/; s
/!.
*/"]=/
23758 s/\(.\{148\}\)..*/\1/
23760 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23765 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23772 s/\(.\{148\}\)..*/\1/
23774 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23778 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23783 ' <conf$$subs.awk | sed '
23788 ' >>$CONFIG_STATUS || ac_write_fail=1
23789 rm -f conf$$subs.awk
23790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23792 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23793 for (key in S) S_is_set[key] = 1
23799 nfields = split(line, field, "@
")
23801 len = length(field[1])
23802 for (i = 2; i < nfields; i++) {
23804 keylen = length(key)
23805 if (S_is_set[key]) {
23807 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23808 len += length(value) + length(field[++i])
23819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23820 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23821 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23824 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23825 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23828 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23829 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23830 # trailing colons and then remove the whole line if VPATH becomes empty
23831 # (actually we leave an empty line to preserve line numbers).
23832 if test "x
$srcdir" = x.; then
23833 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23852 fi # test -n "$CONFIG_FILES"
23854 # Set up the scripts for CONFIG_HEADERS section.
23855 # No need to generate them if there are no CONFIG_HEADERS.
23856 # This happens for instance with `./config.status Makefile'.
23857 if test -n "$CONFIG_HEADERS"; then
23858 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23862 # Transform confdefs.h into an awk script `defines.awk', embedded as
23863 # here-document in config.status, that substitutes the proper values into
23864 # config.h.in to produce config.h.
23866 # Create a delimiter string that does not exist in confdefs.h, to ease
23867 # handling of long lines.
23869 for ac_last_try in false false :; do
23870 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23871 if test -z "$ac_tt"; then
23873 elif $ac_last_try; then
23874 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23876 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23880 # For the awk script, D is an array of macro values keyed by name,
23881 # likewise P contains macro parameters if any. Preserve backslash
23882 # newline sequences.
23884 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23886 s/.\{148\}/&'"$ac_delim"'/g
23889 s/^[ ]*#[ ]*define[ ][ ]*/ /
23896 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23898 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23902 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23903 D["\
1"]=" \
3\\\\\\n
"\\/p
23905 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23910 s/.\{148\}/&'"$ac_delim"'/g
23915 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23918 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23920 ' <confdefs.h | sed '
23921 s/'"$ac_delim"'/"\\\
23922 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23925 for (key in D) D_is_set[key] = 1
23928 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23930 split(line, arg, " ")
23931 if (arg[1] == "#") {
23935 defundef
= substr
(arg
[1], 2)
23938 split(mac1
, mac2
, "(") #)
23940 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23941 if (D_is_set
[macro
]) {
23942 # Preserve the white space surrounding the "#".
23943 print prefix
"define", macro P
[macro
] D
[macro
]
23946 # Replace #undef with comments. This is necessary, for example,
23947 # in the case of _POSIX_SOURCE, which is predefined and required
23948 # on some systems where configure will not decide to define it.
23949 if (defundef
== "undef") {
23950 print
"/*", prefix defundef
, macro
, "*/"
23958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23959 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23960 fi # test -n "$CONFIG_HEADERS"
23963 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23968 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23970 case $ac_mode$ac_tag in
23972 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23973 :[FH
]-) ac_tag
=-:-;;
23974 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23991 -) ac_f
="$ac_tmp/stdin";;
23992 *) # Look for the file first in the build tree, then in the source tree
23993 # (if the path is not absolute). The absolute path cannot be DOS-style,
23994 # because $ac_f cannot contain `:'.
23998 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24000 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24002 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24003 as_fn_append ac_file_inputs
" '$ac_f'"
24006 # Let's still pretend it is `configure' which instantiates (i.e., don't
24007 # use $as_me), people would be surprised to read:
24008 # /* config.h. Generated by config.status. */
24009 configure_input
='Generated from '`
24010 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24012 if test x
"$ac_file" != x-
; then
24013 configure_input
="$ac_file. $configure_input"
24014 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24015 $as_echo "$as_me: creating $ac_file" >&6;}
24017 # Neutralize special characters interpreted by sed in replacement strings.
24018 case $configure_input in #(
24019 *\
&* |
*\|
* |
*\\* )
24020 ac_sed_conf_input
=`$as_echo "$configure_input" |
24021 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24022 *) ac_sed_conf_input
=$configure_input;;
24026 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24027 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24032 ac_dir
=`$as_dirname -- "$ac_file" ||
24033 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24034 X"$ac_file" : 'X\(//\)[^/]' \| \
24035 X"$ac_file" : 'X\(//\)$' \| \
24036 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24037 $as_echo X"$ac_file" |
24038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24042 /^X\(\/\/\)[^/].*/{
24055 as_dir
="$ac_dir"; as_fn_mkdir_p
24059 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24061 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24062 # A ".." for each directory in $ac_dir_suffix.
24063 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24064 case $ac_top_builddir_sub in
24065 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24066 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24069 ac_abs_top_builddir
=$ac_pwd
24070 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24071 # for backward compatibility:
24072 ac_top_builddir
=$ac_top_build_prefix
24075 .
) # We are building in place.
24077 ac_top_srcdir
=$ac_top_builddir_sub
24078 ac_abs_top_srcdir
=$ac_pwd ;;
24079 [\\/]* | ?
:[\\/]* ) # Absolute name.
24080 ac_srcdir
=$srcdir$ac_dir_suffix;
24081 ac_top_srcdir
=$srcdir
24082 ac_abs_top_srcdir
=$srcdir ;;
24083 *) # Relative name.
24084 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24085 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24086 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24088 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24098 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24099 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24101 ac_MKDIR_P
=$MKDIR_P
24103 [\\/$
]* | ?
:[\\/]* ) ;;
24104 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
24108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24109 # If the template does not know about datarootdir, expand it.
24110 # FIXME: This hack should be removed a few years after 2.60.
24111 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24122 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24123 *datarootdir
*) ac_datarootdir_seen
=yes;;
24124 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24126 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24129 ac_datarootdir_hack='
24130 s&@datadir@&$datadir&g
24131 s&@docdir@&$docdir&g
24132 s&@infodir@&$infodir&g
24133 s&@localedir@&$localedir&g
24134 s&@mandir@&$mandir&g
24135 s&\\\${datarootdir}&$datarootdir&g' ;;
24139 # Neutralize VPATH when `$srcdir' = `.'.
24140 # Shell code in configure.ac might set extrasub.
24141 # FIXME: do we really want to maintain this feature?
24142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24143 ac_sed_extra="$ac_vpsub
24146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24148 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24149 s|@configure_input@|
$ac_sed_conf_input|
;t t
24150 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24151 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
24152 s
&@srcdir@
&$ac_srcdir&;t t
24153 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24154 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24155 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24156 s
&@builddir@
&$ac_builddir&;t t
24157 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24158 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24159 s
&@INSTALL@
&$ac_INSTALL&;t t
24160 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24161 $ac_datarootdir_hack
24163 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
24164 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
24166 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24167 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
24168 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
24169 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24171 which seems to be undefined. Please make sure it is defined" >&5
24172 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24173 which seems to be undefined. Please make sure it is defined" >&2;}
24175 rm -f "$ac_tmp/stdin"
24177 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24178 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24180 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24186 if test x"$ac_file" != x-; then
24188 $as_echo "/* $configure_input */" \
24189 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24190 } >"$ac_tmp/config.h" \
24191 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24192 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24194 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24197 mv "$ac_tmp/config.h" "$ac_file" \
24198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24201 $as_echo "/* $configure_input */" \
24202 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24203 || as_fn_error $? "could not create -" "$LINENO" 5
24205 # Compute "$ac_file"'s index
in $config_headers.
24208 for _am_header
in $config_headers :; do
24209 case $_am_header in
24210 $_am_arg |
$_am_arg:* )
24213 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24216 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24217 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24218 X"$_am_arg" : 'X\(//\)[^/]' \| \
24219 X"$_am_arg" : 'X\(//\)$' \| \
24220 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24221 $as_echo X"$_am_arg" |
24222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24226 /^X\(\/\/\)[^/].*/{
24238 s/.*/./; q'`/stamp-h
$_am_stamp_count
24241 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24242 $as_echo "$as_me: executing $ac_file commands" >&6;}
24247 case $ac_file$ac_mode in
24248 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
24249 # Older Autoconf quotes --file arguments for eval, but not when files
24250 # are listed without --file. Let's play safe and only enable the eval
24251 # if we detect the quoting.
24252 case $CONFIG_FILES in
24253 *\'*) eval set x
"$CONFIG_FILES" ;;
24254 *) set x
$CONFIG_FILES ;;
24259 # Strip MF so we end up with the name of the file.
24260 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24261 # Check whether this is an Automake generated Makefile or not.
24262 # We used to match only the files named 'Makefile.in', but
24263 # some people rename them; so instead we look at the file content.
24264 # Grep'ing the first line is not enough: some people post-process
24265 # each Makefile.in and add a new line on top of each file to say so.
24266 # Grep'ing the whole file is not good either: AIX grep has a line
24267 # limit of 2048, but all sed's we know have understand at least 4000.
24268 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24269 dirpart
=`$as_dirname -- "$mf" ||
24270 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24271 X"$mf" : 'X\(//\)[^/]' \| \
24272 X"$mf" : 'X\(//\)$' \| \
24273 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24279 /^X\(\/\/\)[^/].*/{
24295 # Extract the definition of DEPDIR, am__include, and am__quote
24296 # from the Makefile without running 'make'.
24297 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24298 test -z "$DEPDIR" && continue
24299 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24300 test -z "$am__include" && continue
24301 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24302 # Find all dependency output files, they are included files with
24303 # $(DEPDIR) in their names. We invoke sed twice because it is the
24304 # simplest approach to changing $(DEPDIR) to its actual value in the
24306 for file in `sed -n "
24307 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24308 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
24309 # Make sure the directory exists.
24310 test -f "$dirpart/$file" && continue
24311 fdir
=`$as_dirname -- "$file" ||
24312 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24313 X"$file" : 'X\(//\)[^/]' \| \
24314 X"$file" : 'X\(//\)$' \| \
24315 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24316 $as_echo X"$file" |
24317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24321 /^X\(\/\/\)[^/].*/{
24334 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
24335 # echo "creating $dirpart/$file"
24336 echo '# dummy' > "$dirpart/$file"
24343 # See if we are running on zsh, and set the options that allow our
24344 # commands through without removal of \ escapes.
24345 if test -n "${ZSH_VERSION+set}"; then
24346 setopt NO_GLOB_SUBST
24350 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24353 cat <<_LT_EOF >> "$cfgfile"
24355 # Generated automatically by $as_me ($PACKAGE) $VERSION
24356 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24358 # Provide generalized library-building support services.
24359 # Written by Gordon Matzigkeit, 1996
24361 # Copyright (C) 2014 Free Software Foundation, Inc.
24362 # This is free software; see the source for copying conditions. There is NO
24363 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24365 # GNU Libtool is free software; you can redistribute it and/or modify
24366 # it under the terms of the GNU General Public License as published by
24367 # the Free Software Foundation; either version 2 of of the License, or
24368 # (at your option) any later version.
24370 # As a special exception to the GNU General Public License, if you
24371 # distribute this file as part of a program or library that is built
24372 # using GNU Libtool, you may include this file under the same
24373 # distribution terms that you use for the rest of that program.
24375 # GNU Libtool is distributed in the hope that it will be useful, but
24376 # WITHOUT ANY WARRANTY; without even the implied warranty of
24377 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24378 # GNU General Public License for more details.
24380 # You should have received a copy of the GNU General Public License
24381 # along with this program. If not, see <http://www.gnu.org/licenses/>.
24384 # The names of the tagged configurations supported by this script.
24387 # Configured defaults for sys_lib_dlsearch_path munging.
24388 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
24390 # ### BEGIN LIBTOOL CONFIG
24392 # Which release of libtool.m4 was used?
24393 macro_version=$macro_version
24394 macro_revision=$macro_revision
24396 # Whether or not to build shared libraries.
24397 build_libtool_libs=$enable_shared
24399 # Whether or not to build static libraries.
24400 build_old_libs=$enable_static
24402 # What type of objects to build.
24405 # Whether or not to optimize for fast installation.
24406 fast_install=$enable_fast_install
24408 # Shared archive member basename,for filename based shared library versioning on AIX.
24409 shared_archive_member_spec=$shared_archive_member_spec
24411 # Shell to use when invoking shell scripts.
24414 # An echo program that protects backslashes.
24417 # The PATH separator for the build system.
24418 PATH_SEPARATOR=$lt_PATH_SEPARATOR
24421 host_alias=$host_alias
24425 # The build system.
24426 build_alias=$build_alias
24430 # A sed program that does not truncate output.
24433 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24434 Xsed="\$SED -e 1s/^X//"
24436 # A grep program that handles long lines.
24442 # A literal string matcher.
24445 # A BSD- or MS-compatible name lister.
24448 # Whether we need soft or hard links.
24451 # What is the maximum length of a command?
24452 max_cmd_len=$max_cmd_len
24454 # Object file suffix (normally "o").
24457 # Executable file suffix (normally "").
24460 # whether the shell understands "unset".
24463 # turn spaces into newlines.
24466 # turn newlines into spaces.
24469 # convert \$build file names to \$host format.
24470 to_host_file_cmd=$lt_cv_to_host_file_cmd
24472 # convert \$build files to toolchain format.
24473 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
24475 # An object symbol dumper.
24476 OBJDUMP=$lt_OBJDUMP
24478 # Method to check whether dependent libraries are shared objects.
24479 deplibs_check_method=$lt_deplibs_check_method
24481 # Command to use when deplibs_check_method = "file_magic".
24482 file_magic_cmd=$lt_file_magic_cmd
24484 # How to find potential files when deplibs_check_method = "file_magic".
24485 file_magic_glob=$lt_file_magic_glob
24487 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
24488 want_nocaseglob=$lt_want_nocaseglob
24490 # DLL creation program.
24491 DLLTOOL=$lt_DLLTOOL
24493 # Command to associate shared and link libraries.
24494 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
24499 # Flags to create an archive.
24500 AR_FLAGS=$lt_AR_FLAGS
24502 # How to feed a file listing to the archiver.
24503 archiver_list_spec=$lt_archiver_list_spec
24505 # A symbol stripping program.
24508 # Commands used to install an old-style archive.
24510 old_postinstall_cmds=$lt_old_postinstall_cmds
24511 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24513 # Whether to use a lock for old archive extraction.
24514 lock_old_archive_extraction=$lock_old_archive_extraction
24519 # LTCC compiler flags.
24520 LTCFLAGS=$lt_CFLAGS
24522 # Take the output of nm and produce a listing of raw symbols and C names.
24523 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24525 # Transform the output of nm in a proper C declaration.
24526 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24528 # Transform the output of nm into a list of symbols to manually relocate.
24529 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
24531 # Transform the output of nm in a C name address pair.
24532 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24534 # Transform the output of nm in a C name address pair when lib prefix is needed.
24535 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24537 # The name lister interface.
24538 nm_interface=$lt_lt_cv_nm_interface
24540 # Specify filename containing input files for \$NM.
24541 nm_file_list_spec=$lt_nm_file_list_spec
24543 # The root where to search for dependent libraries,and where our libraries should be installed.
24544 lt_sysroot=$lt_sysroot
24546 # Command to truncate a binary pipe.
24547 lt_truncate_bin=$lt_lt_cv_truncate_bin
24549 # The name of the directory that contains temporary libtool files.
24552 # Used to examine libraries when file_magic_cmd begins with "file".
24553 MAGIC_CMD=$MAGIC_CMD
24555 # Must we lock files when doing compilation?
24556 need_locks=$lt_need_locks
24559 MANIFEST_TOOL=$lt_MANIFEST_TOOL
24561 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24562 DSYMUTIL=$lt_DSYMUTIL
24564 # Tool to change global to local symbols on Mac OS X.
24567 # Tool to manipulate fat objects and archives on Mac OS X.
24570 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24573 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24574 OTOOL64=$lt_OTOOL64
24576 # Old archive suffix (normally "a").
24579 # Shared library suffix (normally ".so").
24580 shrext_cmds=$lt_shrext_cmds
24582 # The commands to extract the exported symbol list from a shared archive.
24583 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24585 # Variables whose values should be saved in libtool wrapper scripts and
24586 # restored at link time.
24587 variables_saved_for_relink=$lt_variables_saved_for_relink
24589 # Do we need the "lib" prefix for modules?
24590 need_lib_prefix=$need_lib_prefix
24592 # Do we need a version for libraries?
24593 need_version=$need_version
24595 # Library versioning type.
24596 version_type=$version_type
24598 # Shared library runtime path variable.
24599 runpath_var=$runpath_var
24601 # Shared library path variable.
24602 shlibpath_var=$shlibpath_var
24604 # Is shlibpath searched before the hard-coded library search path?
24605 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24607 # Format of library name prefix.
24608 libname_spec=$lt_libname_spec
24610 # List of archive names. First name is the real one, the rest are links.
24611 # The last name is the one that the linker finds with -lNAME
24612 library_names_spec=$lt_library_names_spec
24614 # The coded name of the library, if different from the real name.
24615 soname_spec=$lt_soname_spec
24617 # Permission mode override for installation of shared libraries.
24618 install_override_mode=$lt_install_override_mode
24620 # Command to use after installation of a shared archive.
24621 postinstall_cmds=$lt_postinstall_cmds
24623 # Command to use after uninstallation of a shared archive.
24624 postuninstall_cmds=$lt_postuninstall_cmds
24626 # Commands used to finish a libtool library installation in a directory.
24627 finish_cmds=$lt_finish_cmds
24629 # As "finish_cmds", except a single script fragment to be evaled but
24631 finish_eval=$lt_finish_eval
24633 # Whether we should hardcode library paths into libraries.
24634 hardcode_into_libs=$hardcode_into_libs
24636 # Compile-time system search path for libraries.
24637 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24639 # Detected run-time system search path for libraries.
24640 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
24642 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
24643 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
24645 # Whether dlopen is supported.
24646 dlopen_support=$enable_dlopen
24648 # Whether dlopen of programs is supported.
24649 dlopen_self=$enable_dlopen_self
24651 # Whether dlopen of statically linked programs is supported.
24652 dlopen_self_static=$enable_dlopen_self_static
24654 # Commands to strip libraries.
24655 old_striplib=$lt_old_striplib
24656 striplib=$lt_striplib
24659 # The linker used to build libraries.
24662 # How to create reloadable object files.
24663 reload_flag=$lt_reload_flag
24664 reload_cmds=$lt_reload_cmds
24666 # Commands used to build an old-style archive.
24667 old_archive_cmds=$lt_old_archive_cmds
24669 # A language specific compiler.
24672 # Is the compiler the GNU compiler?
24675 # Compiler flag to turn off builtin functions.
24676 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24678 # Additional compiler flags for building library objects.
24679 pic_flag=$lt_lt_prog_compiler_pic
24681 # How to pass a linker flag through the compiler.
24682 wl=$lt_lt_prog_compiler_wl
24684 # Compiler flag to prevent dynamic linking.
24685 link_static_flag=$lt_lt_prog_compiler_static
24687 # Does compiler simultaneously support -c and -o options?
24688 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24690 # Whether or not to add -lc for building shared libraries.
24691 build_libtool_need_lc=$archive_cmds_need_lc
24693 # Whether or not to disallow shared libs when runtime libs are static.
24694 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24696 # Compiler flag to allow reflexive dlopens.
24697 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24699 # Compiler flag to generate shared objects directly from archives.
24700 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24702 # Whether the compiler copes with passing no objects directly.
24703 compiler_needs_object=$lt_compiler_needs_object
24705 # Create an old-style archive from a shared archive.
24706 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24708 # Create a temporary old-style archive to link instead of a shared archive.
24709 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24711 # Commands used to build a shared archive.
24712 archive_cmds=$lt_archive_cmds
24713 archive_expsym_cmds=$lt_archive_expsym_cmds
24715 # Commands used to build a loadable module if different from building
24716 # a shared archive.
24717 module_cmds=$lt_module_cmds
24718 module_expsym_cmds=$lt_module_expsym_cmds
24720 # Whether we are building with GNU ld or not.
24721 with_gnu_ld=$lt_with_gnu_ld
24723 # Flag that allows shared libraries with undefined symbols to be built.
24724 allow_undefined_flag=$lt_allow_undefined_flag
24726 # Flag that enforces no undefined symbols.
24727 no_undefined_flag=$lt_no_undefined_flag
24729 # Flag to hardcode \$libdir into a binary during linking.
24730 # This must work even if \$libdir does not exist
24731 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24733 # Whether we need a single "-rpath" flag with a separated argument.
24734 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24736 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24737 # DIR into the resulting binary.
24738 hardcode_direct=$hardcode_direct
24740 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24741 # DIR into the resulting binary and the resulting library dependency is
24742 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24743 # library is relocated.
24744 hardcode_direct_absolute=$hardcode_direct_absolute
24746 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24747 # into the resulting binary.
24748 hardcode_minus_L=$hardcode_minus_L
24750 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24751 # into the resulting binary.
24752 hardcode_shlibpath_var=$hardcode_shlibpath_var
24754 # Set to "yes" if building a shared library automatically hardcodes DIR
24755 # into the library and all subsequent libraries and executables linked
24757 hardcode_automatic=$hardcode_automatic
24759 # Set to yes if linker adds runtime paths of dependent libraries
24760 # to runtime path list.
24761 inherit_rpath=$inherit_rpath
24763 # Whether libtool must link a program against all its dependency libraries.
24764 link_all_deplibs=$link_all_deplibs
24766 # Set to "yes" if exported symbols are required.
24767 always_export_symbols=$always_export_symbols
24769 # The commands to list exported symbols.
24770 export_symbols_cmds=$lt_export_symbols_cmds
24772 # Symbols that should not be listed in the preloaded symbols.
24773 exclude_expsyms=$lt_exclude_expsyms
24775 # Symbols that must always be exported.
24776 include_expsyms=$lt_include_expsyms
24778 # Commands necessary for linking programs (against libraries) with templates.
24779 prelink_cmds=$lt_prelink_cmds
24781 # Commands necessary for finishing linking programs.
24782 postlink_cmds=$lt_postlink_cmds
24784 # Specify filename containing input files.
24785 file_list_spec=$lt_file_list_spec
24787 # How to hardcode a shared library path into an executable.
24788 hardcode_action=$hardcode_action
24790 # ### END LIBTOOL CONFIG
24794 cat <<'_LT_EOF' >> "$cfgfile"
24796 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
24798 # func_munge_path_list VARIABLE PATH
24799 # -----------------------------------
24800 # VARIABLE is name of variable containing _space_ separated list of
24801 # directories to be munged by the contents of PATH, which is string
24804 # string "DIR[ DIR]" will be prepended to VARIABLE
24806 # string "DIR[ DIR]" will be appended to VARIABLE
24807 # "DIRP[:DIRP]::[DIRA:]DIRA"
24808 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
24809 # "DIRA[ DIRA]" will be appended to VARIABLE
24811 # VARIABLE will be replaced by "DIR[ DIR]"
24812 func_munge_path_list ()
24818 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
24821 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
24824 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
24825 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24828 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24834 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24835 func_cc_basename ()
24837 for cc_temp in $*""; do
24839 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24840 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24845 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24849 # ### END FUNCTIONS SHARED WITH CONFIGURE
24855 cat <<\_LT_EOF
>> "$cfgfile"
24856 # AIX sometimes has problems with the GCC collect2 program. For some
24857 # reason, if we set the COLLECT_NAMES environment variable, the problems
24858 # vanish in a puff of smoke.
24859 if test set != "${COLLECT_NAMES+set}"; then
24861 export COLLECT_NAMES
24868 ltmain
=$ac_aux_dir/ltmain.sh
24871 # We use sed instead of cat because bash on DJGPP gets confused if
24872 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24873 # text mode, it properly converts lines to CR/LF. This bash problem
24874 # is reportedly fixed, but why not run on old versions too?
24875 sed '$q' "$ltmain" >> "$cfgfile" \
24876 ||
(rm -f "$cfgfile"; exit 1)
24878 mv -f "$cfgfile" "$ofile" ||
24879 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24883 "po-directories":C
)
24884 for ac_file
in $CONFIG_FILES; do
24885 # Support "outfile[:infile[:infile...]]"
24887 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24889 # PO directories have a Makefile.in generated from Makefile.in.in.
24890 case "$ac_file" in */Makefile.
in)
24891 # Adjust a relative srcdir.
24892 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24893 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
24894 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24895 # In autoconf-2.13 it is called $ac_given_srcdir.
24896 # In autoconf-2.50 it is called $srcdir.
24897 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
24898 case "$ac_given_srcdir" in
24899 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
24900 /*) top_srcdir
="$ac_given_srcdir" ;;
24901 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24903 # Treat a directory as a PO directory if and only if it has a
24904 # POTFILES.in file. This allows packages to have multiple PO
24905 # directories under different names or in different locations.
24906 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24907 rm -f "$ac_dir/POTFILES"
24908 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
24909 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24910 POMAKEFILEDEPS
="POTFILES.in"
24911 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
24912 # on $ac_dir but don't depend on user-specified configuration
24914 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24915 # The LINGUAS file contains the set of available languages.
24916 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24917 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
24919 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24920 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24921 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24922 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
24924 # The set of available languages was given in configure.in.
24925 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24926 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24929 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
24930 # Compute UPDATEPOFILES
24931 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
24932 # Compute DUMMYPOFILES
24933 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
24935 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
24936 case "$ac_given_srcdir" in
24938 *) srcdirpre
='$(srcdir)/' ;;
24944 for lang
in $ALL_LINGUAS; do
24945 POFILES
="$POFILES $srcdirpre$lang.po"
24946 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24947 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24948 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24950 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24951 # environment variable.
24953 if test -n "$ALL_LINGUAS"; then
24954 for presentlang
in $ALL_LINGUAS; do
24956 if test "%UNSET%" != "$LINGUAS"; then
24957 desiredlanguages
="$LINGUAS"
24959 desiredlanguages
="$ALL_LINGUAS"
24961 for desiredlang
in $desiredlanguages; do
24962 # Use the presentlang catalog if desiredlang is
24963 # a. equal to presentlang, or
24964 # b. a variant of presentlang (because in this case,
24965 # presentlang can be used as a fallback for messages
24966 # which are not translated in the desiredlang catalog).
24967 case "$desiredlang" in
24968 "$presentlang"*) useit
=yes;;
24971 if test $useit = yes; then
24972 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24977 if test -n "$INST_LINGUAS"; then
24978 for lang
in $INST_LINGUAS; do
24979 CATALOGS
="$CATALOGS $lang.gmo"
24982 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24983 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"
24984 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24985 if test -f "$f"; then
24987 *.orig |
*.bak |
*~
) ;;
24988 *) cat "$f" >> "$ac_dir/Makefile" ;;
25003 ac_clean_files
=$ac_clean_files_save
25005 test $ac_write_fail = 0 ||
25006 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
25009 # configure is writing to config.log, and then calls config.status.
25010 # config.status does its own redirection, appending to config.log.
25011 # Unfortunately, on DOS this fails, as config.log is still kept open
25012 # by configure, so config.status won't be able to write to it; its
25013 # output is simply discarded. So we exec the FD to /dev/null,
25014 # effectively closing config.log, so it can be properly (re)opened and
25015 # appended to by config.status. When coming back to configure, we
25016 # need to make the FD available again.
25017 if test "$no_create" != yes; then
25019 ac_config_status_args
=
25020 test "$silent" = yes &&
25021 ac_config_status_args
="$ac_config_status_args --quiet"
25023 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25025 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25026 # would make configure fail if this is the last instruction.
25027 $ac_cs_success || as_fn_exit
1
25029 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25031 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}