2 # From configure.ac Rev:25 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.21.9.
6 # Report bugs to <chappa@washington.edu>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210 test \$(( 1 + 1 )) = 2 || exit 1"
211 if (eval "$as_required") 2>/dev
/null
; then :
216 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 # Try only shells that exist, to save several forks.
230 as_shell
=$as_dir/$as_base
231 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$as_shell as_have_required
=yes
234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
242 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
243 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
244 CONFIG_SHELL
=$SHELL as_have_required
=yes
249 if test "x$CONFIG_SHELL" != x
; then :
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
257 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
259 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed `exec'.
267 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271 if test x
$as_have_required = xno
; then :
272 $as_echo "$0: This script requires a shell more modern than all"
273 $as_echo "$0: the shells that I found on your system."
274 if test x
${ZSH_VERSION+set} = xset
; then
275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 $0: chappa@washington.edu about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
592 PACKAGE_NAME
='alpine'
593 PACKAGE_TARNAME
='alpine'
594 PACKAGE_VERSION
='2.21.9'
595 PACKAGE_STRING
='alpine 2.21.9'
596 PACKAGE_BUGREPORT
='chappa@washington.edu'
599 ac_unique_file
="include/system.h"
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
660 alpine_interactive_spellcheck
662 alpine_simple_spellcheck
746 MAINTAINER_MODE_FALSE
760 INSTALL_STRIP_PROGRAM
802 program_transform_name
815 enable_option_checking
817 enable_maintainer_mode
818 enable_dependency_tracking
836 enable_osx_universal_binaries
846 enable_background_post
854 with_simple_spellcheck
855 with_interactive_spellcheck
857 with_system_fixed_pinerc
858 with_local_support_info
859 with_mailcheck_interval
860 with_checkpoint_interval
861 with_checkpoint_frequency
864 with_max_display_rows
865 with_max_display_columns
871 with_forwarded_keyword
875 with_default_save_folder
876 with_default_legacy_postponed_folder
877 with_default_postponed_folder
878 with_default_trash_folder
879 with_default_interrupted_mail
880 with_default_dead_letter_folder
881 with_default_mail_directory
882 with_default_inbox_name
883 with_default_signature_file
884 with_default_elm_style_save
885 with_default_header_in_reply
886 with_default_old_style_reply
887 with_default_use_only_domain_name
888 with_default_save_by_sender
889 with_default_sort_key
890 with_default_addressbook_sort_rule
891 with_default_folder_sort_rule
892 with_default_saved_message_name_rule
893 with_default_fcc_rule
894 with_default_standard_printer
895 with_default_ansi_printer
896 with_default_addressbook
897 with_default_local_fullname
898 with_default_local_address
899 with_default_keyboard_lock_count
900 with_default_remote_addressbook_history
901 with_smime_public_cert_directory
902 with_smime_private_key_directory
903 with_smime_cacert_directory
906 with_local_password_cache
907 with_local_password_cache_method
917 with_krb5_include_dir
921 with_ldap_include_dir
929 with_system_mail_directory
934 ac_precious_vars
='build_alias
945 # Initialize some variables set by options.
947 ac_init_version
=false
948 ac_unrecognized_opts
=
950 # The variables have the same names as the options, with
951 # dashes changed to underlines.
959 program_transform_name
=s
,x
,x
,
967 # Installation directory options.
968 # These are left unexpanded so users can "make install exec_prefix=/foo"
969 # and all the variables that are supposed to be based on exec_prefix
970 # by default will actually change.
971 # Use braces instead of parens because sh, perl, etc. also accept them.
972 # (The list follows the same order as the GNU Coding Standards.)
973 bindir
='${exec_prefix}/bin'
974 sbindir
='${exec_prefix}/sbin'
975 libexecdir
='${exec_prefix}/libexec'
976 datarootdir
='${prefix}/share'
977 datadir
='${datarootdir}'
978 sysconfdir
='${prefix}/etc'
979 sharedstatedir
='${prefix}/com'
980 localstatedir
='${prefix}/var'
981 includedir
='${prefix}/include'
982 oldincludedir
='/usr/include'
983 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
984 infodir
='${datarootdir}/info'
989 libdir
='${exec_prefix}/lib'
990 localedir
='${datarootdir}/locale'
991 mandir
='${datarootdir}/man'
997 # If the previous option needs an argument, assign it.
998 if test -n "$ac_prev"; then
999 eval $ac_prev=\
$ac_option
1005 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1010 # Accept the important Cygnus configure options, so we can diagnose typos.
1012 case $ac_dashdash$ac_option in
1016 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1018 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1019 bindir
=$ac_optarg ;;
1021 -build |
--build |
--buil |
--bui |
--bu)
1022 ac_prev
=build_alias
;;
1023 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1024 build_alias
=$ac_optarg ;;
1026 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1027 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1028 ac_prev
=cache_file
;;
1029 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1030 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1031 cache_file
=$ac_optarg ;;
1033 --config-cache |
-C)
1034 cache_file
=config.cache
;;
1036 -datadir |
--datadir |
--datadi |
--datad)
1038 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1039 datadir
=$ac_optarg ;;
1041 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1042 |
--dataroo |
--dataro |
--datar)
1043 ac_prev
=datarootdir
;;
1044 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1045 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1046 datarootdir
=$ac_optarg ;;
1048 -disable-* |
--disable-*)
1049 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1052 as_fn_error $?
"invalid feature name: $ac_useropt"
1053 ac_useropt_orig
=$ac_useropt
1054 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1057 "enable_
$ac_useropt"
1059 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1060 ac_unrecognized_sep
=', ';;
1062 eval enable_
$ac_useropt=no
;;
1064 -docdir |
--docdir |
--docdi |
--doc |
--do)
1066 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1067 docdir
=$ac_optarg ;;
1069 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1071 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1072 dvidir
=$ac_optarg ;;
1074 -enable-* |
--enable-*)
1075 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1078 as_fn_error $?
"invalid feature name: $ac_useropt"
1079 ac_useropt_orig
=$ac_useropt
1080 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1083 "enable_
$ac_useropt"
1085 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1086 ac_unrecognized_sep
=', ';;
1088 eval enable_
$ac_useropt=\
$ac_optarg ;;
1090 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1091 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1092 |
--exec |
--exe |
--ex)
1093 ac_prev
=exec_prefix
;;
1094 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1095 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1096 |
--exec=* |
--exe=* |
--ex=*)
1097 exec_prefix
=$ac_optarg ;;
1099 -gas |
--gas |
--ga |
--g)
1100 # Obsolete; use --with-gas.
1103 -help |
--help |
--hel |
--he |
-h)
1104 ac_init_help
=long
;;
1105 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1106 ac_init_help
=recursive
;;
1107 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1108 ac_init_help
=short
;;
1110 -host |
--host |
--hos |
--ho)
1111 ac_prev
=host_alias
;;
1112 -host=* |
--host=* |
--hos=* |
--ho=*)
1113 host_alias
=$ac_optarg ;;
1115 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1117 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1119 htmldir
=$ac_optarg ;;
1121 -includedir |
--includedir |
--includedi |
--included |
--include \
1122 |
--includ |
--inclu |
--incl |
--inc)
1123 ac_prev
=includedir
;;
1124 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1125 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1126 includedir
=$ac_optarg ;;
1128 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1130 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1131 infodir
=$ac_optarg ;;
1133 -libdir |
--libdir |
--libdi |
--libd)
1135 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1136 libdir
=$ac_optarg ;;
1138 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1139 |
--libexe |
--libex |
--libe)
1140 ac_prev
=libexecdir
;;
1141 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1142 |
--libexe=* |
--libex=* |
--libe=*)
1143 libexecdir
=$ac_optarg ;;
1145 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1146 ac_prev
=localedir
;;
1147 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1148 localedir
=$ac_optarg ;;
1150 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1151 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1152 ac_prev
=localstatedir
;;
1153 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1154 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1155 localstatedir
=$ac_optarg ;;
1157 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1159 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1160 mandir
=$ac_optarg ;;
1162 -nfp |
--nfp |
--nf)
1163 # Obsolete; use --without-fp.
1166 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1167 |
--no-cr |
--no-c |
-n)
1170 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1171 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1174 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1175 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1176 |
--oldin |
--oldi |
--old |
--ol |
--o)
1177 ac_prev
=oldincludedir
;;
1178 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1179 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1180 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1181 oldincludedir
=$ac_optarg ;;
1183 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1185 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1186 prefix
=$ac_optarg ;;
1188 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1189 |
--program-pre |
--program-pr |
--program-p)
1190 ac_prev
=program_prefix
;;
1191 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1192 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1193 program_prefix
=$ac_optarg ;;
1195 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1196 |
--program-suf |
--program-su |
--program-s)
1197 ac_prev
=program_suffix
;;
1198 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1199 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1200 program_suffix
=$ac_optarg ;;
1202 -program-transform-name |
--program-transform-name \
1203 |
--program-transform-nam |
--program-transform-na \
1204 |
--program-transform-n |
--program-transform- \
1205 |
--program-transform |
--program-transfor \
1206 |
--program-transfo |
--program-transf \
1207 |
--program-trans |
--program-tran \
1208 |
--progr-tra |
--program-tr |
--program-t)
1209 ac_prev
=program_transform_name
;;
1210 -program-transform-name=* |
--program-transform-name=* \
1211 |
--program-transform-nam=* |
--program-transform-na=* \
1212 |
--program-transform-n=* |
--program-transform-=* \
1213 |
--program-transform=* |
--program-transfor=* \
1214 |
--program-transfo=* |
--program-transf=* \
1215 |
--program-trans=* |
--program-tran=* \
1216 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1217 program_transform_name
=$ac_optarg ;;
1219 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1221 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1222 pdfdir
=$ac_optarg ;;
1224 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1226 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1229 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1230 |
-silent |
--silent |
--silen |
--sile |
--sil)
1233 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1235 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1237 sbindir
=$ac_optarg ;;
1239 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1240 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1241 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1243 ac_prev
=sharedstatedir
;;
1244 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1245 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1246 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1248 sharedstatedir
=$ac_optarg ;;
1250 -site |
--site |
--sit)
1252 -site=* |
--site=* |
--sit=*)
1255 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1257 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1258 srcdir
=$ac_optarg ;;
1260 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1261 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1262 ac_prev
=sysconfdir
;;
1263 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1264 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1265 sysconfdir
=$ac_optarg ;;
1267 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1268 ac_prev
=target_alias
;;
1269 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1270 target_alias
=$ac_optarg ;;
1272 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1275 -version |
--version |
--versio |
--versi |
--vers |
-V)
1276 ac_init_version
=: ;;
1279 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1282 as_fn_error $?
"invalid package name: $ac_useropt"
1283 ac_useropt_orig
=$ac_useropt
1284 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285 case $ac_user_opts in
1289 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1290 ac_unrecognized_sep
=', ';;
1292 eval with_
$ac_useropt=\
$ac_optarg ;;
1294 -without-* |
--without-*)
1295 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1296 # Reject names that are not valid shell variable names.
1297 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1298 as_fn_error $?
"invalid package name: $ac_useropt"
1299 ac_useropt_orig
=$ac_useropt
1300 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301 case $ac_user_opts in
1305 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1306 ac_unrecognized_sep
=', ';;
1308 eval with_
$ac_useropt=no
;;
1311 # Obsolete; use --with-x.
1314 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1315 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1316 ac_prev
=x_includes
;;
1317 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1318 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1319 x_includes
=$ac_optarg ;;
1321 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1322 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1323 ac_prev
=x_libraries
;;
1324 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1325 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1326 x_libraries
=$ac_optarg ;;
1328 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1329 Try \`$0 --help' for more information"
1333 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1334 # Reject names that are not valid shell variable names.
1335 case $ac_envvar in #(
1336 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1337 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1339 eval $ac_envvar=\
$ac_optarg
1340 export $ac_envvar ;;
1343 # FIXME: should be removed in autoconf 3.0.
1344 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1345 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1346 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1347 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1353 if test -n "$ac_prev"; then
1354 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1355 as_fn_error $?
"missing argument to $ac_option"
1358 if test -n "$ac_unrecognized_opts"; then
1359 case $enable_option_checking in
1361 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1362 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1366 # Check all directory arguments for consistency.
1367 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1368 datadir sysconfdir sharedstatedir localstatedir includedir \
1369 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1370 libdir localedir mandir
1372 eval ac_val
=\$
$ac_var
1373 # Remove trailing slashes.
1376 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1377 eval $ac_var=\
$ac_val;;
1379 # Be sure to have absolute directory names.
1381 [\\/$
]* | ?
:[\\/]* ) continue;;
1382 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1384 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1387 # There might be people who depend on the old broken behavior: `$host'
1388 # used to hold the argument of --host etc.
1389 # FIXME: To remove some day.
1392 target
=$target_alias
1394 # FIXME: To remove some day.
1395 if test "x$host_alias" != x
; then
1396 if test "x$build_alias" = x
; then
1397 cross_compiling
=maybe
1398 elif test "x$build_alias" != "x$host_alias"; then
1404 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1406 test "$silent" = yes && exec 6>/dev
/null
1409 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1410 ac_ls_di
=`ls -di .` &&
1411 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1412 as_fn_error $?
"working directory cannot be determined"
1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1414 as_fn_error $?
"pwd does not report name of working directory"
1417 # Find the source files, if location was not specified.
1418 if test -z "$srcdir"; then
1419 ac_srcdir_defaulted
=yes
1420 # Try the directory containing this script, then the parent directory.
1421 ac_confdir
=`$as_dirname -- "$as_myself" ||
1422 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1423 X"$as_myself" : 'X\(//\)[^/]' \| \
1424 X"$as_myself" : 'X\(//\)$' \| \
1425 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1426 $as_echo X"$as_myself" |
1427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1445 if test ! -r "$srcdir/$ac_unique_file"; then
1449 ac_srcdir_defaulted
=no
1451 if test ! -r "$srcdir/$ac_unique_file"; then
1452 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1453 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1455 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1457 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1459 # When building in place, set srcdir=.
1460 if test "$ac_abs_confdir" = "$ac_pwd"; then
1463 # Remove unnecessary trailing slashes from srcdir.
1464 # Double slashes in file names in object file debugging info
1465 # mess up M-x gdb in Emacs.
1467 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1469 for ac_var
in $ac_precious_vars; do
1470 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1471 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1472 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1473 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1477 # Report the --help message.
1479 if test "$ac_init_help" = "long"; then
1480 # Omit some internal or obsolete options to make the list less imposing.
1481 # This message is too long to be a string in the A/UX 3.1 sh.
1483 \`configure' configures alpine 2.21.9 to adapt to many kinds of systems.
1485 Usage: $0 [OPTION]... [VAR=VALUE]...
1487 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1488 VAR=VALUE. See below for descriptions of some of the useful variables.
1490 Defaults for the options are specified in brackets.
1493 -h, --help display this help and exit
1494 --help=short display options specific to this package
1495 --help=recursive display the short help of all the included packages
1496 -V, --version display version information and exit
1497 -q, --quiet, --silent do not print \`checking ...' messages
1498 --cache-file=FILE cache test results in FILE [disabled]
1499 -C, --config-cache alias for \`--cache-file=config.cache'
1500 -n, --no-create do not create output files
1501 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1503 Installation directories:
1504 --prefix=PREFIX install architecture-independent files in PREFIX
1505 [$ac_default_prefix]
1506 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1509 By default, \`make install' will install all the files in
1510 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1511 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1512 for instance \`--prefix=\$HOME'.
1514 For better control, use the options below.
1516 Fine tuning of the installation directories:
1517 --bindir=DIR user executables [EPREFIX/bin]
1518 --sbindir=DIR system admin executables [EPREFIX/sbin]
1519 --libexecdir=DIR program executables [EPREFIX/libexec]
1520 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1521 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1522 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1523 --libdir=DIR object code libraries [EPREFIX/lib]
1524 --includedir=DIR C header files [PREFIX/include]
1525 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1526 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1527 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1528 --infodir=DIR info documentation [DATAROOTDIR/info]
1529 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1530 --mandir=DIR man documentation [DATAROOTDIR/man]
1531 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1532 --htmldir=DIR html documentation [DOCDIR]
1533 --dvidir=DIR dvi documentation [DOCDIR]
1534 --pdfdir=DIR pdf documentation [DOCDIR]
1535 --psdir=DIR ps documentation [DOCDIR]
1541 --program-prefix=PREFIX prepend PREFIX to installed program names
1542 --program-suffix=SUFFIX append SUFFIX to installed program names
1543 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1546 --build=BUILD configure
for building on BUILD
[guessed
]
1547 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1551 if test -n "$ac_init_help"; then
1552 case $ac_init_help in
1553 short | recursive
) echo "Configuration of alpine 2.21.9:";;
1558 --disable-option-checking ignore unrecognized
--enable/--with options
1559 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1560 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1561 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1562 --disable-silent-rules verbose build output
(undo
: "make V=0")
1563 --enable-maintainer-mode
1564 enable make rules and dependencies not useful
(and
1565 sometimes confusing
) to the casual installer
1566 --enable-dependency-tracking
1567 do not reject slow dependency extractors
1568 --disable-dependency-tracking
1569 speeds up one-time build
1570 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1571 --enable-static[=PKGS
] build static libraries
[default
=yes]
1572 --enable-fast-install[=PKGS
]
1573 optimize
for fast installation
[default
=yes]
1574 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1575 --disable-nls do not use Native Language Support
1576 --disable-rpath do not hardcode runtime library paths
1577 --enable-dmalloc Enable dmalloc debugging
1578 --enable-osx-universal-binaries
1579 Produce universal binaries under OS X
[[default
=no
]]
1580 --disable-debug Exclude debug messages from
source
1581 --disable-optimization Exclude optimizing compiler flags
1582 --disable-mouse Disable mouse support
1583 --enable-quotas Enable disk quota checking on startup
1584 --disable-from-changing Disallow users changing From addresss
1585 --disable-background-post
1586 Disable background posting
1587 --disable-keyboard-lock Disable keyboard locking
1588 --enable-from-encoding Enable From encoding
in sent messages
1591 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1592 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1593 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1595 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1596 --with-sysroot=DIR Search
for dependent libraries within DIR
1597 (or the compiler
's sysroot if not specified).
1598 --with-gnu-ld assume the C compiler uses GNU ld default=no
1599 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1600 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1601 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1602 --without-libintl-prefix don
't search for libintl in includedir and libdir
1603 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1604 --with-date-stamp=DATE Set this as the date this program was built.
1605 Default: output of `date`
1606 --with-host-stamp=HOST Set name of computer for compilation. Default:
1607 output of `hostname`
1608 --with-ps-cmd="CMD" Use this command to check running commands. Default:
1610 --with-localedir=DIR Name of gettext locale directory
1611 --with-include-path=PATHS
1612 Colon-separated list of directories used for include
1614 --with-lib-path=PATHS Colon-separated list of directories used for library
1616 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1617 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1618 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1619 --with-smtp-msa-flags=FLAGS
1620 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1621 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1622 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1623 --with-password-prog=PATH
1624 Password change program (/bin/passwd)
1625 --with-simple-spellcheck=PROG
1626 Spellcheck program reads stdin, emits misspellings
1628 --with-interactive-spellcheck=PROG
1629 Interactive, filewise spell checker
1630 --with-system-pinerc=VALUE
1631 System pinerc (/usr/local/lib/pine.conf)
1632 --with-system-fixed-pinerc=VALUE
1633 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1634 --with-local-support-info=VALUE
1635 Local Support Info File (/usr/local/lib/pine.info)
1636 --with-mailcheck-interval=VALUE
1637 Specify default mail-check-interval (150)
1638 --with-checkpoint-interval=VALUE
1639 Specify default checkpoint-interval (420)
1640 --with-checkpoint-frequency=VALUE
1641 State change count before checkpoint (12)
1642 --with-display-rows=VALUE
1643 Initial rows on display (24)
1644 --with-display-columns=VALUE
1645 Initial columns on display (80)
1646 --with-max-display-rows=VALUE
1647 Maximum display rows (200)
1648 --with-max-display-columns=VALUE
1649 Maximum display columns (500)
1650 --with-fill-column=VALUE
1651 Default fill column (74)
1652 --with-max_fill-column=VALUE
1653 Maximum fill column (80)
1654 --with-debug-level=VALUE
1655 Specify default debug verbosity level (2)
1656 --with-debug-files=VALUE
1657 Specify number of debug files (4)
1658 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1659 --with-forwarded-keyword=VALUE
1660 IMAP (c-client) keyword to store forwarded status
1662 --with-display-overlap=VALUE
1663 Lines preserved while paging (2)
1664 --with-display-margin=VALUE
1665 Lines visible while scrolling (0)
1666 --with-default-fcc=VALUE
1667 Default sent mail folder (sent-mail)
1668 --with-default-save-folder=VALUE
1669 Default save folder (saved-messages)
1670 --with-default-legacy-postponed-folder=VALUE
1671 Pre Pine 3.90 postponed folder (postponed-mail)
1672 --with-default-postponed-folder=VALUE
1673 Default postponed folder (postponed-msgs)
1674 --with-default-trash-folder=VALUE
1675 Default Trash folder for Web Alpine (Trash)
1676 --with-default-interrupted-mail=VALUE
1677 Default folder for interrupted mail
1678 (.pine-interrupted-mail)
1679 --with-default-dead-letter-folder=VALUE
1680 Default dead letter folder (dead.letter)
1681 --with-default-mail-directory=VALUE
1682 Default mail directory (mail)
1683 --with-default-inbox-name=VALUE
1684 Default inbox name (INBOX)
1685 --with-default-signature-file=VALUE
1686 Default signature file (.signature)
1687 --with-default-elm-style-save=VALUE
1688 Default to Elm style save (no)
1689 --with-default-header-in-reply=VALUE
1690 Include header in reply (no)
1691 --with-default-old-style-reply=VALUE
1692 Default to old style reply (no)
1693 --with-default-use-only-domain-name=VALUE
1694 Default to using only the domain name (no)
1695 --with-default-save-by-sender=VALUE
1696 Default to save by sender (no)
1697 --with-default-sort-key=VALUE
1698 Default sort key (arrival)
1699 --with-default-addressbook-sort-rule=VALUE
1700 Default addressbook sort rule
1701 (fullname-with-lists-last)
1702 --with-default-folder-sort-rule=VALUE
1703 Default folder sort rule (alphabetical)
1704 --with-default-saved-message-name-rule=VALUE
1705 Default saved message name rule (default-folder)
1706 --with-default-fcc-rule=VALUE
1707 Default fcc rule (default-fcc)
1708 --with-default-standard-printer=VALUE
1709 Default standard printern (lpr)
1710 --with-default-ansi-printer=VALUE
1711 ANSI printer definition (attached-to-ansi)
1712 --with-default-addressbook=VALUE
1713 Default addressbook name (.addressbook)
1714 --with-default-local-fullname=VALUE
1715 Default local support fullname ("Local Support")
1716 --with-default-local-address=VALUE
1717 Default local support address (postmaster)
1718 --with-default-keyboard-lock-count=VALUE
1719 Default keyboard lock count (1)
1720 --with-default-remote-addressbook-history=VALUE
1721 Default address book history count (3)
1722 --with-smime-public-cert-directory=VALUE
1723 Default Public Cert Directory (.alpine-smime/public)
1724 --with-smime-private-key-directory=VALUE
1725 Default Private Key Directory
1726 (.alpine-smime/private)
1727 --with-smime-cacert-directory=VALUE
1728 Default Cert Authority Directory (.alpine-smime/ca)
1729 --with-default-printer=VALUE
1730 Default printer (ANSI_PRINTER)
1731 --with-passfile=FILENAME
1732 Password cache file (recommended when S/MIME is
1733 enabled and configured)
1734 --without-local-password-cache
1735 Disable OS-specific password cache, if supported
1736 --with-local-password-cache-method
1737 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1739 --with-default-sshpath=FILENAME
1740 set default value of ssh command path (defining
1741 should cause ssh to be preferred to rsh)
1742 --with-default-sshcmd=PERCENT_S_STRING
1743 set default value of ssh command string (usually "%s
1744 %s -l %s exec /etc/r%sd")
1745 --without-ssl Disable SSL support (OpenSSL)
1746 --with-ssl-dir=DIR Root of SSL lib/include path
1747 --with-ssl-certs-dir=DIR
1748 Path to SSL certificate directory
1749 --with-ssl-include-dir=DIR
1750 SSL include file path
1751 --with-ssl-lib-dir=DIR SSL library path
1752 --without-krb5 Disable Kerberos support
1753 --with-krb5-dir=DIR Root of Kerberos lib/include path
1754 --with-krb5-include-dir=DIR
1755 Kerberos include file path
1756 --with-krb5-lib-dir=DIR Kerberos library path
1757 --without-ldap Disable LDAP query support
1758 --with-ldap-dir=DIR Root of LDAP lib/include path
1759 --with-ldap-include-dir=DIR
1760 Directory containing LDAP include files
1761 --with-ldap-lib-dir=DIR LDAP library path
1762 --without-smime Disable S/MIME
1763 --without-tcl Disable TCL, thus Web Alpine support
1764 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1765 --with-tcl-include=DIR Directory containing TCL include files
1766 --with-supplied-regex Use regex library supplied with alpine
1767 --without-pthread Do NOT test for nor build with POSIX thread support
1768 --with-system-mail-directory=DIR
1769 Directory where local mail is delivered
1770 --with-c-client-target=TARGET
1771 IMAP build target (see imap/Makefile)
1772 --without-ipv6 Disable IPv6, primarily to work around resolver
1774 --without-ntlm Disable NTLM client support
1776 Some influential environment variables:
1777 CC C compiler command
1778 CFLAGS C compiler flags
1779 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1780 nonstandard directory <lib dir>
1781 LIBS libraries to pass to the linker, e.g. -l<library>
1782 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1783 you have headers in a nonstandard directory <include dir>
1786 Use these variables to override the choices made by `configure' or to
help
1787 it to
find libraries and programs with nonstandard names
/locations.
1789 Report bugs to
<chappa@washington.edu
>.
1794 if test "$ac_init_help" = "recursive"; then
1795 # If there are subdirs, report their specific --help.
1796 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1797 test -d "$ac_dir" ||
1798 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1803 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1805 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1806 # A ".." for each directory in $ac_dir_suffix.
1807 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1808 case $ac_top_builddir_sub in
1809 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1810 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1813 ac_abs_top_builddir
=$ac_pwd
1814 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1815 # for backward compatibility:
1816 ac_top_builddir
=$ac_top_build_prefix
1819 .
) # We are building in place.
1821 ac_top_srcdir
=$ac_top_builddir_sub
1822 ac_abs_top_srcdir
=$ac_pwd ;;
1823 [\\/]* | ?
:[\\/]* ) # Absolute name.
1824 ac_srcdir
=$srcdir$ac_dir_suffix;
1825 ac_top_srcdir
=$srcdir
1826 ac_abs_top_srcdir
=$srcdir ;;
1828 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1829 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1830 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1832 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1834 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1835 # Check for guested configure.
1836 if test -f "$ac_srcdir/configure.gnu"; then
1838 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1839 elif test -f "$ac_srcdir/configure"; then
1841 $SHELL "$ac_srcdir/configure" --help=recursive
1843 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1845 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1849 test -n "$ac_init_help" && exit $ac_status
1850 if $ac_init_version; then
1852 alpine configure
2.21.9
1853 generated by GNU Autoconf
2.69
1855 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1856 This configure
script is free software
; the Free Software Foundation
1857 gives unlimited permission to copy
, distribute and modify it.
1862 ## ------------------------ ##
1863 ## Autoconf initialization. ##
1864 ## ------------------------ ##
1866 # ac_fn_c_try_compile LINENO
1867 # --------------------------
1868 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1869 ac_fn_c_try_compile
()
1871 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1872 rm -f conftest.
$ac_objext
1873 if { { ac_try
="$ac_compile"
1875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1876 *) ac_try_echo=$ac_try;;
1878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879 $as_echo "$ac_try_echo"; } >&5
1880 (eval "$ac_compile") 2>conftest.err
1882 if test -s conftest.err; then
1883 grep -v '^ *+' conftest.err >conftest.er1
1884 cat conftest.er1 >&5
1885 mv -f conftest.er1 conftest.err
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; } && {
1889 test -z "$ac_c_werror_flag" ||
1890 test ! -s conftest.err
1891 } && test -s conftest.$ac_objext; then :
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 as_fn_set_status $ac_retval
1902 } # ac_fn_c_try_compile
1904 # ac_fn_c_try_cpp LINENO
1905 # ----------------------
1906 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 if { { ac_try="$ac_cpp conftest.$ac_ext"
1912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1913 *) ac_try_echo
=$ac_try;;
1915 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1919 if test -s conftest.err
; then
1920 grep -v '^ *+' conftest.err
>conftest.er1
1921 cat conftest.er1
>&5
1922 mv -f conftest.er1 conftest.err
1924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1925 test $ac_status = 0; } > conftest.i
&& {
1926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1927 test ! -s conftest.err
1931 $as_echo "$as_me: failed program was:" >&5
1932 sed 's/^/| /' conftest.
$ac_ext >&5
1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937 as_fn_set_status
$ac_retval
1941 # ac_fn_c_try_link LINENO
1942 # -----------------------
1943 # Try to link conftest.$ac_ext, and return whether this succeeded.
1946 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1947 rm -f conftest.
$ac_objext conftest
$ac_exeext
1948 if { { ac_try
="$ac_link"
1950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1951 *) ac_try_echo=$ac_try;;
1953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954 $as_echo "$ac_try_echo"; } >&5
1955 (eval "$ac_link") 2>conftest.err
1957 if test -s conftest.err; then
1958 grep -v '^ *+' conftest.err >conftest.er1
1959 cat conftest.er1 >&5
1960 mv -f conftest.er1 conftest.err
1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963 test $ac_status = 0; } && {
1964 test -z "$ac_c_werror_flag" ||
1965 test ! -s conftest.err
1966 } && test -s conftest$ac_exeext && {
1967 test "$cross_compiling" = yes ||
1968 test -x conftest$ac_exeext
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1977 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1978 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1979 # interfere with the next link command; also delete a directory that is
1980 # left behind by Apple's compiler. We do this before executing the actions.
1981 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1983 as_fn_set_status $ac_retval
1985 } # ac_fn_c_try_link
1987 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1988 # -------------------------------------------------------
1989 # Tests whether HEADER exists and can be compiled using the include files in
1990 # INCLUDES, setting the cache variable VAR accordingly.
1991 ac_fn_c_check_header_compile ()
1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995 $as_echo_n "checking for $2... " >&6; }
1996 if eval \${$3+:} false; then :
1997 $as_echo_n "(cached) " >&6
1999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000 /* end confdefs.h. */
2004 if ac_fn_c_try_compile "$LINENO"; then :
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 } # ac_fn_c_check_header_compile
2018 # ac_fn_c_try_run LINENO
2019 # ----------------------
2020 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2021 # that executables *can* be run.
2024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2025 if { { ac_try="$ac_link"
2027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2028 *) ac_try_echo
=$ac_try;;
2030 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2031 $as_echo "$ac_try_echo"; } >&5
2032 (eval "$ac_link") 2>&5
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2036 { { case "(($ac_try" in
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_try") 2>&5
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; }; }; then :
2048 $as_echo "$as_me: program exited with status $ac_status" >&5
2049 $as_echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.$ac_ext >&5
2052 ac_retval=$ac_status
2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 as_fn_set_status $ac_retval
2060 # ac_fn_c_check_func LINENO FUNC VAR
2061 # ----------------------------------
2062 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2063 ac_fn_c_check_func ()
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2067 $as_echo_n "checking for $2... " >&6; }
2068 if eval \${$3+:} false; then :
2069 $as_echo_n "(cached) " >&6
2071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2073 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2075 #define $2 innocuous_$2
2077 /* System header to define __stub macros and hopefully few prototypes,
2078 which can conflict with char $2 (); below.
2079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2080 <limits.h> exists even on freestanding compilers. */
2083 # include <limits.h>
2085 # include <assert.h>
2090 /* Override any GCC internal prototype to avoid an error.
2091 Use char because int might match the return type of a GCC
2092 builtin and then its argument prototype would still apply. */
2097 /* The GNU C library defines this for functions which it implements
2098 to always fail with ENOSYS. Some functions are actually named
2099 something starting with __ and the normal name is an alias. */
2100 #if defined __stub_$2 || defined __stub___$2
2112 if ac_fn_c_try_link "$LINENO"; then :
2117 rm -f core conftest.err conftest.$ac_objext \
2118 conftest$ac_exeext conftest.$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2123 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125 } # ac_fn_c_check_func
2127 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2128 # -------------------------------------------------------
2129 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2130 # the include files in INCLUDES and setting the cache variable VAR
2132 ac_fn_c_check_header_mongrel ()
2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135 if eval \${$3+:} false; then :
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2137 $as_echo_n "checking for $2... " >&6; }
2138 if eval \${$3+:} false; then :
2139 $as_echo_n "(cached) " >&6
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2143 $as_echo "$ac_res" >&6; }
2145 # Is the header compilable?
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2147 $as_echo_n "checking $2 usability... " >&6; }
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2153 if ac_fn_c_try_compile "$LINENO"; then :
2154 ac_header_compiler=yes
2156 ac_header_compiler=no
2158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2160 $as_echo "$ac_header_compiler" >&6; }
2162 # Is the header present?
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2164 $as_echo_n "checking $2 presence... " >&6; }
2165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2166 /* end confdefs.h. */
2169 if ac_fn_c_try_cpp "$LINENO"; then :
2170 ac_header_preproc=yes
2172 ac_header_preproc=no
2174 rm -f conftest.err conftest.i conftest.$ac_ext
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2176 $as_echo "$ac_header_preproc" >&6; }
2178 # So? What about this header?
2179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2182 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2184 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2188 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2190 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2192 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2194 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2196 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2197 ( $as_echo "## ------------------------------------ ##
2198 ## Report this to chappa@washington.edu ##
2199 ## ------------------------------------ ##"
2200 ) | sed "s/^/$as_me: WARNING: /" >&2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if eval \${$3+:} false; then :
2206 $as_echo_n "(cached) " >&6
2208 eval "$3=\$ac_header_compiler"
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212 $as_echo "$ac_res" >&6; }
2214 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2216 } # ac_fn_c_check_header_mongrel
2218 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2219 # -------------------------------------------
2220 # Tests whether TYPE exists after having included INCLUDES, setting cache
2221 # variable VAR accordingly.
2222 ac_fn_c_check_type ()
2224 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2226 $as_echo_n "checking for $2... " >&6; }
2227 if eval \${$3+:} false; then :
2228 $as_echo_n "(cached) " >&6
2231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h. */
2243 if ac_fn_c_try_compile "$LINENO"; then :
2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2256 if ac_fn_c_try_compile "$LINENO"; then :
2261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2268 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2270 } # ac_fn_c_check_type
2272 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2273 # --------------------------------------------
2274 # Tries to find the compile-time value of EXPR in a program that includes
2275 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2277 ac_fn_c_compute_int ()
2279 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2280 if test "$cross_compiling" = yes; then
2281 # Depending upon the size, compute the lo and hi bounds.
2282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2283 /* end confdefs.h. */
2288 static int test_array [1 - 2 * !(($2) >= 0)];
2290 return test_array [0];
2296 if ac_fn_c_try_compile "$LINENO"; then :
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2305 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2307 return test_array [0];
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_hi=$ac_mid; break
2316 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2317 if test $ac_lo -le $ac_mid; then
2321 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2332 static int test_array [1 - 2 * !(($2) < 0)];
2334 return test_array [0];
2340 if ac_fn_c_try_compile "$LINENO"; then :
2343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h. */
2349 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2351 return test_array [0];
2357 if ac_fn_c_try_compile "$LINENO"; then :
2358 ac_lo=$ac_mid; break
2360 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2361 if test $ac_mid -le $ac_hi; then
2365 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2375 # Binary search between lo and hi bounds.
2376 while test "x$ac_lo" != "x$ac_hi"; do
2377 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2384 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2386 return test_array [0];
2392 if ac_fn_c_try_compile "$LINENO"; then :
2395 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2400 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405 /* end confdefs.h. */
2407 static long int longval () { return $2; }
2408 static unsigned long int ulongval () { return $2; }
2415 FILE *f = fopen ("conftest.val", "w");
2420 long int i = longval ();
2423 fprintf (f, "%ld", i);
2427 unsigned long int i = ulongval ();
2430 fprintf (f, "%lu", i);
2432 /* Do not output a trailing newline, as this causes \r\n confusion
2433 on some platforms. */
2434 return ferror (f) || fclose (f) != 0;
2440 if ac_fn_c_try_run "$LINENO"; then :
2441 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2446 conftest.$ac_objext conftest.beam conftest.$ac_ext
2450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2451 as_fn_set_status $ac_retval
2453 } # ac_fn_c_compute_int
2454 cat >config.log <<_ACEOF
2455 This file contains any messages produced by compilers while
2456 running configure, to aid debugging if configure makes a mistake.
2458 It was created by alpine $as_me 2.21.9, which was
2459 generated by GNU Autoconf 2.69. Invocation command line was
2471 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2472 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2473 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2474 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2475 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2477 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2478 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2480 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2481 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2482 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2483 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2484 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2485 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2486 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir=.
2495 $as_echo "PATH: $as_dir"
2511 # Keep a trace of the command line.
2512 # Strip out --no-create and --no-recursion so they do not pile up.
2513 # Strip out --silent because we don't want to record it for future runs.
2514 # Also quote any args containing shell meta-characters.
2515 # Make two passes to allow for proper duplicate-argument suppression.
2519 ac_must_keep_next=false
2525 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2526 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2527 | -silent | --silent | --silen | --sile | --sil)
2530 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2533 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2535 as_fn_append ac_configure_args1 " '$ac_arg'"
2536 if test $ac_must_keep_next = true; then
2537 ac_must_keep_next=false # Got value, back to normal.
2540 *=* | --config-cache | -C | -disable-* | --disable-* \
2541 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2542 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2543 | -with-* | --with-* | -without-* | --without-* | --x)
2544 case "$ac_configure_args0 " in
2545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2548 -* ) ac_must_keep_next=true ;;
2551 as_fn_append ac_configure_args " '$ac_arg'"
2556 { ac_configure_args0=; unset ac_configure_args0;}
2557 { ac_configure_args1=; unset ac_configure_args1;}
2559 # When interrupted or exit'd, cleanup temporary files, and complete
2560 # config.log. We remove comments because anyway the quotes in there
2561 # would cause problems or look ugly.
2562 # WARNING: Use '\'' to represent an apostrophe within the trap.
2563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2564 trap 'exit_status=$?
2565 # Save into config.log some information that might help in debugging.
2569 $as_echo "## ---------------- ##
2570 ## Cache variables. ##
2571 ## ---------------- ##"
2573 # The following way of writing the cache mishandles newlines in values,
2575 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2576 eval ac_val=\$$ac_var
2580 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2584 _ | IFS | as_nl) ;; #(
2585 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2586 *) { eval $ac_var=; unset $ac_var;} ;;
2591 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2592 *${as_nl}ac_space=\ *)
2594 "s/'\''/'\''\\\\'\'''\''/g;
2595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2605 $as_echo "## ----------------- ##
2606 ## Output variables. ##
2607 ## ----------------- ##"
2609 for ac_var in $ac_subst_vars
2611 eval ac_val=\$$ac_var
2613 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2615 $as_echo "$ac_var='\''$ac_val'\''"
2619 if test -n "$ac_subst_files"; then
2620 $as_echo "## ------------------- ##
2621 ## File substitutions. ##
2622 ## ------------------- ##"
2624 for ac_var in $ac_subst_files
2626 eval ac_val=\$$ac_var
2628 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2630 $as_echo "$ac_var='\''$ac_val'\''"
2635 if test -s confdefs.h; then
2636 $as_echo "## ----------- ##
2643 test "$ac_signal" != 0 &&
2644 $as_echo "$as_me: caught signal $ac_signal"
2645 $as_echo "$as_me: exit $exit_status"
2647 rm -f core *.core core.conftest.* &&
2648 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2651 for ac_signal in 1 2 13 15; do
2652 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2656 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2657 rm -f -r conftest* confdefs.h
2659 $as_echo "/* confdefs.h */" > confdefs.h
2661 # Predefined preprocessor variables.
2663 cat >>confdefs.h <<_ACEOF
2664 #define PACKAGE_NAME "$PACKAGE_NAME"
2667 cat >>confdefs.h <<_ACEOF
2668 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2671 cat >>confdefs.h <<_ACEOF
2672 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2675 cat >>confdefs.h <<_ACEOF
2676 #define PACKAGE_STRING "$PACKAGE_STRING"
2679 cat >>confdefs.h <<_ACEOF
2680 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2683 cat >>confdefs.h <<_ACEOF
2684 #define PACKAGE_URL "$PACKAGE_URL"
2688 # Let the site file select an alternate cache file if it wants to.
2689 # Prefer an explicitly selected file to automatically selected ones.
2692 if test -n "$CONFIG_SITE"; then
2693 # We do not want a PATH search for config.site.
2694 case $CONFIG_SITE in #((
2695 -*) ac_site_file1=./$CONFIG_SITE;;
2696 */*) ac_site_file1=$CONFIG_SITE;;
2697 *) ac_site_file1=./$CONFIG_SITE;;
2699 elif test "x$prefix" != xNONE; then
2700 ac_site_file1=$prefix/share/config.site
2701 ac_site_file2=$prefix/etc/config.site
2703 ac_site_file1=$ac_default_prefix/share/config.site
2704 ac_site_file2=$ac_default_prefix/etc/config.site
2706 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2708 test "x$ac_site_file" = xNONE && continue
2709 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2711 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2712 sed 's/^/| /' "$ac_site_file" >&5
2714 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2716 as_fn_error $? "failed to load site
script $ac_site_file
2717 See \
`config.log' for more details" "$LINENO" 5; }
2721 if test -r "$cache_file"; then
2722 # Some versions of bash will fail to source /dev/null (special files
2723 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2724 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2726 $as_echo "$as_me: loading cache $cache_file" >&6;}
2728 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2729 *) . "./$cache_file";;
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2734 $as_echo "$as_me: creating cache $cache_file" >&6;}
2738 gt_needs="$gt_needs "
2739 # Check that the precious variables saved in the cache have kept the same
2741 ac_cache_corrupted=false
2742 for ac_var in $ac_precious_vars; do
2743 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2744 eval ac_new_set=\$ac_env_${ac_var}_set
2745 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2746 eval ac_new_val=\$ac_env_${ac_var}_value
2747 case $ac_old_set,$ac_new_set in
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2750 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2751 ac_cache_corrupted=: ;;
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2754 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2755 ac_cache_corrupted=: ;;
2758 if test "x$ac_old_val" != "x$ac_new_val"; then
2759 # differences in whitespace do not lead to failure.
2760 ac_old_val_w=`echo x
$ac_old_val`
2761 ac_new_val_w=`echo x
$ac_new_val`
2762 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2764 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2765 ac_cache_corrupted=:
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2768 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2769 eval $ac_var=\$ac_old_val
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2772 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2774 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2777 # Pass precious variables to config.status.
2778 if test "$ac_new_set" = set; then
2780 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2781 *) ac_arg=$ac_var=$ac_new_val ;;
2783 case " $ac_configure_args " in
2784 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2785 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2789 if $ac_cache_corrupted; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2793 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2794 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2796 ## -------------------- ##
2797 ## Main body of script. ##
2798 ## -------------------- ##
2801 ac_cpp='$CPP $CPPFLAGS'
2802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2809 ac_config_headers="$ac_config_headers include/config.h"
2812 am__api_version='1.13'
2815 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2816 if test -f "$ac_dir/install-sh"; then
2818 ac_install_sh="$ac_aux_dir/install-sh -c"
2820 elif test -f "$ac_dir/install.sh"; then
2822 ac_install_sh="$ac_aux_dir/install.sh -c"
2824 elif test -f "$ac_dir/shtool"; then
2826 ac_install_sh="$ac_aux_dir/shtool install -c"
2830 if test -z "$ac_aux_dir"; then
2831 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2834 # These three variables are undocumented and unsupported,
2835 # and are intended to be withdrawn in a future Autoconf release.
2836 # They can cause serious problems if a builder's source tree is in a directory
2837 # whose full name contains unusual characters.
2838 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2839 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2840 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2843 # Find a good install program. We prefer a C program (faster),
2844 # so one script is as good as another. But avoid the broken or
2845 # incompatible versions:
2846 # SysV /etc/install, /usr/sbin/install
2847 # SunOS /usr/etc/install
2848 # IRIX /sbin/install
2850 # AmigaOS /C/install, which installs bootblocks on floppy discs
2851 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2852 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2853 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2854 # OS/2's system install, which has a completely different semantic
2855 # ./install, which can be erroneously created by make from ./install.sh.
2856 # Reject install programs that cannot install multiple files.
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2858 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2859 if test -z "$INSTALL"; then
2860 if ${ac_cv_path_install+:} false; then :
2861 $as_echo_n "(cached) " >&6
2863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 test -z "$as_dir" && as_dir=.
2868 # Account for people who put trailing slashes in PATH elements.
2869 case $as_dir/ in #((
2870 ./ | .// | /[cC]/* | \
2871 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2872 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2875 # OSF1 and SCO ODT 3.0 have their own names for install.
2876 # Don't use installbsd from OSF since it installs stuff as root
2878 for ac_prog in ginstall scoinst install; do
2879 for ac_exec_ext in '' $ac_executable_extensions; do
2880 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2881 if test $ac_prog = install &&
2882 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2883 # AIX install. It has an incompatible calling convention.
2885 elif test $ac_prog = install &&
2886 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2887 # program-specific install script used by HP pwplus--don't use.
2890 rm -rf conftest.one conftest.two conftest.dir
2891 echo one > conftest.one
2892 echo two > conftest.two
2894 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2895 test -s conftest.one && test -s conftest.two &&
2896 test -s conftest.dir/conftest.one &&
2897 test -s conftest.dir/conftest.two
2899 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2912 rm -rf conftest.one conftest.two conftest.dir
2915 if test "${ac_cv_path_install+set}" = set; then
2916 INSTALL=$ac_cv_path_install
2918 # As a last resort, use the slow shell script. Don't cache a
2919 # value for INSTALL within a source directory, because that will
2920 # break other packages using the cache if that directory is
2921 # removed, or if the value is a relative name.
2922 INSTALL=$ac_install_sh
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2926 $as_echo "$INSTALL" >&6; }
2928 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2929 # It thinks the first close brace ends the variable substitution.
2930 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2932 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2934 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2937 $as_echo_n "checking whether build environment is sane... " >&6; }
2938 # Reject unsafe characters in $srcdir or the absolute working directory
2939 # name. Accept space and tab only in the latter.
2943 *[\\\"\#\$\&\'\`$am_lf]*)
2944 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2947 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2948 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2951 # Do 'set' in a subshell so we don't clobber the current shell's
2952 # arguments. Must try -L first in case configure is actually a
2953 # symlink; some systems play weird games with the mod time of symlinks
2954 # (eg FreeBSD returns the mod time of the symlink's containing
2958 for am_try
in 1 2; do
2959 echo "timestamp, slept: $am_has_slept" > conftest.
file
2960 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2961 if test "$*" = "X"; then
2963 set X
`ls -t "$srcdir/configure" conftest.file`
2965 if test "$*" != "X $srcdir/configure conftest.file" \
2966 && test "$*" != "X conftest.file $srcdir/configure"; then
2968 # If neither matched, then we have a broken ls. This can happen
2969 # if, for instance, CONFIG_SHELL is bash and it inherits a
2970 # broken ls alias from the environment. This has actually
2971 # happened. Such a system could not be considered "sane".
2972 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2973 alias in your environment" "$LINENO" 5
2975 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2982 test "$2" = conftest.
file
2988 as_fn_error $?
"newly created file is older than distributed files!
2989 Check your system clock" "$LINENO" 5
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2992 $as_echo "yes" >&6; }
2993 # If we didn't sleep, we still need to ensure time stamps of config.status and
2994 # generated files are strictly newer.
2996 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3003 test "$program_prefix" != NONE
&&
3004 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3005 # Use a double $ so make ignores it.
3006 test "$program_suffix" != NONE
&&
3007 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3008 # Double any \ or $.
3009 # By default was `s,x,x', remove it if useless.
3010 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3011 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3013 # Expand $ac_aux_dir to an absolute path.
3014 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3016 if test x
"${MISSING+set}" != xset
; then
3019 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3021 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3024 # Use eval to expand $SHELL
3025 if eval "$MISSING --is-lightweight"; then
3026 am_missing_run
="$MISSING "
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3030 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3033 if test x
"${install_sh}" != xset
; then
3036 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3038 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3042 # Installed binaries are usually stripped using 'strip' when the user
3043 # run "make install-strip". However 'strip' might not be the right
3044 # tool to use in cross-compilation environments, therefore Automake
3045 # will honor the 'STRIP' environment variable to overrule this program.
3046 if test "$cross_compiling" != no
; then
3047 if test -n "$ac_tool_prefix"; then
3048 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3049 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_STRIP+:} false
; then :
3053 $as_echo_n "(cached) " >&6
3055 if test -n "$STRIP"; then
3056 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3062 test -z "$as_dir" && as_dir
=.
3063 for ac_exec_ext
in '' $ac_executable_extensions; do
3064 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3065 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 STRIP
=$ac_cv_prog_STRIP
3076 if test -n "$STRIP"; then
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3078 $as_echo "$STRIP" >&6; }
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3086 if test -z "$ac_cv_prog_STRIP"; then
3088 # Extract the first word of "strip", so it can be a program name with args.
3089 set dummy strip
; ac_word
=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$ac_ct_STRIP"; then
3096 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir
=.
3103 for ac_exec_ext
in '' $ac_executable_extensions; do
3104 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3105 ac_cv_prog_ac_ct_STRIP
="strip"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3116 if test -n "$ac_ct_STRIP"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3118 $as_echo "$ac_ct_STRIP" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3124 if test "x$ac_ct_STRIP" = x
; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3131 ac_tool_warned
=yes ;;
3136 STRIP
="$ac_cv_prog_STRIP"
3140 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3143 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3144 if test -z "$MKDIR_P"; then
3145 if ${ac_cv_path_mkdir+:} false
; then :
3146 $as_echo_n "(cached) " >&6
3148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3149 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3152 test -z "$as_dir" && as_dir
=.
3153 for ac_prog
in mkdir gmkdir
; do
3154 for ac_exec_ext
in '' $ac_executable_extensions; do
3155 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3156 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3157 'mkdir (GNU coreutils) '* | \
3158 'mkdir (coreutils) '* | \
3159 'mkdir (fileutils) '4.1*)
3160 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3170 test -d .
/--version && rmdir .
/--version
3171 if test "${ac_cv_path_mkdir+set}" = set; then
3172 MKDIR_P
="$ac_cv_path_mkdir -p"
3174 # As a last resort, use the slow shell script. Don't cache a
3175 # value for MKDIR_P within a source directory, because that will
3176 # break other packages using the cache if that directory is
3177 # removed, or if the value is a relative name.
3178 MKDIR_P
="$ac_install_sh -d"
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3182 $as_echo "$MKDIR_P" >&6; }
3184 for ac_prog
in gawk mawk nawk
awk
3186 # Extract the first word of "$ac_prog", so it can be a program name with args.
3187 set dummy
$ac_prog; ac_word
=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if ${ac_cv_prog_AWK+:} false
; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -n "$AWK"; then
3194 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir
=.
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3203 ac_cv_prog_AWK
="$ac_prog"
3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214 if test -n "$AWK"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3216 $as_echo "$AWK" >&6; }
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3223 test -n "$AWK" && break
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3227 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3229 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3230 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3231 $as_echo_n "(cached) " >&6
3233 cat >conftest.
make <<\_ACEOF
3236 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3238 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3239 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3241 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3243 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3247 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3249 $as_echo "yes" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 SET_MAKE
="MAKE=${MAKE-make}"
3257 rm -rf .tst
2>/dev
/null
3258 mkdir .tst
2>/dev
/null
3259 if test -d .tst
; then
3264 rmdir .tst
2>/dev
/null
3266 # Check whether --enable-silent-rules was given.
3267 if test "${enable_silent_rules+set}" = set; then :
3268 enableval
=$enable_silent_rules;
3271 case $enable_silent_rules in # (((
3272 yes) AM_DEFAULT_VERBOSITY
=0;;
3273 no
) AM_DEFAULT_VERBOSITY
=1;;
3274 *) AM_DEFAULT_VERBOSITY
=1;;
3276 am_make
=${MAKE-make}
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3278 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3279 if ${am_cv_make_support_nested_variables+:} false
; then :
3280 $as_echo_n "(cached) " >&6
3282 if $as_echo 'TRUE=$(BAR$(V))
3288 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3289 am_cv_make_support_nested_variables
=yes
3291 am_cv_make_support_nested_variables
=no
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3295 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3296 if test $am_cv_make_support_nested_variables = yes; then
3298 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3300 AM_V
=$AM_DEFAULT_VERBOSITY
3301 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3305 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3306 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3307 # is not polluted with repeated "-I."
3308 am__isrc
=' -I$(srcdir)'
3309 # test to see if srcdir already configured
3310 if test -f $srcdir/config.status
; then
3311 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3315 # test whether we have cygpath
3316 if test -z "$CYGPATH_W"; then
3317 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3318 CYGPATH_W
='cygpath -w'
3325 # Define the identity of the package.
3330 cat >>confdefs.h
<<_ACEOF
3331 #define PACKAGE "$PACKAGE"
3335 cat >>confdefs.h
<<_ACEOF
3336 #define VERSION "$VERSION"
3339 # Some tools Automake needs.
3341 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3344 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3347 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3350 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3353 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3355 # For better backward compatibility. To be removed once Automake 1.9.x
3356 # dies out for good. For more background, see:
3357 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3358 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3359 mkdir_p
='$(MKDIR_P)'
3361 # We need awk for the "check" target. The system "awk" is bad on
3363 # Always define AMTAR for backward compatibility. Yes, it's still used
3364 # in the wild :-( We should find a proper way to deprecate it ...
3368 # We'll loop over all known methods to create a tar archive until one works.
3369 _am_tools
='gnutar pax cpio none'
3371 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3381 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3382 # Check whether --enable-maintainer-mode was given.
3383 if test "${enable_maintainer_mode+set}" = set; then :
3384 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3386 USE_MAINTAINER_MODE
=no
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3390 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3391 if test $USE_MAINTAINER_MODE = yes; then
3392 MAINTAINER_MODE_TRUE
=
3393 MAINTAINER_MODE_FALSE
='#'
3395 MAINTAINER_MODE_TRUE
='#'
3396 MAINTAINER_MODE_FALSE
=
3399 MAINT
=$MAINTAINER_MODE_TRUE
3403 # Make sure we can run config.sub.
3404 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3405 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3408 $as_echo_n "checking build system type... " >&6; }
3409 if ${ac_cv_build+:} false
; then :
3410 $as_echo_n "(cached) " >&6
3412 ac_build_alias
=$build_alias
3413 test "x$ac_build_alias" = x
&&
3414 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3415 test "x$ac_build_alias" = x
&&
3416 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3417 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3418 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3422 $as_echo "$ac_cv_build" >&6; }
3423 case $ac_cv_build in
3425 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3428 ac_save_IFS
=$IFS; IFS
='-'
3434 # Remember, the first character of IFS is used to create $*,
3435 # except with old shells:
3438 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3442 $as_echo_n "checking host system type... " >&6; }
3443 if ${ac_cv_host+:} false
; then :
3444 $as_echo_n "(cached) " >&6
3446 if test "x$host_alias" = x
; then
3447 ac_cv_host
=$ac_cv_build
3449 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3450 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3455 $as_echo "$ac_cv_host" >&6; }
3458 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3461 ac_save_IFS
=$IFS; IFS
='-'
3467 # Remember, the first character of IFS is used to create $*,
3468 # except with old shells:
3471 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3476 ac_cpp
='$CPP $CPPFLAGS'
3477 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3478 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3479 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3483 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3485 # start out with intent to build Web Alpine
3486 WEB_BUILD
=web
/src
/alpined.d
3490 ac_cpp
='$CPP $CPPFLAGS'
3491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3494 if test -n "$ac_tool_prefix"; then
3495 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3496 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_CC+:} false
; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$CC"; then
3503 ac_cv_prog_CC
="$CC" # Let the user override the test.
3505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir
=.
3510 for ac_exec_ext
in '' $ac_executable_extensions; do
3511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 if test -n "$CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3525 $as_echo "$CC" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3533 if test -z "$ac_cv_prog_CC"; then
3535 # Extract the first word of "gcc", so it can be a program name with args.
3536 set dummy gcc
; ac_word
=$2
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538 $as_echo_n "checking for $ac_word... " >&6; }
3539 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3540 $as_echo_n "(cached) " >&6
3542 if test -n "$ac_ct_CC"; then
3543 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3549 test -z "$as_dir" && as_dir
=.
3550 for ac_exec_ext
in '' $ac_executable_extensions; do
3551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3552 ac_cv_prog_ac_ct_CC
="gcc"
3553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3563 if test -n "$ac_ct_CC"; then
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3565 $as_echo "$ac_ct_CC" >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3571 if test "x$ac_ct_CC" = x
; then
3574 case $cross_compiling:$ac_tool_warned in
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3578 ac_tool_warned
=yes ;;
3586 if test -z "$CC"; then
3587 if test -n "$ac_tool_prefix"; then
3588 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3589 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if ${ac_cv_prog_CC+:} false
; then :
3593 $as_echo_n "(cached) " >&6
3595 if test -n "$CC"; then
3596 ac_cv_prog_CC
="$CC" # Let the user override the test.
3598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3602 test -z "$as_dir" && as_dir
=.
3603 for ac_exec_ext
in '' $ac_executable_extensions; do
3604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3605 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 if test -n "$CC"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3618 $as_echo "$CC" >&6; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3627 if test -z "$CC"; then
3628 # Extract the first word of "cc", so it can be a program name with args.
3629 set dummy cc
; ac_word
=$2
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3631 $as_echo_n "checking for $ac_word... " >&6; }
3632 if ${ac_cv_prog_CC+:} false
; then :
3633 $as_echo_n "(cached) " >&6
3635 if test -n "$CC"; then
3636 ac_cv_prog_CC
="$CC" # Let the user override the test.
3639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir
=.
3644 for ac_exec_ext
in '' $ac_executable_extensions; do
3645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3646 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3647 ac_prog_rejected
=yes
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 if test $ac_prog_rejected = yes; then
3659 # We found a bogon in the path, so make sure we never use it.
3660 set dummy
$ac_cv_prog_CC
3662 if test $# != 0; then
3663 # We chose a different compiler from the bogus one.
3664 # However, it has the same basename, so the bogon will be chosen
3665 # first if we set CC to just the basename; use the full file name.
3667 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3683 if test -z "$CC"; then
3684 if test -n "$ac_tool_prefix"; then
3685 for ac_prog
in cl.exe
3687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3688 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3690 $as_echo_n "checking for $ac_word... " >&6; }
3691 if ${ac_cv_prog_CC+:} false
; then :
3692 $as_echo_n "(cached) " >&6
3694 if test -n "$CC"; then
3695 ac_cv_prog_CC
="$CC" # Let the user override the test.
3697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir
=.
3702 for ac_exec_ext
in '' $ac_executable_extensions; do
3703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3704 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 if test -n "$CC"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3717 $as_echo "$CC" >&6; }
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720 $as_echo "no" >&6; }
3724 test -n "$CC" && break
3727 if test -z "$CC"; then
3729 for ac_prog
in cl.exe
3731 # Extract the first word of "$ac_prog", so it can be a program name with args.
3732 set dummy
$ac_prog; ac_word
=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$ac_ct_CC"; then
3739 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir
=.
3746 for ac_exec_ext
in '' $ac_executable_extensions; do
3747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3748 ac_cv_prog_ac_ct_CC
="$ac_prog"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3759 if test -n "$ac_ct_CC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3761 $as_echo "$ac_ct_CC" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3768 test -n "$ac_ct_CC" && break
3771 if test "x$ac_ct_CC" = x
; then
3774 case $cross_compiling:$ac_tool_warned in
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3778 ac_tool_warned
=yes ;;
3787 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3789 as_fn_error $?
"no acceptable C compiler found in \$PATH
3790 See \`config.log' for more details" "$LINENO" 5; }
3792 # Provide some information about the compiler.
3793 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3796 for ac_option
in --version -v -V -qversion; do
3797 { { ac_try
="$ac_compiler $ac_option >&5"
3799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3803 $as_echo "$ac_try_echo"; } >&5
3804 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3806 if test -s conftest.err; then
3808 ... rest of stderr output deleted ...
3809 10q' conftest.err >conftest.er1
3810 cat conftest.er1 >&5
3812 rm -f conftest.er1 conftest.err
3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3814 test $ac_status = 0; }
3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3828 ac_clean_files_save=$ac_clean_files
3829 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3830 # Try to create an executable without -o first, disregard a.out.
3831 # It will help us diagnose broken compilers, and finding out an intuition
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3834 $as_echo_n "checking whether the C compiler works... " >&6; }
3835 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3837 # The possible output files:
3838 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3841 for ac_file in $ac_files
3844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3845 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3850 if { { ac_try="$ac_link_default"
3852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3853 *) ac_try_echo
=$ac_try;;
3855 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3856 $as_echo "$ac_try_echo"; } >&5
3857 (eval "$ac_link_default") 2>&5
3859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3860 test $ac_status = 0; }; then :
3861 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3862 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3863 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3864 # so that the user can short-circuit this test for compilers unknown to
3866 for ac_file
in $ac_files ''
3868 test -f "$ac_file" ||
continue
3870 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3873 # We found the default executable, but exeext='' is most
3877 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3879 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3881 # We set ac_cv_exeext here because the later test for it is not
3882 # safe: cross compilers may not add the suffix if given an `-o'
3883 # argument, so we may need to know it at that point already.
3884 # Even if this section looks crufty: it has the advantage of
3891 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3896 if test -z "$ac_file"; then :
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 $as_echo "no" >&6; }
3899 $as_echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.
$ac_ext >&5
3902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3904 as_fn_error
77 "C compiler cannot create executables
3905 See \`config.log' for more details" "$LINENO" 5; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3908 $as_echo "yes" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3911 $as_echo_n "checking for C compiler default output file name... " >&6; }
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3913 $as_echo "$ac_file" >&6; }
3914 ac_exeext
=$ac_cv_exeext
3916 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3917 ac_clean_files
=$ac_clean_files_save
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3919 $as_echo_n "checking for suffix of executables... " >&6; }
3920 if { { ac_try
="$ac_link"
3922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 $as_echo "$ac_try_echo"; } >&5
3927 (eval "$ac_link") 2>&5
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }; then :
3931 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3932 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3933 # work properly (i.e., refer to `conftest.exe'), while it won't with
3935 for ac_file
in conftest.exe conftest conftest.
*; do
3936 test -f "$ac_file" ||
continue
3938 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3939 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3947 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3948 See \`config.log' for more details" "$LINENO" 5; }
3950 rm -f conftest conftest
$ac_cv_exeext
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3952 $as_echo "$ac_cv_exeext" >&6; }
3954 rm -f conftest.
$ac_ext
3955 EXEEXT
=$ac_cv_exeext
3957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3963 FILE *f = fopen ("conftest.out", "w");
3964 return ferror (f) || fclose (f) != 0;
3970 ac_clean_files
="$ac_clean_files conftest.out"
3971 # Check that the compiler produces executables we can run. If not, either
3972 # the compiler is broken, or we cross compile.
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3974 $as_echo_n "checking whether we are cross compiling... " >&6; }
3975 if test "$cross_compiling" != yes; then
3976 { { ac_try
="$ac_link"
3978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3979 *) ac_try_echo=$ac_try;;
3981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3982 $as_echo "$ac_try_echo"; } >&5
3983 (eval "$ac_link") 2>&5
3985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3986 test $ac_status = 0; }
3987 if { ac_try='./conftest$ac_cv_exeext'
3988 { { case "(($ac_try" in
3989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3990 *) ac_try_echo
=$ac_try;;
3992 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3993 $as_echo "$ac_try_echo"; } >&5
3994 (eval "$ac_try") 2>&5
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }; }; then
4000 if test "$cross_compiling" = maybe
; then
4003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4005 as_fn_error $?
"cannot run C compiled programs.
4006 If you meant to cross compile, use \`--host'.
4007 See \`config.log' for more details" "$LINENO" 5; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4012 $as_echo "$cross_compiling" >&6; }
4014 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4015 ac_clean_files
=$ac_clean_files_save
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4017 $as_echo_n "checking for suffix of object files... " >&6; }
4018 if ${ac_cv_objext+:} false
; then :
4019 $as_echo_n "(cached) " >&6
4021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h. */
4032 rm -f conftest.o conftest.obj
4033 if { { ac_try
="$ac_compile"
4035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4036 *) ac_try_echo=$ac_try;;
4038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4039 $as_echo "$ac_try_echo"; } >&5
4040 (eval "$ac_compile") 2>&5
4042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4043 test $ac_status = 0; }; then :
4044 for ac_file in conftest.o conftest.obj conftest.*; do
4045 test -f "$ac_file" || continue;
4047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4048 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4053 $as_echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4059 See \
`config.log' for more details" "$LINENO" 5; }
4061 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4064 $as_echo "$ac_cv_objext" >&6; }
4065 OBJEXT=$ac_cv_objext
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4068 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4069 if ${ac_cv_c_compiler_gnu+:} false; then :
4070 $as_echo_n "(cached) " >&6
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4086 if ac_fn_c_try_compile "$LINENO"; then :
4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4096 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4097 if test $ac_compiler_gnu = yes; then
4102 ac_test_CFLAGS=${CFLAGS+set}
4103 ac_save_CFLAGS=$CFLAGS
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4105 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4106 if ${ac_cv_prog_cc_g+:} false; then :
4107 $as_echo_n "(cached) " >&6
4109 ac_save_c_werror_flag=$ac_c_werror_flag
4110 ac_c_werror_flag=yes
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4124 if ac_fn_c_try_compile "$LINENO"; then :
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4139 if ac_fn_c_try_compile "$LINENO"; then :
4142 ac_c_werror_flag=$ac_save_c_werror_flag
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4163 ac_c_werror_flag=$ac_save_c_werror_flag
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4166 $as_echo "$ac_cv_prog_cc_g" >&6; }
4167 if test "$ac_test_CFLAGS" = set; then
4168 CFLAGS=$ac_save_CFLAGS
4169 elif test $ac_cv_prog_cc_g = yes; then
4170 if test "$GCC" = yes; then
4176 if test "$GCC" = yes; then
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4183 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4184 if ${ac_cv_prog_cc_c89+:} false; then :
4185 $as_echo_n "(cached) " >&6
4187 ac_cv_prog_cc_c89=no
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4194 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4195 struct buf { int x; };
4196 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4197 static char *e (p, i)
4203 static char *f (char * (*g) (char **, int), char **p, ...)
4208 s = g (p, va_arg (v,int));
4213 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4214 function prototypes and stuff, but not '\xHH' hex character constants.
4215 These don't provoke an error unfortunately, instead are silently treated
4216 as 'x'. The following induces an error, until -std is added to get
4217 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4218 array size at least. It's necessary to write '\x00'==0 to get something
4219 that's true only with -std. */
4220 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4222 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4223 inside strings and character constants. */
4225 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4227 int test (int i, double x);
4228 struct s1 {int (*f) (int a);};
4229 struct s2 {int (*f) (double a);};
4230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4241 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4242 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4244 CC="$ac_save_CC $ac_arg"
4245 if ac_fn_c_try_compile "$LINENO"; then :
4246 ac_cv_prog_cc_c89=$ac_arg
4248 rm -f core conftest.err conftest.$ac_objext
4249 test "x$ac_cv_prog_cc_c89" != "xno" && break
4251 rm -f conftest.$ac_ext
4256 case "x$ac_cv_prog_cc_c89" in
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4259 $as_echo "none needed" >&6; } ;;
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4262 $as_echo "unsupported" >&6; } ;;
4264 CC="$CC $ac_cv_prog_cc_c89"
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4266 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4268 if test "x$ac_cv_prog_cc_c89" != xno; then :
4273 ac_cpp='$CPP $CPPFLAGS'
4274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4277 DEPDIR="${am__leading_dot}deps"
4279 ac_config_commands="$ac_config_commands depfiles"
4282 am_make=${MAKE-make}
4283 cat > confinc << 'END'
4285 @echo this is the am__doit target
4288 # If we don't find an include directive, just comment out the code.
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4290 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4294 # First try GNU make style include.
4295 echo "include confinc" > confmf
4296 # Ignore all kinds of additional output from 'make'.
4297 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4298 *the\ am__doit\ target*)
4304 # Now try BSD make style include.
4305 if test "$am__include" = "#"; then
4306 echo '.include "confinc"' > confmf
4307 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4308 *the\ am__doit\ target*)
4309 am__include=.include
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4318 $as_echo "$_am_result" >&6; }
4319 rm -f confinc confmf
4321 # Check whether --enable-dependency-tracking was given.
4322 if test "${enable_dependency_tracking+set}" = set; then :
4323 enableval=$enable_dependency_tracking;
4326 if test "x$enable_dependency_tracking" != xno; then
4327 am_depcomp="$ac_aux_dir/depcomp"
4331 if test "x$enable_dependency_tracking" != xno; then
4341 depcc="$CC" am_compiler_list=
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4344 $as_echo_n "checking dependency style of $depcc... " >&6; }
4345 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4346 $as_echo_n "(cached) " >&6
4348 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4349 # We make a subdir and do the tests there. Otherwise we can end up
4350 # making bogus files that we don't know about and never remove. For
4351 # instance it was reported that on HP-UX the gcc test will end up
4352 # making a dummy file named 'D' -- because '-MD' means "put the output
4356 # Copy depcomp to subdir because otherwise we won't find it if we're
4357 # using a relative directory.
4358 cp "$am_depcomp" conftest.dir
4360 # We will build objects and dependencies in a subdirectory because
4361 # it helps to detect inapplicable dependency modes. For instance
4362 # both Tru64's cc and ICC support -MD to output dependencies as a
4363 # side effect of compilation, but ICC will put the dependencies in
4364 # the current directory while Tru64 will put them in the object
4368 am_cv_CC_dependencies_compiler_type=none
4369 if test "$am_compiler_list" = ""; then
4370 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4373 case " $depcc " in #(
4374 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4377 for depmode in $am_compiler_list; do
4378 # Setup a source with many dependencies, because some compilers
4379 # like to wrap large dependency lists on column 80 (with \), and
4380 # we should not choose a depcomp mode which is confused by this.
4382 # We need to recreate these files for each test, as the compiler may
4383 # overwrite some of them when testing with obscure command lines.
4384 # This happens at least with the AIX C compiler.
4386 for i in 1 2 3 4 5 6; do
4387 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4388 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4389 # Solaris 10 /bin/sh.
4390 echo '/* dummy */' > sub/conftst$i.h
4392 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4394 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4395 # mode. It turns out that the SunPro C++ compiler does not properly
4396 # handle '-M -o', and we need to detect this. Also, some Intel
4397 # versions had trouble with output in subdirs.
4398 am__obj=sub/conftest.${OBJEXT-o}
4399 am__minus_obj="-o $am__obj"
4402 # This depmode causes a compiler race in universal mode.
4403 test "$am__universal" = false || continue
4406 # After this tag, mechanisms are not by side-effect, so they'll
4407 # only be used when explicitly requested.
4408 if test "x$enable_dependency_tracking" = xyes; then
4414 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4415 # This compiler won't grok '-c -o', but also, the minuso test has
4416 # not run yet. These depmodes are late enough in the game, and
4417 # so weak that their functioning should not be impacted.
4418 am__obj=conftest.${OBJEXT-o}
4423 if depmode=$depmode \
4424 source=sub/conftest.c object=$am__obj \
4425 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4426 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4427 >/dev/null 2>conftest.err &&
4428 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4429 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4430 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4431 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4432 # icc doesn't choke on unknown options, it will just issue warnings
4433 # or remarks (even with -Werror). So we grep stderr for any message
4434 # that says an option was ignored or not supported.
4435 # When given -MP, icc 7.0 and 7.1 complain thusly:
4436 # icc: Command line warning: ignoring option '-M'; no argument required
4437 # The diagnosis changed in icc 8.0:
4438 # icc: Command line remark: option '-MP' not supported
4439 if (grep 'ignoring option' conftest.err ||
4440 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4441 am_cv_CC_dependencies_compiler_type=$depmode
4450 am_cv_CC_dependencies_compiler_type=none
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4455 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4456 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4459 test "x$enable_dependency_tracking" != xno \
4460 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4462 am__fastdepCC_FALSE='#'
4464 am__fastdepCC_TRUE='#'
4465 am__fastdepCC_FALSE=
4470 ac_cpp='$CPP $CPPFLAGS'
4471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4475 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4476 # On Suns, sometimes $CPP names a directory.
4477 if test -n "$CPP" && test -d "$CPP"; then
4480 if test -z "$CPP"; then
4481 if ${ac_cv_prog_CPP+:} false; then :
4482 $as_echo_n "(cached) " >&6
4484 # Double quotes because CPP needs to be expanded
4485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4488 for ac_c_preproc_warn_flag in '' yes
4490 # Use a header file that comes with gcc, so configuring glibc
4491 # with a fresh cross-compiler works.
4492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4493 # <limits.h> exists even on freestanding compilers.
4494 # On the NeXT, cc -E runs the code through the compiler's parser,
4495 # not just through cpp. "Syntax error" is here to catch this case.
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4499 # include <limits.h>
4501 # include <assert.h>
4505 if ac_fn_c_try_cpp "$LINENO"; then :
4508 # Broken: fails on valid input.
4511 rm -f conftest.err conftest.i conftest.$ac_ext
4513 # OK, works on sane cases. Now check whether nonexistent headers
4514 # can be detected and how.
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4517 #include <ac_nonexistent.h>
4519 if ac_fn_c_try_cpp "$LINENO"; then :
4520 # Broken: success on invalid input.
4523 # Passes both tests.
4527 rm -f conftest.err conftest.i conftest.$ac_ext
4530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4531 rm -f conftest.i conftest.err conftest.
$ac_ext
4532 if $ac_preproc_ok; then :
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4545 $as_echo "$CPP" >&6; }
4547 for ac_c_preproc_warn_flag
in '' yes
4549 # Use a header file that comes with gcc, so configuring glibc
4550 # with a fresh cross-compiler works.
4551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4552 # <limits.h> exists even on freestanding compilers.
4553 # On the NeXT, cc -E runs the code through the compiler's parser,
4554 # not just through cpp. "Syntax error" is here to catch this case.
4555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4558 # include <limits.h>
4560 # include <assert.h>
4564 if ac_fn_c_try_cpp
"$LINENO"; then :
4567 # Broken: fails on valid input.
4570 rm -f conftest.err conftest.i conftest.
$ac_ext
4572 # OK, works on sane cases. Now check whether nonexistent headers
4573 # can be detected and how.
4574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4576 #include <ac_nonexistent.h>
4578 if ac_fn_c_try_cpp
"$LINENO"; then :
4579 # Broken: success on invalid input.
4582 # Passes both tests.
4586 rm -f conftest.err conftest.i conftest.
$ac_ext
4589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4590 rm -f conftest.i conftest.err conftest.
$ac_ext
4591 if $ac_preproc_ok; then :
4594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4596 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4597 See \`config.log' for more details" "$LINENO" 5; }
4601 ac_cpp
='$CPP $CPPFLAGS'
4602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4609 save_cross_compiling
=$cross_compiling
4610 save_ac_tool_prefix
=$ac_tool_prefix
4615 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4616 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4617 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'
4618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4619 if test -n "$ac_tool_prefix"; then
4620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4621 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 $as_echo_n "checking for $ac_word... " >&6; }
4624 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4625 $as_echo_n "(cached) " >&6
4627 if test -n "$CC_FOR_BUILD"; then
4628 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir
=.
4635 for ac_exec_ext
in '' $ac_executable_extensions; do
4636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4648 if test -n "$CC_FOR_BUILD"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4650 $as_echo "$CC_FOR_BUILD" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4658 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
4659 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4660 # Extract the first word of "gcc", so it can be a program name with args.
4661 set dummy gcc
; ac_word
=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4665 $as_echo_n "(cached) " >&6
4667 if test -n "$ac_ct_CC_FOR_BUILD"; then
4668 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4677 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4688 if test -n "$ac_ct_CC_FOR_BUILD"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4690 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4696 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
4699 case $cross_compiling:$ac_tool_warned in
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
4702 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
4703 ac_tool_warned
=yes ;;
4705 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
4708 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
4711 if test -z "$CC_FOR_BUILD"; then
4712 if test -n "$ac_tool_prefix"; then
4713 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4714 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716 $as_echo_n "checking for $ac_word... " >&6; }
4717 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4718 $as_echo_n "(cached) " >&6
4720 if test -n "$CC_FOR_BUILD"; then
4721 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir
=.
4728 for ac_exec_ext
in '' $ac_executable_extensions; do
4729 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4730 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4740 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4741 if test -n "$CC_FOR_BUILD"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4743 $as_echo "$CC_FOR_BUILD" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4752 if test -z "$CC_FOR_BUILD"; then
4753 # Extract the first word of "cc", so it can be a program name with args.
4754 set dummy cc
; ac_word
=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$CC_FOR_BUILD"; then
4761 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4768 test -z "$as_dir" && as_dir
=.
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4771 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4772 ac_prog_rejected
=yes
4775 ac_cv_prog_CC_FOR_BUILD
="cc"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783 if test $ac_prog_rejected = yes; then
4784 # We found a bogon in the path, so make sure we never use it.
4785 set dummy
$ac_cv_prog_CC_FOR_BUILD
4787 if test $# != 0; then
4788 # We chose a different compiler from the bogus one.
4789 # However, it has the same basename, so the bogon will be chosen
4790 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
4792 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
4797 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4798 if test -n "$CC_FOR_BUILD"; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4800 $as_echo "$CC_FOR_BUILD" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4808 if test -z "$CC_FOR_BUILD"; then
4809 if test -n "$ac_tool_prefix"; then
4810 for ac_prog
in cl.exe
4812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4813 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4817 $as_echo_n "(cached) " >&6
4819 if test -n "$CC_FOR_BUILD"; then
4820 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir
=.
4827 for ac_exec_ext
in '' $ac_executable_extensions; do
4828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4829 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4840 if test -n "$CC_FOR_BUILD"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4842 $as_echo "$CC_FOR_BUILD" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4849 test -n "$CC_FOR_BUILD" && break
4852 if test -z "$CC_FOR_BUILD"; then
4853 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4854 for ac_prog
in cl.exe
4856 # Extract the first word of "$ac_prog", so it can be a program name with args.
4857 set dummy
$ac_prog; ac_word
=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$ac_ct_CC_FOR_BUILD"; then
4864 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4884 if test -n "$ac_ct_CC_FOR_BUILD"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4886 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4893 test -n "$ac_ct_CC_FOR_BUILD" && break
4896 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
4899 case $cross_compiling:$ac_tool_warned in
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
4902 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
4903 ac_tool_warned
=yes ;;
4905 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
4912 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4914 as_fn_error $?
"no acceptable C compiler found in \$PATH
4915 See \`config.log' for more details" "$LINENO" 5; }
4917 # Provide some information about the compiler.
4918 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4919 set X
$ac_build_compile
4921 for ac_option
in --version -v -V -qversion; do
4922 { { ac_try
="$ac_compiler $ac_option >&5"
4924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4928 $as_echo "$ac_try_echo"; } >&5
4929 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4931 if test -s conftest.err; then
4933 ... rest of stderr output deleted ...
4934 10q' conftest.err >conftest.er1
4935 cat conftest.er1 >&5
4937 rm -f conftest.er1 conftest.err
4938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4939 test $ac_status = 0; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4943 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4944 if ${ac_cv_c_compiler_gnu+:} false; then :
4945 $as_echo_n "(cached) " >&6
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4961 if ac_fn_c_try_compile "$LINENO"; then :
4966 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
4967 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4971 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4972 if test $ac_compiler_gnu = yes; then
4977 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
4978 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
4980 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
4981 if ${ac_cv_build_prog_cc_g+:} false; then :
4982 $as_echo_n "(cached) " >&6
4984 ac_save_c_werror_flag=$ac_c_werror_flag
4985 ac_c_werror_flag=yes
4986 ac_cv_build_prog_cc_g=no
4987 CFLAGS_FOR_BUILD="-g"
4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4989 /* end confdefs.h. */
4999 if ac_fn_c_try_compile "$LINENO"; then :
5000 ac_cv_build_prog_cc_g=yes
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5014 if ac_fn_c_try_compile "$LINENO"; then :
5017 ac_c_werror_flag=$ac_save_c_werror_flag
5018 CFLAGS_FOR_BUILD="-g"
5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5030 if ac_fn_c_try_compile "$LINENO"; then :
5031 ac_cv_build_prog_cc_g=yes
5033 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5035 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5037 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5038 ac_c_werror_flag=$ac_save_c_werror_flag
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5041 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5042 if test "$ac_test_CFLAGS" = set; then
5043 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5044 elif test $ac_cv_build_prog_cc_g = yes; then
5045 if test "$GCC" = yes; then
5046 CFLAGS_FOR_BUILD="-g -O2"
5048 CFLAGS_FOR_BUILD="-g"
5051 if test "$GCC" = yes; then
5052 CFLAGS_FOR_BUILD="-O2"
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5058 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5059 if ${ac_cv_prog_cc_c89+:} false; then :
5060 $as_echo_n "(cached) " >&6
5062 ac_cv_prog_cc_c89=no
5063 ac_save_CC=$CC_FOR_BUILD
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5069 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5070 struct buf { int x; };
5071 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5072 static char *e (p, i)
5078 static char *f (char * (*g) (char **, int), char **p, ...)
5083 s = g (p, va_arg (v,int));
5088 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5089 function prototypes and stuff, but not '\xHH' hex character constants.
5090 These don't provoke an error unfortunately, instead are silently treated
5091 as 'x'. The following induces an error, until -std is added to get
5092 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5093 array size at least. It's necessary to write '\x00'==0 to get something
5094 that's true only with -std. */
5095 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5097 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5098 inside strings and character constants. */
5100 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5102 int test (int i, double x);
5103 struct s1 {int (*f) (int a);};
5104 struct s2 {int (*f) (double a);};
5105 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5111 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5116 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5117 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5119 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5120 if ac_fn_c_try_compile "$LINENO"; then :
5121 ac_cv_prog_cc_c89=$ac_arg
5123 rm -f core conftest.err conftest.$ac_build_objext
5124 test "x$ac_cv_prog_cc_c89" != "xno" && break
5126 rm -f conftest.$ac_ext
5127 CC_FOR_BUILD=$ac_save_CC
5131 case "x$ac_cv_prog_cc_c89" in
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5134 $as_echo "none needed" >&6; } ;;
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5137 $as_echo "unsupported" >&6; } ;;
5139 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5141 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5143 if test "x$ac_cv_prog_cc_c89" != xno; then :
5148 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5149 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5150 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'
5151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5153 depcc="$CC_FOR_BUILD" am_compiler_list=
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5156 $as_echo_n "checking dependency style of $depcc... " >&6; }
5157 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5158 $as_echo_n "(cached) " >&6
5160 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5161 # We make a subdir and do the tests there. Otherwise we can end up
5162 # making bogus files that we don't know about and never remove. For
5163 # instance it was reported that on HP-UX the gcc test will end up
5164 # making a dummy file named 'D' -- because '-MD' means "put the output
5168 # Copy depcomp to subdir because otherwise we won't find it if we're
5169 # using a relative directory.
5170 cp "$am_depcomp" conftest.dir
5172 # We will build objects and dependencies in a subdirectory because
5173 # it helps to detect inapplicable dependency modes. For instance
5174 # both Tru64's cc and ICC support -MD to output dependencies as a
5175 # side effect of compilation, but ICC will put the dependencies in
5176 # the current directory while Tru64 will put them in the object
5180 am_cv_CC_dependencies_compiler_type=none
5181 if test "$am_compiler_list" = ""; then
5182 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5185 case " $depcc " in #(
5186 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5189 for depmode in $am_compiler_list; do
5190 # Setup a source with many dependencies, because some compilers
5191 # like to wrap large dependency lists on column 80 (with \), and
5192 # we should not choose a depcomp mode which is confused by this.
5194 # We need to recreate these files for each test, as the compiler may
5195 # overwrite some of them when testing with obscure command lines.
5196 # This happens at least with the AIX C compiler.
5198 for i in 1 2 3 4 5 6; do
5199 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5200 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5201 # Solaris 10 /bin/sh.
5202 echo '/* dummy */' > sub/conftst$i.h
5204 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5206 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5207 # mode. It turns out that the SunPro C++ compiler does not properly
5208 # handle '-M -o', and we need to detect this. Also, some Intel
5209 # versions had trouble with output in subdirs.
5210 am__obj=sub/conftest.${OBJEXT-o}
5211 am__minus_obj="-o $am__obj"
5214 # This depmode causes a compiler race in universal mode.
5215 test "$am__universal" = false || continue
5218 # After this tag, mechanisms are not by side-effect, so they'll
5219 # only be used when explicitly requested.
5220 if test "x$enable_dependency_tracking" = xyes; then
5226 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5227 # This compiler won't grok '-c -o', but also, the minuso test has
5228 # not run yet. These depmodes are late enough in the game, and
5229 # so weak that their functioning should not be impacted.
5230 am__obj=conftest.${OBJEXT-o}
5235 if depmode=$depmode \
5236 source=sub/conftest.c object=$am__obj \
5237 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5238 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5239 >/dev/null 2>conftest.err &&
5240 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5241 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5242 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5243 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5244 # icc doesn't choke on unknown options, it will just issue warnings
5245 # or remarks (even with -Werror). So we grep stderr for any message
5246 # that says an option was ignored or not supported.
5247 # When given -MP, icc 7.0 and 7.1 complain thusly:
5248 # icc: Command line warning: ignoring option '-M'; no argument required
5249 # The diagnosis changed in icc 8.0:
5250 # icc: Command line remark: option '-MP' not supported
5251 if (grep 'ignoring option' conftest.err ||
5252 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5253 am_cv_CC_dependencies_compiler_type=$depmode
5262 am_cv_CC_dependencies_compiler_type=none
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5267 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5268 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5271 test "x$enable_dependency_tracking" != xno \
5272 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5274 am__fastdepCC_FALSE='#'
5276 am__fastdepCC_TRUE='#'
5277 am__fastdepCC_FALSE=
5282 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5283 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5284 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'
5285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5287 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5288 # On Suns, sometimes $CPP names a directory.
5289 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
5292 if test -z "$CPP_FOR_BUILD"; then
5293 if ${ac_cv_build_prog_CPP+:} false; then :
5294 $as_echo_n "(cached) " >&6
5296 # Double quotes because CPP needs to be expanded
5297 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5300 for ac_c_preproc_warn_flag in '' yes
5302 # Use a header file that comes with gcc, so configuring glibc
5303 # with a fresh cross-compiler works.
5304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5305 # <limits.h> exists even on freestanding compilers.
5306 # On the NeXT, cc -E runs the code through the compiler's parser,
5307 # not just through cpp. "Syntax error" is here to catch this case.
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5311 # include <limits.h>
5313 # include <assert.h>
5317 if ac_fn_c_try_cpp "$LINENO"; then :
5320 # Broken: fails on valid input.
5323 rm -f conftest.err conftest.i conftest.$ac_ext
5325 # OK, works on sane cases. Now check whether nonexistent headers
5326 # can be detected and how.
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 #include <ac_nonexistent.h>
5331 if ac_fn_c_try_cpp "$LINENO"; then :
5332 # Broken: success on invalid input.
5335 # Passes both tests.
5339 rm -f conftest.err conftest.i conftest.$ac_ext
5342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5343 rm -f conftest.i conftest.err conftest.
$ac_ext
5344 if $ac_preproc_ok; then :
5349 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5352 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
5354 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
5357 $as_echo "$CPP_FOR_BUILD" >&6; }
5359 for ac_c_preproc_warn_flag
in '' yes
5361 # Use a header file that comes with gcc, so configuring glibc
5362 # with a fresh cross-compiler works.
5363 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5364 # <limits.h> exists even on freestanding compilers.
5365 # On the NeXT, cc -E runs the code through the compiler's parser,
5366 # not just through cpp. "Syntax error" is here to catch this case.
5367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5370 # include <limits.h>
5372 # include <assert.h>
5376 if ac_fn_c_try_cpp
"$LINENO"; then :
5379 # Broken: fails on valid input.
5382 rm -f conftest.err conftest.i conftest.
$ac_ext
5384 # OK, works on sane cases. Now check whether nonexistent headers
5385 # can be detected and how.
5386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5388 #include <ac_nonexistent.h>
5390 if ac_fn_c_try_cpp
"$LINENO"; then :
5391 # Broken: success on invalid input.
5394 # Passes both tests.
5398 rm -f conftest.err conftest.i conftest.
$ac_ext
5401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5402 rm -f conftest.i conftest.err conftest.
$ac_ext
5403 if $ac_preproc_ok; then :
5406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5408 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5409 See \`config.log' for more details" "$LINENO" 5; }
5413 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5414 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5415 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'
5416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5420 ac_tool_prefix
=$save_ac_tool_prefix
5421 cross_compiling
=$save_cross_compiling
5424 BUILD_EXEEXT
=$ac_build_exeext
5425 BUILD_OBJEXT
=$ac_build_objext
5427 case $ac_cv_prog_cc_stdc in #(
5429 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5432 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5433 if ${ac_cv_prog_cc_c99+:} false
; then :
5434 $as_echo_n "(cached) " >&6
5436 ac_cv_prog_cc_c99
=no
5438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5439 /* end confdefs.h. */
5441 #include <stdbool.h>
5446 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5447 #define debug(...) fprintf (stderr, __VA_ARGS__)
5448 #define showlist(...) puts (#__VA_ARGS__)
5449 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5451 test_varargs_macros (void)
5456 debug ("X = %d\n", x);
5457 showlist (The first, second, and third items.);
5458 report (x>y, "x is %d but y is %d", x, y);
5461 // Check long long types.
5462 #define BIG64 18446744073709551615ull
5463 #define BIG32 4294967295ul
5464 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5466 your preprocessor is broken;
5470 your preprocessor is broken;
5472 static long long int bignum = -9223372036854775807LL;
5473 static unsigned long long int ubignum = BIG64;
5475 struct incomplete_array
5483 const wchar_t *name;
5487 typedef const char *ccp;
5490 test_restrict (ccp restrict text)
5492 // See if C++-style comments work.
5493 // Iterate through items via the restricted pointer.
5494 // Also check for declarations in for loops.
5495 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5500 // Check varargs and va_copy.
5502 test_varargs (const char *format, ...)
5505 va_start (args, format);
5507 va_copy (args_copy, args);
5518 str = va_arg (args_copy, const char *);
5521 number = va_arg (args_copy, int);
5524 fnumber = va_arg (args_copy, double);
5539 _Bool success = false;
5542 if (test_restrict ("String literal") == 0)
5544 char *restrict newvar = "Another string";
5547 test_varargs ("s, d' f .", "string", 65, 34.234);
5548 test_varargs_macros ();
5550 // Check flexible array members.
5551 struct incomplete_array *ia =
5552 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5554 for (int i = 0; i < ia->datasize; ++i)
5555 ia->data[i] = i * 1.234;
5557 // Check named initializers.
5558 struct named_init ni = {
5560 .name = L"Test wide string",
5561 .average = 543.34343,
5566 int dynamic_array[ni.number];
5567 dynamic_array[ni.number - 1] = 543;
5569 // work around unused variable warnings
5570 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5571 || dynamic_array[ni.number - 1] != 543);
5577 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5579 CC
="$ac_save_CC $ac_arg"
5580 if ac_fn_c_try_compile
"$LINENO"; then :
5581 ac_cv_prog_cc_c99
=$ac_arg
5583 rm -f core conftest.err conftest.
$ac_objext
5584 test "x$ac_cv_prog_cc_c99" != "xno" && break
5586 rm -f conftest.
$ac_ext
5591 case "x$ac_cv_prog_cc_c99" in
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5594 $as_echo "none needed" >&6; } ;;
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5597 $as_echo "unsupported" >&6; } ;;
5599 CC
="$CC $ac_cv_prog_cc_c99"
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5601 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5603 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5604 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5607 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5608 if ${ac_cv_prog_cc_c89+:} false
; then :
5609 $as_echo_n "(cached) " >&6
5611 ac_cv_prog_cc_c89
=no
5613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5614 /* end confdefs.h. */
5618 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5619 struct buf { int x; };
5620 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5621 static char *e (p, i)
5627 static char *f (char * (*g) (char **, int), char **p, ...)
5632 s = g (p, va_arg (v,int));
5637 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5638 function prototypes and stuff, but not '\xHH' hex character constants.
5639 These don't provoke an error unfortunately, instead are silently treated
5640 as 'x'. The following induces an error, until -std is added to get
5641 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5642 array size at least. It's necessary to write '\x00'==0 to get something
5643 that's true only with -std. */
5644 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5646 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5647 inside strings and character constants. */
5649 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5651 int test (int i, double x);
5652 struct s1 {int (*f) (int a);};
5653 struct s2 {int (*f) (double a);};
5654 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5660 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5665 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
5666 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5668 CC
="$ac_save_CC $ac_arg"
5669 if ac_fn_c_try_compile
"$LINENO"; then :
5670 ac_cv_prog_cc_c89
=$ac_arg
5672 rm -f core conftest.err conftest.
$ac_objext
5673 test "x$ac_cv_prog_cc_c89" != "xno" && break
5675 rm -f conftest.
$ac_ext
5680 case "x$ac_cv_prog_cc_c89" in
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5683 $as_echo "none needed" >&6; } ;;
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5686 $as_echo "unsupported" >&6; } ;;
5688 CC
="$CC $ac_cv_prog_cc_c89"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5690 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5692 if test "x$ac_cv_prog_cc_c89" != xno
; then :
5693 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
5695 ac_cv_prog_cc_stdc
=no
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5702 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5703 if ${ac_cv_prog_cc_stdc+:} false
; then :
5704 $as_echo_n "(cached) " >&6
5707 case $ac_cv_prog_cc_stdc in #(
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5710 $as_echo "unsupported" >&6; } ;; #(
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5713 $as_echo "none needed" >&6; } ;; #(
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5716 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5721 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5723 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5724 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5725 $as_echo_n "(cached) " >&6
5727 cat >conftest.
make <<\_ACEOF
5730 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5732 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5733 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5735 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5737 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5741 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5743 $as_echo "yes" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5748 SET_MAKE
="MAKE=${MAKE-make}"
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5752 $as_echo_n "checking whether ln -s works... " >&6; }
5754 if test "$LN_S" = "ln -s"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5756 $as_echo "yes" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5759 $as_echo "no, using $LN_S" >&6; }
5762 for ac_prog
in gawk mawk nawk
awk
5764 # Extract the first word of "$ac_prog", so it can be a program name with args.
5765 set dummy
$ac_prog; ac_word
=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if ${ac_cv_prog_AWK+:} false
; then :
5769 $as_echo_n "(cached) " >&6
5771 if test -n "$AWK"; then
5772 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5778 test -z "$as_dir" && as_dir
=.
5779 for ac_exec_ext
in '' $ac_executable_extensions; do
5780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5781 ac_cv_prog_AWK
="$ac_prog"
5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792 if test -n "$AWK"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5794 $as_echo "$AWK" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5801 test -n "$AWK" && break
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5807 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5812 macro_version
='2.4.2'
5813 macro_revision
='1.3337'
5827 ltmain
="$ac_aux_dir/ltmain.sh"
5829 # Backslashify metacharacters that are still active within
5830 # double-quoted strings.
5831 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5833 # Same as above, but do not quote variable references.
5834 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5836 # Sed substitution to delay expansion of an escaped shell variable in a
5837 # double_quote_subst'ed string.
5838 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5840 # Sed substitution to delay expansion of an escaped single quote.
5841 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5843 # Sed substitution to avoid accidental globbing in evaled expressions
5844 no_glob_subst
='s/\*/\\\*/g'
5846 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5847 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5848 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5851 $as_echo_n "checking how to print strings... " >&6; }
5852 # Test print first, because it will be a builtin if present.
5853 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5854 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5856 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5859 # Use this function as a fallback that always works.
5860 func_fallback_echo ()
5862 eval 'cat <<_LTECHO_EOF
5866 ECHO='func_fallback_echo
'
5869 # func_echo_all arg...
5870 # Invoke $ECHO with all args, space-separated.
5877 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5878 $as_echo "printf" >&6; } ;;
5879 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5880 $as_echo "print -r" >&6; } ;;
5881 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5882 $as_echo "cat" >&6; } ;;
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5899 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5900 if ${ac_cv_path_SED+:} false; then :
5901 $as_echo_n "(cached) " >&6
5903 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5904 for ac_i in 1 2 3 4 5 6 7; do
5905 ac_script="$ac_script$as_nl$ac_script"
5907 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5908 { ac_script=; unset ac_script;}
5909 if test -z "$SED"; then
5910 ac_path_SED_found=false
5911 # Loop through the user's path and
test for each of PROGNAME-LIST
5912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5916 test -z "$as_dir" && as_dir
=.
5917 for ac_prog
in sed gsed
; do
5918 for ac_exec_ext
in '' $ac_executable_extensions; do
5919 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5920 as_fn_executable_p
"$ac_path_SED" ||
continue
5921 # Check for GNU ac_path_SED and select it if it is found.
5922 # Check for GNU $ac_path_SED
5923 case `"$ac_path_SED" --version 2>&1` in
5925 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5928 $as_echo_n 0123456789 >"conftest.in"
5931 cat "conftest.in" "conftest.in" >"conftest.tmp"
5932 mv "conftest.tmp" "conftest.in"
5933 cp "conftest.in" "conftest.nl"
5934 $as_echo '' >> "conftest.nl"
5935 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5936 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5937 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5938 if test $ac_count -gt ${ac_path_SED_max-0}; then
5939 # Best one so far, save it but keep looking for a better one
5940 ac_cv_path_SED
="$ac_path_SED"
5941 ac_path_SED_max
=$ac_count
5943 # 10*(2^10) chars as input seems more than enough
5944 test $ac_count -gt 10 && break
5946 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5949 $ac_path_SED_found && break 3
5954 if test -z "$ac_cv_path_SED"; then
5955 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5963 $as_echo "$ac_cv_path_SED" >&6; }
5964 SED
="$ac_cv_path_SED"
5967 test -z "$SED" && SED
=sed
5968 Xsed
="$SED -e 1s/^X//"
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5981 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5982 if ${ac_cv_path_GREP+:} false
; then :
5983 $as_echo_n "(cached) " >&6
5985 if test -z "$GREP"; then
5986 ac_path_GREP_found
=false
5987 # Loop through the user's path and test for each of PROGNAME-LIST
5988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5989 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5992 test -z "$as_dir" && as_dir
=.
5993 for ac_prog
in grep ggrep
; do
5994 for ac_exec_ext
in '' $ac_executable_extensions; do
5995 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5996 as_fn_executable_p
"$ac_path_GREP" ||
continue
5997 # Check for GNU ac_path_GREP and select it if it is found.
5998 # Check for GNU $ac_path_GREP
5999 case `"$ac_path_GREP" --version 2>&1` in
6001 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6004 $as_echo_n 0123456789 >"conftest.in"
6007 cat "conftest.in" "conftest.in" >"conftest.tmp"
6008 mv "conftest.tmp" "conftest.in"
6009 cp "conftest.in" "conftest.nl"
6010 $as_echo 'GREP' >> "conftest.nl"
6011 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6012 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6013 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6014 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6015 # Best one so far, save it but keep looking for a better one
6016 ac_cv_path_GREP
="$ac_path_GREP"
6017 ac_path_GREP_max
=$ac_count
6019 # 10*(2^10) chars as input seems more than enough
6020 test $ac_count -gt 10 && break
6022 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6025 $ac_path_GREP_found && break 3
6030 if test -z "$ac_cv_path_GREP"; then
6031 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6034 ac_cv_path_GREP
=$GREP
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6039 $as_echo "$ac_cv_path_GREP" >&6; }
6040 GREP
="$ac_cv_path_GREP"
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6044 $as_echo_n "checking for egrep... " >&6; }
6045 if ${ac_cv_path_EGREP+:} false
; then :
6046 $as_echo_n "(cached) " >&6
6048 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6049 then ac_cv_path_EGREP
="$GREP -E"
6051 if test -z "$EGREP"; then
6052 ac_path_EGREP_found
=false
6053 # Loop through the user's path and test for each of PROGNAME-LIST
6054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6055 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6058 test -z "$as_dir" && as_dir
=.
6059 for ac_prog
in egrep; do
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6062 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6063 # Check for GNU ac_path_EGREP and select it if it is found.
6064 # Check for GNU $ac_path_EGREP
6065 case `"$ac_path_EGREP" --version 2>&1` in
6067 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6070 $as_echo_n 0123456789 >"conftest.in"
6073 cat "conftest.in" "conftest.in" >"conftest.tmp"
6074 mv "conftest.tmp" "conftest.in"
6075 cp "conftest.in" "conftest.nl"
6076 $as_echo 'EGREP' >> "conftest.nl"
6077 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6078 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6079 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6080 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6081 # Best one so far, save it but keep looking for a better one
6082 ac_cv_path_EGREP
="$ac_path_EGREP"
6083 ac_path_EGREP_max
=$ac_count
6085 # 10*(2^10) chars as input seems more than enough
6086 test $ac_count -gt 10 && break
6088 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6091 $ac_path_EGREP_found && break 3
6096 if test -z "$ac_cv_path_EGREP"; then
6097 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6100 ac_cv_path_EGREP
=$EGREP
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6106 $as_echo "$ac_cv_path_EGREP" >&6; }
6107 EGREP
="$ac_cv_path_EGREP"
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6111 $as_echo_n "checking for fgrep... " >&6; }
6112 if ${ac_cv_path_FGREP+:} false
; then :
6113 $as_echo_n "(cached) " >&6
6115 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6116 then ac_cv_path_FGREP
="$GREP -F"
6118 if test -z "$FGREP"; then
6119 ac_path_FGREP_found
=false
6120 # Loop through the user's path and test for each of PROGNAME-LIST
6121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6122 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6125 test -z "$as_dir" && as_dir
=.
6126 for ac_prog
in fgrep
; do
6127 for ac_exec_ext
in '' $ac_executable_extensions; do
6128 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6129 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6130 # Check for GNU ac_path_FGREP and select it if it is found.
6131 # Check for GNU $ac_path_FGREP
6132 case `"$ac_path_FGREP" --version 2>&1` in
6134 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6137 $as_echo_n 0123456789 >"conftest.in"
6140 cat "conftest.in" "conftest.in" >"conftest.tmp"
6141 mv "conftest.tmp" "conftest.in"
6142 cp "conftest.in" "conftest.nl"
6143 $as_echo 'FGREP' >> "conftest.nl"
6144 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6145 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6146 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6147 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6148 # Best one so far, save it but keep looking for a better one
6149 ac_cv_path_FGREP
="$ac_path_FGREP"
6150 ac_path_FGREP_max
=$ac_count
6152 # 10*(2^10) chars as input seems more than enough
6153 test $ac_count -gt 10 && break
6155 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6158 $ac_path_FGREP_found && break 3
6163 if test -z "$ac_cv_path_FGREP"; then
6164 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6167 ac_cv_path_FGREP
=$FGREP
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6173 $as_echo "$ac_cv_path_FGREP" >&6; }
6174 FGREP
="$ac_cv_path_FGREP"
6177 test -z "$GREP" && GREP
=grep
6197 # Check whether --with-gnu-ld was given.
6198 if test "${with_gnu_ld+set}" = set; then :
6199 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6205 if test "$GCC" = yes; then
6206 # Check if gcc -print-prog-name=ld gives a path.
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6208 $as_echo_n "checking for ld used by $CC... " >&6; }
6211 # gcc leaves a trailing carriage return which upsets mingw
6212 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6214 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6217 # Accept absolute paths.
6219 re_direlt
='/[^/][^/]*/\.\./'
6220 # Canonicalize the pathname of ld
6221 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6222 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6223 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6225 test -z "$LD" && LD
="$ac_prog"
6228 # If it fails, then pretend we aren't using GCC.
6232 # If it is relative, then search for the first ld in PATH.
6236 elif test "$with_gnu_ld" = yes; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6238 $as_echo_n "checking for GNU ld... " >&6; }
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6241 $as_echo_n "checking for non-GNU ld... " >&6; }
6243 if ${lt_cv_path_LD+:} false
; then :
6244 $as_echo_n "(cached) " >&6
6246 if test -z "$LD"; then
6247 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6248 for ac_dir
in $PATH; do
6250 test -z "$ac_dir" && ac_dir
=.
6251 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6252 lt_cv_path_LD
="$ac_dir/$ac_prog"
6253 # Check to see if the program is GNU ld. I'd rather use --version,
6254 # but apparently some variants of GNU ld only accept -v.
6255 # Break only if it was the GNU/non-GNU ld that we prefer.
6256 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6257 *GNU
* |
*'with BFD'*)
6258 test "$with_gnu_ld" != no
&& break
6261 test "$with_gnu_ld" != yes && break
6268 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6273 if test -n "$LD"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6275 $as_echo "$LD" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278 $as_echo "no" >&6; }
6280 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6282 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6283 if ${lt_cv_prog_gnu_ld+:} false
; then :
6284 $as_echo_n "(cached) " >&6
6286 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6287 case `$LD -v 2>&1 </dev/null` in
6288 *GNU
* |
*'with BFD'*)
6289 lt_cv_prog_gnu_ld
=yes
6292 lt_cv_prog_gnu_ld
=no
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6297 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6298 with_gnu_ld
=$lt_cv_prog_gnu_ld
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6309 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6310 if ${lt_cv_path_NM+:} false
; then :
6311 $as_echo_n "(cached) " >&6
6313 if test -n "$NM"; then
6314 # Let the user override the test.
6317 lt_nm_to_check
="${ac_tool_prefix}nm"
6318 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6319 lt_nm_to_check
="$lt_nm_to_check nm"
6321 for lt_tmp_nm
in $lt_nm_to_check; do
6322 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6323 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6325 test -z "$ac_dir" && ac_dir
=.
6326 tmp_nm
="$ac_dir/$lt_tmp_nm"
6327 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6328 # Check to see if the nm accepts a BSD-compat flag.
6329 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6330 # nm: unknown option "B" ignored
6331 # Tru64's nm complains that /dev/null is an invalid object file
6332 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6333 */dev
/null
* |
*'Invalid file or object type'*)
6334 lt_cv_path_NM
="$tmp_nm -B"
6338 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6340 lt_cv_path_NM
="$tmp_nm -p"
6344 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6345 continue # so that we can try to find one that supports BSD flags
6354 : ${lt_cv_path_NM=no}
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6358 $as_echo "$lt_cv_path_NM" >&6; }
6359 if test "$lt_cv_path_NM" != "no"; then
6362 # Didn't find any BSD compatible name lister, look for dumpbin.
6363 if test -n "$DUMPBIN"; then :
6364 # Let the user override the test.
6366 if test -n "$ac_tool_prefix"; then
6367 for ac_prog
in dumpbin
"link -dump"
6369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6370 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6374 $as_echo_n "(cached) " >&6
6376 if test -n "$DUMPBIN"; then
6377 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir
=.
6384 for ac_exec_ext
in '' $ac_executable_extensions; do
6385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6386 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 DUMPBIN
=$ac_cv_prog_DUMPBIN
6397 if test -n "$DUMPBIN"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6399 $as_echo "$DUMPBIN" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6406 test -n "$DUMPBIN" && break
6409 if test -z "$DUMPBIN"; then
6410 ac_ct_DUMPBIN
=$DUMPBIN
6411 for ac_prog
in dumpbin
"link -dump"
6413 # Extract the first word of "$ac_prog", so it can be a program name with args.
6414 set dummy
$ac_prog; ac_word
=$2
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6416 $as_echo_n "checking for $ac_word... " >&6; }
6417 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6418 $as_echo_n "(cached) " >&6
6420 if test -n "$ac_ct_DUMPBIN"; then
6421 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir
=.
6428 for ac_exec_ext
in '' $ac_executable_extensions; do
6429 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6430 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6441 if test -n "$ac_ct_DUMPBIN"; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6443 $as_echo "$ac_ct_DUMPBIN" >&6; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 $as_echo "no" >&6; }
6450 test -n "$ac_ct_DUMPBIN" && break
6453 if test "x$ac_ct_DUMPBIN" = x
; then
6456 case $cross_compiling:$ac_tool_warned in
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6460 ac_tool_warned
=yes ;;
6462 DUMPBIN
=$ac_ct_DUMPBIN
6466 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6468 DUMPBIN
="$DUMPBIN -symbols"
6476 if test "$DUMPBIN" != ":"; then
6480 test -z "$NM" && NM
=nm
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6488 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6489 if ${lt_cv_nm_interface+:} false
; then :
6490 $as_echo_n "(cached) " >&6
6492 lt_cv_nm_interface
="BSD nm"
6493 echo "int some_variable = 0;" > conftest.
$ac_ext
6494 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6495 (eval "$ac_compile" 2>conftest.err
)
6496 cat conftest.err
>&5
6497 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6498 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6499 cat conftest.err
>&5
6500 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6501 cat conftest.out
>&5
6502 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6503 lt_cv_nm_interface
="MS dumpbin"
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6508 $as_echo "$lt_cv_nm_interface" >&6; }
6510 # find the maximum length of command line arguments
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6512 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6513 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6514 $as_echo_n "(cached) " >&6
6521 # On DJGPP, this test can blow up pretty badly due to problems in libc
6522 # (any single argument exceeding 2000 bytes causes a buffer overrun
6523 # during glob expansion). Even if it were fixed, the result of this
6524 # check would be larger than it should be.
6525 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6529 # Under GNU Hurd, this test is not required because there is
6530 # no limit to the length of command line arguments.
6531 # Libtool will interpret -1 as no limit whatsoever
6532 lt_cv_sys_max_cmd_len
=-1;
6535 cygwin
* | mingw
* | cegcc
*)
6536 # On Win9x/ME, this test blows up -- it succeeds, but takes
6537 # about 5 minutes as the teststring grows exponentially.
6538 # Worse, since 9x/ME are not pre-emptively multitasking,
6539 # you end up with a "frozen" computer, even though with patience
6540 # the test eventually succeeds (with a max line length of 256k).
6541 # Instead, let's just punt: use the minimum linelength reported by
6542 # all of the supported platforms: 8192 (on NT/2K/XP).
6543 lt_cv_sys_max_cmd_len
=8192;
6547 # On MiNT this can take a long time and run out of memory.
6548 lt_cv_sys_max_cmd_len
=8192;
6552 # On AmigaOS with pdksh, this test takes hours, literally.
6553 # So we just punt and use a minimum line length of 8192.
6554 lt_cv_sys_max_cmd_len
=8192;
6557 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6558 # This has been around since 386BSD, at least. Likely further.
6559 if test -x /sbin
/sysctl
; then
6560 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6561 elif test -x /usr
/sbin
/sysctl
; then
6562 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6564 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6566 # And add a safety zone
6567 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6568 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6572 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6573 lt_cv_sys_max_cmd_len
=196608
6577 # The test takes a long time on OS/2.
6578 lt_cv_sys_max_cmd_len
=8192
6582 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6583 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6584 # nice to cause kernel panics so lets avoid the loop below.
6585 # First set a reasonable default.
6586 lt_cv_sys_max_cmd_len
=16384
6588 if test -x /sbin
/sysconfig
; then
6589 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6590 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6595 lt_cv_sys_max_cmd_len
=102400
6597 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6598 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6599 if test -n "$kargmax"; then
6600 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6602 lt_cv_sys_max_cmd_len
=32768
6606 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6607 if test -n "$lt_cv_sys_max_cmd_len"; then
6608 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6609 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6611 # Make teststring a little bigger before we do anything with it.
6612 # a 1K string should be a reasonable start.
6613 for i
in 1 2 3 4 5 6 7 8 ; do
6614 teststring
=$teststring$teststring
6616 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6617 # If test is not a shell built-in, we'll probably end up computing a
6618 # maximum length that is only half of the actual maximum length, but
6620 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6621 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6622 test $i != 17 # 1/2 MB should be enough
6625 teststring
=$teststring$teststring
6627 # Only check the string length outside the loop.
6628 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6630 # Add a significant safety factor because C++ compilers can tack on
6631 # massive amounts of additional arguments before passing them to the
6632 # linker. It appears as though 1/2 is a usable value.
6633 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6640 if test -n $lt_cv_sys_max_cmd_len ; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6642 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6645 $as_echo "none" >&6; }
6647 max_cmd_len
=$lt_cv_sys_max_cmd_len
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6659 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6660 # Try some XSI features
6663 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6665 && eval 'test $(( 1 + 1 )) -eq 2 \
6666 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6669 $as_echo "$xsi_shell" >&6; }
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6673 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6675 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6677 && lt_shell_append=yes
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6679 $as_echo "$lt_shell_append" >&6; }
6682 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6692 # test EBCDIC or ASCII
6693 case `echo X|tr X '\101'` in
6694 A) # ASCII based system
6695 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6696 lt_SP2NL='tr \040 \012'
6697 lt_NL2SP='tr \015\012 \040\040'
6699 *) # EBCDIC based system
6700 lt_SP2NL='tr \100 \n'
6701 lt_NL2SP='tr \r\n \100\100'
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6714 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6715 if ${lt_cv_to_host_file_cmd+:} false; then :
6716 $as_echo_n "(cached
) " >&6
6721 *-*-mingw* ) # actually msys
6722 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6725 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6727 * ) # otherwise, assume *nix
6728 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6734 *-*-mingw* ) # actually msys
6735 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6738 lt_cv_to_host_file_cmd=func_convert_file_noop
6740 * ) # otherwise, assume *nix
6741 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6745 * ) # unhandled hosts (and "normal
" native builds)
6746 lt_cv_to_host_file_cmd=func_convert_file_noop
6752 to_host_file_cmd=$lt_cv_to_host_file_cmd
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6754 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6761 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6762 if ${lt_cv_to_tool_file_cmd+:} false; then :
6763 $as_echo_n "(cached
) " >&6
6765 #assume ordinary cross tools, or native build.
6766 lt_cv_to_tool_file_cmd=func_convert_file_noop
6770 *-*-mingw* ) # actually msys
6771 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6779 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6781 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6788 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6789 if ${lt_cv_ld_reload_flag+:} false; then :
6790 $as_echo_n "(cached
) " >&6
6792 lt_cv_ld_reload_flag='-r'
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6795 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6796 reload_flag=$lt_cv_ld_reload_flag
6797 case $reload_flag in
6799 *) reload_flag=" $reload_flag" ;;
6801 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 if test "$GCC" != yes; then
6809 if test "$GCC" = yes; then
6810 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6812 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6825 if test -n "$ac_tool_prefix"; then
6826 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6827 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6829 $as_echo_n "checking
for $ac_word...
" >&6; }
6830 if ${ac_cv_prog_OBJDUMP+:} false; then :
6831 $as_echo_n "(cached
) " >&6
6833 if test -n "$OBJDUMP"; then
6834 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 test -z "$as_dir" && as_dir=.
6841 for ac_exec_ext in '' $ac_executable_extensions; do
6842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6843 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6853 OBJDUMP=$ac_cv_prog_OBJDUMP
6854 if test -n "$OBJDUMP"; then
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6856 $as_echo "$OBJDUMP" >&6; }
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6859 $as_echo "no
" >&6; }
6864 if test -z "$ac_cv_prog_OBJDUMP"; then
6865 ac_ct_OBJDUMP=$OBJDUMP
6866 # Extract the first word of "objdump
", so it can be a program name with args.
6867 set dummy objdump; ac_word=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6869 $as_echo_n "checking
for $ac_word...
" >&6; }
6870 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6871 $as_echo_n "(cached
) " >&6
6873 if test -n "$ac_ct_OBJDUMP"; then
6874 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 test -z "$as_dir" && as_dir=.
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6883 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6893 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6894 if test -n "$ac_ct_OBJDUMP"; then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6896 $as_echo "$ac_ct_OBJDUMP" >&6; }
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6899 $as_echo "no
" >&6; }
6902 if test "x
$ac_ct_OBJDUMP" = x; then
6905 case $cross_compiling:$ac_tool_warned in
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6908 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6909 ac_tool_warned=yes ;;
6911 OBJDUMP=$ac_ct_OBJDUMP
6914 OBJDUMP="$ac_cv_prog_OBJDUMP"
6917 test -z "$OBJDUMP" && OBJDUMP=objdump
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6928 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6929 if ${lt_cv_deplibs_check_method+:} false; then :
6930 $as_echo_n "(cached
) " >&6
6932 lt_cv_file_magic_cmd='$MAGIC_CMD'
6933 lt_cv_file_magic_test_file=
6934 lt_cv_deplibs_check_method='unknown'
6935 # Need to set the preceding variable on all platforms that support
6936 # interlibrary dependencies.
6937 # 'none' -- dependencies not supported.
6938 # `unknown' -- same as none, but documents that we really don't know.
6939 # 'pass_all' -- all dependencies passed with no checks.
6940 # 'test_compile' -- check by making test program.
6941 # 'file_magic [[regex]]' -- check by looking for files in library path
6942 # which responds to the $file_magic_cmd with a given extended regex.
6943 # If you have `file' or equivalent on your system and you're not sure
6944 # whether `pass_all' will *always* work, you probably want this one.
6948 lt_cv_deplibs_check_method=pass_all
6952 lt_cv_deplibs_check_method=pass_all
6956 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6957 lt_cv_file_magic_cmd='/usr/bin/file -L'
6958 lt_cv_file_magic_test_file=/shlib/libc.so
6962 # func_win32_libid is a shell function defined in ltmain.sh
6963 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6964 lt_cv_file_magic_cmd='func_win32_libid'
6968 # Base MSYS/MinGW do not provide the 'file' command needed by
6969 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6970 # unless we find 'file', for example because we are cross-compiling.
6971 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6972 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6973 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6974 lt_cv_file_magic_cmd='func_win32_libid'
6976 # Keep this pattern in sync with the one in func_win32_libid.
6977 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6978 lt_cv_file_magic_cmd='$OBJDUMP -f'
6983 # use the weaker test based on 'objdump'. See mingw*.
6984 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6985 lt_cv_file_magic_cmd='$OBJDUMP -f'
6988 darwin* | rhapsody*)
6989 lt_cv_deplibs_check_method=pass_all
6992 freebsd* | dragonfly*)
6993 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6996 # Not sure whether the presence of OpenBSD here was a mistake.
6997 # Let's accept both of them until this is cleared up.
6998 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6999 lt_cv_file_magic_cmd=/usr/bin/file
7000 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7004 lt_cv_deplibs_check_method=pass_all
7009 lt_cv_deplibs_check_method=pass_all
7013 lt_cv_deplibs_check_method=pass_all
7016 hpux10.20* | hpux11*)
7017 lt_cv_file_magic_cmd=/usr/bin/file
7020 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7021 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7024 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]'
7025 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7028 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7029 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7035 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7039 irix5* | irix6* | nonstopux*)
7041 *-32|*"-32 ") libmagic=32-bit;;
7042 *-n32|*"-n32 ") libmagic=N32;;
7043 *-64|*"-64 ") libmagic=64-bit;;
7044 *) libmagic=never-match;;
7046 lt_cv_deplibs_check_method=pass_all
7049 # This must be glibc/ELF.
7050 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7051 lt_cv_deplibs_check_method=pass_all
7055 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7058 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7063 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7064 lt_cv_file_magic_cmd=/usr/bin/file
7065 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7069 lt_cv_deplibs_check_method=pass_all
7073 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7074 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7076 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7080 osf3* | osf4* | osf5*)
7081 lt_cv_deplibs_check_method=pass_all
7085 lt_cv_deplibs_check_method=pass_all
7089 lt_cv_deplibs_check_method=pass_all
7092 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7093 lt_cv_deplibs_check_method=pass_all
7097 case $host_vendor in
7099 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]'
7100 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7103 lt_cv_deplibs_check_method=pass_all
7106 lt_cv_file_magic_cmd='/bin/file'
7107 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7110 lt_cv_file_magic_cmd='/bin/file'
7111 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7112 lt_cv_file_magic_test_file=/lib/libc.so
7115 lt_cv_deplibs_check_method=pass_all
7118 lt_cv_deplibs_check_method=pass_all
7124 lt_cv_deplibs_check_method=pass_all
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7130 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7134 if test "$build" = "$host"; then
7137 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7140 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
7146 file_magic_cmd=$lt_cv_file_magic_cmd
7147 deplibs_check_method=$lt_cv_deplibs_check_method
7148 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7171 if test -n "$ac_tool_prefix"; then
7172 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
7173 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7175 $as_echo_n "checking
for $ac_word...
" >&6; }
7176 if ${ac_cv_prog_DLLTOOL+:} false; then :
7177 $as_echo_n "(cached
) " >&6
7179 if test -n "$DLLTOOL"; then
7180 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir=.
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7189 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7199 DLLTOOL=$ac_cv_prog_DLLTOOL
7200 if test -n "$DLLTOOL"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7202 $as_echo "$DLLTOOL" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7205 $as_echo "no
" >&6; }
7210 if test -z "$ac_cv_prog_DLLTOOL"; then
7211 ac_ct_DLLTOOL=$DLLTOOL
7212 # Extract the first word of "dlltool
", so it can be a program name with args.
7213 set dummy dlltool; ac_word=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7215 $as_echo_n "checking
for $ac_word...
" >&6; }
7216 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7217 $as_echo_n "(cached
) " >&6
7219 if test -n "$ac_ct_DLLTOOL"; then
7220 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 test -z "$as_dir" && as_dir=.
7227 for ac_exec_ext in '' $ac_executable_extensions; do
7228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7229 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
7230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7239 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7240 if test -n "$ac_ct_DLLTOOL"; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
7242 $as_echo "$ac_ct_DLLTOOL" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7245 $as_echo "no
" >&6; }
7248 if test "x
$ac_ct_DLLTOOL" = x; then
7251 case $cross_compiling:$ac_tool_warned in
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7254 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7255 ac_tool_warned=yes ;;
7257 DLLTOOL=$ac_ct_DLLTOOL
7260 DLLTOOL="$ac_cv_prog_DLLTOOL"
7263 test -z "$DLLTOOL" && DLLTOOL=dlltool
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
7275 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
7276 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7277 $as_echo_n "(cached
) " >&6
7279 lt_cv_sharedlib_from_linklib_cmd='unknown'
7282 cygwin* | mingw* | pw32* | cegcc*)
7283 # two different shell functions defined in ltmain.sh
7284 # decide which to use based on capabilities of $DLLTOOL
7285 case `$DLLTOOL --help 2>&1` in
7286 *--identify-strict*)
7287 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7290 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7295 # fallback: assume linklib IS sharedlib
7296 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7302 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7303 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7304 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7313 if test -n "$ac_tool_prefix"; then
7316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7319 $as_echo_n "checking
for $ac_word...
" >&6; }
7320 if ${ac_cv_prog_AR+:} false; then :
7321 $as_echo_n "(cached
) " >&6
7323 if test -n "$AR"; then
7324 ac_cv_prog_AR="$AR" # Let the user override the test.
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 test -z "$as_dir" && as_dir=.
7331 for ac_exec_ext in '' $ac_executable_extensions; do
7332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7344 if test -n "$AR"; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7346 $as_echo "$AR" >&6; }
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7349 $as_echo "no
" >&6; }
7353 test -n "$AR" && break
7356 if test -z "$AR"; then
7360 # Extract the first word of "$ac_prog", so it can be a program name with args.
7361 set dummy $ac_prog; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7363 $as_echo_n "checking
for $ac_word...
" >&6; }
7364 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7365 $as_echo_n "(cached
) " >&6
7367 if test -n "$ac_ct_AR"; then
7368 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_ac_ct_AR="$ac_prog"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7387 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7388 if test -n "$ac_ct_AR"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7390 $as_echo "$ac_ct_AR" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7393 $as_echo "no
" >&6; }
7397 test -n "$ac_ct_AR" && break
7400 if test "x
$ac_ct_AR" = x; then
7403 case $cross_compiling:$ac_tool_warned in
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7406 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7407 ac_tool_warned=yes ;;
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7427 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7428 if ${lt_cv_ar_at_file+:} false; then :
7429 $as_echo_n "(cached
) " >&6
7432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7443 if ac_fn_c_try_compile "$LINENO"; then :
7444 echo conftest.$ac_objext > conftest.lst
7445 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7446 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7447 (eval $lt_ar_try) 2>&5
7449 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7450 test $ac_status = 0; }
7451 if test "$ac_status" -eq 0; then
7452 # Ensure the archiver fails upon bogus file names.
7453 rm -f conftest.$ac_objext libconftest.a
7454 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7455 (eval $lt_ar_try) 2>&5
7457 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7458 test $ac_status = 0; }
7459 if test "$ac_status" -ne 0; then
7463 rm -f conftest.* libconftest.a
7466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7470 $as_echo "$lt_cv_ar_at_file" >&6; }
7472 if test "x
$lt_cv_ar_at_file" = xno; then
7475 archiver_list_spec=$lt_cv_ar_at_file
7484 if test -n "$ac_tool_prefix"; then
7485 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7486 set dummy ${ac_tool_prefix}strip; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7488 $as_echo_n "checking
for $ac_word...
" >&6; }
7489 if ${ac_cv_prog_STRIP+:} false; then :
7490 $as_echo_n "(cached
) " >&6
7492 if test -n "$STRIP"; then
7493 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7512 STRIP=$ac_cv_prog_STRIP
7513 if test -n "$STRIP"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7515 $as_echo "$STRIP" >&6; }
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7518 $as_echo "no
" >&6; }
7523 if test -z "$ac_cv_prog_STRIP"; then
7525 # Extract the first word of "strip
", so it can be a program name with args.
7526 set dummy strip; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7528 $as_echo_n "checking
for $ac_word...
" >&6; }
7529 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7530 $as_echo_n "(cached
) " >&6
7532 if test -n "$ac_ct_STRIP"; then
7533 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_ac_ct_STRIP="strip
"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7553 if test -n "$ac_ct_STRIP"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7555 $as_echo "$ac_ct_STRIP" >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7558 $as_echo "no
" >&6; }
7561 if test "x
$ac_ct_STRIP" = x; then
7564 case $cross_compiling:$ac_tool_warned in
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7567 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7568 ac_tool_warned=yes ;;
7573 STRIP="$ac_cv_prog_STRIP"
7576 test -z "$STRIP" && STRIP=:
7583 if test -n "$ac_tool_prefix"; then
7584 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7585 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7587 $as_echo_n "checking
for $ac_word...
" >&6; }
7588 if ${ac_cv_prog_RANLIB+:} false; then :
7589 $as_echo_n "(cached
) " >&6
7591 if test -n "$RANLIB"; then
7592 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7601 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7611 RANLIB=$ac_cv_prog_RANLIB
7612 if test -n "$RANLIB"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7614 $as_echo "$RANLIB" >&6; }
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7617 $as_echo "no
" >&6; }
7622 if test -z "$ac_cv_prog_RANLIB"; then
7623 ac_ct_RANLIB=$RANLIB
7624 # Extract the first word of "ranlib
", so it can be a program name with args.
7625 set dummy ranlib; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7627 $as_echo_n "checking
for $ac_word...
" >&6; }
7628 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7629 $as_echo_n "(cached
) " >&6
7631 if test -n "$ac_ct_RANLIB"; then
7632 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7638 test -z "$as_dir" && as_dir=.
7639 for ac_exec_ext in '' $ac_executable_extensions; do
7640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7641 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7651 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7652 if test -n "$ac_ct_RANLIB"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7654 $as_echo "$ac_ct_RANLIB" >&6; }
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7657 $as_echo "no
" >&6; }
7660 if test "x
$ac_ct_RANLIB" = x; then
7663 case $cross_compiling:$ac_tool_warned in
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7666 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7667 ac_tool_warned=yes ;;
7669 RANLIB=$ac_ct_RANLIB
7672 RANLIB="$ac_cv_prog_RANLIB"
7675 test -z "$RANLIB" && RANLIB=:
7682 # Determine commands to create old-style static archives.
7683 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7684 old_postinstall_cmds='chmod 644 $oldlib'
7685 old_postuninstall_cmds=
7687 if test -n "$RANLIB"; then
7690 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7693 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7696 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7701 lock_old_archive_extraction=yes ;;
7703 lock_old_archive_extraction=no ;;
7744 # If no C compiler was specified, use CC.
7747 # If no C compiler flags were specified, use CFLAGS.
7748 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7750 # Allow CC to be a program name with arguments.
7754 # Check for command to grab the raw symbol name followed by C symbol from nm.
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7756 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7757 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7758 $as_echo_n "(cached
) " >&6
7761 # These are sane defaults that work on at least a few old systems.
7762 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7764 # Character class describing NM global symbol codes.
7765 symcode='[BCDEGRST]'
7767 # Regexp to match symbols that can be accessed directly from C.
7768 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7770 # Define system-specific variables.
7775 cygwin* | mingw* | pw32* | cegcc*)
7776 symcode='[ABCDGISTW]'
7779 if test "$host_cpu" = ia64; then
7780 symcode='[ABCDEGRST]'
7784 symcode='[BCDEGRST]'
7787 symcode='[BCDEGQRST]'
7798 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7806 # If we're using GNU nm, then use its standard symbol codes.
7807 case `$NM -V 2>&1` in
7808 *GNU* | *'with BFD'*)
7809 symcode='[ABCDGIRSTW]' ;;
7812 # Transform an extracted symbol line into a proper C declaration.
7813 # Some systems (esp. on ia64) link data and code symbols differently,
7814 # so use this general approach.
7815 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7817 # Transform an extracted symbol line into symbol name and symbol address
7818 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7819 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7821 # Handle CRLF in mingw tool chain
7825 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7829 # Try without a prefix underscore, then with it.
7830 for ac_symprfx in "" "_
"; do
7832 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7833 symxfrm="\\1 $ac_symprfx\\2 \\2"
7835 # Write the raw and C identifiers.
7836 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7837 # Fake it for dumpbin and say T for any non-static function
7838 # and D for any global variable.
7839 # Also find C++ and __fastcall symbols from MSVC++,
7840 # which start with @ or ?.
7841 lt_cv_sys_global_symbol_pipe="$AWK '"\
7842 " {last_section=section; section=\$ 3};"\
7843 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7844 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7845 " \$ 0!~/External *\|/{next};"\
7846 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7847 " {if(hide[section]) next};"\
7848 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7849 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7850 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7851 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7852 " ' prfx
=^
$ac_symprfx"
7854 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7856 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7858 # Check to see that the pipe works correctly.
7862 cat > conftest.$ac_ext <<_LT_EOF
7867 void nm_test_func(void);
7868 void nm_test_func(void){}
7872 int main(){nm_test_var='a';nm_test_func();return(0);}
7875 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7876 (eval $ac_compile) 2>&5
7878 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7879 test $ac_status = 0; }; then
7880 # Now try to grab the symbols.
7882 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7883 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7885 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7886 test $ac_status = 0; } && test -s "$nlist"; then
7887 # Try sorting and uniquifying the output.
7888 if sort "$nlist" | uniq > "$nlist"T; then
7889 mv -f "$nlist"T "$nlist"
7894 # Make sure that we snagged all the symbols we need.
7895 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7896 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7897 cat <<_LT_EOF > conftest.$ac_ext
7898 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7899 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7900 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7901 relocations are performed -- see ld's documentation on pseudo-relocs. */
7902 # define LT_DLSYM_CONST
7903 #elif defined(__osf__)
7904 /* This system does not cope well with relocations in const data. */
7905 # define LT_DLSYM_CONST
7907 # define LT_DLSYM_CONST const
7915 # Now generate the symbol file.
7916 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7918 cat <<_LT_EOF >> conftest.$ac_ext
7920 /* The mapping between symbol names and symbols. */
7921 LT_DLSYM_CONST struct {
7925 lt__PROGRAM__LTX_preloaded_symbols[] =
7927 { "@PROGRAM@
", (void *) 0 },
7929 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7930 cat <<\_LT_EOF >> conftest.$ac_ext
7934 /* This works around a problem in FreeBSD linker */
7935 #ifdef FREEBSD_WORKAROUND
7936 static const void *lt_preloaded_setup() {
7937 return lt__PROGRAM__LTX_preloaded_symbols;
7945 # Now try linking the two files.
7946 mv conftest.$ac_objext conftstm.$ac_objext
7947 lt_globsym_save_LIBS=$LIBS
7948 lt_globsym_save_CFLAGS=$CFLAGS
7949 LIBS="conftstm.
$ac_objext"
7950 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7951 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7952 (eval $ac_link) 2>&5
7954 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7955 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7958 LIBS=$lt_globsym_save_LIBS
7959 CFLAGS=$lt_globsym_save_CFLAGS
7961 echo "cannot
find nm_test_func
in $nlist" >&5
7964 echo "cannot
find nm_test_var
in $nlist" >&5
7967 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7970 echo "$progname: failed program was
:" >&5
7971 cat conftest.$ac_ext >&5
7973 rm -rf conftest* conftst*
7975 # Do not use the global_symbol_pipe unless it works.
7976 if test "$pipe_works" = yes; then
7979 lt_cv_sys_global_symbol_pipe=
7985 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7986 lt_cv_sys_global_symbol_to_cdecl=
7988 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7990 $as_echo "failed
" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7993 $as_echo "ok
" >&6; }
7996 # Response file support.
7997 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7998 nm_file_list_spec='@'
7999 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8000 nm_file_list_spec='@'
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
8030 $as_echo_n "checking
for sysroot...
" >&6; }
8032 # Check whether --with-sysroot was given.
8033 if test "${with_sysroot+set}" = set; then :
8034 withval=$with_sysroot;
8041 case ${with_sysroot} in #(
8043 if test "$GCC" = yes; then
8044 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8048 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
8054 $as_echo "${with_sysroot}" >&6; }
8055 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
8060 $as_echo "${lt_sysroot:-no}" >&6; }
8066 # Check whether --enable-libtool-lock was given.
8067 if test "${enable_libtool_lock+set}" = set; then :
8068 enableval=$enable_libtool_lock;
8071 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8073 # Some flags need to be propagated to the compiler or linker for good
8077 # Find out which ABI we are using.
8078 echo 'int i;' > conftest.$ac_ext
8079 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8080 (eval $ac_compile) 2>&5
8082 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8083 test $ac_status = 0; }; then
8084 case `/usr/bin/file conftest.$ac_objext` in
8096 # Find out which ABI we are using.
8097 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8098 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8099 (eval $ac_compile) 2>&5
8101 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8102 test $ac_status = 0; }; then
8103 if test "$lt_cv_prog_gnu_ld" = yes; then
8104 case `/usr/bin/file conftest.$ac_objext` in
8106 LD="${LD-ld} -melf32bsmip"
8109 LD="${LD-ld} -melf32bmipn32"
8112 LD="${LD-ld} -melf64bmip"
8116 case `/usr/bin/file conftest.$ac_objext` in
8132 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8133 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8134 # Find out which ABI we are using.
8135 echo 'int i;' > conftest.$ac_ext
8136 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8137 (eval $ac_compile) 2>&5
8139 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8140 test $ac_status = 0; }; then
8141 case `/usr/bin/file conftest.o` in
8144 x86_64-*kfreebsd*-gnu)
8145 LD="${LD-ld} -m elf_i386_fbsd
"
8148 LD="${LD-ld} -m elf_i386
"
8150 powerpc64le-*linux*)
8151 LD="${LD-ld} -m elf32lppclinux
"
8154 LD="${LD-ld} -m elf32ppclinux
"
8157 LD="${LD-ld} -m elf_s390
"
8160 LD="${LD-ld} -m elf32_sparc
"
8166 x86_64-*kfreebsd*-gnu)
8167 LD="${LD-ld} -m elf_x86_64_fbsd
"
8170 LD="${LD-ld} -m elf_x86_64
"
8173 LD="${LD-ld} -m elf64lppc
"
8176 LD="${LD-ld} -m elf64ppc
"
8178 s390*-*linux*|s390*-*tpf*)
8179 LD="${LD-ld} -m elf64_s390
"
8182 LD="${LD-ld} -m elf64_sparc
"
8192 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8193 SAVE_CFLAGS="$CFLAGS"
8194 CFLAGS="$CFLAGS -belf"
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8196 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8197 if ${lt_cv_cc_needs_belf+:} false; then :
8198 $as_echo_n "(cached
) " >&6
8201 ac_cpp='$CPP $CPPFLAGS'
8202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8217 if ac_fn_c_try_link "$LINENO"; then :
8218 lt_cv_cc_needs_belf=yes
8220 lt_cv_cc_needs_belf=no
8222 rm -f core conftest.err conftest.$ac_objext \
8223 conftest$ac_exeext conftest.$ac_ext
8225 ac_cpp='$CPP $CPPFLAGS'
8226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8232 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8233 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8234 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8235 CFLAGS="$SAVE_CFLAGS"
8239 # Find out which ABI we are using.
8240 echo 'int i;' > conftest.$ac_ext
8241 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8242 (eval $ac_compile) 2>&5
8244 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8245 test $ac_status = 0; }; then
8246 case `/usr/bin/file conftest.o` in
8248 case $lt_cv_prog_gnu_ld in
8252 LD="${LD-ld} -m elf_x86_64
"
8255 LD="${LD-ld} -m elf64_sparc
"
8258 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8259 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8264 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8276 need_locks="$enable_libtool_lock"
8278 if test -n "$ac_tool_prefix"; then
8279 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
8280 set dummy ${ac_tool_prefix}mt; ac_word=$2
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8282 $as_echo_n "checking
for $ac_word...
" >&6; }
8283 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8284 $as_echo_n "(cached
) " >&6
8286 if test -n "$MANIFEST_TOOL"; then
8287 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293 test -z "$as_dir" && as_dir=.
8294 for ac_exec_ext in '' $ac_executable_extensions; do
8295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8296 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
8297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8306 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8307 if test -n "$MANIFEST_TOOL"; then
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8309 $as_echo "$MANIFEST_TOOL" >&6; }
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8312 $as_echo "no
" >&6; }
8317 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8318 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8319 # Extract the first word of "mt
", so it can be a program name with args.
8320 set dummy mt; ac_word=$2
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8322 $as_echo_n "checking
for $ac_word...
" >&6; }
8323 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8324 $as_echo_n "(cached
) " >&6
8326 if test -n "$ac_ct_MANIFEST_TOOL"; then
8327 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 test -z "$as_dir" && as_dir=.
8334 for ac_exec_ext in '' $ac_executable_extensions; do
8335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8336 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8346 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8347 if test -n "$ac_ct_MANIFEST_TOOL"; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8349 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8352 $as_echo "no
" >&6; }
8355 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8358 case $cross_compiling:$ac_tool_warned in
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8361 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8362 ac_tool_warned=yes ;;
8364 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8367 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8370 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8372 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8373 if ${lt_cv_path_mainfest_tool+:} false; then :
8374 $as_echo_n "(cached
) " >&6
8376 lt_cv_path_mainfest_tool=no
8377 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8378 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8379 cat conftest.err >&5
8380 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8381 lt_cv_path_mainfest_tool=yes
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8386 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8387 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8397 rhapsody* | darwin*)
8398 if test -n "$ac_tool_prefix"; then
8399 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8400 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8402 $as_echo_n "checking
for $ac_word...
" >&6; }
8403 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8404 $as_echo_n "(cached
) " >&6
8406 if test -n "$DSYMUTIL"; then
8407 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8413 test -z "$as_dir" && as_dir=.
8414 for ac_exec_ext in '' $ac_executable_extensions; do
8415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8416 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8426 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8427 if test -n "$DSYMUTIL"; then
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8429 $as_echo "$DSYMUTIL" >&6; }
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8432 $as_echo "no
" >&6; }
8437 if test -z "$ac_cv_prog_DSYMUTIL"; then
8438 ac_ct_DSYMUTIL=$DSYMUTIL
8439 # Extract the first word of "dsymutil
", so it can be a program name with args.
8440 set dummy dsymutil; ac_word=$2
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8442 $as_echo_n "checking
for $ac_word...
" >&6; }
8443 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8444 $as_echo_n "(cached
) " >&6
8446 if test -n "$ac_ct_DSYMUTIL"; then
8447 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8453 test -z "$as_dir" && as_dir=.
8454 for ac_exec_ext in '' $ac_executable_extensions; do
8455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8456 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8466 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8467 if test -n "$ac_ct_DSYMUTIL"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8469 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8472 $as_echo "no
" >&6; }
8475 if test "x
$ac_ct_DSYMUTIL" = x; then
8478 case $cross_compiling:$ac_tool_warned in
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8481 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8482 ac_tool_warned=yes ;;
8484 DSYMUTIL=$ac_ct_DSYMUTIL
8487 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8490 if test -n "$ac_tool_prefix"; then
8491 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8492 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8494 $as_echo_n "checking
for $ac_word...
" >&6; }
8495 if ${ac_cv_prog_NMEDIT+:} false; then :
8496 $as_echo_n "(cached
) " >&6
8498 if test -n "$NMEDIT"; then
8499 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8505 test -z "$as_dir" && as_dir=.
8506 for ac_exec_ext in '' $ac_executable_extensions; do
8507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8508 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8518 NMEDIT=$ac_cv_prog_NMEDIT
8519 if test -n "$NMEDIT"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8521 $as_echo "$NMEDIT" >&6; }
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8524 $as_echo "no
" >&6; }
8529 if test -z "$ac_cv_prog_NMEDIT"; then
8530 ac_ct_NMEDIT=$NMEDIT
8531 # Extract the first word of "nmedit
", so it can be a program name with args.
8532 set dummy nmedit; ac_word=$2
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8534 $as_echo_n "checking
for $ac_word...
" >&6; }
8535 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8536 $as_echo_n "(cached
) " >&6
8538 if test -n "$ac_ct_NMEDIT"; then
8539 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8545 test -z "$as_dir" && as_dir=.
8546 for ac_exec_ext in '' $ac_executable_extensions; do
8547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8548 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8558 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8559 if test -n "$ac_ct_NMEDIT"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8561 $as_echo "$ac_ct_NMEDIT" >&6; }
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8564 $as_echo "no
" >&6; }
8567 if test "x
$ac_ct_NMEDIT" = x; then
8570 case $cross_compiling:$ac_tool_warned in
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8573 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8574 ac_tool_warned=yes ;;
8576 NMEDIT=$ac_ct_NMEDIT
8579 NMEDIT="$ac_cv_prog_NMEDIT"
8582 if test -n "$ac_tool_prefix"; then
8583 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8584 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8586 $as_echo_n "checking
for $ac_word...
" >&6; }
8587 if ${ac_cv_prog_LIPO+:} false; then :
8588 $as_echo_n "(cached
) " >&6
8590 if test -n "$LIPO"; then
8591 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8597 test -z "$as_dir" && as_dir=.
8598 for ac_exec_ext in '' $ac_executable_extensions; do
8599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8600 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8610 LIPO=$ac_cv_prog_LIPO
8611 if test -n "$LIPO"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8613 $as_echo "$LIPO" >&6; }
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8616 $as_echo "no
" >&6; }
8621 if test -z "$ac_cv_prog_LIPO"; then
8623 # Extract the first word of "lipo
", so it can be a program name with args.
8624 set dummy lipo; ac_word=$2
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8626 $as_echo_n "checking
for $ac_word...
" >&6; }
8627 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8628 $as_echo_n "(cached
) " >&6
8630 if test -n "$ac_ct_LIPO"; then
8631 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8637 test -z "$as_dir" && as_dir=.
8638 for ac_exec_ext in '' $ac_executable_extensions; do
8639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8640 ac_cv_prog_ac_ct_LIPO="lipo
"
8641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8650 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8651 if test -n "$ac_ct_LIPO"; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8653 $as_echo "$ac_ct_LIPO" >&6; }
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8656 $as_echo "no
" >&6; }
8659 if test "x
$ac_ct_LIPO" = x; then
8662 case $cross_compiling:$ac_tool_warned in
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8665 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8666 ac_tool_warned=yes ;;
8671 LIPO="$ac_cv_prog_LIPO"
8674 if test -n "$ac_tool_prefix"; then
8675 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8676 set dummy ${ac_tool_prefix}otool; ac_word=$2
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8678 $as_echo_n "checking
for $ac_word...
" >&6; }
8679 if ${ac_cv_prog_OTOOL+:} false; then :
8680 $as_echo_n "(cached
) " >&6
8682 if test -n "$OTOOL"; then
8683 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8689 test -z "$as_dir" && as_dir=.
8690 for ac_exec_ext in '' $ac_executable_extensions; do
8691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8692 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8702 OTOOL=$ac_cv_prog_OTOOL
8703 if test -n "$OTOOL"; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8705 $as_echo "$OTOOL" >&6; }
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8708 $as_echo "no
" >&6; }
8713 if test -z "$ac_cv_prog_OTOOL"; then
8715 # Extract the first word of "otool
", so it can be a program name with args.
8716 set dummy otool; ac_word=$2
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8718 $as_echo_n "checking
for $ac_word...
" >&6; }
8719 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8720 $as_echo_n "(cached
) " >&6
8722 if test -n "$ac_ct_OTOOL"; then
8723 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8729 test -z "$as_dir" && as_dir=.
8730 for ac_exec_ext in '' $ac_executable_extensions; do
8731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8732 ac_cv_prog_ac_ct_OTOOL="otool
"
8733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8742 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8743 if test -n "$ac_ct_OTOOL"; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8745 $as_echo "$ac_ct_OTOOL" >&6; }
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8748 $as_echo "no
" >&6; }
8751 if test "x
$ac_ct_OTOOL" = x; then
8754 case $cross_compiling:$ac_tool_warned in
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8757 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8758 ac_tool_warned=yes ;;
8763 OTOOL="$ac_cv_prog_OTOOL"
8766 if test -n "$ac_tool_prefix"; then
8767 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8768 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8770 $as_echo_n "checking
for $ac_word...
" >&6; }
8771 if ${ac_cv_prog_OTOOL64+:} false; then :
8772 $as_echo_n "(cached
) " >&6
8774 if test -n "$OTOOL64"; then
8775 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8781 test -z "$as_dir" && as_dir=.
8782 for ac_exec_ext in '' $ac_executable_extensions; do
8783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8784 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8794 OTOOL64=$ac_cv_prog_OTOOL64
8795 if test -n "$OTOOL64"; then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8797 $as_echo "$OTOOL64" >&6; }
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8800 $as_echo "no
" >&6; }
8805 if test -z "$ac_cv_prog_OTOOL64"; then
8806 ac_ct_OTOOL64=$OTOOL64
8807 # Extract the first word of "otool64
", so it can be a program name with args.
8808 set dummy otool64; ac_word=$2
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8810 $as_echo_n "checking
for $ac_word...
" >&6; }
8811 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8812 $as_echo_n "(cached
) " >&6
8814 if test -n "$ac_ct_OTOOL64"; then
8815 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8821 test -z "$as_dir" && as_dir=.
8822 for ac_exec_ext in '' $ac_executable_extensions; do
8823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8824 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8834 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8835 if test -n "$ac_ct_OTOOL64"; then
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8837 $as_echo "$ac_ct_OTOOL64" >&6; }
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8840 $as_echo "no
" >&6; }
8843 if test "x
$ac_ct_OTOOL64" = x; then
8846 case $cross_compiling:$ac_tool_warned in
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8849 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8850 ac_tool_warned=yes ;;
8852 OTOOL64=$ac_ct_OTOOL64
8855 OTOOL64="$ac_cv_prog_OTOOL64"
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8885 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8886 if ${lt_cv_apple_cc_single_mod+:} false; then :
8887 $as_echo_n "(cached
) " >&6
8889 lt_cv_apple_cc_single_mod=no
8890 if test -z "${LT_MULTI_MODULE}"; then
8891 # By default we will add the -single_module flag. You can override
8892 # by either setting the environment variable LT_MULTI_MODULE
8893 # non-empty at configure time, or by adding -multi_module to the
8895 rm -rf libconftest.dylib*
8896 echo "int foo
(void
){return 1;}" > conftest.c
8897 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8898 -dynamiclib -Wl,-single_module conftest.c
" >&5
8899 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8900 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8902 # If there is a non-empty error log, and "single_module
"
8903 # appears in it, assume the flag caused a linker warning
8904 if test -s conftest.err && $GREP single_module conftest.err; then
8905 cat conftest.err >&5
8906 # Otherwise, if the output was created with a 0 exit code from
8907 # the compiler, it worked.
8908 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8909 lt_cv_apple_cc_single_mod=yes
8911 cat conftest.err >&5
8913 rm -rf libconftest.dylib*
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8918 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8921 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8922 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8923 $as_echo_n "(cached
) " >&6
8925 lt_cv_ld_exported_symbols_list=no
8926 save_LDFLAGS=$LDFLAGS
8927 echo "_main
" > conftest.sym
8928 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8930 /* end confdefs.h. */
8940 if ac_fn_c_try_link "$LINENO"; then :
8941 lt_cv_ld_exported_symbols_list=yes
8943 lt_cv_ld_exported_symbols_list=no
8945 rm -f core conftest.err conftest.$ac_objext \
8946 conftest$ac_exeext conftest.$ac_ext
8947 LDFLAGS="$save_LDFLAGS"
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8951 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8954 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8955 if ${lt_cv_ld_force_load+:} false; then :
8956 $as_echo_n "(cached
) " >&6
8958 lt_cv_ld_force_load=no
8959 cat > conftest.c << _LT_EOF
8960 int forced_loaded() { return 2;}
8962 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8963 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8964 echo "$AR cru libconftest.a conftest.o
" >&5
8965 $AR cru libconftest.a conftest.o 2>&5
8966 echo "$RANLIB libconftest.a
" >&5
8967 $RANLIB libconftest.a 2>&5
8968 cat > conftest.c << _LT_EOF
8969 int main() { return 0;}
8971 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8972 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8974 if test -s conftest.err && $GREP force_load conftest.err; then
8975 cat conftest.err >&5
8976 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8977 lt_cv_ld_force_load=yes
8979 cat conftest.err >&5
8981 rm -f conftest.err libconftest.a conftest conftest.c
8982 rm -rf conftest.dSYM
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8986 $as_echo "$lt_cv_ld_force_load" >&6; }
8988 rhapsody* | darwin1.[012])
8989 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8991 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8992 darwin*) # darwin 5.x on
8993 # if running on 10.5 or later, the deployment target defaults
8994 # to the OS version, if on x86, and 10.4, the deployment
8995 # target defaults to 10.4. Don't you love it?
8996 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8997 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8998 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9000 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9002 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9006 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9007 _lt_dar_single_mod='$single_module'
9009 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9010 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9012 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9014 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9015 _lt_dsymutil='~$DSYMUTIL $lib || :'
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9024 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9025 if ${ac_cv_header_stdc+:} false; then :
9026 $as_echo_n "(cached
) " >&6
9028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9043 if ac_fn_c_try_compile "$LINENO"; then :
9044 ac_cv_header_stdc=yes
9046 ac_cv_header_stdc=no
9048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9050 if test $ac_cv_header_stdc = yes; then
9051 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9053 /* end confdefs.h. */
9057 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9058 $EGREP "memchr
" >/dev/null 2>&1; then :
9061 ac_cv_header_stdc=no
9067 if test $ac_cv_header_stdc = yes; then
9068 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070 /* end confdefs.h. */
9074 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9075 $EGREP "free
" >/dev/null 2>&1; then :
9078 ac_cv_header_stdc=no
9084 if test $ac_cv_header_stdc = yes; then
9085 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9086 if test "$cross_compiling" = yes; then :
9089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9093 #if ((' ' & 0x0FF) == 0x020)
9094 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9095 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9097 # define ISLOWER(c) \
9098 (('a' <= (c) && (c) <= 'i') \
9099 || ('j' <= (c) && (c) <= 'r') \
9100 || ('s' <= (c) && (c) <= 'z'))
9101 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9104 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9109 for (i = 0; i < 256; i++)
9110 if (XOR (islower (i), ISLOWER (i))
9111 || toupper (i) != TOUPPER (i))
9116 if ac_fn_c_try_run "$LINENO"; then :
9119 ac_cv_header_stdc=no
9121 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9122 conftest.$ac_objext conftest.beam conftest.$ac_ext
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9128 $as_echo "$ac_cv_header_stdc" >&6; }
9129 if test $ac_cv_header_stdc = yes; then
9131 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9135 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9136 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9137 inttypes.h stdint.h unistd.h
9139 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9140 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9142 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9143 cat >>confdefs.h
<<_ACEOF
9144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9152 for ac_header
in dlfcn.h
9154 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9156 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9157 cat >>confdefs.h
<<_ACEOF
9158 #define HAVE_DLFCN_H 1
9179 # Check whether --enable-shared was given.
9180 if test "${enable_shared+set}" = set; then :
9181 enableval
=$enable_shared; p
=${PACKAGE-default}
9183 yes) enable_shared
=yes ;;
9184 no
) enable_shared
=no
;;
9187 # Look at the argument we got. We use all the common list separators.
9188 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9189 for pkg
in $enableval; do
9191 if test "X$pkg" = "X$p"; then
9210 # Check whether --enable-static was given.
9211 if test "${enable_static+set}" = set; then :
9212 enableval
=$enable_static; p
=${PACKAGE-default}
9214 yes) enable_static
=yes ;;
9215 no
) enable_static
=no
;;
9218 # Look at the argument we got. We use all the common list separators.
9219 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9220 for pkg
in $enableval; do
9222 if test "X$pkg" = "X$p"; then
9242 # Check whether --with-pic was given.
9243 if test "${with_pic+set}" = set; then :
9244 withval
=$with_pic; lt_p
=${PACKAGE-default}
9246 yes|no
) pic_mode
=$withval ;;
9249 # Look at the argument we got. We use all the common list separators.
9250 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9251 for lt_pkg
in $withval; do
9253 if test "X$lt_pkg" = "X$lt_p"; then
9265 test -z "$pic_mode" && pic_mode
=default
9273 # Check whether --enable-fast-install was given.
9274 if test "${enable_fast_install+set}" = set; then :
9275 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9277 yes) enable_fast_install
=yes ;;
9278 no
) enable_fast_install
=no
;;
9280 enable_fast_install
=no
9281 # Look at the argument we got. We use all the common list separators.
9282 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9283 for pkg
in $enableval; do
9285 if test "X$pkg" = "X$p"; then
9286 enable_fast_install
=yes
9293 enable_fast_install
=yes
9306 # This can be used to rebuild libtool when needed
9307 LIBTOOL_DEPS
="$ltmain"
9309 # Always use our own libtool.
9310 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9341 test -z "$LN_S" && LN_S
="ln -s"
9356 if test -n "${ZSH_VERSION+set}" ; then
9357 setopt NO_GLOB_SUBST
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9361 $as_echo_n "checking for objdir... " >&6; }
9362 if ${lt_cv_objdir+:} false
; then :
9363 $as_echo_n "(cached) " >&6
9365 rm -f .libs
2>/dev
/null
9366 mkdir .libs
2>/dev
/null
9367 if test -d .libs
; then
9370 # MS-DOS does not allow filenames that begin with a dot.
9373 rmdir .libs
2>/dev
/null
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9376 $as_echo "$lt_cv_objdir" >&6; }
9377 objdir
=$lt_cv_objdir
9383 cat >>confdefs.h
<<_ACEOF
9384 #define LT_OBJDIR "$lt_cv_objdir/"
9392 # AIX sometimes has problems with the GCC collect2 program. For some
9393 # reason, if we set the COLLECT_NAMES environment variable, the problems
9394 # vanish in a puff of smoke.
9395 if test "X${COLLECT_NAMES+set}" != Xset
; then
9397 export COLLECT_NAMES
9404 can_build_shared
=yes
9406 # All known linkers require a `.a' archive for static linking (except MSVC,
9407 # which needs '.lib').
9410 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9413 old_CFLAGS
="$CFLAGS"
9415 # Set sane defaults for various variables
9416 test -z "$CC" && CC
=cc
9417 test -z "$LTCC" && LTCC
=$CC
9418 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9419 test -z "$LD" && LD
=ld
9420 test -z "$ac_objext" && ac_objext
=o
9422 for cc_temp
in $compiler""; do
9424 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9425 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9430 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9433 # Only perform the check for file, if the check method requires it
9434 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9435 case $deplibs_check_method in
9437 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9439 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9440 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9441 $as_echo_n "(cached) " >&6
9445 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9448 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9449 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9450 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9451 for ac_dir
in $ac_dummy; do
9453 test -z "$ac_dir" && ac_dir
=.
9454 if test -f $ac_dir/${ac_tool_prefix}file; then
9455 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9456 if test -n "$file_magic_test_file"; then
9457 case $deplibs_check_method in
9459 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9460 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9461 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9462 $EGREP "$file_magic_regex" > /dev
/null
; then
9467 *** Warning: the command libtool uses to detect shared libraries,
9468 *** $file_magic_cmd, produces output that libtool cannot recognize.
9469 *** The result is that libtool may fail to recognize shared libraries
9470 *** as such. This will affect the creation of libtool libraries that
9471 *** depend on shared libraries, but programs linked with such libtool
9472 *** libraries will work regardless of this problem. Nevertheless, you
9473 *** may want to report the problem to your system manager and/or to
9474 *** bug-libtool@gnu.org
9484 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9489 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9490 if test -n "$MAGIC_CMD"; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9492 $as_echo "$MAGIC_CMD" >&6; }
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9495 $as_echo "no" >&6; }
9502 if test -z "$lt_cv_path_MAGIC_CMD"; then
9503 if test -n "$ac_tool_prefix"; then
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9505 $as_echo_n "checking for file... " >&6; }
9506 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9507 $as_echo_n "(cached) " >&6
9511 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9514 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9515 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9516 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9517 for ac_dir
in $ac_dummy; do
9519 test -z "$ac_dir" && ac_dir
=.
9520 if test -f $ac_dir/file; then
9521 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9522 if test -n "$file_magic_test_file"; then
9523 case $deplibs_check_method in
9525 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9526 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9527 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9528 $EGREP "$file_magic_regex" > /dev
/null
; then
9533 *** Warning: the command libtool uses to detect shared libraries,
9534 *** $file_magic_cmd, produces output that libtool cannot recognize.
9535 *** The result is that libtool may fail to recognize shared libraries
9536 *** as such. This will affect the creation of libtool libraries that
9537 *** depend on shared libraries, but programs linked with such libtool
9538 *** libraries will work regardless of this problem. Nevertheless, you
9539 *** may want to report the problem to your system manager and/or to
9540 *** bug-libtool@gnu.org
9550 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9555 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9556 if test -n "$MAGIC_CMD"; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9558 $as_echo "$MAGIC_CMD" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9561 $as_echo "no" >&6; }
9574 # Use C for the default configuration in the libtool script
9578 ac_cpp
='$CPP $CPPFLAGS'
9579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9584 # Source file extension for C test sources.
9587 # Object file extension for compiled C test sources.
9591 # Code to be used in simple compile tests
9592 lt_simple_compile_test_code
="int some_variable = 0;"
9594 # Code to be used in simple link tests
9595 lt_simple_link_test_code
='int main(){return(0);}'
9603 # If no C compiler was specified, use CC.
9606 # If no C compiler flags were specified, use CFLAGS.
9607 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9609 # Allow CC to be a program name with arguments.
9612 # Save the default compiler, since it gets overwritten when the other
9613 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9614 compiler_DEFAULT
=$CC
9616 # save warnings/boilerplate of simple test code
9617 ac_outfile
=conftest.
$ac_objext
9618 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9619 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9620 _lt_compiler_boilerplate
=`cat conftest.err`
9623 ac_outfile
=conftest.
$ac_objext
9624 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9625 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9626 _lt_linker_boilerplate
=`cat conftest.err`
9631 ## There is no encapsulation within the following macros, do not change
9632 ## the running order or otherwise move them around unless you know exactly
9633 ## what you are doing...
9634 if test -n "$compiler"; then
9636 lt_prog_compiler_no_builtin_flag
=
9638 if test "$GCC" = yes; then
9639 case $cc_basename in
9641 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9643 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9647 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9648 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9649 $as_echo_n "(cached) " >&6
9651 lt_cv_prog_compiler_rtti_exceptions
=no
9652 ac_outfile
=conftest.
$ac_objext
9653 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9654 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9655 # Insert the option either (1) after the last *FLAGS variable, or
9656 # (2) before a word containing "conftest.", or (3) at the end.
9657 # Note that $ac_compile itself does not contain backslashes and begins
9658 # with a dollar sign (not a hyphen), so the echo should work correctly.
9659 # The option is referenced via a variable to avoid confusing sed.
9660 lt_compile
=`echo "$ac_compile" | $SED \
9661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9663 -e 's:$: $lt_compiler_flag:'`
9664 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9665 (eval "$lt_compile" 2>conftest.err
)
9667 cat conftest.err
>&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 if (exit $ac_status) && test -s "$ac_outfile"; then
9670 # The compiler can only warn and ignore the option if not recognized
9671 # So say no if there are warnings other than the usual output.
9672 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9673 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9674 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9675 lt_cv_prog_compiler_rtti_exceptions
=yes
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9682 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9684 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9685 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9697 lt_prog_compiler_wl
=
9698 lt_prog_compiler_pic
=
9699 lt_prog_compiler_static
=
9702 if test "$GCC" = yes; then
9703 lt_prog_compiler_wl
='-Wl,'
9704 lt_prog_compiler_static
='-static'
9708 # All AIX code is PIC.
9709 if test "$host_cpu" = ia64
; then
9710 # AIX 5 now supports IA64 processor
9711 lt_prog_compiler_static
='-Bstatic'
9718 # see comment about AmigaOS4 .so support
9719 lt_prog_compiler_pic
='-fPIC'
9722 # FIXME: we need at least 68020 code to build shared libraries, but
9723 # adding the `-m68020' flag to GCC prevents building anything better,
9725 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9730 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9731 # PIC is the default for these OSes.
9734 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9735 # This hack is so that the source file can tell whether it is being
9736 # built for inclusion in a dll (and should export symbols for example).
9737 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9738 # (--disable-auto-import) libraries
9739 lt_prog_compiler_pic
='-DDLL_EXPORT'
9742 darwin
* | rhapsody
*)
9743 # PIC is the default on this platform
9744 # Common symbols not allowed in MH_DYLIB files
9745 lt_prog_compiler_pic
='-fno-common'
9749 # PIC is the default for Haiku.
9750 # The "-static" flag exists, but is broken.
9751 lt_prog_compiler_static
=
9755 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9756 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9757 # sets the default TLS model and affects inlining.
9763 lt_prog_compiler_pic
='-fPIC'
9769 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9770 # Instead, we relocate shared libraries at runtime.
9774 # Just because we use GCC doesn't mean we suddenly get shared libraries
9775 # on systems that don't support them.
9776 lt_prog_compiler_can_build_shared
=no
9781 # QNX uses GNU C++, but need to define -shared option too, otherwise
9783 lt_prog_compiler_pic
='-fPIC -shared'
9787 if test -d /usr
/nec
; then
9788 lt_prog_compiler_pic
=-Kconform_pic
9793 lt_prog_compiler_pic
='-fPIC'
9797 case $cc_basename in
9798 nvcc
*) # Cuda Compiler Driver 2.2
9799 lt_prog_compiler_wl
='-Xlinker '
9800 if test -n "$lt_prog_compiler_pic"; then
9801 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9806 # PORTME Check for flag to pass linker flags through the system compiler.
9809 lt_prog_compiler_wl
='-Wl,'
9810 if test "$host_cpu" = ia64
; then
9811 # AIX 5 now supports IA64 processor
9812 lt_prog_compiler_static
='-Bstatic'
9814 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9818 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9819 # This hack is so that the source file can tell whether it is being
9820 # built for inclusion in a dll (and should export symbols for example).
9821 lt_prog_compiler_pic
='-DDLL_EXPORT'
9824 hpux9
* | hpux10
* | hpux11
*)
9825 lt_prog_compiler_wl
='-Wl,'
9826 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9833 lt_prog_compiler_pic
='+Z'
9836 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9837 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9840 irix5
* | irix6
* | nonstopux
*)
9841 lt_prog_compiler_wl
='-Wl,'
9842 # PIC (with -KPIC) is the default.
9843 lt_prog_compiler_static
='-non_shared'
9846 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9847 case $cc_basename in
9848 # old Intel for x86_64 which still supported -KPIC.
9850 lt_prog_compiler_wl
='-Wl,'
9851 lt_prog_compiler_pic
='-KPIC'
9852 lt_prog_compiler_static
='-static'
9854 # icc used to be incompatible with GCC.
9855 # ICC 10 doesn't accept -KPIC any more.
9857 lt_prog_compiler_wl
='-Wl,'
9858 lt_prog_compiler_pic
='-fPIC'
9859 lt_prog_compiler_static
='-static'
9861 # Lahey Fortran 8.1.
9863 lt_prog_compiler_wl
='-Wl,'
9864 lt_prog_compiler_pic
='--shared'
9865 lt_prog_compiler_static
='--static'
9868 # NAG Fortran compiler
9869 lt_prog_compiler_wl
='-Wl,-Wl,,'
9870 lt_prog_compiler_pic
='-PIC'
9871 lt_prog_compiler_static
='-Bstatic'
9873 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9874 # Portland Group compilers (*not* the Pentium gcc compiler,
9875 # which looks to be a dead project)
9876 lt_prog_compiler_wl
='-Wl,'
9877 lt_prog_compiler_pic
='-fpic'
9878 lt_prog_compiler_static
='-Bstatic'
9881 lt_prog_compiler_wl
='-Wl,'
9882 # All Alpha code is PIC.
9883 lt_prog_compiler_static
='-non_shared'
9885 xl
* | bgxl
* | bgf
* | mpixl
*)
9886 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9887 lt_prog_compiler_wl
='-Wl,'
9888 lt_prog_compiler_pic
='-qpic'
9889 lt_prog_compiler_static
='-qstaticlink'
9892 case `$CC -V 2>&1 | sed 5q` in
9893 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9894 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9895 lt_prog_compiler_pic
='-KPIC'
9896 lt_prog_compiler_static
='-Bstatic'
9897 lt_prog_compiler_wl
=''
9899 *Sun\ F
* |
*Sun
*Fortran
*)
9900 lt_prog_compiler_pic
='-KPIC'
9901 lt_prog_compiler_static
='-Bstatic'
9902 lt_prog_compiler_wl
='-Qoption ld '
9906 lt_prog_compiler_pic
='-KPIC'
9907 lt_prog_compiler_static
='-Bstatic'
9908 lt_prog_compiler_wl
='-Wl,'
9910 *Intel
*\
[CF
]*Compiler
*)
9911 lt_prog_compiler_wl
='-Wl,'
9912 lt_prog_compiler_pic
='-fPIC'
9913 lt_prog_compiler_static
='-static'
9916 lt_prog_compiler_wl
='-Wl,'
9917 lt_prog_compiler_pic
='-fpic'
9918 lt_prog_compiler_static
='-Bstatic'
9926 lt_prog_compiler_pic
='-KPIC'
9927 lt_prog_compiler_static
='-Bstatic'
9931 # QNX uses GNU C++, but need to define -shared option too, otherwise
9933 lt_prog_compiler_pic
='-fPIC -shared'
9936 osf3
* | osf4
* | osf5
*)
9937 lt_prog_compiler_wl
='-Wl,'
9938 # All OSF/1 code is PIC.
9939 lt_prog_compiler_static
='-non_shared'
9943 lt_prog_compiler_static
='-non_shared'
9947 lt_prog_compiler_pic
='-KPIC'
9948 lt_prog_compiler_static
='-Bstatic'
9949 case $cc_basename in
9950 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9951 lt_prog_compiler_wl
='-Qoption ld ';;
9953 lt_prog_compiler_wl
='-Wl,';;
9958 lt_prog_compiler_wl
='-Qoption ld '
9959 lt_prog_compiler_pic
='-PIC'
9960 lt_prog_compiler_static
='-Bstatic'
9963 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9964 lt_prog_compiler_wl
='-Wl,'
9965 lt_prog_compiler_pic
='-KPIC'
9966 lt_prog_compiler_static
='-Bstatic'
9970 if test -d /usr
/nec
;then
9971 lt_prog_compiler_pic
='-Kconform_pic'
9972 lt_prog_compiler_static
='-Bstatic'
9976 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9977 lt_prog_compiler_wl
='-Wl,'
9978 lt_prog_compiler_pic
='-KPIC'
9979 lt_prog_compiler_static
='-Bstatic'
9983 lt_prog_compiler_wl
='-Wl,'
9984 lt_prog_compiler_can_build_shared
=no
9988 lt_prog_compiler_pic
='-pic'
9989 lt_prog_compiler_static
='-Bstatic'
9993 lt_prog_compiler_can_build_shared
=no
9999 # For platforms which do not support PIC, -DPIC is meaningless:
10001 lt_prog_compiler_pic
=
10004 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10009 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10010 if ${lt_cv_prog_compiler_pic+:} false
; then :
10011 $as_echo_n "(cached) " >&6
10013 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10016 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10017 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10020 # Check to make sure the PIC flag actually works.
10022 if test -n "$lt_prog_compiler_pic"; then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10024 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10025 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10026 $as_echo_n "(cached) " >&6
10028 lt_cv_prog_compiler_pic_works
=no
10029 ac_outfile
=conftest.
$ac_objext
10030 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10031 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10032 # Insert the option either (1) after the last *FLAGS variable, or
10033 # (2) before a word containing "conftest.", or (3) at the end.
10034 # Note that $ac_compile itself does not contain backslashes and begins
10035 # with a dollar sign (not a hyphen), so the echo should work correctly.
10036 # The option is referenced via a variable to avoid confusing sed.
10037 lt_compile
=`echo "$ac_compile" | $SED \
10038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10040 -e 's:$: $lt_compiler_flag:'`
10041 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10042 (eval "$lt_compile" 2>conftest.err
)
10044 cat conftest.err
>&5
10045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10046 if (exit $ac_status) && test -s "$ac_outfile"; then
10047 # The compiler can only warn and ignore the option if not recognized
10048 # So say no if there are warnings other than the usual output.
10049 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10050 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10051 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10052 lt_cv_prog_compiler_pic_works
=yes
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10059 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10061 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10062 case $lt_prog_compiler_pic in
10064 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10067 lt_prog_compiler_pic
=
10068 lt_prog_compiler_can_build_shared
=no
10084 # Check to make sure the static flag actually works.
10086 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10088 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10089 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10090 $as_echo_n "(cached) " >&6
10092 lt_cv_prog_compiler_static_works
=no
10093 save_LDFLAGS
="$LDFLAGS"
10094 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10095 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10096 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10097 # The linker can only warn and ignore the option if not recognized
10098 # So say no if there are warnings
10099 if test -s conftest.err
; then
10100 # Append any errors to the config.log.
10101 cat conftest.err
1>&5
10102 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10103 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10104 if diff conftest.exp conftest.er2
>/dev
/null
; then
10105 lt_cv_prog_compiler_static_works
=yes
10108 lt_cv_prog_compiler_static_works
=yes
10112 LDFLAGS
="$save_LDFLAGS"
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10116 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10118 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10121 lt_prog_compiler_static
=
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10131 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10132 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10133 $as_echo_n "(cached) " >&6
10135 lt_cv_prog_compiler_c_o
=no
10136 $RM -r conftest
2>/dev
/null
10140 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10142 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10143 # Insert the option either (1) after the last *FLAGS variable, or
10144 # (2) before a word containing "conftest.", or (3) at the end.
10145 # Note that $ac_compile itself does not contain backslashes and begins
10146 # with a dollar sign (not a hyphen), so the echo should work correctly.
10147 lt_compile
=`echo "$ac_compile" | $SED \
10148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10150 -e 's:$: $lt_compiler_flag:'`
10151 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10152 (eval "$lt_compile" 2>out
/conftest.err
)
10154 cat out
/conftest.err
>&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10158 # The compiler can only warn and ignore the option if not recognized
10159 # So say no if there are warnings
10160 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10161 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10162 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10163 lt_cv_prog_compiler_c_o
=yes
10168 # SGI C++ compiler will create directory out/ii_files/ for
10169 # template instantiation
10170 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10171 $RM out
/* && rmdir out
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10178 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10186 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10187 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10188 $as_echo_n "(cached) " >&6
10190 lt_cv_prog_compiler_c_o
=no
10191 $RM -r conftest
2>/dev
/null
10195 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10197 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10198 # Insert the option either (1) after the last *FLAGS variable, or
10199 # (2) before a word containing "conftest.", or (3) at the end.
10200 # Note that $ac_compile itself does not contain backslashes and begins
10201 # with a dollar sign (not a hyphen), so the echo should work correctly.
10202 lt_compile
=`echo "$ac_compile" | $SED \
10203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10205 -e 's:$: $lt_compiler_flag:'`
10206 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10207 (eval "$lt_compile" 2>out
/conftest.err
)
10209 cat out
/conftest.err
>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10213 # The compiler can only warn and ignore the option if not recognized
10214 # So say no if there are warnings
10215 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10216 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10217 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10218 lt_cv_prog_compiler_c_o
=yes
10223 # SGI C++ compiler will create directory out/ii_files/ for
10224 # template instantiation
10225 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10226 $RM out
/* && rmdir out
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10233 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10238 hard_links
="nottested"
10239 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10240 # do not overwrite the value of need_locks provided by the user
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10242 $as_echo_n "checking if we can lock with hard links... " >&6; }
10245 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10247 ln conftest.a conftest.b
2>&5 || hard_links
=no
10248 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10250 $as_echo "$hard_links" >&6; }
10251 if test "$hard_links" = no
; then
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10253 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10266 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10269 allow_undefined_flag
=
10270 always_export_symbols
=no
10272 archive_expsym_cmds
=
10273 compiler_needs_object
=no
10274 enable_shared_with_static_runtimes
=no
10275 export_dynamic_flag_spec
=
10276 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10277 hardcode_automatic
=no
10279 hardcode_direct_absolute
=no
10280 hardcode_libdir_flag_spec
=
10281 hardcode_libdir_separator
=
10282 hardcode_minus_L
=no
10283 hardcode_shlibpath_var
=unsupported
10285 link_all_deplibs
=unknown
10287 module_expsym_cmds
=
10288 old_archive_from_new_cmds
=
10289 old_archive_from_expsyms_cmds
=
10290 thread_safe_flag_spec
=
10291 whole_archive_flag_spec
=
10292 # include_expsyms should be a list of space-separated symbols to be *always*
10293 # included in the symbol list
10295 # exclude_expsyms can be an extended regexp of symbols to exclude
10296 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10297 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10298 # as well as any symbol that contains `d'.
10299 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10300 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10301 # platforms (ab)use it in PIC code, but their linkers get confused if
10302 # the symbol is explicitly referenced. Since portable code cannot
10303 # rely on this symbol name, it's probably fine to never include it in
10304 # preloaded symbol tables.
10305 # Exclude shared library initialization/finalization symbols.
10306 extract_expsyms_cmds
=
10309 cygwin
* | mingw
* | pw32
* | cegcc
*)
10310 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10311 # When not using gcc, we currently assume that we are using
10312 # Microsoft Visual C++.
10313 if test "$GCC" != yes; then
10318 # we just hope/assume this is gcc and not c89 (= MSVC++)
10328 # On some targets, GNU ld is compatible enough with the native linker
10329 # that we're better off using the native interface for both.
10330 lt_use_gnu_ld_interface
=no
10331 if test "$with_gnu_ld" = yes; then
10334 # The AIX port of GNU ld has always aspired to compatibility
10335 # with the native linker. However, as the warning in the GNU ld
10336 # block says, versions before 2.19.5* couldn't really create working
10337 # shared libraries, regardless of the interface used.
10338 case `$LD -v 2>&1` in
10339 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10340 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10341 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10343 lt_use_gnu_ld_interface
=yes
10348 lt_use_gnu_ld_interface
=yes
10353 if test "$lt_use_gnu_ld_interface" = yes; then
10354 # If archive_cmds runs LD, not CC, wlarc should be empty
10357 # Set some defaults for GNU ld with shared library support. These
10358 # are reset later if shared libraries are not supported. Putting them
10359 # here allows them to be overridden if necessary.
10360 runpath_var
=LD_RUN_PATH
10361 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10362 export_dynamic_flag_spec
='${wl}--export-dynamic'
10363 # ancient GNU ld didn't support --whole-archive et. al.
10364 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10365 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10367 whole_archive_flag_spec
=
10369 supports_anon_versioning
=no
10370 case `$LD -v 2>&1` in
10371 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10372 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10373 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10374 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10375 *\
2.11.
*) ;; # other 2.11 versions
10376 *) supports_anon_versioning
=yes ;;
10379 # See if GNU ld supports shared libraries.
10382 # On AIX/PPC, the GNU linker is very broken
10383 if test "$host_cpu" != ia64
; then
10387 *** Warning: the GNU linker, at least up to release 2.19, is reported
10388 *** to be unable to reliably create shared libraries on AIX.
10389 *** Therefore, libtool is disabling shared libraries support. If you
10390 *** really care for shared libraries, you may want to install binutils
10391 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10392 *** You will then need to restart the configuration process.
10401 # see comment about AmigaOS4 .so support
10402 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10403 archive_expsym_cmds
=''
10406 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)'
10407 hardcode_libdir_flag_spec
='-L$libdir'
10408 hardcode_minus_L
=yes
10414 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10415 allow_undefined_flag
=unsupported
10416 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10417 # support --undefined. This deserves some investigation. FIXME
10418 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10424 cygwin
* | mingw
* | pw32
* | cegcc
*)
10425 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10426 # as there is no search path for DLLs.
10427 hardcode_libdir_flag_spec
='-L$libdir'
10428 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10429 allow_undefined_flag
=unsupported
10430 always_export_symbols
=no
10431 enable_shared_with_static_runtimes
=yes
10432 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'
10433 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10435 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10436 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10437 # If the export-symbols file already is a .def file (1st line
10438 # is EXPORTS), use it as is; otherwise, prepend...
10439 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10440 cp $export_symbols $output_objdir/$soname.def;
10442 echo EXPORTS > $output_objdir/$soname.def;
10443 cat $export_symbols >> $output_objdir/$soname.def;
10445 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10452 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10453 link_all_deplibs
=yes
10458 hardcode_shlibpath_var
=no
10459 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10460 export_dynamic_flag_spec
='${wl}-E'
10461 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10462 # Instead, shared libraries are loaded at an image base (0x10000000 by
10463 # default) and relocated if they conflict, which is a slow very memory
10464 # consuming and fragmenting process. To avoid this, we pick a random,
10465 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10466 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10467 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10468 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'
10471 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10473 if test "$host_os" = linux-dietlibc
; then
10474 case $cc_basename in
10475 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10478 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10479 && test "$tmp_diet" = no
10481 tmp_addflag
=' $pic_flag'
10482 tmp_sharedflag
='-shared'
10483 case $cc_basename,$host_cpu in
10484 pgcc
*) # Portland Group C compiler
10485 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'
10486 tmp_addflag
=' $pic_flag'
10488 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10489 # Portland Group f77 and f90 compilers
10490 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10491 tmp_addflag
=' $pic_flag -Mnomain' ;;
10492 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10493 tmp_addflag
=' -i_dynamic' ;;
10494 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10495 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10496 ifc
* | ifort
*) # Intel Fortran compiler
10497 tmp_addflag
=' -nofor_main' ;;
10498 lf95
*) # Lahey Fortran 8.1
10499 whole_archive_flag_spec
=
10500 tmp_sharedflag
='--shared' ;;
10501 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10502 tmp_sharedflag
='-qmkshrobj'
10504 nvcc
*) # Cuda Compiler Driver 2.2
10505 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'
10506 compiler_needs_object
=yes
10509 case `$CC -V 2>&1 | sed 5q` in
10510 *Sun\ C
*) # Sun C 5.9
10511 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'
10512 compiler_needs_object
=yes
10513 tmp_sharedflag
='-G' ;;
10514 *Sun\ F
*) # Sun Fortran 8.3
10515 tmp_sharedflag
='-G' ;;
10517 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10519 if test "x$supports_anon_versioning" = xyes
; then
10520 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10521 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10522 echo "local: *; };" >> $output_objdir/$libname.ver~
10523 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10526 case $cc_basename in
10527 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10528 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10529 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10530 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10531 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10532 if test "x$supports_anon_versioning" = xyes
; then
10533 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10534 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10535 echo "local: *; };" >> $output_objdir/$libname.ver~
10536 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10546 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10547 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10550 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10551 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10556 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10560 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10561 *** create shared libraries on Solaris systems. Therefore, libtool
10562 *** is disabling shared libraries support. We urge you to upgrade GNU
10563 *** binutils to release 2.9.1 or newer. Another option is to modify
10564 *** your PATH or compiler configuration so that the native linker is
10565 *** used, and then restart.
10568 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10569 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10570 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10576 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10577 case `$LD -v 2>&1` in
10578 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10582 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10583 *** reliably create shared libraries on SCO systems. Therefore, libtool
10584 *** is disabling shared libraries support. We urge you to upgrade GNU
10585 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10586 *** your PATH or compiler configuration so that the native linker is
10587 *** used, and then restart.
10592 # For security reasons, it is highly recommended that you always
10593 # use absolute paths for naming shared libraries, and exclude the
10594 # DT_RUNPATH tag from executables and libraries. But doing so
10595 # requires that you compile everything twice, which is a pain.
10596 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10597 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10598 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10599 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10608 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10610 hardcode_direct
=yes
10611 hardcode_shlibpath_var
=no
10615 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10616 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10617 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10624 if test "$ld_shlibs" = no
; then
10626 hardcode_libdir_flag_spec
=
10627 export_dynamic_flag_spec
=
10628 whole_archive_flag_spec
=
10631 # PORTME fill in a description of your system's linker (not GNU ld)
10634 allow_undefined_flag
=unsupported
10635 always_export_symbols
=yes
10636 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'
10637 # Note: this linker hardcodes the directories in LIBPATH if there
10638 # are no directories specified by -L.
10639 hardcode_minus_L
=yes
10640 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10641 # Neither direct hardcoding nor static linking is supported with a
10643 hardcode_direct
=unsupported
10648 if test "$host_cpu" = ia64
; then
10649 # On IA64, the linker does run time linking by default, so we don't
10650 # have to do anything special.
10651 aix_use_runtimelinking
=no
10652 exp_sym_flag
='-Bexport'
10655 # If we're using GNU nm, then we don't want the "-C" option.
10656 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10657 # Also, AIX nm treats weak defined symbols like other global
10658 # defined symbols, whereas GNU nm marks them as "W".
10659 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10660 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10662 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10664 aix_use_runtimelinking
=no
10666 # Test if we are trying to use run time linking or normal
10667 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10668 # need to do runtime linking.
10669 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10670 for ld_flag
in $LDFLAGS; do
10671 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10672 aix_use_runtimelinking
=yes
10679 exp_sym_flag
='-bexport'
10680 no_entry_flag
='-bnoentry'
10683 # When large executables or shared objects are built, AIX ld can
10684 # have problems creating the table of contents. If linking a library
10685 # or program results in "error TOC overflow" add -mminimal-toc to
10686 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10687 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10690 hardcode_direct
=yes
10691 hardcode_direct_absolute
=yes
10692 hardcode_libdir_separator
=':'
10693 link_all_deplibs
=yes
10694 file_list_spec
='${wl}-f,'
10696 if test "$GCC" = yes; then
10697 case $host_os in aix4.
[012]|aix4.
[012].
*)
10698 # We only want to do this on AIX 4.2 and lower, the check
10699 # below for broken collect2 doesn't work under 4.3+
10700 collect2name
=`${CC} -print-prog-name=collect2`
10701 if test -f "$collect2name" &&
10702 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10704 # We have reworked collect2
10707 # We have old collect2
10708 hardcode_direct
=unsupported
10709 # It fails to find uninstalled libraries when the uninstalled
10710 # path is not listed in the libpath. Setting hardcode_minus_L
10711 # to unsupported forces relinking
10712 hardcode_minus_L
=yes
10713 hardcode_libdir_flag_spec
='-L$libdir'
10714 hardcode_libdir_separator
=
10718 shared_flag
='-shared'
10719 if test "$aix_use_runtimelinking" = yes; then
10720 shared_flag
="$shared_flag "'${wl}-G'
10724 if test "$host_cpu" = ia64
; then
10725 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10726 # chokes on -Wl,-G. The following line is correct:
10729 if test "$aix_use_runtimelinking" = yes; then
10730 shared_flag
='${wl}-G'
10732 shared_flag
='${wl}-bM:SRE'
10737 export_dynamic_flag_spec
='${wl}-bexpall'
10738 # It seems that -bexpall does not export symbols beginning with
10739 # underscore (_), so it is better to generate a list of symbols to export.
10740 always_export_symbols
=yes
10741 if test "$aix_use_runtimelinking" = yes; then
10742 # Warning - without using the other runtime loading flags (-brtl),
10743 # -berok will link without error, but may produce a broken library.
10744 allow_undefined_flag
='-berok'
10745 # Determine the default libpath from the value encoded in an
10746 # empty executable.
10747 if test "${lt_cv_aix_libpath+set}" = set; then
10748 aix_libpath
=$lt_cv_aix_libpath
10750 if ${lt_cv_aix_libpath_+:} false
; then :
10751 $as_echo_n "(cached) " >&6
10753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10764 if ac_fn_c_try_link
"$LINENO"; then :
10766 lt_aix_libpath_sed
='
10767 /Import File Strings/,/^$/ {
10769 s/^0 *\([^ ]*\) *$/\1/
10773 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10774 # Check for a 64-bit object if we didn't find anything.
10775 if test -z "$lt_cv_aix_libpath_"; then
10776 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10779 rm -f core conftest.err conftest.
$ac_objext \
10780 conftest
$ac_exeext conftest.
$ac_ext
10781 if test -z "$lt_cv_aix_libpath_"; then
10782 lt_cv_aix_libpath_
="/usr/lib:/lib"
10787 aix_libpath
=$lt_cv_aix_libpath_
10790 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10791 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10793 if test "$host_cpu" = ia64
; then
10794 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10795 allow_undefined_flag
="-z nodefs"
10796 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"
10798 # Determine the default libpath from the value encoded in an
10799 # empty executable.
10800 if test "${lt_cv_aix_libpath+set}" = set; then
10801 aix_libpath
=$lt_cv_aix_libpath
10803 if ${lt_cv_aix_libpath_+:} false
; then :
10804 $as_echo_n "(cached) " >&6
10806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10817 if ac_fn_c_try_link
"$LINENO"; then :
10819 lt_aix_libpath_sed
='
10820 /Import File Strings/,/^$/ {
10822 s/^0 *\([^ ]*\) *$/\1/
10826 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10827 # Check for a 64-bit object if we didn't find anything.
10828 if test -z "$lt_cv_aix_libpath_"; then
10829 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10832 rm -f core conftest.err conftest.
$ac_objext \
10833 conftest
$ac_exeext conftest.
$ac_ext
10834 if test -z "$lt_cv_aix_libpath_"; then
10835 lt_cv_aix_libpath_
="/usr/lib:/lib"
10840 aix_libpath
=$lt_cv_aix_libpath_
10843 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10844 # Warning - without using the other run time loading flags,
10845 # -berok will link without error, but may produce a broken library.
10846 no_undefined_flag
=' ${wl}-bernotok'
10847 allow_undefined_flag
=' ${wl}-berok'
10848 if test "$with_gnu_ld" = yes; then
10849 # We only use this code for GNU lds that support --whole-archive.
10850 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10852 # Exported symbols can be pulled into shared objects from archives
10853 whole_archive_flag_spec
='$convenience'
10855 archive_cmds_need_lc
=yes
10856 # This is similar to how AIX traditionally builds its shared libraries.
10857 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10865 # see comment about AmigaOS4 .so support
10866 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10867 archive_expsym_cmds
=''
10870 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)'
10871 hardcode_libdir_flag_spec
='-L$libdir'
10872 hardcode_minus_L
=yes
10878 export_dynamic_flag_spec
=-rdynamic
10881 cygwin
* | mingw
* | pw32
* | cegcc
*)
10882 # When not using gcc, we currently assume that we are using
10883 # Microsoft Visual C++.
10884 # hardcode_libdir_flag_spec is actually meaningless, as there is
10885 # no search path for DLLs.
10886 case $cc_basename in
10889 hardcode_libdir_flag_spec
=' '
10890 allow_undefined_flag
=unsupported
10891 always_export_symbols
=yes
10893 # Tell ltmain to make .lib files, not .a files.
10895 # Tell ltmain to make .dll files, not .so files.
10897 # FIXME: Setting linknames here is a bad hack.
10898 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10899 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10900 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10902 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10904 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10906 # The linker will not automatically build a static lib if we build a DLL.
10907 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10908 enable_shared_with_static_runtimes
=yes
10909 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10910 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10912 old_postinstall_cmds
='chmod 644 $oldlib'
10913 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10914 lt_tool_outputfile="@TOOL_OUTPUT@"~
10915 case $lt_outputfile in
10918 lt_outputfile="$lt_outputfile.exe"
10919 lt_tool_outputfile="$lt_tool_outputfile.exe"
10922 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10923 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10924 $RM "$lt_outputfile.manifest";
10928 # Assume MSVC wrapper
10929 hardcode_libdir_flag_spec
=' '
10930 allow_undefined_flag
=unsupported
10931 # Tell ltmain to make .lib files, not .a files.
10933 # Tell ltmain to make .dll files, not .so files.
10935 # FIXME: Setting linknames here is a bad hack.
10936 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10937 # The linker will automatically build a .lib file if we build a DLL.
10938 old_archive_from_new_cmds
='true'
10939 # FIXME: Should let the user specify the lib program.
10940 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10941 enable_shared_with_static_runtimes
=yes
10946 darwin
* | rhapsody
*)
10949 archive_cmds_need_lc
=no
10951 hardcode_automatic
=yes
10952 hardcode_shlibpath_var
=unsupported
10953 if test "$lt_cv_ld_force_load" = "yes"; then
10954 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\"`'
10957 whole_archive_flag_spec
=''
10959 link_all_deplibs
=yes
10960 allow_undefined_flag
="$_lt_dar_allow_undefined"
10961 case $cc_basename in
10962 ifort
*) _lt_dar_can_shared
=yes ;;
10963 *) _lt_dar_can_shared
=$GCC ;;
10965 if test "$_lt_dar_can_shared" = "yes"; then
10966 output_verbose_link_cmd
=func_echo_all
10967 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10968 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10969 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}"
10970 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}"
10979 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10980 hardcode_libdir_flag_spec
='-L$libdir'
10981 hardcode_shlibpath_var
=no
10984 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10985 # support. Future versions do this automatically, but an explicit c++rt0.o
10986 # does not break anything, and helps significantly (at the cost of a little
10989 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10990 hardcode_libdir_flag_spec
='-R$libdir'
10991 hardcode_direct
=yes
10992 hardcode_shlibpath_var
=no
10995 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10997 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10998 hardcode_direct
=yes
10999 hardcode_minus_L
=yes
11000 hardcode_shlibpath_var
=no
11003 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11004 freebsd
* | dragonfly
*)
11005 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11006 hardcode_libdir_flag_spec
='-R$libdir'
11007 hardcode_direct
=yes
11008 hardcode_shlibpath_var
=no
11012 if test "$GCC" = yes; then
11013 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11015 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11017 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11018 hardcode_libdir_separator
=:
11019 hardcode_direct
=yes
11021 # hardcode_minus_L: Not really in the search PATH,
11022 # but as the default location of the library.
11023 hardcode_minus_L
=yes
11024 export_dynamic_flag_spec
='${wl}-E'
11028 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11029 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11031 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11033 if test "$with_gnu_ld" = no
; then
11034 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11035 hardcode_libdir_separator
=:
11036 hardcode_direct
=yes
11037 hardcode_direct_absolute
=yes
11038 export_dynamic_flag_spec
='${wl}-E'
11039 # hardcode_minus_L: Not really in the search PATH,
11040 # but as the default location of the library.
11041 hardcode_minus_L
=yes
11046 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11049 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11052 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11055 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11061 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11064 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11068 # Older versions of the 11.00 compiler do not understand -b yet
11069 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11071 $as_echo_n "checking if $CC understands -b... " >&6; }
11072 if ${lt_cv_prog_compiler__b+:} false
; then :
11073 $as_echo_n "(cached) " >&6
11075 lt_cv_prog_compiler__b
=no
11076 save_LDFLAGS
="$LDFLAGS"
11077 LDFLAGS
="$LDFLAGS -b"
11078 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11079 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11080 # The linker can only warn and ignore the option if not recognized
11081 # So say no if there are warnings
11082 if test -s conftest.err
; then
11083 # Append any errors to the config.log.
11084 cat conftest.err
1>&5
11085 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11086 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11087 if diff conftest.exp conftest.er2
>/dev
/null
; then
11088 lt_cv_prog_compiler__b
=yes
11091 lt_cv_prog_compiler__b
=yes
11095 LDFLAGS
="$save_LDFLAGS"
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11099 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11101 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11102 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11104 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11110 if test "$with_gnu_ld" = no
; then
11111 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11112 hardcode_libdir_separator
=:
11117 hardcode_shlibpath_var
=no
11120 hardcode_direct
=yes
11121 hardcode_direct_absolute
=yes
11122 export_dynamic_flag_spec
='${wl}-E'
11124 # hardcode_minus_L: Not really in the search PATH,
11125 # but as the default location of the library.
11126 hardcode_minus_L
=yes
11132 irix5
* | irix6
* | nonstopux
*)
11133 if test "$GCC" = yes; then
11134 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'
11135 # Try to use the -exported_symbol ld option, if it does not
11136 # work, assume that -exports_file does not work either and
11137 # implicitly export all symbols.
11138 # This should be the same for all languages, so no per-tag cache variable.
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11140 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11141 if ${lt_cv_irix_exported_symbol+:} false
; then :
11142 $as_echo_n "(cached) " >&6
11144 save_LDFLAGS
="$LDFLAGS"
11145 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11148 int foo (void) { return 0; }
11150 if ac_fn_c_try_link
"$LINENO"; then :
11151 lt_cv_irix_exported_symbol
=yes
11153 lt_cv_irix_exported_symbol
=no
11155 rm -f core conftest.err conftest.
$ac_objext \
11156 conftest
$ac_exeext conftest.
$ac_ext
11157 LDFLAGS
="$save_LDFLAGS"
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11160 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11161 if test "$lt_cv_irix_exported_symbol" = yes; then
11162 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'
11165 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'
11166 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'
11168 archive_cmds_need_lc
='no'
11169 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11170 hardcode_libdir_separator
=:
11172 link_all_deplibs
=yes
11176 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11177 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11179 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11181 hardcode_libdir_flag_spec
='-R$libdir'
11182 hardcode_direct
=yes
11183 hardcode_shlibpath_var
=no
11187 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11188 hardcode_direct
=yes
11189 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11190 hardcode_libdir_separator
=:
11191 hardcode_shlibpath_var
=no
11198 if test -f /usr
/libexec
/ld.so
; then
11199 hardcode_direct
=yes
11200 hardcode_shlibpath_var
=no
11201 hardcode_direct_absolute
=yes
11202 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11203 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11204 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11205 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11206 export_dynamic_flag_spec
='${wl}-E'
11209 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11210 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11211 hardcode_libdir_flag_spec
='-R$libdir'
11214 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11215 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11225 hardcode_libdir_flag_spec
='-L$libdir'
11226 hardcode_minus_L
=yes
11227 allow_undefined_flag
=unsupported
11228 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11229 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11233 if test "$GCC" = yes; then
11234 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11235 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'
11237 allow_undefined_flag
=' -expect_unresolved \*'
11238 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'
11240 archive_cmds_need_lc
='no'
11241 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11242 hardcode_libdir_separator
=:
11245 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11246 if test "$GCC" = yes; then
11247 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11248 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'
11249 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11251 allow_undefined_flag
=' -expect_unresolved \*'
11252 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'
11253 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~
11254 $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'
11256 # Both c and cxx compiler support -rpath directly
11257 hardcode_libdir_flag_spec
='-rpath $libdir'
11259 archive_cmds_need_lc
='no'
11260 hardcode_libdir_separator
=:
11264 no_undefined_flag
=' -z defs'
11265 if test "$GCC" = yes; then
11267 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11268 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11269 $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'
11271 case `$CC -V 2>&1` in
11274 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11275 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11276 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11280 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11281 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11282 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11286 hardcode_libdir_flag_spec
='-R$libdir'
11287 hardcode_shlibpath_var
=no
11289 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11291 # The compiler driver will combine and reorder linker options,
11292 # but understands `-z linker_flag'. GCC discards it without `$wl',
11293 # but is careful enough not to reorder.
11294 # Supported since Solaris 2.6 (maybe 2.5.1?)
11295 if test "$GCC" = yes; then
11296 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11298 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11302 link_all_deplibs
=yes
11306 if test "x$host_vendor" = xsequent
; then
11307 # Use $CC to link under sequent, because it throws in some extra .o
11308 # files that make .init and .fini sections work.
11309 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11311 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11313 hardcode_libdir_flag_spec
='-L$libdir'
11314 hardcode_direct
=yes
11315 hardcode_minus_L
=yes
11316 hardcode_shlibpath_var
=no
11320 case $host_vendor in
11322 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11323 hardcode_direct
=yes # is this really true???
11326 ## LD is ld it makes a PLAMLIB
11327 ## CC just makes a GrossModule.
11328 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11329 reload_cmds
='$CC -r -o $output$reload_objs'
11333 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11334 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11337 runpath_var
='LD_RUN_PATH'
11338 hardcode_shlibpath_var
=no
11342 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11343 hardcode_shlibpath_var
=no
11344 export_dynamic_flag_spec
='-Bexport'
11348 if test -d /usr
/nec
; then
11349 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11350 hardcode_shlibpath_var
=no
11351 runpath_var
=LD_RUN_PATH
11352 hardcode_runpath_var
=yes
11357 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11358 no_undefined_flag
='${wl}-z,text'
11359 archive_cmds_need_lc
=no
11360 hardcode_shlibpath_var
=no
11361 runpath_var
='LD_RUN_PATH'
11363 if test "$GCC" = yes; then
11364 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11365 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11367 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11368 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11372 sysv5
* | sco3.2v5
* | sco5v6
*)
11373 # Note: We can NOT use -z defs as we might desire, because we do not
11374 # link with -lc, and that would cause any symbols used from libc to
11375 # always be unresolved, which means just about no library would
11376 # ever link correctly. If we're not using GNU ld we use -z text
11377 # though, which does catch some bad symbols but isn't as heavy-handed
11379 no_undefined_flag
='${wl}-z,text'
11380 allow_undefined_flag
='${wl}-z,nodefs'
11381 archive_cmds_need_lc
=no
11382 hardcode_shlibpath_var
=no
11383 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11384 hardcode_libdir_separator
=':'
11385 link_all_deplibs
=yes
11386 export_dynamic_flag_spec
='${wl}-Bexport'
11387 runpath_var
='LD_RUN_PATH'
11389 if test "$GCC" = yes; then
11390 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11391 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11393 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11394 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11399 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11400 hardcode_libdir_flag_spec
='-L$libdir'
11401 hardcode_shlibpath_var
=no
11409 if test x
$host_vendor = xsni
; then
11411 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11412 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11419 $as_echo "$ld_shlibs" >&6; }
11420 test "$ld_shlibs" = no
&& can_build_shared
=no
11422 with_gnu_ld
=$with_gnu_ld
11439 # Do we need to explicitly link libc?
11441 case "x$archive_cmds_need_lc" in
11443 # Assume -lc should be added
11444 archive_cmds_need_lc
=yes
11446 if test "$enable_shared" = yes && test "$GCC" = yes; then
11447 case $archive_cmds in
11449 # FIXME: we may have to deal with multi-command sequences.
11452 # Test whether the compiler implicitly links with -lc since on some
11453 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11454 # to ld, don't add -lc before -lgcc.
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11456 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11457 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11458 $as_echo_n "(cached) " >&6
11461 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11464 (eval $ac_compile) 2>&5
11466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11467 test $ac_status = 0; } 2>conftest.err
; then
11470 libobjs
=conftest.
$ac_objext
11472 wl
=$lt_prog_compiler_wl
11473 pic_flag
=$lt_prog_compiler_pic
11479 lt_save_allow_undefined_flag
=$allow_undefined_flag
11480 allow_undefined_flag
=
11481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11482 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11485 test $ac_status = 0; }
11487 lt_cv_archive_cmds_need_lc
=no
11489 lt_cv_archive_cmds_need_lc
=yes
11491 allow_undefined_flag
=$lt_save_allow_undefined_flag
11493 cat conftest.err
1>&5
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11499 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11500 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11659 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11661 if test "$GCC" = yes; then
11663 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11664 *) lt_awk_arg
="/^libraries:/" ;;
11667 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11668 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11670 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11671 case $lt_search_path_spec in
11673 # if the path contains ";" then we assume it to be the separator
11674 # otherwise default to the standard path separator (i.e. ":") - it is
11675 # assumed that no part of a normal pathname contains ";" but that should
11676 # okay in the real world where ";" in dirpaths is itself problematic.
11677 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11680 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11683 # Ok, now we have the path, separated by spaces, we can step through it
11684 # and add multilib dir if necessary.
11685 lt_tmp_lt_search_path_spec
=
11686 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11687 for lt_sys_path
in $lt_search_path_spec; do
11688 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11689 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11691 test -d "$lt_sys_path" && \
11692 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11695 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11696 BEGIN {RS=" "; FS="/|\n";} {
11699 for (lt_i = NF; lt_i > 0; lt_i--) {
11700 if ($lt_i != "" && $lt_i != ".") {
11701 if ($lt_i == "..") {
11704 if (lt_count == 0) {
11705 lt_foo="/" $lt_i lt_foo;
11712 if (lt_foo != "") { lt_freq[lt_foo]++; }
11713 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11715 # AWK program above erroneously prepends '/' to C:/dos/paths
11718 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11719 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11721 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11723 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11725 library_names_spec
=
11726 libname_spec
='lib$name'
11730 postuninstall_cmds
=
11734 shlibpath_overrides_runpath
=unknown
11736 dynamic_linker
="$host_os ld.so"
11737 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11738 need_lib_prefix
=unknown
11739 hardcode_into_libs
=no
11741 # when you set need_version to no, make sure it does not cause -set_version
11742 # flags to be left without arguments
11743 need_version
=unknown
11747 version_type
=linux
# correct to gnu/linux during the next big refactor
11748 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11749 shlibpath_var
=LIBPATH
11751 # AIX 3 has no versioning support, so we append a major version to the name.
11752 soname_spec
='${libname}${release}${shared_ext}$major'
11756 version_type
=linux
# correct to gnu/linux during the next big refactor
11759 hardcode_into_libs
=yes
11760 if test "$host_cpu" = ia64
; then
11761 # AIX 5 supports IA64
11762 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11763 shlibpath_var
=LD_LIBRARY_PATH
11765 # With GCC up to 2.95.x, collect2 would create an import file
11766 # for dependence libraries. The import file would start with
11767 # the line `#! .'. This would cause the generated library to
11768 # depend on `.', always an invalid library. This was fixed in
11769 # development snapshots of GCC prior to 3.0.
11771 aix4 | aix4.
[01] | aix4.
[01].
*)
11772 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11774 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11777 can_build_shared
=no
11781 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11782 # soname into executable. Probably we can add versioning support to
11783 # collect2, so additional links can be useful in future.
11784 if test "$aix_use_runtimelinking" = yes; then
11785 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11786 # instead of lib<name>.a to let people know that these are not
11787 # typical AIX shared libraries.
11788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11790 # We preserve .a as extension for shared libraries through AIX4.2
11791 # and later when we are not doing run time linking.
11792 library_names_spec
='${libname}${release}.a $libname.a'
11793 soname_spec
='${libname}${release}${shared_ext}$major'
11795 shlibpath_var
=LIBPATH
11802 # Since July 2007 AmigaOS4 officially supports .so libraries.
11803 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11807 library_names_spec
='$libname.ixlibrary $libname.a'
11808 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11809 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11815 library_names_spec
='${libname}${shared_ext}'
11816 dynamic_linker
="$host_os ld.so"
11817 shlibpath_var
=LIBRARY_PATH
11821 version_type
=linux
# correct to gnu/linux during the next big refactor
11823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11824 soname_spec
='${libname}${release}${shared_ext}$major'
11825 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11826 shlibpath_var
=LD_LIBRARY_PATH
11827 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11828 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11829 # the default ld.so.conf also contains /usr/contrib/lib and
11830 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11831 # libtool to hard-code these into programs
11834 cygwin
* | mingw
* | pw32
* | cegcc
*)
11835 version_type
=windows
11840 case $GCC,$cc_basename in
11843 library_names_spec
='$libname.dll.a'
11844 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11845 postinstall_cmds
='base_file=`basename \${file}`~
11846 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11847 dldir=$destdir/`dirname \$dlpath`~
11848 test -d \$dldir || mkdir -p \$dldir~
11849 $install_prog $dir/$dlname \$dldir/$dlname~
11850 chmod a+x \$dldir/$dlname~
11851 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11852 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11854 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11855 dlpath=$dir/\$dldll~
11857 shlibpath_overrides_runpath
=yes
11861 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11862 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11864 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11867 # MinGW DLLs use traditional 'lib' prefix
11868 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11871 # pw32 DLLs use 'pw' prefix rather than 'lib'
11872 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11875 dynamic_linker
='Win32 ld.exe'
11880 libname_spec
='$name'
11881 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11882 library_names_spec
='${libname}.dll.lib'
11886 sys_lib_search_path_spec
=
11889 for lt_path
in $LIB
11892 # Let DOS variable expansion print the short 8.3 style file name.
11893 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11894 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11897 # Convert to MSYS style.
11898 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11901 # Convert to unix form, then to dos form, then back to unix form
11902 # but this time dos style (no spaces!) so that the unix form looks
11903 # like /cygdrive/c/PROGRA~1:/cygdr...
11904 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11905 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11906 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11909 sys_lib_search_path_spec
="$LIB"
11910 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11911 # It is most probably a Windows format PATH.
11912 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11914 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11916 # FIXME: find the short name or the path components, as spaces are
11917 # common. (e.g. "Program Files" -> "PROGRA~1")
11921 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11922 postinstall_cmds
='base_file=`basename \${file}`~
11923 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11924 dldir=$destdir/`dirname \$dlpath`~
11925 test -d \$dldir || mkdir -p \$dldir~
11926 $install_prog $dir/$dlname \$dldir/$dlname'
11927 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11928 dlpath=$dir/\$dldll~
11930 shlibpath_overrides_runpath
=yes
11931 dynamic_linker
='Win32 link.exe'
11935 # Assume MSVC wrapper
11936 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11937 dynamic_linker
='Win32 ld.exe'
11940 # FIXME: first we should search . and the directory the executable is in
11944 darwin
* | rhapsody
*)
11945 dynamic_linker
="$host_os dyld"
11946 version_type
=darwin
11949 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11950 soname_spec
='${libname}${release}${major}$shared_ext'
11951 shlibpath_overrides_runpath
=yes
11952 shlibpath_var
=DYLD_LIBRARY_PATH
11953 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11955 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11956 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11960 version_type
=linux
# correct to gnu/linux during the next big refactor
11963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11964 soname_spec
='${libname}${release}${shared_ext}$major'
11965 shlibpath_var
=LD_LIBRARY_PATH
11968 freebsd
* | dragonfly
*)
11969 # DragonFly does not have aout. When/if they implement a new
11970 # versioning mechanism, adjust this.
11971 if test -x /usr
/bin
/objformat
; then
11972 objformat
=`/usr/bin/objformat`
11975 freebsd
[23].
*) objformat
=aout
;;
11976 *) objformat
=elf
;;
11979 version_type
=freebsd-
$objformat
11980 case $version_type in
11982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11987 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11991 shlibpath_var
=LD_LIBRARY_PATH
11994 shlibpath_overrides_runpath
=yes
11996 freebsd3.
[01]* | freebsdelf3.
[01]*)
11997 shlibpath_overrides_runpath
=yes
11998 hardcode_into_libs
=yes
12000 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12001 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12002 shlibpath_overrides_runpath
=no
12003 hardcode_into_libs
=yes
12005 *) # from 4.6 on, and DragonFly
12006 shlibpath_overrides_runpath
=yes
12007 hardcode_into_libs
=yes
12013 version_type
=linux
# correct to gnu/linux during the next big refactor
12016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12017 soname_spec
='${libname}${release}${shared_ext}$major'
12018 shlibpath_var
=LD_LIBRARY_PATH
12019 shlibpath_overrides_runpath
=no
12020 hardcode_into_libs
=yes
12024 version_type
=linux
# correct to gnu/linux during the next big refactor
12027 dynamic_linker
="$host_os runtime_loader"
12028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12029 soname_spec
='${libname}${release}${shared_ext}$major'
12030 shlibpath_var
=LIBRARY_PATH
12031 shlibpath_overrides_runpath
=yes
12032 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12033 hardcode_into_libs
=yes
12036 hpux9
* | hpux10
* | hpux11
*)
12037 # Give a soname corresponding to the major version so that dld.sl refuses to
12038 # link against other versions.
12045 hardcode_into_libs
=yes
12046 dynamic_linker
="$host_os dld.so"
12047 shlibpath_var
=LD_LIBRARY_PATH
12048 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12050 soname_spec
='${libname}${release}${shared_ext}$major'
12051 if test "X$HPUX_IA64_MODE" = X32
; then
12052 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12054 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12056 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12060 hardcode_into_libs
=yes
12061 dynamic_linker
="$host_os dld.sl"
12062 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12063 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12065 soname_spec
='${libname}${release}${shared_ext}$major'
12066 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12067 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12071 dynamic_linker
="$host_os dld.sl"
12072 shlibpath_var
=SHLIB_PATH
12073 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12075 soname_spec
='${libname}${release}${shared_ext}$major'
12078 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12079 postinstall_cmds
='chmod 555 $lib'
12080 # or fails outright, so override atomically:
12081 install_override_mode
=555
12085 version_type
=linux
# correct to gnu/linux during the next big refactor
12088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12089 soname_spec
='${libname}${release}${shared_ext}$major'
12090 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12091 shlibpath_var
=LD_LIBRARY_PATH
12092 shlibpath_overrides_runpath
=no
12093 hardcode_into_libs
=yes
12096 irix5
* | irix6
* | nonstopux
*)
12098 nonstopux
*) version_type
=nonstopux
;;
12100 if test "$lt_cv_prog_gnu_ld" = yes; then
12101 version_type
=linux
# correct to gnu/linux during the next big refactor
12108 soname_spec
='${libname}${release}${shared_ext}$major'
12109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12111 irix5
* | nonstopux
*)
12112 libsuff
= shlibsuff
=
12115 case $LD in # libtool.m4 will add one of these switches to LD
12116 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12117 libsuff
= shlibsuff
= libmagic
=32-bit;;
12118 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12119 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12120 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12121 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12122 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12126 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12127 shlibpath_overrides_runpath
=no
12128 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12129 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12130 hardcode_into_libs
=yes
12133 # No shared lib support for Linux oldld, aout, or coff.
12134 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12138 # This must be glibc/ELF.
12139 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12140 version_type
=linux
# correct to gnu/linux during the next big refactor
12143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12144 soname_spec
='${libname}${release}${shared_ext}$major'
12145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12146 shlibpath_var
=LD_LIBRARY_PATH
12147 shlibpath_overrides_runpath
=no
12149 # Some binutils ld are patched to set DT_RUNPATH
12150 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12151 $as_echo_n "(cached) " >&6
12153 lt_cv_shlibpath_overrides_runpath
=no
12154 save_LDFLAGS
=$LDFLAGS
12155 save_libdir
=$libdir
12156 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12157 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12169 if ac_fn_c_try_link
"$LINENO"; then :
12170 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12171 lt_cv_shlibpath_overrides_runpath
=yes
12174 rm -f core conftest.err conftest.
$ac_objext \
12175 conftest
$ac_exeext conftest.
$ac_ext
12176 LDFLAGS
=$save_LDFLAGS
12177 libdir
=$save_libdir
12181 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12183 # This implies no fast_install, which is unacceptable.
12184 # Some rework will be needed to allow for fast_install
12185 # before this can be enabled.
12186 hardcode_into_libs
=yes
12188 # Append ld.so.conf contents to the search path
12189 if test -f /etc
/ld.so.conf
; then
12190 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' ' '`
12191 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12194 # We used to test for /lib/ld.so.1 and disable shared libraries on
12195 # powerpc, because MkLinux only supported shared libraries with the
12196 # GNU dynamic linker. Since this was broken with cross compilers,
12197 # most powerpc-linux boxes support dynamic linking these days and
12198 # people can always --disable-shared, the test was removed, and we
12199 # assume the GNU/Linux dynamic linker is in use.
12200 dynamic_linker
='GNU/Linux ld.so'
12207 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12209 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12210 dynamic_linker
='NetBSD (a.out) ld.so'
12212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12213 soname_spec
='${libname}${release}${shared_ext}$major'
12214 dynamic_linker
='NetBSD ld.elf_so'
12216 shlibpath_var
=LD_LIBRARY_PATH
12217 shlibpath_overrides_runpath
=yes
12218 hardcode_into_libs
=yes
12222 version_type
=linux
# correct to gnu/linux during the next big refactor
12223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12224 shlibpath_var
=LD_LIBRARY_PATH
12225 shlibpath_overrides_runpath
=yes
12232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12233 soname_spec
='${libname}${release}${shared_ext}$major'
12234 shlibpath_var
=LD_LIBRARY_PATH
12235 shlibpath_overrides_runpath
=no
12236 hardcode_into_libs
=yes
12237 dynamic_linker
='ldqnx.so'
12242 sys_lib_dlsearch_path_spec
="/usr/lib"
12244 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12246 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12247 *) need_version
=no
;;
12249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12250 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12251 shlibpath_var
=LD_LIBRARY_PATH
12252 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12254 openbsd2.
[89] | openbsd2.
[89].
*)
12255 shlibpath_overrides_runpath
=no
12258 shlibpath_overrides_runpath
=yes
12262 shlibpath_overrides_runpath
=yes
12267 libname_spec
='$name'
12270 library_names_spec
='$libname${shared_ext} $libname.a'
12271 dynamic_linker
='OS/2 ld.exe'
12272 shlibpath_var
=LIBPATH
12275 osf3
* | osf4
* | osf5
*)
12279 soname_spec
='${libname}${release}${shared_ext}$major'
12280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12281 shlibpath_var
=LD_LIBRARY_PATH
12282 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12283 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12291 version_type
=linux
# correct to gnu/linux during the next big refactor
12294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12295 soname_spec
='${libname}${release}${shared_ext}$major'
12296 shlibpath_var
=LD_LIBRARY_PATH
12297 shlibpath_overrides_runpath
=yes
12298 hardcode_into_libs
=yes
12299 # ldd complains unless libraries are executable
12300 postinstall_cmds
='chmod +x $lib'
12305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12306 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12307 shlibpath_var
=LD_LIBRARY_PATH
12308 shlibpath_overrides_runpath
=yes
12309 if test "$with_gnu_ld" = yes; then
12316 version_type
=linux
# correct to gnu/linux during the next big refactor
12317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12318 soname_spec
='${libname}${release}${shared_ext}$major'
12319 shlibpath_var
=LD_LIBRARY_PATH
12320 case $host_vendor in
12322 shlibpath_overrides_runpath
=no
12324 runpath_var
=LD_RUN_PATH
12332 shlibpath_overrides_runpath
=no
12333 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12339 if test -d /usr
/nec
;then
12340 version_type
=linux
# correct to gnu/linux during the next big refactor
12341 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12342 soname_spec
='$libname${shared_ext}.$major'
12343 shlibpath_var
=LD_LIBRARY_PATH
12347 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12348 version_type
=freebsd-elf
12351 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12352 soname_spec
='${libname}${release}${shared_ext}$major'
12353 shlibpath_var
=LD_LIBRARY_PATH
12354 shlibpath_overrides_runpath
=yes
12355 hardcode_into_libs
=yes
12356 if test "$with_gnu_ld" = yes; then
12357 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12359 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12362 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12366 sys_lib_dlsearch_path_spec
='/usr/lib'
12370 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12371 version_type
=linux
# correct to gnu/linux during the next big refactor
12374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12375 shlibpath_var
=LD_LIBRARY_PATH
12376 shlibpath_overrides_runpath
=no
12377 hardcode_into_libs
=yes
12381 version_type
=linux
# correct to gnu/linux during the next big refactor
12382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12383 soname_spec
='${libname}${release}${shared_ext}$major'
12384 shlibpath_var
=LD_LIBRARY_PATH
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12392 $as_echo "$dynamic_linker" >&6; }
12393 test "$dynamic_linker" = no
&& can_build_shared
=no
12395 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12396 if test "$GCC" = yes; then
12397 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12400 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12401 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12403 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12404 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12499 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12501 if test -n "$hardcode_libdir_flag_spec" ||
12502 test -n "$runpath_var" ||
12503 test "X$hardcode_automatic" = "Xyes" ; then
12505 # We can hardcode non-existent directories.
12506 if test "$hardcode_direct" != no
&&
12507 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12508 # have to relink, otherwise we might link with an installed library
12509 # when we should be linking with a yet-to-be-installed one
12510 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12511 test "$hardcode_minus_L" != no
; then
12512 # Linking always hardcodes the temporary library directory.
12513 hardcode_action
=relink
12515 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12516 hardcode_action
=immediate
12519 # We cannot hardcode anything, or else we can only hardcode existing
12521 hardcode_action
=unsupported
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12524 $as_echo "$hardcode_action" >&6; }
12526 if test "$hardcode_action" = relink ||
12527 test "$inherit_rpath" = yes; then
12528 # Fast installation is not supported
12529 enable_fast_install
=no
12530 elif test "$shlibpath_overrides_runpath" = yes ||
12531 test "$enable_shared" = no
; then
12532 # Fast installation is not necessary
12533 enable_fast_install
=needless
12541 if test "x$enable_dlopen" != xyes
; then
12542 enable_dlopen
=unknown
12543 enable_dlopen_self
=unknown
12544 enable_dlopen_self_static
=unknown
12551 lt_cv_dlopen
="load_add_on"
12553 lt_cv_dlopen_self
=yes
12556 mingw
* | pw32
* | cegcc
*)
12557 lt_cv_dlopen
="LoadLibrary"
12562 lt_cv_dlopen
="dlopen"
12567 # if libdl is installed we need to link against it
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12569 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12570 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12571 $as_echo_n "(cached) " >&6
12573 ac_check_lib_save_LIBS
=$LIBS
12575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12593 if ac_fn_c_try_link
"$LINENO"; then :
12594 ac_cv_lib_dl_dlopen
=yes
12596 ac_cv_lib_dl_dlopen
=no
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12600 LIBS
=$ac_check_lib_save_LIBS
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12603 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12604 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12605 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12608 lt_cv_dlopen
="dyld"
12610 lt_cv_dlopen_self
=yes
12617 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12618 if test "x$ac_cv_func_shl_load" = xyes
; then :
12619 lt_cv_dlopen
="shl_load"
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12622 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12623 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12624 $as_echo_n "(cached) " >&6
12626 ac_check_lib_save_LIBS
=$LIBS
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12641 return shl_load ();
12646 if ac_fn_c_try_link
"$LINENO"; then :
12647 ac_cv_lib_dld_shl_load
=yes
12649 ac_cv_lib_dld_shl_load
=no
12651 rm -f core conftest.err conftest.
$ac_objext \
12652 conftest
$ac_exeext conftest.
$ac_ext
12653 LIBS
=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12656 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12657 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12658 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12660 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12661 if test "x$ac_cv_func_dlopen" = xyes
; then :
12662 lt_cv_dlopen
="dlopen"
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12665 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12666 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12667 $as_echo_n "(cached) " >&6
12669 ac_check_lib_save_LIBS
=$LIBS
12671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12689 if ac_fn_c_try_link
"$LINENO"; then :
12690 ac_cv_lib_dl_dlopen
=yes
12692 ac_cv_lib_dl_dlopen
=no
12694 rm -f core conftest.err conftest.
$ac_objext \
12695 conftest
$ac_exeext conftest.
$ac_ext
12696 LIBS
=$ac_check_lib_save_LIBS
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12699 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12700 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12701 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12704 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12705 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12706 $as_echo_n "(cached) " >&6
12708 ac_check_lib_save_LIBS
=$LIBS
12709 LIBS
="-lsvld $LIBS"
12710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12711 /* end confdefs.h. */
12713 /* Override any GCC internal prototype to avoid an error.
12714 Use char because int might match the return type of a GCC
12715 builtin and then its argument prototype would still apply. */
12728 if ac_fn_c_try_link
"$LINENO"; then :
12729 ac_cv_lib_svld_dlopen
=yes
12731 ac_cv_lib_svld_dlopen
=no
12733 rm -f core conftest.err conftest.
$ac_objext \
12734 conftest
$ac_exeext conftest.
$ac_ext
12735 LIBS
=$ac_check_lib_save_LIBS
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12738 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12739 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12740 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12743 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12744 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12745 $as_echo_n "(cached) " >&6
12747 ac_check_lib_save_LIBS
=$LIBS
12749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12762 return dld_link ();
12767 if ac_fn_c_try_link
"$LINENO"; then :
12768 ac_cv_lib_dld_dld_link
=yes
12770 ac_cv_lib_dld_dld_link
=no
12772 rm -f core conftest.err conftest.
$ac_objext \
12773 conftest
$ac_exeext conftest.
$ac_ext
12774 LIBS
=$ac_check_lib_save_LIBS
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12777 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12778 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12779 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12800 if test "x$lt_cv_dlopen" != xno
; then
12806 case $lt_cv_dlopen in
12808 save_CPPFLAGS
="$CPPFLAGS"
12809 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12811 save_LDFLAGS
="$LDFLAGS"
12812 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12815 LIBS
="$lt_cv_dlopen_libs $LIBS"
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12818 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12819 if ${lt_cv_dlopen_self+:} false
; then :
12820 $as_echo_n "(cached) " >&6
12822 if test "$cross_compiling" = yes; then :
12823 lt_cv_dlopen_self
=cross
12825 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12826 lt_status
=$lt_dlunknown
12827 cat > conftest.
$ac_ext <<_LT_EOF
12828 #line $LINENO "configure"
12829 #include "confdefs.h"
12838 # define LT_DLGLOBAL RTLD_GLOBAL
12841 # define LT_DLGLOBAL DL_GLOBAL
12843 # define LT_DLGLOBAL 0
12847 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12848 find out it does not work in some platform. */
12849 #ifndef LT_DLLAZY_OR_NOW
12851 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12854 # define LT_DLLAZY_OR_NOW DL_LAZY
12857 # define LT_DLLAZY_OR_NOW RTLD_NOW
12860 # define LT_DLLAZY_OR_NOW DL_NOW
12862 # define LT_DLLAZY_OR_NOW 0
12869 /* When -fvisbility=hidden is used, assume the code has been annotated
12870 correspondingly for the symbols needed. */
12871 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12872 int fnord () __attribute__((visibility("default")));
12875 int fnord () { return 42; }
12878 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12879 int status = $lt_dlunknown;
12883 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12886 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12887 else puts (dlerror ());
12889 /* dlclose (self); */
12897 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12898 (eval $ac_link) 2>&5
12900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12901 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12902 (.
/conftest
; exit; ) >&5 2>/dev
/null
12904 case x
$lt_status in
12905 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12906 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12907 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12910 # compilation failed
12911 lt_cv_dlopen_self
=no
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12919 $as_echo "$lt_cv_dlopen_self" >&6; }
12921 if test "x$lt_cv_dlopen_self" = xyes
; then
12922 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12924 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12925 if ${lt_cv_dlopen_self_static+:} false
; then :
12926 $as_echo_n "(cached) " >&6
12928 if test "$cross_compiling" = yes; then :
12929 lt_cv_dlopen_self_static
=cross
12931 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12932 lt_status
=$lt_dlunknown
12933 cat > conftest.
$ac_ext <<_LT_EOF
12934 #line $LINENO "configure"
12935 #include "confdefs.h"
12944 # define LT_DLGLOBAL RTLD_GLOBAL
12947 # define LT_DLGLOBAL DL_GLOBAL
12949 # define LT_DLGLOBAL 0
12953 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12954 find out it does not work in some platform. */
12955 #ifndef LT_DLLAZY_OR_NOW
12957 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12960 # define LT_DLLAZY_OR_NOW DL_LAZY
12963 # define LT_DLLAZY_OR_NOW RTLD_NOW
12966 # define LT_DLLAZY_OR_NOW DL_NOW
12968 # define LT_DLLAZY_OR_NOW 0
12975 /* When -fvisbility=hidden is used, assume the code has been annotated
12976 correspondingly for the symbols needed. */
12977 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12978 int fnord () __attribute__((visibility("default")));
12981 int fnord () { return 42; }
12984 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12985 int status = $lt_dlunknown;
12989 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12992 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12993 else puts (dlerror ());
12995 /* dlclose (self); */
13003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13004 (eval $ac_link) 2>&5
13006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13007 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13008 (.
/conftest
; exit; ) >&5 2>/dev
/null
13010 case x
$lt_status in
13011 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13012 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13013 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13016 # compilation failed
13017 lt_cv_dlopen_self_static
=no
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13025 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13028 CPPFLAGS
="$save_CPPFLAGS"
13029 LDFLAGS
="$save_LDFLAGS"
13034 case $lt_cv_dlopen_self in
13035 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13036 *) enable_dlopen_self
=unknown
;;
13039 case $lt_cv_dlopen_self_static in
13040 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13041 *) enable_dlopen_self_static
=unknown
;;
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13064 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13065 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13066 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13067 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13069 $as_echo "yes" >&6; }
13071 # FIXME - insert some real tests, host_os isn't really good enough
13074 if test -n "$STRIP" ; then
13075 striplib
="$STRIP -x"
13076 old_striplib
="$STRIP -S"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13078 $as_echo "yes" >&6; }
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13081 $as_echo "no" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13086 $as_echo "no" >&6; }
13102 # Report which library types will actually be built
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13104 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13106 $as_echo "$can_build_shared" >&6; }
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13109 $as_echo_n "checking whether to build shared libraries... " >&6; }
13110 test "$can_build_shared" = "no" && enable_shared
=no
13112 # On AIX, shared libraries and static libraries use the same namespace, and
13113 # are all built from PIC.
13116 test "$enable_shared" = yes && enable_static
=no
13117 if test -n "$RANLIB"; then
13118 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13119 postinstall_cmds
='$RANLIB $lib'
13124 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13125 test "$enable_shared" = yes && enable_static
=no
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13130 $as_echo "$enable_shared" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13133 $as_echo_n "checking whether to build static libraries... " >&6; }
13134 # Make sure either enable_shared or enable_static is yes.
13135 test "$enable_shared" = yes || enable_static
=yes
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13137 $as_echo "$enable_static" >&6; }
13144 ac_cpp
='$CPP $CPPFLAGS'
13145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13165 ac_config_commands
="$ac_config_commands libtool"
13170 # Only expand once:
13175 # Extract the first word of "ar", so it can be a program name with args.
13176 set dummy
ar; ac_word
=$2
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13178 $as_echo_n "checking for $ac_word... " >&6; }
13179 if ${ac_cv_path_AR+:} false
; then :
13180 $as_echo_n "(cached) " >&6
13184 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
13187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13188 for as_dir
in $PATH
13191 test -z "$as_dir" && as_dir
=.
13192 for ac_exec_ext
in '' $ac_executable_extensions; do
13193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13194 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
13195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13202 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
13207 if test -n "$AR"; then
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13209 $as_echo "$AR" >&6; }
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13212 $as_echo "no" >&6; }
13216 # Extract the first word of "rm", so it can be a program name with args.
13217 set dummy
rm; ac_word
=$2
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13219 $as_echo_n "checking for $ac_word... " >&6; }
13220 if ${ac_cv_path_RM+:} false
; then :
13221 $as_echo_n "(cached) " >&6
13225 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
13228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13229 for as_dir
in $PATH
13232 test -z "$as_dir" && as_dir
=.
13233 for ac_exec_ext
in '' $ac_executable_extensions; do
13234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13235 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
13236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13243 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
13248 if test -n "$RM"; then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
13250 $as_echo "$RM" >&6; }
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13253 $as_echo "no" >&6; }
13257 # Extract the first word of "cp", so it can be a program name with args.
13258 set dummy
cp; ac_word
=$2
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13260 $as_echo_n "checking for $ac_word... " >&6; }
13261 if ${ac_cv_path_CP+:} false
; then :
13262 $as_echo_n "(cached) " >&6
13266 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13270 for as_dir
in $PATH
13273 test -z "$as_dir" && as_dir
=.
13274 for ac_exec_ext
in '' $ac_executable_extensions; do
13275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13276 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13284 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
13289 if test -n "$CP"; then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
13291 $as_echo "$CP" >&6; }
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13294 $as_echo "no" >&6; }
13298 # Extract the first word of "ln", so it can be a program name with args.
13299 set dummy
ln; ac_word
=$2
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13301 $as_echo_n "checking for $ac_word... " >&6; }
13302 if ${ac_cv_path_LN+:} false
; then :
13303 $as_echo_n "(cached) " >&6
13307 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
13310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13311 for as_dir
in $PATH
13314 test -z "$as_dir" && as_dir
=.
13315 for ac_exec_ext
in '' $ac_executable_extensions; do
13316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13317 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
13318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13325 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
13330 if test -n "$LN"; then
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
13332 $as_echo "$LN" >&6; }
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13335 $as_echo "no" >&6; }
13339 # Extract the first word of "ls", so it can be a program name with args.
13340 set dummy
ls; ac_word
=$2
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13342 $as_echo_n "checking for $ac_word... " >&6; }
13343 if ${ac_cv_path_LS+:} false
; then :
13344 $as_echo_n "(cached) " >&6
13348 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
13351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13352 for as_dir
in $PATH
13355 test -z "$as_dir" && as_dir
=.
13356 for ac_exec_ext
in '' $ac_executable_extensions; do
13357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13358 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
13359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13366 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
13371 if test -n "$LS"; then
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
13373 $as_echo "$LS" >&6; }
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13376 $as_echo "no" >&6; }
13380 # Extract the first word of "sed", so it can be a program name with args.
13381 set dummy
sed; ac_word
=$2
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13383 $as_echo_n "checking for $ac_word... " >&6; }
13384 if ${ac_cv_path_SED+:} false
; then :
13385 $as_echo_n "(cached) " >&6
13389 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
13392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13393 for as_dir
in $PATH
13396 test -z "$as_dir" && as_dir
=.
13397 for ac_exec_ext
in '' $ac_executable_extensions; do
13398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13399 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
13400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13407 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
13411 SED
=$ac_cv_path_SED
13412 if test -n "$SED"; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
13414 $as_echo "$SED" >&6; }
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13417 $as_echo "no" >&6; }
13421 # Extract the first word of "make", so it can be a program name with args.
13422 set dummy
make; ac_word
=$2
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13424 $as_echo_n "checking for $ac_word... " >&6; }
13425 if ${ac_cv_path_MAKE+:} false
; then :
13426 $as_echo_n "(cached) " >&6
13430 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
13433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13434 for as_dir
in $PATH
13437 test -z "$as_dir" && as_dir
=.
13438 for ac_exec_ext
in '' $ac_executable_extensions; do
13439 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13440 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
13441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13451 MAKE
=$ac_cv_path_MAKE
13452 if test -n "$MAKE"; then
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
13454 $as_echo "$MAKE" >&6; }
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13457 $as_echo "no" >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13466 $as_echo_n "checking whether NLS is requested... " >&6; }
13467 # Check whether --enable-nls was given.
13468 if test "${enable_nls+set}" = set; then :
13469 enableval
=$enable_nls; USE_NLS
=$enableval
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13475 $as_echo "$USE_NLS" >&6; }
13482 # Prepare PATH_SEPARATOR.
13483 # The user is always right.
13484 if test "${PATH_SEPARATOR+set}" != set; then
13485 echo "#! /bin/sh" >conf$$.sh
13486 echo "exit 0" >>conf$$.sh
13488 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13496 # Find out how to test for executable files. Don't use a zero-byte file,
13497 # as systems may use methods other than mode bits to determine executability.
13498 cat >conf$$.
file <<_ASEOF
13502 chmod +x conf$$.
file
13503 if test -x conf$$.
file >/dev
/null
2>&1; then
13504 ac_executable_p
="test -x"
13506 ac_executable_p
="test -f"
13510 # Extract the first word of "msgfmt", so it can be a program name with args.
13511 set dummy msgfmt
; ac_word
=$2
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13513 $as_echo_n "checking for $ac_word... " >&6; }
13514 if ${ac_cv_path_MSGFMT+:} false
; then :
13515 $as_echo_n "(cached) " >&6
13519 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13522 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13523 for ac_dir
in $PATH; do
13525 test -z "$ac_dir" && ac_dir
=.
13526 for ac_exec_ext
in '' $ac_executable_extensions; do
13527 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13528 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13529 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
13530 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13531 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
13538 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
13542 MSGFMT
="$ac_cv_path_MSGFMT"
13543 if test "$MSGFMT" != ":"; then
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13545 $as_echo "$MSGFMT" >&6; }
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13548 $as_echo "no" >&6; }
13551 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13552 set dummy gmsgfmt
; ac_word
=$2
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13554 $as_echo_n "checking for $ac_word... " >&6; }
13555 if ${ac_cv_path_GMSGFMT+:} false
; then :
13556 $as_echo_n "(cached) " >&6
13560 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
13563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13564 for as_dir
in $PATH
13567 test -z "$as_dir" && as_dir
=.
13568 for ac_exec_ext
in '' $ac_executable_extensions; do
13569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13570 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13578 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
13582 GMSGFMT
=$ac_cv_path_GMSGFMT
13583 if test -n "$GMSGFMT"; then
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13585 $as_echo "$GMSGFMT" >&6; }
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13588 $as_echo "no" >&6; }
13593 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13594 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
13595 *) MSGFMT_015
=$MSGFMT ;;
13598 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13599 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
13600 *) GMSGFMT_015
=$GMSGFMT ;;
13605 # Prepare PATH_SEPARATOR.
13606 # The user is always right.
13607 if test "${PATH_SEPARATOR+set}" != set; then
13608 echo "#! /bin/sh" >conf$$.sh
13609 echo "exit 0" >>conf$$.sh
13611 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13619 # Find out how to test for executable files. Don't use a zero-byte file,
13620 # as systems may use methods other than mode bits to determine executability.
13621 cat >conf$$.
file <<_ASEOF
13625 chmod +x conf$$.
file
13626 if test -x conf$$.
file >/dev
/null
2>&1; then
13627 ac_executable_p
="test -x"
13629 ac_executable_p
="test -f"
13633 # Extract the first word of "xgettext", so it can be a program name with args.
13634 set dummy xgettext
; ac_word
=$2
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13636 $as_echo_n "checking for $ac_word... " >&6; }
13637 if ${ac_cv_path_XGETTEXT+:} false
; then :
13638 $as_echo_n "(cached) " >&6
13640 case "$XGETTEXT" in
13642 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
13645 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13646 for ac_dir
in $PATH; do
13648 test -z "$ac_dir" && ac_dir
=.
13649 for ac_exec_ext
in '' $ac_executable_extensions; do
13650 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13651 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13652 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
13653 (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
13654 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
13661 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
13665 XGETTEXT
="$ac_cv_path_XGETTEXT"
13666 if test "$XGETTEXT" != ":"; then
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13668 $as_echo "$XGETTEXT" >&6; }
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13671 $as_echo "no" >&6; }
13676 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13677 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
13678 *) XGETTEXT_015
=$XGETTEXT ;;
13683 # Prepare PATH_SEPARATOR.
13684 # The user is always right.
13685 if test "${PATH_SEPARATOR+set}" != set; then
13686 echo "#! /bin/sh" >conf$$.sh
13687 echo "exit 0" >>conf$$.sh
13689 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13697 # Find out how to test for executable files. Don't use a zero-byte file,
13698 # as systems may use methods other than mode bits to determine executability.
13699 cat >conf$$.
file <<_ASEOF
13703 chmod +x conf$$.
file
13704 if test -x conf$$.
file >/dev
/null
2>&1; then
13705 ac_executable_p
="test -x"
13707 ac_executable_p
="test -f"
13711 # Extract the first word of "msgmerge", so it can be a program name with args.
13712 set dummy msgmerge
; ac_word
=$2
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13714 $as_echo_n "checking for $ac_word... " >&6; }
13715 if ${ac_cv_path_MSGMERGE+:} false
; then :
13716 $as_echo_n "(cached) " >&6
13718 case "$MSGMERGE" in
13720 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
13723 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13724 for ac_dir
in $PATH; do
13726 test -z "$ac_dir" && ac_dir
=.
13727 for ac_exec_ext
in '' $ac_executable_extensions; do
13728 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13729 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13730 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
13731 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
13738 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
13742 MSGMERGE
="$ac_cv_path_MSGMERGE"
13743 if test "$MSGMERGE" != ":"; then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13745 $as_echo "$MSGMERGE" >&6; }
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13748 $as_echo "no" >&6; }
13752 test -n "$localedir" || localedir
='${datadir}/locale'
13755 ac_config_commands
="$ac_config_commands po-directories"
13759 if test "X$prefix" = "XNONE"; then
13760 acl_final_prefix
="$ac_default_prefix"
13762 acl_final_prefix
="$prefix"
13764 if test "X$exec_prefix" = "XNONE"; then
13765 acl_final_exec_prefix
='${prefix}'
13767 acl_final_exec_prefix
="$exec_prefix"
13769 acl_save_prefix
="$prefix"
13770 prefix
="$acl_final_prefix"
13771 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13772 prefix
="$acl_save_prefix"
13775 # Check whether --with-gnu-ld was given.
13776 if test "${with_gnu_ld+set}" = set; then :
13777 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13782 # Prepare PATH_SEPARATOR.
13783 # The user is always right.
13784 if test "${PATH_SEPARATOR+set}" != set; then
13785 echo "#! /bin/sh" >conf$$.sh
13786 echo "exit 0" >>conf$$.sh
13788 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13796 if test "$GCC" = yes; then
13797 # Check if gcc -print-prog-name=ld gives a path.
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13799 $as_echo_n "checking for ld used by GCC... " >&6; }
13802 # gcc leaves a trailing carriage return which upsets mingw
13803 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13805 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13808 # Accept absolute paths.
13809 [\\/]* |
[A-Za-z
]:[\\/]*)
13810 re_direlt
='/[^/][^/]*/\.\./'
13811 # Canonicalize the path of ld
13812 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13813 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13814 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13816 test -z "$LD" && LD
="$ac_prog"
13819 # If it fails, then pretend we aren't using GCC.
13823 # If it is relative, then search for the first ld in PATH.
13824 with_gnu_ld
=unknown
13827 elif test "$with_gnu_ld" = yes; then
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13829 $as_echo_n "checking for GNU ld... " >&6; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13832 $as_echo_n "checking for non-GNU ld... " >&6; }
13834 if ${acl_cv_path_LD+:} false
; then :
13835 $as_echo_n "(cached) " >&6
13837 if test -z "$LD"; then
13838 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13839 for ac_dir
in $PATH; do
13840 test -z "$ac_dir" && ac_dir
=.
13841 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13842 acl_cv_path_LD
="$ac_dir/$ac_prog"
13843 # Check to see if the program is GNU ld. I'd rather use --version,
13844 # but apparently some GNU ld's only accept -v.
13845 # Break only if it was the GNU/non-GNU ld that we prefer.
13846 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13847 *GNU
* |
*'with BFD'*)
13848 test "$with_gnu_ld" != no
&& break ;;
13850 test "$with_gnu_ld" != yes && break ;;
13856 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13860 LD
="$acl_cv_path_LD"
13861 if test -n "$LD"; then
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13863 $as_echo "$LD" >&6; }
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13866 $as_echo "no" >&6; }
13868 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13870 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13871 if ${acl_cv_prog_gnu_ld+:} false
; then :
13872 $as_echo_n "(cached) " >&6
13874 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13875 case `$LD -v 2>&1 </dev/null` in
13876 *GNU
* |
*'with BFD'*)
13877 acl_cv_prog_gnu_ld
=yes ;;
13879 acl_cv_prog_gnu_ld
=no
;;
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13883 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13884 with_gnu_ld
=$acl_cv_prog_gnu_ld
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13890 $as_echo_n "checking for shared library run path origin... " >&6; }
13891 if ${acl_cv_rpath+:} false
; then :
13892 $as_echo_n "(cached) " >&6
13895 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13896 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13898 rm -f .
/conftest.sh
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13903 $as_echo "$acl_cv_rpath" >&6; }
13905 libext
="$acl_cv_libext"
13906 shlibext
="$acl_cv_shlibext"
13907 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13908 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13909 hardcode_direct
="$acl_cv_hardcode_direct"
13910 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13911 # Check whether --enable-rpath was given.
13912 if test "${enable_rpath+set}" = set; then :
13913 enableval
=$enable_rpath; :
13921 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13922 if test -n "$searchpath"; then
13923 acl_save_IFS
="${IFS= }"; IFS
=":"
13924 for searchdir
in $searchpath; do
13925 if test -d "$searchdir"; then
13926 case "$searchdir" in
13927 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
13928 *) searchdir
=`cd "$searchdir" && pwd`
13929 case "$searchdir" in
13930 */lib64
) acl_libdirstem
=lib64
;;
13935 IFS
="$acl_save_IFS"
13947 acl_save_prefix
="$prefix"
13948 prefix
="$acl_final_prefix"
13949 acl_save_exec_prefix
="$exec_prefix"
13950 exec_prefix
="$acl_final_exec_prefix"
13952 eval additional_includedir
=\"$includedir\"
13953 eval additional_libdir
=\"$libdir\"
13955 exec_prefix
="$acl_save_exec_prefix"
13956 prefix
="$acl_save_prefix"
13959 # Check whether --with-libiconv-prefix was given.
13960 if test "${with_libiconv_prefix+set}" = set; then :
13961 withval
=$with_libiconv_prefix;
13962 if test "X$withval" = "Xno"; then
13965 if test "X$withval" = "X"; then
13967 acl_save_prefix
="$prefix"
13968 prefix
="$acl_final_prefix"
13969 acl_save_exec_prefix
="$exec_prefix"
13970 exec_prefix
="$acl_final_exec_prefix"
13972 eval additional_includedir
=\"$includedir\"
13973 eval additional_libdir
=\"$libdir\"
13975 exec_prefix
="$acl_save_exec_prefix"
13976 prefix
="$acl_save_prefix"
13979 additional_includedir
="$withval/include"
13980 additional_libdir
="$withval/$acl_libdirstem"
13991 names_already_handled
=
13992 names_next_round
='iconv '
13993 while test -n "$names_next_round"; do
13994 names_this_round
="$names_next_round"
13996 for name
in $names_this_round; do
13998 for n
in $names_already_handled; do
13999 if test "$n" = "$name"; then
14000 already_handled
=yes
14004 if test -z "$already_handled"; then
14005 names_already_handled
="$names_already_handled $name"
14006 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14007 eval value
=\"\
$HAVE_LIB$uppername\"
14008 if test -n "$value"; then
14009 if test "$value" = yes; then
14010 eval value
=\"\
$LIB$uppername\"
14011 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14012 eval value
=\"\
$LTLIB$uppername\"
14013 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14022 if test $use_additional = yes; then
14023 if test -n "$shlibext" \
14024 && { test -f "$additional_libdir/lib$name.$shlibext" \
14025 ||
{ test "$shlibext" = dll \
14026 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14027 found_dir
="$additional_libdir"
14028 if test -f "$additional_libdir/lib$name.$shlibext"; then
14029 found_so
="$additional_libdir/lib$name.$shlibext"
14031 found_so
="$additional_libdir/lib$name.dll.a"
14033 if test -f "$additional_libdir/lib$name.la"; then
14034 found_la
="$additional_libdir/lib$name.la"
14037 if test -f "$additional_libdir/lib$name.$libext"; then
14038 found_dir
="$additional_libdir"
14039 found_a
="$additional_libdir/lib$name.$libext"
14040 if test -f "$additional_libdir/lib$name.la"; then
14041 found_la
="$additional_libdir/lib$name.la"
14046 if test "X$found_dir" = "X"; then
14047 for x
in $LDFLAGS $LTLIBICONV; do
14049 acl_save_prefix
="$prefix"
14050 prefix
="$acl_final_prefix"
14051 acl_save_exec_prefix
="$exec_prefix"
14052 exec_prefix
="$acl_final_exec_prefix"
14054 exec_prefix
="$acl_save_exec_prefix"
14055 prefix
="$acl_save_prefix"
14059 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14060 if test -n "$shlibext" \
14061 && { test -f "$dir/lib$name.$shlibext" \
14062 ||
{ test "$shlibext" = dll \
14063 && test -f "$dir/lib$name.dll.a"; }; }; then
14065 if test -f "$dir/lib$name.$shlibext"; then
14066 found_so
="$dir/lib$name.$shlibext"
14068 found_so
="$dir/lib$name.dll.a"
14070 if test -f "$dir/lib$name.la"; then
14071 found_la
="$dir/lib$name.la"
14074 if test -f "$dir/lib$name.$libext"; then
14076 found_a
="$dir/lib$name.$libext"
14077 if test -f "$dir/lib$name.la"; then
14078 found_la
="$dir/lib$name.la"
14084 if test "X$found_dir" != "X"; then
14089 if test "X$found_dir" != "X"; then
14090 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14091 if test "X$found_so" != "X"; then
14092 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14093 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14096 for x
in $ltrpathdirs; do
14097 if test "X$x" = "X$found_dir"; then
14102 if test -z "$haveit"; then
14103 ltrpathdirs
="$ltrpathdirs $found_dir"
14105 if test "$hardcode_direct" = yes; then
14106 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14108 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14109 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14111 for x
in $rpathdirs; do
14112 if test "X$x" = "X$found_dir"; then
14117 if test -z "$haveit"; then
14118 rpathdirs
="$rpathdirs $found_dir"
14122 for x
in $LDFLAGS $LIBICONV; do
14124 acl_save_prefix
="$prefix"
14125 prefix
="$acl_final_prefix"
14126 acl_save_exec_prefix
="$exec_prefix"
14127 exec_prefix
="$acl_final_exec_prefix"
14129 exec_prefix
="$acl_save_exec_prefix"
14130 prefix
="$acl_save_prefix"
14132 if test "X$x" = "X-L$found_dir"; then
14137 if test -z "$haveit"; then
14138 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14140 if test "$hardcode_minus_L" != no
; then
14141 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14143 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14149 if test "X$found_a" != "X"; then
14150 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14152 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14155 additional_includedir
=
14156 case "$found_dir" in
14157 */$acl_libdirstem |
*/$acl_libdirstem/)
14158 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14159 additional_includedir
="$basedir/include"
14162 if test "X$additional_includedir" != "X"; then
14163 if test "X$additional_includedir" != "X/usr/include"; then
14165 if test "X$additional_includedir" = "X/usr/local/include"; then
14166 if test -n "$GCC"; then
14168 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14172 if test -z "$haveit"; then
14173 for x
in $CPPFLAGS $INCICONV; do
14175 acl_save_prefix
="$prefix"
14176 prefix
="$acl_final_prefix"
14177 acl_save_exec_prefix
="$exec_prefix"
14178 exec_prefix
="$acl_final_exec_prefix"
14180 exec_prefix
="$acl_save_exec_prefix"
14181 prefix
="$acl_save_prefix"
14183 if test "X$x" = "X-I$additional_includedir"; then
14188 if test -z "$haveit"; then
14189 if test -d "$additional_includedir"; then
14190 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14196 if test -n "$found_la"; then
14197 save_libdir
="$libdir"
14198 case "$found_la" in
14199 */* |
*\\*) .
"$found_la" ;;
14200 *) .
"./$found_la" ;;
14202 libdir
="$save_libdir"
14203 for dep
in $dependency_libs; do
14206 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14207 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14209 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14210 if test -n "$GCC"; then
14212 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14216 if test -z "$haveit"; then
14218 for x
in $LDFLAGS $LIBICONV; do
14220 acl_save_prefix
="$prefix"
14221 prefix
="$acl_final_prefix"
14222 acl_save_exec_prefix
="$exec_prefix"
14223 exec_prefix
="$acl_final_exec_prefix"
14225 exec_prefix
="$acl_save_exec_prefix"
14226 prefix
="$acl_save_prefix"
14228 if test "X$x" = "X-L$additional_libdir"; then
14233 if test -z "$haveit"; then
14234 if test -d "$additional_libdir"; then
14235 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14239 for x
in $LDFLAGS $LTLIBICONV; do
14241 acl_save_prefix
="$prefix"
14242 prefix
="$acl_final_prefix"
14243 acl_save_exec_prefix
="$exec_prefix"
14244 exec_prefix
="$acl_final_exec_prefix"
14246 exec_prefix
="$acl_save_exec_prefix"
14247 prefix
="$acl_save_prefix"
14249 if test "X$x" = "X-L$additional_libdir"; then
14254 if test -z "$haveit"; then
14255 if test -d "$additional_libdir"; then
14256 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14263 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14264 if test "$enable_rpath" != no
; then
14266 for x
in $rpathdirs; do
14267 if test "X$x" = "X$dir"; then
14272 if test -z "$haveit"; then
14273 rpathdirs
="$rpathdirs $dir"
14276 for x
in $ltrpathdirs; do
14277 if test "X$x" = "X$dir"; then
14282 if test -z "$haveit"; then
14283 ltrpathdirs
="$ltrpathdirs $dir"
14288 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14291 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14294 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14295 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14301 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14302 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14308 if test "X$rpathdirs" != "X"; then
14309 if test -n "$hardcode_libdir_separator"; then
14311 for found_dir
in $rpathdirs; do
14312 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14314 acl_save_libdir
="$libdir"
14316 eval flag
=\"$hardcode_libdir_flag_spec\"
14317 libdir
="$acl_save_libdir"
14318 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14320 for found_dir
in $rpathdirs; do
14321 acl_save_libdir
="$libdir"
14322 libdir
="$found_dir"
14323 eval flag
=\"$hardcode_libdir_flag_spec\"
14324 libdir
="$acl_save_libdir"
14325 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14329 if test "X$ltrpathdirs" != "X"; then
14330 for found_dir
in $ltrpathdirs; do
14331 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14360 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14361 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
14362 $as_echo_n "(cached) " >&6
14364 gt_save_LIBS
="$LIBS"
14365 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14368 #include <CoreFoundation/CFPreferences.h>
14372 CFPreferencesCopyAppValue(NULL, NULL)
14377 if ac_fn_c_try_link
"$LINENO"; then :
14378 gt_cv_func_CFPreferencesCopyAppValue
=yes
14380 gt_cv_func_CFPreferencesCopyAppValue
=no
14382 rm -f core conftest.err conftest.
$ac_objext \
14383 conftest
$ac_exeext conftest.
$ac_ext
14384 LIBS
="$gt_save_LIBS"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14387 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14388 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14390 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14394 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14395 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
14396 $as_echo_n "(cached) " >&6
14398 gt_save_LIBS
="$LIBS"
14399 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14402 #include <CoreFoundation/CFLocale.h>
14406 CFLocaleCopyCurrent();
14411 if ac_fn_c_try_link
"$LINENO"; then :
14412 gt_cv_func_CFLocaleCopyCurrent
=yes
14414 gt_cv_func_CFLocaleCopyCurrent
=no
14416 rm -f core conftest.err conftest.
$ac_objext \
14417 conftest
$ac_exeext conftest.
$ac_ext
14418 LIBS
="$gt_save_LIBS"
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14421 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14422 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14424 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14428 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14429 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
14441 case " $gt_needs " in
14442 *" need-formatstring-macros "*) gt_api_version
=3 ;;
14443 *" need-ngettext "*) gt_api_version
=2 ;;
14444 *) gt_api_version
=1 ;;
14446 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
14447 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
14449 if test "$USE_NLS" = "yes"; then
14450 gt_use_preinstalled_gnugettext
=no
14453 if test $gt_api_version -ge 3; then
14454 gt_revision_test_code
='
14455 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14456 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14458 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14461 gt_revision_test_code
=
14463 if test $gt_api_version -ge 2; then
14464 gt_expression_test_code
=' + * ngettext ("", "", 0)'
14466 gt_expression_test_code
=
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14470 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14471 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
14472 $as_echo_n "(cached) " >&6
14474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 #include <libintl.h>
14477 $gt_revision_test_code
14478 extern int _nl_msg_cat_cntr;
14479 extern int *_nl_domain_bindings;
14483 bindtextdomain ("", "");
14484 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14489 if ac_fn_c_try_link
"$LINENO"; then :
14490 eval "$gt_func_gnugettext_libc=yes"
14492 eval "$gt_func_gnugettext_libc=no"
14494 rm -f core conftest.err conftest.
$ac_objext \
14495 conftest
$ac_exeext conftest.
$ac_ext
14497 eval ac_res
=\$
$gt_func_gnugettext_libc
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14499 $as_echo "$ac_res" >&6; }
14501 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14507 am_save_CPPFLAGS
="$CPPFLAGS"
14509 for element
in $INCICONV; do
14511 for x
in $CPPFLAGS; do
14513 acl_save_prefix
="$prefix"
14514 prefix
="$acl_final_prefix"
14515 acl_save_exec_prefix
="$exec_prefix"
14516 exec_prefix
="$acl_final_exec_prefix"
14518 exec_prefix
="$acl_save_exec_prefix"
14519 prefix
="$acl_save_prefix"
14521 if test "X$x" = "X$element"; then
14526 if test -z "$haveit"; then
14527 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14533 $as_echo_n "checking for iconv... " >&6; }
14534 if ${am_cv_func_iconv+:} false
; then :
14535 $as_echo_n "(cached) " >&6
14538 am_cv_func_iconv
="no, consider installing GNU libiconv"
14540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 #include <stdlib.h>
14547 iconv_t cd = iconv_open("","");
14548 iconv(cd,NULL,NULL,NULL,NULL);
14554 if ac_fn_c_try_link
"$LINENO"; then :
14555 am_cv_func_iconv
=yes
14557 rm -f core conftest.err conftest.
$ac_objext \
14558 conftest
$ac_exeext conftest.
$ac_ext
14559 if test "$am_cv_func_iconv" != yes; then
14560 am_save_LIBS
="$LIBS"
14561 LIBS
="$LIBS $LIBICONV"
14562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14564 #include <stdlib.h>
14569 iconv_t cd = iconv_open("","");
14570 iconv(cd,NULL,NULL,NULL,NULL);
14576 if ac_fn_c_try_link
"$LINENO"; then :
14577 am_cv_lib_iconv
=yes
14578 am_cv_func_iconv
=yes
14580 rm -f core conftest.err conftest.
$ac_objext \
14581 conftest
$ac_exeext conftest.
$ac_ext
14582 LIBS
="$am_save_LIBS"
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14587 $as_echo "$am_cv_func_iconv" >&6; }
14588 if test "$am_cv_func_iconv" = yes; then
14590 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14593 if test "$am_cv_lib_iconv" = yes; then
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14595 $as_echo_n "checking how to link with libiconv... " >&6; }
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14597 $as_echo "$LIBICONV" >&6; }
14599 CPPFLAGS
="$am_save_CPPFLAGS"
14612 acl_save_prefix
="$prefix"
14613 prefix
="$acl_final_prefix"
14614 acl_save_exec_prefix
="$exec_prefix"
14615 exec_prefix
="$acl_final_exec_prefix"
14617 eval additional_includedir
=\"$includedir\"
14618 eval additional_libdir
=\"$libdir\"
14620 exec_prefix
="$acl_save_exec_prefix"
14621 prefix
="$acl_save_prefix"
14624 # Check whether --with-libintl-prefix was given.
14625 if test "${with_libintl_prefix+set}" = set; then :
14626 withval
=$with_libintl_prefix;
14627 if test "X$withval" = "Xno"; then
14630 if test "X$withval" = "X"; then
14632 acl_save_prefix
="$prefix"
14633 prefix
="$acl_final_prefix"
14634 acl_save_exec_prefix
="$exec_prefix"
14635 exec_prefix
="$acl_final_exec_prefix"
14637 eval additional_includedir
=\"$includedir\"
14638 eval additional_libdir
=\"$libdir\"
14640 exec_prefix
="$acl_save_exec_prefix"
14641 prefix
="$acl_save_prefix"
14644 additional_includedir
="$withval/include"
14645 additional_libdir
="$withval/$acl_libdirstem"
14656 names_already_handled
=
14657 names_next_round
='intl '
14658 while test -n "$names_next_round"; do
14659 names_this_round
="$names_next_round"
14661 for name
in $names_this_round; do
14663 for n
in $names_already_handled; do
14664 if test "$n" = "$name"; then
14665 already_handled
=yes
14669 if test -z "$already_handled"; then
14670 names_already_handled
="$names_already_handled $name"
14671 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14672 eval value
=\"\
$HAVE_LIB$uppername\"
14673 if test -n "$value"; then
14674 if test "$value" = yes; then
14675 eval value
=\"\
$LIB$uppername\"
14676 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
14677 eval value
=\"\
$LTLIB$uppername\"
14678 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
14687 if test $use_additional = yes; then
14688 if test -n "$shlibext" \
14689 && { test -f "$additional_libdir/lib$name.$shlibext" \
14690 ||
{ test "$shlibext" = dll \
14691 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14692 found_dir
="$additional_libdir"
14693 if test -f "$additional_libdir/lib$name.$shlibext"; then
14694 found_so
="$additional_libdir/lib$name.$shlibext"
14696 found_so
="$additional_libdir/lib$name.dll.a"
14698 if test -f "$additional_libdir/lib$name.la"; then
14699 found_la
="$additional_libdir/lib$name.la"
14702 if test -f "$additional_libdir/lib$name.$libext"; then
14703 found_dir
="$additional_libdir"
14704 found_a
="$additional_libdir/lib$name.$libext"
14705 if test -f "$additional_libdir/lib$name.la"; then
14706 found_la
="$additional_libdir/lib$name.la"
14711 if test "X$found_dir" = "X"; then
14712 for x
in $LDFLAGS $LTLIBINTL; do
14714 acl_save_prefix
="$prefix"
14715 prefix
="$acl_final_prefix"
14716 acl_save_exec_prefix
="$exec_prefix"
14717 exec_prefix
="$acl_final_exec_prefix"
14719 exec_prefix
="$acl_save_exec_prefix"
14720 prefix
="$acl_save_prefix"
14724 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14725 if test -n "$shlibext" \
14726 && { test -f "$dir/lib$name.$shlibext" \
14727 ||
{ test "$shlibext" = dll \
14728 && test -f "$dir/lib$name.dll.a"; }; }; then
14730 if test -f "$dir/lib$name.$shlibext"; then
14731 found_so
="$dir/lib$name.$shlibext"
14733 found_so
="$dir/lib$name.dll.a"
14735 if test -f "$dir/lib$name.la"; then
14736 found_la
="$dir/lib$name.la"
14739 if test -f "$dir/lib$name.$libext"; then
14741 found_a
="$dir/lib$name.$libext"
14742 if test -f "$dir/lib$name.la"; then
14743 found_la
="$dir/lib$name.la"
14749 if test "X$found_dir" != "X"; then
14754 if test "X$found_dir" != "X"; then
14755 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14756 if test "X$found_so" != "X"; then
14757 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14758 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14761 for x
in $ltrpathdirs; do
14762 if test "X$x" = "X$found_dir"; then
14767 if test -z "$haveit"; then
14768 ltrpathdirs
="$ltrpathdirs $found_dir"
14770 if test "$hardcode_direct" = yes; then
14771 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14773 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14774 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14776 for x
in $rpathdirs; do
14777 if test "X$x" = "X$found_dir"; then
14782 if test -z "$haveit"; then
14783 rpathdirs
="$rpathdirs $found_dir"
14787 for x
in $LDFLAGS $LIBINTL; do
14789 acl_save_prefix
="$prefix"
14790 prefix
="$acl_final_prefix"
14791 acl_save_exec_prefix
="$exec_prefix"
14792 exec_prefix
="$acl_final_exec_prefix"
14794 exec_prefix
="$acl_save_exec_prefix"
14795 prefix
="$acl_save_prefix"
14797 if test "X$x" = "X-L$found_dir"; then
14802 if test -z "$haveit"; then
14803 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14805 if test "$hardcode_minus_L" != no
; then
14806 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14808 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14814 if test "X$found_a" != "X"; then
14815 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14817 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14820 additional_includedir
=
14821 case "$found_dir" in
14822 */$acl_libdirstem |
*/$acl_libdirstem/)
14823 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14824 additional_includedir
="$basedir/include"
14827 if test "X$additional_includedir" != "X"; then
14828 if test "X$additional_includedir" != "X/usr/include"; then
14830 if test "X$additional_includedir" = "X/usr/local/include"; then
14831 if test -n "$GCC"; then
14833 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14837 if test -z "$haveit"; then
14838 for x
in $CPPFLAGS $INCINTL; do
14840 acl_save_prefix
="$prefix"
14841 prefix
="$acl_final_prefix"
14842 acl_save_exec_prefix
="$exec_prefix"
14843 exec_prefix
="$acl_final_exec_prefix"
14845 exec_prefix
="$acl_save_exec_prefix"
14846 prefix
="$acl_save_prefix"
14848 if test "X$x" = "X-I$additional_includedir"; then
14853 if test -z "$haveit"; then
14854 if test -d "$additional_includedir"; then
14855 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14861 if test -n "$found_la"; then
14862 save_libdir
="$libdir"
14863 case "$found_la" in
14864 */* |
*\\*) .
"$found_la" ;;
14865 *) .
"./$found_la" ;;
14867 libdir
="$save_libdir"
14868 for dep
in $dependency_libs; do
14871 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14872 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14874 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14875 if test -n "$GCC"; then
14877 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14881 if test -z "$haveit"; then
14883 for x
in $LDFLAGS $LIBINTL; do
14885 acl_save_prefix
="$prefix"
14886 prefix
="$acl_final_prefix"
14887 acl_save_exec_prefix
="$exec_prefix"
14888 exec_prefix
="$acl_final_exec_prefix"
14890 exec_prefix
="$acl_save_exec_prefix"
14891 prefix
="$acl_save_prefix"
14893 if test "X$x" = "X-L$additional_libdir"; then
14898 if test -z "$haveit"; then
14899 if test -d "$additional_libdir"; then
14900 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14904 for x
in $LDFLAGS $LTLIBINTL; do
14906 acl_save_prefix
="$prefix"
14907 prefix
="$acl_final_prefix"
14908 acl_save_exec_prefix
="$exec_prefix"
14909 exec_prefix
="$acl_final_exec_prefix"
14911 exec_prefix
="$acl_save_exec_prefix"
14912 prefix
="$acl_save_prefix"
14914 if test "X$x" = "X-L$additional_libdir"; then
14919 if test -z "$haveit"; then
14920 if test -d "$additional_libdir"; then
14921 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14928 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14929 if test "$enable_rpath" != no
; then
14931 for x
in $rpathdirs; do
14932 if test "X$x" = "X$dir"; then
14937 if test -z "$haveit"; then
14938 rpathdirs
="$rpathdirs $dir"
14941 for x
in $ltrpathdirs; do
14942 if test "X$x" = "X$dir"; then
14947 if test -z "$haveit"; then
14948 ltrpathdirs
="$ltrpathdirs $dir"
14953 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14956 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14959 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14960 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14966 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14967 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14973 if test "X$rpathdirs" != "X"; then
14974 if test -n "$hardcode_libdir_separator"; then
14976 for found_dir
in $rpathdirs; do
14977 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14979 acl_save_libdir
="$libdir"
14981 eval flag
=\"$hardcode_libdir_flag_spec\"
14982 libdir
="$acl_save_libdir"
14983 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14985 for found_dir
in $rpathdirs; do
14986 acl_save_libdir
="$libdir"
14987 libdir
="$found_dir"
14988 eval flag
=\"$hardcode_libdir_flag_spec\"
14989 libdir
="$acl_save_libdir"
14990 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14994 if test "X$ltrpathdirs" != "X"; then
14995 for found_dir
in $ltrpathdirs; do
14996 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15001 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15002 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
15003 $as_echo_n "(cached) " >&6
15005 gt_save_CPPFLAGS
="$CPPFLAGS"
15006 CPPFLAGS
="$CPPFLAGS $INCINTL"
15007 gt_save_LIBS
="$LIBS"
15008 LIBS
="$LIBS $LIBINTL"
15009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15011 #include <libintl.h>
15012 $gt_revision_test_code
15013 extern int _nl_msg_cat_cntr;
15018 const char *_nl_expand_alias (const char *);
15022 bindtextdomain ("", "");
15023 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15028 if ac_fn_c_try_link
"$LINENO"; then :
15029 eval "$gt_func_gnugettext_libintl=yes"
15031 eval "$gt_func_gnugettext_libintl=no"
15033 rm -f core conftest.err conftest.
$ac_objext \
15034 conftest
$ac_exeext conftest.
$ac_ext
15035 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15036 LIBS
="$LIBS $LIBICONV"
15037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15039 #include <libintl.h>
15040 $gt_revision_test_code
15041 extern int _nl_msg_cat_cntr;
15046 const char *_nl_expand_alias (const char *);
15050 bindtextdomain ("", "");
15051 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15056 if ac_fn_c_try_link
"$LINENO"; then :
15057 LIBINTL
="$LIBINTL $LIBICONV"
15058 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
15059 eval "$gt_func_gnugettext_libintl=yes"
15062 rm -f core conftest.err conftest.
$ac_objext \
15063 conftest
$ac_exeext conftest.
$ac_ext
15065 CPPFLAGS
="$gt_save_CPPFLAGS"
15066 LIBS
="$gt_save_LIBS"
15068 eval ac_res
=\$
$gt_func_gnugettext_libintl
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15070 $as_echo "$ac_res" >&6; }
15073 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15074 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15075 && test "$PACKAGE" != gettext-runtime \
15076 && test "$PACKAGE" != gettext-tools
; }; then
15077 gt_use_preinstalled_gnugettext
=yes
15086 if test -n "$INTL_MACOSX_LIBS"; then
15087 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15088 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15089 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
15090 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
15094 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15095 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15097 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15105 $as_echo_n "checking whether to use NLS... " >&6; }
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15107 $as_echo "$USE_NLS" >&6; }
15108 if test "$USE_NLS" = "yes"; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15110 $as_echo_n "checking where the gettext function comes from... " >&6; }
15111 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15112 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15113 gt_source
="external libintl"
15118 gt_source
="included intl directory"
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15121 $as_echo "$gt_source" >&6; }
15124 if test "$USE_NLS" = "yes"; then
15126 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15127 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15129 $as_echo_n "checking how to link with libintl... " >&6; }
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15131 $as_echo "$LIBINTL" >&6; }
15133 for element
in $INCINTL; do
15135 for x
in $CPPFLAGS; do
15137 acl_save_prefix
="$prefix"
15138 prefix
="$acl_final_prefix"
15139 acl_save_exec_prefix
="$exec_prefix"
15140 exec_prefix
="$acl_final_exec_prefix"
15142 exec_prefix
="$acl_save_exec_prefix"
15143 prefix
="$acl_save_prefix"
15145 if test "X$x" = "X$element"; then
15150 if test -z "$haveit"; then
15151 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15158 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15161 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15170 INTLLIBS
="$LIBINTL"
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
15179 $as_echo_n "checking option: dmalloc enabled... " >&6; }
15180 # Check whether --enable-dmalloc was given.
15181 if test "${enable_dmalloc+set}" = set; then :
15182 enableval
=$enable_dmalloc;
15185 if test x
$enable_dmalloc = "xyes" ; then
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15187 $as_echo "yes" >&6; }
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15190 $as_echo "no" >&6; }
15194 # Check whether --with-dmalloc-dir was given.
15195 if test "${with_dmalloc_dir+set}" = set; then :
15196 withval
=$with_dmalloc_dir;
15197 if test "x$withval" != "xno" ; then
15198 enable_dmalloc
= "yes"
15199 CPPFLAGS
="$CPPFLAGS -I${withval}"
15200 LDFLAGS
="$LDFLAGS -L${withval}"
15206 if test x
$enable_dmalloc = "xyes" ; then
15208 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
15212 ALPINE_datestamp
=`date`
15214 # Check whether --with-date-stamp was given.
15215 if test "${with_date_stamp+set}" = set; then :
15216 withval
=$with_date_stamp;
15217 if test "x$withval" != "xno" ; then
15218 ALPINE_datestamp
=$withval
15223 ALPINE_DATESTAMP
=$ALPINE_datestamp
15226 ALPINE_hoststamp
=`hostname`
15228 # Check whether --with-host-stamp was given.
15229 if test "${with_host_stamp+set}" = set; then :
15230 withval
=$with_host_stamp;
15231 if test "x$withval" != "xno" ; then
15232 ALPINE_hoststamp
="$withval"
15237 ALPINE_HOSTSTAMP
=$ALPINE_hoststamp
15240 ALPINE_psefcmd
="/bin/ps auxww"
15241 ALPINE_psfailed
="0"
15244 # Check whether --with-ps-cmd was given.
15245 if test "${with_ps_cmd+set}" = set; then :
15246 withval
=$with_ps_cmd;
15247 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
15248 withval
=$ALPINE_psefcmd
15250 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15251 if test -n "$ALPINE_PSTEST" ; then
15252 ALPINE_psefcmd
="$withval"
15254 ALPINE_psfailed
="1"
15255 if test "x$ALPINE_psefcmd" != "x$withval" ; then
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
15257 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
15263 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
15264 withval
="$ALPINE_psefcmd"
15265 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15266 if test -z "$ALPINE_PSTEST" ; then
15267 ALPINE_psfailed
="1"
15269 ALPINE_psfailed
="0"
15272 if test "$ALPINE_psfailed" = "0" ; then
15274 cat >>confdefs.h
<<_ACEOF
15275 #define PSEFCMD "$ALPINE_psefcmd"
15282 if test -d /opt
/local ; then
15283 localedir
="/opt/local/share/locale"
15285 localedir
="\${datadir}/locale"
15289 localedir
="/usr/share"
15292 localedir
="\${datadir}/locale"
15297 # Check whether --with-localedir was given.
15298 if test "${with_localedir+set}" = set; then :
15299 withval
=$with_localedir;
15312 localedir
="$localedir"
15315 # Setup OS-Specific features
15318 # Check whether --enable-osx-universal-binaries was given.
15319 if test "${enable_osx_universal_binaries+set}" = set; then :
15320 enableval
=$enable_osx_universal_binaries;
15323 if test "x$enable_osx_universal_binaries" = "xyes" ; then
15324 if test "x$enable_dependency_tracking" != xno
; then
15325 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
15326 Please re-run configure with these options:
15327 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
15329 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
15330 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
15331 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
15332 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
15334 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
15336 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
15337 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
15338 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
15339 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
15340 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
15341 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
15347 # Check whether --with-include-path was given.
15348 if test "${with_include_path+set}" = set; then :
15349 withval
=$with_include_path;
15356 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
15357 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
15358 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
15366 # Check whether --with-lib-path was given.
15367 if test "${with_lib_path+set}" = set; then :
15368 withval
=$with_lib_path;
15375 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
15376 LDFLAGS
="$LDFLAGS $new_ldflags"
15377 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
15385 # Check whether --with-pubcookie was given.
15386 if test "${with_pubcookie+set}" = set; then :
15387 withval
=$with_pubcookie;
15388 if test "x$withval" != "xno" ; then
15389 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
15397 # Check whether --with-web-bin was given.
15398 if test "${with_web_bin+set}" = set; then :
15399 withval
=$with_web_bin;
15406 WEB_BINDIR
=$withval
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
15414 $as_echo_n "checking option: debugging is enabled... " >&6; }
15415 # Check whether --enable-debug was given.
15416 if test "${enable_debug+set}" = set; then :
15417 enableval
=$enable_debug;
15420 if test x
$enable_debug != "xno" ; then
15421 AM_CFLAGS
="$AM_CFLAGS -g"
15423 $as_echo "#define DEBUG 1" >>confdefs.h
15426 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15429 $as_echo "yes" >&6; }
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15432 $as_echo "no" >&6; }
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
15436 $as_echo_n "checking option: optimization is enabled... " >&6; }
15437 # Check whether --enable-optimization was given.
15438 if test "${enable_optimization+set}" = set; then :
15439 enableval
=$enable_optimization;
15442 if test x
$enable_optimization != "xno" ; then
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15444 $as_echo "yes" >&6; }
15446 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
15447 alpine_c_client_gccoptlevel
="-O0"
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15449 $as_echo "no" >&6; }
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
15453 $as_echo_n "checking option: mouse support enabled... " >&6; }
15454 # Check whether --enable-mouse was given.
15455 if test "${enable_mouse+set}" = set; then :
15456 enableval
=$enable_mouse;
15459 if test x
$enable_mouse != "xno" ; then
15461 $as_echo "#define MOUSE /**/" >>confdefs.h
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15464 $as_echo "yes" >&6; }
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15467 $as_echo "no" >&6; }
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
15471 $as_echo_n "checking option: quotas enabled... " >&6; }
15472 # Check whether --enable-quotas was given.
15473 if test "${enable_quotas+set}" = set; then :
15474 enableval
=$enable_quotas;
15477 if test x
$enable_quotas = "xyes" ; then
15479 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15482 $as_echo "yes" >&6; }
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15485 $as_echo "no" >&6; }
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
15489 $as_echo_n "checking option: From changing enabled... " >&6; }
15490 # Check whether --enable-from_changing was given.
15491 if test "${enable_from_changing+set}" = set; then :
15492 enableval
=$enable_from_changing;
15495 if test x
$enable_from_changing != "xno" ; then
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15497 $as_echo "yes" >&6; }
15500 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15503 $as_echo "no" >&6; }
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
15507 $as_echo_n "checking option: background post enabled... " >&6; }
15508 # Check whether --enable-background-post was given.
15509 if test "${enable_background_post+set}" = set; then :
15510 enableval
=$enable_background_post;
15513 if test x
$enable_background_post != "xno" ; then
15515 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15518 $as_echo "yes" >&6; }
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15521 $as_echo "no" >&6; }
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
15525 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
15526 # Check whether --enable-keyboard-lock was given.
15527 if test "${enable_keyboard_lock+set}" = set; then :
15528 enableval
=$enable_keyboard_lock;
15531 if test x
$enable_keyboard_lock != "xno" ; then
15533 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15536 $as_echo "yes" >&6; }
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15539 $as_echo "no" >&6; }
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
15543 $as_echo_n "checking option: from encoding enabled... " >&6; }
15544 # Check whether --enable-from-encoding was given.
15545 if test "${enable_from_encoding+set}" = set; then :
15546 enableval
=$enable_from_encoding;
15549 if test x
$enable_from_encoding = "xyes" ; then
15551 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15554 $as_echo "yes" >&6; }
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15557 $as_echo "no" >&6; }
15561 # Check whether --with-smtp-msa was given.
15562 if test "${with_smtp_msa+set}" = set; then :
15563 withval
=$with_smtp_msa;
15568 # Extract the first word of "sendmail", so it can be a program name with args.
15569 set dummy sendmail
; ac_word
=$2
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15571 $as_echo_n "checking for $ac_word... " >&6; }
15572 if ${ac_cv_path_SENDMAIL+:} false
; then :
15573 $as_echo_n "(cached) " >&6
15577 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15581 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15582 for as_dir
in $as_dummy
15585 test -z "$as_dir" && as_dir
=.
15586 for ac_exec_ext
in '' $ac_executable_extensions; do
15587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15588 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15596 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15600 SENDMAIL
=$ac_cv_path_SENDMAIL
15601 if test -n "$SENDMAIL"; then
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15603 $as_echo "$SENDMAIL" >&6; }
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15606 $as_echo "no" >&6; }
15618 # Extract the first word of "sendmail", so it can be a program name with args.
15619 set dummy sendmail
; ac_word
=$2
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15621 $as_echo_n "checking for $ac_word... " >&6; }
15622 if ${ac_cv_path_SENDMAIL+:} false
; then :
15623 $as_echo_n "(cached) " >&6
15627 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15631 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15632 for as_dir
in $as_dummy
15635 test -z "$as_dir" && as_dir
=.
15636 for ac_exec_ext
in '' $ac_executable_extensions; do
15637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15638 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15646 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15650 SENDMAIL
=$ac_cv_path_SENDMAIL
15651 if test -n "$SENDMAIL"; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15653 $as_echo "$SENDMAIL" >&6; }
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15656 $as_echo "no" >&6; }
15663 if test -n "$SENDMAIL" ; then
15665 cat >>confdefs.h
<<_ACEOF
15666 #define SENDMAIL "$SENDMAIL"
15671 smtp_msa_flags
="-bs -odb -oem"
15673 # Check whether --with-smtp-msa-flags was given.
15674 if test "${with_smtp_msa_flags+set}" = set; then :
15675 withval
=$with_smtp_msa_flags;
15676 if test "x$withval" != "xno" ; then
15677 smtp_msa_flags
=$withval
15683 cat >>confdefs.h
<<_ACEOF
15684 #define SENDMAILFLAGS "$smtp_msa_flags"
15690 # Check whether --with-npa was given.
15691 if test "${with_npa+set}" = set; then :
15697 # Extract the first word of "inews", so it can be a program name with args.
15698 set dummy inews
; ac_word
=$2
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15700 $as_echo_n "checking for $ac_word... " >&6; }
15701 if ${ac_cv_path_NPA_PROG+:} false
; then :
15702 $as_echo_n "(cached) " >&6
15706 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15710 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15711 for as_dir
in $as_dummy
15714 test -z "$as_dir" && as_dir
=.
15715 for ac_exec_ext
in '' $ac_executable_extensions; do
15716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15717 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15725 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15729 NPA_PROG
=$ac_cv_path_NPA_PROG
15730 if test -n "$NPA_PROG"; then
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15732 $as_echo "$NPA_PROG" >&6; }
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15735 $as_echo "no" >&6; }
15747 # Extract the first word of "inews", so it can be a program name with args.
15748 set dummy inews
; ac_word
=$2
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15750 $as_echo_n "checking for $ac_word... " >&6; }
15751 if ${ac_cv_path_NPA_PROG+:} false
; then :
15752 $as_echo_n "(cached) " >&6
15756 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15760 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15761 for as_dir
in $as_dummy
15764 test -z "$as_dir" && as_dir
=.
15765 for ac_exec_ext
in '' $ac_executable_extensions; do
15766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15767 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15775 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15779 NPA_PROG
=$ac_cv_path_NPA_PROG
15780 if test -n "$NPA_PROG"; then
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15782 $as_echo "$NPA_PROG" >&6; }
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15785 $as_echo "no" >&6; }
15795 # Check whether --with-npa-flags was given.
15796 if test "${with_npa_flags+set}" = set; then :
15797 withval
=$with_npa_flags;
15798 if test "x$withval" != "xno" ; then
15804 if test -n "$NPA_PROG" ; then
15806 cat >>confdefs.h
<<_ACEOF
15807 #define SENDNEWS "$NPA_PROG $npa_flags"
15813 # Check whether --with-password-prog was given.
15814 if test "${with_password_prog+set}" = set; then :
15815 withval
=$with_password_prog;
15820 # Extract the first word of "passwd", so it can be a program name with args.
15821 set dummy passwd
; ac_word
=$2
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15823 $as_echo_n "checking for $ac_word... " >&6; }
15824 if ${ac_cv_path_PWPROG+:} false
; then :
15825 $as_echo_n "(cached) " >&6
15829 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15833 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15834 for as_dir
in $as_dummy
15837 test -z "$as_dir" && as_dir
=.
15838 for ac_exec_ext
in '' $ac_executable_extensions; do
15839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15840 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15848 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15852 PWPROG
=$ac_cv_path_PWPROG
15853 if test -n "$PWPROG"; then
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15855 $as_echo "$PWPROG" >&6; }
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15858 $as_echo "no" >&6; }
15864 # Extract the first word of "$withval", so it can be a program name with args.
15865 set dummy
$withval; ac_word
=$2
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15867 $as_echo_n "checking for $ac_word... " >&6; }
15868 if ${ac_cv_path_PWPROG+:} false
; then :
15869 $as_echo_n "(cached) " >&6
15873 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15877 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15878 for as_dir
in $as_dummy
15881 test -z "$as_dir" && as_dir
=.
15882 for ac_exec_ext
in '' $ac_executable_extensions; do
15883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15884 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15892 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15896 PWPROG
=$ac_cv_path_PWPROG
15897 if test -n "$PWPROG"; then
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15899 $as_echo "$PWPROG" >&6; }
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15902 $as_echo "no" >&6; }
15911 # Extract the first word of "passwd", so it can be a program name with args.
15912 set dummy passwd
; ac_word
=$2
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15914 $as_echo_n "checking for $ac_word... " >&6; }
15915 if ${ac_cv_path_PWPROG+:} false
; then :
15916 $as_echo_n "(cached) " >&6
15920 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15924 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15925 for as_dir
in $as_dummy
15928 test -z "$as_dir" && as_dir
=.
15929 for ac_exec_ext
in '' $ac_executable_extensions; do
15930 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15931 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15939 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15943 PWPROG
=$ac_cv_path_PWPROG
15944 if test -n "$PWPROG"; then
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15946 $as_echo "$PWPROG" >&6; }
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15949 $as_echo "no" >&6; }
15956 if test -n "$PWPROG" ; then
15958 cat >>confdefs.h
<<_ACEOF
15959 #define PASSWD_PROG "$PWPROG"
15965 # Check whether --with-simple-spellcheck was given.
15966 if test "${with_simple_spellcheck+set}" = set; then :
15967 withval
=$with_simple_spellcheck;
15968 if test "x$withval" != "xno" ; then
15974 # Extract the first word of "hunspell", so it can be a program name with args.
15975 set dummy hunspell
; ac_word
=$2
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15977 $as_echo_n "checking for $ac_word... " >&6; }
15978 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15979 $as_echo_n "(cached) " >&6
15981 if test -n "$SPELLPROG"; then
15982 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15985 for as_dir
in $PATH
15988 test -z "$as_dir" && as_dir
=.
15989 for ac_exec_ext
in '' $ac_executable_extensions; do
15990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15991 ac_cv_prog_SPELLPROG
="hunspell"
15992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16001 SPELLPROG
=$ac_cv_prog_SPELLPROG
16002 if test -n "$SPELLPROG"; then
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16004 $as_echo "$SPELLPROG" >&6; }
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16007 $as_echo "no" >&6; }
16011 if test -z "$SPELLPROG" ; then
16012 # Extract the first word of "aspell", so it can be a program name with args.
16013 set dummy aspell
; ac_word
=$2
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16015 $as_echo_n "checking for $ac_word... " >&6; }
16016 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16017 $as_echo_n "(cached) " >&6
16019 if test -n "$SPELLPROG"; then
16020 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16023 for as_dir
in $PATH
16026 test -z "$as_dir" && as_dir
=.
16027 for ac_exec_ext
in '' $ac_executable_extensions; do
16028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16029 ac_cv_prog_SPELLPROG
="aspell"
16030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16039 SPELLPROG
=$ac_cv_prog_SPELLPROG
16040 if test -n "$SPELLPROG"; then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16042 $as_echo "$SPELLPROG" >&6; }
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16045 $as_echo "no" >&6; }
16049 if test -z "$SPELLPROG" ; then
16050 # Extract the first word of "ispell", so it can be a program name with args.
16051 set dummy ispell
; ac_word
=$2
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16053 $as_echo_n "checking for $ac_word... " >&6; }
16054 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16055 $as_echo_n "(cached) " >&6
16057 if test -n "$SPELLPROG"; then
16058 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16061 for as_dir
in $PATH
16064 test -z "$as_dir" && as_dir
=.
16065 for ac_exec_ext
in '' $ac_executable_extensions; do
16066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16067 ac_cv_prog_SPELLPROG
="ispell"
16068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16077 SPELLPROG
=$ac_cv_prog_SPELLPROG
16078 if test -n "$SPELLPROG"; then
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16080 $as_echo "$SPELLPROG" >&6; }
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16083 $as_echo "no" >&6; }
16087 if test -z "$SPELLPROG" ; then
16096 if test "x$SPELLPROG" != "xno" ; then
16097 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
16098 set dummy
$SPELLPROG; ac_word
=$2
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16100 $as_echo_n "checking for $ac_word... " >&6; }
16101 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
16102 $as_echo_n "(cached) " >&6
16104 case $alpine_simple_spellcheck in
16106 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
16109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16110 for as_dir
in $PATH
16113 test -z "$as_dir" && as_dir
=.
16114 for ac_exec_ext
in '' $ac_executable_extensions; do
16115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16116 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16127 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
16128 if test -n "$alpine_simple_spellcheck"; then
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
16130 $as_echo "$alpine_simple_spellcheck" >&6; }
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16133 $as_echo "no" >&6; }
16137 if test -n "$alpine_simple_spellcheck" ; then
16138 case "$SPELLPROG" in
16140 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16143 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
16146 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16155 # Check whether --with-interactive-spellcheck was given.
16156 if test "${with_interactive_spellcheck+set}" = set; then :
16157 withval
=$with_interactive_spellcheck;
16158 if test "x$withval" != "xno" ; then
16159 ISPELLPROG
=$withval
16164 # Extract the first word of "hunspell", so it can be a program name with args.
16165 set dummy hunspell
; ac_word
=$2
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16167 $as_echo_n "checking for $ac_word... " >&6; }
16168 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16169 $as_echo_n "(cached) " >&6
16171 if test -n "$ISPELLPROG"; then
16172 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16175 for as_dir
in $PATH
16178 test -z "$as_dir" && as_dir
=.
16179 for ac_exec_ext
in '' $ac_executable_extensions; do
16180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16181 ac_cv_prog_ISPELLPROG
="hunspell"
16182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16191 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16192 if test -n "$ISPELLPROG"; then
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16194 $as_echo "$ISPELLPROG" >&6; }
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16197 $as_echo "no" >&6; }
16201 if test -z "$ISPELLPROG" ; then
16202 # Extract the first word of "aspell", so it can be a program name with args.
16203 set dummy aspell
; ac_word
=$2
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16205 $as_echo_n "checking for $ac_word... " >&6; }
16206 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16207 $as_echo_n "(cached) " >&6
16209 if test -n "$ISPELLPROG"; then
16210 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16213 for as_dir
in $PATH
16216 test -z "$as_dir" && as_dir
=.
16217 for ac_exec_ext
in '' $ac_executable_extensions; do
16218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16219 ac_cv_prog_ISPELLPROG
="aspell"
16220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16229 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16230 if test -n "$ISPELLPROG"; then
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16232 $as_echo "$ISPELLPROG" >&6; }
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16235 $as_echo "no" >&6; }
16239 if test -z "$SPELLPROG" ; then
16240 ISPELLPROG
="ispell"
16247 if test "x$ISPELLPROG" != "xno" ; then
16248 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
16249 set dummy
$ISPELLPROG; ac_word
=$2
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16251 $as_echo_n "checking for $ac_word... " >&6; }
16252 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
16253 $as_echo_n "(cached) " >&6
16255 case $alpine_interactive_spellcheck in
16257 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
16260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16261 for as_dir
in $PATH
16264 test -z "$as_dir" && as_dir
=.
16265 for ac_exec_ext
in '' $ac_executable_extensions; do
16266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16267 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16278 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
16279 if test -n "$alpine_interactive_spellcheck"; then
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
16281 $as_echo "$alpine_interactive_spellcheck" >&6; }
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16284 $as_echo "no" >&6; }
16288 if test -n "$alpine_interactive_spellcheck" ; then
16289 case "$ISPELLPROG" in
16291 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
16299 if test -n "$alpine_interactive_spellcheck" ; then
16301 cat >>confdefs.h
<<_ACEOF
16302 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
16307 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
16308 alpine_simple_spellcheck
=test
16311 cat >>confdefs.h
<<_ACEOF
16312 #define SPELLER "$alpine_simple_spellcheck"
16317 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
16318 *) dpv
=${prefix}/lib
/pine.conf
;;
16321 # Check whether --with-system-pinerc was given.
16322 if test "${with_system_pinerc+set}" = set; then :
16323 withval
=$with_system_pinerc;
16337 cat >>confdefs.h
<<_ACEOF
16338 #define SYSTEM_PINERC "$dpv"
16343 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
16344 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
16347 # Check whether --with-system-fixed-pinerc was given.
16348 if test "${with_system_fixed_pinerc+set}" = set; then :
16349 withval
=$with_system_fixed_pinerc;
16363 cat >>confdefs.h
<<_ACEOF
16364 #define SYSTEM_PINERC_FIXED "$dpv"
16369 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
16370 *) dpv
=${prefix}/lib
/pine.info
;;
16373 # Check whether --with-local-support-info was given.
16374 if test "${with_local_support_info+set}" = set; then :
16375 withval
=$with_local_support_info;
16389 cat >>confdefs.h
<<_ACEOF
16390 #define SYSTEM_PINE_INFO_PATH "$dpv"
16401 # Check whether --with-mailcheck-interval was given.
16402 if test "${with_mailcheck_interval+set}" = set; then :
16403 withval
=$with_mailcheck_interval;
16404 if test "x$withval" != "xno" ; then
16411 cat >>confdefs.h
<<_ACEOF
16412 #define DF_MAILCHECK "$dpv"
16419 # Check whether --with-checkpoint-interval was given.
16420 if test "${with_checkpoint_interval+set}" = set; then :
16421 withval
=$with_checkpoint_interval;
16422 if test "x$withval" != "xno" ; then
16429 cat >>confdefs.h
<<_ACEOF
16430 #define CHECK_POINT_TIME $dpv
16437 # Check whether --with-checkpoint-frequency was given.
16438 if test "${with_checkpoint_frequency+set}" = set; then :
16439 withval
=$with_checkpoint_frequency;
16440 if test "x$withval" != "xno" ; then
16447 cat >>confdefs.h
<<_ACEOF
16448 #define CHECK_POINT_FREQ $dpv
16455 # Check whether --with-display-rows was given.
16456 if test "${with_display_rows+set}" = set; then :
16457 withval
=$with_display_rows;
16458 if test "x$withval" != "xno" ; then
16465 cat >>confdefs.h
<<_ACEOF
16466 #define DEFAULT_LINES_ON_TERMINAL $dpv
16473 # Check whether --with-display-columns was given.
16474 if test "${with_display_columns+set}" = set; then :
16475 withval
=$with_display_columns;
16476 if test "x$withval" != "xno" ; then
16483 cat >>confdefs.h
<<_ACEOF
16484 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
16491 # Check whether --with-max-display-rows was given.
16492 if test "${with_max_display_rows+set}" = set; then :
16493 withval
=$with_max_display_rows;
16494 if test "x$withval" != "xno" ; then
16501 cat >>confdefs.h
<<_ACEOF
16502 #define MAX_SCREEN_ROWS $dpv
16509 # Check whether --with-max-display-columns was given.
16510 if test "${with_max_display_columns+set}" = set; then :
16511 withval
=$with_max_display_columns;
16512 if test "x$withval" != "xno" ; then
16519 cat >>confdefs.h
<<_ACEOF
16520 #define MAX_SCREEN_COLS $dpv
16527 # Check whether --with-fill-column was given.
16528 if test "${with_fill_column+set}" = set; then :
16529 withval
=$with_fill_column;
16530 if test "x$withval" != "xno" ; then
16537 cat >>confdefs.h
<<_ACEOF
16538 #define DF_FILLCOL "$dpv"
16545 # Check whether --with-max_fill-column was given.
16546 if test "${with_max_fill_column+set}" = set; then :
16547 withval
=$with_max_fill_column;
16548 if test "x$withval" != "xno" ; then
16555 cat >>confdefs.h
<<_ACEOF
16556 #define MAX_FILLCOL $dpv
16563 # Check whether --with-debug-level was given.
16564 if test "${with_debug_level+set}" = set; then :
16565 withval
=$with_debug_level;
16566 if test "x$withval" != "xno" ; then
16573 cat >>confdefs.h
<<_ACEOF
16574 #define DEFAULT_DEBUG $dpv
16581 # Check whether --with-debug-files was given.
16582 if test "${with_debug_files+set}" = set; then :
16583 withval
=$with_debug_files;
16584 if test "x$withval" != "xno" ; then
16591 cat >>confdefs.h
<<_ACEOF
16592 #define NUMDEBUGFILES $dpv
16599 # Check whether --with-debug-file was given.
16600 if test "${with_debug_file+set}" = set; then :
16601 withval
=$with_debug_file;
16602 if test "x$withval" != "xno" ; then
16609 cat >>confdefs.h
<<_ACEOF
16610 #define DEBUGFILE "$dpv"
16617 # Check whether --with-forwarded-keyword was given.
16618 if test "${with_forwarded_keyword+set}" = set; then :
16619 withval
=$with_forwarded_keyword;
16620 if test "x$withval" != "xno" ; then
16627 cat >>confdefs.h
<<_ACEOF
16628 #define FORWARDED_FLAG "$dpv"
16635 # Check whether --with-display-overlap was given.
16636 if test "${with_display_overlap+set}" = set; then :
16637 withval
=$with_display_overlap;
16638 if test "x$withval" != "xno" ; then
16645 cat >>confdefs.h
<<_ACEOF
16646 #define DF_OVERLAP "$dpv"
16653 # Check whether --with-display-margin was given.
16654 if test "${with_display_margin+set}" = set; then :
16655 withval
=$with_display_margin;
16656 if test "x$withval" != "xno" ; then
16663 cat >>confdefs.h
<<_ACEOF
16664 #define DF_MARGIN "$dpv"
16671 # Check whether --with-default-fcc was given.
16672 if test "${with_default_fcc+set}" = set; then :
16673 withval
=$with_default_fcc;
16674 if test "x$withval" != "xno" ; then
16681 cat >>confdefs.h
<<_ACEOF
16682 #define DF_DEFAULT_FCC "$dpv"
16689 # Check whether --with-default-save-folder was given.
16690 if test "${with_default_save_folder+set}" = set; then :
16691 withval
=$with_default_save_folder;
16692 if test "x$withval" != "xno" ; then
16699 cat >>confdefs.h
<<_ACEOF
16700 #define DEFAULT_SAVE "$dpv"
16707 # Check whether --with-default-legacy-postponed-folder was given.
16708 if test "${with_default_legacy_postponed_folder+set}" = set; then :
16709 withval
=$with_default_legacy_postponed_folder;
16710 if test "x$withval" != "xno" ; then
16717 cat >>confdefs.h
<<_ACEOF
16718 #define POSTPONED_MAIL "$dpv"
16725 # Check whether --with-default-postponed-folder was given.
16726 if test "${with_default_postponed_folder+set}" = set; then :
16727 withval
=$with_default_postponed_folder;
16728 if test "x$withval" != "xno" ; then
16735 cat >>confdefs.h
<<_ACEOF
16736 #define POSTPONED_MSGS "$dpv"
16743 # Check whether --with-default-trash-folder was given.
16744 if test "${with_default_trash_folder+set}" = set; then :
16745 withval
=$with_default_trash_folder;
16746 if test "x$withval" != "xno" ; then
16753 cat >>confdefs.h
<<_ACEOF
16754 #define TRASH_FOLDER "$dpv"
16759 dpv
=.pine-interrupted-mail
16761 # Check whether --with-default-interrupted-mail was given.
16762 if test "${with_default_interrupted_mail+set}" = set; then :
16763 withval
=$with_default_interrupted_mail;
16764 if test "x$withval" != "xno" ; then
16771 cat >>confdefs.h
<<_ACEOF
16772 #define INTERRUPTED_MAIL "$dpv"
16779 # Check whether --with-default-dead-letter-folder was given.
16780 if test "${with_default_dead_letter_folder+set}" = set; then :
16781 withval
=$with_default_dead_letter_folder;
16782 if test "x$withval" != "xno" ; then
16789 cat >>confdefs.h
<<_ACEOF
16790 #define DEADLETTER "$dpv"
16797 # Check whether --with-default-mail-directory was given.
16798 if test "${with_default_mail_directory+set}" = set; then :
16799 withval
=$with_default_mail_directory;
16800 if test "x$withval" != "xno" ; then
16807 cat >>confdefs.h
<<_ACEOF
16808 #define DF_MAIL_DIRECTORY "$dpv"
16815 # Check whether --with-default-inbox-name was given.
16816 if test "${with_default_inbox_name+set}" = set; then :
16817 withval
=$with_default_inbox_name;
16818 if test "x$withval" != "xno" ; then
16825 cat >>confdefs.h
<<_ACEOF
16826 #define INBOX_NAME "$dpv"
16833 # Check whether --with-default-signature-file was given.
16834 if test "${with_default_signature_file+set}" = set; then :
16835 withval
=$with_default_signature_file;
16836 if test "x$withval" != "xno" ; then
16843 cat >>confdefs.h
<<_ACEOF
16844 #define DF_SIGNATURE_FILE "$dpv"
16851 # Check whether --with-default-elm-style-save was given.
16852 if test "${with_default_elm_style_save+set}" = set; then :
16853 withval
=$with_default_elm_style_save;
16854 if test "x$withval" != "xno" ; then
16861 cat >>confdefs.h
<<_ACEOF
16862 #define DF_ELM_STYLE_SAVE "$dpv"
16869 # Check whether --with-default-header-in-reply was given.
16870 if test "${with_default_header_in_reply+set}" = set; then :
16871 withval
=$with_default_header_in_reply;
16872 if test "x$withval" != "xno" ; then
16879 cat >>confdefs.h
<<_ACEOF
16880 #define DF_HEADER_IN_REPLY "$dpv"
16887 # Check whether --with-default-old-style-reply was given.
16888 if test "${with_default_old_style_reply+set}" = set; then :
16889 withval
=$with_default_old_style_reply;
16890 if test "x$withval" != "xno" ; then
16897 cat >>confdefs.h
<<_ACEOF
16898 #define DF_OLD_STYLE_REPLY "$dpv"
16905 # Check whether --with-default-use-only-domain-name was given.
16906 if test "${with_default_use_only_domain_name+set}" = set; then :
16907 withval
=$with_default_use_only_domain_name;
16908 if test "x$withval" != "xno" ; then
16915 cat >>confdefs.h
<<_ACEOF
16916 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
16923 # Check whether --with-default-save-by-sender was given.
16924 if test "${with_default_save_by_sender+set}" = set; then :
16925 withval
=$with_default_save_by_sender;
16926 if test "x$withval" != "xno" ; then
16933 cat >>confdefs.h
<<_ACEOF
16934 #define DF_SAVE_BY_SENDER "$dpv"
16941 # Check whether --with-default-sort-key was given.
16942 if test "${with_default_sort_key+set}" = set; then :
16943 withval
=$with_default_sort_key;
16944 if test "x$withval" != "xno" ; then
16951 cat >>confdefs.h
<<_ACEOF
16952 #define DF_SORT_KEY "$dpv"
16957 dpv
=fullname-with-lists-last
16959 # Check whether --with-default-addressbook-sort-rule was given.
16960 if test "${with_default_addressbook_sort_rule+set}" = set; then :
16961 withval
=$with_default_addressbook_sort_rule;
16962 if test "x$withval" != "xno" ; then
16969 cat >>confdefs.h
<<_ACEOF
16970 #define DF_AB_SORT_RULE "$dpv"
16977 # Check whether --with-default-folder-sort-rule was given.
16978 if test "${with_default_folder_sort_rule+set}" = set; then :
16979 withval
=$with_default_folder_sort_rule;
16980 if test "x$withval" != "xno" ; then
16987 cat >>confdefs.h
<<_ACEOF
16988 #define DF_FLD_SORT_RULE "$dpv"
16995 # Check whether --with-default-saved-message-name-rule was given.
16996 if test "${with_default_saved_message_name_rule+set}" = set; then :
16997 withval
=$with_default_saved_message_name_rule;
16998 if test "x$withval" != "xno" ; then
17005 cat >>confdefs.h
<<_ACEOF
17006 #define DF_SAVED_MSG_NAME_RULE "$dpv"
17013 # Check whether --with-default-fcc-rule was given.
17014 if test "${with_default_fcc_rule+set}" = set; then :
17015 withval
=$with_default_fcc_rule;
17016 if test "x$withval" != "xno" ; then
17023 cat >>confdefs.h
<<_ACEOF
17024 #define DF_FCC_RULE "$dpv"
17031 # Check whether --with-default-standard-printer was given.
17032 if test "${with_default_standard_printer+set}" = set; then :
17033 withval
=$with_default_standard_printer;
17034 if test "x$withval" != "xno" ; then
17041 cat >>confdefs.h
<<_ACEOF
17042 #define DF_STANDARD_PRINTER "$dpv"
17047 dpv
=attached-to-ansi
17049 # Check whether --with-default-ansi-printer was given.
17050 if test "${with_default_ansi_printer+set}" = set; then :
17051 withval
=$with_default_ansi_printer;
17052 if test "x$withval" != "xno" ; then
17059 cat >>confdefs.h
<<_ACEOF
17060 #define ANSI_PRINTER "$dpv"
17067 # Check whether --with-default-addressbook was given.
17068 if test "${with_default_addressbook+set}" = set; then :
17069 withval
=$with_default_addressbook;
17070 if test "x$withval" != "xno" ; then
17077 cat >>confdefs.h
<<_ACEOF
17078 #define DF_ADDRESSBOOK "$dpv"
17083 dpv
="Local Support"
17085 # Check whether --with-default-local-fullname was given.
17086 if test "${with_default_local_fullname+set}" = set; then :
17087 withval
=$with_default_local_fullname;
17088 if test "x$withval" != "xno" ; then
17095 cat >>confdefs.h
<<_ACEOF
17096 #define DF_LOCAL_FULLNAME "$dpv"
17103 # Check whether --with-default-local-address was given.
17104 if test "${with_default_local_address+set}" = set; then :
17105 withval
=$with_default_local_address;
17106 if test "x$withval" != "xno" ; then
17113 cat >>confdefs.h
<<_ACEOF
17114 #define DF_LOCAL_ADDRESS "$dpv"
17121 # Check whether --with-default-keyboard-lock-count was given.
17122 if test "${with_default_keyboard_lock_count+set}" = set; then :
17123 withval
=$with_default_keyboard_lock_count;
17124 if test "x$withval" != "xno" ; then
17131 cat >>confdefs.h
<<_ACEOF
17132 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
17139 # Check whether --with-default-remote-addressbook-history was given.
17140 if test "${with_default_remote_addressbook_history+set}" = set; then :
17141 withval
=$with_default_remote_addressbook_history;
17142 if test "x$withval" != "xno" ; then
17149 cat >>confdefs.h
<<_ACEOF
17150 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
17155 dpv
=.alpine-smime
/public
17157 # Check whether --with-smime-public-cert-directory was given.
17158 if test "${with_smime_public_cert_directory+set}" = set; then :
17159 withval
=$with_smime_public_cert_directory;
17160 if test "x$withval" != "xno" ; then
17167 cat >>confdefs.h
<<_ACEOF
17168 #define DF_PUBLICCERT_DIR "$dpv"
17173 dpv
=.alpine-smime
/private
17175 # Check whether --with-smime-private-key-directory was given.
17176 if test "${with_smime_private_key_directory+set}" = set; then :
17177 withval
=$with_smime_private_key_directory;
17178 if test "x$withval" != "xno" ; then
17185 cat >>confdefs.h
<<_ACEOF
17186 #define DF_PRIVATEKEY_DIR "$dpv"
17191 dpv
=.alpine-smime
/ca
17193 # Check whether --with-smime-cacert-directory was given.
17194 if test "${with_smime_cacert_directory+set}" = set; then :
17195 withval
=$with_smime_cacert_directory;
17196 if test "x$withval" != "xno" ; then
17203 cat >>confdefs.h
<<_ACEOF
17204 #define DF_CACERT_DIR "$dpv"
17211 # Check whether --with-default-printer was given.
17212 if test "${with_default_printer+set}" = set; then :
17213 withval
=$with_default_printer;
17214 if test "x$withval" != "xno" ; then
17221 cat >>confdefs.h
<<_ACEOF
17222 #define DF_DEFAULT_PRINTER $dpv
17228 cat >>confdefs.h
<<_ACEOF
17229 #define DF_PUBLIC_CONTAINER "PublicContainer"
17233 cat >>confdefs.h
<<_ACEOF
17234 #define DF_PRIVATE_CONTAINER "PrivateContainer"
17238 cat >>confdefs.h
<<_ACEOF
17239 #define DF_CA_CONTAINER "CAContainer"
17244 # Check whether --with-passfile was given.
17245 if test "${with_passfile+set}" = set; then :
17246 withval
=$with_passfile;
17253 alpine_PASSFILE
=$withval
17262 # Check whether --with-local-password-cache was given.
17263 if test "${with_local_password_cache+set}" = set; then :
17264 withval
=$with_local_password_cache;
17265 alpine_os_credential_cache
=$withval
17271 # Check whether --with-local-password-cache-method was given.
17272 if test "${with_local_password_cache_method+set}" = set; then :
17273 withval
=$with_local_password_cache_method;
17274 alpine_os_credential_cache_method
=$withval
17279 if test -n "$alpine_PASSFILE" ; then
17280 case $alpine_os_credential_cache in
17284 alpine_os_credential_cache
="no"
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
17286 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
17290 cat >>confdefs.h
<<_ACEOF
17291 #define PASSFILE "$alpine_PASSFILE"
17297 # Check whether --with-default-sshpath was given.
17298 if test "${with_default_sshpath+set}" = set; then :
17299 withval
=$with_default_sshpath;
17307 cat >>confdefs.h
<<_ACEOF
17308 #define DF_SSHPATH "$withval"
17318 # Check whether --with-default-sshcmd was given.
17319 if test "${with_default_sshcmd+set}" = set; then :
17320 withval
=$with_default_sshcmd;
17328 cat >>confdefs.h
<<_ACEOF
17329 #define DF_SSHCMD "$withval"
17339 # Check whether --with-ssl was given.
17340 if test "${with_ssl+set}" = set; then :
17341 withval
=$with_ssl; with_ssl
=$withval
17345 if test "x$with_ssl" = "xno" ; then
17346 alpine_SSLTYPE
="none"
17347 elif test -d /usr
/local
/ssl
; then
17348 alpine_SSLDIR
="/usr/local/ssl"
17349 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17350 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17353 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17354 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17355 alpine_SSLTYPE
="nopwd"
17356 if test -d /etc
/pki
/tls
; then
17357 alpine_SSLDIR
="/etc/pki/tls"
17359 alpine_SSLDIR
="/usr/share/ssl"
17361 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17362 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17363 alpine_SSLINCLUDE
="/usr/include/openssl"
17364 alpine_SSLLIB
="/usr/lib"
17365 elif test -f /etc
/mandrake-release
; then
17366 alpine_SSLDIR
="/usr/lib/ssl"
17367 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17368 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17369 alpine_SSLINCLUDE
="/usr/include/openssl"
17370 alpine_SSLLIB
="/usr/lib"
17371 elif test -f /etc
/SuSE-release
; then
17372 alpine_SSLTYPE
="nopwd"
17373 alpine_SSLDIR
="/etc/ssl"
17374 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17375 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17376 alpine_SSLINCLUDE
="/usr/include/openssl"
17377 alpine_SSLLIB
="/usr/lib"
17378 elif test -d /etc
/osso-af-init
; then
17379 alpine_SSLTYPE
="nopwd"
17380 alpine_SSLDIR
="/usr"
17381 alpine_SSLCERTS
="/usr/share/certs"
17382 alpine_SSLINCLUDE
="/usr/include/openssl"
17383 alpine_SSLLIB
="/usr/lib"
17384 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17385 if test ! -d /etc
/osso-af-init
; then
17386 alpine_SSLDIR
="/etc/ssl"
17387 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17388 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17389 alpine_SSLINCLUDE
="/usr/include/openssl"
17390 alpine_SSLLIB
="/usr/lib"
17392 elif test -f /etc
/manjaro-release
; then
17393 alpine_SSLDIR
="/etc/ssl"
17394 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17395 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17396 alpine_SSLINCLUDE
="/usr/include/openssl"
17397 alpine_SSLLIB
="/usr/lib"
17399 alpine_SSLTYPE
="nopwd"
17400 alpine_SSLDIR
="/usr"
17401 alpine_SSLCERTS
="/etc/ssl/certs"
17405 alpine_SSLTYPE
="nopwd"
17406 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
17407 if test -d /usr
/local
/opt
/openssl
; then
17408 alpine_SSLDIR
="/usr/local/opt/openssl"
17409 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17410 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17411 alpine_SSLCERTS
="/usr/local/etc/openssl"
17412 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17413 elif test -d /opt
/local
/etc
/openssl
; then
17414 alpine_SSLDIR
="/opt/local"
17415 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17416 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17417 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
17418 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
17419 elif test -d /sw
/etc
/ssl
; then
17420 alpine_SSLDIR
="/sw/etc/ssl"
17421 alpine_SSLINCLUDE
="/sw/include"
17422 alpine_SSLLIB
="/sw/lib"
17423 alpine_SSLCERTS
="/sw/etc/ssl/certs"
17424 alpine_SSLKEYS
="/sw/etc/ssl/private"
17425 elif test -d /usr
/local
/ssl
; then
17426 alpine_SSLDIR
="/usr/local/ssl"
17427 elif test -d /System
/Library
/OpenSSL
; then
17428 alpine_SSLDIR
="/System/Library/OpenSSL"
17429 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17430 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17431 alpine_SSLLIB
="/usr/lib"
17432 alpine_SSLINCLUDE
="/usr/include/openssl"
17436 alpine_SSLDIR
="/etc/openssl"
17437 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17438 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17439 alpine_SSLINCLUDE
="/usr/include/openssl"
17440 alpine_SSLLIB
="/usr/lib"
17443 alpine_SSLDIR
="/etc/openssl"
17444 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17445 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17446 alpine_SSLINCLUDE
="/usr/include/openssl"
17447 alpine_SSLLIB
="/usr/lib"
17450 alpine_SSLTYPE
="nopwd"
17451 alpine_SSLDIR
="/usr"
17452 alpine_SSLCERTS
="/etc/ssl/certs"
17455 alpine_SSLDIR
="/etc/ssl"
17456 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17457 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17458 if test -d /usr
/local
/include
/openssl
; then
17459 alpine_SSLINCLUDE
="/usr/local/include/openssl"
17460 alpine_SSLLIB
="/usr/local/lib"
17462 alpine_SSLINCLUDE
="/usr/include/openssl"
17463 alpine_SSLLIB
="/usr/lib"
17467 alpine_SSLDIR
="/etc/ssl"
17468 alpine_SSLINCLUDE
="/usr/include/openssl"
17469 alpine_SSLLIB
="/usr/lib"
17470 alpine_SSLCERTS
="/etc/ssl"
17471 alpine_SSLKEYS
="/etc/ssl/private"
17474 alpine_SSLDIR
="/usr/ssl"
17475 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17476 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
17477 alpine_SSLINCLUDE
="/usr/include/openssl"
17478 alpine_SSLLIB
="/usr/lib"
17480 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
17481 alpine_SSLTYPE
="sco.nopwd"
17482 alpine_SSLDIR
="/usr/local/ssl"
17485 if test -d /usr
/include
/openssl
; then
17486 alpine_SSLINCLUDE
="/usr/include/openssl"
17487 elif test -d /usr
/sfw
/include
/openssl
; then
17488 alpine_SSLDIR
="/usr/sfw"
17489 elif test -d /opt
/csw
/include
/openssl
; then
17490 alpine_SSLDIR
="/opt/csw"
17491 if test -d /opt
/csw
/ssl
/certs
; then
17492 alpine_SSLCERTS
="/opt/csw/ssl/certs"
17495 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
17496 alpine_SSLCERTS
="/etc/certs"
17500 alpine_SSLTYPE
="nopwd"
17501 alpine_SSLDIR
="/usr/local/ssl"
17506 if test "x$alpine_SSLTYPE" != "xnone" ; then
17508 # Check whether --with-ssl-dir was given.
17509 if test "${with_ssl_dir+set}" = set; then :
17510 withval
=$with_ssl_dir;
17511 if test "x$withval" != "xno" ; then
17512 alpine_SSLDIR
=$withval
17513 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
17514 alpine_SSLLIB
=$alpine_SSLDIR/lib
17521 # Check whether --with-ssl-certs-dir was given.
17522 if test "${with_ssl_certs_dir+set}" = set; then :
17523 withval
=$with_ssl_certs_dir;
17524 if test "x$withval" != "xno" ; then
17525 alpine_SSLCERTS
=$withval
17532 # Check whether --with-ssl-include-dir was given.
17533 if test "${with_ssl_include_dir+set}" = set; then :
17534 withval
=$with_ssl_include_dir;
17535 if test "x$withval" != "xno" ; then
17536 alpine_SSLINCLUDE
=$withval
17543 # Check whether --with-ssl-lib-dir was given.
17544 if test "${with_ssl_lib_dir+set}" = set; then :
17545 withval
=$with_ssl_lib_dir;
17546 if test "x$withval" != "xno" ; then
17547 alpine_SSLLIB
=$withval
17553 if test -n "$alpine_SSLINCLUDE" ; then
17554 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
17555 elif test -n "$alpine_SSLDIR" ; then
17556 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
17558 if test -n "$alpine_SSLLIB" ; then
17559 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
17560 elif test -n "$alpine_SSLDIR" ; then
17561 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
17567 # Check whether --with-krb5 was given.
17568 if test "${with_krb5+set}" = set; then :
17569 withval
=$with_krb5; with_krb5
=$withval
17573 if test "x$with_krb5" = "xno" ; then
17574 alpine_GSSTYPE
="none"
17579 # Check whether --with-krb5-dir was given.
17580 if test "${with_krb5_dir+set}" = set; then :
17581 withval
=$with_krb5_dir;
17582 if test "x$withval" != "xno" ; then
17583 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17584 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17591 # Check whether --with-krb5-include-dir was given.
17592 if test "${with_krb5_include_dir+set}" = set; then :
17593 withval
=$with_krb5_include_dir;
17594 if test "x$withval" != "xno" ; then
17595 CPPFLAGS
="$CPPFLAGS -I$withval"
17602 # Check whether --with-krb5-lib-dir was given.
17603 if test "${with_krb5_lib_dir+set}" = set; then :
17604 withval
=$with_krb5_lib_dir;
17605 if test "x$withval" != "xno" ; then
17606 LDFLAGS
="$LDFLAGS -L$withval"
17614 # Check whether --with-ldap was given.
17615 if test "${with_ldap+set}" = set; then :
17616 withval
=$with_ldap; with_ldap
=$withval
17620 if test "x$with_ldap" = "xno" ; then
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
17623 $as_echo "$as_me: Excluding LDAP Support" >&6;}
17626 alpine_with_ldap
=yes
17628 # Check whether --with-ldap-dir was given.
17629 if test "${with_ldap_dir+set}" = set; then :
17630 withval
=$with_ldap_dir;
17631 if test "x$withval" != "xno" ; then
17632 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17633 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17640 # Check whether --with-ldap-include-dir was given.
17641 if test "${with_ldap_include_dir+set}" = set; then :
17642 withval
=$with_ldap_include_dir;
17643 if test "x$withval" != "xno" ; then
17644 CPPFLAGS
="$CPPFLAGS -I$withval"
17651 # Check whether --with-ldap-lib-dir was given.
17652 if test "${with_ldap_lib_dir+set}" = set; then :
17653 withval
=$with_ldap_lib_dir;
17654 if test "x$withval" != "xno" ; then
17655 LDFLAGS
="$LDFLAGS -L$withval"
17663 # Check whether --with-smime was given.
17664 if test "${with_smime+set}" = set; then :
17665 withval
=$with_smime; with_smime
=$withval
17670 # Check whether --with-tcl was given.
17671 if test "${with_tcl+set}" = set; then :
17672 withval
=$with_tcl; with_tcl
=$withval
17676 if test "x$with_tcl" = "xno" ; then
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
17679 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
17682 # Check whether --with-tcl-lib was given.
17683 if test "${with_tcl_lib+set}" = set; then :
17684 withval
=$with_tcl_lib;
17685 if test "x$withval" != "xno" ; then
17686 alpine_TCLLIB
=$withval
17692 # Check whether --with-tcl-include was given.
17693 if test "${with_tcl_include+set}" = set; then :
17694 withval
=$with_tcl_include;
17695 if test "x$withval" != "xno" ; then
17696 CPPFLAGS
="$CPPFLAGS -I$withval"
17697 alpine_TCLINC
=$withval
17705 # Check whether --with-supplied-regex was given.
17706 if test "${with_supplied_regex+set}" = set; then :
17707 withval
=$with_supplied_regex; alpine_REGEX
=$withval
17712 # Check whether --with-pthread was given.
17713 if test "${with_pthread+set}" = set; then :
17714 withval
=$with_pthread; with_pthread
=$withval
17719 # Check whether --with-system-mail-directory was given.
17720 if test "${with_system_mail_directory+set}" = set; then :
17721 withval
=$with_system_mail_directory;
17722 if test "x$withval" != "xno" ; then
17723 alpine_with_local_maildir
="$withval"
17730 # Check whether --with-c-client-target was given.
17731 if test "${with_c_client_target+set}" = set; then :
17732 withval
=$with_c_client_target;
17733 if test "x$withval" != "xno" ;then
17734 alpine_with_c_client_target
="$withval"
17744 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17745 alpine_path_delim
="/"
17746 alpine_mode_readonly
="(0600)"
17747 if test -f /etc
/fedora-release
; then
17750 if test -d /etc
/pki
/tls
; then
17751 alpine_c_client_target
="lfd"
17753 alpine_c_client_target
="lrh"
17755 elif test -f /etc
/mandrake-release
; then
17757 alpine_c_client_target
="lmd"
17759 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17762 if test -d /etc
/pki
/tls
; then
17763 alpine_c_client_target
="lr5"
17765 alpine_c_client_target
="lrh"
17767 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17768 if test -d /etc
/osso-af-init
; then
17770 alpine_c_client_target
="ln8"
17773 alpine_c_client_target
="ldb"
17776 elif test -f /etc
/SuSE-release
; then
17778 alpine_c_client_target
="lsu"
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17783 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17784 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17785 $as_echo_n "(cached) " >&6
17787 ac_check_lib_save_LIBS
=$LIBS
17789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17792 /* Override any GCC internal prototype to avoid an error.
17793 Use char because int might match the return type of a GCC
17794 builtin and then its argument prototype would still apply. */
17802 return pam_start ();
17807 if ac_fn_c_try_link
"$LINENO"; then :
17808 ac_cv_lib_pam_pam_start
=yes
17810 ac_cv_lib_pam_pam_start
=no
17812 rm -f core conftest.err conftest.
$ac_objext \
17813 conftest
$ac_exeext conftest.
$ac_ext
17814 LIBS
=$ac_check_lib_save_LIBS
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17817 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17818 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17820 alpine_c_client_target
="lnp"
17825 if test -f /etc
/shadow
; then
17826 alpine_c_client_target
="slx"
17828 alpine_c_client_target
="lnx"
17837 alpine_path_delim
="/"
17838 alpine_mode_readonly
="(0600)"
17839 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
17840 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
17842 $as_echo "#define OSX_TARGET 1" >>confdefs.h
17844 case "$alpine_os_credential_cache" in
17849 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17854 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17855 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17856 $as_echo_n "(cached) " >&6
17858 ac_check_lib_save_LIBS
=$LIBS
17860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17863 /* Override any GCC internal prototype to avoid an error.
17864 Use char because int might match the return type of a GCC
17865 builtin and then its argument prototype would still apply. */
17873 return pam_start ();
17878 if ac_fn_c_try_link
"$LINENO"; then :
17879 ac_cv_lib_pam_pam_start
=yes
17881 ac_cv_lib_pam_pam_start
=no
17883 rm -f core conftest.err conftest.
$ac_objext \
17884 conftest
$ac_exeext conftest.
$ac_ext
17885 LIBS
=$ac_check_lib_save_LIBS
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17888 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17889 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17891 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17892 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
17895 alpine_c_client_target
="oxs"
17898 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17899 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
17902 alpine_c_client_target
="oxp"
17907 alpine_pam_none_reason
="header files not found"
17919 alpine_c_client_target
="osx"
17925 if test x
$GCC = "xyes" ; then
17927 alpine_c_client_target
="gso"
17928 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
17931 alpine_c_client_target
="soc"
17933 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
17936 alpine_path_delim
="/"
17937 alpine_mode_readonly
="(0600)"
17941 alpine_path_delim
="/"
17942 alpine_mode_readonly
="(0600)"
17943 alpine_c_client_target
="s40"
17946 if test x
$GCC = "xyes" ; then
17948 alpine_c_client_target
="go5"
17951 alpine_c_client_target
="sc5"
17953 alpine_path_delim
="/"
17954 alpine_mode_readonly
="(0600)"
17958 alpine_path_delim
="/"
17959 alpine_mode_readonly
="(0600)"
17960 alpine_c_client_target
="nx3"
17964 alpine_path_delim
="/"
17965 alpine_mode_readonly
="(0600)"
17966 alpine_c_client_target
="neb"
17970 alpine_path_delim
="/"
17971 alpine_mode_readonly
="(0600)"
17972 alpine_c_client_target
="neb"
17976 alpine_path_delim
="/"
17977 alpine_mode_readonly
="(0600)"
17978 alpine_c_client_target
="bsi"
17982 alpine_path_delim
="/"
17983 alpine_mode_readonly
="(0600)"
17984 alpine_c_client_target
="bsf"
17985 LIBS
="$LIBS $LIBINTL"
17989 alpine_path_delim
="/"
17990 alpine_mode_readonly
="(0600)"
17991 alpine_c_client_target
="bso"
17992 LIBS
="$LIBS $LIBINTL"
17996 alpine_path_delim
="/"
17997 alpine_mode_readonly
="(0600)"
17998 alpine_c_client_target
="a52"
18002 alpine_path_delim
="/"
18003 alpine_mode_readonly
="(0600)"
18004 alpine_c_client_target
="a41"
18008 alpine_path_delim
="/"
18009 alpine_mode_readonly
="(0600)"
18010 alpine_c_client_target
="a32"
18012 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
18014 alpine_path_delim
="/"
18015 alpine_mode_readonly
="(0600)"
18016 alpine_c_client_target
="uw2"
18020 alpine_path_delim
="/"
18021 alpine_mode_readonly
="(0600)"
18022 alpine_c_client_target
="osf"
18026 alpine_path_delim
="/"
18027 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18028 alpine_c_client_target
="cyg"
18029 LIBS
="$LIBS $LIBINTL"
18031 windows
* |
*-*-pw32*)
18033 alpine_path_delim
="\\"
18034 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18035 alpine_c_client_target
="wnt"
18037 $as_echo "#define _WINDOWS 1" >>confdefs.h
18041 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
18046 # Check whether --with-ipv6 was given.
18047 if test "${with_ipv6+set}" = set; then :
18048 withval
=$with_ipv6; with_ipv6
=$withval
18052 if test "x$with_ipv6" = "xno" ; then
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
18054 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
18055 c_client_specials
="${c_client_specials}IP6=4 "
18056 c_client_ip6
="true"
18058 c_client_ip6
="touch imap/ip6"
18063 if test x
$enable_dmalloc = "xyes" ; then
18064 if test "x$with_pthread" = "xyes" ; then
18065 dmalloc_lib
=dmallocth
18067 dmalloc_lib
=dmalloc
18070 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
18072 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
18073 if eval \
${$as_ac_Lib+:} false
; then :
18074 $as_echo_n "(cached) " >&6
18076 ac_check_lib_save_LIBS
=$LIBS
18077 LIBS
="-l$dmalloc_lib $LIBS"
18078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18079 /* end confdefs.h. */
18081 /* Override any GCC internal prototype to avoid an error.
18082 Use char because int might match the return type of a GCC
18083 builtin and then its argument prototype would still apply. */
18087 char dmalloc_shutdown ();
18091 return dmalloc_shutdown ();
18096 if ac_fn_c_try_link
"$LINENO"; then :
18097 eval "$as_ac_Lib=yes"
18099 eval "$as_ac_Lib=no"
18101 rm -f core conftest.err conftest.
$ac_objext \
18102 conftest
$ac_exeext conftest.
$ac_ext
18103 LIBS
=$ac_check_lib_save_LIBS
18105 eval ac_res
=\$
$as_ac_Lib
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18107 $as_echo "$ac_res" >&6; }
18108 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
18109 cat >>confdefs.h
<<_ACEOF
18110 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
18113 LIBS
="-l$dmalloc_lib $LIBS"
18117 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
18124 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
18125 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
18126 $as_echo_n "(cached) " >&6
18128 ac_check_lib_save_LIBS
=$LIBS
18129 LIBS
="-ltinfo $LIBS"
18130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18133 /* Override any GCC internal prototype to avoid an error.
18134 Use char because int might match the return type of a GCC
18135 builtin and then its argument prototype would still apply. */
18143 return setupterm ();
18148 if ac_fn_c_try_link
"$LINENO"; then :
18149 ac_cv_lib_tinfo_setupterm
=yes
18151 ac_cv_lib_tinfo_setupterm
=no
18153 rm -f core conftest.err conftest.
$ac_objext \
18154 conftest
$ac_exeext conftest.
$ac_ext
18155 LIBS
=$ac_check_lib_save_LIBS
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
18158 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
18159 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
18161 alpine_termdata
=info
18162 LIBS
="$LIBS -ltinfo"
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
18167 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
18168 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
18169 $as_echo_n "(cached) " >&6
18171 ac_check_lib_save_LIBS
=$LIBS
18172 LIBS
="-lncurses $LIBS"
18173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18186 return setupterm ();
18191 if ac_fn_c_try_link
"$LINENO"; then :
18192 ac_cv_lib_ncurses_setupterm
=yes
18194 ac_cv_lib_ncurses_setupterm
=no
18196 rm -f core conftest.err conftest.
$ac_objext \
18197 conftest
$ac_exeext conftest.
$ac_ext
18198 LIBS
=$ac_check_lib_save_LIBS
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
18201 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
18202 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
18204 alpine_termdata
=info
18205 LIBS
="$LIBS -lncurses"
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
18210 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
18211 if ${ac_cv_lib_curses_setupterm+:} false
; then :
18212 $as_echo_n "(cached) " >&6
18214 ac_check_lib_save_LIBS
=$LIBS
18215 LIBS
="-lcurses $LIBS"
18216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18219 /* Override any GCC internal prototype to avoid an error.
18220 Use char because int might match the return type of a GCC
18221 builtin and then its argument prototype would still apply. */
18229 return setupterm ();
18234 if ac_fn_c_try_link
"$LINENO"; then :
18235 ac_cv_lib_curses_setupterm
=yes
18237 ac_cv_lib_curses_setupterm
=no
18239 rm -f core conftest.err conftest.
$ac_objext \
18240 conftest
$ac_exeext conftest.
$ac_ext
18241 LIBS
=$ac_check_lib_save_LIBS
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
18244 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
18245 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
18247 alpine_termdata
=info
18248 LIBS
="$LIBS -lcurses"
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
18253 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
18254 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
18255 $as_echo_n "(cached) " >&6
18257 ac_check_lib_save_LIBS
=$LIBS
18258 LIBS
="-ltermlib $LIBS"
18259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18262 /* Override any GCC internal prototype to avoid an error.
18263 Use char because int might match the return type of a GCC
18264 builtin and then its argument prototype would still apply. */
18277 if ac_fn_c_try_link
"$LINENO"; then :
18278 ac_cv_lib_termlib_tgetent
=yes
18280 ac_cv_lib_termlib_tgetent
=no
18282 rm -f core conftest.err conftest.
$ac_objext \
18283 conftest
$ac_exeext conftest.
$ac_ext
18284 LIBS
=$ac_check_lib_save_LIBS
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
18287 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
18288 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
18290 alpine_termdata
=cap
18291 LIBS
="$LIBS -ltermlib"
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
18296 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
18297 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
18298 $as_echo_n "(cached) " >&6
18300 ac_check_lib_save_LIBS
=$LIBS
18301 LIBS
="-ltermcap $LIBS"
18302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18303 /* end confdefs.h. */
18305 /* Override any GCC internal prototype to avoid an error.
18306 Use char because int might match the return type of a GCC
18307 builtin and then its argument prototype would still apply. */
18320 if ac_fn_c_try_link
"$LINENO"; then :
18321 ac_cv_lib_termcap_tgetent
=yes
18323 ac_cv_lib_termcap_tgetent
=no
18325 rm -f core conftest.err conftest.
$ac_objext \
18326 conftest
$ac_exeext conftest.
$ac_ext
18327 LIBS
=$ac_check_lib_save_LIBS
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
18330 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
18331 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
18333 alpine_termdata
=cap
18334 LIBS
="$LIBS -ltermcap"
18338 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
18354 case $alpine_termdata in
18357 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
18362 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18368 $as_echo_n "checking for library containing dlopen... " >&6; }
18369 if ${ac_cv_search_dlopen+:} false
; then :
18370 $as_echo_n "(cached) " >&6
18372 ac_func_search_save_LIBS
=$LIBS
18373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18376 /* Override any GCC internal prototype to avoid an error.
18377 Use char because int might match the return type of a GCC
18378 builtin and then its argument prototype would still apply. */
18391 for ac_lib
in '' dl dld
; do
18392 if test -z "$ac_lib"; then
18393 ac_res
="none required"
18396 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18398 if ac_fn_c_try_link
"$LINENO"; then :
18399 ac_cv_search_dlopen
=$ac_res
18401 rm -f core conftest.err conftest.
$ac_objext \
18403 if ${ac_cv_search_dlopen+:} false
; then :
18407 if ${ac_cv_search_dlopen+:} false
; then :
18410 ac_cv_search_dlopen
=no
18412 rm conftest.
$ac_ext
18413 LIBS
=$ac_func_search_save_LIBS
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18416 $as_echo "$ac_cv_search_dlopen" >&6; }
18417 ac_res
=$ac_cv_search_dlopen
18418 if test "$ac_res" != no
; then :
18419 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18425 if test "x$alpine_DL" = "xnone" ; then
18426 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
18430 if test "x$alpine_SSLTYPE" != "xnone" ; then
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
18432 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
18433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18437 #include <stdlib.h>
18439 #include <stdint.h>
18440 #endif /* HAVE_STDINT_H */
18441 #include <openssl/ssl.h>
18447 #if OPENSSL_VERSION_NUMBER < 0x20000000L
18455 if ac_fn_c_try_compile
"$LINENO"; then :
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18457 $as_echo "yes" >&6; }
18458 alpine_SSLPROVIDER
="libressl"
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18462 $as_echo "no" >&6; }
18465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18468 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
18470 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
18471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18472 /* end confdefs.h. */
18475 #include <stdlib.h>
18477 #include <stdint.h>
18478 #endif /* HAVE_STDINT_H */
18479 #include <openssl/ssl.h>
18485 #if OPENSSL_VERSION_NUMBER < 0x1000003fL
18493 if ac_fn_c_try_compile
"$LINENO"; then :
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18495 $as_echo "yes" >&6; }
18496 alpine_SSLPROVIDER
="openssl"
18499 alpine_SSLTYPE
="none"
18501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18503 if test "x$alpine_SSLTYPE" = "xnone" ; then
18504 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
18509 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
18511 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
18512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18516 #include <stdlib.h>
18518 #include <stdint.h>
18519 #endif /* HAVE_STDINT_H */
18520 #include <openssl/ssl.h>
18526 #if OPENSSL_VERSION_NUMBER < 0x10100000L
18534 if ac_fn_c_try_compile
"$LINENO"; then :
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18536 $as_echo "yes" >&6; }
18537 alpine_SSLVERSION
="new"
18538 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18542 $as_echo "no" >&6; }
18543 alpine_SSLVERSION
="old"
18545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18548 if test "x$alpine_SSLTYPE" != "xnone" ; then
18549 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
18551 $as_echo_n "checking for library containing SSLeay... " >&6; }
18552 if ${ac_cv_search_SSLeay+:} false
; then :
18553 $as_echo_n "(cached) " >&6
18555 ac_func_search_save_LIBS
=$LIBS
18556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18559 /* Override any GCC internal prototype to avoid an error.
18560 Use char because int might match the return type of a GCC
18561 builtin and then its argument prototype would still apply. */
18574 for ac_lib
in '' crypto
; do
18575 if test -z "$ac_lib"; then
18576 ac_res
="none required"
18579 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18581 if ac_fn_c_try_link
"$LINENO"; then :
18582 ac_cv_search_SSLeay
=$ac_res
18584 rm -f core conftest.err conftest.
$ac_objext \
18586 if ${ac_cv_search_SSLeay+:} false
; then :
18590 if ${ac_cv_search_SSLeay+:} false
; then :
18593 ac_cv_search_SSLeay
=no
18595 rm conftest.
$ac_ext
18596 LIBS
=$ac_func_search_save_LIBS
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
18599 $as_echo "$ac_cv_search_SSLeay" >&6; }
18600 ac_res
=$ac_cv_search_SSLeay
18601 if test "$ac_res" != no
; then :
18602 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18605 alpine_CRYPTO
="none"
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
18610 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
18611 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18612 $as_echo_n "(cached) " >&6
18614 ac_func_search_save_LIBS
=$LIBS
18615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18618 /* Override any GCC internal prototype to avoid an error.
18619 Use char because int might match the return type of a GCC
18620 builtin and then its argument prototype would still apply. */
18624 char OpenSSL_version_num ();
18628 return OpenSSL_version_num ();
18633 for ac_lib
in '' crypto
; do
18634 if test -z "$ac_lib"; then
18635 ac_res
="none required"
18638 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18640 if ac_fn_c_try_link
"$LINENO"; then :
18641 ac_cv_search_OpenSSL_version_num
=$ac_res
18643 rm -f core conftest.err conftest.
$ac_objext \
18645 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18649 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18652 ac_cv_search_OpenSSL_version_num
=no
18654 rm conftest.
$ac_ext
18655 LIBS
=$ac_func_search_save_LIBS
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
18658 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
18659 ac_res
=$ac_cv_search_OpenSSL_version_num
18660 if test "$ac_res" != no
; then :
18661 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18664 alpine_CRYPTO
="none"
18668 if test "x$alpine_CRYPTO" = "xnone" ; then
18669 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
18674 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
18675 if test "x$ac_cv_header_crypto_h" = xyes
; then :
18678 alpine_CRYPTO_DEVEL
="none"
18682 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
18683 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
18691 if test "x$alpine_SSLTYPE" != "xnone" ; then
18692 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
18694 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
18695 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18696 $as_echo_n "(cached) " >&6
18698 ac_func_search_save_LIBS
=$LIBS
18699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18702 /* Override any GCC internal prototype to avoid an error.
18703 Use char because int might match the return type of a GCC
18704 builtin and then its argument prototype would still apply. */
18708 char TLSv1_2_client_method ();
18712 return TLSv1_2_client_method ();
18717 for ac_lib
in '' ssl
; do
18718 if test -z "$ac_lib"; then
18719 ac_res
="none required"
18722 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18724 if ac_fn_c_try_link
"$LINENO"; then :
18725 ac_cv_search_TLSv1_2_client_method
=$ac_res
18727 rm -f core conftest.err conftest.
$ac_objext \
18729 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18733 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18736 ac_cv_search_TLSv1_2_client_method
=no
18738 rm conftest.
$ac_ext
18739 LIBS
=$ac_func_search_save_LIBS
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
18742 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
18743 ac_res
=$ac_cv_search_TLSv1_2_client_method
18744 if test "$ac_res" != no
; then :
18745 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18746 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
18748 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLS_client_method" >&5
18755 $as_echo_n "checking for library containing TLS_client_method... " >&6; }
18756 if ${ac_cv_search_TLS_client_method+:} false
; then :
18757 $as_echo_n "(cached) " >&6
18759 ac_func_search_save_LIBS
=$LIBS
18760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18763 /* Override any GCC internal prototype to avoid an error.
18764 Use char because int might match the return type of a GCC
18765 builtin and then its argument prototype would still apply. */
18769 char TLS_client_method ();
18773 return TLS_client_method ();
18778 for ac_lib
in '' ssl
; do
18779 if test -z "$ac_lib"; then
18780 ac_res
="none required"
18783 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18785 if ac_fn_c_try_link
"$LINENO"; then :
18786 ac_cv_search_TLS_client_method
=$ac_res
18788 rm -f core conftest.err conftest.
$ac_objext \
18790 if ${ac_cv_search_TLS_client_method+:} false
; then :
18794 if ${ac_cv_search_TLS_client_method+:} false
; then :
18797 ac_cv_search_TLS_client_method
=no
18799 rm conftest.
$ac_ext
18800 LIBS
=$ac_func_search_save_LIBS
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLS_client_method" >&5
18803 $as_echo "$ac_cv_search_TLS_client_method" >&6; }
18804 ac_res
=$ac_cv_search_TLS_client_method
18805 if test "$ac_res" != no
; then :
18806 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18809 alpine_SSLTYPE
="none"
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DTLS_client_method" >&5
18813 $as_echo_n "checking for library containing DTLS_client_method... " >&6; }
18814 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18815 $as_echo_n "(cached) " >&6
18817 ac_func_search_save_LIBS
=$LIBS
18818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18819 /* end confdefs.h. */
18821 /* Override any GCC internal prototype to avoid an error.
18822 Use char because int might match the return type of a GCC
18823 builtin and then its argument prototype would still apply. */
18827 char DTLS_client_method ();
18831 return DTLS_client_method ();
18836 for ac_lib
in '' ssl
; do
18837 if test -z "$ac_lib"; then
18838 ac_res
="none required"
18841 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18843 if ac_fn_c_try_link
"$LINENO"; then :
18844 ac_cv_search_DTLS_client_method
=$ac_res
18846 rm -f core conftest.err conftest.
$ac_objext \
18848 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18852 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18855 ac_cv_search_DTLS_client_method
=no
18857 rm conftest.
$ac_ext
18858 LIBS
=$ac_func_search_save_LIBS
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DTLS_client_method" >&5
18861 $as_echo "$ac_cv_search_DTLS_client_method" >&6; }
18862 ac_res
=$ac_cv_search_DTLS_client_method
18863 if test "$ac_res" != no
; then :
18864 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18867 alpine_SSLTYPE
="none"
18870 if test "x$alpine_SSLTYPE" != "xnone" ; then
18871 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
18873 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18879 if test "x$alpine_SSLTYPE" != "xnone" ; then
18880 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
18882 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
18883 if ${ac_cv_search_SSL_library_init+:} false
; then :
18884 $as_echo_n "(cached) " >&6
18886 ac_func_search_save_LIBS
=$LIBS
18887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18890 /* Override any GCC internal prototype to avoid an error.
18891 Use char because int might match the return type of a GCC
18892 builtin and then its argument prototype would still apply. */
18896 char SSL_library_init ();
18900 return SSL_library_init ();
18905 for ac_lib
in '' ssl
; do
18906 if test -z "$ac_lib"; then
18907 ac_res
="none required"
18910 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18912 if ac_fn_c_try_link
"$LINENO"; then :
18913 ac_cv_search_SSL_library_init
=$ac_res
18915 rm -f core conftest.err conftest.
$ac_objext \
18917 if ${ac_cv_search_SSL_library_init+:} false
; then :
18921 if ${ac_cv_search_SSL_library_init+:} false
; then :
18924 ac_cv_search_SSL_library_init
=no
18926 rm conftest.
$ac_ext
18927 LIBS
=$ac_func_search_save_LIBS
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
18930 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
18931 ac_res
=$ac_cv_search_SSL_library_init
18932 if test "$ac_res" != no
; then :
18933 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18936 alpine_SSLTYPE
="none"
18939 if test "x$alpine_SSLTYPE" = "xnone" ; then
18940 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
18945 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
18946 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18947 $as_echo_n "(cached) " >&6
18949 ac_func_search_save_LIBS
=$LIBS
18950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18953 /* Override any GCC internal prototype to avoid an error.
18954 Use char because int might match the return type of a GCC
18955 builtin and then its argument prototype would still apply. */
18959 char OPENSSL_init_ssl ();
18963 return OPENSSL_init_ssl ();
18968 for ac_lib
in '' ssl
; do
18969 if test -z "$ac_lib"; then
18970 ac_res
="none required"
18973 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18975 if ac_fn_c_try_link
"$LINENO"; then :
18976 ac_cv_search_OPENSSL_init_ssl
=$ac_res
18978 rm -f core conftest.err conftest.
$ac_objext \
18980 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18984 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18987 ac_cv_search_OPENSSL_init_ssl
=no
18989 rm conftest.
$ac_ext
18990 LIBS
=$ac_func_search_save_LIBS
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
18993 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
18994 ac_res
=$ac_cv_search_OPENSSL_init_ssl
18995 if test "$ac_res" != no
; then :
18996 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18999 alpine_SSLTYPE
="none"
19002 if test "x$alpine_SSLTYPE" = "xnone" ; then
19003 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
19009 if test "$alpine_with_ldap" = "yes" ; then
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
19012 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
19013 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
19014 $as_echo_n "(cached) " >&6
19016 ac_check_lib_save_LIBS
=$LIBS
19017 LIBS
="-llber $LIBS"
19018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19021 /* Override any GCC internal prototype to avoid an error.
19022 Use char because int might match the return type of a GCC
19023 builtin and then its argument prototype would still apply. */
19031 return ber_alloc ();
19036 if ac_fn_c_try_link
"$LINENO"; then :
19037 ac_cv_lib_lber_ber_alloc
=yes
19039 ac_cv_lib_lber_ber_alloc
=no
19041 rm -f core conftest.err conftest.
$ac_objext \
19042 conftest
$ac_exeext conftest.
$ac_ext
19043 LIBS
=$ac_check_lib_save_LIBS
19045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
19046 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
19047 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
19049 LIBS
="$LIBS -llber"
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
19054 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
19055 if ${ac_cv_search_ldap_initialize+:} false
; then :
19056 $as_echo_n "(cached) " >&6
19058 ac_func_search_save_LIBS
=$LIBS
19059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19062 /* Override any GCC internal prototype to avoid an error.
19063 Use char because int might match the return type of a GCC
19064 builtin and then its argument prototype would still apply. */
19068 char ldap_initialize ();
19072 return ldap_initialize ();
19077 for ac_lib
in '' ldap
; do
19078 if test -z "$ac_lib"; then
19079 ac_res
="none required"
19082 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19084 if ac_fn_c_try_link
"$LINENO"; then :
19085 ac_cv_search_ldap_initialize
=$ac_res
19087 rm -f core conftest.err conftest.
$ac_objext \
19089 if ${ac_cv_search_ldap_initialize+:} false
; then :
19093 if ${ac_cv_search_ldap_initialize+:} false
; then :
19096 ac_cv_search_ldap_initialize
=no
19098 rm conftest.
$ac_ext
19099 LIBS
=$ac_func_search_save_LIBS
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
19102 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
19103 ac_res
=$ac_cv_search_ldap_initialize
19104 if test "$ac_res" != no
; then :
19105 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19107 alpine_has_ldap
=yes
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
19112 $as_echo_n "checking for library containing ldap_open... " >&6; }
19113 if ${ac_cv_search_ldap_open+:} false
; then :
19114 $as_echo_n "(cached) " >&6
19116 ac_func_search_save_LIBS
=$LIBS
19117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19118 /* end confdefs.h. */
19120 /* Override any GCC internal prototype to avoid an error.
19121 Use char because int might match the return type of a GCC
19122 builtin and then its argument prototype would still apply. */
19130 return ldap_open ();
19135 for ac_lib
in '' ldap
; do
19136 if test -z "$ac_lib"; then
19137 ac_res
="none required"
19140 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19142 if ac_fn_c_try_link
"$LINENO"; then :
19143 ac_cv_search_ldap_open
=$ac_res
19145 rm -f core conftest.err conftest.
$ac_objext \
19147 if ${ac_cv_search_ldap_open+:} false
; then :
19151 if ${ac_cv_search_ldap_open+:} false
; then :
19154 ac_cv_search_ldap_open
=no
19156 rm conftest.
$ac_ext
19157 LIBS
=$ac_func_search_save_LIBS
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
19160 $as_echo "$ac_cv_search_ldap_open" >&6; }
19161 ac_res
=$ac_cv_search_ldap_open
19162 if test "$ac_res" != no
; then :
19163 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19165 alpine_has_ldap
=yes
19173 if test "$alpine_has_ldap" = "yes" ; then
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
19175 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
19177 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
19182 if test "x$alpine_PAM" != "xnone" ; then
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
19184 $as_echo_n "checking for library containing pam_start... " >&6; }
19185 if ${ac_cv_search_pam_start+:} false
; then :
19186 $as_echo_n "(cached) " >&6
19188 ac_func_search_save_LIBS
=$LIBS
19189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19190 /* end confdefs.h. */
19192 /* Override any GCC internal prototype to avoid an error.
19193 Use char because int might match the return type of a GCC
19194 builtin and then its argument prototype would still apply. */
19202 return pam_start ();
19207 for ac_lib
in '' pam
; do
19208 if test -z "$ac_lib"; then
19209 ac_res
="none required"
19212 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19214 if ac_fn_c_try_link
"$LINENO"; then :
19215 ac_cv_search_pam_start
=$ac_res
19217 rm -f core conftest.err conftest.
$ac_objext \
19219 if ${ac_cv_search_pam_start+:} false
; then :
19223 if ${ac_cv_search_pam_start+:} false
; then :
19226 ac_cv_search_pam_start
=no
19228 rm conftest.
$ac_ext
19229 LIBS
=$ac_func_search_save_LIBS
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
19232 $as_echo "$ac_cv_search_pam_start" >&6; }
19233 ac_res
=$ac_cv_search_pam_start
19234 if test "$ac_res" != no
; then :
19235 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19238 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
19239 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
19244 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
19245 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
19248 if test "x$alpine_c_client_target" != "xoxp" ; then
19250 alpine_pam_none_reason
="header files not in security/ directory"
19256 alpine_pam_none_reason
="header files not found"
19269 alpine_pam_none_reason
="library files not found"
19273 if test -n "$alpine_pam_none_reason" ; then
19274 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
19279 if test "x$alpine_GSSTYPE" != "xnone" ; then
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
19281 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
19282 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19283 $as_echo_n "(cached) " >&6
19285 ac_func_search_save_LIBS
=$LIBS
19286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19289 /* Override any GCC internal prototype to avoid an error.
19290 Use char because int might match the return type of a GCC
19291 builtin and then its argument prototype would still apply. */
19295 char gss_init_sec_context ();
19299 return gss_init_sec_context ();
19304 for ac_lib
in '' gss gssapi gssapi_krb5
; do
19305 if test -z "$ac_lib"; then
19306 ac_res
="none required"
19309 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19311 if ac_fn_c_try_link
"$LINENO"; then :
19312 ac_cv_search_gss_init_sec_context
=$ac_res
19314 rm -f core conftest.err conftest.
$ac_objext \
19316 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19320 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19323 ac_cv_search_gss_init_sec_context
=no
19325 rm conftest.
$ac_ext
19326 LIBS
=$ac_func_search_save_LIBS
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
19329 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
19330 ac_res
=$ac_cv_search_gss_init_sec_context
19331 if test "$ac_res" != no
; then :
19332 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19334 LIBS
="$LIBS -lkrb5"
19335 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
19336 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
19340 if test ! -d /usr
/kerberos
/include
; then
19341 alpine_GSSTYPE
="none"
19342 alpine_gss_none_reason
="header files not found"
19351 alpine_GSSTYPE
="none"
19352 alpine_gss_none_reason
="libraries not found"
19356 if test -n "$alpine_gss_none_reason" ; then
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
19358 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
19363 # Check whether --with-ntlm was given.
19364 if test "${with_ntlm+set}" = set; then :
19365 withval
=$with_ntlm; with_ntlm
=$withval
19369 if test "x$with_ntlm" = "xno" ; then
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
19375 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
19376 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} 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 buildSmbNtlmAuthRequest ();
19393 return buildSmbNtlmAuthRequest ();
19398 for ac_lib
in '' ntlm
; 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_buildSmbNtlmAuthRequest
=$ac_res
19408 rm -f core conftest.err conftest.
$ac_objext \
19410 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19414 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19417 ac_cv_search_buildSmbNtlmAuthRequest
=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_buildSmbNtlmAuthRequest" >&5
19423 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
19424 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
19425 if test "$ac_res" != no
; then :
19426 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19428 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
19429 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
19431 extra_auth_ntlm
=ntl
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
19433 $as_echo "$as_me: including NTLM support" >&6;}
19438 alpine_ntlm_none_reason
="header file ntlm.h not found"
19447 alpine_ntlm_none_reason
="ntlm library not found"
19451 if test -n "$alpine_ntlm_none_reason" ; then
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
19453 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
19457 if test -n "$WEB_BUILD" ; then
19458 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
19459 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
19460 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
19462 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
19463 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19464 $as_echo_n "(cached) " >&6
19466 ac_func_search_save_LIBS
=$LIBS
19467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19470 /* Override any GCC internal prototype to avoid an error.
19471 Use char because int might match the return type of a GCC
19472 builtin and then its argument prototype would still apply. */
19480 return Tcl_Eval ();
19485 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
19486 if test -z "$ac_lib"; then
19487 ac_res
="none required"
19490 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19492 if ac_fn_c_try_link
"$LINENO"; then :
19493 ac_cv_search_Tcl_Eval
=$ac_res
19495 rm -f core conftest.err conftest.
$ac_objext \
19497 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19501 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19504 ac_cv_search_Tcl_Eval
=no
19506 rm conftest.
$ac_ext
19507 LIBS
=$ac_func_search_save_LIBS
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
19510 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
19511 ac_res
=$ac_cv_search_Tcl_Eval
19512 if test "$ac_res" != no
; then :
19513 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19522 if test -n "$alpine_TCLINC" ; then
19523 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
19524 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
19525 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19534 if test -z "$WEB_BUILD" ; then
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
19536 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
19539 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
19540 if test "x$ac_cv_header_tcl_h" = xyes
; then :
19544 for base
in /usr
/usr
/local ; do
19545 for dir
in ${TCL_VERSIONS} ; do
19546 if test -f $base/include
/$dir/tcl.h
; then
19547 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
19552 if test "x$found" = "xyes" ; then
19556 if test "$found" != "yes" ; then
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
19559 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
19568 if test "x$alpine_REGEX" != "xyes" ; then
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
19570 $as_echo_n "checking for library containing regcomp... " >&6; }
19571 if ${ac_cv_search_regcomp+:} false
; then :
19572 $as_echo_n "(cached) " >&6
19574 ac_func_search_save_LIBS
=$LIBS
19575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19578 /* Override any GCC internal prototype to avoid an error.
19579 Use char because int might match the return type of a GCC
19580 builtin and then its argument prototype would still apply. */
19593 for ac_lib
in '' posix regexp regex re
; do
19594 if test -z "$ac_lib"; then
19595 ac_res
="none required"
19598 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19600 if ac_fn_c_try_link
"$LINENO"; then :
19601 ac_cv_search_regcomp
=$ac_res
19603 rm -f core conftest.err conftest.
$ac_objext \
19605 if ${ac_cv_search_regcomp+:} false
; then :
19609 if ${ac_cv_search_regcomp+:} false
; then :
19612 ac_cv_search_regcomp
=no
19614 rm conftest.
$ac_ext
19615 LIBS
=$ac_func_search_save_LIBS
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
19618 $as_echo "$ac_cv_search_regcomp" >&6; }
19619 ac_res
=$ac_cv_search_regcomp
19620 if test "$ac_res" != no
; then :
19621 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19625 if test x
$alpine_REGEX = "xno" ; then
19626 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
19634 if test "x$alpine_REGEX" != "xyes" ; then
19635 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
19636 if test "x$ac_cv_header_regex_h" = xyes
; then :
19640 if test x
$alpine_REGEX = "xno" ; then
19641 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
19651 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
19653 if test "x$alpine_REGEX" = "xyes" ; then
19654 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
19655 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
19657 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
19660 if test "x$with_pthread" != "xno" ; then
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
19662 $as_echo_n "checking for pthread support... " >&6; }
19667 ac_cpp
='$CPP $CPPFLAGS'
19668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19674 # We used to check for pthread.h first, but this fails if pthread.h
19675 # requires special compiler flags (e.g. on True64 or Sequent).
19676 # It gets checked for in the link test anyway.
19678 # First of all, check if the user has set any of the PTHREAD_LIBS,
19679 # etcetera environment variables, and if threads linking works using
19681 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19682 save_CFLAGS
="$CFLAGS"
19683 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19685 LIBS
="$PTHREAD_LIBS $LIBS"
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
19687 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
19688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19691 /* Override any GCC internal prototype to avoid an error.
19692 Use char because int might match the return type of a GCC
19693 builtin and then its argument prototype would still apply. */
19697 char pthread_join ();
19701 return pthread_join ();
19706 if ac_fn_c_try_link
"$LINENO"; then :
19709 rm -f core conftest.err conftest.
$ac_objext \
19710 conftest
$ac_exeext conftest.
$ac_ext
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19712 $as_echo "$acx_pthread_ok" >&6; }
19713 if test x
"$acx_pthread_ok" = xno
; then
19718 CFLAGS
="$save_CFLAGS"
19721 # We must check for the threads library under a number of different
19722 # names; the ordering is very important because some systems
19723 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19724 # libraries is broken (non-POSIX).
19726 # Create a list of thread flags to try. Items starting with a "-" are
19727 # C compiler flags, and other items are library names, except for "none"
19728 # which indicates that we try without any flags at all, and "pthread-config"
19729 # which is a program returning the flags for the Pth emulation library.
19731 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
19733 # The ordering *is* (sometimes) important. Some notes on the
19734 # individual items follow:
19736 # pthreads: AIX (must check this before -lpthread)
19737 # none: in case threads are in libc; should be tried before -Kthread and
19738 # other compiler flags to prevent continual compiler warnings
19739 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19740 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19741 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19742 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
19743 # -pthreads: Solaris/gcc
19744 # -mthreads: Mingw32/gcc, Lynx/gcc
19745 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19746 # doesn't hurt to check since this sometimes defines pthreads too;
19747 # also defines -D_REENTRANT)
19748 # ... -mt is also the pthreads flag for HP/aCC
19749 # pthread: Linux, etcetera
19750 # --thread-safe: KAI C++
19751 # pthread-config: use pthread-config program (for GNU Pth library)
19753 case "${host_cpu}-${host_os}" in
19756 # On Solaris (at least, for some versions), libc contains stubbed
19757 # (non-functional) versions of the pthreads routines, so link-based
19758 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19759 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19760 # a function called by this macro, so we could check for that, but
19761 # who knows whether they'll stub that too in a future libc.) So,
19762 # we'll just look for -pthreads and -lpthread first:
19764 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
19768 if test x
"$acx_pthread_ok" = xno
; then
19769 for flag
in $acx_pthread_flags; do
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19774 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19779 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19780 PTHREAD_CFLAGS
="$flag"
19784 # Extract the first word of "pthread-config", so it can be a program name with args.
19785 set dummy pthread-config
; ac_word
=$2
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19787 $as_echo_n "checking for $ac_word... " >&6; }
19788 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
19789 $as_echo_n "(cached) " >&6
19791 if test -n "$acx_pthread_config"; then
19792 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
19794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19795 for as_dir
in $PATH
19798 test -z "$as_dir" && as_dir
=.
19799 for ac_exec_ext
in '' $ac_executable_extensions; do
19800 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19801 ac_cv_prog_acx_pthread_config
="yes"
19802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19809 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
19812 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
19813 if test -n "$acx_pthread_config"; then
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
19815 $as_echo "$acx_pthread_config" >&6; }
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19818 $as_echo "no" >&6; }
19822 if test x
"$acx_pthread_config" = xno
; then continue; fi
19823 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19824 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19829 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19830 PTHREAD_LIBS
="-l$flag"
19835 save_CFLAGS
="$CFLAGS"
19836 LIBS
="$PTHREAD_LIBS $LIBS"
19837 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19839 # Check for various functions. We must include pthread.h,
19840 # since some functions may be macros. (On the Sequent, we
19841 # need a special flag -Kthread to make this header compile.)
19842 # We check for pthread_join because it is in -lpthread on IRIX
19843 # while pthread_create is in libc. We check for pthread_attr_init
19844 # due to DEC craziness with -lpthreads. We check for
19845 # pthread_cleanup_push because it is one of the few pthread
19846 # functions on Solaris that doesn't have a non-functional libc stub.
19847 # We try pthread_create on general principles.
19848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19849 /* end confdefs.h. */
19850 #include <pthread.h>
19854 pthread_t th; pthread_join(th, 0);
19855 pthread_attr_init(0); pthread_cleanup_push(0, 0);
19856 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
19861 if ac_fn_c_try_link
"$LINENO"; then :
19864 rm -f core conftest.err conftest.
$ac_objext \
19865 conftest
$ac_exeext conftest.
$ac_ext
19868 CFLAGS
="$save_CFLAGS"
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19871 $as_echo "$acx_pthread_ok" >&6; }
19872 if test "x$acx_pthread_ok" = xyes
; then
19881 # Various other checks:
19882 if test "x$acx_pthread_ok" = xyes
; then
19884 LIBS
="$PTHREAD_LIBS $LIBS"
19885 save_CFLAGS
="$CFLAGS"
19886 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19888 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19890 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19892 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19895 #include <pthread.h>
19899 int attr=$attr; return attr;
19904 if ac_fn_c_try_link
"$LINENO"; then :
19905 attr_name
=$attr; break
19907 rm -f core conftest.err conftest.
$ac_objext \
19908 conftest
$ac_exeext conftest.
$ac_ext
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19911 $as_echo "$attr_name" >&6; }
19912 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19914 cat >>confdefs.h
<<_ACEOF
19915 #define PTHREAD_CREATE_JOINABLE $attr_name
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19921 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19923 case "${host_cpu}-${host_os}" in
19924 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
19925 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19928 $as_echo "${flag}" >&6; }
19929 if test "x$flag" != xno
; then
19930 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19934 CFLAGS
="$save_CFLAGS"
19936 # More AIX lossage: must compile with xlc_r or cc_r
19937 if test x
"$GCC" != xyes
; then
19938 for ac_prog
in xlc_r cc_r
19940 # Extract the first word of "$ac_prog", so it can be a program name with args.
19941 set dummy
$ac_prog; ac_word
=$2
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19943 $as_echo_n "checking for $ac_word... " >&6; }
19944 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19945 $as_echo_n "(cached) " >&6
19947 if test -n "$PTHREAD_CC"; then
19948 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19951 for as_dir
in $PATH
19954 test -z "$as_dir" && as_dir
=.
19955 for ac_exec_ext
in '' $ac_executable_extensions; do
19956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19957 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19967 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19968 if test -n "$PTHREAD_CC"; then
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19970 $as_echo "$PTHREAD_CC" >&6; }
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19973 $as_echo "no" >&6; }
19977 test -n "$PTHREAD_CC" && break
19979 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19992 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19993 if test x
"$acx_pthread_ok" = xyes
; then
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19996 $as_echo "yes" >&6; }
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
20000 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
20001 AM_CFLAGS
="$AM_CFLAGS -pthread"
20004 LIBS
="$PTHREAD_LIBS $LIBS"
20005 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
20008 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20016 $as_echo "no" >&6; }
20020 ac_cpp
='$CPP $CPPFLAGS'
20021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20028 $as_echo_n "checking for library containing nanosleep... " >&6; }
20029 if ${ac_cv_search_nanosleep+:} false
; then :
20030 $as_echo_n "(cached) " >&6
20032 ac_func_search_save_LIBS
=$LIBS
20033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20034 /* end confdefs.h. */
20036 /* Override any GCC internal prototype to avoid an error.
20037 Use char because int might match the return type of a GCC
20038 builtin and then its argument prototype would still apply. */
20046 return nanosleep ();
20051 for ac_lib
in '' rt posix4
; do
20052 if test -z "$ac_lib"; then
20053 ac_res
="none required"
20056 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20058 if ac_fn_c_try_link
"$LINENO"; then :
20059 ac_cv_search_nanosleep
=$ac_res
20061 rm -f core conftest.err conftest.
$ac_objext \
20063 if ${ac_cv_search_nanosleep+:} false
; then :
20067 if ${ac_cv_search_nanosleep+:} false
; then :
20070 ac_cv_search_nanosleep
=no
20072 rm conftest.
$ac_ext
20073 LIBS
=$ac_func_search_save_LIBS
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20076 $as_echo "$ac_cv_search_nanosleep" >&6; }
20077 ac_res
=$ac_cv_search_nanosleep
20078 if test "$ac_res" != no
; then :
20079 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20082 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20093 $as_echo_n "checking for ANSI C header files... " >&6; }
20094 if ${ac_cv_header_stdc+:} false
; then :
20095 $as_echo_n "(cached) " >&6
20097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20099 #include <stdlib.h>
20100 #include <stdarg.h>
20101 #include <string.h>
20112 if ac_fn_c_try_compile
"$LINENO"; then :
20113 ac_cv_header_stdc
=yes
20115 ac_cv_header_stdc
=no
20117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20119 if test $ac_cv_header_stdc = yes; then
20120 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20122 /* end confdefs.h. */
20123 #include <string.h>
20126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20127 $EGREP "memchr" >/dev
/null
2>&1; then :
20130 ac_cv_header_stdc
=no
20136 if test $ac_cv_header_stdc = yes; then
20137 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20139 /* end confdefs.h. */
20140 #include <stdlib.h>
20143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20144 $EGREP "free" >/dev
/null
2>&1; then :
20147 ac_cv_header_stdc
=no
20153 if test $ac_cv_header_stdc = yes; then
20154 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20155 if test "$cross_compiling" = yes; then :
20158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20159 /* end confdefs.h. */
20161 #include <stdlib.h>
20162 #if ((' ' & 0x0FF) == 0x020)
20163 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20164 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20166 # define ISLOWER(c) \
20167 (('a' <= (c) && (c) <= 'i') \
20168 || ('j' <= (c) && (c) <= 'r') \
20169 || ('s' <= (c) && (c) <= 'z'))
20170 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20173 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20178 for (i = 0; i < 256; i++)
20179 if (XOR (islower (i), ISLOWER (i))
20180 || toupper (i) != TOUPPER (i))
20185 if ac_fn_c_try_run
"$LINENO"; then :
20188 ac_cv_header_stdc
=no
20190 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20191 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20197 $as_echo "$ac_cv_header_stdc" >&6; }
20198 if test $ac_cv_header_stdc = yes; then
20200 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20204 ac_header_dirent
=no
20205 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
20206 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
20208 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
20209 if eval \
${$as_ac_Header+:} false
; then :
20210 $as_echo_n "(cached) " >&6
20212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20213 /* end confdefs.h. */
20214 #include <sys/types.h>
20226 if ac_fn_c_try_compile
"$LINENO"; then :
20227 eval "$as_ac_Header=yes"
20229 eval "$as_ac_Header=no"
20231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20233 eval ac_res
=\$
$as_ac_Header
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20235 $as_echo "$ac_res" >&6; }
20236 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20237 cat >>confdefs.h
<<_ACEOF
20238 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20241 ac_header_dirent
=$ac_hdr; break
20245 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20246 if test $ac_header_dirent = dirent.h
; then
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20248 $as_echo_n "checking for library containing opendir... " >&6; }
20249 if ${ac_cv_search_opendir+:} false
; then :
20250 $as_echo_n "(cached) " >&6
20252 ac_func_search_save_LIBS
=$LIBS
20253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20256 /* Override any GCC internal prototype to avoid an error.
20257 Use char because int might match the return type of a GCC
20258 builtin and then its argument prototype would still apply. */
20271 for ac_lib
in '' dir
; do
20272 if test -z "$ac_lib"; then
20273 ac_res
="none required"
20276 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20278 if ac_fn_c_try_link
"$LINENO"; then :
20279 ac_cv_search_opendir
=$ac_res
20281 rm -f core conftest.err conftest.
$ac_objext \
20283 if ${ac_cv_search_opendir+:} false
; then :
20287 if ${ac_cv_search_opendir+:} false
; then :
20290 ac_cv_search_opendir
=no
20292 rm conftest.
$ac_ext
20293 LIBS
=$ac_func_search_save_LIBS
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20296 $as_echo "$ac_cv_search_opendir" >&6; }
20297 ac_res
=$ac_cv_search_opendir
20298 if test "$ac_res" != no
; then :
20299 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20305 $as_echo_n "checking for library containing opendir... " >&6; }
20306 if ${ac_cv_search_opendir+:} false
; then :
20307 $as_echo_n "(cached) " >&6
20309 ac_func_search_save_LIBS
=$LIBS
20310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20313 /* Override any GCC internal prototype to avoid an error.
20314 Use char because int might match the return type of a GCC
20315 builtin and then its argument prototype would still apply. */
20328 for ac_lib
in '' x
; do
20329 if test -z "$ac_lib"; then
20330 ac_res
="none required"
20333 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20335 if ac_fn_c_try_link
"$LINENO"; then :
20336 ac_cv_search_opendir
=$ac_res
20338 rm -f core conftest.err conftest.
$ac_objext \
20340 if ${ac_cv_search_opendir+:} false
; then :
20344 if ${ac_cv_search_opendir+:} false
; then :
20347 ac_cv_search_opendir
=no
20349 rm conftest.
$ac_ext
20350 LIBS
=$ac_func_search_save_LIBS
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20353 $as_echo "$ac_cv_search_opendir" >&6; }
20354 ac_res
=$ac_cv_search_opendir
20355 if test "$ac_res" != no
; then :
20356 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
20363 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
20364 if ${ac_cv_header_stat_broken+:} false
; then :
20365 $as_echo_n "(cached) " >&6
20367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h. */
20369 #include <sys/types.h>
20370 #include <sys/stat.h>
20372 #if defined S_ISBLK && defined S_IFDIR
20373 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
20376 #if defined S_ISBLK && defined S_IFCHR
20377 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
20380 #if defined S_ISLNK && defined S_IFREG
20381 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
20384 #if defined S_ISSOCK && defined S_IFREG
20385 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20389 if ac_fn_c_try_compile
"$LINENO"; then :
20390 ac_cv_header_stat_broken
=no
20392 ac_cv_header_stat_broken
=yes
20394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
20397 $as_echo "$ac_cv_header_stat_broken" >&6; }
20398 if test $ac_cv_header_stat_broken = yes; then
20400 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
20405 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
20406 if ${ac_cv_header_sys_wait_h+:} false
; then :
20407 $as_echo_n "(cached) " >&6
20409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20410 /* end confdefs.h. */
20411 #include <sys/types.h>
20412 #include <sys/wait.h>
20413 #ifndef WEXITSTATUS
20414 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
20417 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
20425 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
20430 if ac_fn_c_try_compile
"$LINENO"; then :
20431 ac_cv_header_sys_wait_h
=yes
20433 ac_cv_header_sys_wait_h
=no
20435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
20438 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
20439 if test $ac_cv_header_sys_wait_h = yes; then
20441 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
20446 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
20447 if ${ac_cv_header_time+:} false
; then :
20448 $as_echo_n "(cached) " >&6
20450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20451 /* end confdefs.h. */
20452 #include <sys/types.h>
20453 #include <sys/time.h>
20459 if ((struct tm *) 0)
20465 if ac_fn_c_try_compile
"$LINENO"; then :
20466 ac_cv_header_time
=yes
20468 ac_cv_header_time
=no
20470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
20473 $as_echo "$ac_cv_header_time" >&6; }
20474 if test $ac_cv_header_time = yes; then
20476 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
20481 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
20482 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
20483 $as_echo_n "(cached) " >&6
20485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20487 #include <sys/types.h>
20488 #include <termios.h>
20494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20495 $EGREP "yes" >/dev
/null
2>&1; then :
20496 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
20498 ac_cv_sys_tiocgwinsz_in_termios_h
=no
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
20504 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
20506 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
20508 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
20509 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
20510 $as_echo_n "(cached) " >&6
20512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20513 /* end confdefs.h. */
20514 #include <sys/types.h>
20515 #include <sys/ioctl.h>
20521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20522 $EGREP "yes" >/dev
/null
2>&1; then :
20523 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
20525 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
20531 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
20533 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
20535 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
20541 for ac_header
in unistd.h
20543 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20544 if test "x$ac_cv_header_unistd_h" = xyes
; then :
20545 cat >>confdefs.h
<<_ACEOF
20546 #define HAVE_UNISTD_H 1
20554 for ac_header
in errno.h \
20580 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20581 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20582 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20583 cat >>confdefs.h
<<_ACEOF
20584 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20592 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
20593 if test "x$ac_cv_header_termios_h" = xyes
; then :
20595 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
20599 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
20600 if test "x$ac_cv_header_termio_h" = xyes
; then :
20602 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
20606 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
20607 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
20609 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
20613 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
20629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
20630 $as_echo_n "checking return type of signal handlers... " >&6; }
20631 if ${ac_cv_type_signal+:} false
; then :
20632 $as_echo_n "(cached) " >&6
20634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20635 /* end confdefs.h. */
20636 #include <sys/types.h>
20637 #include <signal.h>
20642 return *(signal (0, 0)) (0) == 1;
20647 if ac_fn_c_try_compile
"$LINENO"; then :
20648 ac_cv_type_signal
=int
20650 ac_cv_type_signal
=void
20652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
20655 $as_echo "$ac_cv_type_signal" >&6; }
20657 cat >>confdefs.h
<<_ACEOF
20658 #define RETSIGTYPE $ac_cv_type_signal
20662 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20663 if test "x$ac_cv_type_size_t" = xyes
; then :
20667 cat >>confdefs.h
<<_ACEOF
20668 #define size_t unsigned int
20673 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
20674 if test "x$ac_cv_type_mode_t" = xyes
; then :
20678 cat >>confdefs.h
<<_ACEOF
20684 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
20685 if test "x$ac_cv_type_pid_t" = xyes
; then :
20689 cat >>confdefs.h
<<_ACEOF
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
20696 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
20697 if ${ac_cv_type_uid_t+:} false
; then :
20698 $as_echo_n "(cached) " >&6
20700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20701 /* end confdefs.h. */
20702 #include <sys/types.h>
20705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20706 $EGREP "uid_t" >/dev
/null
2>&1; then :
20707 ac_cv_type_uid_t
=yes
20709 ac_cv_type_uid_t
=no
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
20715 $as_echo "$ac_cv_type_uid_t" >&6; }
20716 if test $ac_cv_type_uid_t = no
; then
20718 $as_echo "#define uid_t int" >>confdefs.h
20721 $as_echo "#define gid_t int" >>confdefs.h
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
20726 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
20727 if ${ac_cv_struct_tm+:} false
; then :
20728 $as_echo_n "(cached) " >&6
20730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20732 #include <sys/types.h>
20739 int *p = &tm.tm_sec;
20745 if ac_fn_c_try_compile
"$LINENO"; then :
20746 ac_cv_struct_tm
=time.h
20748 ac_cv_struct_tm
=sys
/time.h
20750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
20753 $as_echo "$ac_cv_struct_tm" >&6; }
20754 if test $ac_cv_struct_tm = sys
/time.h
; then
20756 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
20761 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
20762 if test "x$ac_cv_type_union_wait" = xyes
; then :
20764 cat >>confdefs.h
<<_ACEOF
20765 #define HAVE_UNION_WAIT 1
20772 for ac_header
in stdint.h
20774 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20775 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20776 cat >>confdefs.h
<<_ACEOF
20777 #define HAVE_STDINT_H 1
20782 for ac_header
in inttypes.h
20784 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20785 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20786 cat >>confdefs.h
<<_ACEOF
20787 #define HAVE_INTTYPES_H 1
20792 for ac_header
in sys
/types.h
20794 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20795 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20796 cat >>confdefs.h
<<_ACEOF
20797 #define HAVE_SYS_TYPES_H 1
20802 # The cast to long int works around a bug in the HP C Compiler
20803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20805 # This bug is HP SR number 8606223364.
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
20807 $as_echo_n "checking size of unsigned short... " >&6; }
20808 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
20809 $as_echo_n "(cached) " >&6
20811 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
20814 if test "$ac_cv_type_unsigned_short" = yes; then
20815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20817 as_fn_error
77 "cannot compute sizeof (unsigned short)
20818 See \`config.log' for more details" "$LINENO" 5; }
20820 ac_cv_sizeof_unsigned_short
=0
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
20826 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
20830 cat >>confdefs.h
<<_ACEOF
20831 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20835 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
20836 uint16
="unsigned short"
20838 # The cast to long int works around a bug in the HP C Compiler
20839 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20840 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20841 # This bug is HP SR number 8606223364.
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20843 $as_echo_n "checking size of unsigned int... " >&6; }
20844 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20845 $as_echo_n "(cached) " >&6
20847 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20850 if test "$ac_cv_type_unsigned_int" = yes; then
20851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20853 as_fn_error
77 "cannot compute sizeof (unsigned int)
20854 See \`config.log' for more details" "$LINENO" 5; }
20856 ac_cv_sizeof_unsigned_int
=0
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20862 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20866 cat >>confdefs.h
<<_ACEOF
20867 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20871 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
20872 uint16
="unsigned int"
20874 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
20893 cat >>confdefs.h
<<_ACEOF
20894 #define UINT16 $uint16
20898 for ac_header
in stdint.h
20900 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20901 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20902 cat >>confdefs.h
<<_ACEOF
20903 #define HAVE_STDINT_H 1
20908 for ac_header
in inttypes.h
20910 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20911 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20912 cat >>confdefs.h
<<_ACEOF
20913 #define HAVE_INTTYPES_H 1
20918 for ac_header
in sys
/types.h
20920 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20921 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20922 cat >>confdefs.h
<<_ACEOF
20923 #define HAVE_SYS_TYPES_H 1
20928 # The cast to long int works around a bug in the HP C Compiler
20929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20931 # This bug is HP SR number 8606223364.
20932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20933 $as_echo_n "checking size of unsigned int... " >&6; }
20934 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20935 $as_echo_n "(cached) " >&6
20937 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20940 if test "$ac_cv_type_unsigned_int" = yes; then
20941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20943 as_fn_error
77 "cannot compute sizeof (unsigned int)
20944 See \`config.log' for more details" "$LINENO" 5; }
20946 ac_cv_sizeof_unsigned_int
=0
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20952 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20956 cat >>confdefs.h
<<_ACEOF
20957 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20961 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
20962 uint32
="unsigned int"
20964 # The cast to long int works around a bug in the HP C Compiler
20965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20967 # This bug is HP SR number 8606223364.
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
20969 $as_echo_n "checking size of unsigned long... " >&6; }
20970 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
20971 $as_echo_n "(cached) " >&6
20973 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
20976 if test "$ac_cv_type_unsigned_long" = yes; then
20977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20979 as_fn_error
77 "cannot compute sizeof (unsigned long)
20980 See \`config.log' for more details" "$LINENO" 5; }
20982 ac_cv_sizeof_unsigned_long
=0
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
20988 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
20992 cat >>confdefs.h
<<_ACEOF
20993 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20997 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
20998 uint32
="unsigned long"
21000 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
21019 cat >>confdefs.h
<<_ACEOF
21020 #define UINT32 $uint32
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
21025 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
21026 if ${ac_cv_func_qsort_argtype+:} false
; then :
21027 $as_echo_n "(cached) " >&6
21029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21030 /* end confdefs.h. */
21033 #include "stdlib.h"
21037 extern sortf(const void *, const void *);
21040 const void *b; { return 0; }
21046 qsort(base, 2, sizeof(char *), sortf);
21052 if ac_fn_c_try_compile
"$LINENO"; then :
21053 ac_cv_func_qsort_argtype
=void
21055 ac_cv_func_qsort_argtype
=char
21057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
21061 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
21063 cat >>confdefs.h
<<_ACEOF
21064 #define qsort_t $ac_cv_func_qsort_argtype
21069 for ac_header
in sys
/select.h sys
/socket.h
21071 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21072 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21073 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21074 cat >>confdefs.h
<<_ACEOF
21075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
21083 $as_echo_n "checking types of arguments for select... " >&6; }
21084 if ${ac_cv_func_select_args+:} false
; then :
21085 $as_echo_n "(cached) " >&6
21087 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
21088 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
21089 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
21090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21091 /* end confdefs.h. */
21092 $ac_includes_default
21093 #ifdef HAVE_SYS_SELECT_H
21094 # include <sys/select.h>
21096 #ifdef HAVE_SYS_SOCKET_H
21097 # include <sys/socket.h>
21103 extern int select ($ac_arg1,
21104 $ac_arg234, $ac_arg234, $ac_arg234,
21110 if ac_fn_c_try_compile
"$LINENO"; then :
21111 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
21113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21117 # Provide a safe default value.
21118 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
21122 $as_echo "$ac_cv_func_select_args" >&6; }
21123 ac_save_IFS
=$IFS; IFS
=','
21124 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
21128 cat >>confdefs.h
<<_ACEOF
21129 #define SELECT_TYPE_ARG1 $1
21133 cat >>confdefs.h
<<_ACEOF
21134 #define SELECT_TYPE_ARG234 ($2)
21138 cat >>confdefs.h
<<_ACEOF
21139 #define SELECT_TYPE_ARG5 ($3)
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
21146 $as_echo_n "checking for working strcoll... " >&6; }
21147 if ${ac_cv_func_strcoll_works+:} false
; then :
21148 $as_echo_n "(cached) " >&6
21150 if test "$cross_compiling" = yes; then :
21151 ac_cv_func_strcoll_works
=no
21153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21154 /* end confdefs.h. */
21155 $ac_includes_default
21159 return (strcoll ("abc", "def") >= 0 ||
21160 strcoll ("ABC", "DEF") >= 0 ||
21161 strcoll ("123", "456") >= 0)
21166 if ac_fn_c_try_run
"$LINENO"; then :
21167 ac_cv_func_strcoll_works
=yes
21169 ac_cv_func_strcoll_works
=no
21171 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21172 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
21177 $as_echo "$ac_cv_func_strcoll_works" >&6; }
21178 if test $ac_cv_func_strcoll_works = yes; then
21180 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
21186 for ac_header
in vfork.h
21188 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
21189 if test "x$ac_cv_header_vfork_h" = xyes
; then :
21190 cat >>confdefs.h
<<_ACEOF
21191 #define HAVE_VFORK_H 1
21198 for ac_func
in fork vfork
21200 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21201 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21202 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21203 cat >>confdefs.h
<<_ACEOF
21204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21210 if test "x$ac_cv_func_fork" = xyes
; then
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
21212 $as_echo_n "checking for working fork... " >&6; }
21213 if ${ac_cv_func_fork_works+:} false
; then :
21214 $as_echo_n "(cached) " >&6
21216 if test "$cross_compiling" = yes; then :
21217 ac_cv_func_fork_works
=cross
21219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21220 /* end confdefs.h. */
21221 $ac_includes_default
21226 /* By Ruediger Kuhlmann. */
21227 return fork () < 0;
21233 if ac_fn_c_try_run
"$LINENO"; then :
21234 ac_cv_func_fork_works
=yes
21236 ac_cv_func_fork_works
=no
21238 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21239 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
21244 $as_echo "$ac_cv_func_fork_works" >&6; }
21247 ac_cv_func_fork_works
=$ac_cv_func_fork
21249 if test "x$ac_cv_func_fork_works" = xcross
; then
21251 *-*-amigaos* |
*-*-msdosdjgpp*)
21252 # Override, as these systems have only a dummy fork() stub
21253 ac_cv_func_fork_works
=no
21256 ac_cv_func_fork_works
=yes
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21260 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21262 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21263 if test "x$ac_cv_func_vfork" = xyes
; then
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
21265 $as_echo_n "checking for working vfork... " >&6; }
21266 if ${ac_cv_func_vfork_works+:} false
; then :
21267 $as_echo_n "(cached) " >&6
21269 if test "$cross_compiling" = yes; then :
21270 ac_cv_func_vfork_works
=cross
21272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21274 /* Thanks to Paul Eggert for this test. */
21275 $ac_includes_default
21276 #include <sys/wait.h>
21277 #ifdef HAVE_VFORK_H
21278 # include <vfork.h>
21280 /* On some sparc systems, changes by the child to local and incoming
21281 argument registers are propagated back to the parent. The compiler
21282 is told about this with #include <vfork.h>, but some compilers
21283 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21284 static variable whose address is put into a register that is
21285 clobbered by the vfork. */
21288 sparc_address_test (int arg)
21290 sparc_address_test (arg) int arg;
21293 static pid_t child;
21311 pid_t parent = getpid ();
21314 sparc_address_test (0);
21319 /* Here is another test for sparc vfork register problems. This
21320 test uses lots of local variables, at least as many local
21321 variables as main has allocated so far including compiler
21322 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21323 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21324 reuse the register of parent for one of the local variables,
21325 since it will think that parent can't possibly be used any more
21326 in this routine. Assigning to the local variable will thus
21327 munge parent in the parent process. */
21329 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21330 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21331 /* Convince the compiler that p..p7 are live; otherwise, it might
21332 use the same hardware register for all 8 local variables. */
21333 if (p != p1 || p != p2 || p != p3 || p != p4
21334 || p != p5 || p != p6 || p != p7)
21337 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21338 from child file descriptors. If the child closes a descriptor
21339 before it execs or exits, this munges the parent's descriptor
21340 as well. Test for this by closing stdout in the child. */
21341 _exit(close(fileno(stdout)) != 0);
21346 while (wait(&status) != child)
21349 /* Was there some problem with vforking? */
21352 /* Did the child fail? (This shouldn't happen.) */
21355 /* Did the vfork/compiler bug occur? */
21356 || parent != getpid()
21358 /* Did the file descriptor bug occur? */
21359 || fstat(fileno(stdout), &st) != 0
21364 if ac_fn_c_try_run
"$LINENO"; then :
21365 ac_cv_func_vfork_works
=yes
21367 ac_cv_func_vfork_works
=no
21369 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21370 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
21375 $as_echo "$ac_cv_func_vfork_works" >&6; }
21378 if test "x$ac_cv_func_fork_works" = xcross
; then
21379 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21381 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21384 if test "x$ac_cv_func_vfork_works" = xyes
; then
21386 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
21390 $as_echo "#define vfork fork" >>confdefs.h
21393 if test "x$ac_cv_func_fork_works" = xyes
; then
21395 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
21399 for ac_func
in strchr \
21432 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21433 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21434 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21435 cat >>confdefs.h
<<_ACEOF
21436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
21444 $as_echo_n "checking for library containing gethostname... " >&6; }
21445 if ${ac_cv_search_gethostname+:} false
; then :
21446 $as_echo_n "(cached) " >&6
21448 ac_func_search_save_LIBS
=$LIBS
21449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21450 /* end confdefs.h. */
21452 /* Override any GCC internal prototype to avoid an error.
21453 Use char because int might match the return type of a GCC
21454 builtin and then its argument prototype would still apply. */
21458 char gethostname ();
21462 return gethostname ();
21467 for ac_lib
in '' nsl
; do
21468 if test -z "$ac_lib"; then
21469 ac_res
="none required"
21472 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21474 if ac_fn_c_try_link
"$LINENO"; then :
21475 ac_cv_search_gethostname
=$ac_res
21477 rm -f core conftest.err conftest.
$ac_objext \
21479 if ${ac_cv_search_gethostname+:} false
; then :
21483 if ${ac_cv_search_gethostname+:} false
; then :
21486 ac_cv_search_gethostname
=no
21488 rm conftest.
$ac_ext
21489 LIBS
=$ac_func_search_save_LIBS
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
21492 $as_echo "$ac_cv_search_gethostname" >&6; }
21493 ac_res
=$ac_cv_search_gethostname
21494 if test "$ac_res" != no
; then :
21495 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
21501 $as_echo_n "checking for library containing socket... " >&6; }
21502 if ${ac_cv_search_socket+:} false
; then :
21503 $as_echo_n "(cached) " >&6
21505 ac_func_search_save_LIBS
=$LIBS
21506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21507 /* end confdefs.h. */
21509 /* Override any GCC internal prototype to avoid an error.
21510 Use char because int might match the return type of a GCC
21511 builtin and then its argument prototype would still apply. */
21524 for ac_lib
in '' socket
; do
21525 if test -z "$ac_lib"; then
21526 ac_res
="none required"
21529 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21531 if ac_fn_c_try_link
"$LINENO"; then :
21532 ac_cv_search_socket
=$ac_res
21534 rm -f core conftest.err conftest.
$ac_objext \
21536 if ${ac_cv_search_socket+:} false
; then :
21540 if ${ac_cv_search_socket+:} false
; then :
21543 ac_cv_search_socket
=no
21545 rm conftest.
$ac_ext
21546 LIBS
=$ac_func_search_save_LIBS
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
21549 $as_echo "$ac_cv_search_socket" >&6; }
21550 ac_res
=$ac_cv_search_socket
21551 if test "$ac_res" != no
; then :
21552 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
21562 $as_echo_n "checking for library containing bind... " >&6; }
21563 if ${ac_cv_search_bind+:} false
; then :
21564 $as_echo_n "(cached) " >&6
21566 ac_func_search_save_LIBS
=$LIBS
21567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21570 /* Override any GCC internal prototype to avoid an error.
21571 Use char because int might match the return type of a GCC
21572 builtin and then its argument prototype would still apply. */
21585 for ac_lib
in '' bind; do
21586 if test -z "$ac_lib"; then
21587 ac_res
="none required"
21590 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21592 if ac_fn_c_try_link
"$LINENO"; then :
21593 ac_cv_search_bind
=$ac_res
21595 rm -f core conftest.err conftest.
$ac_objext \
21597 if ${ac_cv_search_bind+:} false
; then :
21601 if ${ac_cv_search_bind+:} false
; then :
21604 ac_cv_search_bind
=no
21606 rm conftest.
$ac_ext
21607 LIBS
=$ac_func_search_save_LIBS
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
21610 $as_echo "$ac_cv_search_bind" >&6; }
21611 ac_res
=$ac_cv_search_bind
21612 if test "$ac_res" != no
; then :
21613 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21622 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
21624 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21625 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21626 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21627 cat >>confdefs.h
<<_ACEOF
21628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21632 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
21637 for ac_func
in sigset sigrelse
21639 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21640 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21641 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21642 cat >>confdefs.h
<<_ACEOF
21643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21647 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
21659 $as_echo_n "checking for library containing syslog... " >&6; }
21660 if ${ac_cv_search_syslog+:} false
; then :
21661 $as_echo_n "(cached) " >&6
21663 ac_func_search_save_LIBS
=$LIBS
21664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21667 /* Override any GCC internal prototype to avoid an error.
21668 Use char because int might match the return type of a GCC
21669 builtin and then its argument prototype would still apply. */
21682 for ac_lib
in '' bsd socket inet
; do
21683 if test -z "$ac_lib"; then
21684 ac_res
="none required"
21687 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21689 if ac_fn_c_try_link
"$LINENO"; then :
21690 ac_cv_search_syslog
=$ac_res
21692 rm -f core conftest.err conftest.
$ac_objext \
21694 if ${ac_cv_search_syslog+:} false
; then :
21698 if ${ac_cv_search_syslog+:} false
; then :
21701 ac_cv_search_syslog
=no
21703 rm conftest.
$ac_ext
21704 LIBS
=$ac_func_search_save_LIBS
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
21707 $as_echo "$ac_cv_search_syslog" >&6; }
21708 ac_res
=$ac_cv_search_syslog
21709 if test "$ac_res" != no
; then :
21710 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21713 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
21720 if test -n "$alpine_with_local_maildir" ; then
21721 alpine_local_maildir
=$alpine_with_local_maildir
21722 elif test -d /var
/spool
/mail ; then
21723 alpine_local_maildir
="/var/spool/mail"
21724 elif test -d /var
/mail ; then
21725 alpine_local_maildir
="/var/mail"
21727 alpine_local_maildir
="/usr/spool/mail"
21730 if test -n "$alpine_with_c_client_target" ; then
21731 alpine_c_client_target
=$alpine_with_c_client_target
21735 cat >>confdefs.h
<<_ACEOF
21736 #define SYSTYPE "$systype"
21740 cat >>confdefs.h
<<_ACEOF
21741 #define C_FILESEP '$alpine_path_delim'
21745 cat >>confdefs.h
<<_ACEOF
21746 #define S_FILESEP "$alpine_path_delim"
21750 cat >>confdefs.h
<<_ACEOF
21751 #define MAILDIR "$alpine_local_maildir"
21755 cat >>confdefs.h
<<_ACEOF
21756 #define MODE_READONLY $alpine_mode_readonly
21760 C_CLIENT_TARGET
=$alpine_c_client_target
21762 C_CLIENT_WITH_IPV6
=$c_client_ip6
21764 if test "x$alpine_SSLTYPE" = "xnone" ; then
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
21766 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
21767 c_client_specials
="${c_client_specials}SSLTYPE=none "
21770 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
21771 certdir
="$alpine_SSLCERTS"
21772 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
21773 certdir
="${alpine_SSLDIR}/certs"
21774 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
21775 certdir
="${alpine_SSLDIR}/ssl/certs"
21776 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
21777 certdir
="$alpine_SSLCERTS_ORIG"
21778 elif test -n "$alpine_SSLCERTS" ; then
21779 certdir
="$alpine_SSLCERTS"
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
21782 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
21785 if test "x$with_smime" != "xno" ; then
21786 if test -n "$certdir" ; then
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
21788 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
21790 $as_echo "#define SMIME /**/" >>confdefs.h
21793 cat >>confdefs.h
<<_ACEOF
21794 #define SMIME_SSLCERTS "$certdir"
21802 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
21803 SSL_BUNDLE_EXISTS
="no"
21804 SSL_PEM
="factory.pem ca-bundle.pem"
21805 for SSL_BUNDLE
in $SSL_PEM
21807 if test -f ${certdir}/${SSL_BUNDLE} ; then
21808 SSL_BUNDLE_EXISTS
="yes"
21812 SSL_CERT_LINK
="yes"
21815 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
21817 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
21818 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
21819 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
21821 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
21823 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
21826 if test -n "$alpine_SSLINCLUDE" ; then
21827 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
21830 if test -n "$alpine_SSLLIB" ; then
21831 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
21834 if test -n "$alpine_SSLDIR" ; then
21835 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
21838 if test -n "$certdir" ; then
21839 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
21842 if test -n "$alpine_SSLKEYS" ; then
21843 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
21848 if test "x$alpine_GSSTYPE" != "xnone" ; then
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
21851 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
21855 if test "x$alpine_NTLM" != "xnone" ; then
21856 extra_auth_ntlm
=ntl
21857 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
21858 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
21861 if test -n "$CPPFLAGS" ; then
21862 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
21864 if test -n "$CFLAGS" ; then
21865 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
21868 if test -n "$alpine_c_client_cflags" ; then
21869 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
21873 if test -n "$LDFLAGS" ; then
21874 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
21876 if test -n "$LIBS" ; then
21877 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
21880 if test -n "$alpine_c_client_ldflags" ; then
21881 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
21885 if test -n "$alpine_c_client_gccoptlevel" ; then
21886 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
21890 c_client_auths
="$extra_auth_gss $extra_auth_ntlm"
21891 C_CLIENT_AUTHS
=$c_client_auths
21894 C_CLIENT_SPECIALS
=$c_client_specials
21897 if test -z "$WEB_BUILD" ; then
21898 WEB_PUBCOOKIE_BUILD
=
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
21900 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
21902 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
21904 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
21905 if test "x$alpine_GSSTYPE" = "xnone" ; then
21906 WEB_PUBCOOKIE_BUILD
=
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
21908 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
21910 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
21911 elif test -z "$WEB_BINDIR" ; then
21912 WEB_PUBCOOKIE_BUILD
=
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
21914 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
21915 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
21916 Please re-run configure with these options:
21917 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
21920 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
21922 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
21923 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
21939 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"
21941 cat >confcache
<<\_ACEOF
21942 # This file is a shell script that caches the results of configure
21943 # tests run on this system so they can be shared between configure
21944 # scripts and configure runs, see configure's option --config-cache.
21945 # It is not useful on other systems. If it contains results you don't
21946 # want to keep, you may remove or edit it.
21948 # config.status only pays attention to the cache file if you give it
21949 # the --recheck option to rerun configure.
21951 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21952 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21953 # following values.
21957 # The following way of writing the cache mishandles newlines in values,
21958 # but we know of no workaround that is simple, portable, and efficient.
21959 # So, we kill variables containing newlines.
21960 # Ultrix sh set writes to stderr and can't be redirected directly,
21961 # and sets the high bit in the cache file unless we assign to the vars.
21963 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21964 eval ac_val
=\$
$ac_var
21968 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21969 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21972 _ | IFS | as_nl
) ;; #(
21973 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21974 *) { eval $ac_var=; unset $ac_var;} ;;
21980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21981 *${as_nl}ac_space
=\
*)
21982 # `set' does not quote correctly, so add quotes: double-quote
21983 # substitution turns \\\\ into \\, and sed turns \\ into \.
21986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21989 # `set' quotes correctly as required by POSIX, so do not add quotes.
21990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22003 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22004 if test -w "$cache_file"; then
22005 if test "x$cache_file" != "x/dev/null"; then
22006 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22007 $as_echo "$as_me: updating cache $cache_file" >&6;}
22008 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22009 cat confcache
>"$cache_file"
22011 case $cache_file in #(
22013 mv -f confcache
"$cache_file"$$
&&
22014 mv -f "$cache_file"$$
"$cache_file" ;; #(
22016 mv -f confcache
"$cache_file" ;;
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22022 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22027 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22028 # Let make expand exec_prefix.
22029 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22031 DEFS
=-DHAVE_CONFIG_H
22036 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22037 # 1. Remove the extension, and $U if already installed.
22038 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22039 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22040 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22041 # will be set to the directory where LIBOBJS objects are built.
22042 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22043 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22045 LIBOBJS
=$ac_libobjs
22047 LTLIBOBJS
=$ac_ltlibobjs
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22051 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22052 if test -n "$am_sleep_pid"; then
22053 # Hide warnings about reused PIDs.
22054 wait $am_sleep_pid 2>/dev
/null
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22057 $as_echo "done" >&6; }
22058 if test -n "$EXEEXT"; then
22060 am__EXEEXT_FALSE
='#'
22062 am__EXEEXT_TRUE
='#'
22066 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22067 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22070 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22071 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22074 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22075 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22078 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22079 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22083 : "${CONFIG_STATUS=./config.status}"
22085 ac_clean_files_save
=$ac_clean_files
22086 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22088 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22090 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22092 # Generated by $as_me.
22093 # Run this file to recreate the current configuration.
22094 # Compiler output produced by configure, useful for debugging
22095 # configure, is in config.log if it exists.
22098 ac_cs_recheck=false
22101 SHELL=\${CONFIG_SHELL-$SHELL}
22104 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22105 ## -------------------- ##
22106 ## M4sh Initialization. ##
22107 ## -------------------- ##
22109 # Be more Bourne compatible
22110 DUALCASE
=1; export DUALCASE
# for MKS sh
22111 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22114 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22115 # is contrary to our usage. Disable this feature.
22116 alias -g '${1+"$@"}'='"$@"'
22117 setopt NO_GLOB_SUBST
22119 case `(set -o) 2>/dev/null` in #(
22131 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22132 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22133 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22134 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22135 # Prefer a ksh shell builtin over an external printf program on Solaris,
22136 # but without wasting forks for bash or zsh.
22137 if test -z "$BASH_VERSION$ZSH_VERSION" \
22138 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22139 as_echo='print
-r --'
22140 as_echo_n='print
-rn --'
22141 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22142 as_echo='printf %s
\n'
22143 as_echo_n='printf %s
'
22145 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22146 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22147 as_echo_n='/usr
/ucb
/echo -n'
22149 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22150 as_echo_n_body='eval
22154 expr "X$arg" : "X\\(.*\\)$as_nl";
22155 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22157 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22159 export as_echo_n_body
22160 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22162 export as_echo_body
22163 as_echo='sh
-c $as_echo_body as_echo
'
22166 # The user is always right.
22167 if test "${PATH_SEPARATOR+set}" != set; then
22169 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22170 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22177 # We need space, tab and new line, in precisely that order. Quoting is
22178 # there to prevent editors from complaining about space-tab.
22179 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22180 # splitting by setting IFS to empty value.)
22183 # Find who we are. Look in the path if we contain no directory separator.
22186 *[\\/]* ) as_myself=$0 ;;
22187 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22188 for as_dir in $PATH
22191 test -z "$as_dir" && as_dir=.
22192 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22198 # We did not find ourselves, most probably we were run as `sh COMMAND'
22199 # in which case we are not to be found in the path.
22200 if test "x$as_myself" = x
; then
22203 if test ! -f "$as_myself"; then
22204 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22208 # Unset variables that we do not need and which cause bugs (e.g. in
22209 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22210 # suppresses any "Segmentation fault" message there. '((' could
22211 # trigger a bug in pdksh 5.2.14.
22212 for as_var
in BASH_ENV ENV MAIL MAILPATH
22213 do eval test x\
${$as_var+set} = xset \
22214 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22227 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22230 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22231 # ----------------------------------------
22232 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22233 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22234 # script with STATUS, using 1 if that was 0.
22237 as_status
=$1; test $as_status -eq 0 && as_status
=1
22239 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22240 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22242 $as_echo "$as_me: error: $2" >&2
22243 as_fn_exit
$as_status
22247 # as_fn_set_status STATUS
22248 # -----------------------
22249 # Set $? to STATUS, without forking.
22250 as_fn_set_status
()
22253 } # as_fn_set_status
22255 # as_fn_exit STATUS
22256 # -----------------
22257 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22261 as_fn_set_status
$1
22267 # Portably unset VAR.
22270 { eval $1=; unset $1;}
22272 as_unset
=as_fn_unset
22273 # as_fn_append VAR VALUE
22274 # ----------------------
22275 # Append the text in VALUE to the end of the definition contained in VAR. Take
22276 # advantage of any shell optimizations that allow amortized linear growth over
22277 # repeated appends, instead of the typical quadratic growth present in naive
22279 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22280 eval 'as_fn_append ()
22291 # as_fn_arith ARG...
22292 # ------------------
22293 # Perform arithmetic evaluation on the ARGs, and store the result in the
22294 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22295 # must be portable across $(()) and expr.
22296 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22297 eval 'as_fn_arith ()
22304 as_val
=`expr "$@" || test $? -eq 1`
22309 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22310 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22316 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22317 as_basename
=basename
22322 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22328 as_me
=`$as_basename -- "$0" ||
22329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22330 X"$0" : 'X\(//\)$' \| \
22331 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22333 sed '/^.*\/\([^/][^/]*\)\/*$/{
22347 # Avoid depending upon Character Ranges.
22348 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22349 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22350 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22351 as_cr_digits
='0123456789'
22352 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22354 ECHO_C
= ECHO_N
= ECHO_T
=
22355 case `echo -n x` in #(((((
22357 case `echo 'xy\c'` in
22358 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22360 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22367 rm -f conf$$ conf$$.exe conf$$.
file
22368 if test -d conf$$.dir
; then
22369 rm -f conf$$.dir
/conf$$.
file
22372 mkdir conf$$.dir
2>/dev
/null
22374 if (echo >conf$$.
file) 2>/dev
/null
; then
22375 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22377 # ... but there are two gotchas:
22378 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22379 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22380 # In both cases, we have to default to `cp -pR'.
22381 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22383 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22391 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22392 rmdir conf$$.dir
2>/dev
/null
22397 # Create "$as_dir" as a directory, including parents if necessary.
22402 -*) as_dir
=.
/$as_dir;;
22404 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22408 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22409 *) as_qdir
=$as_dir;;
22411 as_dirs
="'$as_qdir' $as_dirs"
22412 as_dir
=`$as_dirname -- "$as_dir" ||
22413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22414 X"$as_dir" : 'X\(//\)[^/]' \| \
22415 X"$as_dir" : 'X\(//\)$' \| \
22416 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22417 $as_echo X"$as_dir" |
22418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22422 /^X\(\/\/\)[^/].*/{
22435 test -d "$as_dir" && break
22437 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22438 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22442 if mkdir
-p .
2>/dev
/null
; then
22443 as_mkdir_p
='mkdir -p "$as_dir"'
22445 test -d .
/-p && rmdir .
/-p
22450 # as_fn_executable_p FILE
22451 # -----------------------
22452 # Test if FILE is an executable regular file.
22453 as_fn_executable_p
()
22455 test -f "$1" && test -x "$1"
22456 } # as_fn_executable_p
22457 as_test_x
='test -x'
22458 as_executable_p
=as_fn_executable_p
22460 # Sed expression to map a string onto a valid CPP name.
22461 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22463 # Sed expression to map a string onto a valid variable name.
22464 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22468 ## ----------------------------------- ##
22469 ## Main body of $CONFIG_STATUS script. ##
22470 ## ----------------------------------- ##
22472 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22475 # Save the log message, to keep $0 and so on meaningful, and to
22476 # report actual input values of CONFIG_FILES etc. instead of their
22477 # values after options handling.
22479 This file was extended by alpine $as_me 2.21.9, which was
22480 generated by GNU Autoconf 2.69. Invocation command line was
22482 CONFIG_FILES = $CONFIG_FILES
22483 CONFIG_HEADERS = $CONFIG_HEADERS
22484 CONFIG_LINKS = $CONFIG_LINKS
22485 CONFIG_COMMANDS = $CONFIG_COMMANDS
22488 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22493 case $ac_config_files in *"
22494 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22497 case $ac_config_headers in *"
22498 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22503 # Files that config.status was made for.
22504 config_files="$ac_config_files"
22505 config_headers="$ac_config_headers"
22506 config_commands="$ac_config_commands"
22510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22512 \`$as_me' instantiates files and other configuration actions
22513 from templates according to the current configuration. Unless the files
22514 and actions are specified as TAGs, all are instantiated by default.
22516 Usage: $0 [OPTION]... [TAG]...
22518 -h, --help print this help, then exit
22519 -V, --version print version number and configuration settings, then exit
22520 --config print configuration, then exit
22521 -q, --quiet, --silent
22522 do not print progress messages
22523 -d, --debug don't remove temporary files
22524 --recheck update $as_me by reconfiguring in the same conditions
22525 --file=FILE[:TEMPLATE]
22526 instantiate the configuration file FILE
22527 --header=FILE[:TEMPLATE]
22528 instantiate the configuration header FILE
22530 Configuration files:
22533 Configuration headers:
22536 Configuration commands:
22539 Report bugs to <chappa@washington.edu>."
22542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22543 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22545 alpine config.status 2.21.9
22546 configured by $0, generated by GNU Autoconf 2.69,
22547 with options \\"\$ac_cs_config\\"
22549 Copyright (C) 2012 Free Software Foundation, Inc.
22550 This config.status script is free software; the Free Software Foundation
22551 gives unlimited permission to copy, distribute and modify it."
22558 test -n "\$AWK" || AWK=awk
22561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22562 # The default lists apply if the user does not specify any file.
22568 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22569 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22573 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22585 # Handling of the options.
22586 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22588 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22589 $as_echo "$ac_cs_version"; exit ;;
22590 --config |
--confi |
--conf |
--con |
--co |
--c )
22591 $as_echo "$ac_cs_config"; exit ;;
22592 --debug |
--debu |
--deb |
--de |
--d |
-d )
22594 --file |
--fil |
--fi |
--f )
22597 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22598 '') as_fn_error $?
"missing file argument" ;;
22600 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22601 ac_need_defaults
=false
;;
22602 --header |
--heade |
--head |
--hea )
22605 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22607 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22608 ac_need_defaults
=false
;;
22610 # Conflict between --help and --header
22611 as_fn_error $?
"ambiguous option: \`$1'
22612 Try \`$0 --help' for more information.";;
22613 --help |
--hel |
-h )
22614 $as_echo "$ac_cs_usage"; exit ;;
22615 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22616 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22619 # This is an error.
22620 -*) as_fn_error $?
"unrecognized option: \`$1'
22621 Try \`$0 --help' for more information." ;;
22623 *) as_fn_append ac_config_targets
" $1"
22624 ac_need_defaults
=false
;;
22630 ac_configure_extra_args
=
22632 if $ac_cs_silent; then
22634 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22639 if \$ac_cs_recheck; then
22640 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22642 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22643 CONFIG_SHELL='$SHELL'
22644 export CONFIG_SHELL
22649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22653 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22654 ## Running $as_me. ##
22660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22664 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22667 # The HP-UX ksh and POSIX shell print the target directory to stdout
22668 # if CDPATH is set.
22669 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22671 sed_quote_subst='$sed_quote_subst'
22672 double_quote_subst='$double_quote_subst'
22673 delay_variable_subst='$delay_variable_subst'
22674 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22675 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22676 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22677 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22678 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22679 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22680 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22681 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22682 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22683 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22684 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22685 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22686 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22687 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22688 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22689 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22690 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22691 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22692 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22693 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22694 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22695 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22696 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22697 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22698 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22699 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22700 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22701 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22702 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22703 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22704 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22705 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22706 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22707 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22708 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22709 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22710 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22711 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22712 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22713 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22714 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22715 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22716 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22717 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22718 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22719 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22720 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22721 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22722 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22723 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22724 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22725 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22726 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22727 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22728 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22729 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22730 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"`'
22731 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22732 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22733 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22734 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22735 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22736 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22737 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22738 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22739 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22740 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22741 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22742 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22743 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22744 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22745 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22746 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22747 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22748 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22749 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22750 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22751 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22752 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22753 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22754 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22755 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22756 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22757 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22758 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22759 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22760 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22761 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22762 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22763 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22764 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22765 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22766 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22767 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22768 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22769 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22770 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22771 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22772 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22773 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22774 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22775 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22776 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22777 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22778 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22779 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22780 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22781 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22782 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22783 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22784 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22785 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22786 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22787 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22788 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22789 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22790 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22791 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22792 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22793 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22794 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22795 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22796 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22797 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22798 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22799 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22800 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22801 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22802 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22803 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22806 LTCFLAGS='$LTCFLAGS'
22807 compiler='$compiler_DEFAULT'
22809 # A function that is used when there is no print builtin or printf.
22810 func_fallback_echo ()
22812 eval 'cat <<_LTECHO_EOF
22817 # Quote evaled strings.
22832 deplibs_check_method \
22837 sharedlib_from_linklib_cmd \
22840 archiver_list_spec \
22846 lt_cv_sys_global_symbol_pipe \
22847 lt_cv_sys_global_symbol_to_cdecl \
22848 lt_cv_sys_global_symbol_to_c_name_address \
22849 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22850 nm_file_list_spec \
22851 lt_prog_compiler_no_builtin_flag \
22852 lt_prog_compiler_pic \
22853 lt_prog_compiler_wl \
22854 lt_prog_compiler_static \
22855 lt_cv_prog_compiler_c_o \
22864 export_dynamic_flag_spec \
22865 whole_archive_flag_spec \
22866 compiler_needs_object \
22868 allow_undefined_flag \
22869 no_undefined_flag \
22870 hardcode_libdir_flag_spec \
22871 hardcode_libdir_separator \
22875 variables_saved_for_relink \
22877 library_names_spec \
22879 install_override_mode \
22883 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22884 *[\\\\\\\`\\"\\\$]*)
22885 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22888 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22893 # Double-quote double-evaled strings.
22894 for var in reload_cmds \
22895 old_postinstall_cmds \
22896 old_postuninstall_cmds \
22898 extract_expsyms_cmds \
22899 old_archive_from_new_cmds \
22900 old_archive_from_expsyms_cmds \
22902 archive_expsym_cmds \
22904 module_expsym_cmds \
22905 export_symbols_cmds \
22909 postuninstall_cmds \
22911 sys_lib_search_path_spec \
22912 sys_lib_dlsearch_path_spec; do
22913 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22914 *[\\\\\\\`\\"\\\$]*)
22915 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22918 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22923 ac_aux_dir='$ac_aux_dir'
22924 xsi_shell='$xsi_shell'
22925 lt_shell_append='$lt_shell_append'
22927 # See if we are running on zsh, and set the options which allow our
22928 # commands through without removal of \ escapes INIT.
22929 if test -n "\${ZSH_VERSION+set}" ; then
22930 setopt NO_GLOB_SUBST
22936 TIMESTAMP='$TIMESTAMP'
22942 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
22943 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
22944 # from automake < 1.5.
22945 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
22946 # Capture the value of LINGUAS because we need it to compute CATALOGS.
22947 LINGUAS="${LINGUAS-%UNSET%}"
22952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22954 # Handling of arguments.
22955 for ac_config_target
in $ac_config_targets
22957 case $ac_config_target in
22958 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22959 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22960 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22961 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
22962 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
22963 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
22964 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
22965 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
22966 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
22967 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
22968 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
22969 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
22970 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
22971 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
22972 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
22973 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
22974 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
22975 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22977 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22982 # If the user did not use the arguments to specify the items to instantiate,
22983 # then the envvar interface is used. Set only those that are not.
22984 # We use the long form for the default assignment because of an extremely
22985 # bizarre bug on SunOS 4.1.3.
22986 if $ac_need_defaults; then
22987 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22988 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22989 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22992 # Have a temporary directory for convenience. Make it in the build tree
22993 # simply because there is no reason against having it here, and in addition,
22994 # creating and moving files from /tmp can sometimes cause problems.
22995 # Hook for its removal unless debugging.
22996 # Note that there is a small window in which the directory will not be cleaned:
22997 # after its creation but before its name has been assigned to `$tmp'.
23001 trap 'exit_status=$?
23002 : "${ac_tmp:=$tmp}"
23003 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23005 trap 'as_fn_exit 1' 1 2 13 15
23007 # Create a (secure) tmp directory for tmp files.
23010 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23014 tmp
=.
/conf$$
-$RANDOM
23015 (umask 077 && mkdir
"$tmp")
23016 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23019 # Set up the scripts for CONFIG_FILES section.
23020 # No need to generate them if there are no CONFIG_FILES.
23021 # This happens for instance with `./config.status config.h'.
23022 if test -n "$CONFIG_FILES"; then
23025 ac_cr
=`echo X | tr X '\015'`
23026 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23027 # But we know of no other shell where ac_cr would be empty at this
23028 # point, so we can use a bashism as a fallback.
23029 if test "x$ac_cr" = x
; then
23030 eval ac_cr
=\$
\'\\r
\'
23032 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23033 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23036 ac_cs_awk_cr
=$ac_cr
23039 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23044 echo "cat >conf$$subs.awk <<_ACEOF" &&
23045 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23047 } >conf$$subs.sh ||
23048 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23049 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23051 for ac_last_try in false false false false false :; do
23052 . ./conf$$subs.sh ||
23053 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23055 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23056 if test $ac_delim_n = $ac_delim_num; then
23058 elif $ac_last_try; then
23059 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23061 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23064 rm -f conf$$subs.sh
23066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23067 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23071 s/^/S["/; s
/!.
*/"]=/
23081 s/\(.\{148\}\)..*/\1/
23083 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23088 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23095 s/\(.\{148\}\)..*/\1/
23097 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23101 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23106 ' <conf$$subs.awk | sed '
23111 ' >>$CONFIG_STATUS || ac_write_fail=1
23112 rm -f conf$$subs.awk
23113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23115 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23116 for (key in S) S_is_set[key] = 1
23122 nfields = split(line, field, "@
")
23124 len = length(field[1])
23125 for (i = 2; i < nfields; i++) {
23127 keylen = length(key)
23128 if (S_is_set[key]) {
23130 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23131 len += length(value) + length(field[++i])
23142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23143 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23144 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23147 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23148 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23151 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23152 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23153 # trailing colons and then remove the whole line if VPATH becomes empty
23154 # (actually we leave an empty line to preserve line numbers).
23155 if test "x
$srcdir" = x.; then
23156 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23175 fi # test -n "$CONFIG_FILES"
23177 # Set up the scripts for CONFIG_HEADERS section.
23178 # No need to generate them if there are no CONFIG_HEADERS.
23179 # This happens for instance with `./config.status Makefile'.
23180 if test -n "$CONFIG_HEADERS"; then
23181 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23185 # Transform confdefs.h into an awk script `defines.awk', embedded as
23186 # here-document in config.status, that substitutes the proper values into
23187 # config.h.in to produce config.h.
23189 # Create a delimiter string that does not exist in confdefs.h, to ease
23190 # handling of long lines.
23192 for ac_last_try in false false :; do
23193 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23194 if test -z "$ac_tt"; then
23196 elif $ac_last_try; then
23197 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23199 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23203 # For the awk script, D is an array of macro values keyed by name,
23204 # likewise P contains macro parameters if any. Preserve backslash
23205 # newline sequences.
23207 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23209 s/.\{148\}/&'"$ac_delim"'/g
23212 s/^[ ]*#[ ]*define[ ][ ]*/ /
23219 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23221 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23225 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23226 D["\
1"]=" \
3\\\\\\n
"\\/p
23228 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23233 s/.\{148\}/&'"$ac_delim"'/g
23238 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23241 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23243 ' <confdefs.h | sed '
23244 s/'"$ac_delim"'/"\\\
23245 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23248 for (key in D) D_is_set[key] = 1
23251 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23253 split(line, arg, " ")
23254 if (arg[1] == "#") {
23258 defundef
= substr
(arg
[1], 2)
23261 split(mac1
, mac2
, "(") #)
23263 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23264 if (D_is_set
[macro
]) {
23265 # Preserve the white space surrounding the "#".
23266 print prefix
"define", macro P
[macro
] D
[macro
]
23269 # Replace #undef with comments. This is necessary, for example,
23270 # in the case of _POSIX_SOURCE, which is predefined and required
23271 # on some systems where configure will not decide to define it.
23272 if (defundef
== "undef") {
23273 print
"/*", prefix defundef
, macro
, "*/"
23281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23282 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23283 fi # test -n "$CONFIG_HEADERS"
23286 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23291 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23293 case $ac_mode$ac_tag in
23295 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23296 :[FH
]-) ac_tag
=-:-;;
23297 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23314 -) ac_f
="$ac_tmp/stdin";;
23315 *) # Look for the file first in the build tree, then in the source tree
23316 # (if the path is not absolute). The absolute path cannot be DOS-style,
23317 # because $ac_f cannot contain `:'.
23321 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23323 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23325 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23326 as_fn_append ac_file_inputs
" '$ac_f'"
23329 # Let's still pretend it is `configure' which instantiates (i.e., don't
23330 # use $as_me), people would be surprised to read:
23331 # /* config.h. Generated by config.status. */
23332 configure_input
='Generated from '`
23333 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23335 if test x
"$ac_file" != x-
; then
23336 configure_input
="$ac_file. $configure_input"
23337 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23338 $as_echo "$as_me: creating $ac_file" >&6;}
23340 # Neutralize special characters interpreted by sed in replacement strings.
23341 case $configure_input in #(
23342 *\
&* |
*\|
* |
*\\* )
23343 ac_sed_conf_input
=`$as_echo "$configure_input" |
23344 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23345 *) ac_sed_conf_input
=$configure_input;;
23349 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23350 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23355 ac_dir
=`$as_dirname -- "$ac_file" ||
23356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23357 X"$ac_file" : 'X\(//\)[^/]' \| \
23358 X"$ac_file" : 'X\(//\)$' \| \
23359 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23360 $as_echo X"$ac_file" |
23361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23365 /^X\(\/\/\)[^/].*/{
23378 as_dir
="$ac_dir"; as_fn_mkdir_p
23382 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23384 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23385 # A ".." for each directory in $ac_dir_suffix.
23386 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23387 case $ac_top_builddir_sub in
23388 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23389 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23392 ac_abs_top_builddir
=$ac_pwd
23393 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23394 # for backward compatibility:
23395 ac_top_builddir
=$ac_top_build_prefix
23398 .
) # We are building in place.
23400 ac_top_srcdir
=$ac_top_builddir_sub
23401 ac_abs_top_srcdir
=$ac_pwd ;;
23402 [\\/]* | ?
:[\\/]* ) # Absolute name.
23403 ac_srcdir
=$srcdir$ac_dir_suffix;
23404 ac_top_srcdir
=$srcdir
23405 ac_abs_top_srcdir
=$srcdir ;;
23406 *) # Relative name.
23407 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23408 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23409 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23411 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23421 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23422 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23424 ac_MKDIR_P
=$MKDIR_P
23426 [\\/$
]* | ?
:[\\/]* ) ;;
23427 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23432 # If the template does not know about datarootdir, expand it.
23433 # FIXME: This hack should be removed a few years after 2.60.
23434 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23445 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23446 *datarootdir
*) ac_datarootdir_seen
=yes;;
23447 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23449 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23452 ac_datarootdir_hack='
23453 s&@datadir@&$datadir&g
23454 s&@docdir@&$docdir&g
23455 s&@infodir@&$infodir&g
23456 s&@localedir@&$localedir&g
23457 s&@mandir@&$mandir&g
23458 s&\\\${datarootdir}&$datarootdir&g' ;;
23462 # Neutralize VPATH when `$srcdir' = `.'.
23463 # Shell code in configure.ac might set extrasub.
23464 # FIXME: do we really want to maintain this feature?
23465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23466 ac_sed_extra="$ac_vpsub
23469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23471 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23472 s|@configure_input@|
$ac_sed_conf_input|
;t t
23473 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23474 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23475 s
&@srcdir@
&$ac_srcdir&;t t
23476 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23477 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23478 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23479 s
&@builddir@
&$ac_builddir&;t t
23480 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23481 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23482 s
&@INSTALL@
&$ac_INSTALL&;t t
23483 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23484 $ac_datarootdir_hack
23486 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23487 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23489 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23490 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23491 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23492 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23494 which seems to be undefined. Please make sure it is defined" >&5
23495 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23496 which seems to be undefined. Please make sure it is defined" >&2;}
23498 rm -f "$ac_tmp/stdin"
23500 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23501 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23503 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23509 if test x"$ac_file" != x-; then
23511 $as_echo "/* $configure_input */" \
23512 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23513 } >"$ac_tmp/config.h" \
23514 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23515 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23516 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23517 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23520 mv "$ac_tmp/config.h" "$ac_file" \
23521 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23524 $as_echo "/* $configure_input */" \
23525 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23526 || as_fn_error $? "could not create -" "$LINENO" 5
23528 # Compute "$ac_file"'s index
in $config_headers.
23531 for _am_header
in $config_headers :; do
23532 case $_am_header in
23533 $_am_arg |
$_am_arg:* )
23536 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23539 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23540 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23541 X"$_am_arg" : 'X\(//\)[^/]' \| \
23542 X"$_am_arg" : 'X\(//\)$' \| \
23543 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23544 $as_echo X"$_am_arg" |
23545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23549 /^X\(\/\/\)[^/].*/{
23561 s/.*/./; q'`/stamp-h
$_am_stamp_count
23564 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23565 $as_echo "$as_me: executing $ac_file commands" >&6;}
23570 case $ac_file$ac_mode in
23571 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23572 # Older Autoconf quotes --file arguments for eval, but not when files
23573 # are listed without --file. Let's play safe and only enable the eval
23574 # if we detect the quoting.
23575 case $CONFIG_FILES in
23576 *\'*) eval set x
"$CONFIG_FILES" ;;
23577 *) set x
$CONFIG_FILES ;;
23582 # Strip MF so we end up with the name of the file.
23583 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23584 # Check whether this is an Automake generated Makefile or not.
23585 # We used to match only the files named 'Makefile.in', but
23586 # some people rename them; so instead we look at the file content.
23587 # Grep'ing the first line is not enough: some people post-process
23588 # each Makefile.in and add a new line on top of each file to say so.
23589 # Grep'ing the whole file is not good either: AIX grep has a line
23590 # limit of 2048, but all sed's we know have understand at least 4000.
23591 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23592 dirpart
=`$as_dirname -- "$mf" ||
23593 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23594 X"$mf" : 'X\(//\)[^/]' \| \
23595 X"$mf" : 'X\(//\)$' \| \
23596 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23602 /^X\(\/\/\)[^/].*/{
23618 # Extract the definition of DEPDIR, am__include, and am__quote
23619 # from the Makefile without running 'make'.
23620 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23621 test -z "$DEPDIR" && continue
23622 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23623 test -z "$am__include" && continue
23624 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23625 # Find all dependency output files, they are included files with
23626 # $(DEPDIR) in their names. We invoke sed twice because it is the
23627 # simplest approach to changing $(DEPDIR) to its actual value in the
23629 for file in `sed -n "
23630 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23631 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23632 # Make sure the directory exists.
23633 test -f "$dirpart/$file" && continue
23634 fdir
=`$as_dirname -- "$file" ||
23635 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23636 X"$file" : 'X\(//\)[^/]' \| \
23637 X"$file" : 'X\(//\)$' \| \
23638 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23639 $as_echo X"$file" |
23640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23644 /^X\(\/\/\)[^/].*/{
23657 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23658 # echo "creating $dirpart/$file"
23659 echo '# dummy' > "$dirpart/$file"
23666 # See if we are running on zsh, and set the options which allow our
23667 # commands through without removal of \ escapes.
23668 if test -n "${ZSH_VERSION+set}" ; then
23669 setopt NO_GLOB_SUBST
23672 cfgfile
="${ofile}T"
23673 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23676 cat <<_LT_EOF >> "$cfgfile"
23679 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23680 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23681 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23682 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23684 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23685 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23687 # Written by Gordon Matzigkeit, 1996
23689 # This file is part of GNU Libtool.
23691 # GNU Libtool is free software; you can redistribute it and/or
23692 # modify it under the terms of the GNU General Public License as
23693 # published by the Free Software Foundation; either version 2 of
23694 # the License, or (at your option) any later version.
23696 # As a special exception to the GNU General Public License,
23697 # if you distribute this file as part of a program or library that
23698 # is built using GNU Libtool, you may include this file under the
23699 # same distribution terms that you use for the rest of that program.
23701 # GNU Libtool is distributed in the hope that it will be useful,
23702 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23703 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23704 # GNU General Public License for more details.
23706 # You should have received a copy of the GNU General Public License
23707 # along with GNU Libtool; see the file COPYING. If not, a copy
23708 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23709 # obtained by writing to the Free Software Foundation, Inc.,
23710 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23713 # The names of the tagged configurations supported by this script.
23716 # ### BEGIN LIBTOOL CONFIG
23718 # Which release of libtool.m4 was used?
23719 macro_version=$macro_version
23720 macro_revision=$macro_revision
23722 # Whether or not to build shared libraries.
23723 build_libtool_libs=$enable_shared
23725 # Whether or not to build static libraries.
23726 build_old_libs=$enable_static
23728 # What type of objects to build.
23731 # Whether or not to optimize for fast installation.
23732 fast_install=$enable_fast_install
23734 # Shell to use when invoking shell scripts.
23737 # An echo program that protects backslashes.
23740 # The PATH separator for the build system.
23741 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23744 host_alias=$host_alias
23748 # The build system.
23749 build_alias=$build_alias
23753 # A sed program that does not truncate output.
23756 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23757 Xsed="\$SED -e 1s/^X//"
23759 # A grep program that handles long lines.
23765 # A literal string matcher.
23768 # A BSD- or MS-compatible name lister.
23771 # Whether we need soft or hard links.
23774 # What is the maximum length of a command?
23775 max_cmd_len=$max_cmd_len
23777 # Object file suffix (normally "o").
23780 # Executable file suffix (normally "").
23783 # whether the shell understands "unset".
23786 # turn spaces into newlines.
23789 # turn newlines into spaces.
23792 # convert \$build file names to \$host format.
23793 to_host_file_cmd=$lt_cv_to_host_file_cmd
23795 # convert \$build files to toolchain format.
23796 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23798 # An object symbol dumper.
23799 OBJDUMP=$lt_OBJDUMP
23801 # Method to check whether dependent libraries are shared objects.
23802 deplibs_check_method=$lt_deplibs_check_method
23804 # Command to use when deplibs_check_method = "file_magic".
23805 file_magic_cmd=$lt_file_magic_cmd
23807 # How to find potential files when deplibs_check_method = "file_magic".
23808 file_magic_glob=$lt_file_magic_glob
23810 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23811 want_nocaseglob=$lt_want_nocaseglob
23813 # DLL creation program.
23814 DLLTOOL=$lt_DLLTOOL
23816 # Command to associate shared and link libraries.
23817 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23822 # Flags to create an archive.
23823 AR_FLAGS=$lt_AR_FLAGS
23825 # How to feed a file listing to the archiver.
23826 archiver_list_spec=$lt_archiver_list_spec
23828 # A symbol stripping program.
23831 # Commands used to install an old-style archive.
23833 old_postinstall_cmds=$lt_old_postinstall_cmds
23834 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23836 # Whether to use a lock for old archive extraction.
23837 lock_old_archive_extraction=$lock_old_archive_extraction
23842 # LTCC compiler flags.
23843 LTCFLAGS=$lt_CFLAGS
23845 # Take the output of nm and produce a listing of raw symbols and C names.
23846 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23848 # Transform the output of nm in a proper C declaration.
23849 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23851 # Transform the output of nm in a C name address pair.
23852 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23854 # Transform the output of nm in a C name address pair when lib prefix is needed.
23855 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23857 # Specify filename containing input files for \$NM.
23858 nm_file_list_spec=$lt_nm_file_list_spec
23860 # The root where to search for dependent libraries,and in which our libraries should be installed.
23861 lt_sysroot=$lt_sysroot
23863 # The name of the directory that contains temporary libtool files.
23866 # Used to examine libraries when file_magic_cmd begins with "file".
23867 MAGIC_CMD=$MAGIC_CMD
23869 # Must we lock files when doing compilation?
23870 need_locks=$lt_need_locks
23873 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23875 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23876 DSYMUTIL=$lt_DSYMUTIL
23878 # Tool to change global to local symbols on Mac OS X.
23881 # Tool to manipulate fat objects and archives on Mac OS X.
23884 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23887 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23888 OTOOL64=$lt_OTOOL64
23890 # Old archive suffix (normally "a").
23893 # Shared library suffix (normally ".so").
23894 shrext_cmds=$lt_shrext_cmds
23896 # The commands to extract the exported symbol list from a shared archive.
23897 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23899 # Variables whose values should be saved in libtool wrapper scripts and
23900 # restored at link time.
23901 variables_saved_for_relink=$lt_variables_saved_for_relink
23903 # Do we need the "lib" prefix for modules?
23904 need_lib_prefix=$need_lib_prefix
23906 # Do we need a version for libraries?
23907 need_version=$need_version
23909 # Library versioning type.
23910 version_type=$version_type
23912 # Shared library runtime path variable.
23913 runpath_var=$runpath_var
23915 # Shared library path variable.
23916 shlibpath_var=$shlibpath_var
23918 # Is shlibpath searched before the hard-coded library search path?
23919 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23921 # Format of library name prefix.
23922 libname_spec=$lt_libname_spec
23924 # List of archive names. First name is the real one, the rest are links.
23925 # The last name is the one that the linker finds with -lNAME
23926 library_names_spec=$lt_library_names_spec
23928 # The coded name of the library, if different from the real name.
23929 soname_spec=$lt_soname_spec
23931 # Permission mode override for installation of shared libraries.
23932 install_override_mode=$lt_install_override_mode
23934 # Command to use after installation of a shared archive.
23935 postinstall_cmds=$lt_postinstall_cmds
23937 # Command to use after uninstallation of a shared archive.
23938 postuninstall_cmds=$lt_postuninstall_cmds
23940 # Commands used to finish a libtool library installation in a directory.
23941 finish_cmds=$lt_finish_cmds
23943 # As "finish_cmds", except a single script fragment to be evaled but
23945 finish_eval=$lt_finish_eval
23947 # Whether we should hardcode library paths into libraries.
23948 hardcode_into_libs=$hardcode_into_libs
23950 # Compile-time system search path for libraries.
23951 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23953 # Run-time system search path for libraries.
23954 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23956 # Whether dlopen is supported.
23957 dlopen_support=$enable_dlopen
23959 # Whether dlopen of programs is supported.
23960 dlopen_self=$enable_dlopen_self
23962 # Whether dlopen of statically linked programs is supported.
23963 dlopen_self_static=$enable_dlopen_self_static
23965 # Commands to strip libraries.
23966 old_striplib=$lt_old_striplib
23967 striplib=$lt_striplib
23970 # The linker used to build libraries.
23973 # How to create reloadable object files.
23974 reload_flag=$lt_reload_flag
23975 reload_cmds=$lt_reload_cmds
23977 # Commands used to build an old-style archive.
23978 old_archive_cmds=$lt_old_archive_cmds
23980 # A language specific compiler.
23983 # Is the compiler the GNU compiler?
23986 # Compiler flag to turn off builtin functions.
23987 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23989 # Additional compiler flags for building library objects.
23990 pic_flag=$lt_lt_prog_compiler_pic
23992 # How to pass a linker flag through the compiler.
23993 wl=$lt_lt_prog_compiler_wl
23995 # Compiler flag to prevent dynamic linking.
23996 link_static_flag=$lt_lt_prog_compiler_static
23998 # Does compiler simultaneously support -c and -o options?
23999 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24001 # Whether or not to add -lc for building shared libraries.
24002 build_libtool_need_lc=$archive_cmds_need_lc
24004 # Whether or not to disallow shared libs when runtime libs are static.
24005 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24007 # Compiler flag to allow reflexive dlopens.
24008 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24010 # Compiler flag to generate shared objects directly from archives.
24011 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24013 # Whether the compiler copes with passing no objects directly.
24014 compiler_needs_object=$lt_compiler_needs_object
24016 # Create an old-style archive from a shared archive.
24017 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24019 # Create a temporary old-style archive to link instead of a shared archive.
24020 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24022 # Commands used to build a shared archive.
24023 archive_cmds=$lt_archive_cmds
24024 archive_expsym_cmds=$lt_archive_expsym_cmds
24026 # Commands used to build a loadable module if different from building
24027 # a shared archive.
24028 module_cmds=$lt_module_cmds
24029 module_expsym_cmds=$lt_module_expsym_cmds
24031 # Whether we are building with GNU ld or not.
24032 with_gnu_ld=$lt_with_gnu_ld
24034 # Flag that allows shared libraries with undefined symbols to be built.
24035 allow_undefined_flag=$lt_allow_undefined_flag
24037 # Flag that enforces no undefined symbols.
24038 no_undefined_flag=$lt_no_undefined_flag
24040 # Flag to hardcode \$libdir into a binary during linking.
24041 # This must work even if \$libdir does not exist
24042 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24044 # Whether we need a single "-rpath" flag with a separated argument.
24045 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24047 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24048 # DIR into the resulting binary.
24049 hardcode_direct=$hardcode_direct
24051 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24052 # DIR into the resulting binary and the resulting library dependency is
24053 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24054 # library is relocated.
24055 hardcode_direct_absolute=$hardcode_direct_absolute
24057 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24058 # into the resulting binary.
24059 hardcode_minus_L=$hardcode_minus_L
24061 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24062 # into the resulting binary.
24063 hardcode_shlibpath_var=$hardcode_shlibpath_var
24065 # Set to "yes" if building a shared library automatically hardcodes DIR
24066 # into the library and all subsequent libraries and executables linked
24068 hardcode_automatic=$hardcode_automatic
24070 # Set to yes if linker adds runtime paths of dependent libraries
24071 # to runtime path list.
24072 inherit_rpath=$inherit_rpath
24074 # Whether libtool must link a program against all its dependency libraries.
24075 link_all_deplibs=$link_all_deplibs
24077 # Set to "yes" if exported symbols are required.
24078 always_export_symbols=$always_export_symbols
24080 # The commands to list exported symbols.
24081 export_symbols_cmds=$lt_export_symbols_cmds
24083 # Symbols that should not be listed in the preloaded symbols.
24084 exclude_expsyms=$lt_exclude_expsyms
24086 # Symbols that must always be exported.
24087 include_expsyms=$lt_include_expsyms
24089 # Commands necessary for linking programs (against libraries) with templates.
24090 prelink_cmds=$lt_prelink_cmds
24092 # Commands necessary for finishing linking programs.
24093 postlink_cmds=$lt_postlink_cmds
24095 # Specify filename containing input files.
24096 file_list_spec=$lt_file_list_spec
24098 # How to hardcode a shared library path into an executable.
24099 hardcode_action=$hardcode_action
24101 # ### END LIBTOOL CONFIG
24107 cat <<\_LT_EOF
>> "$cfgfile"
24108 # AIX sometimes has problems with the GCC collect2 program. For some
24109 # reason, if we set the COLLECT_NAMES environment variable, the problems
24110 # vanish in a puff of smoke.
24111 if test "X${COLLECT_NAMES+set}" != Xset
; then
24113 export COLLECT_NAMES
24120 ltmain
="$ac_aux_dir/ltmain.sh"
24123 # We use sed instead of cat because bash on DJGPP gets confused if
24124 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24125 # text mode, it properly converts lines to CR/LF. This bash problem
24126 # is reportedly fixed, but why not run on old versions too?
24127 sed '$q' "$ltmain" >> "$cfgfile" \
24128 ||
(rm -f "$cfgfile"; exit 1)
24130 if test x
"$xsi_shell" = xyes
; then
24131 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24135 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24136 \ * ) func_dirname_result="${3}" ;;\
24138 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24139 && mv -f "$cfgfile.tmp" "$cfgfile" \
24140 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24141 test 0 -eq $? || _lt_function_replace_fail
=:
24144 sed -e '/^func_basename ()$/,/^} # func_basename /c\
24147 \ func_basename_result="${1##*/}"\
24148 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24149 && mv -f "$cfgfile.tmp" "$cfgfile" \
24150 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24151 test 0 -eq $? || _lt_function_replace_fail
=:
24154 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24155 func_dirname_and_basename ()\
24158 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24159 \ * ) func_dirname_result="${3}" ;;\
24161 \ func_basename_result="${1##*/}"\
24162 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
24163 && mv -f "$cfgfile.tmp" "$cfgfile" \
24164 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24165 test 0 -eq $? || _lt_function_replace_fail
=:
24168 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
24171 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
24172 \ # positional parameters, so assign one to ordinary parameter first.\
24173 \ func_stripname_result=${3}\
24174 \ func_stripname_result=${func_stripname_result#"${1}"}\
24175 \ func_stripname_result=${func_stripname_result%"${2}"}\
24176 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
24177 && mv -f "$cfgfile.tmp" "$cfgfile" \
24178 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24179 test 0 -eq $? || _lt_function_replace_fail
=:
24182 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
24183 func_split_long_opt ()\
24185 \ func_split_long_opt_name=${1%%=*}\
24186 \ func_split_long_opt_arg=${1#*=}\
24187 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
24188 && mv -f "$cfgfile.tmp" "$cfgfile" \
24189 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24190 test 0 -eq $? || _lt_function_replace_fail
=:
24193 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
24194 func_split_short_opt ()\
24196 \ func_split_short_opt_arg=${1#??}\
24197 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
24198 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
24199 && mv -f "$cfgfile.tmp" "$cfgfile" \
24200 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24201 test 0 -eq $? || _lt_function_replace_fail
=:
24204 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
24208 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24209 \ *) func_lo2o_result=${1} ;;\
24211 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24212 && mv -f "$cfgfile.tmp" "$cfgfile" \
24213 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24214 test 0 -eq $? || _lt_function_replace_fail
=:
24217 sed -e '/^func_xform ()$/,/^} # func_xform /c\
24220 func_xform_result=${1%.*}.lo\
24221 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24222 && mv -f "$cfgfile.tmp" "$cfgfile" \
24223 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24224 test 0 -eq $? || _lt_function_replace_fail
=:
24227 sed -e '/^func_arith ()$/,/^} # func_arith /c\
24230 func_arith_result=$(( $* ))\
24231 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24232 && mv -f "$cfgfile.tmp" "$cfgfile" \
24233 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24234 test 0 -eq $? || _lt_function_replace_fail
=:
24237 sed -e '/^func_len ()$/,/^} # func_len /c\
24240 func_len_result=${#1}\
24241 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24242 && mv -f "$cfgfile.tmp" "$cfgfile" \
24243 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24244 test 0 -eq $? || _lt_function_replace_fail
=:
24248 if test x
"$lt_shell_append" = xyes
; then
24249 sed -e '/^func_append ()$/,/^} # func_append /c\
24252 eval "${1}+=\\${2}"\
24253 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24254 && mv -f "$cfgfile.tmp" "$cfgfile" \
24255 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24256 test 0 -eq $? || _lt_function_replace_fail
=:
24259 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24260 func_append_quoted ()\
24262 \ func_quote_for_eval "${2}"\
24263 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24264 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24265 && mv -f "$cfgfile.tmp" "$cfgfile" \
24266 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24267 test 0 -eq $? || _lt_function_replace_fail
=:
24270 # Save a `func_append' function call where possible by direct use of '+='
24271 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24272 && mv -f "$cfgfile.tmp" "$cfgfile" \
24273 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24274 test 0 -eq $? || _lt_function_replace_fail
=:
24276 # Save a `func_append' function call even when '+=' is not available
24277 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24278 && mv -f "$cfgfile.tmp" "$cfgfile" \
24279 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24280 test 0 -eq $? || _lt_function_replace_fail
=:
24283 if test x
"$_lt_function_replace_fail" = x
":"; then
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24285 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24289 mv -f "$cfgfile" "$ofile" ||
24290 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24294 "po-directories":C
)
24295 for ac_file
in $CONFIG_FILES; do
24296 # Support "outfile[:infile[:infile...]]"
24298 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24300 # PO directories have a Makefile.in generated from Makefile.in.in.
24301 case "$ac_file" in */Makefile.
in)
24302 # Adjust a relative srcdir.
24303 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24304 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
24305 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24306 # In autoconf-2.13 it is called $ac_given_srcdir.
24307 # In autoconf-2.50 it is called $srcdir.
24308 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
24309 case "$ac_given_srcdir" in
24310 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
24311 /*) top_srcdir
="$ac_given_srcdir" ;;
24312 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24314 # Treat a directory as a PO directory if and only if it has a
24315 # POTFILES.in file. This allows packages to have multiple PO
24316 # directories under different names or in different locations.
24317 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24318 rm -f "$ac_dir/POTFILES"
24319 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
24320 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24321 POMAKEFILEDEPS
="POTFILES.in"
24322 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
24323 # on $ac_dir but don't depend on user-specified configuration
24325 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24326 # The LINGUAS file contains the set of available languages.
24327 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24328 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
24330 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24331 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24332 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24333 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
24335 # The set of available languages was given in configure.in.
24336 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24337 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24340 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
24341 # Compute UPDATEPOFILES
24342 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
24343 # Compute DUMMYPOFILES
24344 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
24346 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
24347 case "$ac_given_srcdir" in
24349 *) srcdirpre
='$(srcdir)/' ;;
24355 for lang
in $ALL_LINGUAS; do
24356 POFILES
="$POFILES $srcdirpre$lang.po"
24357 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24358 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24359 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24361 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24362 # environment variable.
24364 if test -n "$ALL_LINGUAS"; then
24365 for presentlang
in $ALL_LINGUAS; do
24367 if test "%UNSET%" != "$LINGUAS"; then
24368 desiredlanguages
="$LINGUAS"
24370 desiredlanguages
="$ALL_LINGUAS"
24372 for desiredlang
in $desiredlanguages; do
24373 # Use the presentlang catalog if desiredlang is
24374 # a. equal to presentlang, or
24375 # b. a variant of presentlang (because in this case,
24376 # presentlang can be used as a fallback for messages
24377 # which are not translated in the desiredlang catalog).
24378 case "$desiredlang" in
24379 "$presentlang"*) useit
=yes;;
24382 if test $useit = yes; then
24383 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24388 if test -n "$INST_LINGUAS"; then
24389 for lang
in $INST_LINGUAS; do
24390 CATALOGS
="$CATALOGS $lang.gmo"
24393 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24394 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"
24395 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24396 if test -f "$f"; then
24398 *.orig |
*.bak |
*~
) ;;
24399 *) cat "$f" >> "$ac_dir/Makefile" ;;
24414 ac_clean_files
=$ac_clean_files_save
24416 test $ac_write_fail = 0 ||
24417 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24420 # configure is writing to config.log, and then calls config.status.
24421 # config.status does its own redirection, appending to config.log.
24422 # Unfortunately, on DOS this fails, as config.log is still kept open
24423 # by configure, so config.status won't be able to write to it; its
24424 # output is simply discarded. So we exec the FD to /dev/null,
24425 # effectively closing config.log, so it can be properly (re)opened and
24426 # appended to by config.status. When coming back to configure, we
24427 # need to make the FD available again.
24428 if test "$no_create" != yes; then
24430 ac_config_status_args
=
24431 test "$silent" = yes &&
24432 ac_config_status_args
="$ac_config_status_args --quiet"
24434 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24436 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24437 # would make configure fail if this is the last instruction.
24438 $ac_cs_success || as_fn_exit
1
24440 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24442 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}