2 # From configure.ac Rev:27 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.21.9999.
6 # Report bugs to <chappa@washington.edu>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210 test \$(( 1 + 1 )) = 2 || exit 1"
211 if (eval "$as_required") 2>/dev
/null
; then :
216 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 # Try only shells that exist, to save several forks.
230 as_shell
=$as_dir/$as_base
231 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$as_shell as_have_required
=yes
234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
242 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
243 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
244 CONFIG_SHELL
=$SHELL as_have_required
=yes
249 if test "x$CONFIG_SHELL" != x
; then :
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
257 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
259 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed `exec'.
267 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271 if test x
$as_have_required = xno
; then :
272 $as_echo "$0: This script requires a shell more modern than all"
273 $as_echo "$0: the shells that I found on your system."
274 if test x
${ZSH_VERSION+set} = xset
; then
275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 $0: chappa@washington.edu about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
592 PACKAGE_NAME
='alpine'
593 PACKAGE_TARNAME
='alpine'
594 PACKAGE_VERSION
='2.21.9999'
595 PACKAGE_STRING
='alpine 2.21.9999'
596 PACKAGE_BUGREPORT
='chappa@washington.edu'
599 ac_unique_file
="include/system.h"
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
660 alpine_interactive_spellcheck
662 alpine_simple_spellcheck
747 MAINTAINER_MODE_FALSE
761 INSTALL_STRIP_PROGRAM
803 program_transform_name
816 enable_option_checking
818 enable_maintainer_mode
819 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_smime_public_cert_directory
904 with_smime_private_key_directory
905 with_smime_cacert_directory
908 with_local_password_cache
909 with_local_password_cache_method
919 with_krb5_include_dir
923 with_ldap_include_dir
932 with_system_mail_directory
937 ac_precious_vars
='build_alias
949 # Initialize some variables set by options.
951 ac_init_version
=false
952 ac_unrecognized_opts
=
954 # The variables have the same names as the options, with
955 # dashes changed to underlines.
963 program_transform_name
=s
,x
,x
,
971 # Installation directory options.
972 # These are left unexpanded so users can "make install exec_prefix=/foo"
973 # and all the variables that are supposed to be based on exec_prefix
974 # by default will actually change.
975 # Use braces instead of parens because sh, perl, etc. also accept them.
976 # (The list follows the same order as the GNU Coding Standards.)
977 bindir
='${exec_prefix}/bin'
978 sbindir
='${exec_prefix}/sbin'
979 libexecdir
='${exec_prefix}/libexec'
980 datarootdir
='${prefix}/share'
981 datadir
='${datarootdir}'
982 sysconfdir
='${prefix}/etc'
983 sharedstatedir
='${prefix}/com'
984 localstatedir
='${prefix}/var'
985 includedir
='${prefix}/include'
986 oldincludedir
='/usr/include'
987 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
988 infodir
='${datarootdir}/info'
993 libdir
='${exec_prefix}/lib'
994 localedir
='${datarootdir}/locale'
995 mandir
='${datarootdir}/man'
1001 # If the previous option needs an argument, assign it.
1002 if test -n "$ac_prev"; then
1003 eval $ac_prev=\
$ac_option
1009 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1014 # Accept the important Cygnus configure options, so we can diagnose typos.
1016 case $ac_dashdash$ac_option in
1020 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1022 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1023 bindir
=$ac_optarg ;;
1025 -build |
--build |
--buil |
--bui |
--bu)
1026 ac_prev
=build_alias
;;
1027 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1028 build_alias
=$ac_optarg ;;
1030 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1031 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1032 ac_prev
=cache_file
;;
1033 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1034 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1035 cache_file
=$ac_optarg ;;
1037 --config-cache |
-C)
1038 cache_file
=config.cache
;;
1040 -datadir |
--datadir |
--datadi |
--datad)
1042 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1043 datadir
=$ac_optarg ;;
1045 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1046 |
--dataroo |
--dataro |
--datar)
1047 ac_prev
=datarootdir
;;
1048 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1049 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1050 datarootdir
=$ac_optarg ;;
1052 -disable-* |
--disable-*)
1053 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error $?
"invalid feature name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_
$ac_useropt"
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval enable_
$ac_useropt=no
;;
1068 -docdir |
--docdir |
--docdi |
--doc |
--do)
1070 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1071 docdir
=$ac_optarg ;;
1073 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1075 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1076 dvidir
=$ac_optarg ;;
1078 -enable-* |
--enable-*)
1079 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error $?
"invalid feature name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1087 "enable_
$ac_useropt"
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval enable_
$ac_useropt=\
$ac_optarg ;;
1094 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1095 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1096 |
--exec |
--exe |
--ex)
1097 ac_prev
=exec_prefix
;;
1098 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1099 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1100 |
--exec=* |
--exe=* |
--ex=*)
1101 exec_prefix
=$ac_optarg ;;
1103 -gas |
--gas |
--ga |
--g)
1104 # Obsolete; use --with-gas.
1107 -help |
--help |
--hel |
--he |
-h)
1108 ac_init_help
=long
;;
1109 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1110 ac_init_help
=recursive
;;
1111 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1112 ac_init_help
=short
;;
1114 -host |
--host |
--hos |
--ho)
1115 ac_prev
=host_alias
;;
1116 -host=* |
--host=* |
--hos=* |
--ho=*)
1117 host_alias
=$ac_optarg ;;
1119 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1121 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1123 htmldir
=$ac_optarg ;;
1125 -includedir |
--includedir |
--includedi |
--included |
--include \
1126 |
--includ |
--inclu |
--incl |
--inc)
1127 ac_prev
=includedir
;;
1128 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1129 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1130 includedir
=$ac_optarg ;;
1132 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1134 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1135 infodir
=$ac_optarg ;;
1137 -libdir |
--libdir |
--libdi |
--libd)
1139 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1140 libdir
=$ac_optarg ;;
1142 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1143 |
--libexe |
--libex |
--libe)
1144 ac_prev
=libexecdir
;;
1145 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1146 |
--libexe=* |
--libex=* |
--libe=*)
1147 libexecdir
=$ac_optarg ;;
1149 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1150 ac_prev
=localedir
;;
1151 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1152 localedir
=$ac_optarg ;;
1154 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1155 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1156 ac_prev
=localstatedir
;;
1157 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1158 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1159 localstatedir
=$ac_optarg ;;
1161 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1163 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1164 mandir
=$ac_optarg ;;
1166 -nfp |
--nfp |
--nf)
1167 # Obsolete; use --without-fp.
1170 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1171 |
--no-cr |
--no-c |
-n)
1174 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1175 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1178 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1179 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1180 |
--oldin |
--oldi |
--old |
--ol |
--o)
1181 ac_prev
=oldincludedir
;;
1182 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1183 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1184 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1185 oldincludedir
=$ac_optarg ;;
1187 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1189 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1190 prefix
=$ac_optarg ;;
1192 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1193 |
--program-pre |
--program-pr |
--program-p)
1194 ac_prev
=program_prefix
;;
1195 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1196 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1197 program_prefix
=$ac_optarg ;;
1199 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1200 |
--program-suf |
--program-su |
--program-s)
1201 ac_prev
=program_suffix
;;
1202 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1203 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1204 program_suffix
=$ac_optarg ;;
1206 -program-transform-name |
--program-transform-name \
1207 |
--program-transform-nam |
--program-transform-na \
1208 |
--program-transform-n |
--program-transform- \
1209 |
--program-transform |
--program-transfor \
1210 |
--program-transfo |
--program-transf \
1211 |
--program-trans |
--program-tran \
1212 |
--progr-tra |
--program-tr |
--program-t)
1213 ac_prev
=program_transform_name
;;
1214 -program-transform-name=* |
--program-transform-name=* \
1215 |
--program-transform-nam=* |
--program-transform-na=* \
1216 |
--program-transform-n=* |
--program-transform-=* \
1217 |
--program-transform=* |
--program-transfor=* \
1218 |
--program-transfo=* |
--program-transf=* \
1219 |
--program-trans=* |
--program-tran=* \
1220 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1221 program_transform_name
=$ac_optarg ;;
1223 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1225 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1226 pdfdir
=$ac_optarg ;;
1228 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1230 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1233 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1234 |
-silent |
--silent |
--silen |
--sile |
--sil)
1237 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1239 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1241 sbindir
=$ac_optarg ;;
1243 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1244 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1245 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1247 ac_prev
=sharedstatedir
;;
1248 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1249 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1250 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1252 sharedstatedir
=$ac_optarg ;;
1254 -site |
--site |
--sit)
1256 -site=* |
--site=* |
--sit=*)
1259 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1261 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1262 srcdir
=$ac_optarg ;;
1264 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1265 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1266 ac_prev
=sysconfdir
;;
1267 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1268 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1269 sysconfdir
=$ac_optarg ;;
1271 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1272 ac_prev
=target_alias
;;
1273 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1274 target_alias
=$ac_optarg ;;
1276 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1279 -version |
--version |
--versio |
--versi |
--vers |
-V)
1280 ac_init_version
=: ;;
1283 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1286 as_fn_error $?
"invalid package name: $ac_useropt"
1287 ac_useropt_orig
=$ac_useropt
1288 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289 case $ac_user_opts in
1293 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1294 ac_unrecognized_sep
=', ';;
1296 eval with_
$ac_useropt=\
$ac_optarg ;;
1298 -without-* |
--without-*)
1299 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1300 # Reject names that are not valid shell variable names.
1301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1302 as_fn_error $?
"invalid package name: $ac_useropt"
1303 ac_useropt_orig
=$ac_useropt
1304 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305 case $ac_user_opts in
1309 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1310 ac_unrecognized_sep
=', ';;
1312 eval with_
$ac_useropt=no
;;
1315 # Obsolete; use --with-x.
1318 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1319 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1320 ac_prev
=x_includes
;;
1321 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1322 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1323 x_includes
=$ac_optarg ;;
1325 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1326 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1327 ac_prev
=x_libraries
;;
1328 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1329 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1330 x_libraries
=$ac_optarg ;;
1332 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1333 Try \`$0 --help' for more information"
1337 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1338 # Reject names that are not valid shell variable names.
1339 case $ac_envvar in #(
1340 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1341 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1343 eval $ac_envvar=\
$ac_optarg
1344 export $ac_envvar ;;
1347 # FIXME: should be removed in autoconf 3.0.
1348 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1349 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1350 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1351 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1357 if test -n "$ac_prev"; then
1358 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1359 as_fn_error $?
"missing argument to $ac_option"
1362 if test -n "$ac_unrecognized_opts"; then
1363 case $enable_option_checking in
1365 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1366 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1370 # Check all directory arguments for consistency.
1371 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1372 datadir sysconfdir sharedstatedir localstatedir includedir \
1373 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1374 libdir localedir mandir
1376 eval ac_val
=\$
$ac_var
1377 # Remove trailing slashes.
1380 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1381 eval $ac_var=\
$ac_val;;
1383 # Be sure to have absolute directory names.
1385 [\\/$
]* | ?
:[\\/]* ) continue;;
1386 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1388 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1391 # There might be people who depend on the old broken behavior: `$host'
1392 # used to hold the argument of --host etc.
1393 # FIXME: To remove some day.
1396 target
=$target_alias
1398 # FIXME: To remove some day.
1399 if test "x$host_alias" != x
; then
1400 if test "x$build_alias" = x
; then
1401 cross_compiling
=maybe
1402 elif test "x$build_alias" != "x$host_alias"; then
1408 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1410 test "$silent" = yes && exec 6>/dev
/null
1413 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1414 ac_ls_di
=`ls -di .` &&
1415 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1416 as_fn_error $?
"working directory cannot be determined"
1417 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1418 as_fn_error $?
"pwd does not report name of working directory"
1421 # Find the source files, if location was not specified.
1422 if test -z "$srcdir"; then
1423 ac_srcdir_defaulted
=yes
1424 # Try the directory containing this script, then the parent directory.
1425 ac_confdir
=`$as_dirname -- "$as_myself" ||
1426 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1427 X"$as_myself" : 'X\(//\)[^/]' \| \
1428 X"$as_myself" : 'X\(//\)$' \| \
1429 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1430 $as_echo X"$as_myself" |
1431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1453 ac_srcdir_defaulted
=no
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1456 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1457 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1459 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1461 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1463 # When building in place, set srcdir=.
1464 if test "$ac_abs_confdir" = "$ac_pwd"; then
1467 # Remove unnecessary trailing slashes from srcdir.
1468 # Double slashes in file names in object file debugging info
1469 # mess up M-x gdb in Emacs.
1471 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1473 for ac_var
in $ac_precious_vars; do
1474 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1475 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1476 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1477 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1481 # Report the --help message.
1483 if test "$ac_init_help" = "long"; then
1484 # Omit some internal or obsolete options to make the list less imposing.
1485 # This message is too long to be a string in the A/UX 3.1 sh.
1487 \`configure' configures alpine 2.21.9999 to adapt to many kinds of systems.
1489 Usage: $0 [OPTION]... [VAR=VALUE]...
1491 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1492 VAR=VALUE. See below for descriptions of some of the useful variables.
1494 Defaults for the options are specified in brackets.
1497 -h, --help display this help and exit
1498 --help=short display options specific to this package
1499 --help=recursive display the short help of all the included packages
1500 -V, --version display version information and exit
1501 -q, --quiet, --silent do not print \`checking ...' messages
1502 --cache-file=FILE cache test results in FILE [disabled]
1503 -C, --config-cache alias for \`--cache-file=config.cache'
1504 -n, --no-create do not create output files
1505 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1507 Installation directories:
1508 --prefix=PREFIX install architecture-independent files in PREFIX
1509 [$ac_default_prefix]
1510 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1513 By default, \`make install' will install all the files in
1514 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1515 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1516 for instance \`--prefix=\$HOME'.
1518 For better control, use the options below.
1520 Fine tuning of the installation directories:
1521 --bindir=DIR user executables [EPREFIX/bin]
1522 --sbindir=DIR system admin executables [EPREFIX/sbin]
1523 --libexecdir=DIR program executables [EPREFIX/libexec]
1524 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1525 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1526 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1527 --libdir=DIR object code libraries [EPREFIX/lib]
1528 --includedir=DIR C header files [PREFIX/include]
1529 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1530 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1531 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1532 --infodir=DIR info documentation [DATAROOTDIR/info]
1533 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1534 --mandir=DIR man documentation [DATAROOTDIR/man]
1535 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1536 --htmldir=DIR html documentation [DOCDIR]
1537 --dvidir=DIR dvi documentation [DOCDIR]
1538 --pdfdir=DIR pdf documentation [DOCDIR]
1539 --psdir=DIR ps documentation [DOCDIR]
1545 --program-prefix=PREFIX prepend PREFIX to installed program names
1546 --program-suffix=SUFFIX append SUFFIX to installed program names
1547 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1550 --build=BUILD configure
for building on BUILD
[guessed
]
1551 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1555 if test -n "$ac_init_help"; then
1556 case $ac_init_help in
1557 short | recursive
) echo "Configuration of alpine 2.21.9999:";;
1562 --disable-option-checking ignore unrecognized
--enable/--with options
1563 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1564 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1565 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1566 --disable-silent-rules verbose build output
(undo
: "make V=0")
1567 --enable-maintainer-mode
1568 enable make rules and dependencies not useful
(and
1569 sometimes confusing
) to the casual installer
1570 --enable-dependency-tracking
1571 do not reject slow dependency extractors
1572 --disable-dependency-tracking
1573 speeds up one-time build
1574 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1575 --enable-static[=PKGS
] build static libraries
[default
=yes]
1576 --enable-fast-install[=PKGS
]
1577 optimize
for fast installation
[default
=yes]
1578 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1579 --disable-nls do not use Native Language Support
1580 --disable-rpath do not hardcode runtime library paths
1581 --enable-dmalloc Enable dmalloc debugging
1582 --enable-osx-universal-binaries
1583 Produce universal binaries under OS X
[[default
=no
]]
1584 --disable-debug Exclude debug messages from
source
1585 --disable-optimization Exclude optimizing compiler flags
1586 --disable-mouse Disable mouse support
1587 --enable-quotas Enable disk quota checking on startup
1588 --disable-from-changing Disallow users changing From addresss
1589 --disable-background-post
1590 Disable background posting
1591 --disable-keyboard-lock Disable keyboard locking
1592 --enable-from-encoding Enable From encoding
in sent messages
1595 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1596 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1597 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1599 --with-aix-soname=aix|svr4|both
1600 shared library versioning
(aka
"SONAME") variant to
1601 provide on AIX
, [default
=aix
].
1602 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1603 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1604 compiler
's sysroot if not specified).
1605 --with-gnu-ld assume the C compiler uses GNU ld default=no
1606 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1607 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1608 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1609 --without-libintl-prefix don
't search for libintl in includedir and libdir
1610 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1611 --with-date-stamp=DATE Set this as the date this program was built.
1612 Default: output of `date`
1613 --with-host-stamp=HOST Set name of computer for compilation. Default:
1614 output of `hostname`
1615 --with-ps-cmd="CMD" Use this command to check running commands. Default:
1617 --with-localedir=DIR Name of gettext locale directory
1618 --with-include-path=PATHS
1619 Colon-separated list of directories used for include
1621 --with-lib-path=PATHS Colon-separated list of directories used for library
1623 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1624 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1625 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1626 --with-smtp-msa-flags=FLAGS
1627 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1628 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1629 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1630 --with-password-prog=PATH
1631 Password change program (/bin/passwd)
1632 --with-simple-spellcheck=PROG
1633 Spellcheck program reads stdin, emits misspellings
1635 --with-interactive-spellcheck=PROG
1636 Interactive, filewise spell checker
1637 --with-system-pinerc=VALUE
1638 System pinerc (/usr/local/lib/pine.conf)
1639 --with-system-fixed-pinerc=VALUE
1640 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1641 --with-local-support-info=VALUE
1642 Local Support Info File (/usr/local/lib/pine.info)
1643 --with-mailcheck-interval=VALUE
1644 Specify default mail-check-interval (150)
1645 --with-checkpoint-interval=VALUE
1646 Specify default checkpoint-interval (420)
1647 --with-checkpoint-frequency=VALUE
1648 State change count before checkpoint (12)
1649 --with-display-rows=VALUE
1650 Initial rows on display (24)
1651 --with-display-columns=VALUE
1652 Initial columns on display (80)
1653 --with-max-display-rows=VALUE
1654 Maximum display rows (200)
1655 --with-max-display-columns=VALUE
1656 Maximum display columns (500)
1657 --with-fill-column=VALUE
1658 Default fill column (74)
1659 --with-max_fill-column=VALUE
1660 Maximum fill column (80)
1661 --with-debug-level=VALUE
1662 Specify default debug verbosity level (2)
1663 --with-debug-files=VALUE
1664 Specify number of debug files (4)
1665 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1666 --with-forwarded-keyword=VALUE
1667 IMAP (c-client) keyword to store forwarded status
1669 --with-display-overlap=VALUE
1670 Lines preserved while paging (2)
1671 --with-display-margin=VALUE
1672 Lines visible while scrolling (0)
1673 --with-default-fcc=VALUE
1674 Default sent mail folder (sent-mail)
1675 --with-default-save-folder=VALUE
1676 Default save folder (saved-messages)
1677 --with-default-legacy-postponed-folder=VALUE
1678 Pre Pine 3.90 postponed folder (postponed-mail)
1679 --with-default-postponed-folder=VALUE
1680 Default postponed folder (postponed-msgs)
1681 --with-default-trash-folder=VALUE
1682 Default Trash folder for Web Alpine (Trash)
1683 --with-default-interrupted-mail=VALUE
1684 Default folder for interrupted mail
1685 (.pine-interrupted-mail)
1686 --with-default-dead-letter-folder=VALUE
1687 Default dead letter folder (dead.letter)
1688 --with-default-mail-directory=VALUE
1689 Default mail directory (mail)
1690 --with-default-inbox-name=VALUE
1691 Default inbox name (INBOX)
1692 --with-default-signature-file=VALUE
1693 Default signature file (.signature)
1694 --with-default-elm-style-save=VALUE
1695 Default to Elm style save (no)
1696 --with-default-header-in-reply=VALUE
1697 Include header in reply (no)
1698 --with-default-old-style-reply=VALUE
1699 Default to old style reply (no)
1700 --with-default-use-only-domain-name=VALUE
1701 Default to using only the domain name (no)
1702 --with-default-save-by-sender=VALUE
1703 Default to save by sender (no)
1704 --with-default-sort-key=VALUE
1705 Default sort key (arrival)
1706 --with-default-addressbook-sort-rule=VALUE
1707 Default addressbook sort rule
1708 (fullname-with-lists-last)
1709 --with-default-folder-sort-rule=VALUE
1710 Default folder sort rule (alphabetical)
1711 --with-default-saved-message-name-rule=VALUE
1712 Default saved message name rule (default-folder)
1713 --with-default-fcc-rule=VALUE
1714 Default fcc rule (default-fcc)
1715 --with-default-standard-printer=VALUE
1716 Default standard printern (lpr)
1717 --with-default-ansi-printer=VALUE
1718 ANSI printer definition (attached-to-ansi)
1719 --with-default-addressbook=VALUE
1720 Default addressbook name (.addressbook)
1721 --with-default-local-fullname=VALUE
1722 Default local support fullname ("Local Support")
1723 --with-default-local-address=VALUE
1724 Default local support address (postmaster)
1725 --with-default-keyboard-lock-count=VALUE
1726 Default keyboard lock count (1)
1727 --with-default-remote-addressbook-history=VALUE
1728 Default address book history count (3)
1729 --with-smime-public-cert-directory=VALUE
1730 Default Public Cert Directory (.alpine-smime/public)
1731 --with-smime-private-key-directory=VALUE
1732 Default Private Key Directory
1733 (.alpine-smime/private)
1734 --with-smime-cacert-directory=VALUE
1735 Default Cert Authority Directory (.alpine-smime/ca)
1736 --with-default-printer=VALUE
1737 Default printer (ANSI_PRINTER)
1738 --with-passfile=FILENAME
1739 Password cache file (recommended when S/MIME is
1740 enabled and configured)
1741 --without-local-password-cache
1742 Disable OS-specific password cache, if supported
1743 --with-local-password-cache-method
1744 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1746 --with-default-sshpath=FILENAME
1747 set default value of ssh command path (defining
1748 should cause ssh to be preferred to rsh)
1749 --with-default-sshcmd=PERCENT_S_STRING
1750 set default value of ssh command string (usually "%s
1751 %s -l %s exec /etc/r%sd")
1752 --without-ssl Disable SSL support (OpenSSL)
1753 --with-ssl-dir=DIR Root of SSL lib/include path
1754 --with-ssl-certs-dir=DIR
1755 Path to SSL certificate directory
1756 --with-ssl-include-dir=DIR
1757 SSL include file path
1758 --with-ssl-lib-dir=DIR SSL library path
1759 --without-krb5 Disable Kerberos support
1760 --with-krb5-dir=DIR Root of Kerberos lib/include path
1761 --with-krb5-include-dir=DIR
1762 Kerberos include file path
1763 --with-krb5-lib-dir=DIR Kerberos library path
1764 --without-ldap Disable LDAP query support
1765 --with-ldap-dir=DIR Root of LDAP lib/include path
1766 --with-ldap-include-dir=DIR
1767 Directory containing LDAP include files
1768 --with-ldap-lib-dir=DIR LDAP library path
1769 --without-smime Disable S/MIME
1770 --without-tcl Disable TCL, thus Web Alpine support
1771 --with-tcl-lib-dir=PATH Specific TCL Librar dir, like \"/usr/opt/tcl86/lib\"
1772 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1773 --with-tcl-include=DIR Directory containing TCL include files
1774 --with-supplied-regex Use regex library supplied with alpine
1775 --without-pthread Do NOT test for nor build with POSIX thread support
1776 --with-system-mail-directory=DIR
1777 Directory where local mail is delivered
1778 --with-c-client-target=TARGET
1779 IMAP build target (see imap/Makefile)
1780 --without-ipv6 Disable IPv6, primarily to work around resolver
1782 --without-ntlm Disable NTLM client support
1784 Some influential environment variables:
1785 CC C compiler command
1786 CFLAGS C compiler flags
1787 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1788 nonstandard directory <lib dir>
1789 LIBS libraries to pass to the linker, e.g. -l<library>
1790 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1791 you have headers in a nonstandard directory <include dir>
1794 User-defined run-time library search path.
1796 Use these variables to override the choices made by `configure' or to
help
1797 it to
find libraries and programs with nonstandard names
/locations.
1799 Report bugs to
<chappa@washington.edu
>.
1804 if test "$ac_init_help" = "recursive"; then
1805 # If there are subdirs, report their specific --help.
1806 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1807 test -d "$ac_dir" ||
1808 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1813 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1815 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1816 # A ".." for each directory in $ac_dir_suffix.
1817 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1818 case $ac_top_builddir_sub in
1819 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1820 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1823 ac_abs_top_builddir
=$ac_pwd
1824 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1825 # for backward compatibility:
1826 ac_top_builddir
=$ac_top_build_prefix
1829 .
) # We are building in place.
1831 ac_top_srcdir
=$ac_top_builddir_sub
1832 ac_abs_top_srcdir
=$ac_pwd ;;
1833 [\\/]* | ?
:[\\/]* ) # Absolute name.
1834 ac_srcdir
=$srcdir$ac_dir_suffix;
1835 ac_top_srcdir
=$srcdir
1836 ac_abs_top_srcdir
=$srcdir ;;
1838 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1839 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1840 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1842 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1844 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1845 # Check for guested configure.
1846 if test -f "$ac_srcdir/configure.gnu"; then
1848 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1849 elif test -f "$ac_srcdir/configure"; then
1851 $SHELL "$ac_srcdir/configure" --help=recursive
1853 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1855 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1859 test -n "$ac_init_help" && exit $ac_status
1860 if $ac_init_version; then
1862 alpine configure
2.21.9999
1863 generated by GNU Autoconf
2.69
1865 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1866 This configure
script is free software
; the Free Software Foundation
1867 gives unlimited permission to copy
, distribute and modify it.
1872 ## ------------------------ ##
1873 ## Autoconf initialization. ##
1874 ## ------------------------ ##
1876 # ac_fn_c_try_compile LINENO
1877 # --------------------------
1878 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1879 ac_fn_c_try_compile
()
1881 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1882 rm -f conftest.
$ac_objext
1883 if { { ac_try
="$ac_compile"
1885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_compile") 2>conftest.err
1892 if test -s conftest.err; then
1893 grep -v '^ *+' conftest.err >conftest.er1
1894 cat conftest.er1 >&5
1895 mv -f conftest.er1 conftest.err
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && {
1899 test -z "$ac_c_werror_flag" ||
1900 test ! -s conftest.err
1901 } && test -s conftest.$ac_objext; then :
1904 $as_echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.$ac_ext >&5
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1912 } # ac_fn_c_try_compile
1914 # ac_fn_c_try_cpp LINENO
1915 # ----------------------
1916 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 if { { ac_try="$ac_cpp conftest.$ac_ext"
1922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1923 *) ac_try_echo
=$ac_try;;
1925 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1929 if test -s conftest.err
; then
1930 grep -v '^ *+' conftest.err
>conftest.er1
1931 cat conftest.er1
>&5
1932 mv -f conftest.er1 conftest.err
1934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935 test $ac_status = 0; } > conftest.i
&& {
1936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1937 test ! -s conftest.err
1941 $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.
$ac_ext >&5
1946 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947 as_fn_set_status
$ac_retval
1951 # ac_fn_c_try_link LINENO
1952 # -----------------------
1953 # Try to link conftest.$ac_ext, and return whether this succeeded.
1956 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1957 rm -f conftest.
$ac_objext conftest
$ac_exeext
1958 if { { ac_try
="$ac_link"
1960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1961 *) ac_try_echo=$ac_try;;
1963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964 $as_echo "$ac_try_echo"; } >&5
1965 (eval "$ac_link") 2>conftest.err
1967 if test -s conftest.err; then
1968 grep -v '^ *+' conftest.err >conftest.er1
1969 cat conftest.er1 >&5
1970 mv -f conftest.er1 conftest.err
1972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 test $ac_status = 0; } && {
1974 test -z "$ac_c_werror_flag" ||
1975 test ! -s conftest.err
1976 } && test -s conftest$ac_exeext && {
1977 test "$cross_compiling" = yes ||
1978 test -x conftest$ac_exeext
1982 $as_echo "$as_me: failed program was:" >&5
1983 sed 's/^/| /' conftest.$ac_ext >&5
1987 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1988 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1989 # interfere with the next link command; also delete a directory that is
1990 # left behind by Apple's compiler. We do this before executing the actions.
1991 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1992 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 as_fn_set_status $ac_retval
1995 } # ac_fn_c_try_link
1997 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1998 # -------------------------------------------------------
1999 # Tests whether HEADER exists and can be compiled using the include files in
2000 # INCLUDES, setting the cache variable VAR accordingly.
2001 ac_fn_c_check_header_compile ()
2003 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2005 $as_echo_n "checking for $2... " >&6; }
2006 if eval \${$3+:} false; then :
2007 $as_echo_n "(cached) " >&6
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h. */
2014 if ac_fn_c_try_compile "$LINENO"; then :
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 } # ac_fn_c_check_header_compile
2028 # ac_fn_c_try_run LINENO
2029 # ----------------------
2030 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2031 # that executables *can* be run.
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 if { { ac_try="$ac_link"
2037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2038 *) ac_try_echo
=$ac_try;;
2040 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2041 $as_echo "$ac_try_echo"; } >&5
2042 (eval "$ac_link") 2>&5
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2046 { { case "(($ac_try" in
2047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2048 *) ac_try_echo=$ac_try;;
2050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2051 $as_echo "$ac_try_echo"; } >&5
2052 (eval "$ac_try") 2>&5
2054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2055 test $ac_status = 0; }; }; then :
2058 $as_echo "$as_me: program exited with status $ac_status" >&5
2059 $as_echo "$as_me: failed program was:" >&5
2060 sed 's/^/| /' conftest.$ac_ext >&5
2062 ac_retval=$ac_status
2064 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2066 as_fn_set_status $ac_retval
2070 # ac_fn_c_check_func LINENO FUNC VAR
2071 # ----------------------------------
2072 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2073 ac_fn_c_check_func ()
2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2077 $as_echo_n "checking for $2... " >&6; }
2078 if eval \${$3+:} false; then :
2079 $as_echo_n "(cached) " >&6
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2083 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2085 #define $2 innocuous_$2
2087 /* System header to define __stub macros and hopefully few prototypes,
2088 which can conflict with char $2 (); below.
2089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2090 <limits.h> exists even on freestanding compilers. */
2093 # include <limits.h>
2095 # include <assert.h>
2100 /* Override any GCC internal prototype to avoid an error.
2101 Use char because int might match the return type of a GCC
2102 builtin and then its argument prototype would still apply. */
2107 /* The GNU C library defines this for functions which it implements
2108 to always fail with ENOSYS. Some functions are actually named
2109 something starting with __ and the normal name is an alias. */
2110 #if defined __stub_$2 || defined __stub___$2
2122 if ac_fn_c_try_link "$LINENO"; then :
2127 rm -f core conftest.err conftest.$ac_objext \
2128 conftest$ac_exeext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_c_check_func
2137 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2138 # -------------------------------------------------------
2139 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2140 # the include files in INCLUDES and setting the cache variable VAR
2142 ac_fn_c_check_header_mongrel ()
2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2145 if eval \${$3+:} false; then :
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if eval \${$3+:} false; then :
2149 $as_echo_n "(cached) " >&6
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2155 # Is the header compilable?
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2157 $as_echo_n "checking $2 usability... " >&6; }
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2163 if ac_fn_c_try_compile "$LINENO"; then :
2164 ac_header_compiler=yes
2166 ac_header_compiler=no
2168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2170 $as_echo "$ac_header_compiler" >&6; }
2172 # Is the header present?
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2174 $as_echo_n "checking $2 presence... " >&6; }
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2179 if ac_fn_c_try_cpp "$LINENO"; then :
2180 ac_header_preproc=yes
2182 ac_header_preproc=no
2184 rm -f conftest.err conftest.i conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2186 $as_echo "$ac_header_preproc" >&6; }
2188 # So? What about this header?
2189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2192 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2194 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2198 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2200 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2202 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2204 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2206 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2207 ( $as_echo "## ------------------------------------ ##
2208 ## Report this to chappa@washington.edu ##
2209 ## ------------------------------------ ##"
2210 ) | sed "s/^/$as_me: WARNING: /" >&2
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2214 $as_echo_n "checking for $2... " >&6; }
2215 if eval \${$3+:} false; then :
2216 $as_echo_n "(cached) " >&6
2218 eval "$3=\$ac_header_compiler"
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2224 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2226 } # ac_fn_c_check_header_mongrel
2228 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2229 # -------------------------------------------
2230 # Tests whether TYPE exists after having included INCLUDES, setting cache
2231 # variable VAR accordingly.
2232 ac_fn_c_check_type ()
2234 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if eval \${$3+:} false; then :
2238 $as_echo_n "(cached) " >&6
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2242 /* end confdefs.h. */
2253 if ac_fn_c_try_compile "$LINENO"; then :
2254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2255 /* end confdefs.h. */
2266 if ac_fn_c_try_compile "$LINENO"; then :
2271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2277 $as_echo "$ac_res" >&6; }
2278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280 } # ac_fn_c_check_type
2282 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2283 # --------------------------------------------
2284 # Tries to find the compile-time value of EXPR in a program that includes
2285 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2287 ac_fn_c_compute_int ()
2289 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290 if test "$cross_compiling" = yes; then
2291 # Depending upon the size, compute the lo and hi bounds.
2292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2293 /* end confdefs.h. */
2298 static int test_array [1 - 2 * !(($2) >= 0)];
2300 return test_array [0];
2306 if ac_fn_c_try_compile "$LINENO"; then :
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2315 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2317 return test_array [0];
2323 if ac_fn_c_try_compile "$LINENO"; then :
2324 ac_hi=$ac_mid; break
2326 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2327 if test $ac_lo -le $ac_mid; then
2331 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2342 static int test_array [1 - 2 * !(($2) < 0)];
2344 return test_array [0];
2350 if ac_fn_c_try_compile "$LINENO"; then :
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2359 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2361 return test_array [0];
2367 if ac_fn_c_try_compile "$LINENO"; then :
2368 ac_lo=$ac_mid; break
2370 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2371 if test $ac_mid -le $ac_hi; then
2375 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2385 # Binary search between lo and hi bounds.
2386 while test "x$ac_lo" != "x$ac_hi"; do
2387 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2389 /* end confdefs.h. */
2394 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2396 return test_array [0];
2402 if ac_fn_c_try_compile "$LINENO"; then :
2405 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2410 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h. */
2417 static long int longval () { return $2; }
2418 static unsigned long int ulongval () { return $2; }
2425 FILE *f = fopen ("conftest.val", "w");
2430 long int i = longval ();
2433 fprintf (f, "%ld", i);
2437 unsigned long int i = ulongval ();
2440 fprintf (f, "%lu", i);
2442 /* Do not output a trailing newline, as this causes \r\n confusion
2443 on some platforms. */
2444 return ferror (f) || fclose (f) != 0;
2450 if ac_fn_c_try_run "$LINENO"; then :
2451 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2456 conftest.$ac_objext conftest.beam conftest.$ac_ext
2460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2461 as_fn_set_status $ac_retval
2463 } # ac_fn_c_compute_int
2464 cat >config.log <<_ACEOF
2465 This file contains any messages produced by compilers while
2466 running configure, to aid debugging if configure makes a mistake.
2468 It was created by alpine $as_me 2.21.9999, which was
2469 generated by GNU Autoconf 2.69. Invocation command line was
2481 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2482 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2483 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2484 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2485 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2487 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2488 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2490 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2491 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2492 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2493 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2494 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2495 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2496 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir=.
2505 $as_echo "PATH: $as_dir"
2521 # Keep a trace of the command line.
2522 # Strip out --no-create and --no-recursion so they do not pile up.
2523 # Strip out --silent because we don't want to record it for future runs.
2524 # Also quote any args containing shell meta-characters.
2525 # Make two passes to allow for proper duplicate-argument suppression.
2529 ac_must_keep_next=false
2535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2537 | -silent | --silent | --silen | --sile | --sil)
2540 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2545 as_fn_append ac_configure_args1 " '$ac_arg'"
2546 if test $ac_must_keep_next = true; then
2547 ac_must_keep_next=false # Got value, back to normal.
2550 *=* | --config-cache | -C | -disable-* | --disable-* \
2551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2553 | -with-* | --with-* | -without-* | --without-* | --x)
2554 case "$ac_configure_args0 " in
2555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2558 -* ) ac_must_keep_next=true ;;
2561 as_fn_append ac_configure_args " '$ac_arg'"
2566 { ac_configure_args0=; unset ac_configure_args0;}
2567 { ac_configure_args1=; unset ac_configure_args1;}
2569 # When interrupted or exit'd, cleanup temporary files, and complete
2570 # config.log. We remove comments because anyway the quotes in there
2571 # would cause problems or look ugly.
2572 # WARNING: Use '\'' to represent an apostrophe within the trap.
2573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2574 trap 'exit_status=$?
2575 # Save into config.log some information that might help in debugging.
2579 $as_echo "## ---------------- ##
2580 ## Cache variables. ##
2581 ## ---------------- ##"
2583 # The following way of writing the cache mishandles newlines in values,
2585 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2586 eval ac_val=\$$ac_var
2590 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2591 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594 _ | IFS | as_nl) ;; #(
2595 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2596 *) { eval $ac_var=; unset $ac_var;} ;;
2601 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2602 *${as_nl}ac_space=\ *)
2604 "s/'\''/'\''\\\\'\'''\''/g;
2605 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2615 $as_echo "## ----------------- ##
2616 ## Output variables. ##
2617 ## ----------------- ##"
2619 for ac_var in $ac_subst_vars
2621 eval ac_val=\$$ac_var
2623 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2625 $as_echo "$ac_var='\''$ac_val'\''"
2629 if test -n "$ac_subst_files"; then
2630 $as_echo "## ------------------- ##
2631 ## File substitutions. ##
2632 ## ------------------- ##"
2634 for ac_var in $ac_subst_files
2636 eval ac_val=\$$ac_var
2638 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2640 $as_echo "$ac_var='\''$ac_val'\''"
2645 if test -s confdefs.h; then
2646 $as_echo "## ----------- ##
2653 test "$ac_signal" != 0 &&
2654 $as_echo "$as_me: caught signal $ac_signal"
2655 $as_echo "$as_me: exit $exit_status"
2657 rm -f core *.core core.conftest.* &&
2658 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2661 for ac_signal in 1 2 13 15; do
2662 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2666 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2667 rm -f -r conftest* confdefs.h
2669 $as_echo "/* confdefs.h */" > confdefs.h
2671 # Predefined preprocessor variables.
2673 cat >>confdefs.h <<_ACEOF
2674 #define PACKAGE_NAME "$PACKAGE_NAME"
2677 cat >>confdefs.h <<_ACEOF
2678 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_STRING "$PACKAGE_STRING"
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_URL "$PACKAGE_URL"
2698 # Let the site file select an alternate cache file if it wants to.
2699 # Prefer an explicitly selected file to automatically selected ones.
2702 if test -n "$CONFIG_SITE"; then
2703 # We do not want a PATH search for config.site.
2704 case $CONFIG_SITE in #((
2705 -*) ac_site_file1=./$CONFIG_SITE;;
2706 */*) ac_site_file1=$CONFIG_SITE;;
2707 *) ac_site_file1=./$CONFIG_SITE;;
2709 elif test "x$prefix" != xNONE; then
2710 ac_site_file1=$prefix/share/config.site
2711 ac_site_file2=$prefix/etc/config.site
2713 ac_site_file1=$ac_default_prefix/share/config.site
2714 ac_site_file2=$ac_default_prefix/etc/config.site
2716 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2718 test "x$ac_site_file" = xNONE && continue
2719 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2721 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2722 sed 's/^/| /' "$ac_site_file" >&5
2724 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2726 as_fn_error $? "failed to load site
script $ac_site_file
2727 See \
`config.log' for more details" "$LINENO" 5; }
2731 if test -r "$cache_file"; then
2732 # Some versions of bash will fail to source /dev/null (special files
2733 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2734 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2736 $as_echo "$as_me: loading cache $cache_file" >&6;}
2738 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2739 *) . "./$cache_file";;
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2744 $as_echo "$as_me: creating cache $cache_file" >&6;}
2748 gt_needs="$gt_needs "
2749 # Check that the precious variables saved in the cache have kept the same
2751 ac_cache_corrupted=false
2752 for ac_var in $ac_precious_vars; do
2753 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2754 eval ac_new_set=\$ac_env_${ac_var}_set
2755 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2756 eval ac_new_val=\$ac_env_${ac_var}_value
2757 case $ac_old_set,$ac_new_set in
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2760 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2761 ac_cache_corrupted=: ;;
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2764 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2765 ac_cache_corrupted=: ;;
2768 if test "x$ac_old_val" != "x$ac_new_val"; then
2769 # differences in whitespace do not lead to failure.
2770 ac_old_val_w=`echo x
$ac_old_val`
2771 ac_new_val_w=`echo x
$ac_new_val`
2772 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2774 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2775 ac_cache_corrupted=:
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2778 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2779 eval $ac_var=\$ac_old_val
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2782 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2784 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2787 # Pass precious variables to config.status.
2788 if test "$ac_new_set" = set; then
2790 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2791 *) ac_arg=$ac_var=$ac_new_val ;;
2793 case " $ac_configure_args " in
2794 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2795 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2799 if $ac_cache_corrupted; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2803 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2804 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2806 ## -------------------- ##
2807 ## Main body of script. ##
2808 ## -------------------- ##
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2819 ac_config_headers="$ac_config_headers include/config.h"
2822 am__api_version='1.15'
2825 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2826 if test -f "$ac_dir/install-sh"; then
2828 ac_install_sh="$ac_aux_dir/install-sh -c"
2830 elif test -f "$ac_dir/install.sh"; then
2832 ac_install_sh="$ac_aux_dir/install.sh -c"
2834 elif test -f "$ac_dir/shtool"; then
2836 ac_install_sh="$ac_aux_dir/shtool install -c"
2840 if test -z "$ac_aux_dir"; then
2841 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2844 # These three variables are undocumented and unsupported,
2845 # and are intended to be withdrawn in a future Autoconf release.
2846 # They can cause serious problems if a builder's source tree is in a directory
2847 # whose full name contains unusual characters.
2848 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2849 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2850 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2853 # Find a good install program. We prefer a C program (faster),
2854 # so one script is as good as another. But avoid the broken or
2855 # incompatible versions:
2856 # SysV /etc/install, /usr/sbin/install
2857 # SunOS /usr/etc/install
2858 # IRIX /sbin/install
2860 # AmigaOS /C/install, which installs bootblocks on floppy discs
2861 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2862 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2863 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2864 # OS/2's system install, which has a completely different semantic
2865 # ./install, which can be erroneously created by make from ./install.sh.
2866 # Reject install programs that cannot install multiple files.
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2868 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2869 if test -z "$INSTALL"; then
2870 if ${ac_cv_path_install+:} false; then :
2871 $as_echo_n "(cached) " >&6
2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir=.
2878 # Account for people who put trailing slashes in PATH elements.
2879 case $as_dir/ in #((
2880 ./ | .// | /[cC]/* | \
2881 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2882 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2885 # OSF1 and SCO ODT 3.0 have their own names for install.
2886 # Don't use installbsd from OSF since it installs stuff as root
2888 for ac_prog in ginstall scoinst install; do
2889 for ac_exec_ext in '' $ac_executable_extensions; do
2890 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2891 if test $ac_prog = install &&
2892 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2893 # AIX install. It has an incompatible calling convention.
2895 elif test $ac_prog = install &&
2896 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2897 # program-specific install script used by HP pwplus--don't use.
2900 rm -rf conftest.one conftest.two conftest.dir
2901 echo one > conftest.one
2902 echo two > conftest.two
2904 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2905 test -s conftest.one && test -s conftest.two &&
2906 test -s conftest.dir/conftest.one &&
2907 test -s conftest.dir/conftest.two
2909 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2922 rm -rf conftest.one conftest.two conftest.dir
2925 if test "${ac_cv_path_install+set}" = set; then
2926 INSTALL=$ac_cv_path_install
2928 # As a last resort, use the slow shell script. Don't cache a
2929 # value for INSTALL within a source directory, because that will
2930 # break other packages using the cache if that directory is
2931 # removed, or if the value is a relative name.
2932 INSTALL=$ac_install_sh
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2936 $as_echo "$INSTALL" >&6; }
2938 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2939 # It thinks the first close brace ends the variable substitution.
2940 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2942 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2944 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2947 $as_echo_n "checking whether build environment is sane... " >&6; }
2948 # Reject unsafe characters in $srcdir or the absolute working directory
2949 # name. Accept space and tab only in the latter.
2953 *[\\\"\#\$\&\'\`$am_lf]*)
2954 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2957 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2958 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2961 # Do 'set' in a subshell so we don't clobber the current shell's
2962 # arguments. Must try -L first in case configure is actually a
2963 # symlink; some systems play weird games with the mod time of symlinks
2964 # (eg FreeBSD returns the mod time of the symlink's containing
2968 for am_try
in 1 2; do
2969 echo "timestamp, slept: $am_has_slept" > conftest.
file
2970 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2971 if test "$*" = "X"; then
2973 set X
`ls -t "$srcdir/configure" conftest.file`
2975 if test "$*" != "X $srcdir/configure conftest.file" \
2976 && test "$*" != "X conftest.file $srcdir/configure"; then
2978 # If neither matched, then we have a broken ls. This can happen
2979 # if, for instance, CONFIG_SHELL is bash and it inherits a
2980 # broken ls alias from the environment. This has actually
2981 # happened. Such a system could not be considered "sane".
2982 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2983 alias in your environment" "$LINENO" 5
2985 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2992 test "$2" = conftest.
file
2998 as_fn_error $?
"newly created file is older than distributed files!
2999 Check your system clock" "$LINENO" 5
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3002 $as_echo "yes" >&6; }
3003 # If we didn't sleep, we still need to ensure time stamps of config.status and
3004 # generated files are strictly newer.
3006 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3013 test "$program_prefix" != NONE
&&
3014 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3015 # Use a double $ so make ignores it.
3016 test "$program_suffix" != NONE
&&
3017 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3018 # Double any \ or $.
3019 # By default was `s,x,x', remove it if useless.
3020 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3021 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3023 # Expand $ac_aux_dir to an absolute path.
3024 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3026 if test x
"${MISSING+set}" != xset
; then
3029 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3031 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3034 # Use eval to expand $SHELL
3035 if eval "$MISSING --is-lightweight"; then
3036 am_missing_run
="$MISSING "
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3040 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3043 if test x
"${install_sh+set}" != xset
; then
3046 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3048 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3052 # Installed binaries are usually stripped using 'strip' when the user
3053 # run "make install-strip". However 'strip' might not be the right
3054 # tool to use in cross-compilation environments, therefore Automake
3055 # will honor the 'STRIP' environment variable to overrule this program.
3056 if test "$cross_compiling" != no
; then
3057 if test -n "$ac_tool_prefix"; then
3058 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3059 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 $as_echo_n "checking for $ac_word... " >&6; }
3062 if ${ac_cv_prog_STRIP+:} false
; then :
3063 $as_echo_n "(cached) " >&6
3065 if test -n "$STRIP"; then
3066 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir
=.
3073 for ac_exec_ext
in '' $ac_executable_extensions; do
3074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3075 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 STRIP
=$ac_cv_prog_STRIP
3086 if test -n "$STRIP"; then
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3088 $as_echo "$STRIP" >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3096 if test -z "$ac_cv_prog_STRIP"; then
3098 # Extract the first word of "strip", so it can be a program name with args.
3099 set dummy strip
; ac_word
=$2
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101 $as_echo_n "checking for $ac_word... " >&6; }
3102 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3103 $as_echo_n "(cached) " >&6
3105 if test -n "$ac_ct_STRIP"; then
3106 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3112 test -z "$as_dir" && as_dir
=.
3113 for ac_exec_ext
in '' $ac_executable_extensions; do
3114 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3115 ac_cv_prog_ac_ct_STRIP
="strip"
3116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3126 if test -n "$ac_ct_STRIP"; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3128 $as_echo "$ac_ct_STRIP" >&6; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3134 if test "x$ac_ct_STRIP" = x
; then
3137 case $cross_compiling:$ac_tool_warned in
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3141 ac_tool_warned
=yes ;;
3146 STRIP
="$ac_cv_prog_STRIP"
3150 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3153 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3154 if test -z "$MKDIR_P"; then
3155 if ${ac_cv_path_mkdir+:} false
; then :
3156 $as_echo_n "(cached) " >&6
3158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3162 test -z "$as_dir" && as_dir
=.
3163 for ac_prog
in mkdir gmkdir
; do
3164 for ac_exec_ext
in '' $ac_executable_extensions; do
3165 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3166 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3167 'mkdir (GNU coreutils) '* | \
3168 'mkdir (coreutils) '* | \
3169 'mkdir (fileutils) '4.1*)
3170 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3180 test -d .
/--version && rmdir .
/--version
3181 if test "${ac_cv_path_mkdir+set}" = set; then
3182 MKDIR_P
="$ac_cv_path_mkdir -p"
3184 # As a last resort, use the slow shell script. Don't cache a
3185 # value for MKDIR_P within a source directory, because that will
3186 # break other packages using the cache if that directory is
3187 # removed, or if the value is a relative name.
3188 MKDIR_P
="$ac_install_sh -d"
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3192 $as_echo "$MKDIR_P" >&6; }
3194 for ac_prog
in gawk mawk nawk
awk
3196 # Extract the first word of "$ac_prog", so it can be a program name with args.
3197 set dummy
$ac_prog; ac_word
=$2
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3199 $as_echo_n "checking for $ac_word... " >&6; }
3200 if ${ac_cv_prog_AWK+:} false
; then :
3201 $as_echo_n "(cached) " >&6
3203 if test -n "$AWK"; then
3204 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_AWK
="$ac_prog"
3214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 if test -n "$AWK"; then
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3226 $as_echo "$AWK" >&6; }
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3233 test -n "$AWK" && break
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3237 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3239 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3240 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3241 $as_echo_n "(cached) " >&6
3243 cat >conftest.
make <<\_ACEOF
3246 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3248 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3249 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3251 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3253 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3257 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3264 SET_MAKE
="MAKE=${MAKE-make}"
3267 rm -rf .tst
2>/dev
/null
3268 mkdir .tst
2>/dev
/null
3269 if test -d .tst
; then
3274 rmdir .tst
2>/dev
/null
3276 # Check whether --enable-silent-rules was given.
3277 if test "${enable_silent_rules+set}" = set; then :
3278 enableval
=$enable_silent_rules;
3281 case $enable_silent_rules in # (((
3282 yes) AM_DEFAULT_VERBOSITY
=0;;
3283 no
) AM_DEFAULT_VERBOSITY
=1;;
3284 *) AM_DEFAULT_VERBOSITY
=1;;
3286 am_make
=${MAKE-make}
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3288 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3289 if ${am_cv_make_support_nested_variables+:} false
; then :
3290 $as_echo_n "(cached) " >&6
3292 if $as_echo 'TRUE=$(BAR$(V))
3298 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3299 am_cv_make_support_nested_variables
=yes
3301 am_cv_make_support_nested_variables
=no
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3305 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3306 if test $am_cv_make_support_nested_variables = yes; then
3308 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3310 AM_V
=$AM_DEFAULT_VERBOSITY
3311 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3315 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3316 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3317 # is not polluted with repeated "-I."
3318 am__isrc
=' -I$(srcdir)'
3319 # test to see if srcdir already configured
3320 if test -f $srcdir/config.status
; then
3321 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3325 # test whether we have cygpath
3326 if test -z "$CYGPATH_W"; then
3327 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3328 CYGPATH_W
='cygpath -w'
3335 # Define the identity of the package.
3340 cat >>confdefs.h
<<_ACEOF
3341 #define PACKAGE "$PACKAGE"
3345 cat >>confdefs.h
<<_ACEOF
3346 #define VERSION "$VERSION"
3349 # Some tools Automake needs.
3351 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3354 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3357 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3360 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3363 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3365 # For better backward compatibility. To be removed once Automake 1.9.x
3366 # dies out for good. For more background, see:
3367 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3368 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3369 mkdir_p
='$(MKDIR_P)'
3371 # We need awk for the "check" target (and possibly the TAP driver). The
3372 # system "awk" is bad on some platforms.
3373 # Always define AMTAR for backward compatibility. Yes, it's still used
3374 # in the wild :-( We should find a proper way to deprecate it ...
3378 # We'll loop over all known methods to create a tar archive until one works.
3379 _am_tools
='gnutar pax cpio none'
3381 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3388 # POSIX will say in a future version that running "rm -f" with no argument
3389 # is OK; and we want to be able to make that assumption in our Makefile
3390 # recipes. So use an aggressive probe to check that the usage we want is
3391 # actually supported "in the wild" to an acceptable degree.
3392 # See automake bug#10828.
3393 # To make any issue more visible, cause the running configure to be aborted
3394 # by default if the 'rm' program in use doesn't match our expectations; the
3395 # user can still override this though.
3396 if rm -f && rm -fr && rm -rf; then : OK
; else
3400 Your 'rm' program seems unable to run without file operands specified
3401 on the command line, even when the '-f' option is present. This is contrary
3402 to the behaviour of most rm programs out there, and not conforming with
3403 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3405 Please tell bug-automake@gnu.org about your system, including the value
3406 of your $PATH and any error possibly output before this message. This
3407 can help us improve future automake versions.
3410 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3411 echo 'Configuration will proceed anyway, since you have set the' >&2
3412 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3416 Aborting the configuration process, to ensure you take notice of the issue.
3418 You can download and install GNU coreutils to get an 'rm' implementation
3419 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3421 If you want to complete the configuration process using your problematic
3422 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3423 to "yes", and re-run configure.
3426 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3433 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3434 # Check whether --enable-maintainer-mode was given.
3435 if test "${enable_maintainer_mode+set}" = set; then :
3436 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3438 USE_MAINTAINER_MODE
=no
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3442 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3443 if test $USE_MAINTAINER_MODE = yes; then
3444 MAINTAINER_MODE_TRUE
=
3445 MAINTAINER_MODE_FALSE
='#'
3447 MAINTAINER_MODE_TRUE
='#'
3448 MAINTAINER_MODE_FALSE
=
3451 MAINT
=$MAINTAINER_MODE_TRUE
3455 # Make sure we can run config.sub.
3456 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3457 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3460 $as_echo_n "checking build system type... " >&6; }
3461 if ${ac_cv_build+:} false
; then :
3462 $as_echo_n "(cached) " >&6
3464 ac_build_alias
=$build_alias
3465 test "x$ac_build_alias" = x
&&
3466 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3467 test "x$ac_build_alias" = x
&&
3468 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3469 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3470 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3474 $as_echo "$ac_cv_build" >&6; }
3475 case $ac_cv_build in
3477 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3480 ac_save_IFS
=$IFS; IFS
='-'
3486 # Remember, the first character of IFS is used to create $*,
3487 # except with old shells:
3490 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3494 $as_echo_n "checking host system type... " >&6; }
3495 if ${ac_cv_host+:} false
; then :
3496 $as_echo_n "(cached) " >&6
3498 if test "x$host_alias" = x
; then
3499 ac_cv_host
=$ac_cv_build
3501 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3502 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3507 $as_echo "$ac_cv_host" >&6; }
3510 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3513 ac_save_IFS
=$IFS; IFS
='-'
3519 # Remember, the first character of IFS is used to create $*,
3520 # except with old shells:
3523 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3528 ac_cpp
='$CPP $CPPFLAGS'
3529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3535 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3537 # start out with intent to build Web Alpine
3538 WEB_BUILD
=web
/src
/alpined.d
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
3546 if test -n "$ac_tool_prefix"; then
3547 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3548 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3550 $as_echo_n "checking for $ac_word... " >&6; }
3551 if ${ac_cv_prog_CC+:} false
; then :
3552 $as_echo_n "(cached) " >&6
3554 if test -n "$CC"; then
3555 ac_cv_prog_CC
="$CC" # Let the user override the test.
3557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3561 test -z "$as_dir" && as_dir
=.
3562 for ac_exec_ext
in '' $ac_executable_extensions; do
3563 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3564 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 if test -n "$CC"; then
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3577 $as_echo "$CC" >&6; }
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 $as_echo "no" >&6; }
3585 if test -z "$ac_cv_prog_CC"; then
3587 # Extract the first word of "gcc", so it can be a program name with args.
3588 set dummy gcc
; ac_word
=$2
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3590 $as_echo_n "checking for $ac_word... " >&6; }
3591 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3592 $as_echo_n "(cached) " >&6
3594 if test -n "$ac_ct_CC"; then
3595 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3601 test -z "$as_dir" && as_dir
=.
3602 for ac_exec_ext
in '' $ac_executable_extensions; do
3603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3604 ac_cv_prog_ac_ct_CC
="gcc"
3605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3614 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3615 if test -n "$ac_ct_CC"; then
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3617 $as_echo "$ac_ct_CC" >&6; }
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3623 if test "x$ac_ct_CC" = x
; then
3626 case $cross_compiling:$ac_tool_warned in
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3630 ac_tool_warned
=yes ;;
3638 if test -z "$CC"; then
3639 if test -n "$ac_tool_prefix"; then
3640 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3641 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if ${ac_cv_prog_CC+:} false
; then :
3645 $as_echo_n "(cached) " >&6
3647 if test -n "$CC"; then
3648 ac_cv_prog_CC
="$CC" # Let the user override the test.
3650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3654 test -z "$as_dir" && as_dir
=.
3655 for ac_exec_ext
in '' $ac_executable_extensions; do
3656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3657 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 if test -n "$CC"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3670 $as_echo "$CC" >&6; }
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3679 if test -z "$CC"; then
3680 # Extract the first word of "cc", so it can be a program name with args.
3681 set dummy cc
; ac_word
=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_CC+:} false
; then :
3685 $as_echo_n "(cached) " >&6
3687 if test -n "$CC"; then
3688 ac_cv_prog_CC
="$CC" # Let the user override the test.
3691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3695 test -z "$as_dir" && as_dir
=.
3696 for ac_exec_ext
in '' $ac_executable_extensions; do
3697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3698 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3699 ac_prog_rejected
=yes
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 if test $ac_prog_rejected = yes; then
3711 # We found a bogon in the path, so make sure we never use it.
3712 set dummy
$ac_cv_prog_CC
3714 if test $# != 0; then
3715 # We chose a different compiler from the bogus one.
3716 # However, it has the same basename, so the bogon will be chosen
3717 # first if we set CC to just the basename; use the full file name.
3719 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3735 if test -z "$CC"; then
3736 if test -n "$ac_tool_prefix"; then
3737 for ac_prog
in cl.exe
3739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3740 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3742 $as_echo_n "checking for $ac_word... " >&6; }
3743 if ${ac_cv_prog_CC+:} false
; then :
3744 $as_echo_n "(cached) " >&6
3746 if test -n "$CC"; then
3747 ac_cv_prog_CC
="$CC" # Let the user override the test.
3749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3753 test -z "$as_dir" && as_dir
=.
3754 for ac_exec_ext
in '' $ac_executable_extensions; do
3755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3756 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 if test -n "$CC"; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3769 $as_echo "$CC" >&6; }
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772 $as_echo "no" >&6; }
3776 test -n "$CC" && break
3779 if test -z "$CC"; then
3781 for ac_prog
in cl.exe
3783 # Extract the first word of "$ac_prog", so it can be a program name with args.
3784 set dummy
$ac_prog; ac_word
=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3788 $as_echo_n "(cached) " >&6
3790 if test -n "$ac_ct_CC"; then
3791 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3797 test -z "$as_dir" && as_dir
=.
3798 for ac_exec_ext
in '' $ac_executable_extensions; do
3799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_ac_ct_CC
="$ac_prog"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3811 if test -n "$ac_ct_CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3813 $as_echo "$ac_ct_CC" >&6; }
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3820 test -n "$ac_ct_CC" && break
3823 if test "x$ac_ct_CC" = x
; then
3826 case $cross_compiling:$ac_tool_warned in
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3830 ac_tool_warned
=yes ;;
3839 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error $?
"no acceptable C compiler found in \$PATH
3842 See \`config.log' for more details" "$LINENO" 5; }
3844 # Provide some information about the compiler.
3845 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3848 for ac_option
in --version -v -V -qversion; do
3849 { { ac_try
="$ac_compiler $ac_option >&5"
3851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3855 $as_echo "$ac_try_echo"; } >&5
3856 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3858 if test -s conftest.err; then
3860 ... rest of stderr output deleted ...
3861 10q' conftest.err >conftest.er1
3862 cat conftest.er1 >&5
3864 rm -f conftest.er1 conftest.err
3865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3866 test $ac_status = 0; }
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3880 ac_clean_files_save=$ac_clean_files
3881 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3882 # Try to create an executable without -o first, disregard a.out.
3883 # It will help us diagnose broken compilers, and finding out an intuition
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3886 $as_echo_n "checking whether the C compiler works... " >&6; }
3887 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3889 # The possible output files:
3890 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3893 for ac_file in $ac_files
3896 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3897 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3902 if { { ac_try="$ac_link_default"
3904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3905 *) ac_try_echo
=$ac_try;;
3907 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 $as_echo "$ac_try_echo"; } >&5
3909 (eval "$ac_link_default") 2>&5
3911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3912 test $ac_status = 0; }; then :
3913 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3914 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3915 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3916 # so that the user can short-circuit this test for compilers unknown to
3918 for ac_file
in $ac_files ''
3920 test -f "$ac_file" ||
continue
3922 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3925 # We found the default executable, but exeext='' is most
3929 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3931 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3933 # We set ac_cv_exeext here because the later test for it is not
3934 # safe: cross compilers may not add the suffix if given an `-o'
3935 # argument, so we may need to know it at that point already.
3936 # Even if this section looks crufty: it has the advantage of
3943 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3948 if test -z "$ac_file"; then :
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3951 $as_echo "$as_me: failed program was:" >&5
3952 sed 's/^/| /' conftest.
$ac_ext >&5
3954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3956 as_fn_error
77 "C compiler cannot create executables
3957 See \`config.log' for more details" "$LINENO" 5; }
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3960 $as_echo "yes" >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3963 $as_echo_n "checking for C compiler default output file name... " >&6; }
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3965 $as_echo "$ac_file" >&6; }
3966 ac_exeext
=$ac_cv_exeext
3968 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3969 ac_clean_files
=$ac_clean_files_save
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3971 $as_echo_n "checking for suffix of executables... " >&6; }
3972 if { { ac_try
="$ac_link"
3974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3975 *) ac_try_echo=$ac_try;;
3977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3978 $as_echo "$ac_try_echo"; } >&5
3979 (eval "$ac_link") 2>&5
3981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3982 test $ac_status = 0; }; then :
3983 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3984 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3985 # work properly (i.e., refer to `conftest.exe'), while it won't with
3987 for ac_file
in conftest.exe conftest conftest.
*; do
3988 test -f "$ac_file" ||
continue
3990 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3991 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3999 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4000 See \`config.log' for more details" "$LINENO" 5; }
4002 rm -f conftest conftest
$ac_cv_exeext
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4004 $as_echo "$ac_cv_exeext" >&6; }
4006 rm -f conftest.
$ac_ext
4007 EXEEXT
=$ac_cv_exeext
4009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4010 /* end confdefs.h. */
4015 FILE *f = fopen ("conftest.out", "w");
4016 return ferror (f) || fclose (f) != 0;
4022 ac_clean_files
="$ac_clean_files conftest.out"
4023 # Check that the compiler produces executables we can run. If not, either
4024 # the compiler is broken, or we cross compile.
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4026 $as_echo_n "checking whether we are cross compiling... " >&6; }
4027 if test "$cross_compiling" != yes; then
4028 { { ac_try
="$ac_link"
4030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link") 2>&5
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }
4039 if { ac_try='./conftest$ac_cv_exeext'
4040 { { case "(($ac_try" in
4041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4042 *) ac_try_echo
=$ac_try;;
4044 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_try") 2>&5
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; }; }; then
4052 if test "$cross_compiling" = maybe
; then
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error $?
"cannot run C compiled programs.
4058 If you meant to cross compile, use \`--host'.
4059 See \`config.log' for more details" "$LINENO" 5; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4064 $as_echo "$cross_compiling" >&6; }
4066 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4067 ac_clean_files
=$ac_clean_files_save
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4069 $as_echo_n "checking for suffix of object files... " >&6; }
4070 if ${ac_cv_objext+:} false
; then :
4071 $as_echo_n "(cached) " >&6
4073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 rm -f conftest.o conftest.obj
4085 if { { ac_try
="$ac_compile"
4087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_compile") 2>&5
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; then :
4096 for ac_file in conftest.o conftest.obj conftest.*; do
4097 test -f "$ac_file" || continue;
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4105 $as_echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4111 See \
`config.log' for more details" "$LINENO" 5; }
4113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4116 $as_echo "$ac_cv_objext" >&6; }
4117 OBJEXT=$ac_cv_objext
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4121 if ${ac_cv_c_compiler_gnu+:} false; then :
4122 $as_echo_n "(cached) " >&6
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4138 if ac_fn_c_try_compile "$LINENO"; then :
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4148 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4149 if test $ac_compiler_gnu = yes; then
4154 ac_test_CFLAGS=${CFLAGS+set}
4155 ac_save_CFLAGS=$CFLAGS
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 if ${ac_cv_prog_cc_g+:} false; then :
4159 $as_echo_n "(cached) " >&6
4161 ac_save_c_werror_flag=$ac_c_werror_flag
4162 ac_c_werror_flag=yes
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4176 if ac_fn_c_try_compile "$LINENO"; then :
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4191 if ac_fn_c_try_compile "$LINENO"; then :
4194 ac_c_werror_flag=$ac_save_c_werror_flag
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4218 $as_echo "$ac_cv_prog_cc_g" >&6; }
4219 if test "$ac_test_CFLAGS" = set; then
4220 CFLAGS=$ac_save_CFLAGS
4221 elif test $ac_cv_prog_cc_g = yes; then
4222 if test "$GCC" = yes; then
4228 if test "$GCC" = yes; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4236 if ${ac_cv_prog_cc_c89+:} false; then :
4237 $as_echo_n "(cached) " >&6
4239 ac_cv_prog_cc_c89=no
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4247 struct buf { int x; };
4248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4249 static char *e (p, i)
4255 static char *f (char * (*g) (char **, int), char **p, ...)
4260 s = g (p, va_arg (v,int));
4265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4266 function prototypes and stuff, but not '\xHH' hex character constants.
4267 These don't provoke an error unfortunately, instead are silently treated
4268 as 'x'. The following induces an error, until -std is added to get
4269 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4270 array size at least. It's necessary to write '\x00'==0 to get something
4271 that's true only with -std. */
4272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4274 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4275 inside strings and character constants. */
4277 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4279 int test (int i, double x);
4280 struct s1 {int (*f) (int a);};
4281 struct s2 {int (*f) (double a);};
4282 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4288 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4293 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4294 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4296 CC="$ac_save_CC $ac_arg"
4297 if ac_fn_c_try_compile "$LINENO"; then :
4298 ac_cv_prog_cc_c89=$ac_arg
4300 rm -f core conftest.err conftest.$ac_objext
4301 test "x$ac_cv_prog_cc_c89" != "xno" && break
4303 rm -f conftest.$ac_ext
4308 case "x$ac_cv_prog_cc_c89" in
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4311 $as_echo "none needed" >&6; } ;;
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4314 $as_echo "unsupported" >&6; } ;;
4316 CC="$CC $ac_cv_prog_cc_c89"
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4318 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4320 if test "x$ac_cv_prog_cc_c89" != xno; then :
4325 ac_cpp='$CPP $CPPFLAGS'
4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 ac_cpp='$CPP $CPPFLAGS'
4332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4336 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4337 if ${am_cv_prog_cc_c_o+:} false; then :
4338 $as_echo_n "(cached) " >&6
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 # Make sure it works both with $CC and with simple cc.
4352 # Following AC_PROG_CC_C_O, we do the test twice because some
4353 # compilers refuse to overwrite an existing .o file with -o,
4354 # though they will create one.
4355 am_cv_prog_cc_c_o=yes
4357 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4358 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } \
4362 && test -f conftest2.$ac_objext; then
4365 am_cv_prog_cc_c_o=no
4369 rm -f core conftest*
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4373 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4374 if test "$am_cv_prog_cc_c_o" != yes; then
4375 # Losing compiler, so override with the script.
4376 # FIXME: It is wrong to rewrite CC.
4377 # But if we don't then we get into trouble of one sort or another.
4378 # A longer-term fix would be to have automake use am__CC in this case,
4379 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4380 CC="$am_aux_dir/compile $CC"
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 DEPDIR="${am__leading_dot}deps"
4390 ac_config_commands="$ac_config_commands depfiles"
4393 am_make=${MAKE-make}
4394 cat > confinc << 'END'
4396 @echo this is the am__doit target
4399 # If we don't find an include directive, just comment out the code.
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4401 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4405 # First try GNU make style include.
4406 echo "include confinc" > confmf
4407 # Ignore all kinds of additional output from 'make'.
4408 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4409 *the\ am__doit\ target*)
4415 # Now try BSD make style include.
4416 if test "$am__include" = "#"; then
4417 echo '.include "confinc"' > confmf
4418 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4419 *the\ am__doit\ target*)
4420 am__include=.include
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4429 $as_echo "$_am_result" >&6; }
4430 rm -f confinc confmf
4432 # Check whether --enable-dependency-tracking was given.
4433 if test "${enable_dependency_tracking+set}" = set; then :
4434 enableval=$enable_dependency_tracking;
4437 if test "x$enable_dependency_tracking" != xno; then
4438 am_depcomp="$ac_aux_dir/depcomp"
4442 if test "x$enable_dependency_tracking" != xno; then
4452 depcc="$CC" am_compiler_list=
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4455 $as_echo_n "checking dependency style of $depcc... " >&6; }
4456 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4457 $as_echo_n "(cached) " >&6
4459 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4460 # We make a subdir and do the tests there. Otherwise we can end up
4461 # making bogus files that we don't know about and never remove. For
4462 # instance it was reported that on HP-UX the gcc test will end up
4463 # making a dummy file named 'D' -- because '-MD' means "put the output
4467 # Copy depcomp to subdir because otherwise we won't find it if we're
4468 # using a relative directory.
4469 cp "$am_depcomp" conftest.dir
4471 # We will build objects and dependencies in a subdirectory because
4472 # it helps to detect inapplicable dependency modes. For instance
4473 # both Tru64's cc and ICC support -MD to output dependencies as a
4474 # side effect of compilation, but ICC will put the dependencies in
4475 # the current directory while Tru64 will put them in the object
4479 am_cv_CC_dependencies_compiler_type=none
4480 if test "$am_compiler_list" = ""; then
4481 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4484 case " $depcc " in #(
4485 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4488 for depmode in $am_compiler_list; do
4489 # Setup a source with many dependencies, because some compilers
4490 # like to wrap large dependency lists on column 80 (with \), and
4491 # we should not choose a depcomp mode which is confused by this.
4493 # We need to recreate these files for each test, as the compiler may
4494 # overwrite some of them when testing with obscure command lines.
4495 # This happens at least with the AIX C compiler.
4497 for i in 1 2 3 4 5 6; do
4498 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4499 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4500 # Solaris 10 /bin/sh.
4501 echo '/* dummy */' > sub/conftst$i.h
4503 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4505 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4506 # mode. It turns out that the SunPro C++ compiler does not properly
4507 # handle '-M -o', and we need to detect this. Also, some Intel
4508 # versions had trouble with output in subdirs.
4509 am__obj=sub/conftest.${OBJEXT-o}
4510 am__minus_obj="-o $am__obj"
4513 # This depmode causes a compiler race in universal mode.
4514 test "$am__universal" = false || continue
4517 # After this tag, mechanisms are not by side-effect, so they'll
4518 # only be used when explicitly requested.
4519 if test "x$enable_dependency_tracking" = xyes; then
4525 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4526 # This compiler won't grok '-c -o', but also, the minuso test has
4527 # not run yet. These depmodes are late enough in the game, and
4528 # so weak that their functioning should not be impacted.
4529 am__obj=conftest.${OBJEXT-o}
4534 if depmode=$depmode \
4535 source=sub/conftest.c object=$am__obj \
4536 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4537 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4538 >/dev/null 2>conftest.err &&
4539 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4540 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4541 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4542 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4543 # icc doesn't choke on unknown options, it will just issue warnings
4544 # or remarks (even with -Werror). So we grep stderr for any message
4545 # that says an option was ignored or not supported.
4546 # When given -MP, icc 7.0 and 7.1 complain thusly:
4547 # icc: Command line warning: ignoring option '-M'; no argument required
4548 # The diagnosis changed in icc 8.0:
4549 # icc: Command line remark: option '-MP' not supported
4550 if (grep 'ignoring option' conftest.err ||
4551 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4552 am_cv_CC_dependencies_compiler_type=$depmode
4561 am_cv_CC_dependencies_compiler_type=none
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4566 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4567 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4570 test "x$enable_dependency_tracking" != xno \
4571 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4573 am__fastdepCC_FALSE='#'
4575 am__fastdepCC_TRUE='#'
4576 am__fastdepCC_FALSE=
4581 ac_cpp='$CPP $CPPFLAGS'
4582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4586 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4587 # On Suns, sometimes $CPP names a directory.
4588 if test -n "$CPP" && test -d "$CPP"; then
4591 if test -z "$CPP"; then
4592 if ${ac_cv_prog_CPP+:} false; then :
4593 $as_echo_n "(cached) " >&6
4595 # Double quotes because CPP needs to be expanded
4596 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4599 for ac_c_preproc_warn_flag in '' yes
4601 # Use a header file that comes with gcc, so configuring glibc
4602 # with a fresh cross-compiler works.
4603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4604 # <limits.h> exists even on freestanding compilers.
4605 # On the NeXT, cc -E runs the code through the compiler's parser,
4606 # not just through cpp. "Syntax error" is here to catch this case.
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4610 # include <limits.h>
4612 # include <assert.h>
4616 if ac_fn_c_try_cpp "$LINENO"; then :
4619 # Broken: fails on valid input.
4622 rm -f conftest.err conftest.i conftest.$ac_ext
4624 # OK, works on sane cases. Now check whether nonexistent headers
4625 # can be detected and how.
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4628 #include <ac_nonexistent.h>
4630 if ac_fn_c_try_cpp "$LINENO"; then :
4631 # Broken: success on invalid input.
4634 # Passes both tests.
4638 rm -f conftest.err conftest.i conftest.$ac_ext
4641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4642 rm -f conftest.i conftest.err conftest.
$ac_ext
4643 if $ac_preproc_ok; then :
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4656 $as_echo "$CPP" >&6; }
4658 for ac_c_preproc_warn_flag
in '' yes
4660 # Use a header file that comes with gcc, so configuring glibc
4661 # with a fresh cross-compiler works.
4662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4663 # <limits.h> exists even on freestanding compilers.
4664 # On the NeXT, cc -E runs the code through the compiler's parser,
4665 # not just through cpp. "Syntax error" is here to catch this case.
4666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4669 # include <limits.h>
4671 # include <assert.h>
4675 if ac_fn_c_try_cpp
"$LINENO"; then :
4678 # Broken: fails on valid input.
4681 rm -f conftest.err conftest.i conftest.
$ac_ext
4683 # OK, works on sane cases. Now check whether nonexistent headers
4684 # can be detected and how.
4685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4686 /* end confdefs.h. */
4687 #include <ac_nonexistent.h>
4689 if ac_fn_c_try_cpp
"$LINENO"; then :
4690 # Broken: success on invalid input.
4693 # Passes both tests.
4697 rm -f conftest.err conftest.i conftest.
$ac_ext
4700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4701 rm -f conftest.i conftest.err conftest.
$ac_ext
4702 if $ac_preproc_ok; then :
4705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4707 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4708 See \`config.log' for more details" "$LINENO" 5; }
4712 ac_cpp
='$CPP $CPPFLAGS'
4713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4720 save_cross_compiling
=$cross_compiling
4721 save_ac_tool_prefix
=$ac_tool_prefix
4726 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4727 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4728 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'
4729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4730 if test -n "$ac_tool_prefix"; then
4731 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4732 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4734 $as_echo_n "checking for $ac_word... " >&6; }
4735 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4736 $as_echo_n "(cached) " >&6
4738 if test -n "$CC_FOR_BUILD"; then
4739 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir
=.
4746 for ac_exec_ext
in '' $ac_executable_extensions; do
4747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4748 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4759 if test -n "$CC_FOR_BUILD"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4761 $as_echo "$CC_FOR_BUILD" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4769 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
4770 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4771 # Extract the first word of "gcc", so it can be a program name with args.
4772 set dummy gcc
; ac_word
=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -n "$ac_ct_CC_FOR_BUILD"; then
4779 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_exec_ext
in '' $ac_executable_extensions; do
4787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4799 if test -n "$ac_ct_CC_FOR_BUILD"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4801 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4807 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
4810 case $cross_compiling:$ac_tool_warned in
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
4813 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
4814 ac_tool_warned
=yes ;;
4816 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
4819 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
4822 if test -z "$CC_FOR_BUILD"; then
4823 if test -n "$ac_tool_prefix"; then
4824 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4825 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4829 $as_echo_n "(cached) " >&6
4831 if test -n "$CC_FOR_BUILD"; then
4832 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4838 test -z "$as_dir" && as_dir
=.
4839 for ac_exec_ext
in '' $ac_executable_extensions; do
4840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4852 if test -n "$CC_FOR_BUILD"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4854 $as_echo "$CC_FOR_BUILD" >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4863 if test -z "$CC_FOR_BUILD"; then
4864 # Extract the first word of "cc", so it can be a program name with args.
4865 set dummy cc
; ac_word
=$2
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 $as_echo_n "checking for $ac_word... " >&6; }
4868 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4869 $as_echo_n "(cached) " >&6
4871 if test -n "$CC_FOR_BUILD"; then
4872 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir
=.
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4882 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4883 ac_prog_rejected
=yes
4886 ac_cv_prog_CC_FOR_BUILD
="cc"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 if test $ac_prog_rejected = yes; then
4895 # We found a bogon in the path, so make sure we never use it.
4896 set dummy
$ac_cv_prog_CC_FOR_BUILD
4898 if test $# != 0; then
4899 # We chose a different compiler from the bogus one.
4900 # However, it has the same basename, so the bogon will be chosen
4901 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
4903 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
4908 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4909 if test -n "$CC_FOR_BUILD"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4911 $as_echo "$CC_FOR_BUILD" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$CC_FOR_BUILD"; then
4920 if test -n "$ac_tool_prefix"; then
4921 for ac_prog
in cl.exe
4923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4924 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4928 $as_echo_n "(cached) " >&6
4930 if test -n "$CC_FOR_BUILD"; then
4931 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4937 test -z "$as_dir" && as_dir
=.
4938 for ac_exec_ext
in '' $ac_executable_extensions; do
4939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4951 if test -n "$CC_FOR_BUILD"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4953 $as_echo "$CC_FOR_BUILD" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4960 test -n "$CC_FOR_BUILD" && break
4963 if test -z "$CC_FOR_BUILD"; then
4964 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4965 for ac_prog
in cl.exe
4967 # Extract the first word of "$ac_prog", so it can be a program name with args.
4968 set dummy
$ac_prog; ac_word
=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$ac_ct_CC_FOR_BUILD"; then
4975 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4995 if test -n "$ac_ct_CC_FOR_BUILD"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4997 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$ac_ct_CC_FOR_BUILD" && break
5007 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5010 case $cross_compiling:$ac_tool_warned in
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5014 ac_tool_warned
=yes ;;
5016 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5023 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5025 as_fn_error $?
"no acceptable C compiler found in \$PATH
5026 See \`config.log' for more details" "$LINENO" 5; }
5028 # Provide some information about the compiler.
5029 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5030 set X
$ac_build_compile
5032 for ac_option
in --version -v -V -qversion; do
5033 { { ac_try
="$ac_compiler $ac_option >&5"
5035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5036 *) ac_try_echo=$ac_try;;
5038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5039 $as_echo "$ac_try_echo"; } >&5
5040 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5042 if test -s conftest.err; then
5044 ... rest of stderr output deleted ...
5045 10q' conftest.err >conftest.er1
5046 cat conftest.er1 >&5
5048 rm -f conftest.er1 conftest.err
5049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5050 test $ac_status = 0; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5054 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5055 if ${ac_cv_c_compiler_gnu+:} false; then :
5056 $as_echo_n "(cached) " >&6
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5072 if ac_fn_c_try_compile "$LINENO"; then :
5077 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5078 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5082 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5083 if test $ac_compiler_gnu = yes; then
5088 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5089 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5091 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5092 if ${ac_cv_build_prog_cc_g+:} false; then :
5093 $as_echo_n "(cached) " >&6
5095 ac_save_c_werror_flag=$ac_c_werror_flag
5096 ac_c_werror_flag=yes
5097 ac_cv_build_prog_cc_g=no
5098 CFLAGS_FOR_BUILD="-g"
5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5110 if ac_fn_c_try_compile "$LINENO"; then :
5111 ac_cv_build_prog_cc_g=yes
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5125 if ac_fn_c_try_compile "$LINENO"; then :
5128 ac_c_werror_flag=$ac_save_c_werror_flag
5129 CFLAGS_FOR_BUILD="-g"
5130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 /* end confdefs.h. */
5141 if ac_fn_c_try_compile "$LINENO"; then :
5142 ac_cv_build_prog_cc_g=yes
5144 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5146 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5148 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5149 ac_c_werror_flag=$ac_save_c_werror_flag
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5152 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5153 if test "$ac_test_CFLAGS" = set; then
5154 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5155 elif test $ac_cv_build_prog_cc_g = yes; then
5156 if test "$GCC" = yes; then
5157 CFLAGS_FOR_BUILD="-g -O2"
5159 CFLAGS_FOR_BUILD="-g"
5162 if test "$GCC" = yes; then
5163 CFLAGS_FOR_BUILD="-O2"
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5169 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5170 if ${ac_cv_prog_cc_c89+:} false; then :
5171 $as_echo_n "(cached) " >&6
5173 ac_cv_prog_cc_c89=no
5174 ac_save_CC=$CC_FOR_BUILD
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5180 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5181 struct buf { int x; };
5182 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5183 static char *e (p, i)
5189 static char *f (char * (*g) (char **, int), char **p, ...)
5194 s = g (p, va_arg (v,int));
5199 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5200 function prototypes and stuff, but not '\xHH' hex character constants.
5201 These don't provoke an error unfortunately, instead are silently treated
5202 as 'x'. The following induces an error, until -std is added to get
5203 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5204 array size at least. It's necessary to write '\x00'==0 to get something
5205 that's true only with -std. */
5206 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5208 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5209 inside strings and character constants. */
5211 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5213 int test (int i, double x);
5214 struct s1 {int (*f) (int a);};
5215 struct s2 {int (*f) (double a);};
5216 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5222 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5227 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5228 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5230 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5231 if ac_fn_c_try_compile "$LINENO"; then :
5232 ac_cv_prog_cc_c89=$ac_arg
5234 rm -f core conftest.err conftest.$ac_build_objext
5235 test "x$ac_cv_prog_cc_c89" != "xno" && break
5237 rm -f conftest.$ac_ext
5238 CC_FOR_BUILD=$ac_save_CC
5242 case "x$ac_cv_prog_cc_c89" in
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5245 $as_echo "none needed" >&6; } ;;
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5248 $as_echo "unsupported" >&6; } ;;
5250 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5252 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5254 if test "x$ac_cv_prog_cc_c89" != xno; then :
5259 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5260 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5261 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'
5262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5265 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5266 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5267 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'
5268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5270 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5271 if ${am_cv_prog_cc_c_o+:} false; then :
5272 $as_echo_n "(cached) " >&6
5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5275 /* end confdefs.h. */
5285 # Make sure it works both with $CC and with simple cc.
5286 # Following AC_PROG_CC_C_O, we do the test twice because some
5287 # compilers refuse to overwrite an existing .o file with -o,
5288 # though they will create one.
5289 am_cv_prog_cc_c_o=yes
5291 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5292 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); } \
5296 && test -f conftest2.$ac_build_objext; then
5299 am_cv_prog_cc_c_o=no
5303 rm -f core conftest*
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5307 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5308 if test "$am_cv_prog_cc_c_o" != yes; then
5309 # Losing compiler, so override with the script.
5310 # FIXME: It is wrong to rewrite CC.
5311 # But if we don't then we get into trouble of one sort or another.
5312 # A longer-term fix would be to have automake use am__CC in this case,
5313 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5314 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5317 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5318 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5319 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'
5320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5323 depcc="$CC_FOR_BUILD" am_compiler_list=
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5326 $as_echo_n "checking dependency style of $depcc... " >&6; }
5327 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5328 $as_echo_n "(cached) " >&6
5330 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5331 # We make a subdir and do the tests there. Otherwise we can end up
5332 # making bogus files that we don't know about and never remove. For
5333 # instance it was reported that on HP-UX the gcc test will end up
5334 # making a dummy file named 'D' -- because '-MD' means "put the output
5338 # Copy depcomp to subdir because otherwise we won't find it if we're
5339 # using a relative directory.
5340 cp "$am_depcomp" conftest.dir
5342 # We will build objects and dependencies in a subdirectory because
5343 # it helps to detect inapplicable dependency modes. For instance
5344 # both Tru64's cc and ICC support -MD to output dependencies as a
5345 # side effect of compilation, but ICC will put the dependencies in
5346 # the current directory while Tru64 will put them in the object
5350 am_cv_CC_dependencies_compiler_type=none
5351 if test "$am_compiler_list" = ""; then
5352 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5355 case " $depcc " in #(
5356 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5359 for depmode in $am_compiler_list; do
5360 # Setup a source with many dependencies, because some compilers
5361 # like to wrap large dependency lists on column 80 (with \), and
5362 # we should not choose a depcomp mode which is confused by this.
5364 # We need to recreate these files for each test, as the compiler may
5365 # overwrite some of them when testing with obscure command lines.
5366 # This happens at least with the AIX C compiler.
5368 for i in 1 2 3 4 5 6; do
5369 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5370 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5371 # Solaris 10 /bin/sh.
5372 echo '/* dummy */' > sub/conftst$i.h
5374 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5376 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5377 # mode. It turns out that the SunPro C++ compiler does not properly
5378 # handle '-M -o', and we need to detect this. Also, some Intel
5379 # versions had trouble with output in subdirs.
5380 am__obj=sub/conftest.${OBJEXT-o}
5381 am__minus_obj="-o $am__obj"
5384 # This depmode causes a compiler race in universal mode.
5385 test "$am__universal" = false || continue
5388 # After this tag, mechanisms are not by side-effect, so they'll
5389 # only be used when explicitly requested.
5390 if test "x$enable_dependency_tracking" = xyes; then
5396 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5397 # This compiler won't grok '-c -o', but also, the minuso test has
5398 # not run yet. These depmodes are late enough in the game, and
5399 # so weak that their functioning should not be impacted.
5400 am__obj=conftest.${OBJEXT-o}
5405 if depmode=$depmode \
5406 source=sub/conftest.c object=$am__obj \
5407 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5408 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5409 >/dev/null 2>conftest.err &&
5410 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5411 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5412 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5413 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5414 # icc doesn't choke on unknown options, it will just issue warnings
5415 # or remarks (even with -Werror). So we grep stderr for any message
5416 # that says an option was ignored or not supported.
5417 # When given -MP, icc 7.0 and 7.1 complain thusly:
5418 # icc: Command line warning: ignoring option '-M'; no argument required
5419 # The diagnosis changed in icc 8.0:
5420 # icc: Command line remark: option '-MP' not supported
5421 if (grep 'ignoring option' conftest.err ||
5422 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5423 am_cv_CC_dependencies_compiler_type=$depmode
5432 am_cv_CC_dependencies_compiler_type=none
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5437 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5438 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5441 test "x$enable_dependency_tracking" != xno \
5442 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5444 am__fastdepCC_FALSE='#'
5446 am__fastdepCC_TRUE='#'
5447 am__fastdepCC_FALSE=
5452 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5453 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5454 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'
5455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5457 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5458 # On Suns, sometimes $CPP names a directory.
5459 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
5462 if test -z "$CPP_FOR_BUILD"; then
5463 if ${ac_cv_build_prog_CPP+:} false; then :
5464 $as_echo_n "(cached) " >&6
5466 # Double quotes because CPP needs to be expanded
5467 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5470 for ac_c_preproc_warn_flag in '' yes
5472 # Use a header file that comes with gcc, so configuring glibc
5473 # with a fresh cross-compiler works.
5474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5475 # <limits.h> exists even on freestanding compilers.
5476 # On the NeXT, cc -E runs the code through the compiler's parser,
5477 # not just through cpp. "Syntax error" is here to catch this case.
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
5481 # include <limits.h>
5483 # include <assert.h>
5487 if ac_fn_c_try_cpp "$LINENO"; then :
5490 # Broken: fails on valid input.
5493 rm -f conftest.err conftest.i conftest.$ac_ext
5495 # OK, works on sane cases. Now check whether nonexistent headers
5496 # can be detected and how.
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5499 #include <ac_nonexistent.h>
5501 if ac_fn_c_try_cpp "$LINENO"; then :
5502 # Broken: success on invalid input.
5505 # Passes both tests.
5509 rm -f conftest.err conftest.i conftest.$ac_ext
5512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5513 rm -f conftest.i conftest.err conftest.
$ac_ext
5514 if $ac_preproc_ok; then :
5519 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5522 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
5524 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
5527 $as_echo "$CPP_FOR_BUILD" >&6; }
5529 for ac_c_preproc_warn_flag
in '' yes
5531 # Use a header file that comes with gcc, so configuring glibc
5532 # with a fresh cross-compiler works.
5533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5534 # <limits.h> exists even on freestanding compilers.
5535 # On the NeXT, cc -E runs the code through the compiler's parser,
5536 # not just through cpp. "Syntax error" is here to catch this case.
5537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5540 # include <limits.h>
5542 # include <assert.h>
5546 if ac_fn_c_try_cpp
"$LINENO"; then :
5549 # Broken: fails on valid input.
5552 rm -f conftest.err conftest.i conftest.
$ac_ext
5554 # OK, works on sane cases. Now check whether nonexistent headers
5555 # can be detected and how.
5556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5557 /* end confdefs.h. */
5558 #include <ac_nonexistent.h>
5560 if ac_fn_c_try_cpp
"$LINENO"; then :
5561 # Broken: success on invalid input.
5564 # Passes both tests.
5568 rm -f conftest.err conftest.i conftest.
$ac_ext
5571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5572 rm -f conftest.i conftest.err conftest.
$ac_ext
5573 if $ac_preproc_ok; then :
5576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5578 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5579 See \`config.log' for more details" "$LINENO" 5; }
5583 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5584 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5585 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'
5586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5590 ac_tool_prefix
=$save_ac_tool_prefix
5591 cross_compiling
=$save_cross_compiling
5594 BUILD_EXEEXT
=$ac_build_exeext
5595 BUILD_OBJEXT
=$ac_build_objext
5597 case $ac_cv_prog_cc_stdc in #(
5599 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5602 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5603 if ${ac_cv_prog_cc_c99+:} false
; then :
5604 $as_echo_n "(cached) " >&6
5606 ac_cv_prog_cc_c99
=no
5608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h. */
5611 #include <stdbool.h>
5616 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5617 #define debug(...) fprintf (stderr, __VA_ARGS__)
5618 #define showlist(...) puts (#__VA_ARGS__)
5619 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5621 test_varargs_macros (void)
5626 debug ("X = %d\n", x);
5627 showlist (The first, second, and third items.);
5628 report (x>y, "x is %d but y is %d", x, y);
5631 // Check long long types.
5632 #define BIG64 18446744073709551615ull
5633 #define BIG32 4294967295ul
5634 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5636 your preprocessor is broken;
5640 your preprocessor is broken;
5642 static long long int bignum = -9223372036854775807LL;
5643 static unsigned long long int ubignum = BIG64;
5645 struct incomplete_array
5653 const wchar_t *name;
5657 typedef const char *ccp;
5660 test_restrict (ccp restrict text)
5662 // See if C++-style comments work.
5663 // Iterate through items via the restricted pointer.
5664 // Also check for declarations in for loops.
5665 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5670 // Check varargs and va_copy.
5672 test_varargs (const char *format, ...)
5675 va_start (args, format);
5677 va_copy (args_copy, args);
5688 str = va_arg (args_copy, const char *);
5691 number = va_arg (args_copy, int);
5694 fnumber = va_arg (args_copy, double);
5709 _Bool success = false;
5712 if (test_restrict ("String literal") == 0)
5714 char *restrict newvar = "Another string";
5717 test_varargs ("s, d' f .", "string", 65, 34.234);
5718 test_varargs_macros ();
5720 // Check flexible array members.
5721 struct incomplete_array *ia =
5722 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5724 for (int i = 0; i < ia->datasize; ++i)
5725 ia->data[i] = i * 1.234;
5727 // Check named initializers.
5728 struct named_init ni = {
5730 .name = L"Test wide string",
5731 .average = 543.34343,
5736 int dynamic_array[ni.number];
5737 dynamic_array[ni.number - 1] = 543;
5739 // work around unused variable warnings
5740 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5741 || dynamic_array[ni.number - 1] != 543);
5747 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5749 CC
="$ac_save_CC $ac_arg"
5750 if ac_fn_c_try_compile
"$LINENO"; then :
5751 ac_cv_prog_cc_c99
=$ac_arg
5753 rm -f core conftest.err conftest.
$ac_objext
5754 test "x$ac_cv_prog_cc_c99" != "xno" && break
5756 rm -f conftest.
$ac_ext
5761 case "x$ac_cv_prog_cc_c99" in
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5764 $as_echo "none needed" >&6; } ;;
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5767 $as_echo "unsupported" >&6; } ;;
5769 CC
="$CC $ac_cv_prog_cc_c99"
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5771 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5773 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5774 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5777 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5778 if ${ac_cv_prog_cc_c89+:} false
; then :
5779 $as_echo_n "(cached) " >&6
5781 ac_cv_prog_cc_c89
=no
5783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5784 /* end confdefs.h. */
5788 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5789 struct buf { int x; };
5790 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5791 static char *e (p, i)
5797 static char *f (char * (*g) (char **, int), char **p, ...)
5802 s = g (p, va_arg (v,int));
5807 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5808 function prototypes and stuff, but not '\xHH' hex character constants.
5809 These don't provoke an error unfortunately, instead are silently treated
5810 as 'x'. The following induces an error, until -std is added to get
5811 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5812 array size at least. It's necessary to write '\x00'==0 to get something
5813 that's true only with -std. */
5814 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5816 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5817 inside strings and character constants. */
5819 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5821 int test (int i, double x);
5822 struct s1 {int (*f) (int a);};
5823 struct s2 {int (*f) (double a);};
5824 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5830 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5835 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
5836 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5838 CC
="$ac_save_CC $ac_arg"
5839 if ac_fn_c_try_compile
"$LINENO"; then :
5840 ac_cv_prog_cc_c89
=$ac_arg
5842 rm -f core conftest.err conftest.
$ac_objext
5843 test "x$ac_cv_prog_cc_c89" != "xno" && break
5845 rm -f conftest.
$ac_ext
5850 case "x$ac_cv_prog_cc_c89" in
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5853 $as_echo "none needed" >&6; } ;;
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5856 $as_echo "unsupported" >&6; } ;;
5858 CC
="$CC $ac_cv_prog_cc_c89"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5860 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5862 if test "x$ac_cv_prog_cc_c89" != xno
; then :
5863 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
5865 ac_cv_prog_cc_stdc
=no
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5872 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5873 if ${ac_cv_prog_cc_stdc+:} false
; then :
5874 $as_echo_n "(cached) " >&6
5877 case $ac_cv_prog_cc_stdc in #(
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5880 $as_echo "unsupported" >&6; } ;; #(
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5883 $as_echo "none needed" >&6; } ;; #(
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5886 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5891 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5893 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5894 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5895 $as_echo_n "(cached) " >&6
5897 cat >conftest.
make <<\_ACEOF
5900 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5902 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5903 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5905 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5907 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5911 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5913 $as_echo "yes" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5918 SET_MAKE
="MAKE=${MAKE-make}"
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5922 $as_echo_n "checking whether ln -s works... " >&6; }
5924 if test "$LN_S" = "ln -s"; then
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5926 $as_echo "yes" >&6; }
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5929 $as_echo "no, using $LN_S" >&6; }
5932 for ac_prog
in gawk mawk nawk
awk
5934 # Extract the first word of "$ac_prog", so it can be a program name with args.
5935 set dummy
$ac_prog; ac_word
=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_AWK+:} false
; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$AWK"; then
5942 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir
=.
5949 for ac_exec_ext
in '' $ac_executable_extensions; do
5950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5951 ac_cv_prog_AWK
="$ac_prog"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 if test -n "$AWK"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5964 $as_echo "$AWK" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5971 test -n "$AWK" && break
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5977 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5982 macro_version
='2.4.6'
5983 macro_revision
='2.4.6'
5997 ltmain
=$ac_aux_dir/ltmain.sh
5999 # Backslashify metacharacters that are still active within
6000 # double-quoted strings.
6001 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6003 # Same as above, but do not quote variable references.
6004 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6006 # Sed substitution to delay expansion of an escaped shell variable in a
6007 # double_quote_subst'ed string.
6008 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6010 # Sed substitution to delay expansion of an escaped single quote.
6011 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6013 # Sed substitution to avoid accidental globbing in evaled expressions
6014 no_glob_subst
='s/\*/\\\*/g'
6016 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6017 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6018 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6021 $as_echo_n "checking how to print strings... " >&6; }
6022 # Test print first, because it will be a builtin if present.
6023 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6024 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6026 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6029 # Use this function as a fallback that always works.
6030 func_fallback_echo ()
6032 eval 'cat <<_LTECHO_EOF
6036 ECHO='func_fallback_echo
'
6039 # func_echo_all arg...
6040 # Invoke $ECHO with all args, space-separated.
6047 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6048 $as_echo "printf" >&6; } ;;
6049 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6050 $as_echo "print -r" >&6; } ;;
6051 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6052 $as_echo "cat" >&6; } ;;
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6069 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6070 if ${ac_cv_path_SED+:} false; then :
6071 $as_echo_n "(cached) " >&6
6073 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6074 for ac_i in 1 2 3 4 5 6 7; do
6075 ac_script="$ac_script$as_nl$ac_script"
6077 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6078 { ac_script=; unset ac_script;}
6079 if test -z "$SED"; then
6080 ac_path_SED_found=false
6081 # Loop through the user's path and
test for each of PROGNAME-LIST
6082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir
=.
6087 for ac_prog
in sed gsed
; do
6088 for ac_exec_ext
in '' $ac_executable_extensions; do
6089 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6090 as_fn_executable_p
"$ac_path_SED" ||
continue
6091 # Check for GNU ac_path_SED and select it if it is found.
6092 # Check for GNU $ac_path_SED
6093 case `"$ac_path_SED" --version 2>&1` in
6095 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6098 $as_echo_n 0123456789 >"conftest.in"
6101 cat "conftest.in" "conftest.in" >"conftest.tmp"
6102 mv "conftest.tmp" "conftest.in"
6103 cp "conftest.in" "conftest.nl"
6104 $as_echo '' >> "conftest.nl"
6105 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6106 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6107 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6108 if test $ac_count -gt ${ac_path_SED_max-0}; then
6109 # Best one so far, save it but keep looking for a better one
6110 ac_cv_path_SED
="$ac_path_SED"
6111 ac_path_SED_max
=$ac_count
6113 # 10*(2^10) chars as input seems more than enough
6114 test $ac_count -gt 10 && break
6116 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6119 $ac_path_SED_found && break 3
6124 if test -z "$ac_cv_path_SED"; then
6125 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6133 $as_echo "$ac_cv_path_SED" >&6; }
6134 SED
="$ac_cv_path_SED"
6137 test -z "$SED" && SED
=sed
6138 Xsed
="$SED -e 1s/^X//"
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6151 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6152 if ${ac_cv_path_GREP+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6155 if test -z "$GREP"; then
6156 ac_path_GREP_found
=false
6157 # Loop through the user's path and test for each of PROGNAME-LIST
6158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6159 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6162 test -z "$as_dir" && as_dir
=.
6163 for ac_prog
in grep ggrep
; do
6164 for ac_exec_ext
in '' $ac_executable_extensions; do
6165 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6166 as_fn_executable_p
"$ac_path_GREP" ||
continue
6167 # Check for GNU ac_path_GREP and select it if it is found.
6168 # Check for GNU $ac_path_GREP
6169 case `"$ac_path_GREP" --version 2>&1` in
6171 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6174 $as_echo_n 0123456789 >"conftest.in"
6177 cat "conftest.in" "conftest.in" >"conftest.tmp"
6178 mv "conftest.tmp" "conftest.in"
6179 cp "conftest.in" "conftest.nl"
6180 $as_echo 'GREP' >> "conftest.nl"
6181 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6183 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6184 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6185 # Best one so far, save it but keep looking for a better one
6186 ac_cv_path_GREP
="$ac_path_GREP"
6187 ac_path_GREP_max
=$ac_count
6189 # 10*(2^10) chars as input seems more than enough
6190 test $ac_count -gt 10 && break
6192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6195 $ac_path_GREP_found && break 3
6200 if test -z "$ac_cv_path_GREP"; then
6201 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6204 ac_cv_path_GREP
=$GREP
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6209 $as_echo "$ac_cv_path_GREP" >&6; }
6210 GREP
="$ac_cv_path_GREP"
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6214 $as_echo_n "checking for egrep... " >&6; }
6215 if ${ac_cv_path_EGREP+:} false
; then :
6216 $as_echo_n "(cached) " >&6
6218 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6219 then ac_cv_path_EGREP
="$GREP -E"
6221 if test -z "$EGREP"; then
6222 ac_path_EGREP_found
=false
6223 # Loop through the user's path and test for each of PROGNAME-LIST
6224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6225 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6228 test -z "$as_dir" && as_dir
=.
6229 for ac_prog
in egrep; do
6230 for ac_exec_ext
in '' $ac_executable_extensions; do
6231 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6232 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6233 # Check for GNU ac_path_EGREP and select it if it is found.
6234 # Check for GNU $ac_path_EGREP
6235 case `"$ac_path_EGREP" --version 2>&1` in
6237 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6240 $as_echo_n 0123456789 >"conftest.in"
6243 cat "conftest.in" "conftest.in" >"conftest.tmp"
6244 mv "conftest.tmp" "conftest.in"
6245 cp "conftest.in" "conftest.nl"
6246 $as_echo 'EGREP' >> "conftest.nl"
6247 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6248 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6249 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6250 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6251 # Best one so far, save it but keep looking for a better one
6252 ac_cv_path_EGREP
="$ac_path_EGREP"
6253 ac_path_EGREP_max
=$ac_count
6255 # 10*(2^10) chars as input seems more than enough
6256 test $ac_count -gt 10 && break
6258 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6261 $ac_path_EGREP_found && break 3
6266 if test -z "$ac_cv_path_EGREP"; then
6267 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6270 ac_cv_path_EGREP
=$EGREP
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6276 $as_echo "$ac_cv_path_EGREP" >&6; }
6277 EGREP
="$ac_cv_path_EGREP"
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6281 $as_echo_n "checking for fgrep... " >&6; }
6282 if ${ac_cv_path_FGREP+:} false
; then :
6283 $as_echo_n "(cached) " >&6
6285 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6286 then ac_cv_path_FGREP
="$GREP -F"
6288 if test -z "$FGREP"; then
6289 ac_path_FGREP_found
=false
6290 # Loop through the user's path and test for each of PROGNAME-LIST
6291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6292 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6295 test -z "$as_dir" && as_dir
=.
6296 for ac_prog
in fgrep
; do
6297 for ac_exec_ext
in '' $ac_executable_extensions; do
6298 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6299 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6300 # Check for GNU ac_path_FGREP and select it if it is found.
6301 # Check for GNU $ac_path_FGREP
6302 case `"$ac_path_FGREP" --version 2>&1` in
6304 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6307 $as_echo_n 0123456789 >"conftest.in"
6310 cat "conftest.in" "conftest.in" >"conftest.tmp"
6311 mv "conftest.tmp" "conftest.in"
6312 cp "conftest.in" "conftest.nl"
6313 $as_echo 'FGREP' >> "conftest.nl"
6314 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6315 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6316 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6317 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6318 # Best one so far, save it but keep looking for a better one
6319 ac_cv_path_FGREP
="$ac_path_FGREP"
6320 ac_path_FGREP_max
=$ac_count
6322 # 10*(2^10) chars as input seems more than enough
6323 test $ac_count -gt 10 && break
6325 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6328 $ac_path_FGREP_found && break 3
6333 if test -z "$ac_cv_path_FGREP"; then
6334 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6337 ac_cv_path_FGREP
=$FGREP
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6343 $as_echo "$ac_cv_path_FGREP" >&6; }
6344 FGREP
="$ac_cv_path_FGREP"
6347 test -z "$GREP" && GREP
=grep
6367 # Check whether --with-gnu-ld was given.
6368 if test "${with_gnu_ld+set}" = set; then :
6369 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
6375 if test yes = "$GCC"; then
6376 # Check if gcc -print-prog-name=ld gives a path.
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6378 $as_echo_n "checking for ld used by $CC... " >&6; }
6381 # gcc leaves a trailing carriage return, which upsets mingw
6382 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6384 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6387 # Accept absolute paths.
6389 re_direlt
='/[^/][^/]*/\.\./'
6390 # Canonicalize the pathname of ld
6391 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6392 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6393 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6395 test -z "$LD" && LD
=$ac_prog
6398 # If it fails, then pretend we aren't using GCC.
6402 # If it is relative, then search for the first ld in PATH.
6406 elif test yes = "$with_gnu_ld"; then
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6408 $as_echo_n "checking for GNU ld... " >&6; }
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6411 $as_echo_n "checking for non-GNU ld... " >&6; }
6413 if ${lt_cv_path_LD+:} false
; then :
6414 $as_echo_n "(cached) " >&6
6416 if test -z "$LD"; then
6417 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6418 for ac_dir
in $PATH; do
6420 test -z "$ac_dir" && ac_dir
=.
6421 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6422 lt_cv_path_LD
=$ac_dir/$ac_prog
6423 # Check to see if the program is GNU ld. I'd rather use --version,
6424 # but apparently some variants of GNU ld only accept -v.
6425 # Break only if it was the GNU/non-GNU ld that we prefer.
6426 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6427 *GNU
* |
*'with BFD'*)
6428 test no
!= "$with_gnu_ld" && break
6431 test yes != "$with_gnu_ld" && break
6438 lt_cv_path_LD
=$LD # Let the user override the test with a path.
6443 if test -n "$LD"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6445 $as_echo "$LD" >&6; }
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6450 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6452 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6453 if ${lt_cv_prog_gnu_ld+:} false
; then :
6454 $as_echo_n "(cached) " >&6
6456 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6457 case `$LD -v 2>&1 </dev/null` in
6458 *GNU
* |
*'with BFD'*)
6459 lt_cv_prog_gnu_ld
=yes
6462 lt_cv_prog_gnu_ld
=no
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6467 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6468 with_gnu_ld
=$lt_cv_prog_gnu_ld
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6479 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6480 if ${lt_cv_path_NM+:} false
; then :
6481 $as_echo_n "(cached) " >&6
6483 if test -n "$NM"; then
6484 # Let the user override the test.
6487 lt_nm_to_check
=${ac_tool_prefix}nm
6488 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6489 lt_nm_to_check
="$lt_nm_to_check nm"
6491 for lt_tmp_nm
in $lt_nm_to_check; do
6492 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6493 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6495 test -z "$ac_dir" && ac_dir
=.
6496 tmp_nm
=$ac_dir/$lt_tmp_nm
6497 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
6498 # Check to see if the nm accepts a BSD-compat flag.
6499 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6500 # nm: unknown option "B" ignored
6501 # Tru64's nm complains that /dev/null is an invalid object file
6502 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6504 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
6505 *) lt_bad_file
=/dev
/null
;;
6507 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6508 *$lt_bad_file* |
*'Invalid file or object type'*)
6509 lt_cv_path_NM
="$tmp_nm -B"
6513 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6515 lt_cv_path_NM
="$tmp_nm -p"
6519 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6520 continue # so that we can try to find one that supports BSD flags
6529 : ${lt_cv_path_NM=no}
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6533 $as_echo "$lt_cv_path_NM" >&6; }
6534 if test no
!= "$lt_cv_path_NM"; then
6537 # Didn't find any BSD compatible name lister, look for dumpbin.
6538 if test -n "$DUMPBIN"; then :
6539 # Let the user override the test.
6541 if test -n "$ac_tool_prefix"; then
6542 for ac_prog
in dumpbin
"link -dump"
6544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6545 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547 $as_echo_n "checking for $ac_word... " >&6; }
6548 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6549 $as_echo_n "(cached) " >&6
6551 if test -n "$DUMPBIN"; then
6552 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6558 test -z "$as_dir" && as_dir
=.
6559 for ac_exec_ext
in '' $ac_executable_extensions; do
6560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6561 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 DUMPBIN
=$ac_cv_prog_DUMPBIN
6572 if test -n "$DUMPBIN"; then
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6574 $as_echo "$DUMPBIN" >&6; }
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577 $as_echo "no" >&6; }
6581 test -n "$DUMPBIN" && break
6584 if test -z "$DUMPBIN"; then
6585 ac_ct_DUMPBIN
=$DUMPBIN
6586 for ac_prog
in dumpbin
"link -dump"
6588 # Extract the first word of "$ac_prog", so it can be a program name with args.
6589 set dummy
$ac_prog; ac_word
=$2
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6591 $as_echo_n "checking for $ac_word... " >&6; }
6592 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6593 $as_echo_n "(cached) " >&6
6595 if test -n "$ac_ct_DUMPBIN"; then
6596 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6602 test -z "$as_dir" && as_dir
=.
6603 for ac_exec_ext
in '' $ac_executable_extensions; do
6604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6605 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6615 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6616 if test -n "$ac_ct_DUMPBIN"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6618 $as_echo "$ac_ct_DUMPBIN" >&6; }
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 $as_echo "no" >&6; }
6625 test -n "$ac_ct_DUMPBIN" && break
6628 if test "x$ac_ct_DUMPBIN" = x
; then
6631 case $cross_compiling:$ac_tool_warned in
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6635 ac_tool_warned
=yes ;;
6637 DUMPBIN
=$ac_ct_DUMPBIN
6641 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6643 DUMPBIN
="$DUMPBIN -symbols -headers"
6651 if test : != "$DUMPBIN"; then
6655 test -z "$NM" && NM
=nm
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6663 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6664 if ${lt_cv_nm_interface+:} false
; then :
6665 $as_echo_n "(cached) " >&6
6667 lt_cv_nm_interface
="BSD nm"
6668 echo "int some_variable = 0;" > conftest.
$ac_ext
6669 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6670 (eval "$ac_compile" 2>conftest.err
)
6671 cat conftest.err
>&5
6672 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6673 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6674 cat conftest.err
>&5
6675 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6676 cat conftest.out
>&5
6677 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6678 lt_cv_nm_interface
="MS dumpbin"
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6683 $as_echo "$lt_cv_nm_interface" >&6; }
6685 # find the maximum length of command line arguments
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6687 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6688 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6689 $as_echo_n "(cached) " >&6
6696 # On DJGPP, this test can blow up pretty badly due to problems in libc
6697 # (any single argument exceeding 2000 bytes causes a buffer overrun
6698 # during glob expansion). Even if it were fixed, the result of this
6699 # check would be larger than it should be.
6700 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6704 # Under GNU Hurd, this test is not required because there is
6705 # no limit to the length of command line arguments.
6706 # Libtool will interpret -1 as no limit whatsoever
6707 lt_cv_sys_max_cmd_len
=-1;
6710 cygwin
* | mingw
* | cegcc
*)
6711 # On Win9x/ME, this test blows up -- it succeeds, but takes
6712 # about 5 minutes as the teststring grows exponentially.
6713 # Worse, since 9x/ME are not pre-emptively multitasking,
6714 # you end up with a "frozen" computer, even though with patience
6715 # the test eventually succeeds (with a max line length of 256k).
6716 # Instead, let's just punt: use the minimum linelength reported by
6717 # all of the supported platforms: 8192 (on NT/2K/XP).
6718 lt_cv_sys_max_cmd_len
=8192;
6722 # On MiNT this can take a long time and run out of memory.
6723 lt_cv_sys_max_cmd_len
=8192;
6727 # On AmigaOS with pdksh, this test takes hours, literally.
6728 # So we just punt and use a minimum line length of 8192.
6729 lt_cv_sys_max_cmd_len
=8192;
6732 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
6733 # This has been around since 386BSD, at least. Likely further.
6734 if test -x /sbin
/sysctl
; then
6735 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6736 elif test -x /usr
/sbin
/sysctl
; then
6737 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6739 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6741 # And add a safety zone
6742 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6743 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6747 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6748 lt_cv_sys_max_cmd_len
=196608
6752 # The test takes a long time on OS/2.
6753 lt_cv_sys_max_cmd_len
=8192
6757 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6758 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6759 # nice to cause kernel panics so lets avoid the loop below.
6760 # First set a reasonable default.
6761 lt_cv_sys_max_cmd_len
=16384
6763 if test -x /sbin
/sysconfig
; then
6764 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6765 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6770 lt_cv_sys_max_cmd_len
=102400
6772 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6773 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6774 if test -n "$kargmax"; then
6775 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6777 lt_cv_sys_max_cmd_len
=32768
6781 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6782 if test -n "$lt_cv_sys_max_cmd_len" && \
6783 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6784 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6785 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6787 # Make teststring a little bigger before we do anything with it.
6788 # a 1K string should be a reasonable start.
6789 for i
in 1 2 3 4 5 6 7 8; do
6790 teststring
=$teststring$teststring
6792 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6793 # If test is not a shell built-in, we'll probably end up computing a
6794 # maximum length that is only half of the actual maximum length, but
6796 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
6797 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6798 test 17 != "$i" # 1/2 MB should be enough
6801 teststring
=$teststring$teststring
6803 # Only check the string length outside the loop.
6804 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6806 # Add a significant safety factor because C++ compilers can tack on
6807 # massive amounts of additional arguments before passing them to the
6808 # linker. It appears as though 1/2 is a usable value.
6809 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6816 if test -n "$lt_cv_sys_max_cmd_len"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6818 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6821 $as_echo "none" >&6; }
6823 max_cmd_len
=$lt_cv_sys_max_cmd_len
6834 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6844 # test EBCDIC or ASCII
6845 case `echo X|tr X '\101'` in
6846 A
) # ASCII based system
6847 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6848 lt_SP2NL
='tr \040 \012'
6849 lt_NL2SP
='tr \015\012 \040\040'
6851 *) # EBCDIC based system
6852 lt_SP2NL
='tr \100 \n'
6853 lt_NL2SP
='tr \r\n \100\100'
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6866 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6867 if ${lt_cv_to_host_file_cmd+:} false
; then :
6868 $as_echo_n "(cached) " >&6
6873 *-*-mingw* ) # actually msys
6874 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6877 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6879 * ) # otherwise, assume *nix
6880 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6886 *-*-mingw* ) # actually msys
6887 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6890 lt_cv_to_host_file_cmd
=func_convert_file_noop
6892 * ) # otherwise, assume *nix
6893 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6897 * ) # unhandled hosts (and "normal" native builds)
6898 lt_cv_to_host_file_cmd
=func_convert_file_noop
6904 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6906 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6913 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6914 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6915 $as_echo_n "(cached) " >&6
6917 #assume ordinary cross tools, or native build.
6918 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6922 *-*-mingw* ) # actually msys
6923 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6931 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6933 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6940 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6941 if ${lt_cv_ld_reload_flag+:} false
; then :
6942 $as_echo_n "(cached) " >&6
6944 lt_cv_ld_reload_flag
='-r'
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6947 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6948 reload_flag
=$lt_cv_ld_reload_flag
6949 case $reload_flag in
6951 *) reload_flag
=" $reload_flag" ;;
6953 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6955 cygwin
* | mingw
* | pw32
* | cegcc
*)
6956 if test yes != "$GCC"; then
6961 if test yes = "$GCC"; then
6962 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6964 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6977 if test -n "$ac_tool_prefix"; then
6978 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6979 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6981 $as_echo_n "checking for $ac_word... " >&6; }
6982 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6983 $as_echo_n "(cached) " >&6
6985 if test -n "$OBJDUMP"; then
6986 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir
=.
6993 for ac_exec_ext
in '' $ac_executable_extensions; do
6994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6995 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 OBJDUMP
=$ac_cv_prog_OBJDUMP
7006 if test -n "$OBJDUMP"; then
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7008 $as_echo "$OBJDUMP" >&6; }
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7011 $as_echo "no" >&6; }
7016 if test -z "$ac_cv_prog_OBJDUMP"; then
7017 ac_ct_OBJDUMP
=$OBJDUMP
7018 # Extract the first word of "objdump", so it can be a program name with args.
7019 set dummy objdump
; ac_word
=$2
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7021 $as_echo_n "checking for $ac_word... " >&6; }
7022 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7023 $as_echo_n "(cached) " >&6
7025 if test -n "$ac_ct_OBJDUMP"; then
7026 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir
=.
7033 for ac_exec_ext
in '' $ac_executable_extensions; do
7034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7035 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7046 if test -n "$ac_ct_OBJDUMP"; then
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7048 $as_echo "$ac_ct_OBJDUMP" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7051 $as_echo "no" >&6; }
7054 if test "x$ac_ct_OBJDUMP" = x
; then
7057 case $cross_compiling:$ac_tool_warned in
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7061 ac_tool_warned
=yes ;;
7063 OBJDUMP
=$ac_ct_OBJDUMP
7066 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7069 test -z "$OBJDUMP" && OBJDUMP
=objdump
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7080 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7081 if ${lt_cv_deplibs_check_method+:} false
; then :
7082 $as_echo_n "(cached) " >&6
7084 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7085 lt_cv_file_magic_test_file
=
7086 lt_cv_deplibs_check_method
='unknown'
7087 # Need to set the preceding variable on all platforms that support
7088 # interlibrary dependencies.
7089 # 'none' -- dependencies not supported.
7090 # 'unknown' -- same as none, but documents that we really don't know.
7091 # 'pass_all' -- all dependencies passed with no checks.
7092 # 'test_compile' -- check by making test program.
7093 # 'file_magic [[regex]]' -- check by looking for files in library path
7094 # that responds to the $file_magic_cmd with a given extended regex.
7095 # If you have 'file' or equivalent on your system and you're not sure
7096 # whether 'pass_all' will *always* work, you probably want this one.
7100 lt_cv_deplibs_check_method
=pass_all
7104 lt_cv_deplibs_check_method
=pass_all
7108 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7109 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7110 lt_cv_file_magic_test_file
=/shlib
/libc.so
7114 # func_win32_libid is a shell function defined in ltmain.sh
7115 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7116 lt_cv_file_magic_cmd
='func_win32_libid'
7120 # Base MSYS/MinGW do not provide the 'file' command needed by
7121 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7122 # unless we find 'file', for example because we are cross-compiling.
7123 if ( file / ) >/dev
/null
2>&1; then
7124 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7125 lt_cv_file_magic_cmd
='func_win32_libid'
7127 # Keep this pattern in sync with the one in func_win32_libid.
7128 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7129 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7134 # use the weaker test based on 'objdump'. See mingw*.
7135 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7136 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7139 darwin
* | rhapsody
*)
7140 lt_cv_deplibs_check_method
=pass_all
7143 freebsd
* | dragonfly
*)
7144 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7147 # Not sure whether the presence of OpenBSD here was a mistake.
7148 # Let's accept both of them until this is cleared up.
7149 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7150 lt_cv_file_magic_cmd
=/usr
/bin
/file
7151 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7155 lt_cv_deplibs_check_method
=pass_all
7160 lt_cv_deplibs_check_method
=pass_all
7163 hpux10.20
* | hpux11
*)
7164 lt_cv_file_magic_cmd
=/usr
/bin
/file
7167 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7168 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7171 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]'
7172 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7175 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7176 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7182 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7183 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7186 irix5
* | irix6
* | nonstopux
*)
7188 *-32|
*"-32 ") libmagic
=32-bit;;
7189 *-n32|
*"-n32 ") libmagic
=N32
;;
7190 *-64|
*"-64 ") libmagic
=64-bit;;
7191 *) libmagic
=never-match
;;
7193 lt_cv_deplibs_check_method
=pass_all
7196 # This must be glibc/ELF.
7197 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7198 lt_cv_deplibs_check_method
=pass_all
7202 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7203 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7205 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7210 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7211 lt_cv_file_magic_cmd
=/usr
/bin
/file
7212 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7216 lt_cv_deplibs_check_method
=pass_all
7220 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7221 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7223 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7227 osf3
* | osf4
* | osf5
*)
7228 lt_cv_deplibs_check_method
=pass_all
7232 lt_cv_deplibs_check_method
=pass_all
7236 lt_cv_deplibs_check_method
=pass_all
7239 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7240 lt_cv_deplibs_check_method
=pass_all
7244 case $host_vendor in
7246 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]'
7247 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7250 lt_cv_deplibs_check_method
=pass_all
7253 lt_cv_file_magic_cmd
='/bin/file'
7254 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7257 lt_cv_file_magic_cmd
='/bin/file'
7258 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7259 lt_cv_file_magic_test_file
=/lib
/libc.so
7262 lt_cv_deplibs_check_method
=pass_all
7265 lt_cv_deplibs_check_method
=pass_all
7271 lt_cv_deplibs_check_method
=pass_all
7274 lt_cv_deplibs_check_method
=pass_all
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7280 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7284 if test "$build" = "$host"; then
7287 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
7290 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7296 file_magic_cmd
=$lt_cv_file_magic_cmd
7297 deplibs_check_method
=$lt_cv_deplibs_check_method
7298 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7323 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7327 $as_echo_n "(cached) " >&6
7329 if test -n "$DLLTOOL"; then
7330 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7336 test -z "$as_dir" && as_dir
=.
7337 for ac_exec_ext
in '' $ac_executable_extensions; do
7338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7349 DLLTOOL
=$ac_cv_prog_DLLTOOL
7350 if test -n "$DLLTOOL"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7352 $as_echo "$DLLTOOL" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_DLLTOOL"; then
7361 ac_ct_DLLTOOL
=$DLLTOOL
7362 # Extract the first word of "dlltool", so it can be a program name with args.
7363 set dummy dlltool
; ac_word
=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7367 $as_echo_n "(cached) " >&6
7369 if test -n "$ac_ct_DLLTOOL"; then
7370 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7376 test -z "$as_dir" && as_dir
=.
7377 for ac_exec_ext
in '' $ac_executable_extensions; do
7378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7379 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7389 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7390 if test -n "$ac_ct_DLLTOOL"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7392 $as_echo "$ac_ct_DLLTOOL" >&6; }
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_DLLTOOL" = x
; then
7401 case $cross_compiling:$ac_tool_warned in
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned
=yes ;;
7407 DLLTOOL
=$ac_ct_DLLTOOL
7410 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7413 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7425 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7426 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
7427 $as_echo_n "(cached) " >&6
7429 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7432 cygwin
* | mingw
* | pw32
* | cegcc
*)
7433 # two different shell functions defined in ltmain.sh;
7434 # decide which one to use based on capabilities of $DLLTOOL
7435 case `$DLLTOOL --help 2>&1` in
7436 *--identify-strict*)
7437 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7440 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7445 # fallback: assume linklib IS sharedlib
7446 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7452 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7453 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7454 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7463 if test -n "$ac_tool_prefix"; then
7466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7467 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if ${ac_cv_prog_AR+:} false
; then :
7471 $as_echo_n "(cached) " >&6
7473 if test -n "$AR"; then
7474 ac_cv_prog_AR
="$AR" # Let the user override the test.
7476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7480 test -z "$as_dir" && as_dir
=.
7481 for ac_exec_ext
in '' $ac_executable_extensions; do
7482 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7483 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7494 if test -n "$AR"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7496 $as_echo "$AR" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 $as_echo "no" >&6; }
7503 test -n "$AR" && break
7506 if test -z "$AR"; then
7510 # Extract the first word of "$ac_prog", so it can be a program name with args.
7511 set dummy
$ac_prog; ac_word
=$2
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7513 $as_echo_n "checking for $ac_word... " >&6; }
7514 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7515 $as_echo_n "(cached) " >&6
7517 if test -n "$ac_ct_AR"; then
7518 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7524 test -z "$as_dir" && as_dir
=.
7525 for ac_exec_ext
in '' $ac_executable_extensions; do
7526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7527 ac_cv_prog_ac_ct_AR
="$ac_prog"
7528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7538 if test -n "$ac_ct_AR"; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7540 $as_echo "$ac_ct_AR" >&6; }
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 $as_echo "no" >&6; }
7547 test -n "$ac_ct_AR" && break
7550 if test "x$ac_ct_AR" = x
; then
7553 case $cross_compiling:$ac_tool_warned in
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7557 ac_tool_warned
=yes ;;
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7577 $as_echo_n "checking for archiver @FILE support... " >&6; }
7578 if ${lt_cv_ar_at_file+:} false
; then :
7579 $as_echo_n "(cached) " >&6
7582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7583 /* end confdefs.h. */
7593 if ac_fn_c_try_compile
"$LINENO"; then :
7594 echo conftest.
$ac_objext > conftest.lst
7595 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7596 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7597 (eval $lt_ar_try) 2>&5
7599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7600 test $ac_status = 0; }
7601 if test 0 -eq "$ac_status"; then
7602 # Ensure the archiver fails upon bogus file names.
7603 rm -f conftest.
$ac_objext libconftest.a
7604 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7605 (eval $lt_ar_try) 2>&5
7607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7608 test $ac_status = 0; }
7609 if test 0 -ne "$ac_status"; then
7613 rm -f conftest.
* libconftest.a
7616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7620 $as_echo "$lt_cv_ar_at_file" >&6; }
7622 if test no
= "$lt_cv_ar_at_file"; then
7625 archiver_list_spec
=$lt_cv_ar_at_file
7634 if test -n "$ac_tool_prefix"; then
7635 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7636 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638 $as_echo_n "checking for $ac_word... " >&6; }
7639 if ${ac_cv_prog_STRIP+:} false
; then :
7640 $as_echo_n "(cached) " >&6
7642 if test -n "$STRIP"; then
7643 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7649 test -z "$as_dir" && as_dir
=.
7650 for ac_exec_ext
in '' $ac_executable_extensions; do
7651 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7652 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 STRIP
=$ac_cv_prog_STRIP
7663 if test -n "$STRIP"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7665 $as_echo "$STRIP" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 $as_echo "no" >&6; }
7673 if test -z "$ac_cv_prog_STRIP"; then
7675 # Extract the first word of "strip", so it can be a program name with args.
7676 set dummy strip
; ac_word
=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7680 $as_echo_n "(cached) " >&6
7682 if test -n "$ac_ct_STRIP"; then
7683 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7689 test -z "$as_dir" && as_dir
=.
7690 for ac_exec_ext
in '' $ac_executable_extensions; do
7691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7692 ac_cv_prog_ac_ct_STRIP
="strip"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7702 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7703 if test -n "$ac_ct_STRIP"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7705 $as_echo "$ac_ct_STRIP" >&6; }
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7711 if test "x$ac_ct_STRIP" = x
; then
7714 case $cross_compiling:$ac_tool_warned in
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7718 ac_tool_warned
=yes ;;
7723 STRIP
="$ac_cv_prog_STRIP"
7726 test -z "$STRIP" && STRIP
=:
7733 if test -n "$ac_tool_prefix"; then
7734 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7735 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7737 $as_echo_n "checking for $ac_word... " >&6; }
7738 if ${ac_cv_prog_RANLIB+:} false
; then :
7739 $as_echo_n "(cached) " >&6
7741 if test -n "$RANLIB"; then
7742 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7748 test -z "$as_dir" && as_dir
=.
7749 for ac_exec_ext
in '' $ac_executable_extensions; do
7750 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7751 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7761 RANLIB
=$ac_cv_prog_RANLIB
7762 if test -n "$RANLIB"; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7764 $as_echo "$RANLIB" >&6; }
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7767 $as_echo "no" >&6; }
7772 if test -z "$ac_cv_prog_RANLIB"; then
7773 ac_ct_RANLIB
=$RANLIB
7774 # Extract the first word of "ranlib", so it can be a program name with args.
7775 set dummy ranlib
; ac_word
=$2
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7777 $as_echo_n "checking for $ac_word... " >&6; }
7778 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7779 $as_echo_n "(cached) " >&6
7781 if test -n "$ac_ct_RANLIB"; then
7782 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7788 test -z "$as_dir" && as_dir
=.
7789 for ac_exec_ext
in '' $ac_executable_extensions; do
7790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7791 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7802 if test -n "$ac_ct_RANLIB"; then
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7804 $as_echo "$ac_ct_RANLIB" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7807 $as_echo "no" >&6; }
7810 if test "x$ac_ct_RANLIB" = x
; then
7813 case $cross_compiling:$ac_tool_warned in
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7817 ac_tool_warned
=yes ;;
7819 RANLIB
=$ac_ct_RANLIB
7822 RANLIB
="$ac_cv_prog_RANLIB"
7825 test -z "$RANLIB" && RANLIB
=:
7832 # Determine commands to create old-style static archives.
7833 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7834 old_postinstall_cmds
='chmod 644 $oldlib'
7835 old_postuninstall_cmds
=
7837 if test -n "$RANLIB"; then
7840 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7843 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7846 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7851 lock_old_archive_extraction
=yes ;;
7853 lock_old_archive_extraction
=no
;;
7894 # If no C compiler was specified, use CC.
7897 # If no C compiler flags were specified, use CFLAGS.
7898 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7900 # Allow CC to be a program name with arguments.
7904 # Check for command to grab the raw symbol name followed by C symbol from nm.
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7906 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7907 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7908 $as_echo_n "(cached) " >&6
7911 # These are sane defaults that work on at least a few old systems.
7912 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7914 # Character class describing NM global symbol codes.
7915 symcode
='[BCDEGRST]'
7917 # Regexp to match symbols that can be accessed directly from C.
7918 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7920 # Define system-specific variables.
7925 cygwin
* | mingw
* | pw32
* | cegcc
*)
7926 symcode
='[ABCDGISTW]'
7929 if test ia64
= "$host_cpu"; then
7930 symcode
='[ABCDEGRST]'
7934 symcode
='[BCDEGRST]'
7937 symcode
='[BCDEGQRST]'
7948 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7956 # If we're using GNU nm, then use its standard symbol codes.
7957 case `$NM -V 2>&1` in
7958 *GNU
* |
*'with BFD'*)
7959 symcode
='[ABCDGIRSTW]' ;;
7962 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7963 # Gets list of data symbols to import.
7964 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7965 # Adjust the below global symbol transforms to fixup imported variables.
7966 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7967 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7968 lt_c_name_lib_hook
="\
7969 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7970 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7972 # Disable hooks by default.
7973 lt_cv_sys_global_symbol_to_import
=
7979 # Transform an extracted symbol line into a proper C declaration.
7980 # Some systems (esp. on ia64) link data and code symbols differently,
7981 # so use this general approach.
7982 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
7984 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7985 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7987 # Transform an extracted symbol line into symbol name and symbol address
7988 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
7990 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7991 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7993 # Transform an extracted symbol line into symbol name with lib prefix and
7995 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
7996 $lt_c_name_lib_hook\
7997 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7998 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7999 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8001 # Handle CRLF in mingw tool chain
8005 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8009 # Try without a prefix underscore, then with it.
8010 for ac_symprfx
in "" "_"; do
8012 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8013 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8015 # Write the raw and C identifiers.
8016 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8017 # Fake it for dumpbin and say T for any non-static function,
8018 # D for any global variable and I for any imported variable.
8019 # Also find C++ and __fastcall symbols from MSVC++,
8020 # which start with @ or ?.
8021 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8022 " {last_section=section; section=\$ 3};"\
8023 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8024 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8025 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8026 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8027 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8028 " \$ 0!~/External *\|/{next};"\
8029 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8030 " {if(hide[section]) next};"\
8031 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8032 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8033 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8034 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8035 " ' prfx=^$ac_symprfx"
8037 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8039 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8041 # Check to see that the pipe works correctly.
8045 cat > conftest.
$ac_ext <<_LT_EOF
8050 void nm_test_func(void);
8051 void nm_test_func(void){}
8055 int main(){nm_test_var='a';nm_test_func();return(0);}
8058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8059 (eval $ac_compile) 2>&5
8061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8062 test $ac_status = 0; }; then
8063 # Now try to grab the symbols.
8065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8066 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8069 test $ac_status = 0; } && test -s "$nlist"; then
8070 # Try sorting and uniquifying the output.
8071 if sort "$nlist" |
uniq > "$nlist"T
; then
8072 mv -f "$nlist"T
"$nlist"
8077 # Make sure that we snagged all the symbols we need.
8078 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8079 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8080 cat <<_LT_EOF > conftest.$ac_ext
8081 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8082 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8083 /* DATA imports from DLLs on WIN32 can't be const, because runtime
8084 relocations are performed -- see ld's documentation on pseudo-relocs. */
8085 # define LT_DLSYM_CONST
8086 #elif defined __osf__
8087 /* This system does not cope well with relocations in const data. */
8088 # define LT_DLSYM_CONST
8090 # define LT_DLSYM_CONST const
8098 # Now generate the symbol file.
8099 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8101 cat <<_LT_EOF >> conftest.$ac_ext
8103 /* The mapping between symbol names and symbols. */
8104 LT_DLSYM_CONST struct {
8108 lt__PROGRAM__LTX_preloaded_symbols[] =
8110 { "@PROGRAM@", (void *) 0 },
8112 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8113 cat <<\_LT_EOF
>> conftest.
$ac_ext
8117 /* This works around a problem
in FreeBSD linker
*/
8118 #ifdef FREEBSD_WORKAROUND
8119 static const void
*lt_preloaded_setup
() {
8120 return lt__PROGRAM__LTX_preloaded_symbols
;
8128 # Now try linking the two files.
8129 mv conftest.
$ac_objext conftstm.
$ac_objext
8130 lt_globsym_save_LIBS
=$LIBS
8131 lt_globsym_save_CFLAGS
=$CFLAGS
8132 LIBS
=conftstm.
$ac_objext
8133 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8134 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8135 (eval $ac_link) 2>&5
8137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8138 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
8141 LIBS
=$lt_globsym_save_LIBS
8142 CFLAGS
=$lt_globsym_save_CFLAGS
8144 echo "cannot find nm_test_func in $nlist" >&5
8147 echo "cannot find nm_test_var in $nlist" >&5
8150 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8153 echo "$progname: failed program was:" >&5
8154 cat conftest.
$ac_ext >&5
8156 rm -rf conftest
* conftst
*
8158 # Do not use the global_symbol_pipe unless it works.
8159 if test yes = "$pipe_works"; then
8162 lt_cv_sys_global_symbol_pipe
=
8168 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8169 lt_cv_sys_global_symbol_to_cdecl
=
8171 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8173 $as_echo "failed" >&6; }
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8176 $as_echo "ok" >&6; }
8179 # Response file support.
8180 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8181 nm_file_list_spec
='@'
8182 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
8183 nm_file_list_spec
='@'
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8223 $as_echo_n "checking for sysroot... " >&6; }
8225 # Check whether --with-sysroot was given.
8226 if test "${with_sysroot+set}" = set; then :
8227 withval
=$with_sysroot;
8234 case $with_sysroot in #(
8236 if test yes = "$GCC"; then
8237 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
8241 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8247 $as_echo "$with_sysroot" >&6; }
8248 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8253 $as_echo "${lt_sysroot:-no}" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8260 $as_echo_n "checking for a working dd... " >&6; }
8261 if ${ac_cv_path_lt_DD+:} false
; then :
8262 $as_echo_n "(cached) " >&6
8264 printf 0123456789abcdef0123456789abcdef
>conftest.i
8265 cat conftest.i conftest.i
>conftest2.i
8267 if test -z "$lt_DD"; then
8268 ac_path_lt_DD_found
=false
8269 # Loop through the user's path and test for each of PROGNAME-LIST
8270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8274 test -z "$as_dir" && as_dir
=.
8275 for ac_prog
in dd; do
8276 for ac_exec_ext
in '' $ac_executable_extensions; do
8277 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
8278 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
8279 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8280 cmp -s conftest.i conftest.out \
8281 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
8283 $ac_path_lt_DD_found && break 3
8288 if test -z "$ac_cv_path_lt_DD"; then
8292 ac_cv_path_lt_DD
=$lt_DD
8295 rm -f conftest.i conftest2.i conftest.out
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8298 $as_echo "$ac_cv_path_lt_DD" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8302 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8303 if ${lt_cv_truncate_bin+:} false
; then :
8304 $as_echo_n "(cached) " >&6
8306 printf 0123456789abcdef0123456789abcdef
>conftest.i
8307 cat conftest.i conftest.i
>conftest2.i
8309 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8310 cmp -s conftest.i conftest.out \
8311 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
8313 rm -f conftest.i conftest2.i conftest.out
8314 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8317 $as_echo "$lt_cv_truncate_bin" >&6; }
8325 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8328 for cc_temp
in $
*""; do
8330 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8331 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8336 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8339 # Check whether --enable-libtool-lock was given.
8340 if test "${enable_libtool_lock+set}" = set; then :
8341 enableval
=$enable_libtool_lock;
8344 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
8346 # Some flags need to be propagated to the compiler or linker for good
8350 # Find out what ABI is being produced by ac_compile, and set mode
8351 # options accordingly.
8352 echo 'int i;' > conftest.
$ac_ext
8353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8354 (eval $ac_compile) 2>&5
8356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8357 test $ac_status = 0; }; then
8358 case `/usr/bin/file conftest.$ac_objext` in
8370 # Find out what ABI is being produced by ac_compile, and set linker
8371 # options accordingly.
8372 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8374 (eval $ac_compile) 2>&5
8376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8377 test $ac_status = 0; }; then
8378 if test yes = "$lt_cv_prog_gnu_ld"; then
8379 case `/usr/bin/file conftest.$ac_objext` in
8381 LD
="${LD-ld} -melf32bsmip"
8384 LD
="${LD-ld} -melf32bmipn32"
8387 LD
="${LD-ld} -melf64bmip"
8391 case `/usr/bin/file conftest.$ac_objext` in
8408 # Find out what ABI is being produced by ac_compile, and set linker
8409 # options accordingly.
8410 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8412 (eval $ac_compile) 2>&5
8414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8415 test $ac_status = 0; }; then
8417 case `/usr/bin/file conftest.$ac_objext` in
8425 case `/usr/bin/file conftest.$ac_objext` in
8427 emul
="${emul}btsmip"
8430 emul
="${emul}ltsmip"
8433 case `/usr/bin/file conftest.$ac_objext` in
8438 LD
="${LD-ld} -m $emul"
8443 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8444 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8445 # Find out what ABI is being produced by ac_compile, and set linker
8446 # options accordingly. Note that the listed cases only cover the
8447 # situations where additional linker options are needed (such as when
8448 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8449 # vice versa); the common cases where no linker options are needed do
8450 # not appear in the list.
8451 echo 'int i;' > conftest.
$ac_ext
8452 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8453 (eval $ac_compile) 2>&5
8455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8456 test $ac_status = 0; }; then
8457 case `/usr/bin/file conftest.o` in
8460 x86_64-
*kfreebsd
*-gnu)
8461 LD
="${LD-ld} -m elf_i386_fbsd"
8464 case `/usr/bin/file conftest.o` in
8466 LD
="${LD-ld} -m elf32_x86_64"
8469 LD
="${LD-ld} -m elf_i386"
8473 powerpc64le-
*linux
*)
8474 LD
="${LD-ld} -m elf32lppclinux"
8477 LD
="${LD-ld} -m elf32ppclinux"
8480 LD
="${LD-ld} -m elf_s390"
8483 LD
="${LD-ld} -m elf32_sparc"
8489 x86_64-
*kfreebsd
*-gnu)
8490 LD
="${LD-ld} -m elf_x86_64_fbsd"
8493 LD
="${LD-ld} -m elf_x86_64"
8496 LD
="${LD-ld} -m elf64lppc"
8499 LD
="${LD-ld} -m elf64ppc"
8501 s390
*-*linux
*|s390
*-*tpf
*)
8502 LD
="${LD-ld} -m elf64_s390"
8505 LD
="${LD-ld} -m elf64_sparc"
8515 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8517 CFLAGS
="$CFLAGS -belf"
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8519 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8520 if ${lt_cv_cc_needs_belf+:} false
; then :
8521 $as_echo_n "(cached) " >&6
8524 ac_cpp
='$CPP $CPPFLAGS'
8525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8540 if ac_fn_c_try_link
"$LINENO"; then :
8541 lt_cv_cc_needs_belf
=yes
8543 lt_cv_cc_needs_belf
=no
8545 rm -f core conftest.err conftest.
$ac_objext \
8546 conftest
$ac_exeext conftest.
$ac_ext
8548 ac_cpp
='$CPP $CPPFLAGS'
8549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8555 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8556 if test yes != "$lt_cv_cc_needs_belf"; then
8557 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8562 # Find out what ABI is being produced by ac_compile, and set linker
8563 # options accordingly.
8564 echo 'int i;' > conftest.
$ac_ext
8565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8566 (eval $ac_compile) 2>&5
8568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8569 test $ac_status = 0; }; then
8570 case `/usr/bin/file conftest.o` in
8572 case $lt_cv_prog_gnu_ld in
8575 i?
86-*-solaris*|x86_64-
*-solaris*)
8576 LD
="${LD-ld} -m elf_x86_64"
8579 LD
="${LD-ld} -m elf64_sparc"
8582 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8583 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
8588 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8600 need_locks
=$enable_libtool_lock
8602 if test -n "$ac_tool_prefix"; then
8603 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8604 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8606 $as_echo_n "checking for $ac_word... " >&6; }
8607 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
8608 $as_echo_n "(cached) " >&6
8610 if test -n "$MANIFEST_TOOL"; then
8611 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8617 test -z "$as_dir" && as_dir
=.
8618 for ac_exec_ext
in '' $ac_executable_extensions; do
8619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8620 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8630 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8631 if test -n "$MANIFEST_TOOL"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8633 $as_echo "$MANIFEST_TOOL" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8636 $as_echo "no" >&6; }
8641 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8642 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8643 # Extract the first word of "mt", so it can be a program name with args.
8644 set dummy mt
; ac_word
=$2
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8646 $as_echo_n "checking for $ac_word... " >&6; }
8647 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8648 $as_echo_n "(cached) " >&6
8650 if test -n "$ac_ct_MANIFEST_TOOL"; then
8651 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8657 test -z "$as_dir" && as_dir
=.
8658 for ac_exec_ext
in '' $ac_executable_extensions; do
8659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8660 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8670 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8671 if test -n "$ac_ct_MANIFEST_TOOL"; then
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8673 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8676 $as_echo "no" >&6; }
8679 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8682 case $cross_compiling:$ac_tool_warned in
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8686 ac_tool_warned
=yes ;;
8688 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8691 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8694 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8696 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8697 if ${lt_cv_path_mainfest_tool+:} false
; then :
8698 $as_echo_n "(cached) " >&6
8700 lt_cv_path_mainfest_tool
=no
8701 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8702 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8703 cat conftest.err
>&5
8704 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8705 lt_cv_path_mainfest_tool
=yes
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8710 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8711 if test yes != "$lt_cv_path_mainfest_tool"; then
8721 rhapsody
* | darwin
*)
8722 if test -n "$ac_tool_prefix"; then
8723 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8724 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8726 $as_echo_n "checking for $ac_word... " >&6; }
8727 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8728 $as_echo_n "(cached) " >&6
8730 if test -n "$DSYMUTIL"; then
8731 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8737 test -z "$as_dir" && as_dir
=.
8738 for ac_exec_ext
in '' $ac_executable_extensions; do
8739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8740 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8750 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8751 if test -n "$DSYMUTIL"; then
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8753 $as_echo "$DSYMUTIL" >&6; }
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8756 $as_echo "no" >&6; }
8761 if test -z "$ac_cv_prog_DSYMUTIL"; then
8762 ac_ct_DSYMUTIL
=$DSYMUTIL
8763 # Extract the first word of "dsymutil", so it can be a program name with args.
8764 set dummy dsymutil
; ac_word
=$2
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8766 $as_echo_n "checking for $ac_word... " >&6; }
8767 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8768 $as_echo_n "(cached) " >&6
8770 if test -n "$ac_ct_DSYMUTIL"; then
8771 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8777 test -z "$as_dir" && as_dir
=.
8778 for ac_exec_ext
in '' $ac_executable_extensions; do
8779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8780 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8790 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8791 if test -n "$ac_ct_DSYMUTIL"; then
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8793 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8796 $as_echo "no" >&6; }
8799 if test "x$ac_ct_DSYMUTIL" = x
; then
8802 case $cross_compiling:$ac_tool_warned in
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8806 ac_tool_warned
=yes ;;
8808 DSYMUTIL
=$ac_ct_DSYMUTIL
8811 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8814 if test -n "$ac_tool_prefix"; then
8815 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8816 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8818 $as_echo_n "checking for $ac_word... " >&6; }
8819 if ${ac_cv_prog_NMEDIT+:} false
; then :
8820 $as_echo_n "(cached) " >&6
8822 if test -n "$NMEDIT"; then
8823 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8829 test -z "$as_dir" && as_dir
=.
8830 for ac_exec_ext
in '' $ac_executable_extensions; do
8831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8832 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8842 NMEDIT
=$ac_cv_prog_NMEDIT
8843 if test -n "$NMEDIT"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8845 $as_echo "$NMEDIT" >&6; }
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8848 $as_echo "no" >&6; }
8853 if test -z "$ac_cv_prog_NMEDIT"; then
8854 ac_ct_NMEDIT
=$NMEDIT
8855 # Extract the first word of "nmedit", so it can be a program name with args.
8856 set dummy nmedit
; ac_word
=$2
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8858 $as_echo_n "checking for $ac_word... " >&6; }
8859 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8860 $as_echo_n "(cached) " >&6
8862 if test -n "$ac_ct_NMEDIT"; then
8863 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir
=.
8870 for ac_exec_ext
in '' $ac_executable_extensions; do
8871 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8872 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8882 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8883 if test -n "$ac_ct_NMEDIT"; then
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8885 $as_echo "$ac_ct_NMEDIT" >&6; }
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8888 $as_echo "no" >&6; }
8891 if test "x$ac_ct_NMEDIT" = x
; then
8894 case $cross_compiling:$ac_tool_warned in
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8898 ac_tool_warned
=yes ;;
8900 NMEDIT
=$ac_ct_NMEDIT
8903 NMEDIT
="$ac_cv_prog_NMEDIT"
8906 if test -n "$ac_tool_prefix"; then
8907 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8908 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8910 $as_echo_n "checking for $ac_word... " >&6; }
8911 if ${ac_cv_prog_LIPO+:} false
; then :
8912 $as_echo_n "(cached) " >&6
8914 if test -n "$LIPO"; then
8915 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8921 test -z "$as_dir" && as_dir
=.
8922 for ac_exec_ext
in '' $ac_executable_extensions; do
8923 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8924 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8934 LIPO
=$ac_cv_prog_LIPO
8935 if test -n "$LIPO"; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8937 $as_echo "$LIPO" >&6; }
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8940 $as_echo "no" >&6; }
8945 if test -z "$ac_cv_prog_LIPO"; then
8947 # Extract the first word of "lipo", so it can be a program name with args.
8948 set dummy lipo
; ac_word
=$2
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8950 $as_echo_n "checking for $ac_word... " >&6; }
8951 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8952 $as_echo_n "(cached) " >&6
8954 if test -n "$ac_ct_LIPO"; then
8955 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8961 test -z "$as_dir" && as_dir
=.
8962 for ac_exec_ext
in '' $ac_executable_extensions; do
8963 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8964 ac_cv_prog_ac_ct_LIPO
="lipo"
8965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8974 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8975 if test -n "$ac_ct_LIPO"; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8977 $as_echo "$ac_ct_LIPO" >&6; }
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8980 $as_echo "no" >&6; }
8983 if test "x$ac_ct_LIPO" = x
; then
8986 case $cross_compiling:$ac_tool_warned in
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8990 ac_tool_warned
=yes ;;
8995 LIPO
="$ac_cv_prog_LIPO"
8998 if test -n "$ac_tool_prefix"; then
8999 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9000 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9002 $as_echo_n "checking for $ac_word... " >&6; }
9003 if ${ac_cv_prog_OTOOL+:} false
; then :
9004 $as_echo_n "(cached) " >&6
9006 if test -n "$OTOOL"; then
9007 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9013 test -z "$as_dir" && as_dir
=.
9014 for ac_exec_ext
in '' $ac_executable_extensions; do
9015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9016 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9026 OTOOL
=$ac_cv_prog_OTOOL
9027 if test -n "$OTOOL"; then
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9029 $as_echo "$OTOOL" >&6; }
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9032 $as_echo "no" >&6; }
9037 if test -z "$ac_cv_prog_OTOOL"; then
9039 # Extract the first word of "otool", so it can be a program name with args.
9040 set dummy otool
; ac_word
=$2
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9042 $as_echo_n "checking for $ac_word... " >&6; }
9043 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
9044 $as_echo_n "(cached) " >&6
9046 if test -n "$ac_ct_OTOOL"; then
9047 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9053 test -z "$as_dir" && as_dir
=.
9054 for ac_exec_ext
in '' $ac_executable_extensions; do
9055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9056 ac_cv_prog_ac_ct_OTOOL
="otool"
9057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9066 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9067 if test -n "$ac_ct_OTOOL"; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9069 $as_echo "$ac_ct_OTOOL" >&6; }
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9072 $as_echo "no" >&6; }
9075 if test "x$ac_ct_OTOOL" = x
; then
9078 case $cross_compiling:$ac_tool_warned in
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9082 ac_tool_warned
=yes ;;
9087 OTOOL
="$ac_cv_prog_OTOOL"
9090 if test -n "$ac_tool_prefix"; then
9091 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9092 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9094 $as_echo_n "checking for $ac_word... " >&6; }
9095 if ${ac_cv_prog_OTOOL64+:} false
; then :
9096 $as_echo_n "(cached) " >&6
9098 if test -n "$OTOOL64"; then
9099 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9105 test -z "$as_dir" && as_dir
=.
9106 for ac_exec_ext
in '' $ac_executable_extensions; do
9107 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9108 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9118 OTOOL64
=$ac_cv_prog_OTOOL64
9119 if test -n "$OTOOL64"; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9121 $as_echo "$OTOOL64" >&6; }
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9124 $as_echo "no" >&6; }
9129 if test -z "$ac_cv_prog_OTOOL64"; then
9130 ac_ct_OTOOL64
=$OTOOL64
9131 # Extract the first word of "otool64", so it can be a program name with args.
9132 set dummy otool64
; ac_word
=$2
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9134 $as_echo_n "checking for $ac_word... " >&6; }
9135 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9136 $as_echo_n "(cached) " >&6
9138 if test -n "$ac_ct_OTOOL64"; then
9139 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9145 test -z "$as_dir" && as_dir
=.
9146 for ac_exec_ext
in '' $ac_executable_extensions; do
9147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9148 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9158 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9159 if test -n "$ac_ct_OTOOL64"; then
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9161 $as_echo "$ac_ct_OTOOL64" >&6; }
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9164 $as_echo "no" >&6; }
9167 if test "x$ac_ct_OTOOL64" = x
; then
9170 case $cross_compiling:$ac_tool_warned in
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9174 ac_tool_warned
=yes ;;
9176 OTOOL64
=$ac_ct_OTOOL64
9179 OTOOL64
="$ac_cv_prog_OTOOL64"
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9209 $as_echo_n "checking for -single_module linker flag... " >&6; }
9210 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9211 $as_echo_n "(cached) " >&6
9213 lt_cv_apple_cc_single_mod
=no
9214 if test -z "$LT_MULTI_MODULE"; then
9215 # By default we will add the -single_module flag. You can override
9216 # by either setting the environment variable LT_MULTI_MODULE
9217 # non-empty at configure time, or by adding -multi_module to the
9219 rm -rf libconftest.dylib
*
9220 echo "int foo(void){return 1;}" > conftest.c
9221 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9222 -dynamiclib -Wl,-single_module conftest.c" >&5
9223 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9224 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9226 # If there is a non-empty error log, and "single_module"
9227 # appears in it, assume the flag caused a linker warning
9228 if test -s conftest.err
&& $GREP single_module conftest.err
; then
9229 cat conftest.err
>&5
9230 # Otherwise, if the output was created with a 0 exit code from
9231 # the compiler, it worked.
9232 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
9233 lt_cv_apple_cc_single_mod
=yes
9235 cat conftest.err
>&5
9237 rm -rf libconftest.dylib
*
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9242 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9245 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9246 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9247 $as_echo_n "(cached) " >&6
9249 lt_cv_ld_exported_symbols_list
=no
9250 save_LDFLAGS
=$LDFLAGS
9251 echo "_main" > conftest.sym
9252 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9264 if ac_fn_c_try_link
"$LINENO"; then :
9265 lt_cv_ld_exported_symbols_list
=yes
9267 lt_cv_ld_exported_symbols_list
=no
9269 rm -f core conftest.err conftest.
$ac_objext \
9270 conftest
$ac_exeext conftest.
$ac_ext
9271 LDFLAGS
=$save_LDFLAGS
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9275 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9278 $as_echo_n "checking for -force_load linker flag... " >&6; }
9279 if ${lt_cv_ld_force_load+:} false
; then :
9280 $as_echo_n "(cached) " >&6
9282 lt_cv_ld_force_load
=no
9283 cat > conftest.c
<< _LT_EOF
9284 int forced_loaded() { return 2;}
9286 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9287 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9288 echo "$AR cru libconftest.a conftest.o" >&5
9289 $AR cru libconftest.a conftest.o
2>&5
9290 echo "$RANLIB libconftest.a" >&5
9291 $RANLIB libconftest.a
2>&5
9292 cat > conftest.c
<< _LT_EOF
9293 int main() { return 0;}
9295 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9296 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9298 if test -s conftest.err
&& $GREP force_load conftest.err
; then
9299 cat conftest.err
>&5
9300 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
9301 lt_cv_ld_force_load
=yes
9303 cat conftest.err
>&5
9305 rm -f conftest.err libconftest.a conftest conftest.c
9306 rm -rf conftest.dSYM
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9310 $as_echo "$lt_cv_ld_force_load" >&6; }
9312 rhapsody
* | darwin1.
[012])
9313 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
9315 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9316 darwin
*) # darwin 5.x on
9317 # if running on 10.5 or later, the deployment target defaults
9318 # to the OS version, if on x86, and 10.4, the deployment
9319 # target defaults to 10.4. Don't you love it?
9320 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9321 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9322 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9324 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9326 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9330 if test yes = "$lt_cv_apple_cc_single_mod"; then
9331 _lt_dar_single_mod
='$single_module'
9333 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9334 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9336 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9338 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
9339 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9346 # func_munge_path_list VARIABLE PATH
9347 # -----------------------------------
9348 # VARIABLE is name of variable containing _space_ separated list of
9349 # directories to be munged by the contents of PATH, which is string
9352 # string "DIR[ DIR]" will be prepended to VARIABLE
9354 # string "DIR[ DIR]" will be appended to VARIABLE
9355 # "DIRP[:DIRP]::[DIRA:]DIRA"
9356 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9357 # "DIRA[ DIRA]" will be appended to VARIABLE
9359 # VARIABLE will be replaced by "DIR[ DIR]"
9360 func_munge_path_list
()
9366 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
9369 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9372 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9373 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
9376 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9383 $as_echo_n "checking for ANSI C header files... " >&6; }
9384 if ${ac_cv_header_stdc+:} false
; then :
9385 $as_echo_n "(cached) " >&6
9387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9402 if ac_fn_c_try_compile
"$LINENO"; then :
9403 ac_cv_header_stdc
=yes
9405 ac_cv_header_stdc
=no
9407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9409 if test $ac_cv_header_stdc = yes; then
9410 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9417 $EGREP "memchr" >/dev
/null
2>&1; then :
9420 ac_cv_header_stdc
=no
9426 if test $ac_cv_header_stdc = yes; then
9427 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9434 $EGREP "free" >/dev
/null
2>&1; then :
9437 ac_cv_header_stdc
=no
9443 if test $ac_cv_header_stdc = yes; then
9444 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9445 if test "$cross_compiling" = yes; then :
9448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9452 #if ((' ' & 0x0FF) == 0x020)
9453 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9454 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9456 # define ISLOWER(c) \
9457 (('a' <= (c) && (c) <= 'i') \
9458 || ('j' <= (c) && (c) <= 'r') \
9459 || ('s' <= (c) && (c) <= 'z'))
9460 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9463 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9468 for (i = 0; i < 256; i++)
9469 if (XOR (islower (i), ISLOWER (i))
9470 || toupper (i) != TOUPPER (i))
9475 if ac_fn_c_try_run
"$LINENO"; then :
9478 ac_cv_header_stdc
=no
9480 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9481 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9487 $as_echo "$ac_cv_header_stdc" >&6; }
9488 if test $ac_cv_header_stdc = yes; then
9490 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9494 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9495 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9496 inttypes.h stdint.h unistd.h
9498 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9499 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9501 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9502 cat >>confdefs.h
<<_ACEOF
9503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9511 for ac_header
in dlfcn.h
9513 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9515 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9516 cat >>confdefs.h
<<_ACEOF
9517 #define HAVE_DLFCN_H 1
9538 # Check whether --enable-shared was given.
9539 if test "${enable_shared+set}" = set; then :
9540 enableval
=$enable_shared; p
=${PACKAGE-default}
9542 yes) enable_shared
=yes ;;
9543 no
) enable_shared
=no
;;
9546 # Look at the argument we got. We use all the common list separators.
9547 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9548 for pkg
in $enableval; do
9550 if test "X$pkg" = "X$p"; then
9569 # Check whether --enable-static was given.
9570 if test "${enable_static+set}" = set; then :
9571 enableval
=$enable_static; p
=${PACKAGE-default}
9573 yes) enable_static
=yes ;;
9574 no
) enable_static
=no
;;
9577 # Look at the argument we got. We use all the common list separators.
9578 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9579 for pkg
in $enableval; do
9581 if test "X$pkg" = "X$p"; then
9601 # Check whether --with-pic was given.
9602 if test "${with_pic+set}" = set; then :
9603 withval
=$with_pic; lt_p
=${PACKAGE-default}
9605 yes|no
) pic_mode
=$withval ;;
9608 # Look at the argument we got. We use all the common list separators.
9609 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9610 for lt_pkg
in $withval; do
9612 if test "X$lt_pkg" = "X$lt_p"; then
9630 # Check whether --enable-fast-install was given.
9631 if test "${enable_fast_install+set}" = set; then :
9632 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9634 yes) enable_fast_install
=yes ;;
9635 no
) enable_fast_install
=no
;;
9637 enable_fast_install
=no
9638 # Look at the argument we got. We use all the common list separators.
9639 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9640 for pkg
in $enableval; do
9642 if test "X$pkg" = "X$p"; then
9643 enable_fast_install
=yes
9650 enable_fast_install
=yes
9660 shared_archive_member_spec
=
9661 case $host,$enable_shared in
9662 power
*-*-aix[5-9]*,yes)
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9664 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9666 # Check whether --with-aix-soname was given.
9667 if test "${with_aix_soname+set}" = set; then :
9668 withval
=$with_aix_soname; case $withval in
9672 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9675 lt_cv_with_aix_soname
=$with_aix_soname
9677 if ${lt_cv_with_aix_soname+:} false
; then :
9678 $as_echo_n "(cached) " >&6
9680 lt_cv_with_aix_soname
=aix
9683 with_aix_soname
=$lt_cv_with_aix_soname
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9687 $as_echo "$with_aix_soname" >&6; }
9688 if test aix
!= "$with_aix_soname"; then
9689 # For the AIX way of multilib, we name the shared archive member
9690 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9691 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9692 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9693 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9694 if test 64 = "${OBJECT_MODE-32}"; then
9695 shared_archive_member_spec
=shr_64
9697 shared_archive_member_spec
=shr
9715 # This can be used to rebuild libtool when needed
9716 LIBTOOL_DEPS
=$ltmain
9718 # Always use our own libtool.
9719 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9750 test -z "$LN_S" && LN_S
="ln -s"
9765 if test -n "${ZSH_VERSION+set}"; then
9766 setopt NO_GLOB_SUBST
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9770 $as_echo_n "checking for objdir... " >&6; }
9771 if ${lt_cv_objdir+:} false
; then :
9772 $as_echo_n "(cached) " >&6
9774 rm -f .libs
2>/dev
/null
9775 mkdir .libs
2>/dev
/null
9776 if test -d .libs
; then
9779 # MS-DOS does not allow filenames that begin with a dot.
9782 rmdir .libs
2>/dev
/null
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9785 $as_echo "$lt_cv_objdir" >&6; }
9786 objdir
=$lt_cv_objdir
9792 cat >>confdefs.h
<<_ACEOF
9793 #define LT_OBJDIR "$lt_cv_objdir/"
9801 # AIX sometimes has problems with the GCC collect2 program. For some
9802 # reason, if we set the COLLECT_NAMES environment variable, the problems
9803 # vanish in a puff of smoke.
9804 if test set != "${COLLECT_NAMES+set}"; then
9806 export COLLECT_NAMES
9813 can_build_shared
=yes
9815 # All known linkers require a '.a' archive for static linking (except MSVC,
9816 # which needs '.lib').
9819 with_gnu_ld
=$lt_cv_prog_gnu_ld
9824 # Set sane defaults for various variables
9825 test -z "$CC" && CC
=cc
9826 test -z "$LTCC" && LTCC
=$CC
9827 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9828 test -z "$LD" && LD
=ld
9829 test -z "$ac_objext" && ac_objext
=o
9831 func_cc_basename
$compiler
9832 cc_basename
=$func_cc_basename_result
9835 # Only perform the check for file, if the check method requires it
9836 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9837 case $deplibs_check_method in
9839 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9841 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9842 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9843 $as_echo_n "(cached) " >&6
9847 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9850 lt_save_MAGIC_CMD
=$MAGIC_CMD
9851 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9852 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9853 for ac_dir
in $ac_dummy; do
9855 test -z "$ac_dir" && ac_dir
=.
9856 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9857 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9858 if test -n "$file_magic_test_file"; then
9859 case $deplibs_check_method in
9861 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9862 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9863 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9864 $EGREP "$file_magic_regex" > /dev
/null
; then
9869 *** Warning: the command libtool uses to detect shared libraries,
9870 *** $file_magic_cmd, produces output that libtool cannot recognize.
9871 *** The result is that libtool may fail to recognize shared libraries
9872 *** as such. This will affect the creation of libtool libraries that
9873 *** depend on shared libraries, but programs linked with such libtool
9874 *** libraries will work regardless of this problem. Nevertheless, you
9875 *** may want to report the problem to your system manager and/or to
9876 *** bug-libtool@gnu.org
9886 MAGIC_CMD
=$lt_save_MAGIC_CMD
9891 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9892 if test -n "$MAGIC_CMD"; then
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9894 $as_echo "$MAGIC_CMD" >&6; }
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9897 $as_echo "no" >&6; }
9904 if test -z "$lt_cv_path_MAGIC_CMD"; then
9905 if test -n "$ac_tool_prefix"; then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9907 $as_echo_n "checking for file... " >&6; }
9908 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9909 $as_echo_n "(cached) " >&6
9913 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9916 lt_save_MAGIC_CMD
=$MAGIC_CMD
9917 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9918 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9919 for ac_dir
in $ac_dummy; do
9921 test -z "$ac_dir" && ac_dir
=.
9922 if test -f "$ac_dir/file"; then
9923 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9924 if test -n "$file_magic_test_file"; then
9925 case $deplibs_check_method in
9927 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9928 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9929 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9930 $EGREP "$file_magic_regex" > /dev
/null
; then
9935 *** Warning: the command libtool uses to detect shared libraries,
9936 *** $file_magic_cmd, produces output that libtool cannot recognize.
9937 *** The result is that libtool may fail to recognize shared libraries
9938 *** as such. This will affect the creation of libtool libraries that
9939 *** depend on shared libraries, but programs linked with such libtool
9940 *** libraries will work regardless of this problem. Nevertheless, you
9941 *** may want to report the problem to your system manager and/or to
9942 *** bug-libtool@gnu.org
9952 MAGIC_CMD
=$lt_save_MAGIC_CMD
9957 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9958 if test -n "$MAGIC_CMD"; then
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9960 $as_echo "$MAGIC_CMD" >&6; }
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9963 $as_echo "no" >&6; }
9976 # Use C for the default configuration in the libtool script
9980 ac_cpp
='$CPP $CPPFLAGS'
9981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9986 # Source file extension for C test sources.
9989 # Object file extension for compiled C test sources.
9993 # Code to be used in simple compile tests
9994 lt_simple_compile_test_code
="int some_variable = 0;"
9996 # Code to be used in simple link tests
9997 lt_simple_link_test_code
='int main(){return(0);}'
10005 # If no C compiler was specified, use CC.
10008 # If no C compiler flags were specified, use CFLAGS.
10009 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10011 # Allow CC to be a program name with arguments.
10014 # Save the default compiler, since it gets overwritten when the other
10015 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10016 compiler_DEFAULT
=$CC
10018 # save warnings/boilerplate of simple test code
10019 ac_outfile
=conftest.
$ac_objext
10020 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10021 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10022 _lt_compiler_boilerplate
=`cat conftest.err`
10025 ac_outfile
=conftest.
$ac_objext
10026 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10027 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10028 _lt_linker_boilerplate
=`cat conftest.err`
10033 ## There is no encapsulation within the following macros, do not change
10034 ## the running order or otherwise move them around unless you know exactly
10035 ## what you are doing...
10036 if test -n "$compiler"; then
10038 lt_prog_compiler_no_builtin_flag
=
10040 if test yes = "$GCC"; then
10041 case $cc_basename in
10043 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10045 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10049 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10050 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
10051 $as_echo_n "(cached) " >&6
10053 lt_cv_prog_compiler_rtti_exceptions
=no
10054 ac_outfile
=conftest.
$ac_objext
10055 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10056 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10057 # Insert the option either (1) after the last *FLAGS variable, or
10058 # (2) before a word containing "conftest.", or (3) at the end.
10059 # Note that $ac_compile itself does not contain backslashes and begins
10060 # with a dollar sign (not a hyphen), so the echo should work correctly.
10061 # The option is referenced via a variable to avoid confusing sed.
10062 lt_compile
=`echo "$ac_compile" | $SED \
10063 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10064 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10065 -e 's:$: $lt_compiler_flag:'`
10066 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10067 (eval "$lt_compile" 2>conftest.err
)
10069 cat conftest.err
>&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 if (exit $ac_status) && test -s "$ac_outfile"; then
10072 # The compiler can only warn and ignore the option if not recognized
10073 # So say no if there are warnings other than the usual output.
10074 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10075 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10076 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10077 lt_cv_prog_compiler_rtti_exceptions
=yes
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10084 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10086 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10087 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10099 lt_prog_compiler_wl
=
10100 lt_prog_compiler_pic
=
10101 lt_prog_compiler_static
=
10104 if test yes = "$GCC"; then
10105 lt_prog_compiler_wl
='-Wl,'
10106 lt_prog_compiler_static
='-static'
10110 # All AIX code is PIC.
10111 if test ia64
= "$host_cpu"; then
10112 # AIX 5 now supports IA64 processor
10113 lt_prog_compiler_static
='-Bstatic'
10115 lt_prog_compiler_pic
='-fPIC'
10121 # see comment about AmigaOS4 .so support
10122 lt_prog_compiler_pic
='-fPIC'
10125 # FIXME: we need at least 68020 code to build shared libraries, but
10126 # adding the '-m68020' flag to GCC prevents building anything better,
10128 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10133 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10134 # PIC is the default for these OSes.
10137 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10138 # This hack is so that the source file can tell whether it is being
10139 # built for inclusion in a dll (and should export symbols for example).
10140 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10141 # (--disable-auto-import) libraries
10142 lt_prog_compiler_pic
='-DDLL_EXPORT'
10145 lt_prog_compiler_static
='$wl-static'
10150 darwin
* | rhapsody
*)
10151 # PIC is the default on this platform
10152 # Common symbols not allowed in MH_DYLIB files
10153 lt_prog_compiler_pic
='-fno-common'
10157 # PIC is the default for Haiku.
10158 # The "-static" flag exists, but is broken.
10159 lt_prog_compiler_static
=
10163 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10164 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10165 # sets the default TLS model and affects inlining.
10171 lt_prog_compiler_pic
='-fPIC'
10177 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10178 # Instead, we relocate shared libraries at runtime.
10182 # Just because we use GCC doesn't mean we suddenly get shared libraries
10183 # on systems that don't support them.
10184 lt_prog_compiler_can_build_shared
=no
10189 # QNX uses GNU C++, but need to define -shared option too, otherwise
10190 # it will coredump.
10191 lt_prog_compiler_pic
='-fPIC -shared'
10195 if test -d /usr
/nec
; then
10196 lt_prog_compiler_pic
=-Kconform_pic
10201 lt_prog_compiler_pic
='-fPIC'
10205 case $cc_basename in
10206 nvcc
*) # Cuda Compiler Driver 2.2
10207 lt_prog_compiler_wl
='-Xlinker '
10208 if test -n "$lt_prog_compiler_pic"; then
10209 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10214 # PORTME Check for flag to pass linker flags through the system compiler.
10217 lt_prog_compiler_wl
='-Wl,'
10218 if test ia64
= "$host_cpu"; then
10219 # AIX 5 now supports IA64 processor
10220 lt_prog_compiler_static
='-Bstatic'
10222 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10226 darwin
* | rhapsody
*)
10227 # PIC is the default on this platform
10228 # Common symbols not allowed in MH_DYLIB files
10229 lt_prog_compiler_pic
='-fno-common'
10230 case $cc_basename in
10232 # NAG Fortran compiler
10233 lt_prog_compiler_wl
='-Wl,-Wl,,'
10234 lt_prog_compiler_pic
='-PIC'
10235 lt_prog_compiler_static
='-Bstatic'
10240 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10241 # This hack is so that the source file can tell whether it is being
10242 # built for inclusion in a dll (and should export symbols for example).
10243 lt_prog_compiler_pic
='-DDLL_EXPORT'
10246 lt_prog_compiler_static
='$wl-static'
10251 hpux9
* | hpux10
* | hpux11
*)
10252 lt_prog_compiler_wl
='-Wl,'
10253 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10254 # not for PA HP-UX.
10260 lt_prog_compiler_pic
='+Z'
10263 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10264 lt_prog_compiler_static
='$wl-a ${wl}archive'
10267 irix5
* | irix6
* | nonstopux
*)
10268 lt_prog_compiler_wl
='-Wl,'
10269 # PIC (with -KPIC) is the default.
10270 lt_prog_compiler_static
='-non_shared'
10273 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10274 case $cc_basename in
10275 # old Intel for x86_64, which still supported -KPIC.
10277 lt_prog_compiler_wl
='-Wl,'
10278 lt_prog_compiler_pic
='-KPIC'
10279 lt_prog_compiler_static
='-static'
10281 # icc used to be incompatible with GCC.
10282 # ICC 10 doesn't accept -KPIC any more.
10284 lt_prog_compiler_wl
='-Wl,'
10285 lt_prog_compiler_pic
='-fPIC'
10286 lt_prog_compiler_static
='-static'
10288 # Lahey Fortran 8.1.
10290 lt_prog_compiler_wl
='-Wl,'
10291 lt_prog_compiler_pic
='--shared'
10292 lt_prog_compiler_static
='--static'
10295 # NAG Fortran compiler
10296 lt_prog_compiler_wl
='-Wl,-Wl,,'
10297 lt_prog_compiler_pic
='-PIC'
10298 lt_prog_compiler_static
='-Bstatic'
10301 # Fabrice Bellard et al's Tiny C Compiler
10302 lt_prog_compiler_wl
='-Wl,'
10303 lt_prog_compiler_pic
='-fPIC'
10304 lt_prog_compiler_static
='-static'
10306 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10307 # Portland Group compilers (*not* the Pentium gcc compiler,
10308 # which looks to be a dead project)
10309 lt_prog_compiler_wl
='-Wl,'
10310 lt_prog_compiler_pic
='-fpic'
10311 lt_prog_compiler_static
='-Bstatic'
10314 lt_prog_compiler_wl
='-Wl,'
10315 # All Alpha code is PIC.
10316 lt_prog_compiler_static
='-non_shared'
10318 xl
* | bgxl
* | bgf
* | mpixl
*)
10319 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10320 lt_prog_compiler_wl
='-Wl,'
10321 lt_prog_compiler_pic
='-qpic'
10322 lt_prog_compiler_static
='-qstaticlink'
10325 case `$CC -V 2>&1 | sed 5q` in
10326 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10327 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10328 lt_prog_compiler_pic
='-KPIC'
10329 lt_prog_compiler_static
='-Bstatic'
10330 lt_prog_compiler_wl
=''
10332 *Sun\ F
* |
*Sun
*Fortran
*)
10333 lt_prog_compiler_pic
='-KPIC'
10334 lt_prog_compiler_static
='-Bstatic'
10335 lt_prog_compiler_wl
='-Qoption ld '
10339 lt_prog_compiler_pic
='-KPIC'
10340 lt_prog_compiler_static
='-Bstatic'
10341 lt_prog_compiler_wl
='-Wl,'
10343 *Intel
*\
[CF
]*Compiler
*)
10344 lt_prog_compiler_wl
='-Wl,'
10345 lt_prog_compiler_pic
='-fPIC'
10346 lt_prog_compiler_static
='-static'
10349 lt_prog_compiler_wl
='-Wl,'
10350 lt_prog_compiler_pic
='-fpic'
10351 lt_prog_compiler_static
='-Bstatic'
10359 lt_prog_compiler_pic
='-KPIC'
10360 lt_prog_compiler_static
='-Bstatic'
10364 # QNX uses GNU C++, but need to define -shared option too, otherwise
10365 # it will coredump.
10366 lt_prog_compiler_pic
='-fPIC -shared'
10369 osf3
* | osf4
* | osf5
*)
10370 lt_prog_compiler_wl
='-Wl,'
10371 # All OSF/1 code is PIC.
10372 lt_prog_compiler_static
='-non_shared'
10376 lt_prog_compiler_static
='-non_shared'
10380 lt_prog_compiler_pic
='-KPIC'
10381 lt_prog_compiler_static
='-Bstatic'
10382 case $cc_basename in
10383 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10384 lt_prog_compiler_wl
='-Qoption ld ';;
10386 lt_prog_compiler_wl
='-Wl,';;
10391 lt_prog_compiler_wl
='-Qoption ld '
10392 lt_prog_compiler_pic
='-PIC'
10393 lt_prog_compiler_static
='-Bstatic'
10396 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10397 lt_prog_compiler_wl
='-Wl,'
10398 lt_prog_compiler_pic
='-KPIC'
10399 lt_prog_compiler_static
='-Bstatic'
10403 if test -d /usr
/nec
; then
10404 lt_prog_compiler_pic
='-Kconform_pic'
10405 lt_prog_compiler_static
='-Bstatic'
10409 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10410 lt_prog_compiler_wl
='-Wl,'
10411 lt_prog_compiler_pic
='-KPIC'
10412 lt_prog_compiler_static
='-Bstatic'
10416 lt_prog_compiler_wl
='-Wl,'
10417 lt_prog_compiler_can_build_shared
=no
10421 lt_prog_compiler_pic
='-pic'
10422 lt_prog_compiler_static
='-Bstatic'
10426 lt_prog_compiler_can_build_shared
=no
10432 # For platforms that do not support PIC, -DPIC is meaningless:
10434 lt_prog_compiler_pic
=
10437 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10442 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10443 if ${lt_cv_prog_compiler_pic+:} false
; then :
10444 $as_echo_n "(cached) " >&6
10446 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10449 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10450 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10453 # Check to make sure the PIC flag actually works.
10455 if test -n "$lt_prog_compiler_pic"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10457 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10458 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10459 $as_echo_n "(cached) " >&6
10461 lt_cv_prog_compiler_pic_works
=no
10462 ac_outfile
=conftest.
$ac_objext
10463 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10464 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10465 # Insert the option either (1) after the last *FLAGS variable, or
10466 # (2) before a word containing "conftest.", or (3) at the end.
10467 # Note that $ac_compile itself does not contain backslashes and begins
10468 # with a dollar sign (not a hyphen), so the echo should work correctly.
10469 # The option is referenced via a variable to avoid confusing sed.
10470 lt_compile
=`echo "$ac_compile" | $SED \
10471 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10472 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10473 -e 's:$: $lt_compiler_flag:'`
10474 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10475 (eval "$lt_compile" 2>conftest.err
)
10477 cat conftest.err
>&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 if (exit $ac_status) && test -s "$ac_outfile"; then
10480 # The compiler can only warn and ignore the option if not recognized
10481 # So say no if there are warnings other than the usual output.
10482 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10483 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10484 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10485 lt_cv_prog_compiler_pic_works
=yes
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10492 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10494 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10495 case $lt_prog_compiler_pic in
10497 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10500 lt_prog_compiler_pic
=
10501 lt_prog_compiler_can_build_shared
=no
10517 # Check to make sure the static flag actually works.
10519 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10521 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10522 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10523 $as_echo_n "(cached) " >&6
10525 lt_cv_prog_compiler_static_works
=no
10526 save_LDFLAGS
=$LDFLAGS
10527 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10528 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10529 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10530 # The linker can only warn and ignore the option if not recognized
10531 # So say no if there are warnings
10532 if test -s conftest.err
; then
10533 # Append any errors to the config.log.
10534 cat conftest.err
1>&5
10535 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10536 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10537 if diff conftest.exp conftest.er2
>/dev
/null
; then
10538 lt_cv_prog_compiler_static_works
=yes
10541 lt_cv_prog_compiler_static_works
=yes
10545 LDFLAGS
=$save_LDFLAGS
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10549 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10551 if test yes = "$lt_cv_prog_compiler_static_works"; then
10554 lt_prog_compiler_static
=
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10564 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10565 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10566 $as_echo_n "(cached) " >&6
10568 lt_cv_prog_compiler_c_o
=no
10569 $RM -r conftest
2>/dev
/null
10573 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10575 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10576 # Insert the option either (1) after the last *FLAGS variable, or
10577 # (2) before a word containing "conftest.", or (3) at the end.
10578 # Note that $ac_compile itself does not contain backslashes and begins
10579 # with a dollar sign (not a hyphen), so the echo should work correctly.
10580 lt_compile
=`echo "$ac_compile" | $SED \
10581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10583 -e 's:$: $lt_compiler_flag:'`
10584 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10585 (eval "$lt_compile" 2>out
/conftest.err
)
10587 cat out
/conftest.err
>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10591 # The compiler can only warn and ignore the option if not recognized
10592 # So say no if there are warnings
10593 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10594 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10595 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10596 lt_cv_prog_compiler_c_o
=yes
10601 # SGI C++ compiler will create directory out/ii_files/ for
10602 # template instantiation
10603 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10604 $RM out
/* && rmdir out
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10611 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10619 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10620 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10621 $as_echo_n "(cached) " >&6
10623 lt_cv_prog_compiler_c_o
=no
10624 $RM -r conftest
2>/dev
/null
10628 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10630 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10631 # Insert the option either (1) after the last *FLAGS variable, or
10632 # (2) before a word containing "conftest.", or (3) at the end.
10633 # Note that $ac_compile itself does not contain backslashes and begins
10634 # with a dollar sign (not a hyphen), so the echo should work correctly.
10635 lt_compile
=`echo "$ac_compile" | $SED \
10636 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10637 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10638 -e 's:$: $lt_compiler_flag:'`
10639 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10640 (eval "$lt_compile" 2>out
/conftest.err
)
10642 cat out
/conftest.err
>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10646 # The compiler can only warn and ignore the option if not recognized
10647 # So say no if there are warnings
10648 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10649 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10650 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10651 lt_cv_prog_compiler_c_o
=yes
10656 # SGI C++ compiler will create directory out/ii_files/ for
10657 # template instantiation
10658 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10659 $RM out
/* && rmdir out
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10666 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10671 hard_links
=nottested
10672 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10673 # do not overwrite the value of need_locks provided by the user
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10675 $as_echo_n "checking if we can lock with hard links... " >&6; }
10678 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10680 ln conftest.a conftest.b
2>&5 || hard_links
=no
10681 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10683 $as_echo "$hard_links" >&6; }
10684 if test no
= "$hard_links"; then
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10686 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10699 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10702 allow_undefined_flag
=
10703 always_export_symbols
=no
10705 archive_expsym_cmds
=
10706 compiler_needs_object
=no
10707 enable_shared_with_static_runtimes
=no
10708 export_dynamic_flag_spec
=
10709 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10710 hardcode_automatic
=no
10712 hardcode_direct_absolute
=no
10713 hardcode_libdir_flag_spec
=
10714 hardcode_libdir_separator
=
10715 hardcode_minus_L
=no
10716 hardcode_shlibpath_var
=unsupported
10718 link_all_deplibs
=unknown
10720 module_expsym_cmds
=
10721 old_archive_from_new_cmds
=
10722 old_archive_from_expsyms_cmds
=
10723 thread_safe_flag_spec
=
10724 whole_archive_flag_spec
=
10725 # include_expsyms should be a list of space-separated symbols to be *always*
10726 # included in the symbol list
10728 # exclude_expsyms can be an extended regexp of symbols to exclude
10729 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10730 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10731 # as well as any symbol that contains 'd'.
10732 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10733 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10734 # platforms (ab)use it in PIC code, but their linkers get confused if
10735 # the symbol is explicitly referenced. Since portable code cannot
10736 # rely on this symbol name, it's probably fine to never include it in
10737 # preloaded symbol tables.
10738 # Exclude shared library initialization/finalization symbols.
10739 extract_expsyms_cmds
=
10742 cygwin
* | mingw
* | pw32
* | cegcc
*)
10743 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10744 # When not using gcc, we currently assume that we are using
10745 # Microsoft Visual C++.
10746 if test yes != "$GCC"; then
10751 # we just hope/assume this is gcc and not c89 (= MSVC++)
10754 openbsd
* | bitrig
*)
10761 # On some targets, GNU ld is compatible enough with the native linker
10762 # that we're better off using the native interface for both.
10763 lt_use_gnu_ld_interface
=no
10764 if test yes = "$with_gnu_ld"; then
10767 # The AIX port of GNU ld has always aspired to compatibility
10768 # with the native linker. However, as the warning in the GNU ld
10769 # block says, versions before 2.19.5* couldn't really create working
10770 # shared libraries, regardless of the interface used.
10771 case `$LD -v 2>&1` in
10772 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10773 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10774 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10776 lt_use_gnu_ld_interface
=yes
10781 lt_use_gnu_ld_interface
=yes
10786 if test yes = "$lt_use_gnu_ld_interface"; then
10787 # If archive_cmds runs LD, not CC, wlarc should be empty
10790 # Set some defaults for GNU ld with shared library support. These
10791 # are reset later if shared libraries are not supported. Putting them
10792 # here allows them to be overridden if necessary.
10793 runpath_var
=LD_RUN_PATH
10794 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10795 export_dynamic_flag_spec
='$wl--export-dynamic'
10796 # ancient GNU ld didn't support --whole-archive et. al.
10797 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10798 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10800 whole_archive_flag_spec
=
10802 supports_anon_versioning
=no
10803 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10804 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10805 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10806 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10807 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10808 *\
2.11.
*) ;; # other 2.11 versions
10809 *) supports_anon_versioning
=yes ;;
10812 # See if GNU ld supports shared libraries.
10815 # On AIX/PPC, the GNU linker is very broken
10816 if test ia64
!= "$host_cpu"; then
10820 *** Warning: the GNU linker, at least up to release 2.19, is reported
10821 *** to be unable to reliably create shared libraries on AIX.
10822 *** Therefore, libtool is disabling shared libraries support. If you
10823 *** really care for shared libraries, you may want to install binutils
10824 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10825 *** You will then need to restart the configuration process.
10834 # see comment about AmigaOS4 .so support
10835 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10836 archive_expsym_cmds
=''
10839 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)'
10840 hardcode_libdir_flag_spec
='-L$libdir'
10841 hardcode_minus_L
=yes
10847 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10848 allow_undefined_flag
=unsupported
10849 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10850 # support --undefined. This deserves some investigation. FIXME
10851 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10857 cygwin
* | mingw
* | pw32
* | cegcc
*)
10858 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10859 # as there is no search path for DLLs.
10860 hardcode_libdir_flag_spec
='-L$libdir'
10861 export_dynamic_flag_spec
='$wl--export-all-symbols'
10862 allow_undefined_flag
=unsupported
10863 always_export_symbols
=no
10864 enable_shared_with_static_runtimes
=yes
10865 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'
10866 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10868 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10869 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10870 # If the export-symbols file already is a .def file, use it as
10871 # is; otherwise, prepend EXPORTS...
10872 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10873 cp $export_symbols $output_objdir/$soname.def;
10875 echo EXPORTS > $output_objdir/$soname.def;
10876 cat $export_symbols >> $output_objdir/$soname.def;
10878 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10885 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10886 link_all_deplibs
=yes
10890 hardcode_libdir_flag_spec
='-L$libdir'
10891 hardcode_minus_L
=yes
10892 allow_undefined_flag
=unsupported
10894 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10895 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10896 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10897 $ECHO EXPORTS >> $output_objdir/$libname.def~
10898 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10899 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10900 emximp -o $lib $output_objdir/$libname.def'
10901 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10902 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10903 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10904 $ECHO EXPORTS >> $output_objdir/$libname.def~
10905 prefix_cmds="$SED"~
10906 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10907 prefix_cmds="$prefix_cmds -e 1d";
10909 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10910 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10911 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10912 emximp -o $lib $output_objdir/$libname.def'
10913 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10914 enable_shared_with_static_runtimes
=yes
10919 hardcode_shlibpath_var
=no
10920 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10921 export_dynamic_flag_spec
='$wl-E'
10922 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10923 # Instead, shared libraries are loaded at an image base (0x10000000 by
10924 # default) and relocated if they conflict, which is a slow very memory
10925 # consuming and fragmenting process. To avoid this, we pick a random,
10926 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10927 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10928 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10929 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'
10932 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10934 if test linux-dietlibc
= "$host_os"; then
10935 case $cc_basename in
10936 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10939 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10940 && test no
= "$tmp_diet"
10942 tmp_addflag
=' $pic_flag'
10943 tmp_sharedflag
='-shared'
10944 case $cc_basename,$host_cpu in
10945 pgcc
*) # Portland Group C compiler
10946 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'
10947 tmp_addflag
=' $pic_flag'
10949 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10950 # Portland Group f77 and f90 compilers
10951 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'
10952 tmp_addflag
=' $pic_flag -Mnomain' ;;
10953 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10954 tmp_addflag
=' -i_dynamic' ;;
10955 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10956 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10957 ifc
* | ifort
*) # Intel Fortran compiler
10958 tmp_addflag
=' -nofor_main' ;;
10959 lf95
*) # Lahey Fortran 8.1
10960 whole_archive_flag_spec
=
10961 tmp_sharedflag
='--shared' ;;
10962 nagfor
*) # NAGFOR 5.3
10963 tmp_sharedflag
='-Wl,-shared' ;;
10964 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10965 tmp_sharedflag
='-qmkshrobj'
10967 nvcc
*) # Cuda Compiler Driver 2.2
10968 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'
10969 compiler_needs_object
=yes
10972 case `$CC -V 2>&1 | sed 5q` in
10973 *Sun\ C
*) # Sun C 5.9
10974 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'
10975 compiler_needs_object
=yes
10976 tmp_sharedflag
='-G' ;;
10977 *Sun\ F
*) # Sun Fortran 8.3
10978 tmp_sharedflag
='-G' ;;
10980 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10982 if test yes = "$supports_anon_versioning"; then
10983 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10984 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10985 echo "local: *; };" >> $output_objdir/$libname.ver~
10986 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10989 case $cc_basename in
10991 export_dynamic_flag_spec
='-rdynamic'
10993 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10994 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10995 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10996 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10997 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10998 if test yes = "$supports_anon_versioning"; then
10999 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11000 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11001 echo "local: *; };" >> $output_objdir/$libname.ver~
11002 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11012 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11013 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11016 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11017 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11022 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11026 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11027 *** create shared libraries on Solaris systems. Therefore, libtool
11028 *** is disabling shared libraries support. We urge you to upgrade GNU
11029 *** binutils to release 2.9.1 or newer. Another option is to modify
11030 *** your PATH or compiler configuration so that the native linker is
11031 *** used, and then restart.
11034 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11035 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11036 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11042 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11043 case `$LD -v 2>&1` in
11044 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11048 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11049 *** reliably create shared libraries on SCO systems. Therefore, libtool
11050 *** is disabling shared libraries support. We urge you to upgrade GNU
11051 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11052 *** your PATH or compiler configuration so that the native linker is
11053 *** used, and then restart.
11058 # For security reasons, it is highly recommended that you always
11059 # use absolute paths for naming shared libraries, and exclude the
11060 # DT_RUNPATH tag from executables and libraries. But doing so
11061 # requires that you compile everything twice, which is a pain.
11062 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11063 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11064 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11065 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11074 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11076 hardcode_direct
=yes
11077 hardcode_shlibpath_var
=no
11081 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11082 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11083 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11090 if test no
= "$ld_shlibs"; then
11092 hardcode_libdir_flag_spec
=
11093 export_dynamic_flag_spec
=
11094 whole_archive_flag_spec
=
11097 # PORTME fill in a description of your system's linker (not GNU ld)
11100 allow_undefined_flag
=unsupported
11101 always_export_symbols
=yes
11102 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'
11103 # Note: this linker hardcodes the directories in LIBPATH if there
11104 # are no directories specified by -L.
11105 hardcode_minus_L
=yes
11106 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11107 # Neither direct hardcoding nor static linking is supported with a
11109 hardcode_direct
=unsupported
11114 if test ia64
= "$host_cpu"; then
11115 # On IA64, the linker does run time linking by default, so we don't
11116 # have to do anything special.
11117 aix_use_runtimelinking
=no
11118 exp_sym_flag
='-Bexport'
11121 # If we're using GNU nm, then we don't want the "-C" option.
11122 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11123 # Without the "-l" option, or with the "-B" option, AIX nm treats
11124 # weak defined symbols like other global defined symbols, whereas
11125 # GNU nm marks them as "W".
11126 # While the 'weak' keyword is ignored in the Export File, we need
11127 # it in the Import File for the 'aix-soname' feature, so we have
11128 # to replace the "-B" option with "-P" for AIX nm.
11129 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11130 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'
11132 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'
11134 aix_use_runtimelinking
=no
11136 # Test if we are trying to use run time linking or normal
11137 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11138 # have runtime linking enabled, and use it for executables.
11139 # For shared libraries, we enable/disable runtime linking
11140 # depending on the kind of the shared library created -
11141 # when "with_aix_soname,aix_use_runtimelinking" is:
11142 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11143 # "aix,yes" lib.so shared, rtl:yes, for executables
11144 # lib.a static archive
11145 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11146 # lib.a(lib.so.V) shared, rtl:no, for executables
11147 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11148 # lib.a(lib.so.V) shared, rtl:no
11149 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11150 # lib.a static archive
11151 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11152 for ld_flag
in $LDFLAGS; do
11153 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11154 aix_use_runtimelinking
=yes
11158 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11159 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11160 # so we don't have lib.a shared libs to link our executables.
11161 # We have to force runtime linking in this case.
11162 aix_use_runtimelinking
=yes
11163 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11168 exp_sym_flag
='-bexport'
11169 no_entry_flag
='-bnoentry'
11172 # When large executables or shared objects are built, AIX ld can
11173 # have problems creating the table of contents. If linking a library
11174 # or program results in "error TOC overflow" add -mminimal-toc to
11175 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11176 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11179 hardcode_direct
=yes
11180 hardcode_direct_absolute
=yes
11181 hardcode_libdir_separator
=':'
11182 link_all_deplibs
=yes
11183 file_list_spec
='$wl-f,'
11184 case $with_aix_soname,$aix_use_runtimelinking in
11185 aix
,*) ;; # traditional, no import file
11186 svr4
,* |
*,yes) # use import file
11187 # The Import File defines what to hardcode.
11189 hardcode_direct_absolute
=no
11193 if test yes = "$GCC"; then
11194 case $host_os in aix4.
[012]|aix4.
[012].
*)
11195 # We only want to do this on AIX 4.2 and lower, the check
11196 # below for broken collect2 doesn't work under 4.3+
11197 collect2name
=`$CC -print-prog-name=collect2`
11198 if test -f "$collect2name" &&
11199 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11201 # We have reworked collect2
11204 # We have old collect2
11205 hardcode_direct
=unsupported
11206 # It fails to find uninstalled libraries when the uninstalled
11207 # path is not listed in the libpath. Setting hardcode_minus_L
11208 # to unsupported forces relinking
11209 hardcode_minus_L
=yes
11210 hardcode_libdir_flag_spec
='-L$libdir'
11211 hardcode_libdir_separator
=
11215 shared_flag
='-shared'
11216 if test yes = "$aix_use_runtimelinking"; then
11217 shared_flag
="$shared_flag "'$wl-G'
11219 # Need to ensure runtime linking is disabled for the traditional
11220 # shared library, or the linker may eventually find shared libraries
11221 # /with/ Import File - we do not want to mix them.
11222 shared_flag_aix
='-shared'
11223 shared_flag_svr4
='-shared $wl-G'
11226 if test ia64
= "$host_cpu"; then
11227 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11228 # chokes on -Wl,-G. The following line is correct:
11231 if test yes = "$aix_use_runtimelinking"; then
11232 shared_flag
='$wl-G'
11234 shared_flag
='$wl-bM:SRE'
11236 shared_flag_aix
='$wl-bM:SRE'
11237 shared_flag_svr4
='$wl-G'
11241 export_dynamic_flag_spec
='$wl-bexpall'
11242 # It seems that -bexpall does not export symbols beginning with
11243 # underscore (_), so it is better to generate a list of symbols to export.
11244 always_export_symbols
=yes
11245 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11246 # Warning - without using the other runtime loading flags (-brtl),
11247 # -berok will link without error, but may produce a broken library.
11248 allow_undefined_flag
='-berok'
11249 # Determine the default libpath from the value encoded in an
11250 # empty executable.
11251 if test set = "${lt_cv_aix_libpath+set}"; then
11252 aix_libpath
=$lt_cv_aix_libpath
11254 if ${lt_cv_aix_libpath_+:} false
; then :
11255 $as_echo_n "(cached) " >&6
11257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11268 if ac_fn_c_try_link
"$LINENO"; then :
11270 lt_aix_libpath_sed
='
11271 /Import File Strings/,/^$/ {
11273 s/^0 *\([^ ]*\) *$/\1/
11277 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11278 # Check for a 64-bit object if we didn't find anything.
11279 if test -z "$lt_cv_aix_libpath_"; then
11280 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11283 rm -f core conftest.err conftest.
$ac_objext \
11284 conftest
$ac_exeext conftest.
$ac_ext
11285 if test -z "$lt_cv_aix_libpath_"; then
11286 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11291 aix_libpath
=$lt_cv_aix_libpath_
11294 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11295 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
11297 if test ia64
= "$host_cpu"; then
11298 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11299 allow_undefined_flag
="-z nodefs"
11300 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"
11302 # Determine the default libpath from the value encoded in an
11303 # empty executable.
11304 if test set = "${lt_cv_aix_libpath+set}"; then
11305 aix_libpath
=$lt_cv_aix_libpath
11307 if ${lt_cv_aix_libpath_+:} false
; then :
11308 $as_echo_n "(cached) " >&6
11310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11321 if ac_fn_c_try_link
"$LINENO"; then :
11323 lt_aix_libpath_sed
='
11324 /Import File Strings/,/^$/ {
11326 s/^0 *\([^ ]*\) *$/\1/
11330 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11331 # Check for a 64-bit object if we didn't find anything.
11332 if test -z "$lt_cv_aix_libpath_"; then
11333 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11336 rm -f core conftest.err conftest.
$ac_objext \
11337 conftest
$ac_exeext conftest.
$ac_ext
11338 if test -z "$lt_cv_aix_libpath_"; then
11339 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11344 aix_libpath
=$lt_cv_aix_libpath_
11347 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11348 # Warning - without using the other run time loading flags,
11349 # -berok will link without error, but may produce a broken library.
11350 no_undefined_flag
=' $wl-bernotok'
11351 allow_undefined_flag
=' $wl-berok'
11352 if test yes = "$with_gnu_ld"; then
11353 # We only use this code for GNU lds that support --whole-archive.
11354 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11356 # Exported symbols can be pulled into shared objects from archives
11357 whole_archive_flag_spec
='$convenience'
11359 archive_cmds_need_lc
=yes
11360 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11361 # -brtl affects multiple linker settings, -berok does not and is overridden later
11362 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11363 if test svr4
!= "$with_aix_soname"; then
11364 # This is similar to how AIX traditionally builds its shared libraries.
11365 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'
11367 if test aix
!= "$with_aix_soname"; then
11368 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'
11370 # used by -dlpreopen to get the symbols
11371 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11373 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11381 # see comment about AmigaOS4 .so support
11382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11383 archive_expsym_cmds
=''
11386 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)'
11387 hardcode_libdir_flag_spec
='-L$libdir'
11388 hardcode_minus_L
=yes
11394 export_dynamic_flag_spec
=-rdynamic
11397 cygwin
* | mingw
* | pw32
* | cegcc
*)
11398 # When not using gcc, we currently assume that we are using
11399 # Microsoft Visual C++.
11400 # hardcode_libdir_flag_spec is actually meaningless, as there is
11401 # no search path for DLLs.
11402 case $cc_basename in
11405 hardcode_libdir_flag_spec
=' '
11406 allow_undefined_flag
=unsupported
11407 always_export_symbols
=yes
11409 # Tell ltmain to make .lib files, not .a files.
11411 # Tell ltmain to make .dll files, not .so files.
11413 # FIXME: Setting linknames here is a bad hack.
11414 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11415 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11416 cp "$export_symbols" "$output_objdir/$soname.def";
11417 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11419 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11421 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11423 # The linker will not automatically build a static lib if we build a DLL.
11424 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11425 enable_shared_with_static_runtimes
=yes
11426 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11427 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11429 old_postinstall_cmds
='chmod 644 $oldlib'
11430 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11431 lt_tool_outputfile="@TOOL_OUTPUT@"~
11432 case $lt_outputfile in
11435 lt_outputfile=$lt_outputfile.exe
11436 lt_tool_outputfile=$lt_tool_outputfile.exe
11439 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11440 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11441 $RM "$lt_outputfile.manifest";
11445 # Assume MSVC wrapper
11446 hardcode_libdir_flag_spec
=' '
11447 allow_undefined_flag
=unsupported
11448 # Tell ltmain to make .lib files, not .a files.
11450 # Tell ltmain to make .dll files, not .so files.
11452 # FIXME: Setting linknames here is a bad hack.
11453 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11454 # The linker will automatically build a .lib file if we build a DLL.
11455 old_archive_from_new_cmds
='true'
11456 # FIXME: Should let the user specify the lib program.
11457 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11458 enable_shared_with_static_runtimes
=yes
11463 darwin
* | rhapsody
*)
11466 archive_cmds_need_lc
=no
11468 hardcode_automatic
=yes
11469 hardcode_shlibpath_var
=unsupported
11470 if test yes = "$lt_cv_ld_force_load"; then
11471 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\"`'
11474 whole_archive_flag_spec
=''
11476 link_all_deplibs
=yes
11477 allow_undefined_flag
=$_lt_dar_allow_undefined
11478 case $cc_basename in
11479 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11480 *) _lt_dar_can_shared
=$GCC ;;
11482 if test yes = "$_lt_dar_can_shared"; then
11483 output_verbose_link_cmd
=func_echo_all
11484 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11485 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11486 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"
11487 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"
11496 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11497 hardcode_libdir_flag_spec
='-L$libdir'
11498 hardcode_shlibpath_var
=no
11501 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11502 # support. Future versions do this automatically, but an explicit c++rt0.o
11503 # does not break anything, and helps significantly (at the cost of a little
11506 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11507 hardcode_libdir_flag_spec
='-R$libdir'
11508 hardcode_direct
=yes
11509 hardcode_shlibpath_var
=no
11512 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11514 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11515 hardcode_direct
=yes
11516 hardcode_minus_L
=yes
11517 hardcode_shlibpath_var
=no
11520 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11521 freebsd
* | dragonfly
*)
11522 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11523 hardcode_libdir_flag_spec
='-R$libdir'
11524 hardcode_direct
=yes
11525 hardcode_shlibpath_var
=no
11529 if test yes = "$GCC"; then
11530 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'
11532 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'
11534 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11535 hardcode_libdir_separator
=:
11536 hardcode_direct
=yes
11538 # hardcode_minus_L: Not really in the search PATH,
11539 # but as the default location of the library.
11540 hardcode_minus_L
=yes
11541 export_dynamic_flag_spec
='$wl-E'
11545 if test yes,no
= "$GCC,$with_gnu_ld"; then
11546 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11548 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11550 if test no
= "$with_gnu_ld"; then
11551 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11552 hardcode_libdir_separator
=:
11553 hardcode_direct
=yes
11554 hardcode_direct_absolute
=yes
11555 export_dynamic_flag_spec
='$wl-E'
11556 # hardcode_minus_L: Not really in the search PATH,
11557 # but as the default location of the library.
11558 hardcode_minus_L
=yes
11563 if test yes,no
= "$GCC,$with_gnu_ld"; then
11566 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11569 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11572 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11578 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11581 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11585 # Older versions of the 11.00 compiler do not understand -b yet
11586 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11588 $as_echo_n "checking if $CC understands -b... " >&6; }
11589 if ${lt_cv_prog_compiler__b+:} false
; then :
11590 $as_echo_n "(cached) " >&6
11592 lt_cv_prog_compiler__b
=no
11593 save_LDFLAGS
=$LDFLAGS
11594 LDFLAGS
="$LDFLAGS -b"
11595 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11596 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11597 # The linker can only warn and ignore the option if not recognized
11598 # So say no if there are warnings
11599 if test -s conftest.err
; then
11600 # Append any errors to the config.log.
11601 cat conftest.err
1>&5
11602 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11603 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11604 if diff conftest.exp conftest.er2
>/dev
/null
; then
11605 lt_cv_prog_compiler__b
=yes
11608 lt_cv_prog_compiler__b
=yes
11612 LDFLAGS
=$save_LDFLAGS
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11616 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11618 if test yes = "$lt_cv_prog_compiler__b"; then
11619 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11621 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11627 if test no
= "$with_gnu_ld"; then
11628 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11629 hardcode_libdir_separator
=:
11634 hardcode_shlibpath_var
=no
11637 hardcode_direct
=yes
11638 hardcode_direct_absolute
=yes
11639 export_dynamic_flag_spec
='$wl-E'
11641 # hardcode_minus_L: Not really in the search PATH,
11642 # but as the default location of the library.
11643 hardcode_minus_L
=yes
11649 irix5
* | irix6
* | nonstopux
*)
11650 if test yes = "$GCC"; then
11651 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'
11652 # Try to use the -exported_symbol ld option, if it does not
11653 # work, assume that -exports_file does not work either and
11654 # implicitly export all symbols.
11655 # This should be the same for all languages, so no per-tag cache variable.
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11657 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11658 if ${lt_cv_irix_exported_symbol+:} false
; then :
11659 $as_echo_n "(cached) " >&6
11661 save_LDFLAGS
=$LDFLAGS
11662 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11665 int foo (void) { return 0; }
11667 if ac_fn_c_try_link
"$LINENO"; then :
11668 lt_cv_irix_exported_symbol
=yes
11670 lt_cv_irix_exported_symbol
=no
11672 rm -f core conftest.err conftest.
$ac_objext \
11673 conftest
$ac_exeext conftest.
$ac_ext
11674 LDFLAGS
=$save_LDFLAGS
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11677 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11678 if test yes = "$lt_cv_irix_exported_symbol"; then
11679 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'
11682 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'
11683 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'
11685 archive_cmds_need_lc
='no'
11686 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11687 hardcode_libdir_separator
=:
11689 link_all_deplibs
=yes
11693 case $cc_basename in
11695 # Fabrice Bellard et al's Tiny C Compiler
11697 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11703 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11704 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11706 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11708 hardcode_libdir_flag_spec
='-R$libdir'
11709 hardcode_direct
=yes
11710 hardcode_shlibpath_var
=no
11714 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11715 hardcode_direct
=yes
11716 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11717 hardcode_libdir_separator
=:
11718 hardcode_shlibpath_var
=no
11724 openbsd
* | bitrig
*)
11725 if test -f /usr
/libexec
/ld.so
; then
11726 hardcode_direct
=yes
11727 hardcode_shlibpath_var
=no
11728 hardcode_direct_absolute
=yes
11729 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11730 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11731 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11732 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11733 export_dynamic_flag_spec
='$wl-E'
11735 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11736 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11744 hardcode_libdir_flag_spec
='-L$libdir'
11745 hardcode_minus_L
=yes
11746 allow_undefined_flag
=unsupported
11748 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11749 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11750 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11751 $ECHO EXPORTS >> $output_objdir/$libname.def~
11752 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11753 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11754 emximp -o $lib $output_objdir/$libname.def'
11755 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11756 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11757 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11758 $ECHO EXPORTS >> $output_objdir/$libname.def~
11759 prefix_cmds="$SED"~
11760 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11761 prefix_cmds="$prefix_cmds -e 1d";
11763 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11764 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11765 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11766 emximp -o $lib $output_objdir/$libname.def'
11767 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11768 enable_shared_with_static_runtimes
=yes
11772 if test yes = "$GCC"; then
11773 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11774 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'
11776 allow_undefined_flag
=' -expect_unresolved \*'
11777 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'
11779 archive_cmds_need_lc
='no'
11780 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11781 hardcode_libdir_separator
=:
11784 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11785 if test yes = "$GCC"; then
11786 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11787 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'
11788 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11790 allow_undefined_flag
=' -expect_unresolved \*'
11791 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'
11792 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~
11793 $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'
11795 # Both c and cxx compiler support -rpath directly
11796 hardcode_libdir_flag_spec
='-rpath $libdir'
11798 archive_cmds_need_lc
='no'
11799 hardcode_libdir_separator
=:
11803 no_undefined_flag
=' -z defs'
11804 if test yes = "$GCC"; then
11806 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11807 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11808 $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'
11810 case `$CC -V 2>&1` in
11813 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11814 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11815 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11819 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11820 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11821 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11825 hardcode_libdir_flag_spec
='-R$libdir'
11826 hardcode_shlibpath_var
=no
11828 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11830 # The compiler driver will combine and reorder linker options,
11831 # but understands '-z linker_flag'. GCC discards it without '$wl',
11832 # but is careful enough not to reorder.
11833 # Supported since Solaris 2.6 (maybe 2.5.1?)
11834 if test yes = "$GCC"; then
11835 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11837 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11841 link_all_deplibs
=yes
11845 if test sequent
= "$host_vendor"; then
11846 # Use $CC to link under sequent, because it throws in some extra .o
11847 # files that make .init and .fini sections work.
11848 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11850 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11852 hardcode_libdir_flag_spec
='-L$libdir'
11853 hardcode_direct
=yes
11854 hardcode_minus_L
=yes
11855 hardcode_shlibpath_var
=no
11859 case $host_vendor in
11861 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11862 hardcode_direct
=yes # is this really true???
11865 ## LD is ld it makes a PLAMLIB
11866 ## CC just makes a GrossModule.
11867 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11868 reload_cmds
='$CC -r -o $output$reload_objs'
11872 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11873 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11876 runpath_var
='LD_RUN_PATH'
11877 hardcode_shlibpath_var
=no
11881 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11882 hardcode_shlibpath_var
=no
11883 export_dynamic_flag_spec
='-Bexport'
11887 if test -d /usr
/nec
; then
11888 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11889 hardcode_shlibpath_var
=no
11890 runpath_var
=LD_RUN_PATH
11891 hardcode_runpath_var
=yes
11896 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11897 no_undefined_flag
='$wl-z,text'
11898 archive_cmds_need_lc
=no
11899 hardcode_shlibpath_var
=no
11900 runpath_var
='LD_RUN_PATH'
11902 if test yes = "$GCC"; then
11903 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11904 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11906 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11907 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11911 sysv5
* | sco3.2v5
* | sco5v6
*)
11912 # Note: We CANNOT use -z defs as we might desire, because we do not
11913 # link with -lc, and that would cause any symbols used from libc to
11914 # always be unresolved, which means just about no library would
11915 # ever link correctly. If we're not using GNU ld we use -z text
11916 # though, which does catch some bad symbols but isn't as heavy-handed
11918 no_undefined_flag
='$wl-z,text'
11919 allow_undefined_flag
='$wl-z,nodefs'
11920 archive_cmds_need_lc
=no
11921 hardcode_shlibpath_var
=no
11922 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11923 hardcode_libdir_separator
=':'
11924 link_all_deplibs
=yes
11925 export_dynamic_flag_spec
='$wl-Bexport'
11926 runpath_var
='LD_RUN_PATH'
11928 if test yes = "$GCC"; then
11929 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11930 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11932 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11933 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11938 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11939 hardcode_libdir_flag_spec
='-L$libdir'
11940 hardcode_shlibpath_var
=no
11948 if test sni
= "$host_vendor"; then
11950 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11951 export_dynamic_flag_spec
='$wl-Blargedynsym'
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11958 $as_echo "$ld_shlibs" >&6; }
11959 test no
= "$ld_shlibs" && can_build_shared
=no
11961 with_gnu_ld
=$with_gnu_ld
11978 # Do we need to explicitly link libc?
11980 case "x$archive_cmds_need_lc" in
11982 # Assume -lc should be added
11983 archive_cmds_need_lc
=yes
11985 if test yes,yes = "$GCC,$enable_shared"; then
11986 case $archive_cmds in
11988 # FIXME: we may have to deal with multi-command sequences.
11991 # Test whether the compiler implicitly links with -lc since on some
11992 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11993 # to ld, don't add -lc before -lgcc.
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11995 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11996 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11997 $as_echo_n "(cached) " >&6
12000 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12003 (eval $ac_compile) 2>&5
12005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12006 test $ac_status = 0; } 2>conftest.err
; then
12009 libobjs
=conftest.
$ac_objext
12011 wl
=$lt_prog_compiler_wl
12012 pic_flag
=$lt_prog_compiler_pic
12018 lt_save_allow_undefined_flag
=$allow_undefined_flag
12019 allow_undefined_flag
=
12020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12021 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12024 test $ac_status = 0; }
12026 lt_cv_archive_cmds_need_lc
=no
12028 lt_cv_archive_cmds_need_lc
=yes
12030 allow_undefined_flag
=$lt_save_allow_undefined_flag
12032 cat conftest.err
1>&5
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12038 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12039 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12198 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12200 if test yes = "$GCC"; then
12202 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12203 *) lt_awk_arg
='/^libraries:/' ;;
12206 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12207 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12209 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12210 case $lt_search_path_spec in
12212 # if the path contains ";" then we assume it to be the separator
12213 # otherwise default to the standard path separator (i.e. ":") - it is
12214 # assumed that no part of a normal pathname contains ";" but that should
12215 # okay in the real world where ";" in dirpaths is itself problematic.
12216 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12219 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12222 # Ok, now we have the path, separated by spaces, we can step through it
12223 # and add multilib dir if necessary...
12224 lt_tmp_lt_search_path_spec
=
12225 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12226 # ...but if some path component already ends with the multilib dir we assume
12227 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12228 case "$lt_multi_os_dir; $lt_search_path_spec " in
12229 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12233 for lt_sys_path
in $lt_search_path_spec; do
12234 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12235 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12236 elif test -n "$lt_multi_os_dir"; then
12237 test -d "$lt_sys_path" && \
12238 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12241 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12242 BEGIN {RS = " "; FS = "/|\n";} {
12245 for (lt_i = NF; lt_i > 0; lt_i--) {
12246 if ($lt_i != "" && $lt_i != ".") {
12247 if ($lt_i == "..") {
12250 if (lt_count == 0) {
12251 lt_foo = "/" $lt_i lt_foo;
12258 if (lt_foo != "") { lt_freq[lt_foo]++; }
12259 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12261 # AWK program above erroneously prepends '/' to C:/dos/paths
12264 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12265 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12267 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12269 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12271 library_names_spec
=
12272 libname_spec
='lib$name'
12276 postuninstall_cmds
=
12280 shlibpath_overrides_runpath
=unknown
12282 dynamic_linker
="$host_os ld.so"
12283 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12284 need_lib_prefix
=unknown
12285 hardcode_into_libs
=no
12287 # when you set need_version to no, make sure it does not cause -set_version
12288 # flags to be left without arguments
12289 need_version
=unknown
12295 version_type
=linux
# correct to gnu/linux during the next big refactor
12296 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12297 shlibpath_var
=LIBPATH
12299 # AIX 3 has no versioning support, so we append a major version to the name.
12300 soname_spec
='$libname$release$shared_ext$major'
12304 version_type
=linux
# correct to gnu/linux during the next big refactor
12307 hardcode_into_libs
=yes
12308 if test ia64
= "$host_cpu"; then
12309 # AIX 5 supports IA64
12310 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12311 shlibpath_var
=LD_LIBRARY_PATH
12313 # With GCC up to 2.95.x, collect2 would create an import file
12314 # for dependence libraries. The import file would start with
12315 # the line '#! .'. This would cause the generated library to
12316 # depend on '.', always an invalid library. This was fixed in
12317 # development snapshots of GCC prior to 3.0.
12319 aix4 | aix4.
[01] | aix4.
[01].
*)
12320 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12322 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12325 can_build_shared
=no
12329 # Using Import Files as archive members, it is possible to support
12330 # filename-based versioning of shared library archives on AIX. While
12331 # this would work for both with and without runtime linking, it will
12332 # prevent static linking of such archives. So we do filename-based
12333 # shared library versioning with .so extension only, which is used
12334 # when both runtime linking and shared linking is enabled.
12335 # Unfortunately, runtime linking may impact performance, so we do
12336 # not want this to be the default eventually. Also, we use the
12337 # versioned .so libs for executables only if there is the -brtl
12338 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12339 # To allow for filename-based versioning support, we need to create
12340 # libNAME.so.V as an archive file, containing:
12341 # *) an Import File, referring to the versioned filename of the
12342 # archive as well as the shared archive member, telling the
12343 # bitwidth (32 or 64) of that shared object, and providing the
12344 # list of exported symbols of that shared object, eventually
12345 # decorated with the 'weak' keyword
12346 # *) the shared object with the F_LOADONLY flag set, to really avoid
12347 # it being seen by the linker.
12348 # At run time we better use the real file rather than another symlink,
12349 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12351 case $with_aix_soname,$aix_use_runtimelinking in
12352 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12353 # soname into executable. Probably we can add versioning support to
12354 # collect2, so additional links can be useful in future.
12355 aix
,yes) # traditional libtool
12356 dynamic_linker
='AIX unversionable lib.so'
12357 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12358 # instead of lib<name>.a to let people know that these are not
12359 # typical AIX shared libraries.
12360 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12362 aix
,no
) # traditional AIX only
12363 dynamic_linker
='AIX lib.a(lib.so.V)'
12364 # We preserve .a as extension for shared libraries through AIX4.2
12365 # and later when we are not doing run time linking.
12366 library_names_spec
='$libname$release.a $libname.a'
12367 soname_spec
='$libname$release$shared_ext$major'
12369 svr4
,*) # full svr4 only
12370 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12371 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12372 # We do not specify a path in Import Files, so LIBPATH fires.
12373 shlibpath_overrides_runpath
=yes
12375 *,yes) # both, prefer svr4
12376 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12377 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12378 # unpreferred sharedlib libNAME.a needs extra handling
12379 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"'
12380 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"'
12381 # We do not specify a path in Import Files, so LIBPATH fires.
12382 shlibpath_overrides_runpath
=yes
12384 *,no
) # both, prefer aix
12385 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12386 library_names_spec
='$libname$release.a $libname.a'
12387 soname_spec
='$libname$release$shared_ext$major'
12388 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12389 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)'
12390 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"'
12393 shlibpath_var
=LIBPATH
12400 # Since July 2007 AmigaOS4 officially supports .so libraries.
12401 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12402 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12405 library_names_spec
='$libname.ixlibrary $libname.a'
12406 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12407 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'
12413 library_names_spec
='$libname$shared_ext'
12414 dynamic_linker
="$host_os ld.so"
12415 shlibpath_var
=LIBRARY_PATH
12419 version_type
=linux
# correct to gnu/linux during the next big refactor
12421 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12422 soname_spec
='$libname$release$shared_ext$major'
12423 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12424 shlibpath_var
=LD_LIBRARY_PATH
12425 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12426 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12427 # the default ld.so.conf also contains /usr/contrib/lib and
12428 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12429 # libtool to hard-code these into programs
12432 cygwin
* | mingw
* | pw32
* | cegcc
*)
12433 version_type
=windows
12438 case $GCC,$cc_basename in
12441 library_names_spec
='$libname.dll.a'
12442 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12443 postinstall_cmds
='base_file=`basename \$file`~
12444 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12445 dldir=$destdir/`dirname \$dlpath`~
12446 test -d \$dldir || mkdir -p \$dldir~
12447 $install_prog $dir/$dlname \$dldir/$dlname~
12448 chmod a+x \$dldir/$dlname~
12449 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12450 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12452 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12453 dlpath=$dir/\$dldll~
12455 shlibpath_overrides_runpath
=yes
12459 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12460 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12462 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12465 # MinGW DLLs use traditional 'lib' prefix
12466 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12469 # pw32 DLLs use 'pw' prefix rather than 'lib'
12470 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12473 dynamic_linker
='Win32 ld.exe'
12478 libname_spec
='$name'
12479 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12480 library_names_spec
='$libname.dll.lib'
12484 sys_lib_search_path_spec
=
12487 for lt_path
in $LIB
12490 # Let DOS variable expansion print the short 8.3 style file name.
12491 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12492 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12495 # Convert to MSYS style.
12496 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12499 # Convert to unix form, then to dos form, then back to unix form
12500 # but this time dos style (no spaces!) so that the unix form looks
12501 # like /cygdrive/c/PROGRA~1:/cygdr...
12502 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12503 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12504 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12507 sys_lib_search_path_spec
=$LIB
12508 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12509 # It is most probably a Windows format PATH.
12510 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12512 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12514 # FIXME: find the short name or the path components, as spaces are
12515 # common. (e.g. "Program Files" -> "PROGRA~1")
12519 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12520 postinstall_cmds
='base_file=`basename \$file`~
12521 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12522 dldir=$destdir/`dirname \$dlpath`~
12523 test -d \$dldir || mkdir -p \$dldir~
12524 $install_prog $dir/$dlname \$dldir/$dlname'
12525 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12526 dlpath=$dir/\$dldll~
12528 shlibpath_overrides_runpath
=yes
12529 dynamic_linker
='Win32 link.exe'
12533 # Assume MSVC wrapper
12534 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12535 dynamic_linker
='Win32 ld.exe'
12538 # FIXME: first we should search . and the directory the executable is in
12542 darwin
* | rhapsody
*)
12543 dynamic_linker
="$host_os dyld"
12544 version_type
=darwin
12547 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12548 soname_spec
='$libname$release$major$shared_ext'
12549 shlibpath_overrides_runpath
=yes
12550 shlibpath_var
=DYLD_LIBRARY_PATH
12551 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12553 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12554 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12558 version_type
=linux
# correct to gnu/linux during the next big refactor
12561 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12562 soname_spec
='$libname$release$shared_ext$major'
12563 shlibpath_var
=LD_LIBRARY_PATH
12566 freebsd
* | dragonfly
*)
12567 # DragonFly does not have aout. When/if they implement a new
12568 # versioning mechanism, adjust this.
12569 if test -x /usr
/bin
/objformat
; then
12570 objformat
=`/usr/bin/objformat`
12573 freebsd
[23].
*) objformat
=aout
;;
12574 *) objformat
=elf
;;
12577 version_type
=freebsd-
$objformat
12578 case $version_type in
12580 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12581 soname_spec
='$libname$release$shared_ext$major'
12586 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12590 shlibpath_var
=LD_LIBRARY_PATH
12593 shlibpath_overrides_runpath
=yes
12595 freebsd3.
[01]* | freebsdelf3.
[01]*)
12596 shlibpath_overrides_runpath
=yes
12597 hardcode_into_libs
=yes
12599 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12600 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12601 shlibpath_overrides_runpath
=no
12602 hardcode_into_libs
=yes
12604 *) # from 4.6 on, and DragonFly
12605 shlibpath_overrides_runpath
=yes
12606 hardcode_into_libs
=yes
12612 version_type
=linux
# correct to gnu/linux during the next big refactor
12615 dynamic_linker
="$host_os runtime_loader"
12616 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12617 soname_spec
='$libname$release$shared_ext$major'
12618 shlibpath_var
=LIBRARY_PATH
12619 shlibpath_overrides_runpath
=no
12620 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12621 hardcode_into_libs
=yes
12624 hpux9
* | hpux10
* | hpux11
*)
12625 # Give a soname corresponding to the major version so that dld.sl refuses to
12626 # link against other versions.
12633 hardcode_into_libs
=yes
12634 dynamic_linker
="$host_os dld.so"
12635 shlibpath_var
=LD_LIBRARY_PATH
12636 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12637 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12638 soname_spec
='$libname$release$shared_ext$major'
12639 if test 32 = "$HPUX_IA64_MODE"; then
12640 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12641 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12643 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12644 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12649 hardcode_into_libs
=yes
12650 dynamic_linker
="$host_os dld.sl"
12651 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12652 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12653 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12654 soname_spec
='$libname$release$shared_ext$major'
12655 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12656 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12660 dynamic_linker
="$host_os dld.sl"
12661 shlibpath_var
=SHLIB_PATH
12662 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12663 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12664 soname_spec
='$libname$release$shared_ext$major'
12667 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12668 postinstall_cmds
='chmod 555 $lib'
12669 # or fails outright, so override atomically:
12670 install_override_mode
=555
12674 version_type
=linux
# correct to gnu/linux during the next big refactor
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'
12679 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12680 shlibpath_var
=LD_LIBRARY_PATH
12681 shlibpath_overrides_runpath
=no
12682 hardcode_into_libs
=yes
12685 irix5
* | irix6
* | nonstopux
*)
12687 nonstopux
*) version_type
=nonstopux
;;
12689 if test yes = "$lt_cv_prog_gnu_ld"; then
12690 version_type
=linux
# correct to gnu/linux during the next big refactor
12697 soname_spec
='$libname$release$shared_ext$major'
12698 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12700 irix5
* | nonstopux
*)
12701 libsuff
= shlibsuff
=
12704 case $LD in # libtool.m4 will add one of these switches to LD
12705 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12706 libsuff
= shlibsuff
= libmagic
=32-bit;;
12707 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12708 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12709 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12710 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12711 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12715 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12716 shlibpath_overrides_runpath
=no
12717 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12718 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12719 hardcode_into_libs
=yes
12722 # No shared lib support for Linux oldld, aout, or coff.
12723 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12728 version_type
=none
# Android doesn't support versioned libraries.
12731 library_names_spec
='$libname$release$shared_ext'
12732 soname_spec
='$libname$release$shared_ext'
12734 shlibpath_var
=LD_LIBRARY_PATH
12735 shlibpath_overrides_runpath
=yes
12737 # This implies no fast_install, which is unacceptable.
12738 # Some rework will be needed to allow for fast_install
12739 # before this can be enabled.
12740 hardcode_into_libs
=yes
12742 dynamic_linker
='Android linker'
12743 # Don't embed -rpath directories since the linker doesn't support them.
12744 hardcode_libdir_flag_spec
='-L$libdir'
12747 # This must be glibc/ELF.
12748 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12749 version_type
=linux
# correct to gnu/linux during the next big refactor
12752 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12753 soname_spec
='$libname$release$shared_ext$major'
12754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12755 shlibpath_var
=LD_LIBRARY_PATH
12756 shlibpath_overrides_runpath
=no
12758 # Some binutils ld are patched to set DT_RUNPATH
12759 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12760 $as_echo_n "(cached) " >&6
12762 lt_cv_shlibpath_overrides_runpath
=no
12763 save_LDFLAGS
=$LDFLAGS
12764 save_libdir
=$libdir
12765 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12766 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12778 if ac_fn_c_try_link
"$LINENO"; then :
12779 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12780 lt_cv_shlibpath_overrides_runpath
=yes
12783 rm -f core conftest.err conftest.
$ac_objext \
12784 conftest
$ac_exeext conftest.
$ac_ext
12785 LDFLAGS
=$save_LDFLAGS
12786 libdir
=$save_libdir
12790 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12792 # This implies no fast_install, which is unacceptable.
12793 # Some rework will be needed to allow for fast_install
12794 # before this can be enabled.
12795 hardcode_into_libs
=yes
12797 # Ideally, we could use ldconfig to report *all* directores which are
12798 # searched for libraries, however this is still not possible. Aside from not
12799 # being certain /sbin/ldconfig is available, command
12800 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12801 # even though it is searched at run-time. Try to do the best guess by
12802 # appending ld.so.conf contents (and includes) to the search path.
12803 if test -f /etc
/ld.so.conf
; then
12804 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' ' '`
12805 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12808 # We used to test for /lib/ld.so.1 and disable shared libraries on
12809 # powerpc, because MkLinux only supported shared libraries with the
12810 # GNU dynamic linker. Since this was broken with cross compilers,
12811 # most powerpc-linux boxes support dynamic linking these days and
12812 # people can always --disable-shared, the test was removed, and we
12813 # assume the GNU/Linux dynamic linker is in use.
12814 dynamic_linker
='GNU/Linux ld.so'
12821 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12822 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12823 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12824 dynamic_linker
='NetBSD (a.out) ld.so'
12826 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12827 soname_spec
='$libname$release$shared_ext$major'
12828 dynamic_linker
='NetBSD ld.elf_so'
12830 shlibpath_var
=LD_LIBRARY_PATH
12831 shlibpath_overrides_runpath
=yes
12832 hardcode_into_libs
=yes
12836 version_type
=linux
# correct to gnu/linux during the next big refactor
12837 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12838 shlibpath_var
=LD_LIBRARY_PATH
12839 shlibpath_overrides_runpath
=yes
12846 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12847 soname_spec
='$libname$release$shared_ext$major'
12848 shlibpath_var
=LD_LIBRARY_PATH
12849 shlibpath_overrides_runpath
=no
12850 hardcode_into_libs
=yes
12851 dynamic_linker
='ldqnx.so'
12854 openbsd
* | bitrig
*)
12856 sys_lib_dlsearch_path_spec
=/usr
/lib
12858 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12863 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12864 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12865 shlibpath_var
=LD_LIBRARY_PATH
12866 shlibpath_overrides_runpath
=yes
12870 libname_spec
='$name'
12871 version_type
=windows
12875 # OS/2 can only load a DLL with a base name of 8 characters or less.
12876 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12877 v=$($ECHO $release$versuffix | tr -d .-);
12878 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12879 $ECHO $n$v`$shared_ext'
12880 library_names_spec
='${libname}_dll.$libext'
12881 dynamic_linker
='OS/2 ld.exe'
12882 shlibpath_var
=BEGINLIBPATH
12883 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12884 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12885 postinstall_cmds
='base_file=`basename \$file`~
12886 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12887 dldir=$destdir/`dirname \$dlpath`~
12888 test -d \$dldir || mkdir -p \$dldir~
12889 $install_prog $dir/$dlname \$dldir/$dlname~
12890 chmod a+x \$dldir/$dlname~
12891 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12892 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12894 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12895 dlpath=$dir/\$dldll~
12899 osf3
* | osf4
* | osf5
*)
12903 soname_spec
='$libname$release$shared_ext$major'
12904 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12905 shlibpath_var
=LD_LIBRARY_PATH
12906 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12915 version_type
=linux
# correct to gnu/linux during the next big refactor
12918 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12919 soname_spec
='$libname$release$shared_ext$major'
12920 shlibpath_var
=LD_LIBRARY_PATH
12921 shlibpath_overrides_runpath
=yes
12922 hardcode_into_libs
=yes
12923 # ldd complains unless libraries are executable
12924 postinstall_cmds
='chmod +x $lib'
12929 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12930 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12931 shlibpath_var
=LD_LIBRARY_PATH
12932 shlibpath_overrides_runpath
=yes
12933 if test yes = "$with_gnu_ld"; then
12940 version_type
=linux
# correct to gnu/linux during the next big refactor
12941 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12942 soname_spec
='$libname$release$shared_ext$major'
12943 shlibpath_var
=LD_LIBRARY_PATH
12944 case $host_vendor in
12946 shlibpath_overrides_runpath
=no
12948 runpath_var
=LD_RUN_PATH
12956 shlibpath_overrides_runpath
=no
12957 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12963 if test -d /usr
/nec
; then
12964 version_type
=linux
# correct to gnu/linux during the next big refactor
12965 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12966 soname_spec
='$libname$shared_ext.$major'
12967 shlibpath_var
=LD_LIBRARY_PATH
12971 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12975 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12976 soname_spec
='$libname$release$shared_ext$major'
12977 shlibpath_var
=LD_LIBRARY_PATH
12978 shlibpath_overrides_runpath
=yes
12979 hardcode_into_libs
=yes
12980 if test yes = "$with_gnu_ld"; then
12981 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12983 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12986 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12990 sys_lib_dlsearch_path_spec
='/usr/lib'
12994 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12995 version_type
=linux
# correct to gnu/linux during the next big refactor
12998 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12999 shlibpath_var
=LD_LIBRARY_PATH
13000 shlibpath_overrides_runpath
=no
13001 hardcode_into_libs
=yes
13005 version_type
=linux
# correct to gnu/linux during the next big refactor
13006 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13007 soname_spec
='$libname$release$shared_ext$major'
13008 shlibpath_var
=LD_LIBRARY_PATH
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13016 $as_echo "$dynamic_linker" >&6; }
13017 test no
= "$dynamic_linker" && can_build_shared
=no
13019 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13020 if test yes = "$GCC"; then
13021 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13024 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13025 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13028 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13029 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13032 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13033 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
13035 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13036 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13038 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13039 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13138 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13140 if test -n "$hardcode_libdir_flag_spec" ||
13141 test -n "$runpath_var" ||
13142 test yes = "$hardcode_automatic"; then
13144 # We can hardcode non-existent directories.
13145 if test no
!= "$hardcode_direct" &&
13146 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13147 # have to relink, otherwise we might link with an installed library
13148 # when we should be linking with a yet-to-be-installed one
13149 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13150 test no
!= "$hardcode_minus_L"; then
13151 # Linking always hardcodes the temporary library directory.
13152 hardcode_action
=relink
13154 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13155 hardcode_action
=immediate
13158 # We cannot hardcode anything, or else we can only hardcode existing
13160 hardcode_action
=unsupported
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13163 $as_echo "$hardcode_action" >&6; }
13165 if test relink
= "$hardcode_action" ||
13166 test yes = "$inherit_rpath"; then
13167 # Fast installation is not supported
13168 enable_fast_install
=no
13169 elif test yes = "$shlibpath_overrides_runpath" ||
13170 test no
= "$enable_shared"; then
13171 # Fast installation is not necessary
13172 enable_fast_install
=needless
13180 if test yes != "$enable_dlopen"; then
13181 enable_dlopen
=unknown
13182 enable_dlopen_self
=unknown
13183 enable_dlopen_self_static
=unknown
13190 lt_cv_dlopen
=load_add_on
13192 lt_cv_dlopen_self
=yes
13195 mingw
* | pw32
* | cegcc
*)
13196 lt_cv_dlopen
=LoadLibrary
13201 lt_cv_dlopen
=dlopen
13206 # if libdl is installed we need to link against it
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13208 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13209 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13210 $as_echo_n "(cached) " >&6
13212 ac_check_lib_save_LIBS
=$LIBS
13214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13215 /* end confdefs.h. */
13217 /* Override any GCC internal prototype to avoid an error.
13218 Use char because int might match the return type of a GCC
13219 builtin and then its argument prototype would still apply. */
13232 if ac_fn_c_try_link
"$LINENO"; then :
13233 ac_cv_lib_dl_dlopen
=yes
13235 ac_cv_lib_dl_dlopen
=no
13237 rm -f core conftest.err conftest.
$ac_objext \
13238 conftest
$ac_exeext conftest.
$ac_ext
13239 LIBS
=$ac_check_lib_save_LIBS
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13242 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13243 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13244 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13249 lt_cv_dlopen_self
=yes
13256 # Don't try to run any link tests for TPF. We know it's impossible
13257 # because TPF is a cross-compiler, and we know how we open DSOs.
13258 lt_cv_dlopen
=dlopen
13260 lt_cv_dlopen_self
=no
13264 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13265 if test "x$ac_cv_func_shl_load" = xyes
; then :
13266 lt_cv_dlopen
=shl_load
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13269 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13270 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13271 $as_echo_n "(cached) " >&6
13273 ac_check_lib_save_LIBS
=$LIBS
13275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13278 /* Override any GCC internal prototype to avoid an error.
13279 Use char because int might match the return type of a GCC
13280 builtin and then its argument prototype would still apply. */
13288 return shl_load ();
13293 if ac_fn_c_try_link
"$LINENO"; then :
13294 ac_cv_lib_dld_shl_load
=yes
13296 ac_cv_lib_dld_shl_load
=no
13298 rm -f core conftest.err conftest.
$ac_objext \
13299 conftest
$ac_exeext conftest.
$ac_ext
13300 LIBS
=$ac_check_lib_save_LIBS
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13303 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13304 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13305 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13307 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13308 if test "x$ac_cv_func_dlopen" = xyes
; then :
13309 lt_cv_dlopen
=dlopen
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13312 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13313 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13314 $as_echo_n "(cached) " >&6
13316 ac_check_lib_save_LIBS
=$LIBS
13318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13319 /* end confdefs.h. */
13321 /* Override any GCC internal prototype to avoid an error.
13322 Use char because int might match the return type of a GCC
13323 builtin and then its argument prototype would still apply. */
13336 if ac_fn_c_try_link
"$LINENO"; then :
13337 ac_cv_lib_dl_dlopen
=yes
13339 ac_cv_lib_dl_dlopen
=no
13341 rm -f core conftest.err conftest.
$ac_objext \
13342 conftest
$ac_exeext conftest.
$ac_ext
13343 LIBS
=$ac_check_lib_save_LIBS
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13346 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13347 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13348 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13351 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13352 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13353 $as_echo_n "(cached) " >&6
13355 ac_check_lib_save_LIBS
=$LIBS
13356 LIBS
="-lsvld $LIBS"
13357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13360 /* Override any GCC internal prototype to avoid an error.
13361 Use char because int might match the return type of a GCC
13362 builtin and then its argument prototype would still apply. */
13375 if ac_fn_c_try_link
"$LINENO"; then :
13376 ac_cv_lib_svld_dlopen
=yes
13378 ac_cv_lib_svld_dlopen
=no
13380 rm -f core conftest.err conftest.
$ac_objext \
13381 conftest
$ac_exeext conftest.
$ac_ext
13382 LIBS
=$ac_check_lib_save_LIBS
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13385 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13386 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13387 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13390 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13391 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13392 $as_echo_n "(cached) " >&6
13394 ac_check_lib_save_LIBS
=$LIBS
13396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13399 /* Override any GCC internal prototype to avoid an error.
13400 Use char because int might match the return type of a GCC
13401 builtin and then its argument prototype would still apply. */
13409 return dld_link ();
13414 if ac_fn_c_try_link
"$LINENO"; then :
13415 ac_cv_lib_dld_dld_link
=yes
13417 ac_cv_lib_dld_dld_link
=no
13419 rm -f core conftest.err conftest.
$ac_objext \
13420 conftest
$ac_exeext conftest.
$ac_ext
13421 LIBS
=$ac_check_lib_save_LIBS
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13424 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13425 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13426 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13447 if test no
= "$lt_cv_dlopen"; then
13453 case $lt_cv_dlopen in
13455 save_CPPFLAGS
=$CPPFLAGS
13456 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13458 save_LDFLAGS
=$LDFLAGS
13459 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13462 LIBS
="$lt_cv_dlopen_libs $LIBS"
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13465 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13466 if ${lt_cv_dlopen_self+:} false
; then :
13467 $as_echo_n "(cached) " >&6
13469 if test yes = "$cross_compiling"; then :
13470 lt_cv_dlopen_self
=cross
13472 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13473 lt_status
=$lt_dlunknown
13474 cat > conftest.
$ac_ext <<_LT_EOF
13475 #line $LINENO "configure"
13476 #include "confdefs.h"
13485 # define LT_DLGLOBAL RTLD_GLOBAL
13488 # define LT_DLGLOBAL DL_GLOBAL
13490 # define LT_DLGLOBAL 0
13494 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13495 find out it does not work in some platform. */
13496 #ifndef LT_DLLAZY_OR_NOW
13498 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13501 # define LT_DLLAZY_OR_NOW DL_LAZY
13504 # define LT_DLLAZY_OR_NOW RTLD_NOW
13507 # define LT_DLLAZY_OR_NOW DL_NOW
13509 # define LT_DLLAZY_OR_NOW 0
13516 /* When -fvisibility=hidden is used, assume the code has been annotated
13517 correspondingly for the symbols needed. */
13518 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13519 int fnord () __attribute__((visibility("default")));
13522 int fnord () { return 42; }
13525 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13526 int status = $lt_dlunknown;
13530 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13533 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13534 else puts (dlerror ());
13536 /* dlclose (self); */
13544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13545 (eval $ac_link) 2>&5
13547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13548 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13549 (.
/conftest
; exit; ) >&5 2>/dev
/null
13551 case x
$lt_status in
13552 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13553 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13554 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13557 # compilation failed
13558 lt_cv_dlopen_self
=no
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13566 $as_echo "$lt_cv_dlopen_self" >&6; }
13568 if test yes = "$lt_cv_dlopen_self"; then
13569 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13571 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13572 if ${lt_cv_dlopen_self_static+:} false
; then :
13573 $as_echo_n "(cached) " >&6
13575 if test yes = "$cross_compiling"; then :
13576 lt_cv_dlopen_self_static
=cross
13578 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13579 lt_status
=$lt_dlunknown
13580 cat > conftest.
$ac_ext <<_LT_EOF
13581 #line $LINENO "configure"
13582 #include "confdefs.h"
13591 # define LT_DLGLOBAL RTLD_GLOBAL
13594 # define LT_DLGLOBAL DL_GLOBAL
13596 # define LT_DLGLOBAL 0
13600 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13601 find out it does not work in some platform. */
13602 #ifndef LT_DLLAZY_OR_NOW
13604 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13607 # define LT_DLLAZY_OR_NOW DL_LAZY
13610 # define LT_DLLAZY_OR_NOW RTLD_NOW
13613 # define LT_DLLAZY_OR_NOW DL_NOW
13615 # define LT_DLLAZY_OR_NOW 0
13622 /* When -fvisibility=hidden is used, assume the code has been annotated
13623 correspondingly for the symbols needed. */
13624 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13625 int fnord () __attribute__((visibility("default")));
13628 int fnord () { return 42; }
13631 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13632 int status = $lt_dlunknown;
13636 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13639 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13640 else puts (dlerror ());
13642 /* dlclose (self); */
13650 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13651 (eval $ac_link) 2>&5
13653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13654 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13655 (.
/conftest
; exit; ) >&5 2>/dev
/null
13657 case x
$lt_status in
13658 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13659 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13660 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13663 # compilation failed
13664 lt_cv_dlopen_self_static
=no
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13672 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13675 CPPFLAGS
=$save_CPPFLAGS
13676 LDFLAGS
=$save_LDFLAGS
13681 case $lt_cv_dlopen_self in
13682 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13683 *) enable_dlopen_self
=unknown
;;
13686 case $lt_cv_dlopen_self_static in
13687 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13688 *) enable_dlopen_self_static
=unknown
;;
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13711 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13712 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13713 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13714 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13716 $as_echo "yes" >&6; }
13718 # FIXME - insert some real tests, host_os isn't really good enough
13721 if test -n "$STRIP"; then
13722 striplib
="$STRIP -x"
13723 old_striplib
="$STRIP -S"
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13725 $as_echo "yes" >&6; }
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 $as_echo "no" >&6; }
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13733 $as_echo "no" >&6; }
13749 # Report what library types will actually be built
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13751 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13753 $as_echo "$can_build_shared" >&6; }
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13756 $as_echo_n "checking whether to build shared libraries... " >&6; }
13757 test no
= "$can_build_shared" && enable_shared
=no
13759 # On AIX, shared libraries and static libraries use the same namespace, and
13760 # are all built from PIC.
13763 test yes = "$enable_shared" && enable_static
=no
13764 if test -n "$RANLIB"; then
13765 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13766 postinstall_cmds
='$RANLIB $lib'
13771 if test ia64
!= "$host_cpu"; then
13772 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13773 yes,aix
,yes) ;; # shared object as lib.so file only
13774 yes,svr4
,*) ;; # shared object as lib.so archive member only
13775 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13781 $as_echo "$enable_shared" >&6; }
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13784 $as_echo_n "checking whether to build static libraries... " >&6; }
13785 # Make sure either enable_shared or enable_static is yes.
13786 test yes = "$enable_shared" || enable_static
=yes
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13788 $as_echo "$enable_static" >&6; }
13795 ac_cpp
='$CPP $CPPFLAGS'
13796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13816 ac_config_commands
="$ac_config_commands libtool"
13821 # Only expand once:
13826 # Extract the first word of "ar", so it can be a program name with args.
13827 set dummy
ar; ac_word
=$2
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13829 $as_echo_n "checking for $ac_word... " >&6; }
13830 if ${ac_cv_path_AR+:} false
; then :
13831 $as_echo_n "(cached) " >&6
13835 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
13838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13839 for as_dir
in $PATH
13842 test -z "$as_dir" && as_dir
=.
13843 for ac_exec_ext
in '' $ac_executable_extensions; do
13844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13845 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
13846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13853 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
13858 if test -n "$AR"; then
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13860 $as_echo "$AR" >&6; }
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13863 $as_echo "no" >&6; }
13867 # Extract the first word of "rm", so it can be a program name with args.
13868 set dummy
rm; ac_word
=$2
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13870 $as_echo_n "checking for $ac_word... " >&6; }
13871 if ${ac_cv_path_RM+:} false
; then :
13872 $as_echo_n "(cached) " >&6
13876 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
13879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13880 for as_dir
in $PATH
13883 test -z "$as_dir" && as_dir
=.
13884 for ac_exec_ext
in '' $ac_executable_extensions; do
13885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13886 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
13887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13894 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
13899 if test -n "$RM"; then
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
13901 $as_echo "$RM" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13904 $as_echo "no" >&6; }
13908 # Extract the first word of "cp", so it can be a program name with args.
13909 set dummy
cp; ac_word
=$2
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13911 $as_echo_n "checking for $ac_word... " >&6; }
13912 if ${ac_cv_path_CP+:} false
; then :
13913 $as_echo_n "(cached) " >&6
13917 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13921 for as_dir
in $PATH
13924 test -z "$as_dir" && as_dir
=.
13925 for ac_exec_ext
in '' $ac_executable_extensions; do
13926 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13927 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13935 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
13940 if test -n "$CP"; then
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
13942 $as_echo "$CP" >&6; }
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13945 $as_echo "no" >&6; }
13949 # Extract the first word of "ln", so it can be a program name with args.
13950 set dummy
ln; ac_word
=$2
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13952 $as_echo_n "checking for $ac_word... " >&6; }
13953 if ${ac_cv_path_LN+:} false
; then :
13954 $as_echo_n "(cached) " >&6
13958 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
13961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13962 for as_dir
in $PATH
13965 test -z "$as_dir" && as_dir
=.
13966 for ac_exec_ext
in '' $ac_executable_extensions; do
13967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13968 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
13969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13976 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
13981 if test -n "$LN"; then
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
13983 $as_echo "$LN" >&6; }
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13986 $as_echo "no" >&6; }
13990 # Extract the first word of "ls", so it can be a program name with args.
13991 set dummy
ls; ac_word
=$2
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13993 $as_echo_n "checking for $ac_word... " >&6; }
13994 if ${ac_cv_path_LS+:} false
; then :
13995 $as_echo_n "(cached) " >&6
13999 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
14002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14003 for as_dir
in $PATH
14006 test -z "$as_dir" && as_dir
=.
14007 for ac_exec_ext
in '' $ac_executable_extensions; do
14008 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14009 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
14010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14017 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
14022 if test -n "$LS"; then
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
14024 $as_echo "$LS" >&6; }
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14027 $as_echo "no" >&6; }
14031 # Extract the first word of "sed", so it can be a program name with args.
14032 set dummy
sed; ac_word
=$2
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14034 $as_echo_n "checking for $ac_word... " >&6; }
14035 if ${ac_cv_path_SED+:} false
; then :
14036 $as_echo_n "(cached) " >&6
14040 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
14043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14044 for as_dir
in $PATH
14047 test -z "$as_dir" && as_dir
=.
14048 for ac_exec_ext
in '' $ac_executable_extensions; do
14049 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14050 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
14051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14058 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
14062 SED
=$ac_cv_path_SED
14063 if test -n "$SED"; then
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14065 $as_echo "$SED" >&6; }
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14068 $as_echo "no" >&6; }
14072 # Extract the first word of "make", so it can be a program name with args.
14073 set dummy
make; ac_word
=$2
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14075 $as_echo_n "checking for $ac_word... " >&6; }
14076 if ${ac_cv_path_MAKE+:} false
; then :
14077 $as_echo_n "(cached) " >&6
14081 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
14084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14085 for as_dir
in $PATH
14088 test -z "$as_dir" && as_dir
=.
14089 for ac_exec_ext
in '' $ac_executable_extensions; do
14090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14091 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
14092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14102 MAKE
=$ac_cv_path_MAKE
14103 if test -n "$MAKE"; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
14105 $as_echo "$MAKE" >&6; }
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14108 $as_echo "no" >&6; }
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14117 $as_echo_n "checking whether NLS is requested... " >&6; }
14118 # Check whether --enable-nls was given.
14119 if test "${enable_nls+set}" = set; then :
14120 enableval
=$enable_nls; USE_NLS
=$enableval
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14126 $as_echo "$USE_NLS" >&6; }
14133 # Prepare PATH_SEPARATOR.
14134 # The user is always right.
14135 if test "${PATH_SEPARATOR+set}" != set; then
14136 echo "#! /bin/sh" >conf$$.sh
14137 echo "exit 0" >>conf$$.sh
14139 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14147 # Find out how to test for executable files. Don't use a zero-byte file,
14148 # as systems may use methods other than mode bits to determine executability.
14149 cat >conf$$.
file <<_ASEOF
14153 chmod +x conf$$.
file
14154 if test -x conf$$.
file >/dev
/null
2>&1; then
14155 ac_executable_p
="test -x"
14157 ac_executable_p
="test -f"
14161 # Extract the first word of "msgfmt", so it can be a program name with args.
14162 set dummy msgfmt
; ac_word
=$2
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14164 $as_echo_n "checking for $ac_word... " >&6; }
14165 if ${ac_cv_path_MSGFMT+:} false
; then :
14166 $as_echo_n "(cached) " >&6
14170 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
14173 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14174 for ac_dir
in $PATH; do
14176 test -z "$ac_dir" && ac_dir
=.
14177 for ac_exec_ext
in '' $ac_executable_extensions; do
14178 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14179 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14180 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
14181 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
14182 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
14189 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
14193 MSGFMT
="$ac_cv_path_MSGFMT"
14194 if test "$MSGFMT" != ":"; then
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14196 $as_echo "$MSGFMT" >&6; }
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14199 $as_echo "no" >&6; }
14202 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14203 set dummy gmsgfmt
; ac_word
=$2
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14205 $as_echo_n "checking for $ac_word... " >&6; }
14206 if ${ac_cv_path_GMSGFMT+:} false
; then :
14207 $as_echo_n "(cached) " >&6
14211 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
14214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14215 for as_dir
in $PATH
14218 test -z "$as_dir" && as_dir
=.
14219 for ac_exec_ext
in '' $ac_executable_extensions; do
14220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14221 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
14222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14229 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
14233 GMSGFMT
=$ac_cv_path_GMSGFMT
14234 if test -n "$GMSGFMT"; then
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14236 $as_echo "$GMSGFMT" >&6; }
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14239 $as_echo "no" >&6; }
14244 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14245 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
14246 *) MSGFMT_015
=$MSGFMT ;;
14249 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14250 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
14251 *) GMSGFMT_015
=$GMSGFMT ;;
14256 # Prepare PATH_SEPARATOR.
14257 # The user is always right.
14258 if test "${PATH_SEPARATOR+set}" != set; then
14259 echo "#! /bin/sh" >conf$$.sh
14260 echo "exit 0" >>conf$$.sh
14262 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14270 # Find out how to test for executable files. Don't use a zero-byte file,
14271 # as systems may use methods other than mode bits to determine executability.
14272 cat >conf$$.
file <<_ASEOF
14276 chmod +x conf$$.
file
14277 if test -x conf$$.
file >/dev
/null
2>&1; then
14278 ac_executable_p
="test -x"
14280 ac_executable_p
="test -f"
14284 # Extract the first word of "xgettext", so it can be a program name with args.
14285 set dummy xgettext
; ac_word
=$2
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14287 $as_echo_n "checking for $ac_word... " >&6; }
14288 if ${ac_cv_path_XGETTEXT+:} false
; then :
14289 $as_echo_n "(cached) " >&6
14291 case "$XGETTEXT" in
14293 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
14296 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14297 for ac_dir
in $PATH; do
14299 test -z "$ac_dir" && ac_dir
=.
14300 for ac_exec_ext
in '' $ac_executable_extensions; do
14301 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14302 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14303 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
14304 (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
14305 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
14312 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
14316 XGETTEXT
="$ac_cv_path_XGETTEXT"
14317 if test "$XGETTEXT" != ":"; then
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14319 $as_echo "$XGETTEXT" >&6; }
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14322 $as_echo "no" >&6; }
14327 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14328 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
14329 *) XGETTEXT_015
=$XGETTEXT ;;
14334 # Prepare PATH_SEPARATOR.
14335 # The user is always right.
14336 if test "${PATH_SEPARATOR+set}" != set; then
14337 echo "#! /bin/sh" >conf$$.sh
14338 echo "exit 0" >>conf$$.sh
14340 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14348 # Find out how to test for executable files. Don't use a zero-byte file,
14349 # as systems may use methods other than mode bits to determine executability.
14350 cat >conf$$.
file <<_ASEOF
14354 chmod +x conf$$.
file
14355 if test -x conf$$.
file >/dev
/null
2>&1; then
14356 ac_executable_p
="test -x"
14358 ac_executable_p
="test -f"
14362 # Extract the first word of "msgmerge", so it can be a program name with args.
14363 set dummy msgmerge
; ac_word
=$2
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14365 $as_echo_n "checking for $ac_word... " >&6; }
14366 if ${ac_cv_path_MSGMERGE+:} false
; then :
14367 $as_echo_n "(cached) " >&6
14369 case "$MSGMERGE" in
14371 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
14374 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14375 for ac_dir
in $PATH; do
14377 test -z "$ac_dir" && ac_dir
=.
14378 for ac_exec_ext
in '' $ac_executable_extensions; do
14379 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14380 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14381 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
14382 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
14389 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
14393 MSGMERGE
="$ac_cv_path_MSGMERGE"
14394 if test "$MSGMERGE" != ":"; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14396 $as_echo "$MSGMERGE" >&6; }
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14399 $as_echo "no" >&6; }
14403 test -n "$localedir" || localedir
='${datadir}/locale'
14406 ac_config_commands
="$ac_config_commands po-directories"
14410 if test "X$prefix" = "XNONE"; then
14411 acl_final_prefix
="$ac_default_prefix"
14413 acl_final_prefix
="$prefix"
14415 if test "X$exec_prefix" = "XNONE"; then
14416 acl_final_exec_prefix
='${prefix}'
14418 acl_final_exec_prefix
="$exec_prefix"
14420 acl_save_prefix
="$prefix"
14421 prefix
="$acl_final_prefix"
14422 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14423 prefix
="$acl_save_prefix"
14426 # Check whether --with-gnu-ld was given.
14427 if test "${with_gnu_ld+set}" = set; then :
14428 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
14433 # Prepare PATH_SEPARATOR.
14434 # The user is always right.
14435 if test "${PATH_SEPARATOR+set}" != set; then
14436 echo "#! /bin/sh" >conf$$.sh
14437 echo "exit 0" >>conf$$.sh
14439 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14447 if test "$GCC" = yes; then
14448 # Check if gcc -print-prog-name=ld gives a path.
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14450 $as_echo_n "checking for ld used by GCC... " >&6; }
14453 # gcc leaves a trailing carriage return which upsets mingw
14454 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14456 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14459 # Accept absolute paths.
14460 [\\/]* |
[A-Za-z
]:[\\/]*)
14461 re_direlt
='/[^/][^/]*/\.\./'
14462 # Canonicalize the path of ld
14463 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14464 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
14465 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14467 test -z "$LD" && LD
="$ac_prog"
14470 # If it fails, then pretend we aren't using GCC.
14474 # If it is relative, then search for the first ld in PATH.
14475 with_gnu_ld
=unknown
14478 elif test "$with_gnu_ld" = yes; then
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14480 $as_echo_n "checking for GNU ld... " >&6; }
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14483 $as_echo_n "checking for non-GNU ld... " >&6; }
14485 if ${acl_cv_path_LD+:} false
; then :
14486 $as_echo_n "(cached) " >&6
14488 if test -z "$LD"; then
14489 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14490 for ac_dir
in $PATH; do
14491 test -z "$ac_dir" && ac_dir
=.
14492 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14493 acl_cv_path_LD
="$ac_dir/$ac_prog"
14494 # Check to see if the program is GNU ld. I'd rather use --version,
14495 # but apparently some GNU ld's only accept -v.
14496 # Break only if it was the GNU/non-GNU ld that we prefer.
14497 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14498 *GNU
* |
*'with BFD'*)
14499 test "$with_gnu_ld" != no
&& break ;;
14501 test "$with_gnu_ld" != yes && break ;;
14507 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14511 LD
="$acl_cv_path_LD"
14512 if test -n "$LD"; then
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14514 $as_echo "$LD" >&6; }
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14517 $as_echo "no" >&6; }
14519 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14521 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14522 if ${acl_cv_prog_gnu_ld+:} false
; then :
14523 $as_echo_n "(cached) " >&6
14525 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14526 case `$LD -v 2>&1 </dev/null` in
14527 *GNU
* |
*'with BFD'*)
14528 acl_cv_prog_gnu_ld
=yes ;;
14530 acl_cv_prog_gnu_ld
=no
;;
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14534 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14535 with_gnu_ld
=$acl_cv_prog_gnu_ld
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14541 $as_echo_n "checking for shared library run path origin... " >&6; }
14542 if ${acl_cv_rpath+:} false
; then :
14543 $as_echo_n "(cached) " >&6
14546 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14547 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14549 rm -f .
/conftest.sh
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14554 $as_echo "$acl_cv_rpath" >&6; }
14556 libext
="$acl_cv_libext"
14557 shlibext
="$acl_cv_shlibext"
14558 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14559 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14560 hardcode_direct
="$acl_cv_hardcode_direct"
14561 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14562 # Check whether --enable-rpath was given.
14563 if test "${enable_rpath+set}" = set; then :
14564 enableval
=$enable_rpath; :
14572 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14573 if test -n "$searchpath"; then
14574 acl_save_IFS
="${IFS= }"; IFS
=":"
14575 for searchdir
in $searchpath; do
14576 if test -d "$searchdir"; then
14577 case "$searchdir" in
14578 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
14579 *) searchdir
=`cd "$searchdir" && pwd`
14580 case "$searchdir" in
14581 */lib64
) acl_libdirstem
=lib64
;;
14586 IFS
="$acl_save_IFS"
14598 acl_save_prefix
="$prefix"
14599 prefix
="$acl_final_prefix"
14600 acl_save_exec_prefix
="$exec_prefix"
14601 exec_prefix
="$acl_final_exec_prefix"
14603 eval additional_includedir
=\"$includedir\"
14604 eval additional_libdir
=\"$libdir\"
14606 exec_prefix
="$acl_save_exec_prefix"
14607 prefix
="$acl_save_prefix"
14610 # Check whether --with-libiconv-prefix was given.
14611 if test "${with_libiconv_prefix+set}" = set; then :
14612 withval
=$with_libiconv_prefix;
14613 if test "X$withval" = "Xno"; then
14616 if test "X$withval" = "X"; then
14618 acl_save_prefix
="$prefix"
14619 prefix
="$acl_final_prefix"
14620 acl_save_exec_prefix
="$exec_prefix"
14621 exec_prefix
="$acl_final_exec_prefix"
14623 eval additional_includedir
=\"$includedir\"
14624 eval additional_libdir
=\"$libdir\"
14626 exec_prefix
="$acl_save_exec_prefix"
14627 prefix
="$acl_save_prefix"
14630 additional_includedir
="$withval/include"
14631 additional_libdir
="$withval/$acl_libdirstem"
14642 names_already_handled
=
14643 names_next_round
='iconv '
14644 while test -n "$names_next_round"; do
14645 names_this_round
="$names_next_round"
14647 for name
in $names_this_round; do
14649 for n
in $names_already_handled; do
14650 if test "$n" = "$name"; then
14651 already_handled
=yes
14655 if test -z "$already_handled"; then
14656 names_already_handled
="$names_already_handled $name"
14657 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14658 eval value
=\"\
$HAVE_LIB$uppername\"
14659 if test -n "$value"; then
14660 if test "$value" = yes; then
14661 eval value
=\"\
$LIB$uppername\"
14662 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14663 eval value
=\"\
$LTLIB$uppername\"
14664 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14673 if test $use_additional = yes; then
14674 if test -n "$shlibext" \
14675 && { test -f "$additional_libdir/lib$name.$shlibext" \
14676 ||
{ test "$shlibext" = dll \
14677 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14678 found_dir
="$additional_libdir"
14679 if test -f "$additional_libdir/lib$name.$shlibext"; then
14680 found_so
="$additional_libdir/lib$name.$shlibext"
14682 found_so
="$additional_libdir/lib$name.dll.a"
14684 if test -f "$additional_libdir/lib$name.la"; then
14685 found_la
="$additional_libdir/lib$name.la"
14688 if test -f "$additional_libdir/lib$name.$libext"; then
14689 found_dir
="$additional_libdir"
14690 found_a
="$additional_libdir/lib$name.$libext"
14691 if test -f "$additional_libdir/lib$name.la"; then
14692 found_la
="$additional_libdir/lib$name.la"
14697 if test "X$found_dir" = "X"; then
14698 for x
in $LDFLAGS $LTLIBICONV; do
14700 acl_save_prefix
="$prefix"
14701 prefix
="$acl_final_prefix"
14702 acl_save_exec_prefix
="$exec_prefix"
14703 exec_prefix
="$acl_final_exec_prefix"
14705 exec_prefix
="$acl_save_exec_prefix"
14706 prefix
="$acl_save_prefix"
14710 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14711 if test -n "$shlibext" \
14712 && { test -f "$dir/lib$name.$shlibext" \
14713 ||
{ test "$shlibext" = dll \
14714 && test -f "$dir/lib$name.dll.a"; }; }; then
14716 if test -f "$dir/lib$name.$shlibext"; then
14717 found_so
="$dir/lib$name.$shlibext"
14719 found_so
="$dir/lib$name.dll.a"
14721 if test -f "$dir/lib$name.la"; then
14722 found_la
="$dir/lib$name.la"
14725 if test -f "$dir/lib$name.$libext"; then
14727 found_a
="$dir/lib$name.$libext"
14728 if test -f "$dir/lib$name.la"; then
14729 found_la
="$dir/lib$name.la"
14735 if test "X$found_dir" != "X"; then
14740 if test "X$found_dir" != "X"; then
14741 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14742 if test "X$found_so" != "X"; then
14743 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14744 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14747 for x
in $ltrpathdirs; do
14748 if test "X$x" = "X$found_dir"; then
14753 if test -z "$haveit"; then
14754 ltrpathdirs
="$ltrpathdirs $found_dir"
14756 if test "$hardcode_direct" = yes; then
14757 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14759 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14760 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14762 for x
in $rpathdirs; do
14763 if test "X$x" = "X$found_dir"; then
14768 if test -z "$haveit"; then
14769 rpathdirs
="$rpathdirs $found_dir"
14773 for x
in $LDFLAGS $LIBICONV; do
14775 acl_save_prefix
="$prefix"
14776 prefix
="$acl_final_prefix"
14777 acl_save_exec_prefix
="$exec_prefix"
14778 exec_prefix
="$acl_final_exec_prefix"
14780 exec_prefix
="$acl_save_exec_prefix"
14781 prefix
="$acl_save_prefix"
14783 if test "X$x" = "X-L$found_dir"; then
14788 if test -z "$haveit"; then
14789 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14791 if test "$hardcode_minus_L" != no
; then
14792 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14794 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14800 if test "X$found_a" != "X"; then
14801 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14803 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14806 additional_includedir
=
14807 case "$found_dir" in
14808 */$acl_libdirstem |
*/$acl_libdirstem/)
14809 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14810 additional_includedir
="$basedir/include"
14813 if test "X$additional_includedir" != "X"; then
14814 if test "X$additional_includedir" != "X/usr/include"; then
14816 if test "X$additional_includedir" = "X/usr/local/include"; then
14817 if test -n "$GCC"; then
14819 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14823 if test -z "$haveit"; then
14824 for x
in $CPPFLAGS $INCICONV; do
14826 acl_save_prefix
="$prefix"
14827 prefix
="$acl_final_prefix"
14828 acl_save_exec_prefix
="$exec_prefix"
14829 exec_prefix
="$acl_final_exec_prefix"
14831 exec_prefix
="$acl_save_exec_prefix"
14832 prefix
="$acl_save_prefix"
14834 if test "X$x" = "X-I$additional_includedir"; then
14839 if test -z "$haveit"; then
14840 if test -d "$additional_includedir"; then
14841 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14847 if test -n "$found_la"; then
14848 save_libdir
="$libdir"
14849 case "$found_la" in
14850 */* |
*\\*) .
"$found_la" ;;
14851 *) .
"./$found_la" ;;
14853 libdir
="$save_libdir"
14854 for dep
in $dependency_libs; do
14857 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14858 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14860 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14861 if test -n "$GCC"; then
14863 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14867 if test -z "$haveit"; then
14869 for x
in $LDFLAGS $LIBICONV; do
14871 acl_save_prefix
="$prefix"
14872 prefix
="$acl_final_prefix"
14873 acl_save_exec_prefix
="$exec_prefix"
14874 exec_prefix
="$acl_final_exec_prefix"
14876 exec_prefix
="$acl_save_exec_prefix"
14877 prefix
="$acl_save_prefix"
14879 if test "X$x" = "X-L$additional_libdir"; then
14884 if test -z "$haveit"; then
14885 if test -d "$additional_libdir"; then
14886 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14890 for x
in $LDFLAGS $LTLIBICONV; do
14892 acl_save_prefix
="$prefix"
14893 prefix
="$acl_final_prefix"
14894 acl_save_exec_prefix
="$exec_prefix"
14895 exec_prefix
="$acl_final_exec_prefix"
14897 exec_prefix
="$acl_save_exec_prefix"
14898 prefix
="$acl_save_prefix"
14900 if test "X$x" = "X-L$additional_libdir"; then
14905 if test -z "$haveit"; then
14906 if test -d "$additional_libdir"; then
14907 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14914 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14915 if test "$enable_rpath" != no
; then
14917 for x
in $rpathdirs; do
14918 if test "X$x" = "X$dir"; then
14923 if test -z "$haveit"; then
14924 rpathdirs
="$rpathdirs $dir"
14927 for x
in $ltrpathdirs; do
14928 if test "X$x" = "X$dir"; then
14933 if test -z "$haveit"; then
14934 ltrpathdirs
="$ltrpathdirs $dir"
14939 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14942 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14945 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14946 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14952 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14953 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14959 if test "X$rpathdirs" != "X"; then
14960 if test -n "$hardcode_libdir_separator"; then
14962 for found_dir
in $rpathdirs; do
14963 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14965 acl_save_libdir
="$libdir"
14967 eval flag
=\"$hardcode_libdir_flag_spec\"
14968 libdir
="$acl_save_libdir"
14969 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14971 for found_dir
in $rpathdirs; do
14972 acl_save_libdir
="$libdir"
14973 libdir
="$found_dir"
14974 eval flag
=\"$hardcode_libdir_flag_spec\"
14975 libdir
="$acl_save_libdir"
14976 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14980 if test "X$ltrpathdirs" != "X"; then
14981 for found_dir
in $ltrpathdirs; do
14982 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15011 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15012 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
15013 $as_echo_n "(cached) " >&6
15015 gt_save_LIBS
="$LIBS"
15016 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
15017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15019 #include <CoreFoundation/CFPreferences.h>
15023 CFPreferencesCopyAppValue(NULL, NULL)
15028 if ac_fn_c_try_link
"$LINENO"; then :
15029 gt_cv_func_CFPreferencesCopyAppValue
=yes
15031 gt_cv_func_CFPreferencesCopyAppValue
=no
15033 rm -f core conftest.err conftest.
$ac_objext \
15034 conftest
$ac_exeext conftest.
$ac_ext
15035 LIBS
="$gt_save_LIBS"
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15038 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15039 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15041 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15045 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15046 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
15047 $as_echo_n "(cached) " >&6
15049 gt_save_LIBS
="$LIBS"
15050 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
15051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15052 /* end confdefs.h. */
15053 #include <CoreFoundation/CFLocale.h>
15057 CFLocaleCopyCurrent();
15062 if ac_fn_c_try_link
"$LINENO"; then :
15063 gt_cv_func_CFLocaleCopyCurrent
=yes
15065 gt_cv_func_CFLocaleCopyCurrent
=no
15067 rm -f core conftest.err conftest.
$ac_objext \
15068 conftest
$ac_exeext conftest.
$ac_ext
15069 LIBS
="$gt_save_LIBS"
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15072 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15073 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15075 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15079 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15080 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
15092 case " $gt_needs " in
15093 *" need-formatstring-macros "*) gt_api_version
=3 ;;
15094 *" need-ngettext "*) gt_api_version
=2 ;;
15095 *) gt_api_version
=1 ;;
15097 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
15098 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
15100 if test "$USE_NLS" = "yes"; then
15101 gt_use_preinstalled_gnugettext
=no
15104 if test $gt_api_version -ge 3; then
15105 gt_revision_test_code
='
15106 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15107 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15109 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15112 gt_revision_test_code
=
15114 if test $gt_api_version -ge 2; then
15115 gt_expression_test_code
=' + * ngettext ("", "", 0)'
15117 gt_expression_test_code
=
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15121 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15122 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
15123 $as_echo_n "(cached) " >&6
15125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15126 /* end confdefs.h. */
15127 #include <libintl.h>
15128 $gt_revision_test_code
15129 extern int _nl_msg_cat_cntr;
15130 extern int *_nl_domain_bindings;
15134 bindtextdomain ("", "");
15135 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15140 if ac_fn_c_try_link
"$LINENO"; then :
15141 eval "$gt_func_gnugettext_libc=yes"
15143 eval "$gt_func_gnugettext_libc=no"
15145 rm -f core conftest.err conftest.
$ac_objext \
15146 conftest
$ac_exeext conftest.
$ac_ext
15148 eval ac_res
=\$
$gt_func_gnugettext_libc
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15150 $as_echo "$ac_res" >&6; }
15152 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15158 am_save_CPPFLAGS
="$CPPFLAGS"
15160 for element
in $INCICONV; do
15162 for x
in $CPPFLAGS; do
15164 acl_save_prefix
="$prefix"
15165 prefix
="$acl_final_prefix"
15166 acl_save_exec_prefix
="$exec_prefix"
15167 exec_prefix
="$acl_final_exec_prefix"
15169 exec_prefix
="$acl_save_exec_prefix"
15170 prefix
="$acl_save_prefix"
15172 if test "X$x" = "X$element"; then
15177 if test -z "$haveit"; then
15178 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15184 $as_echo_n "checking for iconv... " >&6; }
15185 if ${am_cv_func_iconv+:} false
; then :
15186 $as_echo_n "(cached) " >&6
15189 am_cv_func_iconv
="no, consider installing GNU libiconv"
15191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15192 /* end confdefs.h. */
15193 #include <stdlib.h>
15198 iconv_t cd = iconv_open("","");
15199 iconv(cd,NULL,NULL,NULL,NULL);
15205 if ac_fn_c_try_link
"$LINENO"; then :
15206 am_cv_func_iconv
=yes
15208 rm -f core conftest.err conftest.
$ac_objext \
15209 conftest
$ac_exeext conftest.
$ac_ext
15210 if test "$am_cv_func_iconv" != yes; then
15211 am_save_LIBS
="$LIBS"
15212 LIBS
="$LIBS $LIBICONV"
15213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15214 /* end confdefs.h. */
15215 #include <stdlib.h>
15220 iconv_t cd = iconv_open("","");
15221 iconv(cd,NULL,NULL,NULL,NULL);
15227 if ac_fn_c_try_link
"$LINENO"; then :
15228 am_cv_lib_iconv
=yes
15229 am_cv_func_iconv
=yes
15231 rm -f core conftest.err conftest.
$ac_objext \
15232 conftest
$ac_exeext conftest.
$ac_ext
15233 LIBS
="$am_save_LIBS"
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15238 $as_echo "$am_cv_func_iconv" >&6; }
15239 if test "$am_cv_func_iconv" = yes; then
15241 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15244 if test "$am_cv_lib_iconv" = yes; then
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15246 $as_echo_n "checking how to link with libiconv... " >&6; }
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15248 $as_echo "$LIBICONV" >&6; }
15250 CPPFLAGS
="$am_save_CPPFLAGS"
15263 acl_save_prefix
="$prefix"
15264 prefix
="$acl_final_prefix"
15265 acl_save_exec_prefix
="$exec_prefix"
15266 exec_prefix
="$acl_final_exec_prefix"
15268 eval additional_includedir
=\"$includedir\"
15269 eval additional_libdir
=\"$libdir\"
15271 exec_prefix
="$acl_save_exec_prefix"
15272 prefix
="$acl_save_prefix"
15275 # Check whether --with-libintl-prefix was given.
15276 if test "${with_libintl_prefix+set}" = set; then :
15277 withval
=$with_libintl_prefix;
15278 if test "X$withval" = "Xno"; then
15281 if test "X$withval" = "X"; then
15283 acl_save_prefix
="$prefix"
15284 prefix
="$acl_final_prefix"
15285 acl_save_exec_prefix
="$exec_prefix"
15286 exec_prefix
="$acl_final_exec_prefix"
15288 eval additional_includedir
=\"$includedir\"
15289 eval additional_libdir
=\"$libdir\"
15291 exec_prefix
="$acl_save_exec_prefix"
15292 prefix
="$acl_save_prefix"
15295 additional_includedir
="$withval/include"
15296 additional_libdir
="$withval/$acl_libdirstem"
15307 names_already_handled
=
15308 names_next_round
='intl '
15309 while test -n "$names_next_round"; do
15310 names_this_round
="$names_next_round"
15312 for name
in $names_this_round; do
15314 for n
in $names_already_handled; do
15315 if test "$n" = "$name"; then
15316 already_handled
=yes
15320 if test -z "$already_handled"; then
15321 names_already_handled
="$names_already_handled $name"
15322 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15323 eval value
=\"\
$HAVE_LIB$uppername\"
15324 if test -n "$value"; then
15325 if test "$value" = yes; then
15326 eval value
=\"\
$LIB$uppername\"
15327 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
15328 eval value
=\"\
$LTLIB$uppername\"
15329 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
15338 if test $use_additional = yes; then
15339 if test -n "$shlibext" \
15340 && { test -f "$additional_libdir/lib$name.$shlibext" \
15341 ||
{ test "$shlibext" = dll \
15342 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
15343 found_dir
="$additional_libdir"
15344 if test -f "$additional_libdir/lib$name.$shlibext"; then
15345 found_so
="$additional_libdir/lib$name.$shlibext"
15347 found_so
="$additional_libdir/lib$name.dll.a"
15349 if test -f "$additional_libdir/lib$name.la"; then
15350 found_la
="$additional_libdir/lib$name.la"
15353 if test -f "$additional_libdir/lib$name.$libext"; then
15354 found_dir
="$additional_libdir"
15355 found_a
="$additional_libdir/lib$name.$libext"
15356 if test -f "$additional_libdir/lib$name.la"; then
15357 found_la
="$additional_libdir/lib$name.la"
15362 if test "X$found_dir" = "X"; then
15363 for x
in $LDFLAGS $LTLIBINTL; do
15365 acl_save_prefix
="$prefix"
15366 prefix
="$acl_final_prefix"
15367 acl_save_exec_prefix
="$exec_prefix"
15368 exec_prefix
="$acl_final_exec_prefix"
15370 exec_prefix
="$acl_save_exec_prefix"
15371 prefix
="$acl_save_prefix"
15375 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15376 if test -n "$shlibext" \
15377 && { test -f "$dir/lib$name.$shlibext" \
15378 ||
{ test "$shlibext" = dll \
15379 && test -f "$dir/lib$name.dll.a"; }; }; then
15381 if test -f "$dir/lib$name.$shlibext"; then
15382 found_so
="$dir/lib$name.$shlibext"
15384 found_so
="$dir/lib$name.dll.a"
15386 if test -f "$dir/lib$name.la"; then
15387 found_la
="$dir/lib$name.la"
15390 if test -f "$dir/lib$name.$libext"; then
15392 found_a
="$dir/lib$name.$libext"
15393 if test -f "$dir/lib$name.la"; then
15394 found_la
="$dir/lib$name.la"
15400 if test "X$found_dir" != "X"; then
15405 if test "X$found_dir" != "X"; then
15406 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15407 if test "X$found_so" != "X"; then
15408 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15409 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15412 for x
in $ltrpathdirs; do
15413 if test "X$x" = "X$found_dir"; then
15418 if test -z "$haveit"; then
15419 ltrpathdirs
="$ltrpathdirs $found_dir"
15421 if test "$hardcode_direct" = yes; then
15422 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15424 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
15425 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15427 for x
in $rpathdirs; do
15428 if test "X$x" = "X$found_dir"; then
15433 if test -z "$haveit"; then
15434 rpathdirs
="$rpathdirs $found_dir"
15438 for x
in $LDFLAGS $LIBINTL; do
15440 acl_save_prefix
="$prefix"
15441 prefix
="$acl_final_prefix"
15442 acl_save_exec_prefix
="$exec_prefix"
15443 exec_prefix
="$acl_final_exec_prefix"
15445 exec_prefix
="$acl_save_exec_prefix"
15446 prefix
="$acl_save_prefix"
15448 if test "X$x" = "X-L$found_dir"; then
15453 if test -z "$haveit"; then
15454 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15456 if test "$hardcode_minus_L" != no
; then
15457 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15459 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15465 if test "X$found_a" != "X"; then
15466 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
15468 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15471 additional_includedir
=
15472 case "$found_dir" in
15473 */$acl_libdirstem |
*/$acl_libdirstem/)
15474 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15475 additional_includedir
="$basedir/include"
15478 if test "X$additional_includedir" != "X"; then
15479 if test "X$additional_includedir" != "X/usr/include"; then
15481 if test "X$additional_includedir" = "X/usr/local/include"; then
15482 if test -n "$GCC"; then
15484 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15488 if test -z "$haveit"; then
15489 for x
in $CPPFLAGS $INCINTL; do
15491 acl_save_prefix
="$prefix"
15492 prefix
="$acl_final_prefix"
15493 acl_save_exec_prefix
="$exec_prefix"
15494 exec_prefix
="$acl_final_exec_prefix"
15496 exec_prefix
="$acl_save_exec_prefix"
15497 prefix
="$acl_save_prefix"
15499 if test "X$x" = "X-I$additional_includedir"; then
15504 if test -z "$haveit"; then
15505 if test -d "$additional_includedir"; then
15506 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15512 if test -n "$found_la"; then
15513 save_libdir
="$libdir"
15514 case "$found_la" in
15515 */* |
*\\*) .
"$found_la" ;;
15516 *) .
"./$found_la" ;;
15518 libdir
="$save_libdir"
15519 for dep
in $dependency_libs; do
15522 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15523 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15525 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15526 if test -n "$GCC"; then
15528 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15532 if test -z "$haveit"; then
15534 for x
in $LDFLAGS $LIBINTL; do
15536 acl_save_prefix
="$prefix"
15537 prefix
="$acl_final_prefix"
15538 acl_save_exec_prefix
="$exec_prefix"
15539 exec_prefix
="$acl_final_exec_prefix"
15541 exec_prefix
="$acl_save_exec_prefix"
15542 prefix
="$acl_save_prefix"
15544 if test "X$x" = "X-L$additional_libdir"; then
15549 if test -z "$haveit"; then
15550 if test -d "$additional_libdir"; then
15551 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15555 for x
in $LDFLAGS $LTLIBINTL; do
15557 acl_save_prefix
="$prefix"
15558 prefix
="$acl_final_prefix"
15559 acl_save_exec_prefix
="$exec_prefix"
15560 exec_prefix
="$acl_final_exec_prefix"
15562 exec_prefix
="$acl_save_exec_prefix"
15563 prefix
="$acl_save_prefix"
15565 if test "X$x" = "X-L$additional_libdir"; then
15570 if test -z "$haveit"; then
15571 if test -d "$additional_libdir"; then
15572 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15579 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15580 if test "$enable_rpath" != no
; then
15582 for x
in $rpathdirs; do
15583 if test "X$x" = "X$dir"; then
15588 if test -z "$haveit"; then
15589 rpathdirs
="$rpathdirs $dir"
15592 for x
in $ltrpathdirs; do
15593 if test "X$x" = "X$dir"; then
15598 if test -z "$haveit"; then
15599 ltrpathdirs
="$ltrpathdirs $dir"
15604 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15607 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15610 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
15611 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15617 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15618 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15624 if test "X$rpathdirs" != "X"; then
15625 if test -n "$hardcode_libdir_separator"; then
15627 for found_dir
in $rpathdirs; do
15628 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15630 acl_save_libdir
="$libdir"
15632 eval flag
=\"$hardcode_libdir_flag_spec\"
15633 libdir
="$acl_save_libdir"
15634 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15636 for found_dir
in $rpathdirs; do
15637 acl_save_libdir
="$libdir"
15638 libdir
="$found_dir"
15639 eval flag
=\"$hardcode_libdir_flag_spec\"
15640 libdir
="$acl_save_libdir"
15641 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15645 if test "X$ltrpathdirs" != "X"; then
15646 for found_dir
in $ltrpathdirs; do
15647 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15652 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15653 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
15654 $as_echo_n "(cached) " >&6
15656 gt_save_CPPFLAGS
="$CPPFLAGS"
15657 CPPFLAGS
="$CPPFLAGS $INCINTL"
15658 gt_save_LIBS
="$LIBS"
15659 LIBS
="$LIBS $LIBINTL"
15660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15661 /* end confdefs.h. */
15662 #include <libintl.h>
15663 $gt_revision_test_code
15664 extern int _nl_msg_cat_cntr;
15669 const char *_nl_expand_alias (const char *);
15673 bindtextdomain ("", "");
15674 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15679 if ac_fn_c_try_link
"$LINENO"; then :
15680 eval "$gt_func_gnugettext_libintl=yes"
15682 eval "$gt_func_gnugettext_libintl=no"
15684 rm -f core conftest.err conftest.
$ac_objext \
15685 conftest
$ac_exeext conftest.
$ac_ext
15686 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15687 LIBS
="$LIBS $LIBICONV"
15688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15689 /* end confdefs.h. */
15690 #include <libintl.h>
15691 $gt_revision_test_code
15692 extern int _nl_msg_cat_cntr;
15697 const char *_nl_expand_alias (const char *);
15701 bindtextdomain ("", "");
15702 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15707 if ac_fn_c_try_link
"$LINENO"; then :
15708 LIBINTL
="$LIBINTL $LIBICONV"
15709 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
15710 eval "$gt_func_gnugettext_libintl=yes"
15713 rm -f core conftest.err conftest.
$ac_objext \
15714 conftest
$ac_exeext conftest.
$ac_ext
15716 CPPFLAGS
="$gt_save_CPPFLAGS"
15717 LIBS
="$gt_save_LIBS"
15719 eval ac_res
=\$
$gt_func_gnugettext_libintl
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15721 $as_echo "$ac_res" >&6; }
15724 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15725 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15726 && test "$PACKAGE" != gettext-runtime \
15727 && test "$PACKAGE" != gettext-tools
; }; then
15728 gt_use_preinstalled_gnugettext
=yes
15737 if test -n "$INTL_MACOSX_LIBS"; then
15738 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15739 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15740 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
15741 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
15745 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15746 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15748 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15756 $as_echo_n "checking whether to use NLS... " >&6; }
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15758 $as_echo "$USE_NLS" >&6; }
15759 if test "$USE_NLS" = "yes"; then
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15761 $as_echo_n "checking where the gettext function comes from... " >&6; }
15762 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15763 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15764 gt_source
="external libintl"
15769 gt_source
="included intl directory"
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15772 $as_echo "$gt_source" >&6; }
15775 if test "$USE_NLS" = "yes"; then
15777 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15778 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15780 $as_echo_n "checking how to link with libintl... " >&6; }
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15782 $as_echo "$LIBINTL" >&6; }
15784 for element
in $INCINTL; do
15786 for x
in $CPPFLAGS; do
15788 acl_save_prefix
="$prefix"
15789 prefix
="$acl_final_prefix"
15790 acl_save_exec_prefix
="$exec_prefix"
15791 exec_prefix
="$acl_final_exec_prefix"
15793 exec_prefix
="$acl_save_exec_prefix"
15794 prefix
="$acl_save_prefix"
15796 if test "X$x" = "X$element"; then
15801 if test -z "$haveit"; then
15802 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15809 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15812 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15821 INTLLIBS
="$LIBINTL"
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
15830 $as_echo_n "checking option: dmalloc enabled... " >&6; }
15831 # Check whether --enable-dmalloc was given.
15832 if test "${enable_dmalloc+set}" = set; then :
15833 enableval
=$enable_dmalloc;
15836 if test x
$enable_dmalloc = "xyes" ; then
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15838 $as_echo "yes" >&6; }
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15841 $as_echo "no" >&6; }
15845 # Check whether --with-dmalloc-dir was given.
15846 if test "${with_dmalloc_dir+set}" = set; then :
15847 withval
=$with_dmalloc_dir;
15848 if test "x$withval" != "xno" ; then
15849 enable_dmalloc
= "yes"
15850 CPPFLAGS
="$CPPFLAGS -I${withval}"
15851 LDFLAGS
="$LDFLAGS -L${withval}"
15857 if test x
$enable_dmalloc = "xyes" ; then
15859 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
15863 ALPINE_datestamp
=`date`
15865 # Check whether --with-date-stamp was given.
15866 if test "${with_date_stamp+set}" = set; then :
15867 withval
=$with_date_stamp;
15868 if test "x$withval" != "xno" ; then
15869 ALPINE_datestamp
=$withval
15874 ALPINE_DATESTAMP
=$ALPINE_datestamp
15877 ALPINE_hoststamp
=`hostname`
15879 # Check whether --with-host-stamp was given.
15880 if test "${with_host_stamp+set}" = set; then :
15881 withval
=$with_host_stamp;
15882 if test "x$withval" != "xno" ; then
15883 ALPINE_hoststamp
="$withval"
15888 ALPINE_HOSTSTAMP
=$ALPINE_hoststamp
15891 ALPINE_psefcmd
="/bin/ps auxww"
15892 ALPINE_psfailed
="0"
15895 # Check whether --with-ps-cmd was given.
15896 if test "${with_ps_cmd+set}" = set; then :
15897 withval
=$with_ps_cmd;
15898 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
15899 withval
=$ALPINE_psefcmd
15901 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15902 if test -n "$ALPINE_PSTEST" ; then
15903 ALPINE_psefcmd
="$withval"
15905 ALPINE_psfailed
="1"
15906 if test "x$ALPINE_psefcmd" != "x$withval" ; then
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
15908 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
15914 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
15915 withval
="$ALPINE_psefcmd"
15916 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15917 if test -z "$ALPINE_PSTEST" ; then
15918 ALPINE_psfailed
="1"
15920 ALPINE_psfailed
="0"
15923 if test "$ALPINE_psfailed" = "0" ; then
15925 cat >>confdefs.h
<<_ACEOF
15926 #define PSEFCMD "$ALPINE_psefcmd"
15933 if test -d /opt
/local ; then
15934 localedir
="/opt/local/share/locale"
15936 localedir
="\${datadir}/locale"
15940 localedir
="/usr/share"
15943 localedir
="\${datadir}/locale"
15948 # Check whether --with-localedir was given.
15949 if test "${with_localedir+set}" = set; then :
15950 withval
=$with_localedir;
15963 localedir
="$localedir"
15966 # Setup OS-Specific features
15969 # Check whether --enable-osx-universal-binaries was given.
15970 if test "${enable_osx_universal_binaries+set}" = set; then :
15971 enableval
=$enable_osx_universal_binaries;
15974 if test "x$enable_osx_universal_binaries" = "xyes" ; then
15975 if test "x$enable_dependency_tracking" != xno
; then
15976 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
15977 Please re-run configure with these options:
15978 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
15980 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
15981 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
15982 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
15983 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
15985 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
15987 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
15988 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
15989 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
15990 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
15991 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
15992 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
15998 # Check whether --with-include-path was given.
15999 if test "${with_include_path+set}" = set; then :
16000 withval
=$with_include_path;
16007 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
16008 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
16009 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
16017 # Check whether --with-lib-path was given.
16018 if test "${with_lib_path+set}" = set; then :
16019 withval
=$with_lib_path;
16026 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
16027 LDFLAGS
="$LDFLAGS $new_ldflags"
16028 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
16036 # Check whether --with-pubcookie was given.
16037 if test "${with_pubcookie+set}" = set; then :
16038 withval
=$with_pubcookie;
16039 if test "x$withval" != "xno" ; then
16040 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
16048 # Check whether --with-web-bin was given.
16049 if test "${with_web_bin+set}" = set; then :
16050 withval
=$with_web_bin;
16057 WEB_BINDIR
=$withval
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
16065 $as_echo_n "checking option: debugging is enabled... " >&6; }
16066 # Check whether --enable-debug was given.
16067 if test "${enable_debug+set}" = set; then :
16068 enableval
=$enable_debug;
16071 if test x
$enable_debug != "xno" ; then
16072 AM_CFLAGS
="$AM_CFLAGS -g"
16074 $as_echo "#define DEBUG 1" >>confdefs.h
16077 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16080 $as_echo "yes" >&6; }
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16083 $as_echo "no" >&6; }
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
16087 $as_echo_n "checking option: optimization is enabled... " >&6; }
16088 # Check whether --enable-optimization was given.
16089 if test "${enable_optimization+set}" = set; then :
16090 enableval
=$enable_optimization;
16093 if test x
$enable_optimization != "xno" ; then
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16095 $as_echo "yes" >&6; }
16097 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
16098 alpine_c_client_gccoptlevel
="-O0"
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16100 $as_echo "no" >&6; }
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
16104 $as_echo_n "checking option: mouse support enabled... " >&6; }
16105 # Check whether --enable-mouse was given.
16106 if test "${enable_mouse+set}" = set; then :
16107 enableval
=$enable_mouse;
16110 if test x
$enable_mouse != "xno" ; then
16112 $as_echo "#define MOUSE /**/" >>confdefs.h
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16115 $as_echo "yes" >&6; }
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16118 $as_echo "no" >&6; }
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
16122 $as_echo_n "checking option: quotas enabled... " >&6; }
16123 # Check whether --enable-quotas was given.
16124 if test "${enable_quotas+set}" = set; then :
16125 enableval
=$enable_quotas;
16128 if test x
$enable_quotas = "xyes" ; then
16130 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16133 $as_echo "yes" >&6; }
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16136 $as_echo "no" >&6; }
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
16140 $as_echo_n "checking option: From changing enabled... " >&6; }
16141 # Check whether --enable-from_changing was given.
16142 if test "${enable_from_changing+set}" = set; then :
16143 enableval
=$enable_from_changing;
16146 if test x
$enable_from_changing != "xno" ; then
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16148 $as_echo "yes" >&6; }
16151 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16154 $as_echo "no" >&6; }
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
16158 $as_echo_n "checking option: background post enabled... " >&6; }
16159 # Check whether --enable-background-post was given.
16160 if test "${enable_background_post+set}" = set; then :
16161 enableval
=$enable_background_post;
16164 if test x
$enable_background_post != "xno" ; then
16166 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16169 $as_echo "yes" >&6; }
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16172 $as_echo "no" >&6; }
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
16176 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
16177 # Check whether --enable-keyboard-lock was given.
16178 if test "${enable_keyboard_lock+set}" = set; then :
16179 enableval
=$enable_keyboard_lock;
16182 if test x
$enable_keyboard_lock != "xno" ; then
16184 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16187 $as_echo "yes" >&6; }
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16190 $as_echo "no" >&6; }
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
16194 $as_echo_n "checking option: from encoding enabled... " >&6; }
16195 # Check whether --enable-from-encoding was given.
16196 if test "${enable_from_encoding+set}" = set; then :
16197 enableval
=$enable_from_encoding;
16200 if test x
$enable_from_encoding = "xyes" ; then
16202 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16205 $as_echo "yes" >&6; }
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16208 $as_echo "no" >&6; }
16212 # Check whether --with-smtp-msa was given.
16213 if test "${with_smtp_msa+set}" = set; then :
16214 withval
=$with_smtp_msa;
16219 # Extract the first word of "sendmail", so it can be a program name with args.
16220 set dummy sendmail
; ac_word
=$2
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16222 $as_echo_n "checking for $ac_word... " >&6; }
16223 if ${ac_cv_path_SENDMAIL+:} false
; then :
16224 $as_echo_n "(cached) " >&6
16228 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
16231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16232 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16233 for as_dir
in $as_dummy
16236 test -z "$as_dir" && as_dir
=.
16237 for ac_exec_ext
in '' $ac_executable_extensions; do
16238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16239 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
16240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16247 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
16251 SENDMAIL
=$ac_cv_path_SENDMAIL
16252 if test -n "$SENDMAIL"; then
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
16254 $as_echo "$SENDMAIL" >&6; }
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16257 $as_echo "no" >&6; }
16269 # Extract the first word of "sendmail", so it can be a program name with args.
16270 set dummy sendmail
; ac_word
=$2
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16272 $as_echo_n "checking for $ac_word... " >&6; }
16273 if ${ac_cv_path_SENDMAIL+:} false
; then :
16274 $as_echo_n "(cached) " >&6
16278 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
16281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16282 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16283 for as_dir
in $as_dummy
16286 test -z "$as_dir" && as_dir
=.
16287 for ac_exec_ext
in '' $ac_executable_extensions; do
16288 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16289 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
16290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16297 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
16301 SENDMAIL
=$ac_cv_path_SENDMAIL
16302 if test -n "$SENDMAIL"; then
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
16304 $as_echo "$SENDMAIL" >&6; }
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16307 $as_echo "no" >&6; }
16314 if test -n "$SENDMAIL" ; then
16316 cat >>confdefs.h
<<_ACEOF
16317 #define SENDMAIL "$SENDMAIL"
16322 smtp_msa_flags
="-bs -odb -oem"
16324 # Check whether --with-smtp-msa-flags was given.
16325 if test "${with_smtp_msa_flags+set}" = set; then :
16326 withval
=$with_smtp_msa_flags;
16327 if test "x$withval" != "xno" ; then
16328 smtp_msa_flags
=$withval
16334 cat >>confdefs.h
<<_ACEOF
16335 #define SENDMAILFLAGS "$smtp_msa_flags"
16341 # Check whether --with-npa was given.
16342 if test "${with_npa+set}" = set; then :
16348 # Extract the first word of "inews", so it can be a program name with args.
16349 set dummy inews
; ac_word
=$2
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16351 $as_echo_n "checking for $ac_word... " >&6; }
16352 if ${ac_cv_path_NPA_PROG+:} false
; then :
16353 $as_echo_n "(cached) " >&6
16357 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
16360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16361 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16362 for as_dir
in $as_dummy
16365 test -z "$as_dir" && as_dir
=.
16366 for ac_exec_ext
in '' $ac_executable_extensions; do
16367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16368 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
16369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16376 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
16380 NPA_PROG
=$ac_cv_path_NPA_PROG
16381 if test -n "$NPA_PROG"; then
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
16383 $as_echo "$NPA_PROG" >&6; }
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16386 $as_echo "no" >&6; }
16398 # Extract the first word of "inews", so it can be a program name with args.
16399 set dummy inews
; ac_word
=$2
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16401 $as_echo_n "checking for $ac_word... " >&6; }
16402 if ${ac_cv_path_NPA_PROG+:} false
; then :
16403 $as_echo_n "(cached) " >&6
16407 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
16410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16411 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16412 for as_dir
in $as_dummy
16415 test -z "$as_dir" && as_dir
=.
16416 for ac_exec_ext
in '' $ac_executable_extensions; do
16417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16418 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
16419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16426 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
16430 NPA_PROG
=$ac_cv_path_NPA_PROG
16431 if test -n "$NPA_PROG"; then
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
16433 $as_echo "$NPA_PROG" >&6; }
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16436 $as_echo "no" >&6; }
16446 # Check whether --with-npa-flags was given.
16447 if test "${with_npa_flags+set}" = set; then :
16448 withval
=$with_npa_flags;
16449 if test "x$withval" != "xno" ; then
16455 if test -n "$NPA_PROG" ; then
16457 cat >>confdefs.h
<<_ACEOF
16458 #define SENDNEWS "$NPA_PROG $npa_flags"
16464 # Check whether --with-password-prog was given.
16465 if test "${with_password_prog+set}" = set; then :
16466 withval
=$with_password_prog;
16471 # Extract the first word of "passwd", so it can be a program name with args.
16472 set dummy passwd
; ac_word
=$2
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16474 $as_echo_n "checking for $ac_word... " >&6; }
16475 if ${ac_cv_path_PWPROG+:} false
; then :
16476 $as_echo_n "(cached) " >&6
16480 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16484 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16485 for as_dir
in $as_dummy
16488 test -z "$as_dir" && as_dir
=.
16489 for ac_exec_ext
in '' $ac_executable_extensions; do
16490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16491 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16499 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16503 PWPROG
=$ac_cv_path_PWPROG
16504 if test -n "$PWPROG"; then
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16506 $as_echo "$PWPROG" >&6; }
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16509 $as_echo "no" >&6; }
16515 # Extract the first word of "$withval", so it can be a program name with args.
16516 set dummy
$withval; ac_word
=$2
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16518 $as_echo_n "checking for $ac_word... " >&6; }
16519 if ${ac_cv_path_PWPROG+:} false
; then :
16520 $as_echo_n "(cached) " >&6
16524 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16528 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16529 for as_dir
in $as_dummy
16532 test -z "$as_dir" && as_dir
=.
16533 for ac_exec_ext
in '' $ac_executable_extensions; do
16534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16535 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16543 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16547 PWPROG
=$ac_cv_path_PWPROG
16548 if test -n "$PWPROG"; then
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16550 $as_echo "$PWPROG" >&6; }
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16553 $as_echo "no" >&6; }
16562 # Extract the first word of "passwd", so it can be a program name with args.
16563 set dummy passwd
; ac_word
=$2
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16565 $as_echo_n "checking for $ac_word... " >&6; }
16566 if ${ac_cv_path_PWPROG+:} false
; then :
16567 $as_echo_n "(cached) " >&6
16571 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16575 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16576 for as_dir
in $as_dummy
16579 test -z "$as_dir" && as_dir
=.
16580 for ac_exec_ext
in '' $ac_executable_extensions; do
16581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16582 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16590 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16594 PWPROG
=$ac_cv_path_PWPROG
16595 if test -n "$PWPROG"; then
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16597 $as_echo "$PWPROG" >&6; }
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16600 $as_echo "no" >&6; }
16607 if test -n "$PWPROG" ; then
16609 cat >>confdefs.h
<<_ACEOF
16610 #define PASSWD_PROG "$PWPROG"
16616 # Check whether --with-simple-spellcheck was given.
16617 if test "${with_simple_spellcheck+set}" = set; then :
16618 withval
=$with_simple_spellcheck;
16619 if test "x$withval" != "xno" ; then
16625 # Extract the first word of "hunspell", so it can be a program name with args.
16626 set dummy hunspell
; ac_word
=$2
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16628 $as_echo_n "checking for $ac_word... " >&6; }
16629 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16630 $as_echo_n "(cached) " >&6
16632 if test -n "$SPELLPROG"; then
16633 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16636 for as_dir
in $PATH
16639 test -z "$as_dir" && as_dir
=.
16640 for ac_exec_ext
in '' $ac_executable_extensions; do
16641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16642 ac_cv_prog_SPELLPROG
="hunspell"
16643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16652 SPELLPROG
=$ac_cv_prog_SPELLPROG
16653 if test -n "$SPELLPROG"; then
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16655 $as_echo "$SPELLPROG" >&6; }
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16658 $as_echo "no" >&6; }
16662 if test -z "$SPELLPROG" ; then
16663 # Extract the first word of "aspell", so it can be a program name with args.
16664 set dummy aspell
; ac_word
=$2
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16666 $as_echo_n "checking for $ac_word... " >&6; }
16667 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16668 $as_echo_n "(cached) " >&6
16670 if test -n "$SPELLPROG"; then
16671 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16674 for as_dir
in $PATH
16677 test -z "$as_dir" && as_dir
=.
16678 for ac_exec_ext
in '' $ac_executable_extensions; do
16679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16680 ac_cv_prog_SPELLPROG
="aspell"
16681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16690 SPELLPROG
=$ac_cv_prog_SPELLPROG
16691 if test -n "$SPELLPROG"; then
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16693 $as_echo "$SPELLPROG" >&6; }
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16696 $as_echo "no" >&6; }
16700 if test -z "$SPELLPROG" ; then
16701 # Extract the first word of "ispell", so it can be a program name with args.
16702 set dummy ispell
; ac_word
=$2
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16704 $as_echo_n "checking for $ac_word... " >&6; }
16705 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16706 $as_echo_n "(cached) " >&6
16708 if test -n "$SPELLPROG"; then
16709 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16712 for as_dir
in $PATH
16715 test -z "$as_dir" && as_dir
=.
16716 for ac_exec_ext
in '' $ac_executable_extensions; do
16717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16718 ac_cv_prog_SPELLPROG
="ispell"
16719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16728 SPELLPROG
=$ac_cv_prog_SPELLPROG
16729 if test -n "$SPELLPROG"; then
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16731 $as_echo "$SPELLPROG" >&6; }
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16734 $as_echo "no" >&6; }
16738 if test -z "$SPELLPROG" ; then
16747 if test "x$SPELLPROG" != "xno" ; then
16748 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
16749 set dummy
$SPELLPROG; ac_word
=$2
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16751 $as_echo_n "checking for $ac_word... " >&6; }
16752 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
16753 $as_echo_n "(cached) " >&6
16755 case $alpine_simple_spellcheck in
16757 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
16760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16761 for as_dir
in $PATH
16764 test -z "$as_dir" && as_dir
=.
16765 for ac_exec_ext
in '' $ac_executable_extensions; do
16766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16767 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16778 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
16779 if test -n "$alpine_simple_spellcheck"; then
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
16781 $as_echo "$alpine_simple_spellcheck" >&6; }
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16784 $as_echo "no" >&6; }
16788 if test -n "$alpine_simple_spellcheck" ; then
16789 case "$SPELLPROG" in
16791 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16794 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
16797 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16806 # Check whether --with-interactive-spellcheck was given.
16807 if test "${with_interactive_spellcheck+set}" = set; then :
16808 withval
=$with_interactive_spellcheck;
16809 if test "x$withval" != "xno" ; then
16810 ISPELLPROG
=$withval
16815 # Extract the first word of "hunspell", so it can be a program name with args.
16816 set dummy hunspell
; ac_word
=$2
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16818 $as_echo_n "checking for $ac_word... " >&6; }
16819 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16820 $as_echo_n "(cached) " >&6
16822 if test -n "$ISPELLPROG"; then
16823 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16826 for as_dir
in $PATH
16829 test -z "$as_dir" && as_dir
=.
16830 for ac_exec_ext
in '' $ac_executable_extensions; do
16831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16832 ac_cv_prog_ISPELLPROG
="hunspell"
16833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16842 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16843 if test -n "$ISPELLPROG"; then
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16845 $as_echo "$ISPELLPROG" >&6; }
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16848 $as_echo "no" >&6; }
16852 if test -z "$ISPELLPROG" ; then
16853 # Extract the first word of "aspell", so it can be a program name with args.
16854 set dummy aspell
; ac_word
=$2
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16856 $as_echo_n "checking for $ac_word... " >&6; }
16857 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16858 $as_echo_n "(cached) " >&6
16860 if test -n "$ISPELLPROG"; then
16861 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16864 for as_dir
in $PATH
16867 test -z "$as_dir" && as_dir
=.
16868 for ac_exec_ext
in '' $ac_executable_extensions; do
16869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16870 ac_cv_prog_ISPELLPROG
="aspell"
16871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16880 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16881 if test -n "$ISPELLPROG"; then
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16883 $as_echo "$ISPELLPROG" >&6; }
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16886 $as_echo "no" >&6; }
16890 if test -z "$SPELLPROG" ; then
16891 ISPELLPROG
="ispell"
16898 if test "x$ISPELLPROG" != "xno" ; then
16899 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
16900 set dummy
$ISPELLPROG; ac_word
=$2
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16902 $as_echo_n "checking for $ac_word... " >&6; }
16903 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
16904 $as_echo_n "(cached) " >&6
16906 case $alpine_interactive_spellcheck in
16908 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
16911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16912 for as_dir
in $PATH
16915 test -z "$as_dir" && as_dir
=.
16916 for ac_exec_ext
in '' $ac_executable_extensions; do
16917 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16918 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16929 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
16930 if test -n "$alpine_interactive_spellcheck"; then
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
16932 $as_echo "$alpine_interactive_spellcheck" >&6; }
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16935 $as_echo "no" >&6; }
16939 if test -n "$alpine_interactive_spellcheck" ; then
16940 case "$ISPELLPROG" in
16942 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
16950 if test -n "$alpine_interactive_spellcheck" ; then
16952 cat >>confdefs.h
<<_ACEOF
16953 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
16958 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
16959 alpine_simple_spellcheck
=test
16962 cat >>confdefs.h
<<_ACEOF
16963 #define SPELLER "$alpine_simple_spellcheck"
16968 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
16969 *) dpv
=${prefix}/lib
/pine.conf
;;
16972 # Check whether --with-system-pinerc was given.
16973 if test "${with_system_pinerc+set}" = set; then :
16974 withval
=$with_system_pinerc;
16988 cat >>confdefs.h
<<_ACEOF
16989 #define SYSTEM_PINERC "$dpv"
16994 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
16995 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
16998 # Check whether --with-system-fixed-pinerc was given.
16999 if test "${with_system_fixed_pinerc+set}" = set; then :
17000 withval
=$with_system_fixed_pinerc;
17014 cat >>confdefs.h
<<_ACEOF
17015 #define SYSTEM_PINERC_FIXED "$dpv"
17020 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
17021 *) dpv
=${prefix}/lib
/pine.info
;;
17024 # Check whether --with-local-support-info was given.
17025 if test "${with_local_support_info+set}" = set; then :
17026 withval
=$with_local_support_info;
17040 cat >>confdefs.h
<<_ACEOF
17041 #define SYSTEM_PINE_INFO_PATH "$dpv"
17052 # Check whether --with-mailcheck-interval was given.
17053 if test "${with_mailcheck_interval+set}" = set; then :
17054 withval
=$with_mailcheck_interval;
17055 if test "x$withval" != "xno" ; then
17062 cat >>confdefs.h
<<_ACEOF
17063 #define DF_MAILCHECK "$dpv"
17070 # Check whether --with-checkpoint-interval was given.
17071 if test "${with_checkpoint_interval+set}" = set; then :
17072 withval
=$with_checkpoint_interval;
17073 if test "x$withval" != "xno" ; then
17080 cat >>confdefs.h
<<_ACEOF
17081 #define CHECK_POINT_TIME $dpv
17088 # Check whether --with-checkpoint-frequency was given.
17089 if test "${with_checkpoint_frequency+set}" = set; then :
17090 withval
=$with_checkpoint_frequency;
17091 if test "x$withval" != "xno" ; then
17098 cat >>confdefs.h
<<_ACEOF
17099 #define CHECK_POINT_FREQ $dpv
17106 # Check whether --with-display-rows was given.
17107 if test "${with_display_rows+set}" = set; then :
17108 withval
=$with_display_rows;
17109 if test "x$withval" != "xno" ; then
17116 cat >>confdefs.h
<<_ACEOF
17117 #define DEFAULT_LINES_ON_TERMINAL $dpv
17124 # Check whether --with-display-columns was given.
17125 if test "${with_display_columns+set}" = set; then :
17126 withval
=$with_display_columns;
17127 if test "x$withval" != "xno" ; then
17134 cat >>confdefs.h
<<_ACEOF
17135 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
17142 # Check whether --with-max-display-rows was given.
17143 if test "${with_max_display_rows+set}" = set; then :
17144 withval
=$with_max_display_rows;
17145 if test "x$withval" != "xno" ; then
17152 cat >>confdefs.h
<<_ACEOF
17153 #define MAX_SCREEN_ROWS $dpv
17160 # Check whether --with-max-display-columns was given.
17161 if test "${with_max_display_columns+set}" = set; then :
17162 withval
=$with_max_display_columns;
17163 if test "x$withval" != "xno" ; then
17170 cat >>confdefs.h
<<_ACEOF
17171 #define MAX_SCREEN_COLS $dpv
17178 # Check whether --with-fill-column was given.
17179 if test "${with_fill_column+set}" = set; then :
17180 withval
=$with_fill_column;
17181 if test "x$withval" != "xno" ; then
17188 cat >>confdefs.h
<<_ACEOF
17189 #define DF_FILLCOL "$dpv"
17196 # Check whether --with-max_fill-column was given.
17197 if test "${with_max_fill_column+set}" = set; then :
17198 withval
=$with_max_fill_column;
17199 if test "x$withval" != "xno" ; then
17206 cat >>confdefs.h
<<_ACEOF
17207 #define MAX_FILLCOL $dpv
17214 # Check whether --with-debug-level was given.
17215 if test "${with_debug_level+set}" = set; then :
17216 withval
=$with_debug_level;
17217 if test "x$withval" != "xno" ; then
17224 cat >>confdefs.h
<<_ACEOF
17225 #define DEFAULT_DEBUG $dpv
17232 # Check whether --with-debug-files was given.
17233 if test "${with_debug_files+set}" = set; then :
17234 withval
=$with_debug_files;
17235 if test "x$withval" != "xno" ; then
17242 cat >>confdefs.h
<<_ACEOF
17243 #define NUMDEBUGFILES $dpv
17250 # Check whether --with-debug-file was given.
17251 if test "${with_debug_file+set}" = set; then :
17252 withval
=$with_debug_file;
17253 if test "x$withval" != "xno" ; then
17260 cat >>confdefs.h
<<_ACEOF
17261 #define DEBUGFILE "$dpv"
17268 # Check whether --with-forwarded-keyword was given.
17269 if test "${with_forwarded_keyword+set}" = set; then :
17270 withval
=$with_forwarded_keyword;
17271 if test "x$withval" != "xno" ; then
17278 cat >>confdefs.h
<<_ACEOF
17279 #define FORWARDED_FLAG "$dpv"
17286 # Check whether --with-display-overlap was given.
17287 if test "${with_display_overlap+set}" = set; then :
17288 withval
=$with_display_overlap;
17289 if test "x$withval" != "xno" ; then
17296 cat >>confdefs.h
<<_ACEOF
17297 #define DF_OVERLAP "$dpv"
17304 # Check whether --with-display-margin was given.
17305 if test "${with_display_margin+set}" = set; then :
17306 withval
=$with_display_margin;
17307 if test "x$withval" != "xno" ; then
17314 cat >>confdefs.h
<<_ACEOF
17315 #define DF_MARGIN "$dpv"
17322 # Check whether --with-default-fcc was given.
17323 if test "${with_default_fcc+set}" = set; then :
17324 withval
=$with_default_fcc;
17325 if test "x$withval" != "xno" ; then
17332 cat >>confdefs.h
<<_ACEOF
17333 #define DF_DEFAULT_FCC "$dpv"
17340 # Check whether --with-default-save-folder was given.
17341 if test "${with_default_save_folder+set}" = set; then :
17342 withval
=$with_default_save_folder;
17343 if test "x$withval" != "xno" ; then
17350 cat >>confdefs.h
<<_ACEOF
17351 #define DEFAULT_SAVE "$dpv"
17358 # Check whether --with-default-legacy-postponed-folder was given.
17359 if test "${with_default_legacy_postponed_folder+set}" = set; then :
17360 withval
=$with_default_legacy_postponed_folder;
17361 if test "x$withval" != "xno" ; then
17368 cat >>confdefs.h
<<_ACEOF
17369 #define POSTPONED_MAIL "$dpv"
17376 # Check whether --with-default-postponed-folder was given.
17377 if test "${with_default_postponed_folder+set}" = set; then :
17378 withval
=$with_default_postponed_folder;
17379 if test "x$withval" != "xno" ; then
17386 cat >>confdefs.h
<<_ACEOF
17387 #define POSTPONED_MSGS "$dpv"
17394 # Check whether --with-default-trash-folder was given.
17395 if test "${with_default_trash_folder+set}" = set; then :
17396 withval
=$with_default_trash_folder;
17397 if test "x$withval" != "xno" ; then
17404 cat >>confdefs.h
<<_ACEOF
17405 #define TRASH_FOLDER "$dpv"
17410 dpv
=.pine-interrupted-mail
17412 # Check whether --with-default-interrupted-mail was given.
17413 if test "${with_default_interrupted_mail+set}" = set; then :
17414 withval
=$with_default_interrupted_mail;
17415 if test "x$withval" != "xno" ; then
17422 cat >>confdefs.h
<<_ACEOF
17423 #define INTERRUPTED_MAIL "$dpv"
17430 # Check whether --with-default-dead-letter-folder was given.
17431 if test "${with_default_dead_letter_folder+set}" = set; then :
17432 withval
=$with_default_dead_letter_folder;
17433 if test "x$withval" != "xno" ; then
17440 cat >>confdefs.h
<<_ACEOF
17441 #define DEADLETTER "$dpv"
17448 # Check whether --with-default-mail-directory was given.
17449 if test "${with_default_mail_directory+set}" = set; then :
17450 withval
=$with_default_mail_directory;
17451 if test "x$withval" != "xno" ; then
17458 cat >>confdefs.h
<<_ACEOF
17459 #define DF_MAIL_DIRECTORY "$dpv"
17466 # Check whether --with-default-inbox-name was given.
17467 if test "${with_default_inbox_name+set}" = set; then :
17468 withval
=$with_default_inbox_name;
17469 if test "x$withval" != "xno" ; then
17476 cat >>confdefs.h
<<_ACEOF
17477 #define INBOX_NAME "$dpv"
17484 # Check whether --with-default-signature-file was given.
17485 if test "${with_default_signature_file+set}" = set; then :
17486 withval
=$with_default_signature_file;
17487 if test "x$withval" != "xno" ; then
17494 cat >>confdefs.h
<<_ACEOF
17495 #define DF_SIGNATURE_FILE "$dpv"
17502 # Check whether --with-default-elm-style-save was given.
17503 if test "${with_default_elm_style_save+set}" = set; then :
17504 withval
=$with_default_elm_style_save;
17505 if test "x$withval" != "xno" ; then
17512 cat >>confdefs.h
<<_ACEOF
17513 #define DF_ELM_STYLE_SAVE "$dpv"
17520 # Check whether --with-default-header-in-reply was given.
17521 if test "${with_default_header_in_reply+set}" = set; then :
17522 withval
=$with_default_header_in_reply;
17523 if test "x$withval" != "xno" ; then
17530 cat >>confdefs.h
<<_ACEOF
17531 #define DF_HEADER_IN_REPLY "$dpv"
17538 # Check whether --with-default-old-style-reply was given.
17539 if test "${with_default_old_style_reply+set}" = set; then :
17540 withval
=$with_default_old_style_reply;
17541 if test "x$withval" != "xno" ; then
17548 cat >>confdefs.h
<<_ACEOF
17549 #define DF_OLD_STYLE_REPLY "$dpv"
17556 # Check whether --with-default-use-only-domain-name was given.
17557 if test "${with_default_use_only_domain_name+set}" = set; then :
17558 withval
=$with_default_use_only_domain_name;
17559 if test "x$withval" != "xno" ; then
17566 cat >>confdefs.h
<<_ACEOF
17567 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
17574 # Check whether --with-default-save-by-sender was given.
17575 if test "${with_default_save_by_sender+set}" = set; then :
17576 withval
=$with_default_save_by_sender;
17577 if test "x$withval" != "xno" ; then
17584 cat >>confdefs.h
<<_ACEOF
17585 #define DF_SAVE_BY_SENDER "$dpv"
17592 # Check whether --with-default-sort-key was given.
17593 if test "${with_default_sort_key+set}" = set; then :
17594 withval
=$with_default_sort_key;
17595 if test "x$withval" != "xno" ; then
17602 cat >>confdefs.h
<<_ACEOF
17603 #define DF_SORT_KEY "$dpv"
17608 dpv
=fullname-with-lists-last
17610 # Check whether --with-default-addressbook-sort-rule was given.
17611 if test "${with_default_addressbook_sort_rule+set}" = set; then :
17612 withval
=$with_default_addressbook_sort_rule;
17613 if test "x$withval" != "xno" ; then
17620 cat >>confdefs.h
<<_ACEOF
17621 #define DF_AB_SORT_RULE "$dpv"
17628 # Check whether --with-default-folder-sort-rule was given.
17629 if test "${with_default_folder_sort_rule+set}" = set; then :
17630 withval
=$with_default_folder_sort_rule;
17631 if test "x$withval" != "xno" ; then
17638 cat >>confdefs.h
<<_ACEOF
17639 #define DF_FLD_SORT_RULE "$dpv"
17646 # Check whether --with-default-saved-message-name-rule was given.
17647 if test "${with_default_saved_message_name_rule+set}" = set; then :
17648 withval
=$with_default_saved_message_name_rule;
17649 if test "x$withval" != "xno" ; then
17656 cat >>confdefs.h
<<_ACEOF
17657 #define DF_SAVED_MSG_NAME_RULE "$dpv"
17664 # Check whether --with-default-fcc-rule was given.
17665 if test "${with_default_fcc_rule+set}" = set; then :
17666 withval
=$with_default_fcc_rule;
17667 if test "x$withval" != "xno" ; then
17674 cat >>confdefs.h
<<_ACEOF
17675 #define DF_FCC_RULE "$dpv"
17682 # Check whether --with-default-standard-printer was given.
17683 if test "${with_default_standard_printer+set}" = set; then :
17684 withval
=$with_default_standard_printer;
17685 if test "x$withval" != "xno" ; then
17692 cat >>confdefs.h
<<_ACEOF
17693 #define DF_STANDARD_PRINTER "$dpv"
17698 dpv
=attached-to-ansi
17700 # Check whether --with-default-ansi-printer was given.
17701 if test "${with_default_ansi_printer+set}" = set; then :
17702 withval
=$with_default_ansi_printer;
17703 if test "x$withval" != "xno" ; then
17710 cat >>confdefs.h
<<_ACEOF
17711 #define ANSI_PRINTER "$dpv"
17718 # Check whether --with-default-addressbook was given.
17719 if test "${with_default_addressbook+set}" = set; then :
17720 withval
=$with_default_addressbook;
17721 if test "x$withval" != "xno" ; then
17728 cat >>confdefs.h
<<_ACEOF
17729 #define DF_ADDRESSBOOK "$dpv"
17734 dpv
="Local Support"
17736 # Check whether --with-default-local-fullname was given.
17737 if test "${with_default_local_fullname+set}" = set; then :
17738 withval
=$with_default_local_fullname;
17739 if test "x$withval" != "xno" ; then
17746 cat >>confdefs.h
<<_ACEOF
17747 #define DF_LOCAL_FULLNAME "$dpv"
17754 # Check whether --with-default-local-address was given.
17755 if test "${with_default_local_address+set}" = set; then :
17756 withval
=$with_default_local_address;
17757 if test "x$withval" != "xno" ; then
17764 cat >>confdefs.h
<<_ACEOF
17765 #define DF_LOCAL_ADDRESS "$dpv"
17772 # Check whether --with-default-keyboard-lock-count was given.
17773 if test "${with_default_keyboard_lock_count+set}" = set; then :
17774 withval
=$with_default_keyboard_lock_count;
17775 if test "x$withval" != "xno" ; then
17782 cat >>confdefs.h
<<_ACEOF
17783 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
17790 # Check whether --with-default-remote-addressbook-history was given.
17791 if test "${with_default_remote_addressbook_history+set}" = set; then :
17792 withval
=$with_default_remote_addressbook_history;
17793 if test "x$withval" != "xno" ; then
17800 cat >>confdefs.h
<<_ACEOF
17801 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
17806 dpv
=.alpine-smime
/public
17808 # Check whether --with-smime-public-cert-directory was given.
17809 if test "${with_smime_public_cert_directory+set}" = set; then :
17810 withval
=$with_smime_public_cert_directory;
17811 if test "x$withval" != "xno" ; then
17818 cat >>confdefs.h
<<_ACEOF
17819 #define DF_PUBLICCERT_DIR "$dpv"
17824 dpv
=.alpine-smime
/private
17826 # Check whether --with-smime-private-key-directory was given.
17827 if test "${with_smime_private_key_directory+set}" = set; then :
17828 withval
=$with_smime_private_key_directory;
17829 if test "x$withval" != "xno" ; then
17836 cat >>confdefs.h
<<_ACEOF
17837 #define DF_PRIVATEKEY_DIR "$dpv"
17842 dpv
=.alpine-smime
/ca
17844 # Check whether --with-smime-cacert-directory was given.
17845 if test "${with_smime_cacert_directory+set}" = set; then :
17846 withval
=$with_smime_cacert_directory;
17847 if test "x$withval" != "xno" ; then
17854 cat >>confdefs.h
<<_ACEOF
17855 #define DF_CACERT_DIR "$dpv"
17862 # Check whether --with-default-printer was given.
17863 if test "${with_default_printer+set}" = set; then :
17864 withval
=$with_default_printer;
17865 if test "x$withval" != "xno" ; then
17872 cat >>confdefs.h
<<_ACEOF
17873 #define DF_DEFAULT_PRINTER $dpv
17879 cat >>confdefs.h
<<_ACEOF
17880 #define DF_PUBLIC_CONTAINER "PublicContainer"
17884 cat >>confdefs.h
<<_ACEOF
17885 #define DF_PRIVATE_CONTAINER "PrivateContainer"
17889 cat >>confdefs.h
<<_ACEOF
17890 #define DF_CA_CONTAINER "CAContainer"
17895 # Check whether --with-passfile was given.
17896 if test "${with_passfile+set}" = set; then :
17897 withval
=$with_passfile;
17904 alpine_PASSFILE
=$withval
17913 # Check whether --with-local-password-cache was given.
17914 if test "${with_local_password_cache+set}" = set; then :
17915 withval
=$with_local_password_cache;
17916 alpine_os_credential_cache
=$withval
17922 # Check whether --with-local-password-cache-method was given.
17923 if test "${with_local_password_cache_method+set}" = set; then :
17924 withval
=$with_local_password_cache_method;
17925 alpine_os_credential_cache_method
=$withval
17930 if test -n "$alpine_PASSFILE" ; then
17931 case $alpine_os_credential_cache in
17935 alpine_os_credential_cache
="no"
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
17937 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
17941 cat >>confdefs.h
<<_ACEOF
17942 #define PASSFILE "$alpine_PASSFILE"
17948 # Check whether --with-default-sshpath was given.
17949 if test "${with_default_sshpath+set}" = set; then :
17950 withval
=$with_default_sshpath;
17958 cat >>confdefs.h
<<_ACEOF
17959 #define DF_SSHPATH "$withval"
17969 # Check whether --with-default-sshcmd was given.
17970 if test "${with_default_sshcmd+set}" = set; then :
17971 withval
=$with_default_sshcmd;
17979 cat >>confdefs.h
<<_ACEOF
17980 #define DF_SSHCMD "$withval"
17990 # Check whether --with-ssl was given.
17991 if test "${with_ssl+set}" = set; then :
17992 withval
=$with_ssl; with_ssl
=$withval
17996 if test "x$with_ssl" = "xno" ; then
17997 alpine_SSLTYPE
="none"
17998 elif test -d /usr
/local
/ssl
; then
17999 alpine_SSLDIR
="/usr/local/ssl"
18000 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18001 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18004 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
18005 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
18006 alpine_SSLTYPE
="nopwd"
18007 if test -d /etc
/pki
/tls
; then
18008 alpine_SSLDIR
="/etc/pki/tls"
18010 alpine_SSLDIR
="/usr/share/ssl"
18012 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18013 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18014 alpine_SSLINCLUDE
="/usr/include/openssl"
18015 alpine_SSLLIB
="/usr/lib"
18016 elif test -f /etc
/mandrake-release
; then
18017 alpine_SSLDIR
="/usr/lib/ssl"
18018 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18019 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18020 alpine_SSLINCLUDE
="/usr/include/openssl"
18021 alpine_SSLLIB
="/usr/lib"
18022 elif test -f /etc
/SuSE-release
; then
18023 alpine_SSLTYPE
="nopwd"
18024 alpine_SSLDIR
="/etc/ssl"
18025 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18026 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18027 alpine_SSLINCLUDE
="/usr/include/openssl"
18028 alpine_SSLLIB
="/usr/lib"
18029 elif test -d /etc
/osso-af-init
; then
18030 alpine_SSLTYPE
="nopwd"
18031 alpine_SSLDIR
="/usr"
18032 alpine_SSLCERTS
="/usr/share/certs"
18033 alpine_SSLINCLUDE
="/usr/include/openssl"
18034 alpine_SSLLIB
="/usr/lib"
18035 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
18036 if test ! -d /etc
/osso-af-init
; then
18037 alpine_SSLDIR
="/etc/ssl"
18038 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18039 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18040 alpine_SSLINCLUDE
="/usr/include/openssl"
18041 alpine_SSLLIB
="/usr/lib"
18043 elif test -f /etc
/manjaro-release
; then
18044 alpine_SSLDIR
="/etc/ssl"
18045 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18046 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18047 alpine_SSLINCLUDE
="/usr/include/openssl"
18048 alpine_SSLLIB
="/usr/lib"
18050 alpine_SSLTYPE
="nopwd"
18051 alpine_SSLDIR
="/usr"
18052 alpine_SSLCERTS
="/etc/ssl/certs"
18056 alpine_SSLTYPE
="nopwd"
18057 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
18058 if test -d /usr
/local
/opt
/openssl
; then
18059 alpine_SSLDIR
="/usr/local/opt/openssl"
18060 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18061 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18062 alpine_SSLCERTS
="/usr/local/etc/openssl"
18063 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18064 elif test -d /opt
/local
/etc
/openssl
; then
18065 alpine_SSLDIR
="/opt/local"
18066 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18067 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18068 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
18069 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
18070 elif test -d /sw
/etc
/ssl
; then
18071 alpine_SSLDIR
="/sw/etc/ssl"
18072 alpine_SSLINCLUDE
="/sw/include"
18073 alpine_SSLLIB
="/sw/lib"
18074 alpine_SSLCERTS
="/sw/etc/ssl/certs"
18075 alpine_SSLKEYS
="/sw/etc/ssl/private"
18076 elif test -d /usr
/local
/ssl
; then
18077 alpine_SSLDIR
="/usr/local/ssl"
18078 elif test -d /System
/Library
/OpenSSL
; then
18079 alpine_SSLDIR
="/System/Library/OpenSSL"
18080 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18081 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18082 alpine_SSLLIB
="/usr/lib"
18083 alpine_SSLINCLUDE
="/usr/include/openssl"
18087 alpine_SSLDIR
="/etc/openssl"
18088 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18089 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18090 alpine_SSLINCLUDE
="/usr/include/openssl"
18091 alpine_SSLLIB
="/usr/lib"
18094 alpine_SSLDIR
="/etc/openssl"
18095 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18096 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18097 alpine_SSLINCLUDE
="/usr/include/openssl"
18098 alpine_SSLLIB
="/usr/lib"
18101 alpine_SSLTYPE
="nopwd"
18102 alpine_SSLDIR
="/usr"
18103 alpine_SSLCERTS
="/etc/ssl/certs"
18106 alpine_SSLDIR
="/etc/ssl"
18107 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18108 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18109 if test -d /usr
/local
/include
/openssl
; then
18110 alpine_SSLINCLUDE
="/usr/local/include/openssl"
18111 alpine_SSLLIB
="/usr/local/lib"
18113 alpine_SSLINCLUDE
="/usr/include/openssl"
18114 alpine_SSLLIB
="/usr/lib"
18118 alpine_SSLDIR
="/etc/ssl"
18119 alpine_SSLINCLUDE
="/usr/include/openssl"
18120 alpine_SSLLIB
="/usr/lib"
18121 alpine_SSLCERTS
="/etc/ssl"
18122 alpine_SSLKEYS
="/etc/ssl/private"
18125 alpine_SSLDIR
="/usr/ssl"
18126 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18127 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
18128 alpine_SSLINCLUDE
="/usr/include/openssl"
18129 alpine_SSLLIB
="/usr/lib"
18131 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
18132 alpine_SSLTYPE
="sco.nopwd"
18133 alpine_SSLDIR
="/usr/local/ssl"
18136 if test -d /usr
/include
/openssl
; then
18137 alpine_SSLINCLUDE
="/usr/include/openssl"
18138 elif test -d /usr
/sfw
/include
/openssl
; then
18139 alpine_SSLDIR
="/usr/sfw"
18140 elif test -d /opt
/csw
/include
/openssl
; then
18141 alpine_SSLDIR
="/opt/csw"
18142 if test -d /opt
/csw
/ssl
/certs
; then
18143 alpine_SSLCERTS
="/opt/csw/ssl/certs"
18146 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
18147 alpine_SSLCERTS
="/etc/certs"
18151 alpine_SSLTYPE
="nopwd"
18152 alpine_SSLDIR
="/usr/local/ssl"
18157 if test "x$alpine_SSLTYPE" != "xnone" ; then
18159 # Check whether --with-ssl-dir was given.
18160 if test "${with_ssl_dir+set}" = set; then :
18161 withval
=$with_ssl_dir;
18162 if test "x$withval" != "xno" ; then
18163 alpine_SSLDIR
=$withval
18164 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
18165 alpine_SSLLIB
=$alpine_SSLDIR/lib
18172 # Check whether --with-ssl-certs-dir was given.
18173 if test "${with_ssl_certs_dir+set}" = set; then :
18174 withval
=$with_ssl_certs_dir;
18175 if test "x$withval" != "xno" ; then
18176 alpine_SSLCERTS
=$withval
18183 # Check whether --with-ssl-include-dir was given.
18184 if test "${with_ssl_include_dir+set}" = set; then :
18185 withval
=$with_ssl_include_dir;
18186 if test "x$withval" != "xno" ; then
18187 alpine_SSLINCLUDE
=$withval
18194 # Check whether --with-ssl-lib-dir was given.
18195 if test "${with_ssl_lib_dir+set}" = set; then :
18196 withval
=$with_ssl_lib_dir;
18197 if test "x$withval" != "xno" ; then
18198 alpine_SSLLIB
=$withval
18204 if test -n "$alpine_SSLINCLUDE" ; then
18205 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
18206 elif test -n "$alpine_SSLDIR" ; then
18207 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
18209 if test -n "$alpine_SSLLIB" ; then
18210 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
18211 elif test -n "$alpine_SSLDIR" ; then
18212 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
18218 # Check whether --with-krb5 was given.
18219 if test "${with_krb5+set}" = set; then :
18220 withval
=$with_krb5; with_krb5
=$withval
18224 if test "x$with_krb5" = "xno" ; then
18225 alpine_GSSTYPE
="none"
18230 # Check whether --with-krb5-dir was given.
18231 if test "${with_krb5_dir+set}" = set; then :
18232 withval
=$with_krb5_dir;
18233 if test "x$withval" != "xno" ; then
18234 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
18235 LDFLAGS
="$LDFLAGS -L${withval}/lib"
18242 # Check whether --with-krb5-include-dir was given.
18243 if test "${with_krb5_include_dir+set}" = set; then :
18244 withval
=$with_krb5_include_dir;
18245 if test "x$withval" != "xno" ; then
18246 CPPFLAGS
="$CPPFLAGS -I$withval"
18253 # Check whether --with-krb5-lib-dir was given.
18254 if test "${with_krb5_lib_dir+set}" = set; then :
18255 withval
=$with_krb5_lib_dir;
18256 if test "x$withval" != "xno" ; then
18257 LDFLAGS
="$LDFLAGS -L$withval"
18265 # Check whether --with-ldap was given.
18266 if test "${with_ldap+set}" = set; then :
18267 withval
=$with_ldap; with_ldap
=$withval
18271 if test "x$with_ldap" = "xno" ; then
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
18274 $as_echo "$as_me: Excluding LDAP Support" >&6;}
18279 alpine_LDAPDIR
="/usr/local"
18280 alpine_LDAPINCLUDE
="${LDAPDIR}/include"
18281 alpine_LDAPLIB
="${LDAPDIR}/lib"
18285 alpine_with_ldap
=yes
18288 # Check whether --with-ldap-dir was given.
18289 if test "${with_ldap_dir+set}" = set; then :
18290 withval
=$with_ldap_dir;
18291 if test "x$withval" != "xno" ; then
18292 alpine_LDAPDIR
="${withval}"
18293 alpine_LDAPINCLUDE
="${LDAPDIR}/include"
18294 alpine_LDAPLIB
="${LDAPDIR}/lib"
18301 # Check whether --with-ldap-include-dir was given.
18302 if test "${with_ldap_include_dir+set}" = set; then :
18303 withval
=$with_ldap_include_dir;
18304 if test "x$withval" != "xno" ; then
18305 alpine_LDAPINCLUDE
="$withval"
18312 # Check whether --with-ldap-lib-dir was given.
18313 if test "${with_ldap_lib_dir+set}" = set; then :
18314 withval
=$with_ldap_lib_dir;
18315 if test "x$withval" != "xno" ; then
18316 alpine_LDAPLIB
="${withval}"
18322 if test -n "$alpine_LDAPINCLUDE" ; then
18323 CPPFLAGS
="$CPPFLAGS -I${alpine_LDAPINCLUDE}/include"
18325 if test -n "$alpine_LDAPLIB" ; then
18326 LDFLAGS
="$LDFLAGS -L${alpine_LDAPLIB}/lib"
18331 # Check whether --with-smime was given.
18332 if test "${with_smime+set}" = set; then :
18333 withval
=$with_smime; with_smime
=$withval
18338 # Check whether --with-tcl was given.
18339 if test "${with_tcl+set}" = set; then :
18340 withval
=$with_tcl; with_tcl
=$withval
18344 if test "x$with_tcl" = "xno" ; then
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
18347 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
18350 # Check whether --with-tcl-lib-dir was given.
18351 if test "${with_tcl_lib_dir+set}" = set; then :
18352 withval
=$with_tcl_lib_dir;
18353 if test "x$withval" != "xno" ; then
18354 alpine_TCLLIBDIR
=$withval
18355 if test -n "$alpine_TCLLIBDIR" ; then
18356 LDFLAGS
="-L$alpine_TCLLIBDIR $LDFLAGS"
18363 # Check whether --with-tcl-lib was given.
18364 if test "${with_tcl_lib+set}" = set; then :
18365 withval
=$with_tcl_lib;
18366 if test "x$withval" != "xno" ; then
18367 alpine_TCLLIB
=$withval
18373 # Check whether --with-tcl-include was given.
18374 if test "${with_tcl_include+set}" = set; then :
18375 withval
=$with_tcl_include;
18376 if test "x$withval" != "xno" ; then
18377 CPPFLAGS
="$CPPFLAGS -I$withval"
18378 alpine_TCLINC
=$withval
18386 # Check whether --with-supplied-regex was given.
18387 if test "${with_supplied_regex+set}" = set; then :
18388 withval
=$with_supplied_regex; alpine_REGEX
=$withval
18393 # Check whether --with-pthread was given.
18394 if test "${with_pthread+set}" = set; then :
18395 withval
=$with_pthread; with_pthread
=$withval
18400 # Check whether --with-system-mail-directory was given.
18401 if test "${with_system_mail_directory+set}" = set; then :
18402 withval
=$with_system_mail_directory;
18403 if test "x$withval" != "xno" ; then
18404 alpine_with_local_maildir
="$withval"
18411 # Check whether --with-c-client-target was given.
18412 if test "${with_c_client_target+set}" = set; then :
18413 withval
=$with_c_client_target;
18414 if test "x$withval" != "xno" ;then
18415 alpine_with_c_client_target
="$withval"
18425 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
18426 alpine_path_delim
="/"
18427 alpine_mode_readonly
="(0600)"
18428 if test -f /etc
/fedora-release
; then
18431 if test -d /etc
/pki
/tls
; then
18432 alpine_c_client_target
="lfd"
18434 alpine_c_client_target
="lrh"
18436 elif test -f /etc
/mandrake-release
; then
18438 alpine_c_client_target
="lmd"
18440 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
18443 if test -d /etc
/pki
/tls
; then
18444 alpine_c_client_target
="lr5"
18446 alpine_c_client_target
="lrh"
18448 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
18449 if test -d /etc
/osso-af-init
; then
18451 alpine_c_client_target
="ln8"
18454 alpine_c_client_target
="ldb"
18457 elif test -f /etc
/SuSE-release
; then
18459 alpine_c_client_target
="lsu"
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
18464 $as_echo_n "checking for pam_start in -lpam... " >&6; }
18465 if ${ac_cv_lib_pam_pam_start+:} false
; then :
18466 $as_echo_n "(cached) " >&6
18468 ac_check_lib_save_LIBS
=$LIBS
18470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18471 /* end confdefs.h. */
18473 /* Override any GCC internal prototype to avoid an error.
18474 Use char because int might match the return type of a GCC
18475 builtin and then its argument prototype would still apply. */
18483 return pam_start ();
18488 if ac_fn_c_try_link
"$LINENO"; then :
18489 ac_cv_lib_pam_pam_start
=yes
18491 ac_cv_lib_pam_pam_start
=no
18493 rm -f core conftest.err conftest.
$ac_objext \
18494 conftest
$ac_exeext conftest.
$ac_ext
18495 LIBS
=$ac_check_lib_save_LIBS
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
18498 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
18499 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
18501 alpine_c_client_target
="lnp"
18506 if test -f /etc
/shadow
; then
18507 alpine_c_client_target
="slx"
18509 alpine_c_client_target
="lnx"
18518 alpine_path_delim
="/"
18519 alpine_mode_readonly
="(0600)"
18520 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
18521 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
18523 $as_echo "#define OSX_TARGET 1" >>confdefs.h
18525 case "$alpine_os_credential_cache" in
18530 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
18535 $as_echo_n "checking for pam_start in -lpam... " >&6; }
18536 if ${ac_cv_lib_pam_pam_start+:} false
; then :
18537 $as_echo_n "(cached) " >&6
18539 ac_check_lib_save_LIBS
=$LIBS
18541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18544 /* Override any GCC internal prototype to avoid an error.
18545 Use char because int might match the return type of a GCC
18546 builtin and then its argument prototype would still apply. */
18554 return pam_start ();
18559 if ac_fn_c_try_link
"$LINENO"; then :
18560 ac_cv_lib_pam_pam_start
=yes
18562 ac_cv_lib_pam_pam_start
=no
18564 rm -f core conftest.err conftest.
$ac_objext \
18565 conftest
$ac_exeext conftest.
$ac_ext
18566 LIBS
=$ac_check_lib_save_LIBS
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
18569 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
18570 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
18572 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
18573 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
18576 alpine_c_client_target
="oxs"
18579 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
18580 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
18583 alpine_c_client_target
="oxp"
18588 alpine_pam_none_reason
="header files not found"
18600 alpine_c_client_target
="osx"
18606 if test x
$GCC = "xyes" ; then
18608 alpine_c_client_target
="gso"
18609 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
18612 alpine_c_client_target
="soc"
18614 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
18617 alpine_path_delim
="/"
18618 alpine_mode_readonly
="(0600)"
18622 alpine_path_delim
="/"
18623 alpine_mode_readonly
="(0600)"
18624 alpine_c_client_target
="s40"
18627 if test x
$GCC = "xyes" ; then
18629 alpine_c_client_target
="go5"
18632 alpine_c_client_target
="sc5"
18634 alpine_path_delim
="/"
18635 alpine_mode_readonly
="(0600)"
18639 alpine_path_delim
="/"
18640 alpine_mode_readonly
="(0600)"
18641 alpine_c_client_target
="nx3"
18645 alpine_path_delim
="/"
18646 alpine_mode_readonly
="(0600)"
18647 alpine_c_client_target
="neb"
18651 alpine_path_delim
="/"
18652 alpine_mode_readonly
="(0600)"
18653 alpine_c_client_target
="neb"
18657 alpine_path_delim
="/"
18658 alpine_mode_readonly
="(0600)"
18659 alpine_c_client_target
="bsi"
18663 alpine_path_delim
="/"
18664 alpine_mode_readonly
="(0600)"
18665 alpine_c_client_target
="bsf"
18666 LIBS
="$LIBS $LIBINTL"
18670 alpine_path_delim
="/"
18671 alpine_mode_readonly
="(0600)"
18672 alpine_c_client_target
="bso"
18673 LIBS
="$LIBS $LIBINTL"
18677 alpine_path_delim
="/"
18678 alpine_mode_readonly
="(0600)"
18679 alpine_c_client_target
="a52"
18683 alpine_path_delim
="/"
18684 alpine_mode_readonly
="(0600)"
18685 alpine_c_client_target
="a41"
18689 alpine_path_delim
="/"
18690 alpine_mode_readonly
="(0600)"
18691 alpine_c_client_target
="a32"
18693 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
18695 alpine_path_delim
="/"
18696 alpine_mode_readonly
="(0600)"
18697 alpine_c_client_target
="uw2"
18701 alpine_path_delim
="/"
18702 alpine_mode_readonly
="(0600)"
18703 alpine_c_client_target
="osf"
18707 alpine_path_delim
="/"
18708 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18709 alpine_c_client_target
="cyg"
18710 LIBS
="$LIBS $LIBINTL"
18712 windows
* |
*-*-pw32*)
18714 alpine_path_delim
="\\"
18715 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18716 alpine_c_client_target
="wnt"
18718 $as_echo "#define _WINDOWS 1" >>confdefs.h
18722 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
18727 # Check whether --with-ipv6 was given.
18728 if test "${with_ipv6+set}" = set; then :
18729 withval
=$with_ipv6; with_ipv6
=$withval
18733 if test "x$with_ipv6" = "xno" ; then
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
18735 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
18736 c_client_specials
="${c_client_specials}IP6=4 "
18737 c_client_ip6
="true"
18739 c_client_ip6
="touch imap/ip6"
18744 if test x
$enable_dmalloc = "xyes" ; then
18745 if test "x$with_pthread" = "xyes" ; then
18746 dmalloc_lib
=dmallocth
18748 dmalloc_lib
=dmalloc
18751 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
18753 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
18754 if eval \
${$as_ac_Lib+:} false
; then :
18755 $as_echo_n "(cached) " >&6
18757 ac_check_lib_save_LIBS
=$LIBS
18758 LIBS
="-l$dmalloc_lib $LIBS"
18759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18762 /* Override any GCC internal prototype to avoid an error.
18763 Use char because int might match the return type of a GCC
18764 builtin and then its argument prototype would still apply. */
18768 char dmalloc_shutdown ();
18772 return dmalloc_shutdown ();
18777 if ac_fn_c_try_link
"$LINENO"; then :
18778 eval "$as_ac_Lib=yes"
18780 eval "$as_ac_Lib=no"
18782 rm -f core conftest.err conftest.
$ac_objext \
18783 conftest
$ac_exeext conftest.
$ac_ext
18784 LIBS
=$ac_check_lib_save_LIBS
18786 eval ac_res
=\$
$as_ac_Lib
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18788 $as_echo "$ac_res" >&6; }
18789 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
18790 cat >>confdefs.h
<<_ACEOF
18791 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
18794 LIBS
="-l$dmalloc_lib $LIBS"
18798 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
18805 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
18806 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
18807 $as_echo_n "(cached) " >&6
18809 ac_check_lib_save_LIBS
=$LIBS
18810 LIBS
="-ltinfo $LIBS"
18811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18814 /* Override any GCC internal prototype to avoid an error.
18815 Use char because int might match the return type of a GCC
18816 builtin and then its argument prototype would still apply. */
18824 return setupterm ();
18829 if ac_fn_c_try_link
"$LINENO"; then :
18830 ac_cv_lib_tinfo_setupterm
=yes
18832 ac_cv_lib_tinfo_setupterm
=no
18834 rm -f core conftest.err conftest.
$ac_objext \
18835 conftest
$ac_exeext conftest.
$ac_ext
18836 LIBS
=$ac_check_lib_save_LIBS
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
18839 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
18840 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
18842 alpine_termdata
=info
18843 LIBS
="$LIBS -ltinfo"
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
18848 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
18849 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
18850 $as_echo_n "(cached) " >&6
18852 ac_check_lib_save_LIBS
=$LIBS
18853 LIBS
="-lncurses $LIBS"
18854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18857 /* Override any GCC internal prototype to avoid an error.
18858 Use char because int might match the return type of a GCC
18859 builtin and then its argument prototype would still apply. */
18867 return setupterm ();
18872 if ac_fn_c_try_link
"$LINENO"; then :
18873 ac_cv_lib_ncurses_setupterm
=yes
18875 ac_cv_lib_ncurses_setupterm
=no
18877 rm -f core conftest.err conftest.
$ac_objext \
18878 conftest
$ac_exeext conftest.
$ac_ext
18879 LIBS
=$ac_check_lib_save_LIBS
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
18882 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
18883 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
18885 alpine_termdata
=info
18886 LIBS
="$LIBS -lncurses"
18890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
18891 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
18892 if ${ac_cv_lib_curses_setupterm+:} false
; then :
18893 $as_echo_n "(cached) " >&6
18895 ac_check_lib_save_LIBS
=$LIBS
18896 LIBS
="-lcurses $LIBS"
18897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18898 /* end confdefs.h. */
18900 /* Override any GCC internal prototype to avoid an error.
18901 Use char because int might match the return type of a GCC
18902 builtin and then its argument prototype would still apply. */
18910 return setupterm ();
18915 if ac_fn_c_try_link
"$LINENO"; then :
18916 ac_cv_lib_curses_setupterm
=yes
18918 ac_cv_lib_curses_setupterm
=no
18920 rm -f core conftest.err conftest.
$ac_objext \
18921 conftest
$ac_exeext conftest.
$ac_ext
18922 LIBS
=$ac_check_lib_save_LIBS
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
18925 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
18926 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
18928 alpine_termdata
=info
18929 LIBS
="$LIBS -lcurses"
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
18934 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
18935 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
18936 $as_echo_n "(cached) " >&6
18938 ac_check_lib_save_LIBS
=$LIBS
18939 LIBS
="-ltermlib $LIBS"
18940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h. */
18943 /* Override any GCC internal prototype to avoid an error.
18944 Use char because int might match the return type of a GCC
18945 builtin and then its argument prototype would still apply. */
18958 if ac_fn_c_try_link
"$LINENO"; then :
18959 ac_cv_lib_termlib_tgetent
=yes
18961 ac_cv_lib_termlib_tgetent
=no
18963 rm -f core conftest.err conftest.
$ac_objext \
18964 conftest
$ac_exeext conftest.
$ac_ext
18965 LIBS
=$ac_check_lib_save_LIBS
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
18968 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
18969 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
18971 alpine_termdata
=cap
18972 LIBS
="$LIBS -ltermlib"
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
18977 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
18978 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
18979 $as_echo_n "(cached) " >&6
18981 ac_check_lib_save_LIBS
=$LIBS
18982 LIBS
="-ltermcap $LIBS"
18983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18984 /* end confdefs.h. */
18986 /* Override any GCC internal prototype to avoid an error.
18987 Use char because int might match the return type of a GCC
18988 builtin and then its argument prototype would still apply. */
19001 if ac_fn_c_try_link
"$LINENO"; then :
19002 ac_cv_lib_termcap_tgetent
=yes
19004 ac_cv_lib_termcap_tgetent
=no
19006 rm -f core conftest.err conftest.
$ac_objext \
19007 conftest
$ac_exeext conftest.
$ac_ext
19008 LIBS
=$ac_check_lib_save_LIBS
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
19011 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
19012 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
19014 alpine_termdata
=cap
19015 LIBS
="$LIBS -ltermcap"
19019 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
19035 case $alpine_termdata in
19038 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
19043 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19049 $as_echo_n "checking for library containing dlopen... " >&6; }
19050 if ${ac_cv_search_dlopen+:} false
; then :
19051 $as_echo_n "(cached) " >&6
19053 ac_func_search_save_LIBS
=$LIBS
19054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h. */
19057 /* Override any GCC internal prototype to avoid an error.
19058 Use char because int might match the return type of a GCC
19059 builtin and then its argument prototype would still apply. */
19072 for ac_lib
in '' dl dld
; do
19073 if test -z "$ac_lib"; then
19074 ac_res
="none required"
19077 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19079 if ac_fn_c_try_link
"$LINENO"; then :
19080 ac_cv_search_dlopen
=$ac_res
19082 rm -f core conftest.err conftest.
$ac_objext \
19084 if ${ac_cv_search_dlopen+:} false
; then :
19088 if ${ac_cv_search_dlopen+:} false
; then :
19091 ac_cv_search_dlopen
=no
19093 rm conftest.
$ac_ext
19094 LIBS
=$ac_func_search_save_LIBS
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19097 $as_echo "$ac_cv_search_dlopen" >&6; }
19098 ac_res
=$ac_cv_search_dlopen
19099 if test "$ac_res" != no
; then :
19100 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19106 if test "x$alpine_DL" = "xnone" ; then
19107 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
19111 if test "x$alpine_SSLTYPE" != "xnone" ; then
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
19113 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
19114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19118 #include <stdlib.h>
19120 #include <stdint.h>
19121 #endif /* HAVE_STDINT_H */
19122 #include <openssl/ssl.h>
19128 #if OPENSSL_VERSION_NUMBER < 0x20000000L
19136 if ac_fn_c_try_compile
"$LINENO"; then :
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19138 $as_echo "yes" >&6; }
19139 alpine_SSLPROVIDER
="libressl"
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19143 $as_echo "no" >&6; }
19146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19149 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
19151 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
19152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19153 /* end confdefs.h. */
19156 #include <stdlib.h>
19158 #include <stdint.h>
19159 #endif /* HAVE_STDINT_H */
19160 #include <openssl/ssl.h>
19166 #if OPENSSL_VERSION_NUMBER < 0x1000003fL
19174 if ac_fn_c_try_compile
"$LINENO"; then :
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19176 $as_echo "yes" >&6; }
19177 alpine_SSLPROVIDER
="openssl"
19180 alpine_SSLTYPE
="none"
19182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19184 if test "x$alpine_SSLTYPE" = "xnone" ; then
19185 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
19190 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
19192 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
19193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h. */
19197 #include <stdlib.h>
19199 #include <stdint.h>
19200 #endif /* HAVE_STDINT_H */
19201 #include <openssl/ssl.h>
19207 #if OPENSSL_VERSION_NUMBER < 0x10100000L
19215 if ac_fn_c_try_compile
"$LINENO"; then :
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19217 $as_echo "yes" >&6; }
19218 alpine_SSLVERSION
="new"
19219 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19223 $as_echo "no" >&6; }
19224 alpine_SSLVERSION
="old"
19226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19229 if test "x$alpine_SSLTYPE" != "xnone" ; then
19230 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
19232 $as_echo_n "checking for library containing SSLeay... " >&6; }
19233 if ${ac_cv_search_SSLeay+:} false
; then :
19234 $as_echo_n "(cached) " >&6
19236 ac_func_search_save_LIBS
=$LIBS
19237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19240 /* Override any GCC internal prototype to avoid an error.
19241 Use char because int might match the return type of a GCC
19242 builtin and then its argument prototype would still apply. */
19255 for ac_lib
in '' crypto
; do
19256 if test -z "$ac_lib"; then
19257 ac_res
="none required"
19260 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19262 if ac_fn_c_try_link
"$LINENO"; then :
19263 ac_cv_search_SSLeay
=$ac_res
19265 rm -f core conftest.err conftest.
$ac_objext \
19267 if ${ac_cv_search_SSLeay+:} false
; then :
19271 if ${ac_cv_search_SSLeay+:} false
; then :
19274 ac_cv_search_SSLeay
=no
19276 rm conftest.
$ac_ext
19277 LIBS
=$ac_func_search_save_LIBS
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
19280 $as_echo "$ac_cv_search_SSLeay" >&6; }
19281 ac_res
=$ac_cv_search_SSLeay
19282 if test "$ac_res" != no
; then :
19283 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19286 alpine_CRYPTO
="none"
19290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
19291 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
19292 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19293 $as_echo_n "(cached) " >&6
19295 ac_func_search_save_LIBS
=$LIBS
19296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19297 /* end confdefs.h. */
19299 /* Override any GCC internal prototype to avoid an error.
19300 Use char because int might match the return type of a GCC
19301 builtin and then its argument prototype would still apply. */
19305 char OpenSSL_version_num ();
19309 return OpenSSL_version_num ();
19314 for ac_lib
in '' crypto
; do
19315 if test -z "$ac_lib"; then
19316 ac_res
="none required"
19319 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19321 if ac_fn_c_try_link
"$LINENO"; then :
19322 ac_cv_search_OpenSSL_version_num
=$ac_res
19324 rm -f core conftest.err conftest.
$ac_objext \
19326 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19330 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19333 ac_cv_search_OpenSSL_version_num
=no
19335 rm conftest.
$ac_ext
19336 LIBS
=$ac_func_search_save_LIBS
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
19339 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
19340 ac_res
=$ac_cv_search_OpenSSL_version_num
19341 if test "$ac_res" != no
; then :
19342 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19345 alpine_CRYPTO
="none"
19349 if test "x$alpine_CRYPTO" = "xnone" ; then
19350 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
19355 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
19356 if test "x$ac_cv_header_crypto_h" = xyes
; then :
19359 alpine_CRYPTO_DEVEL
="none"
19363 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
19364 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
19372 if test "x$alpine_SSLTYPE" != "xnone" ; then
19373 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
19375 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
19376 if ${ac_cv_search_SSL_library_init+:} false
; then :
19377 $as_echo_n "(cached) " >&6
19379 ac_func_search_save_LIBS
=$LIBS
19380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19381 /* end confdefs.h. */
19383 /* Override any GCC internal prototype to avoid an error.
19384 Use char because int might match the return type of a GCC
19385 builtin and then its argument prototype would still apply. */
19389 char SSL_library_init ();
19393 return SSL_library_init ();
19398 for ac_lib
in '' ssl
; do
19399 if test -z "$ac_lib"; then
19400 ac_res
="none required"
19403 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19405 if ac_fn_c_try_link
"$LINENO"; then :
19406 ac_cv_search_SSL_library_init
=$ac_res
19408 rm -f core conftest.err conftest.
$ac_objext \
19410 if ${ac_cv_search_SSL_library_init+:} false
; then :
19414 if ${ac_cv_search_SSL_library_init+:} false
; then :
19417 ac_cv_search_SSL_library_init
=no
19419 rm conftest.
$ac_ext
19420 LIBS
=$ac_func_search_save_LIBS
19422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
19423 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
19424 ac_res
=$ac_cv_search_SSL_library_init
19425 if test "$ac_res" != no
; then :
19426 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19429 alpine_SSLTYPE
="none"
19432 if test "x$alpine_SSLTYPE" = "xnone" ; then
19433 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
19438 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
19439 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19440 $as_echo_n "(cached) " >&6
19442 ac_func_search_save_LIBS
=$LIBS
19443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19444 /* end confdefs.h. */
19446 /* Override any GCC internal prototype to avoid an error.
19447 Use char because int might match the return type of a GCC
19448 builtin and then its argument prototype would still apply. */
19452 char OPENSSL_init_ssl ();
19456 return OPENSSL_init_ssl ();
19461 for ac_lib
in '' ssl
; do
19462 if test -z "$ac_lib"; then
19463 ac_res
="none required"
19466 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19468 if ac_fn_c_try_link
"$LINENO"; then :
19469 ac_cv_search_OPENSSL_init_ssl
=$ac_res
19471 rm -f core conftest.err conftest.
$ac_objext \
19473 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19477 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19480 ac_cv_search_OPENSSL_init_ssl
=no
19482 rm conftest.
$ac_ext
19483 LIBS
=$ac_func_search_save_LIBS
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
19486 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
19487 ac_res
=$ac_cv_search_OPENSSL_init_ssl
19488 if test "$ac_res" != no
; then :
19489 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19492 alpine_SSLTYPE
="none"
19495 if test "x$alpine_SSLTYPE" = "xnone" ; then
19496 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
19502 if test "$alpine_with_ldap" = "yes" ; then
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
19505 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
19506 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
19507 $as_echo_n "(cached) " >&6
19509 ac_check_lib_save_LIBS
=$LIBS
19510 LIBS
="-llber $LIBS"
19511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19514 /* Override any GCC internal prototype to avoid an error.
19515 Use char because int might match the return type of a GCC
19516 builtin and then its argument prototype would still apply. */
19524 return ber_alloc ();
19529 if ac_fn_c_try_link
"$LINENO"; then :
19530 ac_cv_lib_lber_ber_alloc
=yes
19532 ac_cv_lib_lber_ber_alloc
=no
19534 rm -f core conftest.err conftest.
$ac_objext \
19535 conftest
$ac_exeext conftest.
$ac_ext
19536 LIBS
=$ac_check_lib_save_LIBS
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
19539 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
19540 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
19542 LIBS
="$LIBS -llber"
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
19547 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
19548 if ${ac_cv_search_ldap_initialize+:} false
; then :
19549 $as_echo_n "(cached) " >&6
19551 ac_func_search_save_LIBS
=$LIBS
19552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19555 /* Override any GCC internal prototype to avoid an error.
19556 Use char because int might match the return type of a GCC
19557 builtin and then its argument prototype would still apply. */
19561 char ldap_initialize ();
19565 return ldap_initialize ();
19570 for ac_lib
in '' ldap
; do
19571 if test -z "$ac_lib"; then
19572 ac_res
="none required"
19575 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19577 if ac_fn_c_try_link
"$LINENO"; then :
19578 ac_cv_search_ldap_initialize
=$ac_res
19580 rm -f core conftest.err conftest.
$ac_objext \
19582 if ${ac_cv_search_ldap_initialize+:} false
; then :
19586 if ${ac_cv_search_ldap_initialize+:} false
; then :
19589 ac_cv_search_ldap_initialize
=no
19591 rm conftest.
$ac_ext
19592 LIBS
=$ac_func_search_save_LIBS
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
19595 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
19596 ac_res
=$ac_cv_search_ldap_initialize
19597 if test "$ac_res" != no
; then :
19598 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19600 alpine_has_ldap
=yes
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
19605 $as_echo_n "checking for library containing ldap_open... " >&6; }
19606 if ${ac_cv_search_ldap_open+:} false
; then :
19607 $as_echo_n "(cached) " >&6
19609 ac_func_search_save_LIBS
=$LIBS
19610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19613 /* Override any GCC internal prototype to avoid an error.
19614 Use char because int might match the return type of a GCC
19615 builtin and then its argument prototype would still apply. */
19623 return ldap_open ();
19628 for ac_lib
in '' ldap
; do
19629 if test -z "$ac_lib"; then
19630 ac_res
="none required"
19633 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19635 if ac_fn_c_try_link
"$LINENO"; then :
19636 ac_cv_search_ldap_open
=$ac_res
19638 rm -f core conftest.err conftest.
$ac_objext \
19640 if ${ac_cv_search_ldap_open+:} false
; then :
19644 if ${ac_cv_search_ldap_open+:} false
; then :
19647 ac_cv_search_ldap_open
=no
19649 rm conftest.
$ac_ext
19650 LIBS
=$ac_func_search_save_LIBS
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
19653 $as_echo "$ac_cv_search_ldap_open" >&6; }
19654 ac_res
=$ac_cv_search_ldap_open
19655 if test "$ac_res" != no
; then :
19656 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19658 alpine_has_ldap
=yes
19666 if test "$alpine_has_ldap" = "yes" ; then
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
19668 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
19670 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
19675 if test "x$alpine_PAM" != "xnone" ; then
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
19677 $as_echo_n "checking for library containing pam_start... " >&6; }
19678 if ${ac_cv_search_pam_start+:} false
; then :
19679 $as_echo_n "(cached) " >&6
19681 ac_func_search_save_LIBS
=$LIBS
19682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19683 /* end confdefs.h. */
19685 /* Override any GCC internal prototype to avoid an error.
19686 Use char because int might match the return type of a GCC
19687 builtin and then its argument prototype would still apply. */
19695 return pam_start ();
19700 for ac_lib
in '' pam
; do
19701 if test -z "$ac_lib"; then
19702 ac_res
="none required"
19705 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19707 if ac_fn_c_try_link
"$LINENO"; then :
19708 ac_cv_search_pam_start
=$ac_res
19710 rm -f core conftest.err conftest.
$ac_objext \
19712 if ${ac_cv_search_pam_start+:} false
; then :
19716 if ${ac_cv_search_pam_start+:} false
; then :
19719 ac_cv_search_pam_start
=no
19721 rm conftest.
$ac_ext
19722 LIBS
=$ac_func_search_save_LIBS
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
19725 $as_echo "$ac_cv_search_pam_start" >&6; }
19726 ac_res
=$ac_cv_search_pam_start
19727 if test "$ac_res" != no
; then :
19728 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19731 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
19732 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
19737 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
19738 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
19741 if test "x$alpine_c_client_target" != "xoxp" ; then
19743 alpine_pam_none_reason
="header files not in security/ directory"
19749 alpine_pam_none_reason
="header files not found"
19762 alpine_pam_none_reason
="library files not found"
19766 if test -n "$alpine_pam_none_reason" ; then
19767 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
19772 if test "x$alpine_GSSTYPE" != "xnone" ; then
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
19774 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
19775 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19776 $as_echo_n "(cached) " >&6
19778 ac_func_search_save_LIBS
=$LIBS
19779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19780 /* end confdefs.h. */
19782 /* Override any GCC internal prototype to avoid an error.
19783 Use char because int might match the return type of a GCC
19784 builtin and then its argument prototype would still apply. */
19788 char gss_init_sec_context ();
19792 return gss_init_sec_context ();
19797 for ac_lib
in '' gss gssapi gssapi_krb5
; do
19798 if test -z "$ac_lib"; then
19799 ac_res
="none required"
19802 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19804 if ac_fn_c_try_link
"$LINENO"; then :
19805 ac_cv_search_gss_init_sec_context
=$ac_res
19807 rm -f core conftest.err conftest.
$ac_objext \
19809 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19813 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19816 ac_cv_search_gss_init_sec_context
=no
19818 rm conftest.
$ac_ext
19819 LIBS
=$ac_func_search_save_LIBS
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
19822 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
19823 ac_res
=$ac_cv_search_gss_init_sec_context
19824 if test "$ac_res" != no
; then :
19825 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19827 LIBS
="$LIBS -lkrb5"
19828 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
19829 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
19833 if test ! -d /usr
/kerberos
/include
; then
19834 alpine_GSSTYPE
="none"
19835 alpine_gss_none_reason
="header files not found"
19844 alpine_GSSTYPE
="none"
19845 alpine_gss_none_reason
="libraries not found"
19849 if test -n "$alpine_gss_none_reason" ; then
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
19851 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
19856 # Check whether --with-ntlm was given.
19857 if test "${with_ntlm+set}" = set; then :
19858 withval
=$with_ntlm; with_ntlm
=$withval
19862 if test "x$with_ntlm" = "xno" ; then
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
19868 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
19869 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19870 $as_echo_n "(cached) " >&6
19872 ac_func_search_save_LIBS
=$LIBS
19873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19876 /* Override any GCC internal prototype to avoid an error.
19877 Use char because int might match the return type of a GCC
19878 builtin and then its argument prototype would still apply. */
19882 char buildSmbNtlmAuthRequest ();
19886 return buildSmbNtlmAuthRequest ();
19891 for ac_lib
in '' ntlm
; do
19892 if test -z "$ac_lib"; then
19893 ac_res
="none required"
19896 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19898 if ac_fn_c_try_link
"$LINENO"; then :
19899 ac_cv_search_buildSmbNtlmAuthRequest
=$ac_res
19901 rm -f core conftest.err conftest.
$ac_objext \
19903 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19907 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19910 ac_cv_search_buildSmbNtlmAuthRequest
=no
19912 rm conftest.
$ac_ext
19913 LIBS
=$ac_func_search_save_LIBS
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_buildSmbNtlmAuthRequest" >&5
19916 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
19917 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
19918 if test "$ac_res" != no
; then :
19919 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19921 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
19922 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
19924 extra_auth_ntlm
=ntl
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
19926 $as_echo "$as_me: including NTLM support" >&6;}
19931 alpine_ntlm_none_reason
="header file ntlm.h not found"
19940 alpine_ntlm_none_reason
="ntlm library not found"
19944 if test -n "$alpine_ntlm_none_reason" ; then
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
19946 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
19950 if test -n "$WEB_BUILD" ; then
19951 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
19952 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
19953 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
19955 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
19956 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19957 $as_echo_n "(cached) " >&6
19959 ac_func_search_save_LIBS
=$LIBS
19960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19961 /* end confdefs.h. */
19963 /* Override any GCC internal prototype to avoid an error.
19964 Use char because int might match the return type of a GCC
19965 builtin and then its argument prototype would still apply. */
19973 return Tcl_Eval ();
19978 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
19979 if test -z "$ac_lib"; then
19980 ac_res
="none required"
19983 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19985 if ac_fn_c_try_link
"$LINENO"; then :
19986 ac_cv_search_Tcl_Eval
=$ac_res
19988 rm -f core conftest.err conftest.
$ac_objext \
19990 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19994 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19997 ac_cv_search_Tcl_Eval
=no
19999 rm conftest.
$ac_ext
20000 LIBS
=$ac_func_search_save_LIBS
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
20003 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
20004 ac_res
=$ac_cv_search_Tcl_Eval
20005 if test "$ac_res" != no
; then :
20006 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20015 if test -n "$alpine_TCLINC" ; then
20016 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
20017 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
20018 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20027 if test -z "$WEB_BUILD" ; then
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
20029 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
20032 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
20033 if test "x$ac_cv_header_tcl_h" = xyes
; then :
20037 for base
in /usr
/usr
/local ; do
20038 for dir
in ${TCL_VERSIONS} ; do
20039 if test -f $base/include
/$dir/tcl.h
; then
20040 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
20045 if test "x$found" = "xyes" ; then
20049 if test "$found" != "yes" ; then
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
20052 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
20061 if test "x$alpine_REGEX" != "xyes" ; then
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
20063 $as_echo_n "checking for library containing regcomp... " >&6; }
20064 if ${ac_cv_search_regcomp+:} false
; then :
20065 $as_echo_n "(cached) " >&6
20067 ac_func_search_save_LIBS
=$LIBS
20068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20071 /* Override any GCC internal prototype to avoid an error.
20072 Use char because int might match the return type of a GCC
20073 builtin and then its argument prototype would still apply. */
20086 for ac_lib
in '' posix regexp regex re
; do
20087 if test -z "$ac_lib"; then
20088 ac_res
="none required"
20091 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20093 if ac_fn_c_try_link
"$LINENO"; then :
20094 ac_cv_search_regcomp
=$ac_res
20096 rm -f core conftest.err conftest.
$ac_objext \
20098 if ${ac_cv_search_regcomp+:} false
; then :
20102 if ${ac_cv_search_regcomp+:} false
; then :
20105 ac_cv_search_regcomp
=no
20107 rm conftest.
$ac_ext
20108 LIBS
=$ac_func_search_save_LIBS
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
20111 $as_echo "$ac_cv_search_regcomp" >&6; }
20112 ac_res
=$ac_cv_search_regcomp
20113 if test "$ac_res" != no
; then :
20114 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20118 if test x
$alpine_REGEX = "xno" ; then
20119 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
20127 if test "x$alpine_REGEX" != "xyes" ; then
20128 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
20129 if test "x$ac_cv_header_regex_h" = xyes
; then :
20133 if test x
$alpine_REGEX = "xno" ; then
20134 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
20144 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
20146 if test "x$alpine_REGEX" = "xyes" ; then
20147 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
20148 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
20150 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
20153 if test "x$with_pthread" != "xno" ; then
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
20155 $as_echo_n "checking for pthread support... " >&6; }
20160 ac_cpp
='$CPP $CPPFLAGS'
20161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20167 # We used to check for pthread.h first, but this fails if pthread.h
20168 # requires special compiler flags (e.g. on True64 or Sequent).
20169 # It gets checked for in the link test anyway.
20171 # First of all, check if the user has set any of the PTHREAD_LIBS,
20172 # etcetera environment variables, and if threads linking works using
20174 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
20175 save_CFLAGS
="$CFLAGS"
20176 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20178 LIBS
="$PTHREAD_LIBS $LIBS"
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
20180 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
20181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20182 /* end confdefs.h. */
20184 /* Override any GCC internal prototype to avoid an error.
20185 Use char because int might match the return type of a GCC
20186 builtin and then its argument prototype would still apply. */
20190 char pthread_join ();
20194 return pthread_join ();
20199 if ac_fn_c_try_link
"$LINENO"; then :
20202 rm -f core conftest.err conftest.
$ac_objext \
20203 conftest
$ac_exeext conftest.
$ac_ext
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20205 $as_echo "$acx_pthread_ok" >&6; }
20206 if test x
"$acx_pthread_ok" = xno
; then
20211 CFLAGS
="$save_CFLAGS"
20214 # We must check for the threads library under a number of different
20215 # names; the ordering is very important because some systems
20216 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
20217 # libraries is broken (non-POSIX).
20219 # Create a list of thread flags to try. Items starting with a "-" are
20220 # C compiler flags, and other items are library names, except for "none"
20221 # which indicates that we try without any flags at all, and "pthread-config"
20222 # which is a program returning the flags for the Pth emulation library.
20224 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
20226 # The ordering *is* (sometimes) important. Some notes on the
20227 # individual items follow:
20229 # pthreads: AIX (must check this before -lpthread)
20230 # none: in case threads are in libc; should be tried before -Kthread and
20231 # other compiler flags to prevent continual compiler warnings
20232 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
20233 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
20234 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
20235 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
20236 # -pthreads: Solaris/gcc
20237 # -mthreads: Mingw32/gcc, Lynx/gcc
20238 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
20239 # doesn't hurt to check since this sometimes defines pthreads too;
20240 # also defines -D_REENTRANT)
20241 # ... -mt is also the pthreads flag for HP/aCC
20242 # pthread: Linux, etcetera
20243 # --thread-safe: KAI C++
20244 # pthread-config: use pthread-config program (for GNU Pth library)
20246 case "${host_cpu}-${host_os}" in
20249 # On Solaris (at least, for some versions), libc contains stubbed
20250 # (non-functional) versions of the pthreads routines, so link-based
20251 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
20252 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
20253 # a function called by this macro, so we could check for that, but
20254 # who knows whether they'll stub that too in a future libc.) So,
20255 # we'll just look for -pthreads and -lpthread first:
20257 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
20261 if test x
"$acx_pthread_ok" = xno
; then
20262 for flag
in $acx_pthread_flags; do
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
20267 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
20272 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
20273 PTHREAD_CFLAGS
="$flag"
20277 # Extract the first word of "pthread-config", so it can be a program name with args.
20278 set dummy pthread-config
; ac_word
=$2
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20280 $as_echo_n "checking for $ac_word... " >&6; }
20281 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
20282 $as_echo_n "(cached) " >&6
20284 if test -n "$acx_pthread_config"; then
20285 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
20287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20288 for as_dir
in $PATH
20291 test -z "$as_dir" && as_dir
=.
20292 for ac_exec_ext
in '' $ac_executable_extensions; do
20293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20294 ac_cv_prog_acx_pthread_config
="yes"
20295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20302 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
20305 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
20306 if test -n "$acx_pthread_config"; then
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
20308 $as_echo "$acx_pthread_config" >&6; }
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20311 $as_echo "no" >&6; }
20315 if test x
"$acx_pthread_config" = xno
; then continue; fi
20316 PTHREAD_CFLAGS
="`pthread-config --cflags`"
20317 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
20322 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
20323 PTHREAD_LIBS
="-l$flag"
20328 save_CFLAGS
="$CFLAGS"
20329 LIBS
="$PTHREAD_LIBS $LIBS"
20330 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20332 # Check for various functions. We must include pthread.h,
20333 # since some functions may be macros. (On the Sequent, we
20334 # need a special flag -Kthread to make this header compile.)
20335 # We check for pthread_join because it is in -lpthread on IRIX
20336 # while pthread_create is in libc. We check for pthread_attr_init
20337 # due to DEC craziness with -lpthreads. We check for
20338 # pthread_cleanup_push because it is one of the few pthread
20339 # functions on Solaris that doesn't have a non-functional libc stub.
20340 # We try pthread_create on general principles.
20341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20342 /* end confdefs.h. */
20343 #include <pthread.h>
20347 pthread_t th; pthread_join(th, 0);
20348 pthread_attr_init(0); pthread_cleanup_push(0, 0);
20349 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
20354 if ac_fn_c_try_link
"$LINENO"; then :
20357 rm -f core conftest.err conftest.
$ac_objext \
20358 conftest
$ac_exeext conftest.
$ac_ext
20361 CFLAGS
="$save_CFLAGS"
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20364 $as_echo "$acx_pthread_ok" >&6; }
20365 if test "x$acx_pthread_ok" = xyes
; then
20374 # Various other checks:
20375 if test "x$acx_pthread_ok" = xyes
; then
20377 LIBS
="$PTHREAD_LIBS $LIBS"
20378 save_CFLAGS
="$CFLAGS"
20379 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20381 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
20383 $as_echo_n "checking for joinable pthread attribute... " >&6; }
20385 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
20386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20387 /* end confdefs.h. */
20388 #include <pthread.h>
20392 int attr=$attr; return attr;
20397 if ac_fn_c_try_link
"$LINENO"; then :
20398 attr_name
=$attr; break
20400 rm -f core conftest.err conftest.
$ac_objext \
20401 conftest
$ac_exeext conftest.
$ac_ext
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
20404 $as_echo "$attr_name" >&6; }
20405 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
20407 cat >>confdefs.h
<<_ACEOF
20408 #define PTHREAD_CREATE_JOINABLE $attr_name
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
20414 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
20416 case "${host_cpu}-${host_os}" in
20417 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
20418 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
20421 $as_echo "${flag}" >&6; }
20422 if test "x$flag" != xno
; then
20423 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
20427 CFLAGS
="$save_CFLAGS"
20429 # More AIX lossage: must compile with xlc_r or cc_r
20430 if test x
"$GCC" != xyes
; then
20431 for ac_prog
in xlc_r cc_r
20433 # Extract the first word of "$ac_prog", so it can be a program name with args.
20434 set dummy
$ac_prog; ac_word
=$2
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20436 $as_echo_n "checking for $ac_word... " >&6; }
20437 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
20438 $as_echo_n "(cached) " >&6
20440 if test -n "$PTHREAD_CC"; then
20441 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
20443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20444 for as_dir
in $PATH
20447 test -z "$as_dir" && as_dir
=.
20448 for ac_exec_ext
in '' $ac_executable_extensions; do
20449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20450 ac_cv_prog_PTHREAD_CC
="$ac_prog"
20451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20460 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
20461 if test -n "$PTHREAD_CC"; then
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20463 $as_echo "$PTHREAD_CC" >&6; }
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20466 $as_echo "no" >&6; }
20470 test -n "$PTHREAD_CC" && break
20472 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
20485 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20486 if test x
"$acx_pthread_ok" = xyes
; then
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20489 $as_echo "yes" >&6; }
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
20493 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
20494 AM_CFLAGS
="$AM_CFLAGS -pthread"
20497 LIBS
="$PTHREAD_LIBS $LIBS"
20498 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
20501 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20509 $as_echo "no" >&6; }
20513 ac_cpp
='$CPP $CPPFLAGS'
20514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20521 $as_echo_n "checking for library containing nanosleep... " >&6; }
20522 if ${ac_cv_search_nanosleep+:} false
; then :
20523 $as_echo_n "(cached) " >&6
20525 ac_func_search_save_LIBS
=$LIBS
20526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20527 /* end confdefs.h. */
20529 /* Override any GCC internal prototype to avoid an error.
20530 Use char because int might match the return type of a GCC
20531 builtin and then its argument prototype would still apply. */
20539 return nanosleep ();
20544 for ac_lib
in '' rt posix4
; do
20545 if test -z "$ac_lib"; then
20546 ac_res
="none required"
20549 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20551 if ac_fn_c_try_link
"$LINENO"; then :
20552 ac_cv_search_nanosleep
=$ac_res
20554 rm -f core conftest.err conftest.
$ac_objext \
20556 if ${ac_cv_search_nanosleep+:} false
; then :
20560 if ${ac_cv_search_nanosleep+:} false
; then :
20563 ac_cv_search_nanosleep
=no
20565 rm conftest.
$ac_ext
20566 LIBS
=$ac_func_search_save_LIBS
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20569 $as_echo "$ac_cv_search_nanosleep" >&6; }
20570 ac_res
=$ac_cv_search_nanosleep
20571 if test "$ac_res" != no
; then :
20572 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20575 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20586 $as_echo_n "checking for ANSI C header files... " >&6; }
20587 if ${ac_cv_header_stdc+:} false
; then :
20588 $as_echo_n "(cached) " >&6
20590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20591 /* end confdefs.h. */
20592 #include <stdlib.h>
20593 #include <stdarg.h>
20594 #include <string.h>
20605 if ac_fn_c_try_compile
"$LINENO"; then :
20606 ac_cv_header_stdc
=yes
20608 ac_cv_header_stdc
=no
20610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20612 if test $ac_cv_header_stdc = yes; then
20613 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20615 /* end confdefs.h. */
20616 #include <string.h>
20619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20620 $EGREP "memchr" >/dev
/null
2>&1; then :
20623 ac_cv_header_stdc
=no
20629 if test $ac_cv_header_stdc = yes; then
20630 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20633 #include <stdlib.h>
20636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20637 $EGREP "free" >/dev
/null
2>&1; then :
20640 ac_cv_header_stdc
=no
20646 if test $ac_cv_header_stdc = yes; then
20647 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20648 if test "$cross_compiling" = yes; then :
20651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 #include <stdlib.h>
20655 #if ((' ' & 0x0FF) == 0x020)
20656 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20657 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20659 # define ISLOWER(c) \
20660 (('a' <= (c) && (c) <= 'i') \
20661 || ('j' <= (c) && (c) <= 'r') \
20662 || ('s' <= (c) && (c) <= 'z'))
20663 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20671 for (i = 0; i < 256; i++)
20672 if (XOR (islower (i), ISLOWER (i))
20673 || toupper (i) != TOUPPER (i))
20678 if ac_fn_c_try_run
"$LINENO"; then :
20681 ac_cv_header_stdc
=no
20683 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20684 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20690 $as_echo "$ac_cv_header_stdc" >&6; }
20691 if test $ac_cv_header_stdc = yes; then
20693 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20697 ac_header_dirent
=no
20698 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
20699 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
20701 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
20702 if eval \
${$as_ac_Header+:} false
; then :
20703 $as_echo_n "(cached) " >&6
20705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h. */
20707 #include <sys/types.h>
20719 if ac_fn_c_try_compile
"$LINENO"; then :
20720 eval "$as_ac_Header=yes"
20722 eval "$as_ac_Header=no"
20724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20726 eval ac_res
=\$
$as_ac_Header
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20728 $as_echo "$ac_res" >&6; }
20729 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20730 cat >>confdefs.h
<<_ACEOF
20731 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20734 ac_header_dirent
=$ac_hdr; break
20738 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20739 if test $ac_header_dirent = dirent.h
; then
20740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20741 $as_echo_n "checking for library containing opendir... " >&6; }
20742 if ${ac_cv_search_opendir+:} false
; then :
20743 $as_echo_n "(cached) " >&6
20745 ac_func_search_save_LIBS
=$LIBS
20746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20747 /* end confdefs.h. */
20749 /* Override any GCC internal prototype to avoid an error.
20750 Use char because int might match the return type of a GCC
20751 builtin and then its argument prototype would still apply. */
20764 for ac_lib
in '' dir
; do
20765 if test -z "$ac_lib"; then
20766 ac_res
="none required"
20769 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20771 if ac_fn_c_try_link
"$LINENO"; then :
20772 ac_cv_search_opendir
=$ac_res
20774 rm -f core conftest.err conftest.
$ac_objext \
20776 if ${ac_cv_search_opendir+:} false
; then :
20780 if ${ac_cv_search_opendir+:} false
; then :
20783 ac_cv_search_opendir
=no
20785 rm conftest.
$ac_ext
20786 LIBS
=$ac_func_search_save_LIBS
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20789 $as_echo "$ac_cv_search_opendir" >&6; }
20790 ac_res
=$ac_cv_search_opendir
20791 if test "$ac_res" != no
; then :
20792 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20798 $as_echo_n "checking for library containing opendir... " >&6; }
20799 if ${ac_cv_search_opendir+:} false
; then :
20800 $as_echo_n "(cached) " >&6
20802 ac_func_search_save_LIBS
=$LIBS
20803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20804 /* end confdefs.h. */
20806 /* Override any GCC internal prototype to avoid an error.
20807 Use char because int might match the return type of a GCC
20808 builtin and then its argument prototype would still apply. */
20821 for ac_lib
in '' x
; do
20822 if test -z "$ac_lib"; then
20823 ac_res
="none required"
20826 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20828 if ac_fn_c_try_link
"$LINENO"; then :
20829 ac_cv_search_opendir
=$ac_res
20831 rm -f core conftest.err conftest.
$ac_objext \
20833 if ${ac_cv_search_opendir+:} false
; then :
20837 if ${ac_cv_search_opendir+:} false
; then :
20840 ac_cv_search_opendir
=no
20842 rm conftest.
$ac_ext
20843 LIBS
=$ac_func_search_save_LIBS
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20846 $as_echo "$ac_cv_search_opendir" >&6; }
20847 ac_res
=$ac_cv_search_opendir
20848 if test "$ac_res" != no
; then :
20849 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
20856 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
20857 if ${ac_cv_header_stat_broken+:} false
; then :
20858 $as_echo_n "(cached) " >&6
20860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20861 /* end confdefs.h. */
20862 #include <sys/types.h>
20863 #include <sys/stat.h>
20865 #if defined S_ISBLK && defined S_IFDIR
20866 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
20869 #if defined S_ISBLK && defined S_IFCHR
20870 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
20873 #if defined S_ISLNK && defined S_IFREG
20874 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
20877 #if defined S_ISSOCK && defined S_IFREG
20878 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20882 if ac_fn_c_try_compile
"$LINENO"; then :
20883 ac_cv_header_stat_broken
=no
20885 ac_cv_header_stat_broken
=yes
20887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
20890 $as_echo "$ac_cv_header_stat_broken" >&6; }
20891 if test $ac_cv_header_stat_broken = yes; then
20893 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
20897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
20898 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
20899 if ${ac_cv_header_sys_wait_h+:} false
; then :
20900 $as_echo_n "(cached) " >&6
20902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20904 #include <sys/types.h>
20905 #include <sys/wait.h>
20906 #ifndef WEXITSTATUS
20907 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
20910 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
20918 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
20923 if ac_fn_c_try_compile
"$LINENO"; then :
20924 ac_cv_header_sys_wait_h
=yes
20926 ac_cv_header_sys_wait_h
=no
20928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
20931 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
20932 if test $ac_cv_header_sys_wait_h = yes; then
20934 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
20939 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
20940 if ${ac_cv_header_time+:} false
; then :
20941 $as_echo_n "(cached) " >&6
20943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20944 /* end confdefs.h. */
20945 #include <sys/types.h>
20946 #include <sys/time.h>
20952 if ((struct tm *) 0)
20958 if ac_fn_c_try_compile
"$LINENO"; then :
20959 ac_cv_header_time
=yes
20961 ac_cv_header_time
=no
20963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
20966 $as_echo "$ac_cv_header_time" >&6; }
20967 if test $ac_cv_header_time = yes; then
20969 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
20973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
20974 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
20975 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
20976 $as_echo_n "(cached) " >&6
20978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20979 /* end confdefs.h. */
20980 #include <sys/types.h>
20981 #include <termios.h>
20987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20988 $EGREP "yes" >/dev
/null
2>&1; then :
20989 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
20991 ac_cv_sys_tiocgwinsz_in_termios_h
=no
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
20997 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
20999 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
21001 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
21002 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
21003 $as_echo_n "(cached) " >&6
21005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21007 #include <sys/types.h>
21008 #include <sys/ioctl.h>
21014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21015 $EGREP "yes" >/dev
/null
2>&1; then :
21016 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
21018 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
21024 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
21026 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
21028 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
21034 for ac_header
in unistd.h
21036 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21037 if test "x$ac_cv_header_unistd_h" = xyes
; then :
21038 cat >>confdefs.h
<<_ACEOF
21039 #define HAVE_UNISTD_H 1
21047 for ac_header
in errno.h \
21073 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21074 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21075 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21076 cat >>confdefs.h
<<_ACEOF
21077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21085 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
21086 if test "x$ac_cv_header_termios_h" = xyes
; then :
21088 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
21092 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
21093 if test "x$ac_cv_header_termio_h" = xyes
; then :
21095 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
21099 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
21100 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
21102 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
21106 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
21123 $as_echo_n "checking return type of signal handlers... " >&6; }
21124 if ${ac_cv_type_signal+:} false
; then :
21125 $as_echo_n "(cached) " >&6
21127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h. */
21129 #include <sys/types.h>
21130 #include <signal.h>
21135 return *(signal (0, 0)) (0) == 1;
21140 if ac_fn_c_try_compile
"$LINENO"; then :
21141 ac_cv_type_signal
=int
21143 ac_cv_type_signal
=void
21145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
21148 $as_echo "$ac_cv_type_signal" >&6; }
21150 cat >>confdefs.h
<<_ACEOF
21151 #define RETSIGTYPE $ac_cv_type_signal
21155 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
21156 if test "x$ac_cv_type_size_t" = xyes
; then :
21160 cat >>confdefs.h
<<_ACEOF
21161 #define size_t unsigned int
21166 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
21167 if test "x$ac_cv_type_mode_t" = xyes
; then :
21171 cat >>confdefs.h
<<_ACEOF
21177 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
21178 if test "x$ac_cv_type_pid_t" = xyes
; then :
21182 cat >>confdefs.h
<<_ACEOF
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
21189 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
21190 if ${ac_cv_type_uid_t+:} false
; then :
21191 $as_echo_n "(cached) " >&6
21193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h. */
21195 #include <sys/types.h>
21198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21199 $EGREP "uid_t" >/dev
/null
2>&1; then :
21200 ac_cv_type_uid_t
=yes
21202 ac_cv_type_uid_t
=no
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
21208 $as_echo "$ac_cv_type_uid_t" >&6; }
21209 if test $ac_cv_type_uid_t = no
; then
21211 $as_echo "#define uid_t int" >>confdefs.h
21214 $as_echo "#define gid_t int" >>confdefs.h
21218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21219 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21220 if ${ac_cv_struct_tm+:} false
; then :
21221 $as_echo_n "(cached) " >&6
21223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21225 #include <sys/types.h>
21232 int *p = &tm.tm_sec;
21238 if ac_fn_c_try_compile
"$LINENO"; then :
21239 ac_cv_struct_tm
=time.h
21241 ac_cv_struct_tm
=sys
/time.h
21243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21246 $as_echo "$ac_cv_struct_tm" >&6; }
21247 if test $ac_cv_struct_tm = sys
/time.h
; then
21249 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21254 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
21255 if test "x$ac_cv_type_union_wait" = xyes
; then :
21257 cat >>confdefs.h
<<_ACEOF
21258 #define HAVE_UNION_WAIT 1
21265 for ac_header
in stdint.h
21267 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21268 if test "x$ac_cv_header_stdint_h" = xyes
; then :
21269 cat >>confdefs.h
<<_ACEOF
21270 #define HAVE_STDINT_H 1
21275 for ac_header
in inttypes.h
21277 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
21278 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
21279 cat >>confdefs.h
<<_ACEOF
21280 #define HAVE_INTTYPES_H 1
21285 for ac_header
in sys
/types.h
21287 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
21288 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
21289 cat >>confdefs.h
<<_ACEOF
21290 #define HAVE_SYS_TYPES_H 1
21295 # The cast to long int works around a bug in the HP C Compiler
21296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21298 # This bug is HP SR number 8606223364.
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
21300 $as_echo_n "checking size of unsigned short... " >&6; }
21301 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
21302 $as_echo_n "(cached) " >&6
21304 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
21307 if test "$ac_cv_type_unsigned_short" = yes; then
21308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21310 as_fn_error
77 "cannot compute sizeof (unsigned short)
21311 See \`config.log' for more details" "$LINENO" 5; }
21313 ac_cv_sizeof_unsigned_short
=0
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
21319 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
21323 cat >>confdefs.h
<<_ACEOF
21324 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
21328 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
21329 uint16
="unsigned short"
21331 # The cast to long int works around a bug in the HP C Compiler
21332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21333 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21334 # This bug is HP SR number 8606223364.
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
21336 $as_echo_n "checking size of unsigned int... " >&6; }
21337 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
21338 $as_echo_n "(cached) " >&6
21340 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
21343 if test "$ac_cv_type_unsigned_int" = yes; then
21344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21346 as_fn_error
77 "cannot compute sizeof (unsigned int)
21347 See \`config.log' for more details" "$LINENO" 5; }
21349 ac_cv_sizeof_unsigned_int
=0
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
21355 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
21359 cat >>confdefs.h
<<_ACEOF
21360 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21364 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
21365 uint16
="unsigned int"
21367 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
21386 cat >>confdefs.h
<<_ACEOF
21387 #define UINT16 $uint16
21391 for ac_header
in stdint.h
21393 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21394 if test "x$ac_cv_header_stdint_h" = xyes
; then :
21395 cat >>confdefs.h
<<_ACEOF
21396 #define HAVE_STDINT_H 1
21401 for ac_header
in inttypes.h
21403 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
21404 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
21405 cat >>confdefs.h
<<_ACEOF
21406 #define HAVE_INTTYPES_H 1
21411 for ac_header
in sys
/types.h
21413 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
21414 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
21415 cat >>confdefs.h
<<_ACEOF
21416 #define HAVE_SYS_TYPES_H 1
21421 # The cast to long int works around a bug in the HP C Compiler
21422 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21423 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21424 # This bug is HP SR number 8606223364.
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
21426 $as_echo_n "checking size of unsigned int... " >&6; }
21427 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
21428 $as_echo_n "(cached) " >&6
21430 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
21433 if test "$ac_cv_type_unsigned_int" = yes; then
21434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21436 as_fn_error
77 "cannot compute sizeof (unsigned int)
21437 See \`config.log' for more details" "$LINENO" 5; }
21439 ac_cv_sizeof_unsigned_int
=0
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
21445 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
21449 cat >>confdefs.h
<<_ACEOF
21450 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21454 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
21455 uint32
="unsigned int"
21457 # The cast to long int works around a bug in the HP C Compiler
21458 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21459 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21460 # This bug is HP SR number 8606223364.
21461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
21462 $as_echo_n "checking size of unsigned long... " >&6; }
21463 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
21464 $as_echo_n "(cached) " >&6
21466 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
21469 if test "$ac_cv_type_unsigned_long" = yes; then
21470 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21472 as_fn_error
77 "cannot compute sizeof (unsigned long)
21473 See \`config.log' for more details" "$LINENO" 5; }
21475 ac_cv_sizeof_unsigned_long
=0
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
21481 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
21485 cat >>confdefs.h
<<_ACEOF
21486 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
21490 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
21491 uint32
="unsigned long"
21493 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
21512 cat >>confdefs.h
<<_ACEOF
21513 #define UINT32 $uint32
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
21518 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
21519 if ${ac_cv_func_qsort_argtype+:} false
; then :
21520 $as_echo_n "(cached) " >&6
21522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21523 /* end confdefs.h. */
21526 #include "stdlib.h"
21530 extern sortf(const void *, const void *);
21533 const void *b; { return 0; }
21539 qsort(base, 2, sizeof(char *), sortf);
21545 if ac_fn_c_try_compile
"$LINENO"; then :
21546 ac_cv_func_qsort_argtype
=void
21548 ac_cv_func_qsort_argtype
=char
21550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
21554 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
21556 cat >>confdefs.h
<<_ACEOF
21557 #define qsort_t $ac_cv_func_qsort_argtype
21562 for ac_header
in sys
/select.h sys
/socket.h
21564 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21565 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21566 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21567 cat >>confdefs.h
<<_ACEOF
21568 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
21576 $as_echo_n "checking types of arguments for select... " >&6; }
21577 if ${ac_cv_func_select_args+:} false
; then :
21578 $as_echo_n "(cached) " >&6
21580 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
21581 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
21582 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
21583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21585 $ac_includes_default
21586 #ifdef HAVE_SYS_SELECT_H
21587 # include <sys/select.h>
21589 #ifdef HAVE_SYS_SOCKET_H
21590 # include <sys/socket.h>
21596 extern int select ($ac_arg1,
21597 $ac_arg234, $ac_arg234, $ac_arg234,
21603 if ac_fn_c_try_compile
"$LINENO"; then :
21604 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
21606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21610 # Provide a safe default value.
21611 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
21615 $as_echo "$ac_cv_func_select_args" >&6; }
21616 ac_save_IFS
=$IFS; IFS
=','
21617 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
21621 cat >>confdefs.h
<<_ACEOF
21622 #define SELECT_TYPE_ARG1 $1
21626 cat >>confdefs.h
<<_ACEOF
21627 #define SELECT_TYPE_ARG234 ($2)
21631 cat >>confdefs.h
<<_ACEOF
21632 #define SELECT_TYPE_ARG5 ($3)
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
21639 $as_echo_n "checking for working strcoll... " >&6; }
21640 if ${ac_cv_func_strcoll_works+:} false
; then :
21641 $as_echo_n "(cached) " >&6
21643 if test "$cross_compiling" = yes; then :
21644 ac_cv_func_strcoll_works
=no
21646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21647 /* end confdefs.h. */
21648 $ac_includes_default
21652 return (strcoll ("abc", "def") >= 0 ||
21653 strcoll ("ABC", "DEF") >= 0 ||
21654 strcoll ("123", "456") >= 0)
21659 if ac_fn_c_try_run
"$LINENO"; then :
21660 ac_cv_func_strcoll_works
=yes
21662 ac_cv_func_strcoll_works
=no
21664 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21665 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
21670 $as_echo "$ac_cv_func_strcoll_works" >&6; }
21671 if test $ac_cv_func_strcoll_works = yes; then
21673 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
21679 for ac_header
in vfork.h
21681 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
21682 if test "x$ac_cv_header_vfork_h" = xyes
; then :
21683 cat >>confdefs.h
<<_ACEOF
21684 #define HAVE_VFORK_H 1
21691 for ac_func
in fork vfork
21693 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21694 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21695 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21696 cat >>confdefs.h
<<_ACEOF
21697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21703 if test "x$ac_cv_func_fork" = xyes
; then
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
21705 $as_echo_n "checking for working fork... " >&6; }
21706 if ${ac_cv_func_fork_works+:} false
; then :
21707 $as_echo_n "(cached) " >&6
21709 if test "$cross_compiling" = yes; then :
21710 ac_cv_func_fork_works
=cross
21712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21713 /* end confdefs.h. */
21714 $ac_includes_default
21719 /* By Ruediger Kuhlmann. */
21720 return fork () < 0;
21726 if ac_fn_c_try_run
"$LINENO"; then :
21727 ac_cv_func_fork_works
=yes
21729 ac_cv_func_fork_works
=no
21731 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21732 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
21737 $as_echo "$ac_cv_func_fork_works" >&6; }
21740 ac_cv_func_fork_works
=$ac_cv_func_fork
21742 if test "x$ac_cv_func_fork_works" = xcross
; then
21744 *-*-amigaos* |
*-*-msdosdjgpp*)
21745 # Override, as these systems have only a dummy fork() stub
21746 ac_cv_func_fork_works
=no
21749 ac_cv_func_fork_works
=yes
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21753 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21755 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21756 if test "x$ac_cv_func_vfork" = xyes
; then
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
21758 $as_echo_n "checking for working vfork... " >&6; }
21759 if ${ac_cv_func_vfork_works+:} false
; then :
21760 $as_echo_n "(cached) " >&6
21762 if test "$cross_compiling" = yes; then :
21763 ac_cv_func_vfork_works
=cross
21765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21767 /* Thanks to Paul Eggert for this test. */
21768 $ac_includes_default
21769 #include <sys/wait.h>
21770 #ifdef HAVE_VFORK_H
21771 # include <vfork.h>
21773 /* On some sparc systems, changes by the child to local and incoming
21774 argument registers are propagated back to the parent. The compiler
21775 is told about this with #include <vfork.h>, but some compilers
21776 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21777 static variable whose address is put into a register that is
21778 clobbered by the vfork. */
21781 sparc_address_test (int arg)
21783 sparc_address_test (arg) int arg;
21786 static pid_t child;
21804 pid_t parent = getpid ();
21807 sparc_address_test (0);
21812 /* Here is another test for sparc vfork register problems. This
21813 test uses lots of local variables, at least as many local
21814 variables as main has allocated so far including compiler
21815 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21816 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21817 reuse the register of parent for one of the local variables,
21818 since it will think that parent can't possibly be used any more
21819 in this routine. Assigning to the local variable will thus
21820 munge parent in the parent process. */
21822 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21823 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21824 /* Convince the compiler that p..p7 are live; otherwise, it might
21825 use the same hardware register for all 8 local variables. */
21826 if (p != p1 || p != p2 || p != p3 || p != p4
21827 || p != p5 || p != p6 || p != p7)
21830 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21831 from child file descriptors. If the child closes a descriptor
21832 before it execs or exits, this munges the parent's descriptor
21833 as well. Test for this by closing stdout in the child. */
21834 _exit(close(fileno(stdout)) != 0);
21839 while (wait(&status) != child)
21842 /* Was there some problem with vforking? */
21845 /* Did the child fail? (This shouldn't happen.) */
21848 /* Did the vfork/compiler bug occur? */
21849 || parent != getpid()
21851 /* Did the file descriptor bug occur? */
21852 || fstat(fileno(stdout), &st) != 0
21857 if ac_fn_c_try_run
"$LINENO"; then :
21858 ac_cv_func_vfork_works
=yes
21860 ac_cv_func_vfork_works
=no
21862 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21863 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
21868 $as_echo "$ac_cv_func_vfork_works" >&6; }
21871 if test "x$ac_cv_func_fork_works" = xcross
; then
21872 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21874 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21877 if test "x$ac_cv_func_vfork_works" = xyes
; then
21879 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
21883 $as_echo "#define vfork fork" >>confdefs.h
21886 if test "x$ac_cv_func_fork_works" = xyes
; then
21888 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
21892 for ac_func
in strchr \
21925 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21926 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21927 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21928 cat >>confdefs.h
<<_ACEOF
21929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
21937 $as_echo_n "checking for library containing gethostname... " >&6; }
21938 if ${ac_cv_search_gethostname+:} false
; then :
21939 $as_echo_n "(cached) " >&6
21941 ac_func_search_save_LIBS
=$LIBS
21942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h. */
21945 /* Override any GCC internal prototype to avoid an error.
21946 Use char because int might match the return type of a GCC
21947 builtin and then its argument prototype would still apply. */
21951 char gethostname ();
21955 return gethostname ();
21960 for ac_lib
in '' nsl
; do
21961 if test -z "$ac_lib"; then
21962 ac_res
="none required"
21965 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21967 if ac_fn_c_try_link
"$LINENO"; then :
21968 ac_cv_search_gethostname
=$ac_res
21970 rm -f core conftest.err conftest.
$ac_objext \
21972 if ${ac_cv_search_gethostname+:} false
; then :
21976 if ${ac_cv_search_gethostname+:} false
; then :
21979 ac_cv_search_gethostname
=no
21981 rm conftest.
$ac_ext
21982 LIBS
=$ac_func_search_save_LIBS
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
21985 $as_echo "$ac_cv_search_gethostname" >&6; }
21986 ac_res
=$ac_cv_search_gethostname
21987 if test "$ac_res" != no
; then :
21988 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
21994 $as_echo_n "checking for library containing socket... " >&6; }
21995 if ${ac_cv_search_socket+:} false
; then :
21996 $as_echo_n "(cached) " >&6
21998 ac_func_search_save_LIBS
=$LIBS
21999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22000 /* end confdefs.h. */
22002 /* Override any GCC internal prototype to avoid an error.
22003 Use char because int might match the return type of a GCC
22004 builtin and then its argument prototype would still apply. */
22017 for ac_lib
in '' socket
; do
22018 if test -z "$ac_lib"; then
22019 ac_res
="none required"
22022 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22024 if ac_fn_c_try_link
"$LINENO"; then :
22025 ac_cv_search_socket
=$ac_res
22027 rm -f core conftest.err conftest.
$ac_objext \
22029 if ${ac_cv_search_socket+:} false
; then :
22033 if ${ac_cv_search_socket+:} false
; then :
22036 ac_cv_search_socket
=no
22038 rm conftest.
$ac_ext
22039 LIBS
=$ac_func_search_save_LIBS
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
22042 $as_echo "$ac_cv_search_socket" >&6; }
22043 ac_res
=$ac_cv_search_socket
22044 if test "$ac_res" != no
; then :
22045 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
22055 $as_echo_n "checking for library containing bind... " >&6; }
22056 if ${ac_cv_search_bind+:} false
; then :
22057 $as_echo_n "(cached) " >&6
22059 ac_func_search_save_LIBS
=$LIBS
22060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22061 /* end confdefs.h. */
22063 /* Override any GCC internal prototype to avoid an error.
22064 Use char because int might match the return type of a GCC
22065 builtin and then its argument prototype would still apply. */
22078 for ac_lib
in '' bind; do
22079 if test -z "$ac_lib"; then
22080 ac_res
="none required"
22083 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22085 if ac_fn_c_try_link
"$LINENO"; then :
22086 ac_cv_search_bind
=$ac_res
22088 rm -f core conftest.err conftest.
$ac_objext \
22090 if ${ac_cv_search_bind+:} false
; then :
22094 if ${ac_cv_search_bind+:} false
; then :
22097 ac_cv_search_bind
=no
22099 rm conftest.
$ac_ext
22100 LIBS
=$ac_func_search_save_LIBS
22102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
22103 $as_echo "$ac_cv_search_bind" >&6; }
22104 ac_res
=$ac_cv_search_bind
22105 if test "$ac_res" != no
; then :
22106 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22115 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
22117 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22118 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22119 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22120 cat >>confdefs.h
<<_ACEOF
22121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22125 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
22130 for ac_func
in sigset sigrelse
22132 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22133 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22134 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22135 cat >>confdefs.h
<<_ACEOF
22136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22140 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
22152 $as_echo_n "checking for library containing syslog... " >&6; }
22153 if ${ac_cv_search_syslog+:} false
; then :
22154 $as_echo_n "(cached) " >&6
22156 ac_func_search_save_LIBS
=$LIBS
22157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22158 /* end confdefs.h. */
22160 /* Override any GCC internal prototype to avoid an error.
22161 Use char because int might match the return type of a GCC
22162 builtin and then its argument prototype would still apply. */
22175 for ac_lib
in '' bsd socket inet
; do
22176 if test -z "$ac_lib"; then
22177 ac_res
="none required"
22180 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22182 if ac_fn_c_try_link
"$LINENO"; then :
22183 ac_cv_search_syslog
=$ac_res
22185 rm -f core conftest.err conftest.
$ac_objext \
22187 if ${ac_cv_search_syslog+:} false
; then :
22191 if ${ac_cv_search_syslog+:} false
; then :
22194 ac_cv_search_syslog
=no
22196 rm conftest.
$ac_ext
22197 LIBS
=$ac_func_search_save_LIBS
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
22200 $as_echo "$ac_cv_search_syslog" >&6; }
22201 ac_res
=$ac_cv_search_syslog
22202 if test "$ac_res" != no
; then :
22203 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22206 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
22213 if test -n "$alpine_with_local_maildir" ; then
22214 alpine_local_maildir
=$alpine_with_local_maildir
22215 elif test -d /var
/spool
/mail ; then
22216 alpine_local_maildir
="/var/spool/mail"
22217 elif test -d /var
/mail ; then
22218 alpine_local_maildir
="/var/mail"
22220 alpine_local_maildir
="/usr/spool/mail"
22223 if test -n "$alpine_with_c_client_target" ; then
22224 alpine_c_client_target
=$alpine_with_c_client_target
22228 cat >>confdefs.h
<<_ACEOF
22229 #define SYSTYPE "$systype"
22233 cat >>confdefs.h
<<_ACEOF
22234 #define C_FILESEP '$alpine_path_delim'
22238 cat >>confdefs.h
<<_ACEOF
22239 #define S_FILESEP "$alpine_path_delim"
22243 cat >>confdefs.h
<<_ACEOF
22244 #define MAILDIR "$alpine_local_maildir"
22248 cat >>confdefs.h
<<_ACEOF
22249 #define MODE_READONLY $alpine_mode_readonly
22253 C_CLIENT_TARGET
=$alpine_c_client_target
22255 C_CLIENT_WITH_IPV6
=$c_client_ip6
22257 if test "x$alpine_SSLTYPE" = "xnone" ; then
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
22259 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
22260 c_client_specials
="${c_client_specials}SSLTYPE=none "
22263 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
22264 certdir
="$alpine_SSLCERTS"
22265 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
22266 certdir
="${alpine_SSLDIR}/certs"
22267 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
22268 certdir
="${alpine_SSLDIR}/ssl/certs"
22269 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
22270 certdir
="$alpine_SSLCERTS_ORIG"
22271 elif test -n "$alpine_SSLCERTS" ; then
22272 certdir
="$alpine_SSLCERTS"
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
22275 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
22278 if test "x$with_smime" != "xno" ; then
22279 if test -n "$certdir" ; then
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
22281 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
22283 $as_echo "#define SMIME /**/" >>confdefs.h
22286 cat >>confdefs.h
<<_ACEOF
22287 #define SMIME_SSLCERTS "$certdir"
22295 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
22296 SSL_BUNDLE_EXISTS
="no"
22297 SSL_PEM
="factory.pem ca-bundle.pem ca-bundle.crt ca-root-nss.crt"
22298 for SSL_BUNDLE
in $SSL_PEM
22300 if test -f ${certdir}/${SSL_BUNDLE} ; then
22301 SSL_BUNDLE_EXISTS
="yes"
22305 SSL_CERT_LINK
="yes"
22308 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
22310 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
22312 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
22314 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
22316 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
22319 if test -n "$alpine_SSLINCLUDE" ; then
22320 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
22323 if test -n "$alpine_SSLLIB" ; then
22324 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
22327 if test -n "$alpine_SSLDIR" ; then
22328 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
22331 if test -n "$certdir" ; then
22332 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
22335 if test -n "$alpine_SSLKEYS" ; then
22336 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
22341 if test "x$alpine_GSSTYPE" != "xnone" ; then
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
22344 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
22348 if test "x$alpine_NTLM" != "xnone" ; then
22349 extra_auth_ntlm
=ntl
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
22351 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
22354 if test -n "$CPPFLAGS" ; then
22355 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
22357 if test -n "$CFLAGS" ; then
22358 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
22361 if test -n "$alpine_c_client_cflags" ; then
22362 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
22366 if test -n "$LDFLAGS" ; then
22367 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
22369 if test -n "$LIBS" ; then
22370 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
22373 if test -n "$alpine_c_client_ldflags" ; then
22374 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
22378 if test -n "$alpine_c_client_gccoptlevel" ; then
22379 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
22383 c_client_auths
="$extra_auth_gss $extra_auth_ntlm"
22384 C_CLIENT_AUTHS
=$c_client_auths
22387 C_CLIENT_SPECIALS
=$c_client_specials
22390 if test -z "$WEB_BUILD" ; then
22391 WEB_PUBCOOKIE_BUILD
=
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
22393 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
22395 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
22397 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
22398 if test "x$alpine_GSSTYPE" = "xnone" ; then
22399 WEB_PUBCOOKIE_BUILD
=
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
22401 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
22403 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
22404 elif test -z "$WEB_BINDIR" ; then
22405 WEB_PUBCOOKIE_BUILD
=
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
22407 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
22408 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
22409 Please re-run configure with these options:
22410 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
22413 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
22415 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
22416 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
22432 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"
22434 cat >confcache
<<\_ACEOF
22435 # This file is a shell script that caches the results of configure
22436 # tests run on this system so they can be shared between configure
22437 # scripts and configure runs, see configure's option --config-cache.
22438 # It is not useful on other systems. If it contains results you don't
22439 # want to keep, you may remove or edit it.
22441 # config.status only pays attention to the cache file if you give it
22442 # the --recheck option to rerun configure.
22444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22446 # following values.
22450 # The following way of writing the cache mishandles newlines in values,
22451 # but we know of no workaround that is simple, portable, and efficient.
22452 # So, we kill variables containing newlines.
22453 # Ultrix sh set writes to stderr and can't be redirected directly,
22454 # and sets the high bit in the cache file unless we assign to the vars.
22456 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22457 eval ac_val
=\$
$ac_var
22461 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22465 _ | IFS | as_nl
) ;; #(
22466 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22467 *) { eval $ac_var=; unset $ac_var;} ;;
22473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22474 *${as_nl}ac_space
=\
*)
22475 # `set' does not quote correctly, so add quotes: double-quote
22476 # substitution turns \\\\ into \\, and sed turns \\ into \.
22479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22482 # `set' quotes correctly as required by POSIX, so do not add quotes.
22483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22496 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22497 if test -w "$cache_file"; then
22498 if test "x$cache_file" != "x/dev/null"; then
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22500 $as_echo "$as_me: updating cache $cache_file" >&6;}
22501 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22502 cat confcache
>"$cache_file"
22504 case $cache_file in #(
22506 mv -f confcache
"$cache_file"$$
&&
22507 mv -f "$cache_file"$$
"$cache_file" ;; #(
22509 mv -f confcache
"$cache_file" ;;
22514 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22515 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22520 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22521 # Let make expand exec_prefix.
22522 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22524 DEFS
=-DHAVE_CONFIG_H
22529 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22530 # 1. Remove the extension, and $U if already installed.
22531 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22532 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22533 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22534 # will be set to the directory where LIBOBJS objects are built.
22535 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22536 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22538 LIBOBJS
=$ac_libobjs
22540 LTLIBOBJS
=$ac_ltlibobjs
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22544 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22545 if test -n "$am_sleep_pid"; then
22546 # Hide warnings about reused PIDs.
22547 wait $am_sleep_pid 2>/dev
/null
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22550 $as_echo "done" >&6; }
22551 if test -n "$EXEEXT"; then
22553 am__EXEEXT_FALSE
='#'
22555 am__EXEEXT_TRUE
='#'
22559 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22560 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22563 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22564 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22567 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22568 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22571 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22572 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22576 : "${CONFIG_STATUS=./config.status}"
22578 ac_clean_files_save
=$ac_clean_files
22579 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22581 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22583 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22585 # Generated by $as_me.
22586 # Run this file to recreate the current configuration.
22587 # Compiler output produced by configure, useful for debugging
22588 # configure, is in config.log if it exists.
22591 ac_cs_recheck=false
22594 SHELL=\${CONFIG_SHELL-$SHELL}
22597 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22598 ## -------------------- ##
22599 ## M4sh Initialization. ##
22600 ## -------------------- ##
22602 # Be more Bourne compatible
22603 DUALCASE
=1; export DUALCASE
# for MKS sh
22604 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22607 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22608 # is contrary to our usage. Disable this feature.
22609 alias -g '${1+"$@"}'='"$@"'
22610 setopt NO_GLOB_SUBST
22612 case `(set -o) 2>/dev/null` in #(
22624 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22625 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22628 # Prefer a ksh shell builtin over an external printf program on Solaris,
22629 # but without wasting forks for bash or zsh.
22630 if test -z "$BASH_VERSION$ZSH_VERSION" \
22631 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22632 as_echo='print
-r --'
22633 as_echo_n='print
-rn --'
22634 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22635 as_echo='printf %s
\n'
22636 as_echo_n='printf %s
'
22638 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22639 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22640 as_echo_n='/usr
/ucb
/echo -n'
22642 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22643 as_echo_n_body='eval
22647 expr "X$arg" : "X\\(.*\\)$as_nl";
22648 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22650 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22652 export as_echo_n_body
22653 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22655 export as_echo_body
22656 as_echo='sh
-c $as_echo_body as_echo
'
22659 # The user is always right.
22660 if test "${PATH_SEPARATOR+set}" != set; then
22662 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22663 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22670 # We need space, tab and new line, in precisely that order. Quoting is
22671 # there to prevent editors from complaining about space-tab.
22672 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22673 # splitting by setting IFS to empty value.)
22676 # Find who we are. Look in the path if we contain no directory separator.
22679 *[\\/]* ) as_myself=$0 ;;
22680 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22681 for as_dir in $PATH
22684 test -z "$as_dir" && as_dir=.
22685 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22691 # We did not find ourselves, most probably we were run as `sh COMMAND'
22692 # in which case we are not to be found in the path.
22693 if test "x$as_myself" = x
; then
22696 if test ! -f "$as_myself"; then
22697 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22701 # Unset variables that we do not need and which cause bugs (e.g. in
22702 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22703 # suppresses any "Segmentation fault" message there. '((' could
22704 # trigger a bug in pdksh 5.2.14.
22705 for as_var
in BASH_ENV ENV MAIL MAILPATH
22706 do eval test x\
${$as_var+set} = xset \
22707 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22720 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22723 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22724 # ----------------------------------------
22725 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22726 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22727 # script with STATUS, using 1 if that was 0.
22730 as_status
=$1; test $as_status -eq 0 && as_status
=1
22732 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22733 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22735 $as_echo "$as_me: error: $2" >&2
22736 as_fn_exit
$as_status
22740 # as_fn_set_status STATUS
22741 # -----------------------
22742 # Set $? to STATUS, without forking.
22743 as_fn_set_status
()
22746 } # as_fn_set_status
22748 # as_fn_exit STATUS
22749 # -----------------
22750 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22754 as_fn_set_status
$1
22760 # Portably unset VAR.
22763 { eval $1=; unset $1;}
22765 as_unset
=as_fn_unset
22766 # as_fn_append VAR VALUE
22767 # ----------------------
22768 # Append the text in VALUE to the end of the definition contained in VAR. Take
22769 # advantage of any shell optimizations that allow amortized linear growth over
22770 # repeated appends, instead of the typical quadratic growth present in naive
22772 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22773 eval 'as_fn_append ()
22784 # as_fn_arith ARG...
22785 # ------------------
22786 # Perform arithmetic evaluation on the ARGs, and store the result in the
22787 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22788 # must be portable across $(()) and expr.
22789 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22790 eval 'as_fn_arith ()
22797 as_val
=`expr "$@" || test $? -eq 1`
22802 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22803 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22809 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22810 as_basename
=basename
22815 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22821 as_me
=`$as_basename -- "$0" ||
22822 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22823 X"$0" : 'X\(//\)$' \| \
22824 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22826 sed '/^.*\/\([^/][^/]*\)\/*$/{
22840 # Avoid depending upon Character Ranges.
22841 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22842 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22843 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22844 as_cr_digits
='0123456789'
22845 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22847 ECHO_C
= ECHO_N
= ECHO_T
=
22848 case `echo -n x` in #(((((
22850 case `echo 'xy\c'` in
22851 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22853 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22860 rm -f conf$$ conf$$.exe conf$$.
file
22861 if test -d conf$$.dir
; then
22862 rm -f conf$$.dir
/conf$$.
file
22865 mkdir conf$$.dir
2>/dev
/null
22867 if (echo >conf$$.
file) 2>/dev
/null
; then
22868 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22870 # ... but there are two gotchas:
22871 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22872 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22873 # In both cases, we have to default to `cp -pR'.
22874 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22876 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22884 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22885 rmdir conf$$.dir
2>/dev
/null
22890 # Create "$as_dir" as a directory, including parents if necessary.
22895 -*) as_dir
=.
/$as_dir;;
22897 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22901 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22902 *) as_qdir
=$as_dir;;
22904 as_dirs
="'$as_qdir' $as_dirs"
22905 as_dir
=`$as_dirname -- "$as_dir" ||
22906 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22907 X"$as_dir" : 'X\(//\)[^/]' \| \
22908 X"$as_dir" : 'X\(//\)$' \| \
22909 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22910 $as_echo X"$as_dir" |
22911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22915 /^X\(\/\/\)[^/].*/{
22928 test -d "$as_dir" && break
22930 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22931 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22935 if mkdir
-p .
2>/dev
/null
; then
22936 as_mkdir_p
='mkdir -p "$as_dir"'
22938 test -d .
/-p && rmdir .
/-p
22943 # as_fn_executable_p FILE
22944 # -----------------------
22945 # Test if FILE is an executable regular file.
22946 as_fn_executable_p
()
22948 test -f "$1" && test -x "$1"
22949 } # as_fn_executable_p
22950 as_test_x
='test -x'
22951 as_executable_p
=as_fn_executable_p
22953 # Sed expression to map a string onto a valid CPP name.
22954 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22956 # Sed expression to map a string onto a valid variable name.
22957 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22961 ## ----------------------------------- ##
22962 ## Main body of $CONFIG_STATUS script. ##
22963 ## ----------------------------------- ##
22965 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22968 # Save the log message, to keep $0 and so on meaningful, and to
22969 # report actual input values of CONFIG_FILES etc. instead of their
22970 # values after options handling.
22972 This file was extended by alpine $as_me 2.21.9999, which was
22973 generated by GNU Autoconf 2.69. Invocation command line was
22975 CONFIG_FILES = $CONFIG_FILES
22976 CONFIG_HEADERS = $CONFIG_HEADERS
22977 CONFIG_LINKS = $CONFIG_LINKS
22978 CONFIG_COMMANDS = $CONFIG_COMMANDS
22981 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22986 case $ac_config_files in *"
22987 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22990 case $ac_config_headers in *"
22991 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22996 # Files that config.status was made for.
22997 config_files="$ac_config_files"
22998 config_headers="$ac_config_headers"
22999 config_commands="$ac_config_commands"
23003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23005 \`$as_me' instantiates files and other configuration actions
23006 from templates according to the current configuration. Unless the files
23007 and actions are specified as TAGs, all are instantiated by default.
23009 Usage: $0 [OPTION]... [TAG]...
23011 -h, --help print this help, then exit
23012 -V, --version print version number and configuration settings, then exit
23013 --config print configuration, then exit
23014 -q, --quiet, --silent
23015 do not print progress messages
23016 -d, --debug don't remove temporary files
23017 --recheck update $as_me by reconfiguring in the same conditions
23018 --file=FILE[:TEMPLATE]
23019 instantiate the configuration file FILE
23020 --header=FILE[:TEMPLATE]
23021 instantiate the configuration header FILE
23023 Configuration files:
23026 Configuration headers:
23029 Configuration commands:
23032 Report bugs to <chappa@washington.edu>."
23035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23036 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23038 alpine config.status 2.21.9999
23039 configured by $0, generated by GNU Autoconf 2.69,
23040 with options \\"\$ac_cs_config\\"
23042 Copyright (C) 2012 Free Software Foundation, Inc.
23043 This config.status script is free software; the Free Software Foundation
23044 gives unlimited permission to copy, distribute and modify it."
23051 test -n "\$AWK" || AWK=awk
23054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23055 # The default lists apply if the user does not specify any file.
23061 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23062 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23066 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23078 # Handling of the options.
23079 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23081 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23082 $as_echo "$ac_cs_version"; exit ;;
23083 --config |
--confi |
--conf |
--con |
--co |
--c )
23084 $as_echo "$ac_cs_config"; exit ;;
23085 --debug |
--debu |
--deb |
--de |
--d |
-d )
23087 --file |
--fil |
--fi |
--f )
23090 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23091 '') as_fn_error $?
"missing file argument" ;;
23093 as_fn_append CONFIG_FILES
" '$ac_optarg'"
23094 ac_need_defaults
=false
;;
23095 --header |
--heade |
--head |
--hea )
23098 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23100 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23101 ac_need_defaults
=false
;;
23103 # Conflict between --help and --header
23104 as_fn_error $?
"ambiguous option: \`$1'
23105 Try \`$0 --help' for more information.";;
23106 --help |
--hel |
-h )
23107 $as_echo "$ac_cs_usage"; exit ;;
23108 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23109 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23112 # This is an error.
23113 -*) as_fn_error $?
"unrecognized option: \`$1'
23114 Try \`$0 --help' for more information." ;;
23116 *) as_fn_append ac_config_targets
" $1"
23117 ac_need_defaults
=false
;;
23123 ac_configure_extra_args
=
23125 if $ac_cs_silent; then
23127 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23132 if \$ac_cs_recheck; then
23133 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23135 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23136 CONFIG_SHELL='$SHELL'
23137 export CONFIG_SHELL
23142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23146 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23147 ## Running $as_me. ##
23153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23157 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23160 # The HP-UX ksh and POSIX shell print the target directory to stdout
23161 # if CDPATH is set.
23162 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23164 sed_quote_subst='$sed_quote_subst'
23165 double_quote_subst='$double_quote_subst'
23166 delay_variable_subst='$delay_variable_subst'
23167 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23168 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23169 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23170 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23171 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23172 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23173 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
23174 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23175 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23176 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23177 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23178 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23179 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23180 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23181 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23182 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23183 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23184 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23185 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23186 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23187 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23188 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23189 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23190 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23191 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23192 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23193 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23194 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23195 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23196 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23197 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23198 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23199 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23200 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23201 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23202 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23203 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23204 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23205 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23206 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23207 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23208 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23209 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23210 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23211 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23212 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23213 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23214 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23215 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23216 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23217 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23218 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23219 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23220 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23221 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23222 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23223 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
23224 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23225 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"`'
23226 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
23227 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23228 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23229 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
23230 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23231 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23232 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23233 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23234 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23235 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23236 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23237 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23238 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23239 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23240 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23241 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23242 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23243 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23244 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23245 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23246 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23247 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23248 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23249 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23250 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23251 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23252 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23253 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23254 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23255 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23256 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23257 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23258 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23259 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23260 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23261 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23262 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23263 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23264 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23265 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23266 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23267 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23268 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23269 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23270 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23271 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23272 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23273 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23274 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23275 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23276 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23277 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23278 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23279 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23280 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23281 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23282 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23283 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23284 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23285 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23286 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23287 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23288 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23289 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23290 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23291 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23292 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23293 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23294 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
23295 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
23296 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23297 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23298 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23299 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23300 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23301 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23304 LTCFLAGS='$LTCFLAGS'
23305 compiler='$compiler_DEFAULT'
23307 # A function that is used when there is no print builtin or printf.
23308 func_fallback_echo ()
23310 eval 'cat <<_LTECHO_EOF
23315 # Quote evaled strings.
23330 deplibs_check_method \
23335 sharedlib_from_linklib_cmd \
23338 archiver_list_spec \
23344 lt_cv_sys_global_symbol_pipe \
23345 lt_cv_sys_global_symbol_to_cdecl \
23346 lt_cv_sys_global_symbol_to_import \
23347 lt_cv_sys_global_symbol_to_c_name_address \
23348 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23349 lt_cv_nm_interface \
23350 nm_file_list_spec \
23351 lt_cv_truncate_bin \
23352 lt_prog_compiler_no_builtin_flag \
23353 lt_prog_compiler_pic \
23354 lt_prog_compiler_wl \
23355 lt_prog_compiler_static \
23356 lt_cv_prog_compiler_c_o \
23365 export_dynamic_flag_spec \
23366 whole_archive_flag_spec \
23367 compiler_needs_object \
23369 allow_undefined_flag \
23370 no_undefined_flag \
23371 hardcode_libdir_flag_spec \
23372 hardcode_libdir_separator \
23376 variables_saved_for_relink \
23378 library_names_spec \
23380 install_override_mode \
23384 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23385 *[\\\\\\\`\\"\\\$]*)
23386 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23389 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23394 # Double-quote double-evaled strings.
23395 for var in reload_cmds \
23396 old_postinstall_cmds \
23397 old_postuninstall_cmds \
23399 extract_expsyms_cmds \
23400 old_archive_from_new_cmds \
23401 old_archive_from_expsyms_cmds \
23403 archive_expsym_cmds \
23405 module_expsym_cmds \
23406 export_symbols_cmds \
23410 postuninstall_cmds \
23412 sys_lib_search_path_spec \
23413 configure_time_dlsearch_path \
23414 configure_time_lt_sys_library_path; do
23415 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23416 *[\\\\\\\`\\"\\\$]*)
23417 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23420 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23425 ac_aux_dir='$ac_aux_dir'
23427 # See if we are running on zsh, and set the options that allow our
23428 # commands through without removal of \ escapes INIT.
23429 if test -n "\${ZSH_VERSION+set}"; then
23430 setopt NO_GLOB_SUBST
23441 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
23442 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
23443 # from automake < 1.5.
23444 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
23445 # Capture the value of LINGUAS because we need it to compute CATALOGS.
23446 LINGUAS="${LINGUAS-%UNSET%}"
23451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23453 # Handling of arguments.
23454 for ac_config_target
in $ac_config_targets
23456 case $ac_config_target in
23457 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23458 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23459 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23460 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
23461 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
23462 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
23463 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
23464 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
23465 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
23466 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
23467 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
23468 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
23469 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
23470 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
23471 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
23472 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
23473 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
23474 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23476 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23481 # If the user did not use the arguments to specify the items to instantiate,
23482 # then the envvar interface is used. Set only those that are not.
23483 # We use the long form for the default assignment because of an extremely
23484 # bizarre bug on SunOS 4.1.3.
23485 if $ac_need_defaults; then
23486 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23487 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23488 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23491 # Have a temporary directory for convenience. Make it in the build tree
23492 # simply because there is no reason against having it here, and in addition,
23493 # creating and moving files from /tmp can sometimes cause problems.
23494 # Hook for its removal unless debugging.
23495 # Note that there is a small window in which the directory will not be cleaned:
23496 # after its creation but before its name has been assigned to `$tmp'.
23500 trap 'exit_status=$?
23501 : "${ac_tmp:=$tmp}"
23502 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23504 trap 'as_fn_exit 1' 1 2 13 15
23506 # Create a (secure) tmp directory for tmp files.
23509 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23513 tmp
=.
/conf$$
-$RANDOM
23514 (umask 077 && mkdir
"$tmp")
23515 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23518 # Set up the scripts for CONFIG_FILES section.
23519 # No need to generate them if there are no CONFIG_FILES.
23520 # This happens for instance with `./config.status config.h'.
23521 if test -n "$CONFIG_FILES"; then
23524 ac_cr
=`echo X | tr X '\015'`
23525 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23526 # But we know of no other shell where ac_cr would be empty at this
23527 # point, so we can use a bashism as a fallback.
23528 if test "x$ac_cr" = x
; then
23529 eval ac_cr
=\$
\'\\r
\'
23531 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23532 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23535 ac_cs_awk_cr
=$ac_cr
23538 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23543 echo "cat >conf$$subs.awk <<_ACEOF" &&
23544 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23546 } >conf$$subs.sh ||
23547 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23548 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23550 for ac_last_try in false false false false false :; do
23551 . ./conf$$subs.sh ||
23552 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23554 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23555 if test $ac_delim_n = $ac_delim_num; then
23557 elif $ac_last_try; then
23558 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23560 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23563 rm -f conf$$subs.sh
23565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23566 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23570 s/^/S["/; s
/!.
*/"]=/
23580 s/\(.\{148\}\)..*/\1/
23582 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23587 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23594 s/\(.\{148\}\)..*/\1/
23596 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23600 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23605 ' <conf$$subs.awk | sed '
23610 ' >>$CONFIG_STATUS || ac_write_fail=1
23611 rm -f conf$$subs.awk
23612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23614 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23615 for (key in S) S_is_set[key] = 1
23621 nfields = split(line, field, "@
")
23623 len = length(field[1])
23624 for (i = 2; i < nfields; i++) {
23626 keylen = length(key)
23627 if (S_is_set[key]) {
23629 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23630 len += length(value) + length(field[++i])
23641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23642 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23643 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23646 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23647 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23650 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23651 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23652 # trailing colons and then remove the whole line if VPATH becomes empty
23653 # (actually we leave an empty line to preserve line numbers).
23654 if test "x
$srcdir" = x.; then
23655 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23674 fi # test -n "$CONFIG_FILES"
23676 # Set up the scripts for CONFIG_HEADERS section.
23677 # No need to generate them if there are no CONFIG_HEADERS.
23678 # This happens for instance with `./config.status Makefile'.
23679 if test -n "$CONFIG_HEADERS"; then
23680 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23684 # Transform confdefs.h into an awk script `defines.awk', embedded as
23685 # here-document in config.status, that substitutes the proper values into
23686 # config.h.in to produce config.h.
23688 # Create a delimiter string that does not exist in confdefs.h, to ease
23689 # handling of long lines.
23691 for ac_last_try in false false :; do
23692 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23693 if test -z "$ac_tt"; then
23695 elif $ac_last_try; then
23696 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23698 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23702 # For the awk script, D is an array of macro values keyed by name,
23703 # likewise P contains macro parameters if any. Preserve backslash
23704 # newline sequences.
23706 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23708 s/.\{148\}/&'"$ac_delim"'/g
23711 s/^[ ]*#[ ]*define[ ][ ]*/ /
23718 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23720 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23724 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23725 D["\
1"]=" \
3\\\\\\n
"\\/p
23727 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23732 s/.\{148\}/&'"$ac_delim"'/g
23737 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23740 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23742 ' <confdefs.h | sed '
23743 s/'"$ac_delim"'/"\\\
23744 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23747 for (key in D) D_is_set[key] = 1
23750 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23752 split(line, arg, " ")
23753 if (arg[1] == "#") {
23757 defundef
= substr
(arg
[1], 2)
23760 split(mac1
, mac2
, "(") #)
23762 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23763 if (D_is_set
[macro
]) {
23764 # Preserve the white space surrounding the "#".
23765 print prefix
"define", macro P
[macro
] D
[macro
]
23768 # Replace #undef with comments. This is necessary, for example,
23769 # in the case of _POSIX_SOURCE, which is predefined and required
23770 # on some systems where configure will not decide to define it.
23771 if (defundef
== "undef") {
23772 print
"/*", prefix defundef
, macro
, "*/"
23780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23781 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23782 fi # test -n "$CONFIG_HEADERS"
23785 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23790 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23792 case $ac_mode$ac_tag in
23794 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23795 :[FH
]-) ac_tag
=-:-;;
23796 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23813 -) ac_f
="$ac_tmp/stdin";;
23814 *) # Look for the file first in the build tree, then in the source tree
23815 # (if the path is not absolute). The absolute path cannot be DOS-style,
23816 # because $ac_f cannot contain `:'.
23820 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23822 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23824 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23825 as_fn_append ac_file_inputs
" '$ac_f'"
23828 # Let's still pretend it is `configure' which instantiates (i.e., don't
23829 # use $as_me), people would be surprised to read:
23830 # /* config.h. Generated by config.status. */
23831 configure_input
='Generated from '`
23832 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23834 if test x
"$ac_file" != x-
; then
23835 configure_input
="$ac_file. $configure_input"
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23837 $as_echo "$as_me: creating $ac_file" >&6;}
23839 # Neutralize special characters interpreted by sed in replacement strings.
23840 case $configure_input in #(
23841 *\
&* |
*\|
* |
*\\* )
23842 ac_sed_conf_input
=`$as_echo "$configure_input" |
23843 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23844 *) ac_sed_conf_input
=$configure_input;;
23848 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23849 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23854 ac_dir
=`$as_dirname -- "$ac_file" ||
23855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23856 X"$ac_file" : 'X\(//\)[^/]' \| \
23857 X"$ac_file" : 'X\(//\)$' \| \
23858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23859 $as_echo X"$ac_file" |
23860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23864 /^X\(\/\/\)[^/].*/{
23877 as_dir
="$ac_dir"; as_fn_mkdir_p
23881 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23883 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23884 # A ".." for each directory in $ac_dir_suffix.
23885 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23886 case $ac_top_builddir_sub in
23887 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23888 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23891 ac_abs_top_builddir
=$ac_pwd
23892 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23893 # for backward compatibility:
23894 ac_top_builddir
=$ac_top_build_prefix
23897 .
) # We are building in place.
23899 ac_top_srcdir
=$ac_top_builddir_sub
23900 ac_abs_top_srcdir
=$ac_pwd ;;
23901 [\\/]* | ?
:[\\/]* ) # Absolute name.
23902 ac_srcdir
=$srcdir$ac_dir_suffix;
23903 ac_top_srcdir
=$srcdir
23904 ac_abs_top_srcdir
=$srcdir ;;
23905 *) # Relative name.
23906 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23907 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23908 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23910 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23920 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23921 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23923 ac_MKDIR_P
=$MKDIR_P
23925 [\\/$
]* | ?
:[\\/]* ) ;;
23926 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23931 # If the template does not know about datarootdir, expand it.
23932 # FIXME: This hack should be removed a few years after 2.60.
23933 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23944 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23945 *datarootdir
*) ac_datarootdir_seen
=yes;;
23946 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23948 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23951 ac_datarootdir_hack='
23952 s&@datadir@&$datadir&g
23953 s&@docdir@&$docdir&g
23954 s&@infodir@&$infodir&g
23955 s&@localedir@&$localedir&g
23956 s&@mandir@&$mandir&g
23957 s&\\\${datarootdir}&$datarootdir&g' ;;
23961 # Neutralize VPATH when `$srcdir' = `.'.
23962 # Shell code in configure.ac might set extrasub.
23963 # FIXME: do we really want to maintain this feature?
23964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23965 ac_sed_extra="$ac_vpsub
23968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23970 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23971 s|@configure_input@|
$ac_sed_conf_input|
;t t
23972 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23973 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23974 s
&@srcdir@
&$ac_srcdir&;t t
23975 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23976 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23977 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23978 s
&@builddir@
&$ac_builddir&;t t
23979 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23980 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23981 s
&@INSTALL@
&$ac_INSTALL&;t t
23982 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23983 $ac_datarootdir_hack
23985 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23986 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23988 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23989 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23990 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23991 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23993 which seems to be undefined. Please make sure it is defined" >&5
23994 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23995 which seems to be undefined. Please make sure it is defined" >&2;}
23997 rm -f "$ac_tmp/stdin"
23999 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24000 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24008 if test x"$ac_file" != x-; then
24010 $as_echo "/* $configure_input */" \
24011 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24012 } >"$ac_tmp/config.h" \
24013 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24014 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24016 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24019 mv "$ac_tmp/config.h" "$ac_file" \
24020 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24023 $as_echo "/* $configure_input */" \
24024 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24025 || as_fn_error $? "could not create -" "$LINENO" 5
24027 # Compute "$ac_file"'s index
in $config_headers.
24030 for _am_header
in $config_headers :; do
24031 case $_am_header in
24032 $_am_arg |
$_am_arg:* )
24035 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24038 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24039 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24040 X"$_am_arg" : 'X\(//\)[^/]' \| \
24041 X"$_am_arg" : 'X\(//\)$' \| \
24042 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24043 $as_echo X"$_am_arg" |
24044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24048 /^X\(\/\/\)[^/].*/{
24060 s/.*/./; q'`/stamp-h
$_am_stamp_count
24063 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24064 $as_echo "$as_me: executing $ac_file commands" >&6;}
24069 case $ac_file$ac_mode in
24070 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
24071 # Older Autoconf quotes --file arguments for eval, but not when files
24072 # are listed without --file. Let's play safe and only enable the eval
24073 # if we detect the quoting.
24074 case $CONFIG_FILES in
24075 *\'*) eval set x
"$CONFIG_FILES" ;;
24076 *) set x
$CONFIG_FILES ;;
24081 # Strip MF so we end up with the name of the file.
24082 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24083 # Check whether this is an Automake generated Makefile or not.
24084 # We used to match only the files named 'Makefile.in', but
24085 # some people rename them; so instead we look at the file content.
24086 # Grep'ing the first line is not enough: some people post-process
24087 # each Makefile.in and add a new line on top of each file to say so.
24088 # Grep'ing the whole file is not good either: AIX grep has a line
24089 # limit of 2048, but all sed's we know have understand at least 4000.
24090 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24091 dirpart
=`$as_dirname -- "$mf" ||
24092 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24093 X"$mf" : 'X\(//\)[^/]' \| \
24094 X"$mf" : 'X\(//\)$' \| \
24095 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24101 /^X\(\/\/\)[^/].*/{
24117 # Extract the definition of DEPDIR, am__include, and am__quote
24118 # from the Makefile without running 'make'.
24119 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24120 test -z "$DEPDIR" && continue
24121 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24122 test -z "$am__include" && continue
24123 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24124 # Find all dependency output files, they are included files with
24125 # $(DEPDIR) in their names. We invoke sed twice because it is the
24126 # simplest approach to changing $(DEPDIR) to its actual value in the
24128 for file in `sed -n "
24129 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24130 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
24131 # Make sure the directory exists.
24132 test -f "$dirpart/$file" && continue
24133 fdir
=`$as_dirname -- "$file" ||
24134 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24135 X"$file" : 'X\(//\)[^/]' \| \
24136 X"$file" : 'X\(//\)$' \| \
24137 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24138 $as_echo X"$file" |
24139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24143 /^X\(\/\/\)[^/].*/{
24156 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
24157 # echo "creating $dirpart/$file"
24158 echo '# dummy' > "$dirpart/$file"
24165 # See if we are running on zsh, and set the options that allow our
24166 # commands through without removal of \ escapes.
24167 if test -n "${ZSH_VERSION+set}"; then
24168 setopt NO_GLOB_SUBST
24172 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24175 cat <<_LT_EOF >> "$cfgfile"
24177 # Generated automatically by $as_me ($PACKAGE) $VERSION
24178 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24180 # Provide generalized library-building support services.
24181 # Written by Gordon Matzigkeit, 1996
24183 # Copyright (C) 2014 Free Software Foundation, Inc.
24184 # This is free software; see the source for copying conditions. There is NO
24185 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24187 # GNU Libtool is free software; you can redistribute it and/or modify
24188 # it under the terms of the GNU General Public License as published by
24189 # the Free Software Foundation; either version 2 of of the License, or
24190 # (at your option) any later version.
24192 # As a special exception to the GNU General Public License, if you
24193 # distribute this file as part of a program or library that is built
24194 # using GNU Libtool, you may include this file under the same
24195 # distribution terms that you use for the rest of that program.
24197 # GNU Libtool is distributed in the hope that it will be useful, but
24198 # WITHOUT ANY WARRANTY; without even the implied warranty of
24199 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24200 # GNU General Public License for more details.
24202 # You should have received a copy of the GNU General Public License
24203 # along with this program. If not, see <http://www.gnu.org/licenses/>.
24206 # The names of the tagged configurations supported by this script.
24209 # Configured defaults for sys_lib_dlsearch_path munging.
24210 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
24212 # ### BEGIN LIBTOOL CONFIG
24214 # Which release of libtool.m4 was used?
24215 macro_version=$macro_version
24216 macro_revision=$macro_revision
24218 # Whether or not to build shared libraries.
24219 build_libtool_libs=$enable_shared
24221 # Whether or not to build static libraries.
24222 build_old_libs=$enable_static
24224 # What type of objects to build.
24227 # Whether or not to optimize for fast installation.
24228 fast_install=$enable_fast_install
24230 # Shared archive member basename,for filename based shared library versioning on AIX.
24231 shared_archive_member_spec=$shared_archive_member_spec
24233 # Shell to use when invoking shell scripts.
24236 # An echo program that protects backslashes.
24239 # The PATH separator for the build system.
24240 PATH_SEPARATOR=$lt_PATH_SEPARATOR
24243 host_alias=$host_alias
24247 # The build system.
24248 build_alias=$build_alias
24252 # A sed program that does not truncate output.
24255 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24256 Xsed="\$SED -e 1s/^X//"
24258 # A grep program that handles long lines.
24264 # A literal string matcher.
24267 # A BSD- or MS-compatible name lister.
24270 # Whether we need soft or hard links.
24273 # What is the maximum length of a command?
24274 max_cmd_len=$max_cmd_len
24276 # Object file suffix (normally "o").
24279 # Executable file suffix (normally "").
24282 # whether the shell understands "unset".
24285 # turn spaces into newlines.
24288 # turn newlines into spaces.
24291 # convert \$build file names to \$host format.
24292 to_host_file_cmd=$lt_cv_to_host_file_cmd
24294 # convert \$build files to toolchain format.
24295 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
24297 # An object symbol dumper.
24298 OBJDUMP=$lt_OBJDUMP
24300 # Method to check whether dependent libraries are shared objects.
24301 deplibs_check_method=$lt_deplibs_check_method
24303 # Command to use when deplibs_check_method = "file_magic".
24304 file_magic_cmd=$lt_file_magic_cmd
24306 # How to find potential files when deplibs_check_method = "file_magic".
24307 file_magic_glob=$lt_file_magic_glob
24309 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
24310 want_nocaseglob=$lt_want_nocaseglob
24312 # DLL creation program.
24313 DLLTOOL=$lt_DLLTOOL
24315 # Command to associate shared and link libraries.
24316 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
24321 # Flags to create an archive.
24322 AR_FLAGS=$lt_AR_FLAGS
24324 # How to feed a file listing to the archiver.
24325 archiver_list_spec=$lt_archiver_list_spec
24327 # A symbol stripping program.
24330 # Commands used to install an old-style archive.
24332 old_postinstall_cmds=$lt_old_postinstall_cmds
24333 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24335 # Whether to use a lock for old archive extraction.
24336 lock_old_archive_extraction=$lock_old_archive_extraction
24341 # LTCC compiler flags.
24342 LTCFLAGS=$lt_CFLAGS
24344 # Take the output of nm and produce a listing of raw symbols and C names.
24345 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24347 # Transform the output of nm in a proper C declaration.
24348 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24350 # Transform the output of nm into a list of symbols to manually relocate.
24351 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
24353 # Transform the output of nm in a C name address pair.
24354 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24356 # Transform the output of nm in a C name address pair when lib prefix is needed.
24357 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24359 # The name lister interface.
24360 nm_interface=$lt_lt_cv_nm_interface
24362 # Specify filename containing input files for \$NM.
24363 nm_file_list_spec=$lt_nm_file_list_spec
24365 # The root where to search for dependent libraries,and where our libraries should be installed.
24366 lt_sysroot=$lt_sysroot
24368 # Command to truncate a binary pipe.
24369 lt_truncate_bin=$lt_lt_cv_truncate_bin
24371 # The name of the directory that contains temporary libtool files.
24374 # Used to examine libraries when file_magic_cmd begins with "file".
24375 MAGIC_CMD=$MAGIC_CMD
24377 # Must we lock files when doing compilation?
24378 need_locks=$lt_need_locks
24381 MANIFEST_TOOL=$lt_MANIFEST_TOOL
24383 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24384 DSYMUTIL=$lt_DSYMUTIL
24386 # Tool to change global to local symbols on Mac OS X.
24389 # Tool to manipulate fat objects and archives on Mac OS X.
24392 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24395 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24396 OTOOL64=$lt_OTOOL64
24398 # Old archive suffix (normally "a").
24401 # Shared library suffix (normally ".so").
24402 shrext_cmds=$lt_shrext_cmds
24404 # The commands to extract the exported symbol list from a shared archive.
24405 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24407 # Variables whose values should be saved in libtool wrapper scripts and
24408 # restored at link time.
24409 variables_saved_for_relink=$lt_variables_saved_for_relink
24411 # Do we need the "lib" prefix for modules?
24412 need_lib_prefix=$need_lib_prefix
24414 # Do we need a version for libraries?
24415 need_version=$need_version
24417 # Library versioning type.
24418 version_type=$version_type
24420 # Shared library runtime path variable.
24421 runpath_var=$runpath_var
24423 # Shared library path variable.
24424 shlibpath_var=$shlibpath_var
24426 # Is shlibpath searched before the hard-coded library search path?
24427 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24429 # Format of library name prefix.
24430 libname_spec=$lt_libname_spec
24432 # List of archive names. First name is the real one, the rest are links.
24433 # The last name is the one that the linker finds with -lNAME
24434 library_names_spec=$lt_library_names_spec
24436 # The coded name of the library, if different from the real name.
24437 soname_spec=$lt_soname_spec
24439 # Permission mode override for installation of shared libraries.
24440 install_override_mode=$lt_install_override_mode
24442 # Command to use after installation of a shared archive.
24443 postinstall_cmds=$lt_postinstall_cmds
24445 # Command to use after uninstallation of a shared archive.
24446 postuninstall_cmds=$lt_postuninstall_cmds
24448 # Commands used to finish a libtool library installation in a directory.
24449 finish_cmds=$lt_finish_cmds
24451 # As "finish_cmds", except a single script fragment to be evaled but
24453 finish_eval=$lt_finish_eval
24455 # Whether we should hardcode library paths into libraries.
24456 hardcode_into_libs=$hardcode_into_libs
24458 # Compile-time system search path for libraries.
24459 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24461 # Detected run-time system search path for libraries.
24462 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
24464 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
24465 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
24467 # Whether dlopen is supported.
24468 dlopen_support=$enable_dlopen
24470 # Whether dlopen of programs is supported.
24471 dlopen_self=$enable_dlopen_self
24473 # Whether dlopen of statically linked programs is supported.
24474 dlopen_self_static=$enable_dlopen_self_static
24476 # Commands to strip libraries.
24477 old_striplib=$lt_old_striplib
24478 striplib=$lt_striplib
24481 # The linker used to build libraries.
24484 # How to create reloadable object files.
24485 reload_flag=$lt_reload_flag
24486 reload_cmds=$lt_reload_cmds
24488 # Commands used to build an old-style archive.
24489 old_archive_cmds=$lt_old_archive_cmds
24491 # A language specific compiler.
24494 # Is the compiler the GNU compiler?
24497 # Compiler flag to turn off builtin functions.
24498 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24500 # Additional compiler flags for building library objects.
24501 pic_flag=$lt_lt_prog_compiler_pic
24503 # How to pass a linker flag through the compiler.
24504 wl=$lt_lt_prog_compiler_wl
24506 # Compiler flag to prevent dynamic linking.
24507 link_static_flag=$lt_lt_prog_compiler_static
24509 # Does compiler simultaneously support -c and -o options?
24510 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24512 # Whether or not to add -lc for building shared libraries.
24513 build_libtool_need_lc=$archive_cmds_need_lc
24515 # Whether or not to disallow shared libs when runtime libs are static.
24516 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24518 # Compiler flag to allow reflexive dlopens.
24519 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24521 # Compiler flag to generate shared objects directly from archives.
24522 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24524 # Whether the compiler copes with passing no objects directly.
24525 compiler_needs_object=$lt_compiler_needs_object
24527 # Create an old-style archive from a shared archive.
24528 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24530 # Create a temporary old-style archive to link instead of a shared archive.
24531 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24533 # Commands used to build a shared archive.
24534 archive_cmds=$lt_archive_cmds
24535 archive_expsym_cmds=$lt_archive_expsym_cmds
24537 # Commands used to build a loadable module if different from building
24538 # a shared archive.
24539 module_cmds=$lt_module_cmds
24540 module_expsym_cmds=$lt_module_expsym_cmds
24542 # Whether we are building with GNU ld or not.
24543 with_gnu_ld=$lt_with_gnu_ld
24545 # Flag that allows shared libraries with undefined symbols to be built.
24546 allow_undefined_flag=$lt_allow_undefined_flag
24548 # Flag that enforces no undefined symbols.
24549 no_undefined_flag=$lt_no_undefined_flag
24551 # Flag to hardcode \$libdir into a binary during linking.
24552 # This must work even if \$libdir does not exist
24553 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24555 # Whether we need a single "-rpath" flag with a separated argument.
24556 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24558 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24559 # DIR into the resulting binary.
24560 hardcode_direct=$hardcode_direct
24562 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24563 # DIR into the resulting binary and the resulting library dependency is
24564 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24565 # library is relocated.
24566 hardcode_direct_absolute=$hardcode_direct_absolute
24568 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24569 # into the resulting binary.
24570 hardcode_minus_L=$hardcode_minus_L
24572 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24573 # into the resulting binary.
24574 hardcode_shlibpath_var=$hardcode_shlibpath_var
24576 # Set to "yes" if building a shared library automatically hardcodes DIR
24577 # into the library and all subsequent libraries and executables linked
24579 hardcode_automatic=$hardcode_automatic
24581 # Set to yes if linker adds runtime paths of dependent libraries
24582 # to runtime path list.
24583 inherit_rpath=$inherit_rpath
24585 # Whether libtool must link a program against all its dependency libraries.
24586 link_all_deplibs=$link_all_deplibs
24588 # Set to "yes" if exported symbols are required.
24589 always_export_symbols=$always_export_symbols
24591 # The commands to list exported symbols.
24592 export_symbols_cmds=$lt_export_symbols_cmds
24594 # Symbols that should not be listed in the preloaded symbols.
24595 exclude_expsyms=$lt_exclude_expsyms
24597 # Symbols that must always be exported.
24598 include_expsyms=$lt_include_expsyms
24600 # Commands necessary for linking programs (against libraries) with templates.
24601 prelink_cmds=$lt_prelink_cmds
24603 # Commands necessary for finishing linking programs.
24604 postlink_cmds=$lt_postlink_cmds
24606 # Specify filename containing input files.
24607 file_list_spec=$lt_file_list_spec
24609 # How to hardcode a shared library path into an executable.
24610 hardcode_action=$hardcode_action
24612 # ### END LIBTOOL CONFIG
24616 cat <<'_LT_EOF' >> "$cfgfile"
24618 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
24620 # func_munge_path_list VARIABLE PATH
24621 # -----------------------------------
24622 # VARIABLE is name of variable containing _space_ separated list of
24623 # directories to be munged by the contents of PATH, which is string
24626 # string "DIR[ DIR]" will be prepended to VARIABLE
24628 # string "DIR[ DIR]" will be appended to VARIABLE
24629 # "DIRP[:DIRP]::[DIRA:]DIRA"
24630 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
24631 # "DIRA[ DIRA]" will be appended to VARIABLE
24633 # VARIABLE will be replaced by "DIR[ DIR]"
24634 func_munge_path_list ()
24640 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
24643 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
24646 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
24647 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24650 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24656 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24657 func_cc_basename ()
24659 for cc_temp in $*""; do
24661 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24662 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24667 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24671 # ### END FUNCTIONS SHARED WITH CONFIGURE
24677 cat <<\_LT_EOF
>> "$cfgfile"
24678 # AIX sometimes has problems with the GCC collect2 program. For some
24679 # reason, if we set the COLLECT_NAMES environment variable, the problems
24680 # vanish in a puff of smoke.
24681 if test set != "${COLLECT_NAMES+set}"; then
24683 export COLLECT_NAMES
24690 ltmain
=$ac_aux_dir/ltmain.sh
24693 # We use sed instead of cat because bash on DJGPP gets confused if
24694 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24695 # text mode, it properly converts lines to CR/LF. This bash problem
24696 # is reportedly fixed, but why not run on old versions too?
24697 sed '$q' "$ltmain" >> "$cfgfile" \
24698 ||
(rm -f "$cfgfile"; exit 1)
24700 mv -f "$cfgfile" "$ofile" ||
24701 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24705 "po-directories":C
)
24706 for ac_file
in $CONFIG_FILES; do
24707 # Support "outfile[:infile[:infile...]]"
24709 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24711 # PO directories have a Makefile.in generated from Makefile.in.in.
24712 case "$ac_file" in */Makefile.
in)
24713 # Adjust a relative srcdir.
24714 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24715 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
24716 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24717 # In autoconf-2.13 it is called $ac_given_srcdir.
24718 # In autoconf-2.50 it is called $srcdir.
24719 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
24720 case "$ac_given_srcdir" in
24721 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
24722 /*) top_srcdir
="$ac_given_srcdir" ;;
24723 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24725 # Treat a directory as a PO directory if and only if it has a
24726 # POTFILES.in file. This allows packages to have multiple PO
24727 # directories under different names or in different locations.
24728 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24729 rm -f "$ac_dir/POTFILES"
24730 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
24731 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24732 POMAKEFILEDEPS
="POTFILES.in"
24733 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
24734 # on $ac_dir but don't depend on user-specified configuration
24736 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24737 # The LINGUAS file contains the set of available languages.
24738 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24739 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
24741 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24742 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24743 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24744 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
24746 # The set of available languages was given in configure.in.
24747 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24748 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24751 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
24752 # Compute UPDATEPOFILES
24753 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
24754 # Compute DUMMYPOFILES
24755 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
24757 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
24758 case "$ac_given_srcdir" in
24760 *) srcdirpre
='$(srcdir)/' ;;
24766 for lang
in $ALL_LINGUAS; do
24767 POFILES
="$POFILES $srcdirpre$lang.po"
24768 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24769 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24770 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24772 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24773 # environment variable.
24775 if test -n "$ALL_LINGUAS"; then
24776 for presentlang
in $ALL_LINGUAS; do
24778 if test "%UNSET%" != "$LINGUAS"; then
24779 desiredlanguages
="$LINGUAS"
24781 desiredlanguages
="$ALL_LINGUAS"
24783 for desiredlang
in $desiredlanguages; do
24784 # Use the presentlang catalog if desiredlang is
24785 # a. equal to presentlang, or
24786 # b. a variant of presentlang (because in this case,
24787 # presentlang can be used as a fallback for messages
24788 # which are not translated in the desiredlang catalog).
24789 case "$desiredlang" in
24790 "$presentlang"*) useit
=yes;;
24793 if test $useit = yes; then
24794 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24799 if test -n "$INST_LINGUAS"; then
24800 for lang
in $INST_LINGUAS; do
24801 CATALOGS
="$CATALOGS $lang.gmo"
24804 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24805 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"
24806 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24807 if test -f "$f"; then
24809 *.orig |
*.bak |
*~
) ;;
24810 *) cat "$f" >> "$ac_dir/Makefile" ;;
24825 ac_clean_files
=$ac_clean_files_save
24827 test $ac_write_fail = 0 ||
24828 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24831 # configure is writing to config.log, and then calls config.status.
24832 # config.status does its own redirection, appending to config.log.
24833 # Unfortunately, on DOS this fails, as config.log is still kept open
24834 # by configure, so config.status won't be able to write to it; its
24835 # output is simply discarded. So we exec the FD to /dev/null,
24836 # effectively closing config.log, so it can be properly (re)opened and
24837 # appended to by config.status. When coming back to configure, we
24838 # need to make the FD available again.
24839 if test "$no_create" != yes; then
24841 ac_config_status_args
=
24842 test "$silent" = yes &&
24843 ac_config_status_args
="$ac_config_status_args --quiet"
24845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24848 # would make configure fail if this is the last instruction.
24849 $ac_cs_success || as_fn_exit
1
24851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}