2 # From configure.ac Rev:23 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.21.9.
6 # Report bugs to <chappa@washington.edu>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210 test \$(( 1 + 1 )) = 2 || exit 1"
211 if (eval "$as_required") 2>/dev
/null
; then :
216 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 # Try only shells that exist, to save several forks.
230 as_shell
=$as_dir/$as_base
231 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$as_shell as_have_required
=yes
234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
242 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
243 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
244 CONFIG_SHELL
=$SHELL as_have_required
=yes
249 if test "x$CONFIG_SHELL" != x
; then :
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
257 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
259 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed `exec'.
267 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271 if test x
$as_have_required = xno
; then :
272 $as_echo "$0: This script requires a shell more modern than all"
273 $as_echo "$0: the shells that I found on your system."
274 if test x
${ZSH_VERSION+set} = xset
; then
275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 $0: chappa@washington.edu about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
592 PACKAGE_NAME
='alpine'
593 PACKAGE_TARNAME
='alpine'
594 PACKAGE_VERSION
='2.21.9'
595 PACKAGE_STRING
='alpine 2.21.9'
596 PACKAGE_BUGREPORT
='chappa@washington.edu'
599 ac_unique_file
="include/system.h"
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
660 alpine_interactive_spellcheck
662 alpine_simple_spellcheck
736 MAINTAINER_MODE_FALSE
750 INSTALL_STRIP_PROGRAM
792 program_transform_name
805 enable_option_checking
807 enable_maintainer_mode
808 enable_dependency_tracking
824 enable_osx_universal_binaries
834 enable_background_post
842 with_simple_spellcheck
843 with_interactive_spellcheck
845 with_system_fixed_pinerc
846 with_local_support_info
847 with_mailcheck_interval
848 with_checkpoint_interval
849 with_checkpoint_frequency
852 with_max_display_rows
853 with_max_display_columns
859 with_forwarded_keyword
863 with_default_save_folder
864 with_default_legacy_postponed_folder
865 with_default_postponed_folder
866 with_default_trash_folder
867 with_default_interrupted_mail
868 with_default_dead_letter_folder
869 with_default_mail_directory
870 with_default_inbox_name
871 with_default_signature_file
872 with_default_elm_style_save
873 with_default_header_in_reply
874 with_default_old_style_reply
875 with_default_use_only_domain_name
876 with_default_save_by_sender
877 with_default_sort_key
878 with_default_addressbook_sort_rule
879 with_default_folder_sort_rule
880 with_default_saved_message_name_rule
881 with_default_fcc_rule
882 with_default_standard_printer
883 with_default_ansi_printer
884 with_default_addressbook
885 with_default_local_fullname
886 with_default_local_address
887 with_default_keyboard_lock_count
888 with_default_remote_addressbook_history
889 with_smime_public_cert_directory
890 with_smime_private_key_directory
891 with_smime_cacert_directory
894 with_local_password_cache
895 with_local_password_cache_method
905 with_krb5_include_dir
909 with_ldap_include_dir
917 with_system_mail_directory
922 ac_precious_vars
='build_alias
933 # Initialize some variables set by options.
935 ac_init_version
=false
936 ac_unrecognized_opts
=
938 # The variables have the same names as the options, with
939 # dashes changed to underlines.
947 program_transform_name
=s
,x
,x
,
955 # Installation directory options.
956 # These are left unexpanded so users can "make install exec_prefix=/foo"
957 # and all the variables that are supposed to be based on exec_prefix
958 # by default will actually change.
959 # Use braces instead of parens because sh, perl, etc. also accept them.
960 # (The list follows the same order as the GNU Coding Standards.)
961 bindir
='${exec_prefix}/bin'
962 sbindir
='${exec_prefix}/sbin'
963 libexecdir
='${exec_prefix}/libexec'
964 datarootdir
='${prefix}/share'
965 datadir
='${datarootdir}'
966 sysconfdir
='${prefix}/etc'
967 sharedstatedir
='${prefix}/com'
968 localstatedir
='${prefix}/var'
969 includedir
='${prefix}/include'
970 oldincludedir
='/usr/include'
971 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
972 infodir
='${datarootdir}/info'
977 libdir
='${exec_prefix}/lib'
978 localedir
='${datarootdir}/locale'
979 mandir
='${datarootdir}/man'
985 # If the previous option needs an argument, assign it.
986 if test -n "$ac_prev"; then
987 eval $ac_prev=\
$ac_option
993 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
998 # Accept the important Cygnus configure options, so we can diagnose typos.
1000 case $ac_dashdash$ac_option in
1004 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1006 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1007 bindir
=$ac_optarg ;;
1009 -build |
--build |
--buil |
--bui |
--bu)
1010 ac_prev
=build_alias
;;
1011 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1012 build_alias
=$ac_optarg ;;
1014 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1015 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1016 ac_prev
=cache_file
;;
1017 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1018 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1019 cache_file
=$ac_optarg ;;
1021 --config-cache |
-C)
1022 cache_file
=config.cache
;;
1024 -datadir |
--datadir |
--datadi |
--datad)
1026 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1027 datadir
=$ac_optarg ;;
1029 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1030 |
--dataroo |
--dataro |
--datar)
1031 ac_prev
=datarootdir
;;
1032 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1033 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1034 datarootdir
=$ac_optarg ;;
1036 -disable-* |
--disable-*)
1037 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1040 as_fn_error $?
"invalid feature name: $ac_useropt"
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_
$ac_useropt"
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval enable_
$ac_useropt=no
;;
1052 -docdir |
--docdir |
--docdi |
--doc |
--do)
1054 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1055 docdir
=$ac_optarg ;;
1057 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1059 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1060 dvidir
=$ac_optarg ;;
1062 -enable-* |
--enable-*)
1063 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1066 as_fn_error $?
"invalid feature name: $ac_useropt"
1067 ac_useropt_orig
=$ac_useropt
1068 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "enable_
$ac_useropt"
1073 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1074 ac_unrecognized_sep
=', ';;
1076 eval enable_
$ac_useropt=\
$ac_optarg ;;
1078 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1079 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1080 |
--exec |
--exe |
--ex)
1081 ac_prev
=exec_prefix
;;
1082 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1083 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1084 |
--exec=* |
--exe=* |
--ex=*)
1085 exec_prefix
=$ac_optarg ;;
1087 -gas |
--gas |
--ga |
--g)
1088 # Obsolete; use --with-gas.
1091 -help |
--help |
--hel |
--he |
-h)
1092 ac_init_help
=long
;;
1093 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1094 ac_init_help
=recursive
;;
1095 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1096 ac_init_help
=short
;;
1098 -host |
--host |
--hos |
--ho)
1099 ac_prev
=host_alias
;;
1100 -host=* |
--host=* |
--hos=* |
--ho=*)
1101 host_alias
=$ac_optarg ;;
1103 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1105 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1107 htmldir
=$ac_optarg ;;
1109 -includedir |
--includedir |
--includedi |
--included |
--include \
1110 |
--includ |
--inclu |
--incl |
--inc)
1111 ac_prev
=includedir
;;
1112 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1113 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1114 includedir
=$ac_optarg ;;
1116 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1118 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1119 infodir
=$ac_optarg ;;
1121 -libdir |
--libdir |
--libdi |
--libd)
1123 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1124 libdir
=$ac_optarg ;;
1126 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1127 |
--libexe |
--libex |
--libe)
1128 ac_prev
=libexecdir
;;
1129 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1130 |
--libexe=* |
--libex=* |
--libe=*)
1131 libexecdir
=$ac_optarg ;;
1133 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1134 ac_prev
=localedir
;;
1135 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1136 localedir
=$ac_optarg ;;
1138 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1139 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1140 ac_prev
=localstatedir
;;
1141 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1142 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1143 localstatedir
=$ac_optarg ;;
1145 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1147 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1148 mandir
=$ac_optarg ;;
1150 -nfp |
--nfp |
--nf)
1151 # Obsolete; use --without-fp.
1154 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1155 |
--no-cr |
--no-c |
-n)
1158 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1159 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1162 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1163 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1164 |
--oldin |
--oldi |
--old |
--ol |
--o)
1165 ac_prev
=oldincludedir
;;
1166 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1167 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1168 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1169 oldincludedir
=$ac_optarg ;;
1171 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1173 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1174 prefix
=$ac_optarg ;;
1176 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1177 |
--program-pre |
--program-pr |
--program-p)
1178 ac_prev
=program_prefix
;;
1179 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1180 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1181 program_prefix
=$ac_optarg ;;
1183 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1184 |
--program-suf |
--program-su |
--program-s)
1185 ac_prev
=program_suffix
;;
1186 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1187 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1188 program_suffix
=$ac_optarg ;;
1190 -program-transform-name |
--program-transform-name \
1191 |
--program-transform-nam |
--program-transform-na \
1192 |
--program-transform-n |
--program-transform- \
1193 |
--program-transform |
--program-transfor \
1194 |
--program-transfo |
--program-transf \
1195 |
--program-trans |
--program-tran \
1196 |
--progr-tra |
--program-tr |
--program-t)
1197 ac_prev
=program_transform_name
;;
1198 -program-transform-name=* |
--program-transform-name=* \
1199 |
--program-transform-nam=* |
--program-transform-na=* \
1200 |
--program-transform-n=* |
--program-transform-=* \
1201 |
--program-transform=* |
--program-transfor=* \
1202 |
--program-transfo=* |
--program-transf=* \
1203 |
--program-trans=* |
--program-tran=* \
1204 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1205 program_transform_name
=$ac_optarg ;;
1207 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1209 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1210 pdfdir
=$ac_optarg ;;
1212 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1214 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1217 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1218 |
-silent |
--silent |
--silen |
--sile |
--sil)
1221 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1223 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1225 sbindir
=$ac_optarg ;;
1227 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1228 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1229 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1231 ac_prev
=sharedstatedir
;;
1232 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1233 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1234 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1236 sharedstatedir
=$ac_optarg ;;
1238 -site |
--site |
--sit)
1240 -site=* |
--site=* |
--sit=*)
1243 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1245 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1246 srcdir
=$ac_optarg ;;
1248 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1249 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1250 ac_prev
=sysconfdir
;;
1251 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1252 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1253 sysconfdir
=$ac_optarg ;;
1255 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1256 ac_prev
=target_alias
;;
1257 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1258 target_alias
=$ac_optarg ;;
1260 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1263 -version |
--version |
--versio |
--versi |
--vers |
-V)
1264 ac_init_version
=: ;;
1267 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1270 as_fn_error $?
"invalid package name: $ac_useropt"
1271 ac_useropt_orig
=$ac_useropt
1272 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1273 case $ac_user_opts in
1277 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1278 ac_unrecognized_sep
=', ';;
1280 eval with_
$ac_useropt=\
$ac_optarg ;;
1282 -without-* |
--without-*)
1283 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1286 as_fn_error $?
"invalid package name: $ac_useropt"
1287 ac_useropt_orig
=$ac_useropt
1288 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289 case $ac_user_opts in
1293 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1294 ac_unrecognized_sep
=', ';;
1296 eval with_
$ac_useropt=no
;;
1299 # Obsolete; use --with-x.
1302 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1303 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1304 ac_prev
=x_includes
;;
1305 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1306 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1307 x_includes
=$ac_optarg ;;
1309 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1310 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1311 ac_prev
=x_libraries
;;
1312 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1313 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1314 x_libraries
=$ac_optarg ;;
1316 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1317 Try \`$0 --help' for more information"
1321 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1322 # Reject names that are not valid shell variable names.
1323 case $ac_envvar in #(
1324 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1325 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1327 eval $ac_envvar=\
$ac_optarg
1328 export $ac_envvar ;;
1331 # FIXME: should be removed in autoconf 3.0.
1332 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1333 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1334 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1335 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1341 if test -n "$ac_prev"; then
1342 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1343 as_fn_error $?
"missing argument to $ac_option"
1346 if test -n "$ac_unrecognized_opts"; then
1347 case $enable_option_checking in
1349 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1350 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1354 # Check all directory arguments for consistency.
1355 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1356 datadir sysconfdir sharedstatedir localstatedir includedir \
1357 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1358 libdir localedir mandir
1360 eval ac_val
=\$
$ac_var
1361 # Remove trailing slashes.
1364 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1365 eval $ac_var=\
$ac_val;;
1367 # Be sure to have absolute directory names.
1369 [\\/$
]* | ?
:[\\/]* ) continue;;
1370 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1372 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1375 # There might be people who depend on the old broken behavior: `$host'
1376 # used to hold the argument of --host etc.
1377 # FIXME: To remove some day.
1380 target
=$target_alias
1382 # FIXME: To remove some day.
1383 if test "x$host_alias" != x
; then
1384 if test "x$build_alias" = x
; then
1385 cross_compiling
=maybe
1386 elif test "x$build_alias" != "x$host_alias"; then
1392 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1394 test "$silent" = yes && exec 6>/dev
/null
1397 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1398 ac_ls_di
=`ls -di .` &&
1399 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1400 as_fn_error $?
"working directory cannot be determined"
1401 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1402 as_fn_error $?
"pwd does not report name of working directory"
1405 # Find the source files, if location was not specified.
1406 if test -z "$srcdir"; then
1407 ac_srcdir_defaulted
=yes
1408 # Try the directory containing this script, then the parent directory.
1409 ac_confdir
=`$as_dirname -- "$as_myself" ||
1410 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1411 X"$as_myself" : 'X\(//\)[^/]' \| \
1412 X"$as_myself" : 'X\(//\)$' \| \
1413 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1414 $as_echo X"$as_myself" |
1415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1433 if test ! -r "$srcdir/$ac_unique_file"; then
1437 ac_srcdir_defaulted
=no
1439 if test ! -r "$srcdir/$ac_unique_file"; then
1440 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1441 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1443 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1445 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1447 # When building in place, set srcdir=.
1448 if test "$ac_abs_confdir" = "$ac_pwd"; then
1451 # Remove unnecessary trailing slashes from srcdir.
1452 # Double slashes in file names in object file debugging info
1453 # mess up M-x gdb in Emacs.
1455 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1457 for ac_var
in $ac_precious_vars; do
1458 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1459 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1460 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1461 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1465 # Report the --help message.
1467 if test "$ac_init_help" = "long"; then
1468 # Omit some internal or obsolete options to make the list less imposing.
1469 # This message is too long to be a string in the A/UX 3.1 sh.
1471 \`configure' configures alpine 2.21.9 to adapt to many kinds of systems.
1473 Usage: $0 [OPTION]... [VAR=VALUE]...
1475 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1476 VAR=VALUE. See below for descriptions of some of the useful variables.
1478 Defaults for the options are specified in brackets.
1481 -h, --help display this help and exit
1482 --help=short display options specific to this package
1483 --help=recursive display the short help of all the included packages
1484 -V, --version display version information and exit
1485 -q, --quiet, --silent do not print \`checking ...' messages
1486 --cache-file=FILE cache test results in FILE [disabled]
1487 -C, --config-cache alias for \`--cache-file=config.cache'
1488 -n, --no-create do not create output files
1489 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1491 Installation directories:
1492 --prefix=PREFIX install architecture-independent files in PREFIX
1493 [$ac_default_prefix]
1494 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1497 By default, \`make install' will install all the files in
1498 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1499 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1500 for instance \`--prefix=\$HOME'.
1502 For better control, use the options below.
1504 Fine tuning of the installation directories:
1505 --bindir=DIR user executables [EPREFIX/bin]
1506 --sbindir=DIR system admin executables [EPREFIX/sbin]
1507 --libexecdir=DIR program executables [EPREFIX/libexec]
1508 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1509 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1510 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1511 --libdir=DIR object code libraries [EPREFIX/lib]
1512 --includedir=DIR C header files [PREFIX/include]
1513 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1514 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1515 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1516 --infodir=DIR info documentation [DATAROOTDIR/info]
1517 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1518 --mandir=DIR man documentation [DATAROOTDIR/man]
1519 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1520 --htmldir=DIR html documentation [DOCDIR]
1521 --dvidir=DIR dvi documentation [DOCDIR]
1522 --pdfdir=DIR pdf documentation [DOCDIR]
1523 --psdir=DIR ps documentation [DOCDIR]
1529 --program-prefix=PREFIX prepend PREFIX to installed program names
1530 --program-suffix=SUFFIX append SUFFIX to installed program names
1531 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1534 --build=BUILD configure
for building on BUILD
[guessed
]
1535 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1539 if test -n "$ac_init_help"; then
1540 case $ac_init_help in
1541 short | recursive
) echo "Configuration of alpine 2.21.9:";;
1546 --disable-option-checking ignore unrecognized
--enable/--with options
1547 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1548 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1549 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1550 --disable-silent-rules verbose build output
(undo
: "make V=0")
1551 --enable-maintainer-mode
1552 enable make rules and dependencies not useful
(and
1553 sometimes confusing
) to the casual installer
1554 --enable-dependency-tracking
1555 do not reject slow dependency extractors
1556 --disable-dependency-tracking
1557 speeds up one-time build
1558 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1559 --enable-static[=PKGS
] build static libraries
[default
=yes]
1560 --enable-fast-install[=PKGS
]
1561 optimize
for fast installation
[default
=yes]
1562 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1563 --disable-nls do not use Native Language Support
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-dmalloc Enable dmalloc debugging
1566 --enable-osx-universal-binaries
1567 Produce universal binaries under OS X
[[default
=no
]]
1568 --disable-debug Exclude debug messages from
source
1569 --disable-optimization Exclude optimizing compiler flags
1570 --disable-mouse Disable mouse support
1571 --enable-quotas Enable disk quota checking on startup
1572 --disable-from-changing Disallow users changing From addresss
1573 --disable-background-post
1574 Disable background posting
1575 --disable-keyboard-lock Disable keyboard locking
1576 --enable-from-encoding Enable From encoding
in sent messages
1579 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1580 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1581 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1583 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1584 --with-sysroot=DIR Search
for dependent libraries within DIR
1585 (or the compiler
's sysroot if not specified).
1586 --with-gnu-ld assume the C compiler uses GNU ld default=no
1587 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1588 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1589 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1590 --without-libintl-prefix don
't search for libintl in includedir and libdir
1591 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1592 --with-ps-cmd="CMD" Use this command to check running commands. Default:
1594 --with-localedir=DIR Name of gettext locale directory
1595 --with-include-path=PATHS
1596 Colon-separated list of directories used for include
1598 --with-lib-path=PATHS Colon-separated list of directories used for library
1600 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1601 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1602 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1603 --with-smtp-msa-flags=FLAGS
1604 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1605 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1606 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1607 --with-password-prog=PATH
1608 Password change program (/bin/passwd)
1609 --with-simple-spellcheck=PROG
1610 Spellcheck program reads stdin, emits misspellings
1612 --with-interactive-spellcheck=PROG
1613 Interactive, filewise spell checker
1614 --with-system-pinerc=VALUE
1615 System pinerc (/usr/local/lib/pine.conf)
1616 --with-system-fixed-pinerc=VALUE
1617 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1618 --with-local-support-info=VALUE
1619 Local Support Info File (/usr/local/lib/pine.info)
1620 --with-mailcheck-interval=VALUE
1621 Specify default mail-check-interval (150)
1622 --with-checkpoint-interval=VALUE
1623 Specify default checkpoint-interval (420)
1624 --with-checkpoint-frequency=VALUE
1625 State change count before checkpoint (12)
1626 --with-display-rows=VALUE
1627 Initial rows on display (24)
1628 --with-display-columns=VALUE
1629 Initial columns on display (80)
1630 --with-max-display-rows=VALUE
1631 Maximum display rows (200)
1632 --with-max-display-columns=VALUE
1633 Maximum display columns (500)
1634 --with-fill-column=VALUE
1635 Default fill column (74)
1636 --with-max_fill-column=VALUE
1637 Maximum fill column (80)
1638 --with-debug-level=VALUE
1639 Specify default debug verbosity level (2)
1640 --with-debug-files=VALUE
1641 Specify number of debug files (4)
1642 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1643 --with-forwarded-keyword=VALUE
1644 IMAP (c-client) keyword to store forwarded status
1646 --with-display-overlap=VALUE
1647 Lines preserved while paging (2)
1648 --with-display-margin=VALUE
1649 Lines visible while scrolling (0)
1650 --with-default-fcc=VALUE
1651 Default sent mail folder (sent-mail)
1652 --with-default-save-folder=VALUE
1653 Default save folder (saved-messages)
1654 --with-default-legacy-postponed-folder=VALUE
1655 Pre Pine 3.90 postponed folder (postponed-mail)
1656 --with-default-postponed-folder=VALUE
1657 Default postponed folder (postponed-msgs)
1658 --with-default-trash-folder=VALUE
1659 Default Trash folder for Web Alpine (Trash)
1660 --with-default-interrupted-mail=VALUE
1661 Default folder for interrupted mail
1662 (.pine-interrupted-mail)
1663 --with-default-dead-letter-folder=VALUE
1664 Default dead letter folder (dead.letter)
1665 --with-default-mail-directory=VALUE
1666 Default mail directory (mail)
1667 --with-default-inbox-name=VALUE
1668 Default inbox name (INBOX)
1669 --with-default-signature-file=VALUE
1670 Default signature file (.signature)
1671 --with-default-elm-style-save=VALUE
1672 Default to Elm style save (no)
1673 --with-default-header-in-reply=VALUE
1674 Include header in reply (no)
1675 --with-default-old-style-reply=VALUE
1676 Default to old style reply (no)
1677 --with-default-use-only-domain-name=VALUE
1678 Default to using only the domain name (no)
1679 --with-default-save-by-sender=VALUE
1680 Default to save by sender (no)
1681 --with-default-sort-key=VALUE
1682 Default sort key (arrival)
1683 --with-default-addressbook-sort-rule=VALUE
1684 Default addressbook sort rule
1685 (fullname-with-lists-last)
1686 --with-default-folder-sort-rule=VALUE
1687 Default folder sort rule (alphabetical)
1688 --with-default-saved-message-name-rule=VALUE
1689 Default saved message name rule (default-folder)
1690 --with-default-fcc-rule=VALUE
1691 Default fcc rule (default-fcc)
1692 --with-default-standard-printer=VALUE
1693 Default standard printern (lpr)
1694 --with-default-ansi-printer=VALUE
1695 ANSI printer definition (attached-to-ansi)
1696 --with-default-addressbook=VALUE
1697 Default addressbook name (.addressbook)
1698 --with-default-local-fullname=VALUE
1699 Default local support fullname ("Local Support")
1700 --with-default-local-address=VALUE
1701 Default local support address (postmaster)
1702 --with-default-keyboard-lock-count=VALUE
1703 Default keyboard lock count (1)
1704 --with-default-remote-addressbook-history=VALUE
1705 Default address book history count (3)
1706 --with-smime-public-cert-directory=VALUE
1707 Default Public Cert Directory (.alpine-smime/public)
1708 --with-smime-private-key-directory=VALUE
1709 Default Private Key Directory
1710 (.alpine-smime/private)
1711 --with-smime-cacert-directory=VALUE
1712 Default Cert Authority Directory (.alpine-smime/ca)
1713 --with-default-printer=VALUE
1714 Default printer (ANSI_PRINTER)
1715 --with-passfile=FILENAME
1716 Password cache file (recommended when S/MIME is
1717 enabled and configured)
1718 --without-local-password-cache
1719 Disable OS-specific password cache, if supported
1720 --with-local-password-cache-method
1721 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1723 --with-default-sshpath=FILENAME
1724 set default value of ssh command path (defining
1725 should cause ssh to be preferred to rsh)
1726 --with-default-sshcmd=PERCENT_S_STRING
1727 set default value of ssh command string (usually "%s
1728 %s -l %s exec /etc/r%sd")
1729 --without-ssl Disable SSL support (OpenSSL)
1730 --with-ssl-dir=DIR Root of SSL lib/include path
1731 --with-ssl-certs-dir=DIR
1732 Path to SSL certificate directory
1733 --with-ssl-include-dir=DIR
1734 SSL include file path
1735 --with-ssl-lib-dir=DIR SSL library path
1736 --without-krb5 Disable Kerberos support
1737 --with-krb5-dir=DIR Root of Kerberos lib/include path
1738 --with-krb5-include-dir=DIR
1739 Kerberos include file path
1740 --with-krb5-lib-dir=DIR Kerberos library path
1741 --without-ldap Disable LDAP query support
1742 --with-ldap-dir=DIR Root of LDAP lib/include path
1743 --with-ldap-include-dir=DIR
1744 Directory containing LDAP include files
1745 --with-ldap-lib-dir=DIR LDAP library path
1746 --without-smime Disable S/MIME
1747 --without-tcl Disable TCL, thus Web Alpine support
1748 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1749 --with-tcl-include=DIR Directory containing TCL include files
1750 --with-supplied-regex Use regex library supplied with alpine
1751 --without-pthread Do NOT test for nor build with POSIX thread support
1752 --with-system-mail-directory=DIR
1753 Directory where local mail is delivered
1754 --with-c-client-target=TARGET
1755 IMAP build target (see imap/Makefile)
1756 --without-ipv6 Disable IPv6, primarily to work around resolver
1758 --without-ntlm Disable NTLM client support
1760 Some influential environment variables:
1761 CC C compiler command
1762 CFLAGS C compiler flags
1763 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1764 nonstandard directory <lib dir>
1765 LIBS libraries to pass to the linker, e.g. -l<library>
1766 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1767 you have headers in a nonstandard directory <include dir>
1770 Use these variables to override the choices made by `configure' or to
help
1771 it to
find libraries and programs with nonstandard names
/locations.
1773 Report bugs to
<chappa@washington.edu
>.
1778 if test "$ac_init_help" = "recursive"; then
1779 # If there are subdirs, report their specific --help.
1780 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1781 test -d "$ac_dir" ||
1782 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1787 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1789 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1790 # A ".." for each directory in $ac_dir_suffix.
1791 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1792 case $ac_top_builddir_sub in
1793 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1794 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1797 ac_abs_top_builddir
=$ac_pwd
1798 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1799 # for backward compatibility:
1800 ac_top_builddir
=$ac_top_build_prefix
1803 .
) # We are building in place.
1805 ac_top_srcdir
=$ac_top_builddir_sub
1806 ac_abs_top_srcdir
=$ac_pwd ;;
1807 [\\/]* | ?
:[\\/]* ) # Absolute name.
1808 ac_srcdir
=$srcdir$ac_dir_suffix;
1809 ac_top_srcdir
=$srcdir
1810 ac_abs_top_srcdir
=$srcdir ;;
1812 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1813 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1814 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1816 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1818 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1819 # Check for guested configure.
1820 if test -f "$ac_srcdir/configure.gnu"; then
1822 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1823 elif test -f "$ac_srcdir/configure"; then
1825 $SHELL "$ac_srcdir/configure" --help=recursive
1827 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1829 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1833 test -n "$ac_init_help" && exit $ac_status
1834 if $ac_init_version; then
1836 alpine configure
2.21.9
1837 generated by GNU Autoconf
2.69
1839 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1840 This configure
script is free software
; the Free Software Foundation
1841 gives unlimited permission to copy
, distribute and modify it.
1846 ## ------------------------ ##
1847 ## Autoconf initialization. ##
1848 ## ------------------------ ##
1850 # ac_fn_c_try_compile LINENO
1851 # --------------------------
1852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1853 ac_fn_c_try_compile
()
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 rm -f conftest.
$ac_objext
1857 if { { ac_try
="$ac_compile"
1859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_compile") 2>conftest.err
1866 if test -s conftest.err; then
1867 grep -v '^ *+' conftest.err >conftest.er1
1868 cat conftest.er1 >&5
1869 mv -f conftest.er1 conftest.err
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && {
1873 test -z "$ac_c_werror_flag" ||
1874 test ! -s conftest.err
1875 } && test -s conftest.$ac_objext; then :
1878 $as_echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1884 as_fn_set_status $ac_retval
1886 } # ac_fn_c_try_compile
1888 # ac_fn_c_try_link LINENO
1889 # -----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded.
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 rm -f conftest.$ac_objext conftest$ac_exeext
1895 if { { ac_try="$ac_link"
1897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1898 *) ac_try_echo
=$ac_try;;
1900 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>conftest.err
1904 if test -s conftest.err
; then
1905 grep -v '^ *+' conftest.err
>conftest.er1
1906 cat conftest.er1
>&5
1907 mv -f conftest.er1 conftest.err
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && {
1911 test -z "$ac_c_werror_flag" ||
1912 test ! -s conftest.err
1913 } && test -s conftest
$ac_exeext && {
1914 test "$cross_compiling" = yes ||
1915 test -x conftest
$ac_exeext
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.
$ac_ext >&5
1924 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1925 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1926 # interfere with the next link command; also delete a directory that is
1927 # left behind by Apple's compiler. We do this before executing the actions.
1928 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 as_fn_set_status
$ac_retval
1932 } # ac_fn_c_try_link
1934 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1935 # -------------------------------------------------------
1936 # Tests whether HEADER exists and can be compiled using the include files in
1937 # INCLUDES, setting the cache variable VAR accordingly.
1938 ac_fn_c_check_header_compile
()
1940 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if eval \
${$3+:} false
; then :
1944 $as_echo_n "(cached) " >&6
1946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1947 /* end confdefs.h. */
1951 if ac_fn_c_try_compile
"$LINENO"; then :
1956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963 } # ac_fn_c_check_header_compile
1965 # ac_fn_c_try_cpp LINENO
1966 # ----------------------
1967 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1970 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1971 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1974 *) ac_try_echo=$ac_try;;
1976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977 $as_echo "$ac_try_echo"; } >&5
1978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1980 if test -s conftest.err; then
1981 grep -v '^ *+' conftest.err >conftest.er1
1982 cat conftest.er1 >&5
1983 mv -f conftest.er1 conftest.err
1985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986 test $ac_status = 0; } > conftest.i && {
1987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1988 test ! -s conftest.err
1992 $as_echo "$as_me: failed program was:" >&5
1993 sed 's/^/| /' conftest.$ac_ext >&5
1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 as_fn_set_status $ac_retval
2002 # ac_fn_c_try_run LINENO
2003 # ----------------------
2004 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2005 # that executables *can* be run.
2008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009 if { { ac_try="$ac_link"
2011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2012 *) ac_try_echo
=$ac_try;;
2014 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2015 $as_echo "$ac_try_echo"; } >&5
2016 (eval "$ac_link") 2>&5
2018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2019 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2020 { { case "(($ac_try" in
2021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_try") 2>&5
2028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2029 test $ac_status = 0; }; }; then :
2032 $as_echo "$as_me: program exited with status $ac_status" >&5
2033 $as_echo "$as_me: failed program was:" >&5
2034 sed 's/^/| /' conftest.$ac_ext >&5
2036 ac_retval=$ac_status
2038 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040 as_fn_set_status $ac_retval
2044 # ac_fn_c_check_func LINENO FUNC VAR
2045 # ----------------------------------
2046 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2047 ac_fn_c_check_func ()
2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2051 $as_echo_n "checking for $2... " >&6; }
2052 if eval \${$3+:} false; then :
2053 $as_echo_n "(cached) " >&6
2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056 /* end confdefs.h. */
2057 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2059 #define $2 innocuous_$2
2061 /* System header to define __stub macros and hopefully few prototypes,
2062 which can conflict with char $2 (); below.
2063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2064 <limits.h> exists even on freestanding compilers. */
2067 # include <limits.h>
2069 # include <assert.h>
2074 /* Override any GCC internal prototype to avoid an error.
2075 Use char because int might match the return type of a GCC
2076 builtin and then its argument prototype would still apply. */
2081 /* The GNU C library defines this for functions which it implements
2082 to always fail with ENOSYS. Some functions are actually named
2083 something starting with __ and the normal name is an alias. */
2084 #if defined __stub_$2 || defined __stub___$2
2096 if ac_fn_c_try_link "$LINENO"; then :
2101 rm -f core conftest.err conftest.$ac_objext \
2102 conftest$ac_exeext conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 $as_echo "$ac_res" >&6; }
2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109 } # ac_fn_c_check_func
2111 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2112 # -------------------------------------------------------
2113 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2114 # the include files in INCLUDES and setting the cache variable VAR
2116 ac_fn_c_check_header_mongrel ()
2118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2119 if eval \${$3+:} false; then :
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2121 $as_echo_n "checking for $2... " >&6; }
2122 if eval \${$3+:} false; then :
2123 $as_echo_n "(cached) " >&6
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2129 # Is the header compilable?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2131 $as_echo_n "checking $2 usability... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2137 if ac_fn_c_try_compile "$LINENO"; then :
2138 ac_header_compiler=yes
2140 ac_header_compiler=no
2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2144 $as_echo "$ac_header_compiler" >&6; }
2146 # Is the header present?
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2148 $as_echo_n "checking $2 presence... " >&6; }
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h. */
2153 if ac_fn_c_try_cpp "$LINENO"; then :
2154 ac_header_preproc=yes
2156 ac_header_preproc=no
2158 rm -f conftest.err conftest.i conftest.$ac_ext
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2160 $as_echo "$ac_header_preproc" >&6; }
2162 # So? What about this header?
2163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2174 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2178 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2181 ( $as_echo "## ------------------------------------ ##
2182 ## Report this to chappa@washington.edu ##
2183 ## ------------------------------------ ##"
2184 ) | sed "s/^/$as_me: WARNING: /" >&2
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188 $as_echo_n "checking for $2... " >&6; }
2189 if eval \${$3+:} false; then :
2190 $as_echo_n "(cached) " >&6
2192 eval "$3=\$ac_header_compiler"
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2196 $as_echo "$ac_res" >&6; }
2198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2200 } # ac_fn_c_check_header_mongrel
2202 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2203 # -------------------------------------------
2204 # Tests whether TYPE exists after having included INCLUDES, setting cache
2205 # variable VAR accordingly.
2206 ac_fn_c_check_type ()
2208 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2227 if ac_fn_c_try_compile "$LINENO"; then :
2228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2229 /* end confdefs.h. */
2240 if ac_fn_c_try_compile "$LINENO"; then :
2245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2254 } # ac_fn_c_check_type
2256 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2257 # --------------------------------------------
2258 # Tries to find the compile-time value of EXPR in a program that includes
2259 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 ac_fn_c_compute_int ()
2263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2264 if test "$cross_compiling" = yes; then
2265 # Depending upon the size, compute the lo and hi bounds.
2266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2267 /* end confdefs.h. */
2272 static int test_array [1 - 2 * !(($2) >= 0)];
2274 return test_array [0];
2280 if ac_fn_c_try_compile "$LINENO"; then :
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2291 return test_array [0];
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_hi=$ac_mid; break
2300 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2301 if test $ac_lo -le $ac_mid; then
2305 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2316 static int test_array [1 - 2 * !(($2) < 0)];
2318 return test_array [0];
2324 if ac_fn_c_try_compile "$LINENO"; then :
2327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2328 /* end confdefs.h. */
2333 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2335 return test_array [0];
2341 if ac_fn_c_try_compile "$LINENO"; then :
2342 ac_lo=$ac_mid; break
2344 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2345 if test $ac_mid -le $ac_hi; then
2349 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 # Binary search between lo and hi bounds.
2360 while test "x$ac_lo" != "x$ac_hi"; do
2361 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363 /* end confdefs.h. */
2368 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2370 return test_array [0];
2376 if ac_fn_c_try_compile "$LINENO"; then :
2379 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2389 /* end confdefs.h. */
2391 static long int longval () { return $2; }
2392 static unsigned long int ulongval () { return $2; }
2399 FILE *f = fopen ("conftest.val", "w");
2404 long int i = longval ();
2407 fprintf (f, "%ld", i);
2411 unsigned long int i = ulongval ();
2414 fprintf (f, "%lu", i);
2416 /* Do not output a trailing newline, as this causes \r\n confusion
2417 on some platforms. */
2418 return ferror (f) || fclose (f) != 0;
2424 if ac_fn_c_try_run "$LINENO"; then :
2425 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2430 conftest.$ac_objext conftest.beam conftest.$ac_ext
2434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2435 as_fn_set_status $ac_retval
2437 } # ac_fn_c_compute_int
2438 cat >config.log <<_ACEOF
2439 This file contains any messages produced by compilers while
2440 running configure, to aid debugging if configure makes a mistake.
2442 It was created by alpine $as_me 2.21.9, which was
2443 generated by GNU Autoconf 2.69. Invocation command line was
2455 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2456 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2457 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2458 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2459 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2461 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2462 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2464 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2465 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2466 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2467 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2468 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2469 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2470 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir=.
2479 $as_echo "PATH: $as_dir"
2495 # Keep a trace of the command line.
2496 # Strip out --no-create and --no-recursion so they do not pile up.
2497 # Strip out --silent because we don't want to record it for future runs.
2498 # Also quote any args containing shell meta-characters.
2499 # Make two passes to allow for proper duplicate-argument suppression.
2503 ac_must_keep_next=false
2509 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2510 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2511 | -silent | --silent | --silen | --sile | --sil)
2514 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2517 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2519 as_fn_append ac_configure_args1 " '$ac_arg'"
2520 if test $ac_must_keep_next = true; then
2521 ac_must_keep_next=false # Got value, back to normal.
2524 *=* | --config-cache | -C | -disable-* | --disable-* \
2525 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2526 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2527 | -with-* | --with-* | -without-* | --without-* | --x)
2528 case "$ac_configure_args0 " in
2529 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2532 -* ) ac_must_keep_next=true ;;
2535 as_fn_append ac_configure_args " '$ac_arg'"
2540 { ac_configure_args0=; unset ac_configure_args0;}
2541 { ac_configure_args1=; unset ac_configure_args1;}
2543 # When interrupted or exit'd, cleanup temporary files, and complete
2544 # config.log. We remove comments because anyway the quotes in there
2545 # would cause problems or look ugly.
2546 # WARNING: Use '\'' to represent an apostrophe within the trap.
2547 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2548 trap 'exit_status=$?
2549 # Save into config.log some information that might help in debugging.
2553 $as_echo "## ---------------- ##
2554 ## Cache variables. ##
2555 ## ---------------- ##"
2557 # The following way of writing the cache mishandles newlines in values,
2559 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2560 eval ac_val=\$$ac_var
2564 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2565 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2568 _ | IFS | as_nl) ;; #(
2569 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2570 *) { eval $ac_var=; unset $ac_var;} ;;
2575 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2576 *${as_nl}ac_space=\ *)
2578 "s/'\''/'\''\\\\'\'''\''/g;
2579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2589 $as_echo "## ----------------- ##
2590 ## Output variables. ##
2591 ## ----------------- ##"
2593 for ac_var in $ac_subst_vars
2595 eval ac_val=\$$ac_var
2597 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2599 $as_echo "$ac_var='\''$ac_val'\''"
2603 if test -n "$ac_subst_files"; then
2604 $as_echo "## ------------------- ##
2605 ## File substitutions. ##
2606 ## ------------------- ##"
2608 for ac_var in $ac_subst_files
2610 eval ac_val=\$$ac_var
2612 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2614 $as_echo "$ac_var='\''$ac_val'\''"
2619 if test -s confdefs.h; then
2620 $as_echo "## ----------- ##
2627 test "$ac_signal" != 0 &&
2628 $as_echo "$as_me: caught signal $ac_signal"
2629 $as_echo "$as_me: exit $exit_status"
2631 rm -f core *.core core.conftest.* &&
2632 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2635 for ac_signal in 1 2 13 15; do
2636 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2640 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2641 rm -f -r conftest* confdefs.h
2643 $as_echo "/* confdefs.h */" > confdefs.h
2645 # Predefined preprocessor variables.
2647 cat >>confdefs.h <<_ACEOF
2648 #define PACKAGE_NAME "$PACKAGE_NAME"
2651 cat >>confdefs.h <<_ACEOF
2652 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2655 cat >>confdefs.h <<_ACEOF
2656 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2659 cat >>confdefs.h <<_ACEOF
2660 #define PACKAGE_STRING "$PACKAGE_STRING"
2663 cat >>confdefs.h <<_ACEOF
2664 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2667 cat >>confdefs.h <<_ACEOF
2668 #define PACKAGE_URL "$PACKAGE_URL"
2672 # Let the site file select an alternate cache file if it wants to.
2673 # Prefer an explicitly selected file to automatically selected ones.
2676 if test -n "$CONFIG_SITE"; then
2677 # We do not want a PATH search for config.site.
2678 case $CONFIG_SITE in #((
2679 -*) ac_site_file1=./$CONFIG_SITE;;
2680 */*) ac_site_file1=$CONFIG_SITE;;
2681 *) ac_site_file1=./$CONFIG_SITE;;
2683 elif test "x$prefix" != xNONE; then
2684 ac_site_file1=$prefix/share/config.site
2685 ac_site_file2=$prefix/etc/config.site
2687 ac_site_file1=$ac_default_prefix/share/config.site
2688 ac_site_file2=$ac_default_prefix/etc/config.site
2690 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2692 test "x$ac_site_file" = xNONE && continue
2693 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2695 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2696 sed 's/^/| /' "$ac_site_file" >&5
2698 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 as_fn_error $? "failed to load site
script $ac_site_file
2701 See \
`config.log' for more details" "$LINENO" 5; }
2705 if test -r "$cache_file"; then
2706 # Some versions of bash will fail to source /dev/null (special files
2707 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2708 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2710 $as_echo "$as_me: loading cache $cache_file" >&6;}
2712 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2713 *) . "./$cache_file";;
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2718 $as_echo "$as_me: creating cache $cache_file" >&6;}
2722 gt_needs="$gt_needs "
2723 # Check that the precious variables saved in the cache have kept the same
2725 ac_cache_corrupted=false
2726 for ac_var in $ac_precious_vars; do
2727 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2728 eval ac_new_set=\$ac_env_${ac_var}_set
2729 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2730 eval ac_new_val=\$ac_env_${ac_var}_value
2731 case $ac_old_set,$ac_new_set in
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2734 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2735 ac_cache_corrupted=: ;;
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2738 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2739 ac_cache_corrupted=: ;;
2742 if test "x$ac_old_val" != "x$ac_new_val"; then
2743 # differences in whitespace do not lead to failure.
2744 ac_old_val_w=`echo x
$ac_old_val`
2745 ac_new_val_w=`echo x
$ac_new_val`
2746 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2748 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2749 ac_cache_corrupted=:
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2752 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2753 eval $ac_var=\$ac_old_val
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2756 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2758 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2761 # Pass precious variables to config.status.
2762 if test "$ac_new_set" = set; then
2764 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2765 *) ac_arg=$ac_var=$ac_new_val ;;
2767 case " $ac_configure_args " in
2768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2769 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2773 if $ac_cache_corrupted; then
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2777 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2778 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2780 ## -------------------- ##
2781 ## Main body of script. ##
2782 ## -------------------- ##
2785 ac_cpp='$CPP $CPPFLAGS'
2786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2793 ac_config_headers="$ac_config_headers include/config.h"
2796 am__api_version='1.13'
2799 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2800 if test -f "$ac_dir/install-sh"; then
2802 ac_install_sh="$ac_aux_dir/install-sh -c"
2804 elif test -f "$ac_dir/install.sh"; then
2806 ac_install_sh="$ac_aux_dir/install.sh -c"
2808 elif test -f "$ac_dir/shtool"; then
2810 ac_install_sh="$ac_aux_dir/shtool install -c"
2814 if test -z "$ac_aux_dir"; then
2815 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2818 # These three variables are undocumented and unsupported,
2819 # and are intended to be withdrawn in a future Autoconf release.
2820 # They can cause serious problems if a builder's source tree is in a directory
2821 # whose full name contains unusual characters.
2822 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2823 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2824 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2827 # Find a good install program. We prefer a C program (faster),
2828 # so one script is as good as another. But avoid the broken or
2829 # incompatible versions:
2830 # SysV /etc/install, /usr/sbin/install
2831 # SunOS /usr/etc/install
2832 # IRIX /sbin/install
2834 # AmigaOS /C/install, which installs bootblocks on floppy discs
2835 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2836 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2837 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2838 # OS/2's system install, which has a completely different semantic
2839 # ./install, which can be erroneously created by make from ./install.sh.
2840 # Reject install programs that cannot install multiple files.
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2842 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2843 if test -z "$INSTALL"; then
2844 if ${ac_cv_path_install+:} false; then :
2845 $as_echo_n "(cached) " >&6
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 # Account for people who put trailing slashes in PATH elements.
2853 case $as_dir/ in #((
2854 ./ | .// | /[cC]/* | \
2855 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2856 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2859 # OSF1 and SCO ODT 3.0 have their own names for install.
2860 # Don't use installbsd from OSF since it installs stuff as root
2862 for ac_prog in ginstall scoinst install; do
2863 for ac_exec_ext in '' $ac_executable_extensions; do
2864 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2865 if test $ac_prog = install &&
2866 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2867 # AIX install. It has an incompatible calling convention.
2869 elif test $ac_prog = install &&
2870 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2871 # program-specific install script used by HP pwplus--don't use.
2874 rm -rf conftest.one conftest.two conftest.dir
2875 echo one > conftest.one
2876 echo two > conftest.two
2878 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2879 test -s conftest.one && test -s conftest.two &&
2880 test -s conftest.dir/conftest.one &&
2881 test -s conftest.dir/conftest.two
2883 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2896 rm -rf conftest.one conftest.two conftest.dir
2899 if test "${ac_cv_path_install+set}" = set; then
2900 INSTALL=$ac_cv_path_install
2902 # As a last resort, use the slow shell script. Don't cache a
2903 # value for INSTALL within a source directory, because that will
2904 # break other packages using the cache if that directory is
2905 # removed, or if the value is a relative name.
2906 INSTALL=$ac_install_sh
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2910 $as_echo "$INSTALL" >&6; }
2912 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2913 # It thinks the first close brace ends the variable substitution.
2914 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2916 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2918 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2921 $as_echo_n "checking whether build environment is sane... " >&6; }
2922 # Reject unsafe characters in $srcdir or the absolute working directory
2923 # name. Accept space and tab only in the latter.
2927 *[\\\"\#\$\&\'\`$am_lf]*)
2928 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2931 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2932 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2935 # Do 'set' in a subshell so we don't clobber the current shell's
2936 # arguments. Must try -L first in case configure is actually a
2937 # symlink; some systems play weird games with the mod time of symlinks
2938 # (eg FreeBSD returns the mod time of the symlink's containing
2942 for am_try
in 1 2; do
2943 echo "timestamp, slept: $am_has_slept" > conftest.
file
2944 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2945 if test "$*" = "X"; then
2947 set X
`ls -t "$srcdir/configure" conftest.file`
2949 if test "$*" != "X $srcdir/configure conftest.file" \
2950 && test "$*" != "X conftest.file $srcdir/configure"; then
2952 # If neither matched, then we have a broken ls. This can happen
2953 # if, for instance, CONFIG_SHELL is bash and it inherits a
2954 # broken ls alias from the environment. This has actually
2955 # happened. Such a system could not be considered "sane".
2956 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2957 alias in your environment" "$LINENO" 5
2959 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2966 test "$2" = conftest.
file
2972 as_fn_error $?
"newly created file is older than distributed files!
2973 Check your system clock" "$LINENO" 5
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2976 $as_echo "yes" >&6; }
2977 # If we didn't sleep, we still need to ensure time stamps of config.status and
2978 # generated files are strictly newer.
2980 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2987 test "$program_prefix" != NONE
&&
2988 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2989 # Use a double $ so make ignores it.
2990 test "$program_suffix" != NONE
&&
2991 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2992 # Double any \ or $.
2993 # By default was `s,x,x', remove it if useless.
2994 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2995 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2997 # Expand $ac_aux_dir to an absolute path.
2998 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3000 if test x
"${MISSING+set}" != xset
; then
3003 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3005 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3008 # Use eval to expand $SHELL
3009 if eval "$MISSING --is-lightweight"; then
3010 am_missing_run
="$MISSING "
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3014 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3017 if test x
"${install_sh}" != xset
; then
3020 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3022 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3026 # Installed binaries are usually stripped using 'strip' when the user
3027 # run "make install-strip". However 'strip' might not be the right
3028 # tool to use in cross-compilation environments, therefore Automake
3029 # will honor the 'STRIP' environment variable to overrule this program.
3030 if test "$cross_compiling" != no
; then
3031 if test -n "$ac_tool_prefix"; then
3032 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3033 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if ${ac_cv_prog_STRIP+:} false
; then :
3037 $as_echo_n "(cached) " >&6
3039 if test -n "$STRIP"; then
3040 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir
=.
3047 for ac_exec_ext
in '' $ac_executable_extensions; do
3048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 STRIP
=$ac_cv_prog_STRIP
3060 if test -n "$STRIP"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3062 $as_echo "$STRIP" >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3070 if test -z "$ac_cv_prog_STRIP"; then
3072 # Extract the first word of "strip", so it can be a program name with args.
3073 set dummy strip
; ac_word
=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3077 $as_echo_n "(cached) " >&6
3079 if test -n "$ac_ct_STRIP"; then
3080 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir
=.
3087 for ac_exec_ext
in '' $ac_executable_extensions; do
3088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3089 ac_cv_prog_ac_ct_STRIP
="strip"
3090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3099 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3100 if test -n "$ac_ct_STRIP"; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3102 $as_echo "$ac_ct_STRIP" >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105 $as_echo "no" >&6; }
3108 if test "x$ac_ct_STRIP" = x
; then
3111 case $cross_compiling:$ac_tool_warned in
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3115 ac_tool_warned
=yes ;;
3120 STRIP
="$ac_cv_prog_STRIP"
3124 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3127 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3128 if test -z "$MKDIR_P"; then
3129 if ${ac_cv_path_mkdir+:} false
; then :
3130 $as_echo_n "(cached) " >&6
3132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3133 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3136 test -z "$as_dir" && as_dir
=.
3137 for ac_prog
in mkdir gmkdir
; do
3138 for ac_exec_ext
in '' $ac_executable_extensions; do
3139 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3140 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3141 'mkdir (GNU coreutils) '* | \
3142 'mkdir (coreutils) '* | \
3143 'mkdir (fileutils) '4.1*)
3144 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3154 test -d .
/--version && rmdir .
/--version
3155 if test "${ac_cv_path_mkdir+set}" = set; then
3156 MKDIR_P
="$ac_cv_path_mkdir -p"
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for MKDIR_P within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 MKDIR_P
="$ac_install_sh -d"
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3166 $as_echo "$MKDIR_P" >&6; }
3168 for ac_prog
in gawk mawk nawk
awk
3170 # Extract the first word of "$ac_prog", so it can be a program name with args.
3171 set dummy
$ac_prog; ac_word
=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if ${ac_cv_prog_AWK+:} false
; then :
3175 $as_echo_n "(cached) " >&6
3177 if test -n "$AWK"; then
3178 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3184 test -z "$as_dir" && as_dir
=.
3185 for ac_exec_ext
in '' $ac_executable_extensions; do
3186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3187 ac_cv_prog_AWK
="$ac_prog"
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 if test -n "$AWK"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3200 $as_echo "$AWK" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3207 test -n "$AWK" && break
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3211 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3213 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3214 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3215 $as_echo_n "(cached) " >&6
3217 cat >conftest.
make <<\_ACEOF
3220 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3222 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3223 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3225 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3227 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3231 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3233 $as_echo "yes" >&6; }
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3238 SET_MAKE
="MAKE=${MAKE-make}"
3241 rm -rf .tst
2>/dev
/null
3242 mkdir .tst
2>/dev
/null
3243 if test -d .tst
; then
3248 rmdir .tst
2>/dev
/null
3250 # Check whether --enable-silent-rules was given.
3251 if test "${enable_silent_rules+set}" = set; then :
3252 enableval
=$enable_silent_rules;
3255 case $enable_silent_rules in # (((
3256 yes) AM_DEFAULT_VERBOSITY
=0;;
3257 no
) AM_DEFAULT_VERBOSITY
=1;;
3258 *) AM_DEFAULT_VERBOSITY
=1;;
3260 am_make
=${MAKE-make}
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3262 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3263 if ${am_cv_make_support_nested_variables+:} false
; then :
3264 $as_echo_n "(cached) " >&6
3266 if $as_echo 'TRUE=$(BAR$(V))
3272 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3273 am_cv_make_support_nested_variables
=yes
3275 am_cv_make_support_nested_variables
=no
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3279 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3280 if test $am_cv_make_support_nested_variables = yes; then
3282 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3284 AM_V
=$AM_DEFAULT_VERBOSITY
3285 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3289 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3290 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3291 # is not polluted with repeated "-I."
3292 am__isrc
=' -I$(srcdir)'
3293 # test to see if srcdir already configured
3294 if test -f $srcdir/config.status
; then
3295 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3299 # test whether we have cygpath
3300 if test -z "$CYGPATH_W"; then
3301 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3302 CYGPATH_W
='cygpath -w'
3309 # Define the identity of the package.
3314 cat >>confdefs.h
<<_ACEOF
3315 #define PACKAGE "$PACKAGE"
3319 cat >>confdefs.h
<<_ACEOF
3320 #define VERSION "$VERSION"
3323 # Some tools Automake needs.
3325 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3328 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3331 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3334 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3337 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3339 # For better backward compatibility. To be removed once Automake 1.9.x
3340 # dies out for good. For more background, see:
3341 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3342 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3343 mkdir_p
='$(MKDIR_P)'
3345 # We need awk for the "check" target. The system "awk" is bad on
3347 # Always define AMTAR for backward compatibility. Yes, it's still used
3348 # in the wild :-( We should find a proper way to deprecate it ...
3352 # We'll loop over all known methods to create a tar archive until one works.
3353 _am_tools
='gnutar pax cpio none'
3355 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3365 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3366 # Check whether --enable-maintainer-mode was given.
3367 if test "${enable_maintainer_mode+set}" = set; then :
3368 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3370 USE_MAINTAINER_MODE
=no
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3374 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3375 if test $USE_MAINTAINER_MODE = yes; then
3376 MAINTAINER_MODE_TRUE
=
3377 MAINTAINER_MODE_FALSE
='#'
3379 MAINTAINER_MODE_TRUE
='#'
3380 MAINTAINER_MODE_FALSE
=
3383 MAINT
=$MAINTAINER_MODE_TRUE
3387 # Make sure we can run config.sub.
3388 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3389 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3392 $as_echo_n "checking build system type... " >&6; }
3393 if ${ac_cv_build+:} false
; then :
3394 $as_echo_n "(cached) " >&6
3396 ac_build_alias
=$build_alias
3397 test "x$ac_build_alias" = x
&&
3398 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3399 test "x$ac_build_alias" = x
&&
3400 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3401 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3402 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3406 $as_echo "$ac_cv_build" >&6; }
3407 case $ac_cv_build in
3409 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3412 ac_save_IFS
=$IFS; IFS
='-'
3418 # Remember, the first character of IFS is used to create $*,
3419 # except with old shells:
3422 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3426 $as_echo_n "checking host system type... " >&6; }
3427 if ${ac_cv_host+:} false
; then :
3428 $as_echo_n "(cached) " >&6
3430 if test "x$host_alias" = x
; then
3431 ac_cv_host
=$ac_cv_build
3433 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3434 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3439 $as_echo "$ac_cv_host" >&6; }
3442 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3445 ac_save_IFS
=$IFS; IFS
='-'
3451 # Remember, the first character of IFS is used to create $*,
3452 # except with old shells:
3455 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3460 ac_cpp
='$CPP $CPPFLAGS'
3461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3467 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3469 # start out with intent to build Web Alpine
3470 WEB_BUILD
=web
/src
/alpined.d
3474 ac_cpp
='$CPP $CPPFLAGS'
3475 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3476 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3478 if test -n "$ac_tool_prefix"; then
3479 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3480 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3482 $as_echo_n "checking for $ac_word... " >&6; }
3483 if ${ac_cv_prog_CC+:} false
; then :
3484 $as_echo_n "(cached) " >&6
3486 if test -n "$CC"; then
3487 ac_cv_prog_CC
="$CC" # Let the user override the test.
3489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir
=.
3494 for ac_exec_ext
in '' $ac_executable_extensions; do
3495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3496 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 if test -n "$CC"; then
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3509 $as_echo "$CC" >&6; }
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3517 if test -z "$ac_cv_prog_CC"; then
3519 # Extract the first word of "gcc", so it can be a program name with args.
3520 set dummy gcc
; ac_word
=$2
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522 $as_echo_n "checking for $ac_word... " >&6; }
3523 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3524 $as_echo_n "(cached) " >&6
3526 if test -n "$ac_ct_CC"; then
3527 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir
=.
3534 for ac_exec_ext
in '' $ac_executable_extensions; do
3535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_ac_ct_CC
="gcc"
3537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3546 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3547 if test -n "$ac_ct_CC"; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3549 $as_echo "$ac_ct_CC" >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3555 if test "x$ac_ct_CC" = x
; then
3558 case $cross_compiling:$ac_tool_warned in
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3562 ac_tool_warned
=yes ;;
3570 if test -z "$CC"; then
3571 if test -n "$ac_tool_prefix"; then
3572 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3573 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3575 $as_echo_n "checking for $ac_word... " >&6; }
3576 if ${ac_cv_prog_CC+:} false
; then :
3577 $as_echo_n "(cached) " >&6
3579 if test -n "$CC"; then
3580 ac_cv_prog_CC
="$CC" # Let the user override the test.
3582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3586 test -z "$as_dir" && as_dir
=.
3587 for ac_exec_ext
in '' $ac_executable_extensions; do
3588 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 if test -n "$CC"; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3602 $as_echo "$CC" >&6; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3611 if test -z "$CC"; then
3612 # Extract the first word of "cc", so it can be a program name with args.
3613 set dummy cc
; ac_word
=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_CC+:} false
; then :
3617 $as_echo_n "(cached) " >&6
3619 if test -n "$CC"; then
3620 ac_cv_prog_CC
="$CC" # Let the user override the test.
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3630 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3631 ac_prog_rejected
=yes
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 if test $ac_prog_rejected = yes; then
3643 # We found a bogon in the path, so make sure we never use it.
3644 set dummy
$ac_cv_prog_CC
3646 if test $# != 0; then
3647 # We chose a different compiler from the bogus one.
3648 # However, it has the same basename, so the bogon will be chosen
3649 # first if we set CC to just the basename; use the full file name.
3651 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3657 if test -n "$CC"; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 $as_echo "$CC" >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3667 if test -z "$CC"; then
3668 if test -n "$ac_tool_prefix"; then
3669 for ac_prog
in cl.exe
3671 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3672 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if ${ac_cv_prog_CC+:} false
; then :
3676 $as_echo_n "(cached) " >&6
3678 if test -n "$CC"; then
3679 ac_cv_prog_CC
="$CC" # Let the user override the test.
3681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir
=.
3686 for ac_exec_ext
in '' $ac_executable_extensions; do
3687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3688 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 if test -n "$CC"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701 $as_echo "$CC" >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3708 test -n "$CC" && break
3711 if test -z "$CC"; then
3713 for ac_prog
in cl.exe
3715 # Extract the first word of "$ac_prog", so it can be a program name with args.
3716 set dummy
$ac_prog; ac_word
=$2
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718 $as_echo_n "checking for $ac_word... " >&6; }
3719 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3720 $as_echo_n "(cached) " >&6
3722 if test -n "$ac_ct_CC"; then
3723 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_ac_ct_CC
="$ac_prog"
3733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3743 if test -n "$ac_ct_CC"; then
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3745 $as_echo "$ac_ct_CC" >&6; }
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3752 test -n "$ac_ct_CC" && break
3755 if test "x$ac_ct_CC" = x
; then
3758 case $cross_compiling:$ac_tool_warned in
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3762 ac_tool_warned
=yes ;;
3771 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error $?
"no acceptable C compiler found in \$PATH
3774 See \`config.log' for more details" "$LINENO" 5; }
3776 # Provide some information about the compiler.
3777 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3780 for ac_option
in --version -v -V -qversion; do
3781 { { ac_try
="$ac_compiler $ac_option >&5"
3783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3787 $as_echo "$ac_try_echo"; } >&5
3788 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3790 if test -s conftest.err; then
3792 ... rest of stderr output deleted ...
3793 10q' conftest.err >conftest.er1
3794 cat conftest.er1 >&5
3796 rm -f conftest.er1 conftest.err
3797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3798 test $ac_status = 0; }
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3812 ac_clean_files_save=$ac_clean_files
3813 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3814 # Try to create an executable without -o first, disregard a.out.
3815 # It will help us diagnose broken compilers, and finding out an intuition
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3818 $as_echo_n "checking whether the C compiler works... " >&6; }
3819 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3821 # The possible output files:
3822 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3825 for ac_file in $ac_files
3828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3829 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3834 if { { ac_try="$ac_link_default"
3836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3837 *) ac_try_echo
=$ac_try;;
3839 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840 $as_echo "$ac_try_echo"; } >&5
3841 (eval "$ac_link_default") 2>&5
3843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844 test $ac_status = 0; }; then :
3845 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3846 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3847 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3848 # so that the user can short-circuit this test for compilers unknown to
3850 for ac_file
in $ac_files ''
3852 test -f "$ac_file" ||
continue
3854 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3857 # We found the default executable, but exeext='' is most
3861 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3863 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3865 # We set ac_cv_exeext here because the later test for it is not
3866 # safe: cross compilers may not add the suffix if given an `-o'
3867 # argument, so we may need to know it at that point already.
3868 # Even if this section looks crufty: it has the advantage of
3875 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3880 if test -z "$ac_file"; then :
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3883 $as_echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.
$ac_ext >&5
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error
77 "C compiler cannot create executables
3889 See \`config.log' for more details" "$LINENO" 5; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3892 $as_echo "yes" >&6; }
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3895 $as_echo_n "checking for C compiler default output file name... " >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3897 $as_echo "$ac_file" >&6; }
3898 ac_exeext
=$ac_cv_exeext
3900 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3901 ac_clean_files
=$ac_clean_files_save
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3903 $as_echo_n "checking for suffix of executables... " >&6; }
3904 if { { ac_try
="$ac_link"
3906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3907 *) ac_try_echo=$ac_try;;
3909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3910 $as_echo "$ac_try_echo"; } >&5
3911 (eval "$ac_link") 2>&5
3913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914 test $ac_status = 0; }; then :
3915 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3916 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3917 # work properly (i.e., refer to `conftest.exe'), while it won't with
3919 for ac_file
in conftest.exe conftest conftest.
*; do
3920 test -f "$ac_file" ||
continue
3922 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3923 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3931 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3932 See \`config.log' for more details" "$LINENO" 5; }
3934 rm -f conftest conftest
$ac_cv_exeext
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3936 $as_echo "$ac_cv_exeext" >&6; }
3938 rm -f conftest.
$ac_ext
3939 EXEEXT
=$ac_cv_exeext
3941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h. */
3947 FILE *f = fopen ("conftest.out", "w");
3948 return ferror (f) || fclose (f) != 0;
3954 ac_clean_files
="$ac_clean_files conftest.out"
3955 # Check that the compiler produces executables we can run. If not, either
3956 # the compiler is broken, or we cross compile.
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3958 $as_echo_n "checking whether we are cross compiling... " >&6; }
3959 if test "$cross_compiling" != yes; then
3960 { { ac_try
="$ac_link"
3962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link") 2>&5
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }
3971 if { ac_try='./conftest$ac_cv_exeext'
3972 { { case "(($ac_try" in
3973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3974 *) ac_try_echo
=$ac_try;;
3976 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3977 $as_echo "$ac_try_echo"; } >&5
3978 (eval "$ac_try") 2>&5
3980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3981 test $ac_status = 0; }; }; then
3984 if test "$cross_compiling" = maybe
; then
3987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 as_fn_error $?
"cannot run C compiled programs.
3990 If you meant to cross compile, use \`--host'.
3991 See \`config.log' for more details" "$LINENO" 5; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3996 $as_echo "$cross_compiling" >&6; }
3998 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3999 ac_clean_files
=$ac_clean_files_save
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4001 $as_echo_n "checking for suffix of object files... " >&6; }
4002 if ${ac_cv_objext+:} false
; then :
4003 $as_echo_n "(cached) " >&6
4005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4006 /* end confdefs.h. */
4016 rm -f conftest.o conftest.obj
4017 if { { ac_try
="$ac_compile"
4019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_compile") 2>&5
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; then :
4028 for ac_file in conftest.o conftest.obj conftest.*; do
4029 test -f "$ac_file" || continue;
4031 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4032 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4037 $as_echo "$as_me: failed program was:" >&5
4038 sed 's/^/| /' conftest.$ac_ext >&5
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4043 See \
`config.log' for more details" "$LINENO" 5; }
4045 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4048 $as_echo "$ac_cv_objext" >&6; }
4049 OBJEXT=$ac_cv_objext
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4052 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4053 if ${ac_cv_c_compiler_gnu+:} false; then :
4054 $as_echo_n "(cached) " >&6
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4070 if ac_fn_c_try_compile "$LINENO"; then :
4075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4076 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4080 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4081 if test $ac_compiler_gnu = yes; then
4086 ac_test_CFLAGS=${CFLAGS+set}
4087 ac_save_CFLAGS=$CFLAGS
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4089 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4090 if ${ac_cv_prog_cc_g+:} false; then :
4091 $as_echo_n "(cached) " >&6
4093 ac_save_c_werror_flag=$ac_c_werror_flag
4094 ac_c_werror_flag=yes
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4108 if ac_fn_c_try_compile "$LINENO"; then :
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4123 if ac_fn_c_try_compile "$LINENO"; then :
4126 ac_c_werror_flag=$ac_save_c_werror_flag
4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4139 if ac_fn_c_try_compile "$LINENO"; then :
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4147 ac_c_werror_flag=$ac_save_c_werror_flag
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4150 $as_echo "$ac_cv_prog_cc_g" >&6; }
4151 if test "$ac_test_CFLAGS" = set; then
4152 CFLAGS=$ac_save_CFLAGS
4153 elif test $ac_cv_prog_cc_g = yes; then
4154 if test "$GCC" = yes; then
4160 if test "$GCC" = yes; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4167 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4168 if ${ac_cv_prog_cc_c89+:} false; then :
4169 $as_echo_n "(cached) " >&6
4171 ac_cv_prog_cc_c89=no
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4178 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4179 struct buf { int x; };
4180 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4181 static char *e (p, i)
4187 static char *f (char * (*g) (char **, int), char **p, ...)
4192 s = g (p, va_arg (v,int));
4197 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4198 function prototypes and stuff, but not '\xHH' hex character constants.
4199 These don't provoke an error unfortunately, instead are silently treated
4200 as 'x'. The following induces an error, until -std is added to get
4201 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4202 array size at least. It's necessary to write '\x00'==0 to get something
4203 that's true only with -std. */
4204 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4206 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4207 inside strings and character constants. */
4209 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4211 int test (int i, double x);
4212 struct s1 {int (*f) (int a);};
4213 struct s2 {int (*f) (double a);};
4214 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4220 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4225 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4226 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4228 CC="$ac_save_CC $ac_arg"
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_cv_prog_cc_c89=$ac_arg
4232 rm -f core conftest.err conftest.$ac_objext
4233 test "x$ac_cv_prog_cc_c89" != "xno" && break
4235 rm -f conftest.$ac_ext
4240 case "x$ac_cv_prog_cc_c89" in
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4243 $as_echo "none needed" >&6; } ;;
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4246 $as_echo "unsupported" >&6; } ;;
4248 CC="$CC $ac_cv_prog_cc_c89"
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4250 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4252 if test "x$ac_cv_prog_cc_c89" != xno; then :
4257 ac_cpp='$CPP $CPPFLAGS'
4258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4261 DEPDIR="${am__leading_dot}deps"
4263 ac_config_commands="$ac_config_commands depfiles"
4266 am_make=${MAKE-make}
4267 cat > confinc << 'END'
4269 @echo this is the am__doit target
4272 # If we don't find an include directive, just comment out the code.
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4274 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4278 # First try GNU make style include.
4279 echo "include confinc" > confmf
4280 # Ignore all kinds of additional output from 'make'.
4281 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4282 *the\ am__doit\ target*)
4288 # Now try BSD make style include.
4289 if test "$am__include" = "#"; then
4290 echo '.include "confinc"' > confmf
4291 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4292 *the\ am__doit\ target*)
4293 am__include=.include
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4302 $as_echo "$_am_result" >&6; }
4303 rm -f confinc confmf
4305 # Check whether --enable-dependency-tracking was given.
4306 if test "${enable_dependency_tracking+set}" = set; then :
4307 enableval=$enable_dependency_tracking;
4310 if test "x$enable_dependency_tracking" != xno; then
4311 am_depcomp="$ac_aux_dir/depcomp"
4315 if test "x$enable_dependency_tracking" != xno; then
4325 depcc="$CC" am_compiler_list=
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4328 $as_echo_n "checking dependency style of $depcc... " >&6; }
4329 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4330 $as_echo_n "(cached) " >&6
4332 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4333 # We make a subdir and do the tests there. Otherwise we can end up
4334 # making bogus files that we don't know about and never remove. For
4335 # instance it was reported that on HP-UX the gcc test will end up
4336 # making a dummy file named 'D' -- because '-MD' means "put the output
4340 # Copy depcomp to subdir because otherwise we won't find it if we're
4341 # using a relative directory.
4342 cp "$am_depcomp" conftest.dir
4344 # We will build objects and dependencies in a subdirectory because
4345 # it helps to detect inapplicable dependency modes. For instance
4346 # both Tru64's cc and ICC support -MD to output dependencies as a
4347 # side effect of compilation, but ICC will put the dependencies in
4348 # the current directory while Tru64 will put them in the object
4352 am_cv_CC_dependencies_compiler_type=none
4353 if test "$am_compiler_list" = ""; then
4354 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4357 case " $depcc " in #(
4358 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4361 for depmode in $am_compiler_list; do
4362 # Setup a source with many dependencies, because some compilers
4363 # like to wrap large dependency lists on column 80 (with \), and
4364 # we should not choose a depcomp mode which is confused by this.
4366 # We need to recreate these files for each test, as the compiler may
4367 # overwrite some of them when testing with obscure command lines.
4368 # This happens at least with the AIX C compiler.
4370 for i in 1 2 3 4 5 6; do
4371 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4372 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4373 # Solaris 10 /bin/sh.
4374 echo '/* dummy */' > sub/conftst$i.h
4376 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4378 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4379 # mode. It turns out that the SunPro C++ compiler does not properly
4380 # handle '-M -o', and we need to detect this. Also, some Intel
4381 # versions had trouble with output in subdirs.
4382 am__obj=sub/conftest.${OBJEXT-o}
4383 am__minus_obj="-o $am__obj"
4386 # This depmode causes a compiler race in universal mode.
4387 test "$am__universal" = false || continue
4390 # After this tag, mechanisms are not by side-effect, so they'll
4391 # only be used when explicitly requested.
4392 if test "x$enable_dependency_tracking" = xyes; then
4398 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4399 # This compiler won't grok '-c -o', but also, the minuso test has
4400 # not run yet. These depmodes are late enough in the game, and
4401 # so weak that their functioning should not be impacted.
4402 am__obj=conftest.${OBJEXT-o}
4407 if depmode=$depmode \
4408 source=sub/conftest.c object=$am__obj \
4409 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4410 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4411 >/dev/null 2>conftest.err &&
4412 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4413 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4414 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4415 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4416 # icc doesn't choke on unknown options, it will just issue warnings
4417 # or remarks (even with -Werror). So we grep stderr for any message
4418 # that says an option was ignored or not supported.
4419 # When given -MP, icc 7.0 and 7.1 complain thusly:
4420 # icc: Command line warning: ignoring option '-M'; no argument required
4421 # The diagnosis changed in icc 8.0:
4422 # icc: Command line remark: option '-MP' not supported
4423 if (grep 'ignoring option' conftest.err ||
4424 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4425 am_cv_CC_dependencies_compiler_type=$depmode
4434 am_cv_CC_dependencies_compiler_type=none
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4439 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4440 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4443 test "x$enable_dependency_tracking" != xno \
4444 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4446 am__fastdepCC_FALSE='#'
4448 am__fastdepCC_TRUE='#'
4449 am__fastdepCC_FALSE=
4453 case $ac_cv_prog_cc_stdc in #(
4455 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4458 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4459 if ${ac_cv_prog_cc_c99+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 ac_cv_prog_cc_c99=no
4464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465 /* end confdefs.h. */
4467 #include <stdbool.h>
4472 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4473 #define debug(...) fprintf (stderr, __VA_ARGS__)
4474 #define showlist(...) puts (#__VA_ARGS__)
4475 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4477 test_varargs_macros (void)
4482 debug ("X = %d\n", x);
4483 showlist (The first, second, and third items.);
4484 report (x>y, "x is %d but y is %d", x, y);
4487 // Check long long types.
4488 #define BIG64 18446744073709551615ull
4489 #define BIG32 4294967295ul
4490 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4492 your preprocessor is broken;
4496 your preprocessor is broken;
4498 static long long int bignum = -9223372036854775807LL;
4499 static unsigned long long int ubignum = BIG64;
4501 struct incomplete_array
4509 const wchar_t *name;
4513 typedef const char *ccp;
4516 test_restrict (ccp restrict text)
4518 // See if C++-style comments work.
4519 // Iterate through items via the restricted pointer.
4520 // Also check for declarations in for loops.
4521 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4526 // Check varargs and va_copy.
4528 test_varargs (const char *format, ...)
4531 va_start (args, format);
4533 va_copy (args_copy, args);
4544 str = va_arg (args_copy, const char *);
4547 number = va_arg (args_copy, int);
4550 fnumber = va_arg (args_copy, double);
4565 _Bool success = false;
4568 if (test_restrict ("String literal") == 0)
4570 char *restrict newvar = "Another string";
4573 test_varargs ("s, d' f .", "string", 65, 34.234);
4574 test_varargs_macros ();
4576 // Check flexible array members.
4577 struct incomplete_array *ia =
4578 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4580 for (int i = 0; i < ia->datasize; ++i)
4581 ia->data[i] = i * 1.234;
4583 // Check named initializers.
4584 struct named_init ni = {
4586 .name = L"Test wide string",
4587 .average = 543.34343,
4592 int dynamic_array[ni.number];
4593 dynamic_array[ni.number - 1] = 543;
4595 // work around unused variable warnings
4596 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4597 || dynamic_array[ni.number - 1] != 543);
4603 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4605 CC="$ac_save_CC $ac_arg"
4606 if ac_fn_c_try_compile "$LINENO"; then :
4607 ac_cv_prog_cc_c99=$ac_arg
4609 rm -f core conftest.err conftest.$ac_objext
4610 test "x$ac_cv_prog_cc_c99" != "xno" && break
4612 rm -f conftest.$ac_ext
4617 case "x$ac_cv_prog_cc_c99" in
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4620 $as_echo "none needed" >&6; } ;;
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4623 $as_echo "unsupported" >&6; } ;;
4625 CC="$CC $ac_cv_prog_cc_c99"
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4627 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4629 if test "x$ac_cv_prog_cc_c99" != xno; then :
4630 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4633 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4634 if ${ac_cv_prog_cc_c89+:} false; then :
4635 $as_echo_n "(cached) " >&6
4637 ac_cv_prog_cc_c89=no
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4644 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4645 struct buf { int x; };
4646 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4647 static char *e (p, i)
4653 static char *f (char * (*g) (char **, int), char **p, ...)
4658 s = g (p, va_arg (v,int));
4663 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4664 function prototypes and stuff, but not '\xHH' hex character constants.
4665 These don't provoke an error unfortunately, instead are silently treated
4666 as 'x'. The following induces an error, until -std is added to get
4667 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4668 array size at least. It's necessary to write '\x00'==0 to get something
4669 that's true only with -std. */
4670 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4672 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4673 inside strings and character constants. */
4675 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4677 int test (int i, double x);
4678 struct s1 {int (*f) (int a);};
4679 struct s2 {int (*f) (double a);};
4680 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4686 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4691 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4692 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4694 CC="$ac_save_CC $ac_arg"
4695 if ac_fn_c_try_compile "$LINENO"; then :
4696 ac_cv_prog_cc_c89=$ac_arg
4698 rm -f core conftest.err conftest.$ac_objext
4699 test "x$ac_cv_prog_cc_c89" != "xno" && break
4701 rm -f conftest.$ac_ext
4706 case "x$ac_cv_prog_cc_c89" in
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4709 $as_echo "none needed" >&6; } ;;
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4712 $as_echo "unsupported" >&6; } ;;
4714 CC="$CC $ac_cv_prog_cc_c89"
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4716 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4718 if test "x$ac_cv_prog_cc_c89" != xno; then :
4719 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4721 ac_cv_prog_cc_stdc=no
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4728 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4729 if ${ac_cv_prog_cc_stdc+:} false; then :
4730 $as_echo_n "(cached) " >&6
4733 case $ac_cv_prog_cc_stdc in #(
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4736 $as_echo "unsupported" >&6; } ;; #(
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4739 $as_echo "none needed" >&6; } ;; #(
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4742 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4747 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4749 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4750 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4751 $as_echo_n "(cached) " >&6
4753 cat >conftest.make <<\_ACEOF
4756 @echo '@@@%%%=$(MAKE)=@@@%%%'
4758 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4759 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4761 eval ac_cv_prog_make_${ac_make}_set=yes;;
4763 eval ac_cv_prog_make_${ac_make}_set=no;;
4767 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4769 $as_echo "yes" >&6; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 $as_echo "no" >&6; }
4774 SET_MAKE="MAKE=${MAKE-make}"
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4778 $as_echo_n "checking whether ln -s works... " >&6; }
4780 if test "$LN_S" = "ln -s"; then
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4782 $as_echo "yes" >&6; }
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4785 $as_echo "no, using $LN_S" >&6; }
4788 for ac_prog in gawk mawk nawk awk
4790 # Extract the first word of "$ac_prog", so it can be a program name with args.
4791 set dummy $ac_prog; ac_word=$2
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if ${ac_cv_prog_AWK+:} false; then :
4795 $as_echo_n "(cached) " >&6
4797 if test -n "$AWK"; then
4798 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir=.
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4807 ac_cv_prog_AWK="$ac_prog"
4808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 if test -n "$AWK"; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4820 $as_echo "$AWK" >&6; }
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4823 $as_echo "no" >&6; }
4827 test -n "$AWK" && break
4830 if test -n "$ac_tool_prefix"; then
4831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4832 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if ${ac_cv_prog_RANLIB+:} false; then :
4836 $as_echo_n "(cached) " >&6
4838 if test -n "$RANLIB"; then
4839 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir=.
4846 for ac_exec_ext in '' $ac_executable_extensions; do
4847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4848 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 RANLIB=$ac_cv_prog_RANLIB
4859 if test -n "$RANLIB"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4861 $as_echo "$RANLIB" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4869 if test -z "$ac_cv_prog_RANLIB"; then
4870 ac_ct_RANLIB=$RANLIB
4871 # Extract the first word of "ranlib", so it can be a program name with args.
4872 set dummy ranlib; ac_word=$2
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4876 $as_echo_n "(cached) " >&6
4878 if test -n "$ac_ct_RANLIB"; then
4879 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir=.
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4888 ac_cv_prog_ac_ct_RANLIB="ranlib"
4889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4899 if test -n "$ac_ct_RANLIB"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4901 $as_echo "$ac_ct_RANLIB" >&6; }
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4907 if test "x$ac_ct_RANLIB" = x; then
4910 case $cross_compiling:$ac_tool_warned in
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4914 ac_tool_warned=yes ;;
4916 RANLIB=$ac_ct_RANLIB
4919 RANLIB="$ac_cv_prog_RANLIB"
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4925 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4930 macro_version='2.4.2'
4931 macro_revision='1.3337'
4945 ltmain="$ac_aux_dir/ltmain.sh"
4947 # Backslashify metacharacters that are still active within
4948 # double-quoted strings.
4949 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4951 # Same as above, but do not quote variable references.
4952 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4954 # Sed substitution to delay expansion of an escaped shell variable in a
4955 # double_quote_subst'ed string.
4956 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4958 # Sed substitution to delay expansion of an escaped single quote.
4959 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4961 # Sed substitution to avoid accidental globbing in evaled expressions
4962 no_glob_subst='s/\*/\\\*/g'
4964 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4965 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4966 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4969 $as_echo_n "checking how to print
strings...
" >&6; }
4970 # Test print first, because it will be a builtin if present.
4971 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4972 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4974 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4977 # Use this function as a fallback that always works.
4978 func_fallback_echo ()
4980 eval 'cat <<_LTECHO_EOF
4984 ECHO='func_fallback_echo'
4987 # func_echo_all arg...
4988 # Invoke $ECHO with all args, space-separated.
4995 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4996 $as_echo "printf" >&6; } ;;
4997 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4998 $as_echo "print
-r" >&6; } ;;
4999 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5000 $as_echo "cat" >&6; } ;;
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5017 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5018 if ${ac_cv_path_SED+:} false; then :
5019 $as_echo_n "(cached
) " >&6
5021 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5022 for ac_i in 1 2 3 4 5 6 7; do
5023 ac_script="$ac_script$as_nl$ac_script"
5025 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5026 { ac_script=; unset ac_script;}
5027 if test -z "$SED"; then
5028 ac_path_SED_found=false
5029 # Loop through the user's path and test for each of PROGNAME-LIST
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir=.
5035 for ac_prog in sed gsed; do
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5038 as_fn_executable_p "$ac_path_SED" || continue
5039 # Check for GNU ac_path_SED and select it if it is found.
5040 # Check for GNU $ac_path_SED
5041 case `"$ac_path_SED" --version 2>&1` in
5043 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5046 $as_echo_n 0123456789 >"conftest.
in"
5049 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5050 mv "conftest.tmp
" "conftest.
in"
5051 cp "conftest.
in" "conftest.
nl"
5052 $as_echo '' >> "conftest.
nl"
5053 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5054 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5055 as_fn_arith $ac_count + 1 && ac_count=$as_val
5056 if test $ac_count -gt ${ac_path_SED_max-0}; then
5057 # Best one so far, save it but keep looking for a better one
5058 ac_cv_path_SED="$ac_path_SED"
5059 ac_path_SED_max=$ac_count
5061 # 10*(2^10) chars as input seems more than enough
5062 test $ac_count -gt 10 && break
5064 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5067 $ac_path_SED_found && break 3
5072 if test -z "$ac_cv_path_SED"; then
5073 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5081 $as_echo "$ac_cv_path_SED" >&6; }
5082 SED="$ac_cv_path_SED"
5085 test -z "$SED" && SED=sed
5086 Xsed="$SED -e 1s
/^X
//"
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5099 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5100 if ${ac_cv_path_GREP+:} false; then :
5101 $as_echo_n "(cached
) " >&6
5103 if test -z "$GREP"; then
5104 ac_path_GREP_found=false
5105 # Loop through the user's path and test for each of PROGNAME-LIST
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5110 test -z "$as_dir" && as_dir=.
5111 for ac_prog in grep ggrep; do
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5114 as_fn_executable_p "$ac_path_GREP" || continue
5115 # Check for GNU ac_path_GREP and select it if it is found.
5116 # Check for GNU $ac_path_GREP
5117 case `"$ac_path_GREP" --version 2>&1` in
5119 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5122 $as_echo_n 0123456789 >"conftest.
in"
5125 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5126 mv "conftest.tmp
" "conftest.
in"
5127 cp "conftest.
in" "conftest.
nl"
5128 $as_echo 'GREP' >> "conftest.
nl"
5129 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5130 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5131 as_fn_arith $ac_count + 1 && ac_count=$as_val
5132 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5133 # Best one so far, save it but keep looking for a better one
5134 ac_cv_path_GREP="$ac_path_GREP"
5135 ac_path_GREP_max=$ac_count
5137 # 10*(2^10) chars as input seems more than enough
5138 test $ac_count -gt 10 && break
5140 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5143 $ac_path_GREP_found && break 3
5148 if test -z "$ac_cv_path_GREP"; then
5149 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5152 ac_cv_path_GREP=$GREP
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5157 $as_echo "$ac_cv_path_GREP" >&6; }
5158 GREP="$ac_cv_path_GREP"
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5162 $as_echo_n "checking
for egrep...
" >&6; }
5163 if ${ac_cv_path_EGREP+:} false; then :
5164 $as_echo_n "(cached
) " >&6
5166 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5167 then ac_cv_path_EGREP="$GREP -E"
5169 if test -z "$EGREP"; then
5170 ac_path_EGREP_found=false
5171 # Loop through the user's path and test for each of PROGNAME-LIST
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5176 test -z "$as_dir" && as_dir=.
5177 for ac_prog in egrep; do
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5180 as_fn_executable_p "$ac_path_EGREP" || continue
5181 # Check for GNU ac_path_EGREP and select it if it is found.
5182 # Check for GNU $ac_path_EGREP
5183 case `"$ac_path_EGREP" --version 2>&1` in
5185 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5188 $as_echo_n 0123456789 >"conftest.
in"
5191 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5192 mv "conftest.tmp
" "conftest.
in"
5193 cp "conftest.
in" "conftest.
nl"
5194 $as_echo 'EGREP' >> "conftest.
nl"
5195 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5196 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5197 as_fn_arith $ac_count + 1 && ac_count=$as_val
5198 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5199 # Best one so far, save it but keep looking for a better one
5200 ac_cv_path_EGREP="$ac_path_EGREP"
5201 ac_path_EGREP_max=$ac_count
5203 # 10*(2^10) chars as input seems more than enough
5204 test $ac_count -gt 10 && break
5206 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5209 $ac_path_EGREP_found && break 3
5214 if test -z "$ac_cv_path_EGREP"; then
5215 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5218 ac_cv_path_EGREP=$EGREP
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5224 $as_echo "$ac_cv_path_EGREP" >&6; }
5225 EGREP="$ac_cv_path_EGREP"
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5229 $as_echo_n "checking
for fgrep...
" >&6; }
5230 if ${ac_cv_path_FGREP+:} false; then :
5231 $as_echo_n "(cached
) " >&6
5233 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5234 then ac_cv_path_FGREP="$GREP -F"
5236 if test -z "$FGREP"; then
5237 ac_path_FGREP_found=false
5238 # Loop through the user's path and test for each of PROGNAME-LIST
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5243 test -z "$as_dir" && as_dir=.
5244 for ac_prog in fgrep; do
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5247 as_fn_executable_p "$ac_path_FGREP" || continue
5248 # Check for GNU ac_path_FGREP and select it if it is found.
5249 # Check for GNU $ac_path_FGREP
5250 case `"$ac_path_FGREP" --version 2>&1` in
5252 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5255 $as_echo_n 0123456789 >"conftest.
in"
5258 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5259 mv "conftest.tmp
" "conftest.
in"
5260 cp "conftest.
in" "conftest.
nl"
5261 $as_echo 'FGREP' >> "conftest.
nl"
5262 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5263 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5264 as_fn_arith $ac_count + 1 && ac_count=$as_val
5265 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5266 # Best one so far, save it but keep looking for a better one
5267 ac_cv_path_FGREP="$ac_path_FGREP"
5268 ac_path_FGREP_max=$ac_count
5270 # 10*(2^10) chars as input seems more than enough
5271 test $ac_count -gt 10 && break
5273 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5276 $ac_path_FGREP_found && break 3
5281 if test -z "$ac_cv_path_FGREP"; then
5282 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5285 ac_cv_path_FGREP=$FGREP
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5291 $as_echo "$ac_cv_path_FGREP" >&6; }
5292 FGREP="$ac_cv_path_FGREP"
5295 test -z "$GREP" && GREP=grep
5315 # Check whether --with-gnu-ld was given.
5316 if test "${with_gnu_ld+set}" = set; then :
5317 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5323 if test "$GCC" = yes; then
5324 # Check if gcc -print-prog-name=ld gives a path.
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5326 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5329 # gcc leaves a trailing carriage return which upsets mingw
5330 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5332 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5335 # Accept absolute paths.
5337 re_direlt='/[^/][^/]*/\.\./'
5338 # Canonicalize the pathname of ld
5339 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5340 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5341 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5343 test -z "$LD" && LD="$ac_prog"
5346 # If it fails, then pretend we aren't using GCC.
5350 # If it is relative, then search for the first ld in PATH.
5354 elif test "$with_gnu_ld" = yes; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5356 $as_echo_n "checking
for GNU ld...
" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5359 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5361 if ${lt_cv_path_LD+:} false; then :
5362 $as_echo_n "(cached
) " >&6
5364 if test -z "$LD"; then
5365 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5366 for ac_dir in $PATH; do
5368 test -z "$ac_dir" && ac_dir=.
5369 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5370 lt_cv_path_LD="$ac_dir/$ac_prog"
5371 # Check to see if the program is GNU ld. I'd rather use --version,
5372 # but apparently some variants of GNU ld only accept -v.
5373 # Break only if it was the GNU/non-GNU ld that we prefer.
5374 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5375 *GNU* | *'with BFD'*)
5376 test "$with_gnu_ld" != no && break
5379 test "$with_gnu_ld" != yes && break
5386 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5391 if test -n "$LD"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5393 $as_echo "$LD" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5396 $as_echo "no
" >&6; }
5398 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5400 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5401 if ${lt_cv_prog_gnu_ld+:} false; then :
5402 $as_echo_n "(cached
) " >&6
5404 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5405 case `$LD -v 2>&1 </dev/null` in
5406 *GNU* | *'with BFD'*)
5407 lt_cv_prog_gnu_ld=yes
5410 lt_cv_prog_gnu_ld=no
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5415 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5416 with_gnu_ld=$lt_cv_prog_gnu_ld
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5427 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5428 if ${lt_cv_path_NM+:} false; then :
5429 $as_echo_n "(cached
) " >&6
5431 if test -n "$NM"; then
5432 # Let the user override the test.
5435 lt_nm_to_check="${ac_tool_prefix}nm
"
5436 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5437 lt_nm_to_check="$lt_nm_to_check nm
"
5439 for lt_tmp_nm in $lt_nm_to_check; do
5440 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5441 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5443 test -z "$ac_dir" && ac_dir=.
5444 tmp_nm="$ac_dir/$lt_tmp_nm"
5445 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5446 # Check to see if the nm accepts a BSD-compat flag.
5447 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5448 # nm: unknown option "B
" ignored
5449 # Tru64's nm complains that /dev/null is an invalid object file
5450 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5451 */dev/null* | *'Invalid file or object type'*)
5452 lt_cv_path_NM="$tmp_nm -B"
5456 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5458 lt_cv_path_NM="$tmp_nm -p"
5462 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5463 continue # so that we can try to find one that supports BSD flags
5472 : ${lt_cv_path_NM=no}
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5476 $as_echo "$lt_cv_path_NM" >&6; }
5477 if test "$lt_cv_path_NM" != "no
"; then
5480 # Didn't find any BSD compatible name lister, look for dumpbin.
5481 if test -n "$DUMPBIN"; then :
5482 # Let the user override the test.
5484 if test -n "$ac_tool_prefix"; then
5485 for ac_prog in dumpbin "link
-dump"
5487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5490 $as_echo_n "checking
for $ac_word...
" >&6; }
5491 if ${ac_cv_prog_DUMPBIN+:} false; then :
5492 $as_echo_n "(cached
) " >&6
5494 if test -n "$DUMPBIN"; then
5495 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5514 DUMPBIN=$ac_cv_prog_DUMPBIN
5515 if test -n "$DUMPBIN"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5517 $as_echo "$DUMPBIN" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5520 $as_echo "no
" >&6; }
5524 test -n "$DUMPBIN" && break
5527 if test -z "$DUMPBIN"; then
5528 ac_ct_DUMPBIN=$DUMPBIN
5529 for ac_prog in dumpbin "link
-dump"
5531 # Extract the first word of "$ac_prog", so it can be a program name with args.
5532 set dummy $ac_prog; ac_word=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5534 $as_echo_n "checking
for $ac_word...
" >&6; }
5535 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5536 $as_echo_n "(cached
) " >&6
5538 if test -n "$ac_ct_DUMPBIN"; then
5539 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir=.
5546 for ac_exec_ext in '' $ac_executable_extensions; do
5547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5548 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5558 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5559 if test -n "$ac_ct_DUMPBIN"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5561 $as_echo "$ac_ct_DUMPBIN" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5564 $as_echo "no
" >&6; }
5568 test -n "$ac_ct_DUMPBIN" && break
5571 if test "x
$ac_ct_DUMPBIN" = x; then
5574 case $cross_compiling:$ac_tool_warned in
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5577 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5578 ac_tool_warned=yes ;;
5580 DUMPBIN=$ac_ct_DUMPBIN
5584 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5586 DUMPBIN="$DUMPBIN -symbols"
5594 if test "$DUMPBIN" != ":"; then
5598 test -z "$NM" && NM=nm
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5606 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5607 if ${lt_cv_nm_interface+:} false; then :
5608 $as_echo_n "(cached
) " >&6
5610 lt_cv_nm_interface="BSD nm
"
5611 echo "int some_variable
= 0;" > conftest.$ac_ext
5612 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5613 (eval "$ac_compile" 2>conftest.err)
5614 cat conftest.err >&5
5615 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5616 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5617 cat conftest.err >&5
5618 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5619 cat conftest.out >&5
5620 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5621 lt_cv_nm_interface="MS dumpbin
"
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5626 $as_echo "$lt_cv_nm_interface" >&6; }
5628 # find the maximum length of command line arguments
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5630 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5631 if ${lt_cv_sys_max_cmd_len+:} false; then :
5632 $as_echo_n "(cached
) " >&6
5639 # On DJGPP, this test can blow up pretty badly due to problems in libc
5640 # (any single argument exceeding 2000 bytes causes a buffer overrun
5641 # during glob expansion). Even if it were fixed, the result of this
5642 # check would be larger than it should be.
5643 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5647 # Under GNU Hurd, this test is not required because there is
5648 # no limit to the length of command line arguments.
5649 # Libtool will interpret -1 as no limit whatsoever
5650 lt_cv_sys_max_cmd_len=-1;
5653 cygwin* | mingw* | cegcc*)
5654 # On Win9x/ME, this test blows up -- it succeeds, but takes
5655 # about 5 minutes as the teststring grows exponentially.
5656 # Worse, since 9x/ME are not pre-emptively multitasking,
5657 # you end up with a "frozen
" computer, even though with patience
5658 # the test eventually succeeds (with a max line length of 256k).
5659 # Instead, let's just punt: use the minimum linelength reported by
5660 # all of the supported platforms: 8192 (on NT/2K/XP).
5661 lt_cv_sys_max_cmd_len=8192;
5665 # On MiNT this can take a long time and run out of memory.
5666 lt_cv_sys_max_cmd_len=8192;
5670 # On AmigaOS with pdksh, this test takes hours, literally.
5671 # So we just punt and use a minimum line length of 8192.
5672 lt_cv_sys_max_cmd_len=8192;
5675 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5676 # This has been around since 386BSD, at least. Likely further.
5677 if test -x /sbin/sysctl; then
5678 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5679 elif test -x /usr/sbin/sysctl; then
5680 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5682 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5684 # And add a safety zone
5685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5690 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5691 lt_cv_sys_max_cmd_len=196608
5695 # The test takes a long time on OS/2.
5696 lt_cv_sys_max_cmd_len=8192
5700 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5701 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5702 # nice to cause kernel panics so lets avoid the loop below.
5703 # First set a reasonable default.
5704 lt_cv_sys_max_cmd_len=16384
5706 if test -x /sbin/sysconfig; then
5707 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5708 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5713 lt_cv_sys_max_cmd_len=102400
5715 sysv5* | sco5v6* | sysv4.2uw2*)
5716 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5717 if test -n "$kargmax"; then
5718 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5720 lt_cv_sys_max_cmd_len=32768
5724 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5725 if test -n "$lt_cv_sys_max_cmd_len"; then
5726 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5727 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5729 # Make teststring a little bigger before we do anything with it.
5730 # a 1K string should be a reasonable start.
5731 for i in 1 2 3 4 5 6 7 8 ; do
5732 teststring=$teststring$teststring
5734 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5735 # If test is not a shell built-in, we'll probably end up computing a
5736 # maximum length that is only half of the actual maximum length, but
5738 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5739 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5740 test $i != 17 # 1/2 MB should be enough
5743 teststring=$teststring$teststring
5745 # Only check the string length outside the loop.
5746 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5748 # Add a significant safety factor because C++ compilers can tack on
5749 # massive amounts of additional arguments before passing them to the
5750 # linker. It appears as though 1/2 is a usable value.
5751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5758 if test -n $lt_cv_sys_max_cmd_len ; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5760 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5763 $as_echo "none
" >&6; }
5765 max_cmd_len=$lt_cv_sys_max_cmd_len
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5777 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5778 # Try some XSI features
5781 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5783 && eval 'test $(( 1 + 1 )) -eq 2 \
5784 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5787 $as_echo "$xsi_shell" >&6; }
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5791 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5793 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5795 && lt_shell_append
=yes
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5797 $as_echo "$lt_shell_append" >&6; }
5800 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5810 # test EBCDIC or ASCII
5811 case `echo X|tr X '\101'` in
5812 A
) # ASCII based system
5813 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5814 lt_SP2NL
='tr \040 \012'
5815 lt_NL2SP
='tr \015\012 \040\040'
5817 *) # EBCDIC based system
5818 lt_SP2NL
='tr \100 \n'
5819 lt_NL2SP
='tr \r\n \100\100'
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5832 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5833 if ${lt_cv_to_host_file_cmd+:} false
; then :
5834 $as_echo_n "(cached) " >&6
5839 *-*-mingw* ) # actually msys
5840 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5843 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5845 * ) # otherwise, assume *nix
5846 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5852 *-*-mingw* ) # actually msys
5853 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5856 lt_cv_to_host_file_cmd
=func_convert_file_noop
5858 * ) # otherwise, assume *nix
5859 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5863 * ) # unhandled hosts (and "normal" native builds)
5864 lt_cv_to_host_file_cmd
=func_convert_file_noop
5870 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5872 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5879 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5880 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5881 $as_echo_n "(cached) " >&6
5883 #assume ordinary cross tools, or native build.
5884 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5888 *-*-mingw* ) # actually msys
5889 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5897 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5899 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5906 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5907 if ${lt_cv_ld_reload_flag+:} false
; then :
5908 $as_echo_n "(cached) " >&6
5910 lt_cv_ld_reload_flag
='-r'
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5913 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5914 reload_flag
=$lt_cv_ld_reload_flag
5915 case $reload_flag in
5917 *) reload_flag
=" $reload_flag" ;;
5919 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5921 cygwin
* | mingw
* | pw32
* | cegcc
*)
5922 if test "$GCC" != yes; then
5927 if test "$GCC" = yes; then
5928 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5930 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5943 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5945 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5949 $as_echo_n "(cached) " >&6
5951 if test -n "$OBJDUMP"; then
5952 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir
=.
5959 for ac_exec_ext
in '' $ac_executable_extensions; do
5960 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5961 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 OBJDUMP
=$ac_cv_prog_OBJDUMP
5972 if test -n "$OBJDUMP"; then
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5974 $as_echo "$OBJDUMP" >&6; }
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 $as_echo "no" >&6; }
5982 if test -z "$ac_cv_prog_OBJDUMP"; then
5983 ac_ct_OBJDUMP
=$OBJDUMP
5984 # Extract the first word of "objdump", so it can be a program name with args.
5985 set dummy objdump
; ac_word
=$2
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5987 $as_echo_n "checking for $ac_word... " >&6; }
5988 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5989 $as_echo_n "(cached) " >&6
5991 if test -n "$ac_ct_OBJDUMP"; then
5992 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir
=.
5999 for ac_exec_ext
in '' $ac_executable_extensions; do
6000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6001 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6012 if test -n "$ac_ct_OBJDUMP"; then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6014 $as_echo "$ac_ct_OBJDUMP" >&6; }
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6020 if test "x$ac_ct_OBJDUMP" = x
; then
6023 case $cross_compiling:$ac_tool_warned in
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6027 ac_tool_warned
=yes ;;
6029 OBJDUMP
=$ac_ct_OBJDUMP
6032 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6035 test -z "$OBJDUMP" && OBJDUMP
=objdump
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6046 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6047 if ${lt_cv_deplibs_check_method+:} false
; then :
6048 $as_echo_n "(cached) " >&6
6050 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6051 lt_cv_file_magic_test_file
=
6052 lt_cv_deplibs_check_method
='unknown'
6053 # Need to set the preceding variable on all platforms that support
6054 # interlibrary dependencies.
6055 # 'none' -- dependencies not supported.
6056 # `unknown' -- same as none, but documents that we really don't know.
6057 # 'pass_all' -- all dependencies passed with no checks.
6058 # 'test_compile' -- check by making test program.
6059 # 'file_magic [[regex]]' -- check by looking for files in library path
6060 # which responds to the $file_magic_cmd with a given extended regex.
6061 # If you have `file' or equivalent on your system and you're not sure
6062 # whether `pass_all' will *always* work, you probably want this one.
6066 lt_cv_deplibs_check_method
=pass_all
6070 lt_cv_deplibs_check_method
=pass_all
6074 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6075 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6076 lt_cv_file_magic_test_file
=/shlib
/libc.so
6080 # func_win32_libid is a shell function defined in ltmain.sh
6081 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6082 lt_cv_file_magic_cmd
='func_win32_libid'
6086 # Base MSYS/MinGW do not provide the 'file' command needed by
6087 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6088 # unless we find 'file', for example because we are cross-compiling.
6089 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6090 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6091 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6092 lt_cv_file_magic_cmd
='func_win32_libid'
6094 # Keep this pattern in sync with the one in func_win32_libid.
6095 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6096 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6101 # use the weaker test based on 'objdump'. See mingw*.
6102 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6103 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6106 darwin
* | rhapsody
*)
6107 lt_cv_deplibs_check_method
=pass_all
6110 freebsd
* | dragonfly
*)
6111 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6114 # Not sure whether the presence of OpenBSD here was a mistake.
6115 # Let's accept both of them until this is cleared up.
6116 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6117 lt_cv_file_magic_cmd
=/usr
/bin
/file
6118 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6122 lt_cv_deplibs_check_method
=pass_all
6127 lt_cv_deplibs_check_method
=pass_all
6131 lt_cv_deplibs_check_method
=pass_all
6134 hpux10.20
* | hpux11
*)
6135 lt_cv_file_magic_cmd
=/usr
/bin
/file
6138 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6139 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6142 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]'
6143 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6146 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6147 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6153 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6154 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6157 irix5
* | irix6
* | nonstopux
*)
6159 *-32|
*"-32 ") libmagic
=32-bit;;
6160 *-n32|
*"-n32 ") libmagic
=N32
;;
6161 *-64|
*"-64 ") libmagic
=64-bit;;
6162 *) libmagic
=never-match
;;
6164 lt_cv_deplibs_check_method
=pass_all
6167 # This must be glibc/ELF.
6168 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6169 lt_cv_deplibs_check_method
=pass_all
6173 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6174 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6176 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6181 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6182 lt_cv_file_magic_cmd
=/usr
/bin
/file
6183 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6187 lt_cv_deplibs_check_method
=pass_all
6191 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6192 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6194 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6198 osf3
* | osf4
* | osf5
*)
6199 lt_cv_deplibs_check_method
=pass_all
6203 lt_cv_deplibs_check_method
=pass_all
6207 lt_cv_deplibs_check_method
=pass_all
6210 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6211 lt_cv_deplibs_check_method
=pass_all
6215 case $host_vendor in
6217 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]'
6218 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6221 lt_cv_deplibs_check_method
=pass_all
6224 lt_cv_file_magic_cmd
='/bin/file'
6225 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6228 lt_cv_file_magic_cmd
='/bin/file'
6229 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6230 lt_cv_file_magic_test_file
=/lib
/libc.so
6233 lt_cv_deplibs_check_method
=pass_all
6236 lt_cv_deplibs_check_method
=pass_all
6242 lt_cv_deplibs_check_method
=pass_all
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6248 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6252 if test "$build" = "$host"; then
6255 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
6258 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6264 file_magic_cmd
=$lt_cv_file_magic_cmd
6265 deplibs_check_method
=$lt_cv_deplibs_check_method
6266 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6289 if test -n "$ac_tool_prefix"; then
6290 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6291 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6293 $as_echo_n "checking for $ac_word... " >&6; }
6294 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6295 $as_echo_n "(cached) " >&6
6297 if test -n "$DLLTOOL"; then
6298 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6304 test -z "$as_dir" && as_dir
=.
6305 for ac_exec_ext
in '' $ac_executable_extensions; do
6306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6307 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317 DLLTOOL
=$ac_cv_prog_DLLTOOL
6318 if test -n "$DLLTOOL"; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6320 $as_echo "$DLLTOOL" >&6; }
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6323 $as_echo "no" >&6; }
6328 if test -z "$ac_cv_prog_DLLTOOL"; then
6329 ac_ct_DLLTOOL
=$DLLTOOL
6330 # Extract the first word of "dlltool", so it can be a program name with args.
6331 set dummy dlltool
; ac_word
=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 $as_echo_n "checking for $ac_word... " >&6; }
6334 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6335 $as_echo_n "(cached) " >&6
6337 if test -n "$ac_ct_DLLTOOL"; then
6338 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir
=.
6345 for ac_exec_ext
in '' $ac_executable_extensions; do
6346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6347 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6358 if test -n "$ac_ct_DLLTOOL"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6360 $as_echo "$ac_ct_DLLTOOL" >&6; }
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6366 if test "x$ac_ct_DLLTOOL" = x
; then
6369 case $cross_compiling:$ac_tool_warned in
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6373 ac_tool_warned
=yes ;;
6375 DLLTOOL
=$ac_ct_DLLTOOL
6378 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6381 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6393 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6394 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6395 $as_echo_n "(cached) " >&6
6397 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6400 cygwin
* | mingw
* | pw32
* | cegcc
*)
6401 # two different shell functions defined in ltmain.sh
6402 # decide which to use based on capabilities of $DLLTOOL
6403 case `$DLLTOOL --help 2>&1` in
6404 *--identify-strict*)
6405 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6408 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6413 # fallback: assume linklib IS sharedlib
6414 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6420 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6421 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6422 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6431 if test -n "$ac_tool_prefix"; then
6434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6435 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437 $as_echo_n "checking for $ac_word... " >&6; }
6438 if ${ac_cv_prog_AR+:} false
; then :
6439 $as_echo_n "(cached) " >&6
6441 if test -n "$AR"; then
6442 ac_cv_prog_AR
="$AR" # Let the user override the test.
6444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6448 test -z "$as_dir" && as_dir
=.
6449 for ac_exec_ext
in '' $ac_executable_extensions; do
6450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6451 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462 if test -n "$AR"; then
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6464 $as_echo "$AR" >&6; }
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467 $as_echo "no" >&6; }
6471 test -n "$AR" && break
6474 if test -z "$AR"; then
6478 # Extract the first word of "$ac_prog", so it can be a program name with args.
6479 set dummy
$ac_prog; ac_word
=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6481 $as_echo_n "checking for $ac_word... " >&6; }
6482 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6483 $as_echo_n "(cached) " >&6
6485 if test -n "$ac_ct_AR"; then
6486 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6492 test -z "$as_dir" && as_dir
=.
6493 for ac_exec_ext
in '' $ac_executable_extensions; do
6494 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6495 ac_cv_prog_ac_ct_AR
="$ac_prog"
6496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6505 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6506 if test -n "$ac_ct_AR"; then
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6508 $as_echo "$ac_ct_AR" >&6; }
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6511 $as_echo "no" >&6; }
6515 test -n "$ac_ct_AR" && break
6518 if test "x$ac_ct_AR" = x
; then
6521 case $cross_compiling:$ac_tool_warned in
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6525 ac_tool_warned
=yes ;;
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6545 $as_echo_n "checking for archiver @FILE support... " >&6; }
6546 if ${lt_cv_ar_at_file+:} false
; then :
6547 $as_echo_n "(cached) " >&6
6550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6561 if ac_fn_c_try_compile
"$LINENO"; then :
6562 echo conftest.
$ac_objext > conftest.lst
6563 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6564 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6565 (eval $lt_ar_try) 2>&5
6567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6568 test $ac_status = 0; }
6569 if test "$ac_status" -eq 0; then
6570 # Ensure the archiver fails upon bogus file names.
6571 rm -f conftest.
$ac_objext libconftest.a
6572 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6573 (eval $lt_ar_try) 2>&5
6575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6576 test $ac_status = 0; }
6577 if test "$ac_status" -ne 0; then
6581 rm -f conftest.
* libconftest.a
6584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6588 $as_echo "$lt_cv_ar_at_file" >&6; }
6590 if test "x$lt_cv_ar_at_file" = xno
; then
6593 archiver_list_spec
=$lt_cv_ar_at_file
6602 if test -n "$ac_tool_prefix"; then
6603 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6604 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if ${ac_cv_prog_STRIP+:} false
; then :
6608 $as_echo_n "(cached) " >&6
6610 if test -n "$STRIP"; then
6611 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6617 test -z "$as_dir" && as_dir
=.
6618 for ac_exec_ext
in '' $ac_executable_extensions; do
6619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 STRIP
=$ac_cv_prog_STRIP
6631 if test -n "$STRIP"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6633 $as_echo "$STRIP" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6641 if test -z "$ac_cv_prog_STRIP"; then
6643 # Extract the first word of "strip", so it can be a program name with args.
6644 set dummy strip
; ac_word
=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6648 $as_echo_n "(cached) " >&6
6650 if test -n "$ac_ct_STRIP"; then
6651 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir
=.
6658 for ac_exec_ext
in '' $ac_executable_extensions; do
6659 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_ac_ct_STRIP
="strip"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6671 if test -n "$ac_ct_STRIP"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6673 $as_echo "$ac_ct_STRIP" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6679 if test "x$ac_ct_STRIP" = x
; then
6682 case $cross_compiling:$ac_tool_warned in
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned
=yes ;;
6691 STRIP
="$ac_cv_prog_STRIP"
6694 test -z "$STRIP" && STRIP
=:
6701 if test -n "$ac_tool_prefix"; then
6702 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6703 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_prog_RANLIB+:} false
; then :
6707 $as_echo_n "(cached) " >&6
6709 if test -n "$RANLIB"; then
6710 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6716 test -z "$as_dir" && as_dir
=.
6717 for ac_exec_ext
in '' $ac_executable_extensions; do
6718 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6719 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 RANLIB
=$ac_cv_prog_RANLIB
6730 if test -n "$RANLIB"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6732 $as_echo "$RANLIB" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6740 if test -z "$ac_cv_prog_RANLIB"; then
6741 ac_ct_RANLIB
=$RANLIB
6742 # Extract the first word of "ranlib", so it can be a program name with args.
6743 set dummy ranlib
; ac_word
=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745 $as_echo_n "checking for $ac_word... " >&6; }
6746 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6747 $as_echo_n "(cached) " >&6
6749 if test -n "$ac_ct_RANLIB"; then
6750 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir
=.
6757 for ac_exec_ext
in '' $ac_executable_extensions; do
6758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6759 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6770 if test -n "$ac_ct_RANLIB"; then
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6772 $as_echo "$ac_ct_RANLIB" >&6; }
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775 $as_echo "no" >&6; }
6778 if test "x$ac_ct_RANLIB" = x
; then
6781 case $cross_compiling:$ac_tool_warned in
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6785 ac_tool_warned
=yes ;;
6787 RANLIB
=$ac_ct_RANLIB
6790 RANLIB
="$ac_cv_prog_RANLIB"
6793 test -z "$RANLIB" && RANLIB
=:
6800 # Determine commands to create old-style static archives.
6801 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6802 old_postinstall_cmds
='chmod 644 $oldlib'
6803 old_postuninstall_cmds
=
6805 if test -n "$RANLIB"; then
6808 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6811 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6814 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6819 lock_old_archive_extraction
=yes ;;
6821 lock_old_archive_extraction
=no
;;
6862 # If no C compiler was specified, use CC.
6865 # If no C compiler flags were specified, use CFLAGS.
6866 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6868 # Allow CC to be a program name with arguments.
6872 # Check for command to grab the raw symbol name followed by C symbol from nm.
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6874 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6875 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6876 $as_echo_n "(cached) " >&6
6879 # These are sane defaults that work on at least a few old systems.
6880 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6882 # Character class describing NM global symbol codes.
6883 symcode
='[BCDEGRST]'
6885 # Regexp to match symbols that can be accessed directly from C.
6886 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6888 # Define system-specific variables.
6893 cygwin
* | mingw
* | pw32
* | cegcc
*)
6894 symcode
='[ABCDGISTW]'
6897 if test "$host_cpu" = ia64
; then
6898 symcode
='[ABCDEGRST]'
6902 symcode
='[BCDEGRST]'
6905 symcode
='[BCDEGQRST]'
6916 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6924 # If we're using GNU nm, then use its standard symbol codes.
6925 case `$NM -V 2>&1` in
6926 *GNU
* |
*'with BFD'*)
6927 symcode
='[ABCDGIRSTW]' ;;
6930 # Transform an extracted symbol line into a proper C declaration.
6931 # Some systems (esp. on ia64) link data and code symbols differently,
6932 # so use this general approach.
6933 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6935 # Transform an extracted symbol line into symbol name and symbol address
6936 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6937 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'"
6939 # Handle CRLF in mingw tool chain
6943 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6947 # Try without a prefix underscore, then with it.
6948 for ac_symprfx
in "" "_"; do
6950 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6951 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6953 # Write the raw and C identifiers.
6954 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6955 # Fake it for dumpbin and say T for any non-static function
6956 # and D for any global variable.
6957 # Also find C++ and __fastcall symbols from MSVC++,
6958 # which start with @ or ?.
6959 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6960 " {last_section=section; section=\$ 3};"\
6961 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6962 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6963 " \$ 0!~/External *\|/{next};"\
6964 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6965 " {if(hide[section]) next};"\
6966 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6967 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6968 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6969 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6970 " ' prfx=^$ac_symprfx"
6972 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6974 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6976 # Check to see that the pipe works correctly.
6980 cat > conftest.
$ac_ext <<_LT_EOF
6985 void nm_test_func(void);
6986 void nm_test_func(void){}
6990 int main(){nm_test_var='a';nm_test_func();return(0);}
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6994 (eval $ac_compile) 2>&5
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; }; then
6998 # Now try to grab the symbols.
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7001 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s "$nlist"; then
7005 # Try sorting and uniquifying the output.
7006 if sort "$nlist" |
uniq > "$nlist"T
; then
7007 mv -f "$nlist"T
"$nlist"
7012 # Make sure that we snagged all the symbols we need.
7013 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7014 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7015 cat <<_LT_EOF > conftest.$ac_ext
7016 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7017 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7018 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7019 relocations are performed -- see ld's documentation on pseudo-relocs. */
7020 # define LT_DLSYM_CONST
7021 #elif defined(__osf__)
7022 /* This system does not cope well with relocations in const data. */
7023 # define LT_DLSYM_CONST
7025 # define LT_DLSYM_CONST const
7033 # Now generate the symbol file.
7034 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7036 cat <<_LT_EOF >> conftest.$ac_ext
7038 /* The mapping between symbol names and symbols. */
7039 LT_DLSYM_CONST struct {
7043 lt__PROGRAM__LTX_preloaded_symbols[] =
7045 { "@PROGRAM@", (void *) 0 },
7047 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7048 cat <<\_LT_EOF
>> conftest.
$ac_ext
7052 /* This works around a problem
in FreeBSD linker
*/
7053 #ifdef FREEBSD_WORKAROUND
7054 static const void
*lt_preloaded_setup
() {
7055 return lt__PROGRAM__LTX_preloaded_symbols
;
7063 # Now try linking the two files.
7064 mv conftest.
$ac_objext conftstm.
$ac_objext
7065 lt_globsym_save_LIBS
=$LIBS
7066 lt_globsym_save_CFLAGS
=$CFLAGS
7067 LIBS
="conftstm.$ac_objext"
7068 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7070 (eval $ac_link) 2>&5
7072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7073 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7076 LIBS
=$lt_globsym_save_LIBS
7077 CFLAGS
=$lt_globsym_save_CFLAGS
7079 echo "cannot find nm_test_func in $nlist" >&5
7082 echo "cannot find nm_test_var in $nlist" >&5
7085 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7088 echo "$progname: failed program was:" >&5
7089 cat conftest.
$ac_ext >&5
7091 rm -rf conftest
* conftst
*
7093 # Do not use the global_symbol_pipe unless it works.
7094 if test "$pipe_works" = yes; then
7097 lt_cv_sys_global_symbol_pipe
=
7103 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7104 lt_cv_sys_global_symbol_to_cdecl
=
7106 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7108 $as_echo "failed" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7111 $as_echo "ok" >&6; }
7114 # Response file support.
7115 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7116 nm_file_list_spec
='@'
7117 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7118 nm_file_list_spec
='@'
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7148 $as_echo_n "checking for sysroot... " >&6; }
7150 # Check whether --with-sysroot was given.
7151 if test "${with_sysroot+set}" = set; then :
7152 withval
=$with_sysroot;
7159 case ${with_sysroot} in #(
7161 if test "$GCC" = yes; then
7162 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7166 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7172 $as_echo "${with_sysroot}" >&6; }
7173 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7178 $as_echo "${lt_sysroot:-no}" >&6; }
7184 # Check whether --enable-libtool-lock was given.
7185 if test "${enable_libtool_lock+set}" = set; then :
7186 enableval
=$enable_libtool_lock;
7189 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7191 # Some flags need to be propagated to the compiler or linker for good
7195 # Find out which ABI we are using.
7196 echo 'int i;' > conftest.
$ac_ext
7197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198 (eval $ac_compile) 2>&5
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201 test $ac_status = 0; }; then
7202 case `/usr/bin/file conftest.$ac_objext` in
7214 # Find out which ABI we are using.
7215 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7217 (eval $ac_compile) 2>&5
7219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7220 test $ac_status = 0; }; then
7221 if test "$lt_cv_prog_gnu_ld" = yes; then
7222 case `/usr/bin/file conftest.$ac_objext` in
7224 LD
="${LD-ld} -melf32bsmip"
7227 LD
="${LD-ld} -melf32bmipn32"
7230 LD
="${LD-ld} -melf64bmip"
7234 case `/usr/bin/file conftest.$ac_objext` in
7250 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7251 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7252 # Find out which ABI we are using.
7253 echo 'int i;' > conftest.
$ac_ext
7254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7255 (eval $ac_compile) 2>&5
7257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7258 test $ac_status = 0; }; then
7259 case `/usr/bin/file conftest.o` in
7262 x86_64-
*kfreebsd
*-gnu)
7263 LD
="${LD-ld} -m elf_i386_fbsd"
7266 LD
="${LD-ld} -m elf_i386"
7268 powerpc64le-
*linux
*)
7269 LD
="${LD-ld} -m elf32lppclinux"
7272 LD
="${LD-ld} -m elf32ppclinux"
7275 LD
="${LD-ld} -m elf_s390"
7278 LD
="${LD-ld} -m elf32_sparc"
7284 x86_64-
*kfreebsd
*-gnu)
7285 LD
="${LD-ld} -m elf_x86_64_fbsd"
7288 LD
="${LD-ld} -m elf_x86_64"
7291 LD
="${LD-ld} -m elf64lppc"
7294 LD
="${LD-ld} -m elf64ppc"
7296 s390
*-*linux
*|s390
*-*tpf
*)
7297 LD
="${LD-ld} -m elf64_s390"
7300 LD
="${LD-ld} -m elf64_sparc"
7310 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7311 SAVE_CFLAGS
="$CFLAGS"
7312 CFLAGS
="$CFLAGS -belf"
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7314 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7315 if ${lt_cv_cc_needs_belf+:} false
; then :
7316 $as_echo_n "(cached) " >&6
7319 ac_cpp
='$CPP $CPPFLAGS'
7320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7325 /* end confdefs.h. */
7335 if ac_fn_c_try_link
"$LINENO"; then :
7336 lt_cv_cc_needs_belf
=yes
7338 lt_cv_cc_needs_belf
=no
7340 rm -f core conftest.err conftest.
$ac_objext \
7341 conftest
$ac_exeext conftest.
$ac_ext
7343 ac_cpp
='$CPP $CPPFLAGS'
7344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7350 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7351 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7352 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7353 CFLAGS
="$SAVE_CFLAGS"
7357 # Find out which ABI we are using.
7358 echo 'int i;' > conftest.
$ac_ext
7359 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7360 (eval $ac_compile) 2>&5
7362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7363 test $ac_status = 0; }; then
7364 case `/usr/bin/file conftest.o` in
7366 case $lt_cv_prog_gnu_ld in
7370 LD
="${LD-ld} -m elf_x86_64"
7373 LD
="${LD-ld} -m elf64_sparc"
7376 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7377 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
7382 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7394 need_locks
="$enable_libtool_lock"
7396 if test -n "$ac_tool_prefix"; then
7397 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7398 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7402 $as_echo_n "(cached) " >&6
7404 if test -n "$MANIFEST_TOOL"; then
7405 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7411 test -z "$as_dir" && as_dir
=.
7412 for ac_exec_ext
in '' $ac_executable_extensions; do
7413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7414 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7425 if test -n "$MANIFEST_TOOL"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7427 $as_echo "$MANIFEST_TOOL" >&6; }
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7435 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7436 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7437 # Extract the first word of "mt", so it can be a program name with args.
7438 set dummy mt
; ac_word
=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7442 $as_echo_n "(cached) " >&6
7444 if test -n "$ac_ct_MANIFEST_TOOL"; then
7445 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7451 test -z "$as_dir" && as_dir
=.
7452 for ac_exec_ext
in '' $ac_executable_extensions; do
7453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7454 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7465 if test -n "$ac_ct_MANIFEST_TOOL"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7467 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7473 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7476 case $cross_compiling:$ac_tool_warned in
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7480 ac_tool_warned
=yes ;;
7482 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7485 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7488 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7490 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7491 if ${lt_cv_path_mainfest_tool+:} false
; then :
7492 $as_echo_n "(cached) " >&6
7494 lt_cv_path_mainfest_tool
=no
7495 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7496 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7497 cat conftest.err
>&5
7498 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7499 lt_cv_path_mainfest_tool
=yes
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7504 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7505 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
7515 rhapsody
* | darwin
*)
7516 if test -n "$ac_tool_prefix"; then
7517 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7518 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520 $as_echo_n "checking for $ac_word... " >&6; }
7521 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7522 $as_echo_n "(cached) " >&6
7524 if test -n "$DSYMUTIL"; then
7525 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7531 test -z "$as_dir" && as_dir
=.
7532 for ac_exec_ext
in '' $ac_executable_extensions; do
7533 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7545 if test -n "$DSYMUTIL"; then
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7547 $as_echo "$DSYMUTIL" >&6; }
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550 $as_echo "no" >&6; }
7555 if test -z "$ac_cv_prog_DSYMUTIL"; then
7556 ac_ct_DSYMUTIL
=$DSYMUTIL
7557 # Extract the first word of "dsymutil", so it can be a program name with args.
7558 set dummy dsymutil
; ac_word
=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7562 $as_echo_n "(cached) " >&6
7564 if test -n "$ac_ct_DSYMUTIL"; then
7565 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7571 test -z "$as_dir" && as_dir
=.
7572 for ac_exec_ext
in '' $ac_executable_extensions; do
7573 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7574 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7585 if test -n "$ac_ct_DSYMUTIL"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7587 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7593 if test "x$ac_ct_DSYMUTIL" = x
; then
7596 case $cross_compiling:$ac_tool_warned in
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7600 ac_tool_warned
=yes ;;
7602 DSYMUTIL
=$ac_ct_DSYMUTIL
7605 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7608 if test -n "$ac_tool_prefix"; then
7609 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7610 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7612 $as_echo_n "checking for $ac_word... " >&6; }
7613 if ${ac_cv_prog_NMEDIT+:} false
; then :
7614 $as_echo_n "(cached) " >&6
7616 if test -n "$NMEDIT"; then
7617 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7623 test -z "$as_dir" && as_dir
=.
7624 for ac_exec_ext
in '' $ac_executable_extensions; do
7625 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7626 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636 NMEDIT
=$ac_cv_prog_NMEDIT
7637 if test -n "$NMEDIT"; then
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7639 $as_echo "$NMEDIT" >&6; }
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7642 $as_echo "no" >&6; }
7647 if test -z "$ac_cv_prog_NMEDIT"; then
7648 ac_ct_NMEDIT
=$NMEDIT
7649 # Extract the first word of "nmedit", so it can be a program name with args.
7650 set dummy nmedit
; ac_word
=$2
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7652 $as_echo_n "checking for $ac_word... " >&6; }
7653 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7654 $as_echo_n "(cached) " >&6
7656 if test -n "$ac_ct_NMEDIT"; then
7657 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7663 test -z "$as_dir" && as_dir
=.
7664 for ac_exec_ext
in '' $ac_executable_extensions; do
7665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7666 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7677 if test -n "$ac_ct_NMEDIT"; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7679 $as_echo "$ac_ct_NMEDIT" >&6; }
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7682 $as_echo "no" >&6; }
7685 if test "x$ac_ct_NMEDIT" = x
; then
7688 case $cross_compiling:$ac_tool_warned in
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7692 ac_tool_warned
=yes ;;
7694 NMEDIT
=$ac_ct_NMEDIT
7697 NMEDIT
="$ac_cv_prog_NMEDIT"
7700 if test -n "$ac_tool_prefix"; then
7701 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7702 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7704 $as_echo_n "checking for $ac_word... " >&6; }
7705 if ${ac_cv_prog_LIPO+:} false
; then :
7706 $as_echo_n "(cached) " >&6
7708 if test -n "$LIPO"; then
7709 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7715 test -z "$as_dir" && as_dir
=.
7716 for ac_exec_ext
in '' $ac_executable_extensions; do
7717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7718 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7728 LIPO
=$ac_cv_prog_LIPO
7729 if test -n "$LIPO"; then
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7731 $as_echo "$LIPO" >&6; }
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734 $as_echo "no" >&6; }
7739 if test -z "$ac_cv_prog_LIPO"; then
7741 # Extract the first word of "lipo", so it can be a program name with args.
7742 set dummy lipo
; ac_word
=$2
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7744 $as_echo_n "checking for $ac_word... " >&6; }
7745 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7746 $as_echo_n "(cached) " >&6
7748 if test -n "$ac_ct_LIPO"; then
7749 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7755 test -z "$as_dir" && as_dir
=.
7756 for ac_exec_ext
in '' $ac_executable_extensions; do
7757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7758 ac_cv_prog_ac_ct_LIPO
="lipo"
7759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7768 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7769 if test -n "$ac_ct_LIPO"; then
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7771 $as_echo "$ac_ct_LIPO" >&6; }
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7774 $as_echo "no" >&6; }
7777 if test "x$ac_ct_LIPO" = x
; then
7780 case $cross_compiling:$ac_tool_warned in
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7784 ac_tool_warned
=yes ;;
7789 LIPO
="$ac_cv_prog_LIPO"
7792 if test -n "$ac_tool_prefix"; then
7793 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7794 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7796 $as_echo_n "checking for $ac_word... " >&6; }
7797 if ${ac_cv_prog_OTOOL+:} false
; then :
7798 $as_echo_n "(cached) " >&6
7800 if test -n "$OTOOL"; then
7801 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7807 test -z "$as_dir" && as_dir
=.
7808 for ac_exec_ext
in '' $ac_executable_extensions; do
7809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7810 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7820 OTOOL
=$ac_cv_prog_OTOOL
7821 if test -n "$OTOOL"; then
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7823 $as_echo "$OTOOL" >&6; }
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7826 $as_echo "no" >&6; }
7831 if test -z "$ac_cv_prog_OTOOL"; then
7833 # Extract the first word of "otool", so it can be a program name with args.
7834 set dummy otool
; ac_word
=$2
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7836 $as_echo_n "checking for $ac_word... " >&6; }
7837 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7838 $as_echo_n "(cached) " >&6
7840 if test -n "$ac_ct_OTOOL"; then
7841 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7847 test -z "$as_dir" && as_dir
=.
7848 for ac_exec_ext
in '' $ac_executable_extensions; do
7849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7850 ac_cv_prog_ac_ct_OTOOL
="otool"
7851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7860 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7861 if test -n "$ac_ct_OTOOL"; then
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7863 $as_echo "$ac_ct_OTOOL" >&6; }
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7866 $as_echo "no" >&6; }
7869 if test "x$ac_ct_OTOOL" = x
; then
7872 case $cross_compiling:$ac_tool_warned in
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7876 ac_tool_warned
=yes ;;
7881 OTOOL
="$ac_cv_prog_OTOOL"
7884 if test -n "$ac_tool_prefix"; then
7885 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7886 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7888 $as_echo_n "checking for $ac_word... " >&6; }
7889 if ${ac_cv_prog_OTOOL64+:} false
; then :
7890 $as_echo_n "(cached) " >&6
7892 if test -n "$OTOOL64"; then
7893 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7899 test -z "$as_dir" && as_dir
=.
7900 for ac_exec_ext
in '' $ac_executable_extensions; do
7901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7902 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7912 OTOOL64
=$ac_cv_prog_OTOOL64
7913 if test -n "$OTOOL64"; then
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7915 $as_echo "$OTOOL64" >&6; }
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918 $as_echo "no" >&6; }
7923 if test -z "$ac_cv_prog_OTOOL64"; then
7924 ac_ct_OTOOL64
=$OTOOL64
7925 # Extract the first word of "otool64", so it can be a program name with args.
7926 set dummy otool64
; ac_word
=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7930 $as_echo_n "(cached) " >&6
7932 if test -n "$ac_ct_OTOOL64"; then
7933 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir
=.
7940 for ac_exec_ext
in '' $ac_executable_extensions; do
7941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7942 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7953 if test -n "$ac_ct_OTOOL64"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7955 $as_echo "$ac_ct_OTOOL64" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7961 if test "x$ac_ct_OTOOL64" = x
; then
7964 case $cross_compiling:$ac_tool_warned in
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7968 ac_tool_warned
=yes ;;
7970 OTOOL64
=$ac_ct_OTOOL64
7973 OTOOL64
="$ac_cv_prog_OTOOL64"
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8003 $as_echo_n "checking for -single_module linker flag... " >&6; }
8004 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8005 $as_echo_n "(cached) " >&6
8007 lt_cv_apple_cc_single_mod
=no
8008 if test -z "${LT_MULTI_MODULE}"; then
8009 # By default we will add the -single_module flag. You can override
8010 # by either setting the environment variable LT_MULTI_MODULE
8011 # non-empty at configure time, or by adding -multi_module to the
8013 rm -rf libconftest.dylib
*
8014 echo "int foo(void){return 1;}" > conftest.c
8015 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8016 -dynamiclib -Wl,-single_module conftest.c" >&5
8017 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8018 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8020 # If there is a non-empty error log, and "single_module"
8021 # appears in it, assume the flag caused a linker warning
8022 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8023 cat conftest.err
>&5
8024 # Otherwise, if the output was created with a 0 exit code from
8025 # the compiler, it worked.
8026 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
8027 lt_cv_apple_cc_single_mod
=yes
8029 cat conftest.err
>&5
8031 rm -rf libconftest.dylib
*
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8036 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8039 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8040 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8041 $as_echo_n "(cached) " >&6
8043 lt_cv_ld_exported_symbols_list
=no
8044 save_LDFLAGS
=$LDFLAGS
8045 echo "_main" > conftest.sym
8046 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8048 /* end confdefs.h. */
8058 if ac_fn_c_try_link
"$LINENO"; then :
8059 lt_cv_ld_exported_symbols_list
=yes
8061 lt_cv_ld_exported_symbols_list
=no
8063 rm -f core conftest.err conftest.
$ac_objext \
8064 conftest
$ac_exeext conftest.
$ac_ext
8065 LDFLAGS
="$save_LDFLAGS"
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8069 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8072 $as_echo_n "checking for -force_load linker flag... " >&6; }
8073 if ${lt_cv_ld_force_load+:} false
; then :
8074 $as_echo_n "(cached) " >&6
8076 lt_cv_ld_force_load
=no
8077 cat > conftest.c
<< _LT_EOF
8078 int forced_loaded() { return 2;}
8080 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8081 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8082 echo "$AR cru libconftest.a conftest.o" >&5
8083 $AR cru libconftest.a conftest.o
2>&5
8084 echo "$RANLIB libconftest.a" >&5
8085 $RANLIB libconftest.a
2>&5
8086 cat > conftest.c
<< _LT_EOF
8087 int main() { return 0;}
8089 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8090 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8092 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8093 cat conftest.err
>&5
8094 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
8095 lt_cv_ld_force_load
=yes
8097 cat conftest.err
>&5
8099 rm -f conftest.err libconftest.a conftest conftest.c
8100 rm -rf conftest.dSYM
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8104 $as_echo "$lt_cv_ld_force_load" >&6; }
8106 rhapsody
* | darwin1.
[012])
8107 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8109 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8110 darwin
*) # darwin 5.x on
8111 # if running on 10.5 or later, the deployment target defaults
8112 # to the OS version, if on x86, and 10.4, the deployment
8113 # target defaults to 10.4. Don't you love it?
8114 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8115 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8116 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8118 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8120 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8124 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8125 _lt_dar_single_mod
='$single_module'
8127 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8128 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8130 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8132 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8133 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8141 ac_cpp
='$CPP $CPPFLAGS'
8142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8146 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8147 # On Suns, sometimes $CPP names a directory.
8148 if test -n "$CPP" && test -d "$CPP"; then
8151 if test -z "$CPP"; then
8152 if ${ac_cv_prog_CPP+:} false
; then :
8153 $as_echo_n "(cached) " >&6
8155 # Double quotes because CPP needs to be expanded
8156 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8159 for ac_c_preproc_warn_flag
in '' yes
8161 # Use a header file that comes with gcc, so configuring glibc
8162 # with a fresh cross-compiler works.
8163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8164 # <limits.h> exists even on freestanding compilers.
8165 # On the NeXT, cc -E runs the code through the compiler's parser,
8166 # not just through cpp. "Syntax error" is here to catch this case.
8167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8170 # include <limits.h>
8172 # include <assert.h>
8176 if ac_fn_c_try_cpp
"$LINENO"; then :
8179 # Broken: fails on valid input.
8182 rm -f conftest.err conftest.i conftest.
$ac_ext
8184 # OK, works on sane cases. Now check whether nonexistent headers
8185 # can be detected and how.
8186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 #include <ac_nonexistent.h>
8190 if ac_fn_c_try_cpp
"$LINENO"; then :
8191 # Broken: success on invalid input.
8194 # Passes both tests.
8198 rm -f conftest.err conftest.i conftest.
$ac_ext
8201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8202 rm -f conftest.i conftest.err conftest.
$ac_ext
8203 if $ac_preproc_ok; then :
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8216 $as_echo "$CPP" >&6; }
8218 for ac_c_preproc_warn_flag
in '' yes
8220 # Use a header file that comes with gcc, so configuring glibc
8221 # with a fresh cross-compiler works.
8222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8223 # <limits.h> exists even on freestanding compilers.
8224 # On the NeXT, cc -E runs the code through the compiler's parser,
8225 # not just through cpp. "Syntax error" is here to catch this case.
8226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8227 /* end confdefs.h. */
8229 # include <limits.h>
8231 # include <assert.h>
8235 if ac_fn_c_try_cpp
"$LINENO"; then :
8238 # Broken: fails on valid input.
8241 rm -f conftest.err conftest.i conftest.
$ac_ext
8243 # OK, works on sane cases. Now check whether nonexistent headers
8244 # can be detected and how.
8245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8247 #include <ac_nonexistent.h>
8249 if ac_fn_c_try_cpp
"$LINENO"; then :
8250 # Broken: success on invalid input.
8253 # Passes both tests.
8257 rm -f conftest.err conftest.i conftest.
$ac_ext
8260 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8261 rm -f conftest.i conftest.err conftest.
$ac_ext
8262 if $ac_preproc_ok; then :
8265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8267 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8268 See \`config.log' for more details" "$LINENO" 5; }
8272 ac_cpp
='$CPP $CPPFLAGS'
8273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8279 $as_echo_n "checking for ANSI C header files... " >&6; }
8280 if ${ac_cv_header_stdc+:} false
; then :
8281 $as_echo_n "(cached) " >&6
8283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8284 /* end confdefs.h. */
8298 if ac_fn_c_try_compile
"$LINENO"; then :
8299 ac_cv_header_stdc
=yes
8301 ac_cv_header_stdc
=no
8303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8305 if test $ac_cv_header_stdc = yes; then
8306 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8313 $EGREP "memchr" >/dev
/null
2>&1; then :
8316 ac_cv_header_stdc
=no
8322 if test $ac_cv_header_stdc = yes; then
8323 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8330 $EGREP "free" >/dev
/null
2>&1; then :
8333 ac_cv_header_stdc
=no
8339 if test $ac_cv_header_stdc = yes; then
8340 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8341 if test "$cross_compiling" = yes; then :
8344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8345 /* end confdefs.h. */
8348 #if ((' ' & 0x0FF) == 0x020)
8349 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8350 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8352 # define ISLOWER(c) \
8353 (('a' <= (c) && (c) <= 'i') \
8354 || ('j' <= (c) && (c) <= 'r') \
8355 || ('s' <= (c) && (c) <= 'z'))
8356 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8359 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8364 for (i = 0; i < 256; i++)
8365 if (XOR (islower (i), ISLOWER (i))
8366 || toupper (i) != TOUPPER (i))
8371 if ac_fn_c_try_run
"$LINENO"; then :
8374 ac_cv_header_stdc
=no
8376 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8377 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8383 $as_echo "$ac_cv_header_stdc" >&6; }
8384 if test $ac_cv_header_stdc = yes; then
8386 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8390 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8391 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8392 inttypes.h stdint.h unistd.h
8394 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8395 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8397 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8398 cat >>confdefs.h
<<_ACEOF
8399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8407 for ac_header
in dlfcn.h
8409 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8411 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8412 cat >>confdefs.h
<<_ACEOF
8413 #define HAVE_DLFCN_H 1
8434 # Check whether --enable-shared was given.
8435 if test "${enable_shared+set}" = set; then :
8436 enableval
=$enable_shared; p
=${PACKAGE-default}
8438 yes) enable_shared
=yes ;;
8439 no
) enable_shared
=no
;;
8442 # Look at the argument we got. We use all the common list separators.
8443 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8444 for pkg
in $enableval; do
8446 if test "X$pkg" = "X$p"; then
8465 # Check whether --enable-static was given.
8466 if test "${enable_static+set}" = set; then :
8467 enableval
=$enable_static; p
=${PACKAGE-default}
8469 yes) enable_static
=yes ;;
8470 no
) enable_static
=no
;;
8473 # Look at the argument we got. We use all the common list separators.
8474 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8475 for pkg
in $enableval; do
8477 if test "X$pkg" = "X$p"; then
8497 # Check whether --with-pic was given.
8498 if test "${with_pic+set}" = set; then :
8499 withval
=$with_pic; lt_p
=${PACKAGE-default}
8501 yes|no
) pic_mode
=$withval ;;
8504 # Look at the argument we got. We use all the common list separators.
8505 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8506 for lt_pkg
in $withval; do
8508 if test "X$lt_pkg" = "X$lt_p"; then
8520 test -z "$pic_mode" && pic_mode
=default
8528 # Check whether --enable-fast-install was given.
8529 if test "${enable_fast_install+set}" = set; then :
8530 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8532 yes) enable_fast_install
=yes ;;
8533 no
) enable_fast_install
=no
;;
8535 enable_fast_install
=no
8536 # Look at the argument we got. We use all the common list separators.
8537 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8538 for pkg
in $enableval; do
8540 if test "X$pkg" = "X$p"; then
8541 enable_fast_install
=yes
8548 enable_fast_install
=yes
8561 # This can be used to rebuild libtool when needed
8562 LIBTOOL_DEPS
="$ltmain"
8564 # Always use our own libtool.
8565 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8596 test -z "$LN_S" && LN_S
="ln -s"
8611 if test -n "${ZSH_VERSION+set}" ; then
8612 setopt NO_GLOB_SUBST
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8616 $as_echo_n "checking for objdir... " >&6; }
8617 if ${lt_cv_objdir+:} false
; then :
8618 $as_echo_n "(cached) " >&6
8620 rm -f .libs
2>/dev
/null
8621 mkdir .libs
2>/dev
/null
8622 if test -d .libs
; then
8625 # MS-DOS does not allow filenames that begin with a dot.
8628 rmdir .libs
2>/dev
/null
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8631 $as_echo "$lt_cv_objdir" >&6; }
8632 objdir
=$lt_cv_objdir
8638 cat >>confdefs.h
<<_ACEOF
8639 #define LT_OBJDIR "$lt_cv_objdir/"
8647 # AIX sometimes has problems with the GCC collect2 program. For some
8648 # reason, if we set the COLLECT_NAMES environment variable, the problems
8649 # vanish in a puff of smoke.
8650 if test "X${COLLECT_NAMES+set}" != Xset
; then
8652 export COLLECT_NAMES
8659 can_build_shared
=yes
8661 # All known linkers require a `.a' archive for static linking (except MSVC,
8662 # which needs '.lib').
8665 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8668 old_CFLAGS
="$CFLAGS"
8670 # Set sane defaults for various variables
8671 test -z "$CC" && CC
=cc
8672 test -z "$LTCC" && LTCC
=$CC
8673 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8674 test -z "$LD" && LD
=ld
8675 test -z "$ac_objext" && ac_objext
=o
8677 for cc_temp
in $compiler""; do
8679 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8680 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8685 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8688 # Only perform the check for file, if the check method requires it
8689 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8690 case $deplibs_check_method in
8692 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8694 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8695 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8696 $as_echo_n "(cached) " >&6
8700 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8703 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8704 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8705 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8706 for ac_dir
in $ac_dummy; do
8708 test -z "$ac_dir" && ac_dir
=.
8709 if test -f $ac_dir/${ac_tool_prefix}file; then
8710 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8711 if test -n "$file_magic_test_file"; then
8712 case $deplibs_check_method in
8714 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8715 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8716 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8717 $EGREP "$file_magic_regex" > /dev
/null
; then
8722 *** Warning: the command libtool uses to detect shared libraries,
8723 *** $file_magic_cmd, produces output that libtool cannot recognize.
8724 *** The result is that libtool may fail to recognize shared libraries
8725 *** as such. This will affect the creation of libtool libraries that
8726 *** depend on shared libraries, but programs linked with such libtool
8727 *** libraries will work regardless of this problem. Nevertheless, you
8728 *** may want to report the problem to your system manager and/or to
8729 *** bug-libtool@gnu.org
8739 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8744 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8745 if test -n "$MAGIC_CMD"; then
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8747 $as_echo "$MAGIC_CMD" >&6; }
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8750 $as_echo "no" >&6; }
8757 if test -z "$lt_cv_path_MAGIC_CMD"; then
8758 if test -n "$ac_tool_prefix"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8760 $as_echo_n "checking for file... " >&6; }
8761 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8762 $as_echo_n "(cached) " >&6
8766 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8769 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8770 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8771 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8772 for ac_dir
in $ac_dummy; do
8774 test -z "$ac_dir" && ac_dir
=.
8775 if test -f $ac_dir/file; then
8776 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8777 if test -n "$file_magic_test_file"; then
8778 case $deplibs_check_method in
8780 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8781 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8782 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8783 $EGREP "$file_magic_regex" > /dev
/null
; then
8788 *** Warning: the command libtool uses to detect shared libraries,
8789 *** $file_magic_cmd, produces output that libtool cannot recognize.
8790 *** The result is that libtool may fail to recognize shared libraries
8791 *** as such. This will affect the creation of libtool libraries that
8792 *** depend on shared libraries, but programs linked with such libtool
8793 *** libraries will work regardless of this problem. Nevertheless, you
8794 *** may want to report the problem to your system manager and/or to
8795 *** bug-libtool@gnu.org
8805 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8810 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8811 if test -n "$MAGIC_CMD"; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8813 $as_echo "$MAGIC_CMD" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8816 $as_echo "no" >&6; }
8829 # Use C for the default configuration in the libtool script
8833 ac_cpp
='$CPP $CPPFLAGS'
8834 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8835 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8836 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8839 # Source file extension for C test sources.
8842 # Object file extension for compiled C test sources.
8846 # Code to be used in simple compile tests
8847 lt_simple_compile_test_code
="int some_variable = 0;"
8849 # Code to be used in simple link tests
8850 lt_simple_link_test_code
='int main(){return(0);}'
8858 # If no C compiler was specified, use CC.
8861 # If no C compiler flags were specified, use CFLAGS.
8862 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8864 # Allow CC to be a program name with arguments.
8867 # Save the default compiler, since it gets overwritten when the other
8868 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8869 compiler_DEFAULT
=$CC
8871 # save warnings/boilerplate of simple test code
8872 ac_outfile
=conftest.
$ac_objext
8873 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8874 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8875 _lt_compiler_boilerplate
=`cat conftest.err`
8878 ac_outfile
=conftest.
$ac_objext
8879 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8880 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8881 _lt_linker_boilerplate
=`cat conftest.err`
8886 ## There is no encapsulation within the following macros, do not change
8887 ## the running order or otherwise move them around unless you know exactly
8888 ## what you are doing...
8889 if test -n "$compiler"; then
8891 lt_prog_compiler_no_builtin_flag
=
8893 if test "$GCC" = yes; then
8894 case $cc_basename in
8896 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8898 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8902 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8903 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8904 $as_echo_n "(cached) " >&6
8906 lt_cv_prog_compiler_rtti_exceptions
=no
8907 ac_outfile
=conftest.
$ac_objext
8908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8909 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8910 # Insert the option either (1) after the last *FLAGS variable, or
8911 # (2) before a word containing "conftest.", or (3) at the end.
8912 # Note that $ac_compile itself does not contain backslashes and begins
8913 # with a dollar sign (not a hyphen), so the echo should work correctly.
8914 # The option is referenced via a variable to avoid confusing sed.
8915 lt_compile
=`echo "$ac_compile" | $SED \
8916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8918 -e 's:$: $lt_compiler_flag:'`
8919 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8920 (eval "$lt_compile" 2>conftest.err
)
8922 cat conftest.err
>&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 if (exit $ac_status) && test -s "$ac_outfile"; then
8925 # The compiler can only warn and ignore the option if not recognized
8926 # So say no if there are warnings other than the usual output.
8927 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8928 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8929 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8930 lt_cv_prog_compiler_rtti_exceptions
=yes
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8937 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8939 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8940 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8952 lt_prog_compiler_wl
=
8953 lt_prog_compiler_pic
=
8954 lt_prog_compiler_static
=
8957 if test "$GCC" = yes; then
8958 lt_prog_compiler_wl
='-Wl,'
8959 lt_prog_compiler_static
='-static'
8963 # All AIX code is PIC.
8964 if test "$host_cpu" = ia64
; then
8965 # AIX 5 now supports IA64 processor
8966 lt_prog_compiler_static
='-Bstatic'
8973 # see comment about AmigaOS4 .so support
8974 lt_prog_compiler_pic
='-fPIC'
8977 # FIXME: we need at least 68020 code to build shared libraries, but
8978 # adding the `-m68020' flag to GCC prevents building anything better,
8980 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8985 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8986 # PIC is the default for these OSes.
8989 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8990 # This hack is so that the source file can tell whether it is being
8991 # built for inclusion in a dll (and should export symbols for example).
8992 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8993 # (--disable-auto-import) libraries
8994 lt_prog_compiler_pic
='-DDLL_EXPORT'
8997 darwin
* | rhapsody
*)
8998 # PIC is the default on this platform
8999 # Common symbols not allowed in MH_DYLIB files
9000 lt_prog_compiler_pic
='-fno-common'
9004 # PIC is the default for Haiku.
9005 # The "-static" flag exists, but is broken.
9006 lt_prog_compiler_static
=
9010 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9011 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9012 # sets the default TLS model and affects inlining.
9018 lt_prog_compiler_pic
='-fPIC'
9024 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9025 # Instead, we relocate shared libraries at runtime.
9029 # Just because we use GCC doesn't mean we suddenly get shared libraries
9030 # on systems that don't support them.
9031 lt_prog_compiler_can_build_shared
=no
9036 # QNX uses GNU C++, but need to define -shared option too, otherwise
9038 lt_prog_compiler_pic
='-fPIC -shared'
9042 if test -d /usr
/nec
; then
9043 lt_prog_compiler_pic
=-Kconform_pic
9048 lt_prog_compiler_pic
='-fPIC'
9052 case $cc_basename in
9053 nvcc
*) # Cuda Compiler Driver 2.2
9054 lt_prog_compiler_wl
='-Xlinker '
9055 if test -n "$lt_prog_compiler_pic"; then
9056 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9061 # PORTME Check for flag to pass linker flags through the system compiler.
9064 lt_prog_compiler_wl
='-Wl,'
9065 if test "$host_cpu" = ia64
; then
9066 # AIX 5 now supports IA64 processor
9067 lt_prog_compiler_static
='-Bstatic'
9069 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9073 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9074 # This hack is so that the source file can tell whether it is being
9075 # built for inclusion in a dll (and should export symbols for example).
9076 lt_prog_compiler_pic
='-DDLL_EXPORT'
9079 hpux9
* | hpux10
* | hpux11
*)
9080 lt_prog_compiler_wl
='-Wl,'
9081 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9088 lt_prog_compiler_pic
='+Z'
9091 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9092 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9095 irix5
* | irix6
* | nonstopux
*)
9096 lt_prog_compiler_wl
='-Wl,'
9097 # PIC (with -KPIC) is the default.
9098 lt_prog_compiler_static
='-non_shared'
9101 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9102 case $cc_basename in
9103 # old Intel for x86_64 which still supported -KPIC.
9105 lt_prog_compiler_wl
='-Wl,'
9106 lt_prog_compiler_pic
='-KPIC'
9107 lt_prog_compiler_static
='-static'
9109 # icc used to be incompatible with GCC.
9110 # ICC 10 doesn't accept -KPIC any more.
9112 lt_prog_compiler_wl
='-Wl,'
9113 lt_prog_compiler_pic
='-fPIC'
9114 lt_prog_compiler_static
='-static'
9116 # Lahey Fortran 8.1.
9118 lt_prog_compiler_wl
='-Wl,'
9119 lt_prog_compiler_pic
='--shared'
9120 lt_prog_compiler_static
='--static'
9123 # NAG Fortran compiler
9124 lt_prog_compiler_wl
='-Wl,-Wl,,'
9125 lt_prog_compiler_pic
='-PIC'
9126 lt_prog_compiler_static
='-Bstatic'
9128 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9129 # Portland Group compilers (*not* the Pentium gcc compiler,
9130 # which looks to be a dead project)
9131 lt_prog_compiler_wl
='-Wl,'
9132 lt_prog_compiler_pic
='-fpic'
9133 lt_prog_compiler_static
='-Bstatic'
9136 lt_prog_compiler_wl
='-Wl,'
9137 # All Alpha code is PIC.
9138 lt_prog_compiler_static
='-non_shared'
9140 xl
* | bgxl
* | bgf
* | mpixl
*)
9141 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9142 lt_prog_compiler_wl
='-Wl,'
9143 lt_prog_compiler_pic
='-qpic'
9144 lt_prog_compiler_static
='-qstaticlink'
9147 case `$CC -V 2>&1 | sed 5q` in
9148 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9149 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9150 lt_prog_compiler_pic
='-KPIC'
9151 lt_prog_compiler_static
='-Bstatic'
9152 lt_prog_compiler_wl
=''
9154 *Sun\ F
* |
*Sun
*Fortran
*)
9155 lt_prog_compiler_pic
='-KPIC'
9156 lt_prog_compiler_static
='-Bstatic'
9157 lt_prog_compiler_wl
='-Qoption ld '
9161 lt_prog_compiler_pic
='-KPIC'
9162 lt_prog_compiler_static
='-Bstatic'
9163 lt_prog_compiler_wl
='-Wl,'
9165 *Intel
*\
[CF
]*Compiler
*)
9166 lt_prog_compiler_wl
='-Wl,'
9167 lt_prog_compiler_pic
='-fPIC'
9168 lt_prog_compiler_static
='-static'
9171 lt_prog_compiler_wl
='-Wl,'
9172 lt_prog_compiler_pic
='-fpic'
9173 lt_prog_compiler_static
='-Bstatic'
9181 lt_prog_compiler_pic
='-KPIC'
9182 lt_prog_compiler_static
='-Bstatic'
9186 # QNX uses GNU C++, but need to define -shared option too, otherwise
9188 lt_prog_compiler_pic
='-fPIC -shared'
9191 osf3
* | osf4
* | osf5
*)
9192 lt_prog_compiler_wl
='-Wl,'
9193 # All OSF/1 code is PIC.
9194 lt_prog_compiler_static
='-non_shared'
9198 lt_prog_compiler_static
='-non_shared'
9202 lt_prog_compiler_pic
='-KPIC'
9203 lt_prog_compiler_static
='-Bstatic'
9204 case $cc_basename in
9205 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9206 lt_prog_compiler_wl
='-Qoption ld ';;
9208 lt_prog_compiler_wl
='-Wl,';;
9213 lt_prog_compiler_wl
='-Qoption ld '
9214 lt_prog_compiler_pic
='-PIC'
9215 lt_prog_compiler_static
='-Bstatic'
9218 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9219 lt_prog_compiler_wl
='-Wl,'
9220 lt_prog_compiler_pic
='-KPIC'
9221 lt_prog_compiler_static
='-Bstatic'
9225 if test -d /usr
/nec
;then
9226 lt_prog_compiler_pic
='-Kconform_pic'
9227 lt_prog_compiler_static
='-Bstatic'
9231 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9232 lt_prog_compiler_wl
='-Wl,'
9233 lt_prog_compiler_pic
='-KPIC'
9234 lt_prog_compiler_static
='-Bstatic'
9238 lt_prog_compiler_wl
='-Wl,'
9239 lt_prog_compiler_can_build_shared
=no
9243 lt_prog_compiler_pic
='-pic'
9244 lt_prog_compiler_static
='-Bstatic'
9248 lt_prog_compiler_can_build_shared
=no
9254 # For platforms which do not support PIC, -DPIC is meaningless:
9256 lt_prog_compiler_pic
=
9259 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9264 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9265 if ${lt_cv_prog_compiler_pic+:} false
; then :
9266 $as_echo_n "(cached) " >&6
9268 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9271 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9272 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9275 # Check to make sure the PIC flag actually works.
9277 if test -n "$lt_prog_compiler_pic"; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9279 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9280 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9281 $as_echo_n "(cached) " >&6
9283 lt_cv_prog_compiler_pic_works
=no
9284 ac_outfile
=conftest.
$ac_objext
9285 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9286 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9287 # Insert the option either (1) after the last *FLAGS variable, or
9288 # (2) before a word containing "conftest.", or (3) at the end.
9289 # Note that $ac_compile itself does not contain backslashes and begins
9290 # with a dollar sign (not a hyphen), so the echo should work correctly.
9291 # The option is referenced via a variable to avoid confusing sed.
9292 lt_compile
=`echo "$ac_compile" | $SED \
9293 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9294 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9295 -e 's:$: $lt_compiler_flag:'`
9296 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9297 (eval "$lt_compile" 2>conftest.err
)
9299 cat conftest.err
>&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 if (exit $ac_status) && test -s "$ac_outfile"; then
9302 # The compiler can only warn and ignore the option if not recognized
9303 # So say no if there are warnings other than the usual output.
9304 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9305 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9306 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9307 lt_cv_prog_compiler_pic_works
=yes
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9314 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9316 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9317 case $lt_prog_compiler_pic in
9319 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9322 lt_prog_compiler_pic
=
9323 lt_prog_compiler_can_build_shared
=no
9339 # Check to make sure the static flag actually works.
9341 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9343 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9344 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9345 $as_echo_n "(cached) " >&6
9347 lt_cv_prog_compiler_static_works
=no
9348 save_LDFLAGS
="$LDFLAGS"
9349 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9350 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9351 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9352 # The linker can only warn and ignore the option if not recognized
9353 # So say no if there are warnings
9354 if test -s conftest.err
; then
9355 # Append any errors to the config.log.
9356 cat conftest.err
1>&5
9357 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9358 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9359 if diff conftest.exp conftest.er2
>/dev
/null
; then
9360 lt_cv_prog_compiler_static_works
=yes
9363 lt_cv_prog_compiler_static_works
=yes
9367 LDFLAGS
="$save_LDFLAGS"
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9371 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9373 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9376 lt_prog_compiler_static
=
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9386 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9387 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9388 $as_echo_n "(cached) " >&6
9390 lt_cv_prog_compiler_c_o
=no
9391 $RM -r conftest
2>/dev
/null
9395 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9397 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9398 # Insert the option either (1) after the last *FLAGS variable, or
9399 # (2) before a word containing "conftest.", or (3) at the end.
9400 # Note that $ac_compile itself does not contain backslashes and begins
9401 # with a dollar sign (not a hyphen), so the echo should work correctly.
9402 lt_compile
=`echo "$ac_compile" | $SED \
9403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9405 -e 's:$: $lt_compiler_flag:'`
9406 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9407 (eval "$lt_compile" 2>out
/conftest.err
)
9409 cat out
/conftest.err
>&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9413 # The compiler can only warn and ignore the option if not recognized
9414 # So say no if there are warnings
9415 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9416 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9417 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9418 lt_cv_prog_compiler_c_o
=yes
9423 # SGI C++ compiler will create directory out/ii_files/ for
9424 # template instantiation
9425 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9426 $RM out
/* && rmdir out
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9433 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9441 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9442 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9443 $as_echo_n "(cached) " >&6
9445 lt_cv_prog_compiler_c_o
=no
9446 $RM -r conftest
2>/dev
/null
9450 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9452 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9453 # Insert the option either (1) after the last *FLAGS variable, or
9454 # (2) before a word containing "conftest.", or (3) at the end.
9455 # Note that $ac_compile itself does not contain backslashes and begins
9456 # with a dollar sign (not a hyphen), so the echo should work correctly.
9457 lt_compile
=`echo "$ac_compile" | $SED \
9458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9460 -e 's:$: $lt_compiler_flag:'`
9461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9462 (eval "$lt_compile" 2>out
/conftest.err
)
9464 cat out
/conftest.err
>&5
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9468 # The compiler can only warn and ignore the option if not recognized
9469 # So say no if there are warnings
9470 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9471 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9472 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9473 lt_cv_prog_compiler_c_o
=yes
9478 # SGI C++ compiler will create directory out/ii_files/ for
9479 # template instantiation
9480 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9481 $RM out
/* && rmdir out
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9488 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9493 hard_links
="nottested"
9494 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9495 # do not overwrite the value of need_locks provided by the user
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9497 $as_echo_n "checking if we can lock with hard links... " >&6; }
9500 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9502 ln conftest.a conftest.b
2>&5 || hard_links
=no
9503 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9505 $as_echo "$hard_links" >&6; }
9506 if test "$hard_links" = no
; then
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9508 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9521 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9524 allow_undefined_flag
=
9525 always_export_symbols
=no
9527 archive_expsym_cmds
=
9528 compiler_needs_object
=no
9529 enable_shared_with_static_runtimes
=no
9530 export_dynamic_flag_spec
=
9531 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9532 hardcode_automatic
=no
9534 hardcode_direct_absolute
=no
9535 hardcode_libdir_flag_spec
=
9536 hardcode_libdir_separator
=
9538 hardcode_shlibpath_var
=unsupported
9540 link_all_deplibs
=unknown
9543 old_archive_from_new_cmds
=
9544 old_archive_from_expsyms_cmds
=
9545 thread_safe_flag_spec
=
9546 whole_archive_flag_spec
=
9547 # include_expsyms should be a list of space-separated symbols to be *always*
9548 # included in the symbol list
9550 # exclude_expsyms can be an extended regexp of symbols to exclude
9551 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9552 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9553 # as well as any symbol that contains `d'.
9554 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9555 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9556 # platforms (ab)use it in PIC code, but their linkers get confused if
9557 # the symbol is explicitly referenced. Since portable code cannot
9558 # rely on this symbol name, it's probably fine to never include it in
9559 # preloaded symbol tables.
9560 # Exclude shared library initialization/finalization symbols.
9561 extract_expsyms_cmds
=
9564 cygwin
* | mingw
* | pw32
* | cegcc
*)
9565 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9566 # When not using gcc, we currently assume that we are using
9567 # Microsoft Visual C++.
9568 if test "$GCC" != yes; then
9573 # we just hope/assume this is gcc and not c89 (= MSVC++)
9583 # On some targets, GNU ld is compatible enough with the native linker
9584 # that we're better off using the native interface for both.
9585 lt_use_gnu_ld_interface
=no
9586 if test "$with_gnu_ld" = yes; then
9589 # The AIX port of GNU ld has always aspired to compatibility
9590 # with the native linker. However, as the warning in the GNU ld
9591 # block says, versions before 2.19.5* couldn't really create working
9592 # shared libraries, regardless of the interface used.
9593 case `$LD -v 2>&1` in
9594 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9595 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9596 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9598 lt_use_gnu_ld_interface
=yes
9603 lt_use_gnu_ld_interface
=yes
9608 if test "$lt_use_gnu_ld_interface" = yes; then
9609 # If archive_cmds runs LD, not CC, wlarc should be empty
9612 # Set some defaults for GNU ld with shared library support. These
9613 # are reset later if shared libraries are not supported. Putting them
9614 # here allows them to be overridden if necessary.
9615 runpath_var
=LD_RUN_PATH
9616 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9617 export_dynamic_flag_spec
='${wl}--export-dynamic'
9618 # ancient GNU ld didn't support --whole-archive et. al.
9619 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9620 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9622 whole_archive_flag_spec
=
9624 supports_anon_versioning
=no
9625 case `$LD -v 2>&1` in
9626 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9627 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9628 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9629 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9630 *\
2.11.
*) ;; # other 2.11 versions
9631 *) supports_anon_versioning
=yes ;;
9634 # See if GNU ld supports shared libraries.
9637 # On AIX/PPC, the GNU linker is very broken
9638 if test "$host_cpu" != ia64
; then
9642 *** Warning: the GNU linker, at least up to release 2.19, is reported
9643 *** to be unable to reliably create shared libraries on AIX.
9644 *** Therefore, libtool is disabling shared libraries support. If you
9645 *** really care for shared libraries, you may want to install binutils
9646 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9647 *** You will then need to restart the configuration process.
9656 # see comment about AmigaOS4 .so support
9657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9658 archive_expsym_cmds
=''
9661 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)'
9662 hardcode_libdir_flag_spec
='-L$libdir'
9663 hardcode_minus_L
=yes
9669 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9670 allow_undefined_flag
=unsupported
9671 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9672 # support --undefined. This deserves some investigation. FIXME
9673 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9679 cygwin
* | mingw
* | pw32
* | cegcc
*)
9680 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9681 # as there is no search path for DLLs.
9682 hardcode_libdir_flag_spec
='-L$libdir'
9683 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9684 allow_undefined_flag
=unsupported
9685 always_export_symbols
=no
9686 enable_shared_with_static_runtimes
=yes
9687 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'
9688 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9690 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9691 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9692 # If the export-symbols file already is a .def file (1st line
9693 # is EXPORTS), use it as is; otherwise, prepend...
9694 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9695 cp $export_symbols $output_objdir/$soname.def;
9697 echo EXPORTS > $output_objdir/$soname.def;
9698 cat $export_symbols >> $output_objdir/$soname.def;
9700 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9707 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9708 link_all_deplibs
=yes
9713 hardcode_shlibpath_var
=no
9714 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9715 export_dynamic_flag_spec
='${wl}-E'
9716 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9717 # Instead, shared libraries are loaded at an image base (0x10000000 by
9718 # default) and relocated if they conflict, which is a slow very memory
9719 # consuming and fragmenting process. To avoid this, we pick a random,
9720 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9721 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9722 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9723 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'
9726 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9728 if test "$host_os" = linux-dietlibc
; then
9729 case $cc_basename in
9730 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9733 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9734 && test "$tmp_diet" = no
9736 tmp_addflag
=' $pic_flag'
9737 tmp_sharedflag
='-shared'
9738 case $cc_basename,$host_cpu in
9739 pgcc
*) # Portland Group C compiler
9740 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'
9741 tmp_addflag
=' $pic_flag'
9743 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9744 # Portland Group f77 and f90 compilers
9745 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'
9746 tmp_addflag
=' $pic_flag -Mnomain' ;;
9747 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9748 tmp_addflag
=' -i_dynamic' ;;
9749 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9750 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9751 ifc
* | ifort
*) # Intel Fortran compiler
9752 tmp_addflag
=' -nofor_main' ;;
9753 lf95
*) # Lahey Fortran 8.1
9754 whole_archive_flag_spec
=
9755 tmp_sharedflag
='--shared' ;;
9756 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9757 tmp_sharedflag
='-qmkshrobj'
9759 nvcc
*) # Cuda Compiler Driver 2.2
9760 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'
9761 compiler_needs_object
=yes
9764 case `$CC -V 2>&1 | sed 5q` in
9765 *Sun\ C
*) # Sun C 5.9
9766 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'
9767 compiler_needs_object
=yes
9768 tmp_sharedflag
='-G' ;;
9769 *Sun\ F
*) # Sun Fortran 8.3
9770 tmp_sharedflag
='-G' ;;
9772 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9774 if test "x$supports_anon_versioning" = xyes
; then
9775 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9776 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9777 echo "local: *; };" >> $output_objdir/$libname.ver~
9778 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9781 case $cc_basename in
9782 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9783 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9784 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9785 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9786 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9787 if test "x$supports_anon_versioning" = xyes
; then
9788 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9789 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9790 echo "local: *; };" >> $output_objdir/$libname.ver~
9791 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9801 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9802 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9805 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9806 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9811 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9815 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9816 *** create shared libraries on Solaris systems. Therefore, libtool
9817 *** is disabling shared libraries support. We urge you to upgrade GNU
9818 *** binutils to release 2.9.1 or newer. Another option is to modify
9819 *** your PATH or compiler configuration so that the native linker is
9820 *** used, and then restart.
9823 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9824 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9825 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9831 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9832 case `$LD -v 2>&1` in
9833 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9837 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9838 *** reliably create shared libraries on SCO systems. Therefore, libtool
9839 *** is disabling shared libraries support. We urge you to upgrade GNU
9840 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9841 *** your PATH or compiler configuration so that the native linker is
9842 *** used, and then restart.
9847 # For security reasons, it is highly recommended that you always
9848 # use absolute paths for naming shared libraries, and exclude the
9849 # DT_RUNPATH tag from executables and libraries. But doing so
9850 # requires that you compile everything twice, which is a pain.
9851 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9852 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9853 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9854 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9863 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9866 hardcode_shlibpath_var
=no
9870 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9871 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9872 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9879 if test "$ld_shlibs" = no
; then
9881 hardcode_libdir_flag_spec
=
9882 export_dynamic_flag_spec
=
9883 whole_archive_flag_spec
=
9886 # PORTME fill in a description of your system's linker (not GNU ld)
9889 allow_undefined_flag
=unsupported
9890 always_export_symbols
=yes
9891 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'
9892 # Note: this linker hardcodes the directories in LIBPATH if there
9893 # are no directories specified by -L.
9894 hardcode_minus_L
=yes
9895 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9896 # Neither direct hardcoding nor static linking is supported with a
9898 hardcode_direct
=unsupported
9903 if test "$host_cpu" = ia64
; then
9904 # On IA64, the linker does run time linking by default, so we don't
9905 # have to do anything special.
9906 aix_use_runtimelinking
=no
9907 exp_sym_flag
='-Bexport'
9910 # If we're using GNU nm, then we don't want the "-C" option.
9911 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9912 # Also, AIX nm treats weak defined symbols like other global
9913 # defined symbols, whereas GNU nm marks them as "W".
9914 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9915 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'
9917 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'
9919 aix_use_runtimelinking
=no
9921 # Test if we are trying to use run time linking or normal
9922 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9923 # need to do runtime linking.
9924 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9925 for ld_flag
in $LDFLAGS; do
9926 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9927 aix_use_runtimelinking
=yes
9934 exp_sym_flag
='-bexport'
9935 no_entry_flag
='-bnoentry'
9938 # When large executables or shared objects are built, AIX ld can
9939 # have problems creating the table of contents. If linking a library
9940 # or program results in "error TOC overflow" add -mminimal-toc to
9941 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9942 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9946 hardcode_direct_absolute
=yes
9947 hardcode_libdir_separator
=':'
9948 link_all_deplibs
=yes
9949 file_list_spec
='${wl}-f,'
9951 if test "$GCC" = yes; then
9952 case $host_os in aix4.
[012]|aix4.
[012].
*)
9953 # We only want to do this on AIX 4.2 and lower, the check
9954 # below for broken collect2 doesn't work under 4.3+
9955 collect2name
=`${CC} -print-prog-name=collect2`
9956 if test -f "$collect2name" &&
9957 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9959 # We have reworked collect2
9962 # We have old collect2
9963 hardcode_direct
=unsupported
9964 # It fails to find uninstalled libraries when the uninstalled
9965 # path is not listed in the libpath. Setting hardcode_minus_L
9966 # to unsupported forces relinking
9967 hardcode_minus_L
=yes
9968 hardcode_libdir_flag_spec
='-L$libdir'
9969 hardcode_libdir_separator
=
9973 shared_flag
='-shared'
9974 if test "$aix_use_runtimelinking" = yes; then
9975 shared_flag
="$shared_flag "'${wl}-G'
9979 if test "$host_cpu" = ia64
; then
9980 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9981 # chokes on -Wl,-G. The following line is correct:
9984 if test "$aix_use_runtimelinking" = yes; then
9985 shared_flag
='${wl}-G'
9987 shared_flag
='${wl}-bM:SRE'
9992 export_dynamic_flag_spec
='${wl}-bexpall'
9993 # It seems that -bexpall does not export symbols beginning with
9994 # underscore (_), so it is better to generate a list of symbols to export.
9995 always_export_symbols
=yes
9996 if test "$aix_use_runtimelinking" = yes; then
9997 # Warning - without using the other runtime loading flags (-brtl),
9998 # -berok will link without error, but may produce a broken library.
9999 allow_undefined_flag
='-berok'
10000 # Determine the default libpath from the value encoded in an
10001 # empty executable.
10002 if test "${lt_cv_aix_libpath+set}" = set; then
10003 aix_libpath
=$lt_cv_aix_libpath
10005 if ${lt_cv_aix_libpath_+:} false
; then :
10006 $as_echo_n "(cached) " >&6
10008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10019 if ac_fn_c_try_link
"$LINENO"; then :
10021 lt_aix_libpath_sed
='
10022 /Import File Strings/,/^$/ {
10024 s/^0 *\([^ ]*\) *$/\1/
10028 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10029 # Check for a 64-bit object if we didn't find anything.
10030 if test -z "$lt_cv_aix_libpath_"; then
10031 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10034 rm -f core conftest.err conftest.
$ac_objext \
10035 conftest
$ac_exeext conftest.
$ac_ext
10036 if test -z "$lt_cv_aix_libpath_"; then
10037 lt_cv_aix_libpath_
="/usr/lib:/lib"
10042 aix_libpath
=$lt_cv_aix_libpath_
10045 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10046 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"
10048 if test "$host_cpu" = ia64
; then
10049 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10050 allow_undefined_flag
="-z nodefs"
10051 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"
10053 # Determine the default libpath from the value encoded in an
10054 # empty executable.
10055 if test "${lt_cv_aix_libpath+set}" = set; then
10056 aix_libpath
=$lt_cv_aix_libpath
10058 if ${lt_cv_aix_libpath_+:} false
; then :
10059 $as_echo_n "(cached) " >&6
10061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10072 if ac_fn_c_try_link
"$LINENO"; then :
10074 lt_aix_libpath_sed
='
10075 /Import File Strings/,/^$/ {
10077 s/^0 *\([^ ]*\) *$/\1/
10081 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10082 # Check for a 64-bit object if we didn't find anything.
10083 if test -z "$lt_cv_aix_libpath_"; then
10084 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10087 rm -f core conftest.err conftest.
$ac_objext \
10088 conftest
$ac_exeext conftest.
$ac_ext
10089 if test -z "$lt_cv_aix_libpath_"; then
10090 lt_cv_aix_libpath_
="/usr/lib:/lib"
10095 aix_libpath
=$lt_cv_aix_libpath_
10098 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10099 # Warning - without using the other run time loading flags,
10100 # -berok will link without error, but may produce a broken library.
10101 no_undefined_flag
=' ${wl}-bernotok'
10102 allow_undefined_flag
=' ${wl}-berok'
10103 if test "$with_gnu_ld" = yes; then
10104 # We only use this code for GNU lds that support --whole-archive.
10105 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10107 # Exported symbols can be pulled into shared objects from archives
10108 whole_archive_flag_spec
='$convenience'
10110 archive_cmds_need_lc
=yes
10111 # This is similar to how AIX traditionally builds its shared libraries.
10112 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'
10120 # see comment about AmigaOS4 .so support
10121 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10122 archive_expsym_cmds
=''
10125 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)'
10126 hardcode_libdir_flag_spec
='-L$libdir'
10127 hardcode_minus_L
=yes
10133 export_dynamic_flag_spec
=-rdynamic
10136 cygwin
* | mingw
* | pw32
* | cegcc
*)
10137 # When not using gcc, we currently assume that we are using
10138 # Microsoft Visual C++.
10139 # hardcode_libdir_flag_spec is actually meaningless, as there is
10140 # no search path for DLLs.
10141 case $cc_basename in
10144 hardcode_libdir_flag_spec
=' '
10145 allow_undefined_flag
=unsupported
10146 always_export_symbols
=yes
10148 # Tell ltmain to make .lib files, not .a files.
10150 # Tell ltmain to make .dll files, not .so files.
10152 # FIXME: Setting linknames here is a bad hack.
10153 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10154 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10155 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10157 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10159 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10161 # The linker will not automatically build a static lib if we build a DLL.
10162 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10163 enable_shared_with_static_runtimes
=yes
10164 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10165 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10167 old_postinstall_cmds
='chmod 644 $oldlib'
10168 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10169 lt_tool_outputfile="@TOOL_OUTPUT@"~
10170 case $lt_outputfile in
10173 lt_outputfile="$lt_outputfile.exe"
10174 lt_tool_outputfile="$lt_tool_outputfile.exe"
10177 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10178 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10179 $RM "$lt_outputfile.manifest";
10183 # Assume MSVC wrapper
10184 hardcode_libdir_flag_spec
=' '
10185 allow_undefined_flag
=unsupported
10186 # Tell ltmain to make .lib files, not .a files.
10188 # Tell ltmain to make .dll files, not .so files.
10190 # FIXME: Setting linknames here is a bad hack.
10191 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10192 # The linker will automatically build a .lib file if we build a DLL.
10193 old_archive_from_new_cmds
='true'
10194 # FIXME: Should let the user specify the lib program.
10195 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10196 enable_shared_with_static_runtimes
=yes
10201 darwin
* | rhapsody
*)
10204 archive_cmds_need_lc
=no
10206 hardcode_automatic
=yes
10207 hardcode_shlibpath_var
=unsupported
10208 if test "$lt_cv_ld_force_load" = "yes"; then
10209 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\"`'
10212 whole_archive_flag_spec
=''
10214 link_all_deplibs
=yes
10215 allow_undefined_flag
="$_lt_dar_allow_undefined"
10216 case $cc_basename in
10217 ifort
*) _lt_dar_can_shared
=yes ;;
10218 *) _lt_dar_can_shared
=$GCC ;;
10220 if test "$_lt_dar_can_shared" = "yes"; then
10221 output_verbose_link_cmd
=func_echo_all
10222 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10223 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10224 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}"
10225 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}"
10234 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10235 hardcode_libdir_flag_spec
='-L$libdir'
10236 hardcode_shlibpath_var
=no
10239 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10240 # support. Future versions do this automatically, but an explicit c++rt0.o
10241 # does not break anything, and helps significantly (at the cost of a little
10244 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10245 hardcode_libdir_flag_spec
='-R$libdir'
10246 hardcode_direct
=yes
10247 hardcode_shlibpath_var
=no
10250 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10252 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10253 hardcode_direct
=yes
10254 hardcode_minus_L
=yes
10255 hardcode_shlibpath_var
=no
10258 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10259 freebsd
* | dragonfly
*)
10260 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10261 hardcode_libdir_flag_spec
='-R$libdir'
10262 hardcode_direct
=yes
10263 hardcode_shlibpath_var
=no
10267 if test "$GCC" = yes; then
10268 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'
10270 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'
10272 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10273 hardcode_libdir_separator
=:
10274 hardcode_direct
=yes
10276 # hardcode_minus_L: Not really in the search PATH,
10277 # but as the default location of the library.
10278 hardcode_minus_L
=yes
10279 export_dynamic_flag_spec
='${wl}-E'
10283 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10284 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10286 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10288 if test "$with_gnu_ld" = no
; then
10289 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10290 hardcode_libdir_separator
=:
10291 hardcode_direct
=yes
10292 hardcode_direct_absolute
=yes
10293 export_dynamic_flag_spec
='${wl}-E'
10294 # hardcode_minus_L: Not really in the search PATH,
10295 # but as the default location of the library.
10296 hardcode_minus_L
=yes
10301 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10304 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10307 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10310 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10316 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10319 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10323 # Older versions of the 11.00 compiler do not understand -b yet
10324 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10326 $as_echo_n "checking if $CC understands -b... " >&6; }
10327 if ${lt_cv_prog_compiler__b+:} false
; then :
10328 $as_echo_n "(cached) " >&6
10330 lt_cv_prog_compiler__b
=no
10331 save_LDFLAGS
="$LDFLAGS"
10332 LDFLAGS
="$LDFLAGS -b"
10333 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10334 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10335 # The linker can only warn and ignore the option if not recognized
10336 # So say no if there are warnings
10337 if test -s conftest.err
; then
10338 # Append any errors to the config.log.
10339 cat conftest.err
1>&5
10340 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10341 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10342 if diff conftest.exp conftest.er2
>/dev
/null
; then
10343 lt_cv_prog_compiler__b
=yes
10346 lt_cv_prog_compiler__b
=yes
10350 LDFLAGS
="$save_LDFLAGS"
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10354 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10356 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10357 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10359 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10365 if test "$with_gnu_ld" = no
; then
10366 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10367 hardcode_libdir_separator
=:
10372 hardcode_shlibpath_var
=no
10375 hardcode_direct
=yes
10376 hardcode_direct_absolute
=yes
10377 export_dynamic_flag_spec
='${wl}-E'
10379 # hardcode_minus_L: Not really in the search PATH,
10380 # but as the default location of the library.
10381 hardcode_minus_L
=yes
10387 irix5
* | irix6
* | nonstopux
*)
10388 if test "$GCC" = yes; then
10389 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'
10390 # Try to use the -exported_symbol ld option, if it does not
10391 # work, assume that -exports_file does not work either and
10392 # implicitly export all symbols.
10393 # This should be the same for all languages, so no per-tag cache variable.
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10395 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10396 if ${lt_cv_irix_exported_symbol+:} false
; then :
10397 $as_echo_n "(cached) " >&6
10399 save_LDFLAGS
="$LDFLAGS"
10400 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 int foo (void) { return 0; }
10405 if ac_fn_c_try_link
"$LINENO"; then :
10406 lt_cv_irix_exported_symbol
=yes
10408 lt_cv_irix_exported_symbol
=no
10410 rm -f core conftest.err conftest.
$ac_objext \
10411 conftest
$ac_exeext conftest.
$ac_ext
10412 LDFLAGS
="$save_LDFLAGS"
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10415 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10416 if test "$lt_cv_irix_exported_symbol" = yes; then
10417 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'
10420 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'
10421 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'
10423 archive_cmds_need_lc
='no'
10424 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10425 hardcode_libdir_separator
=:
10427 link_all_deplibs
=yes
10431 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10432 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10434 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10436 hardcode_libdir_flag_spec
='-R$libdir'
10437 hardcode_direct
=yes
10438 hardcode_shlibpath_var
=no
10442 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10443 hardcode_direct
=yes
10444 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10445 hardcode_libdir_separator
=:
10446 hardcode_shlibpath_var
=no
10453 if test -f /usr
/libexec
/ld.so
; then
10454 hardcode_direct
=yes
10455 hardcode_shlibpath_var
=no
10456 hardcode_direct_absolute
=yes
10457 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10458 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10459 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10460 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10461 export_dynamic_flag_spec
='${wl}-E'
10464 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10465 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10466 hardcode_libdir_flag_spec
='-R$libdir'
10469 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10470 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10480 hardcode_libdir_flag_spec
='-L$libdir'
10481 hardcode_minus_L
=yes
10482 allow_undefined_flag
=unsupported
10483 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'
10484 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10488 if test "$GCC" = yes; then
10489 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10490 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'
10492 allow_undefined_flag
=' -expect_unresolved \*'
10493 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'
10495 archive_cmds_need_lc
='no'
10496 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10497 hardcode_libdir_separator
=:
10500 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10501 if test "$GCC" = yes; then
10502 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10503 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'
10504 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10506 allow_undefined_flag
=' -expect_unresolved \*'
10507 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'
10508 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~
10509 $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'
10511 # Both c and cxx compiler support -rpath directly
10512 hardcode_libdir_flag_spec
='-rpath $libdir'
10514 archive_cmds_need_lc
='no'
10515 hardcode_libdir_separator
=:
10519 no_undefined_flag
=' -z defs'
10520 if test "$GCC" = yes; then
10522 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10523 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10524 $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'
10526 case `$CC -V 2>&1` in
10529 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10530 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10531 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10535 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10536 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10537 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10541 hardcode_libdir_flag_spec
='-R$libdir'
10542 hardcode_shlibpath_var
=no
10544 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10546 # The compiler driver will combine and reorder linker options,
10547 # but understands `-z linker_flag'. GCC discards it without `$wl',
10548 # but is careful enough not to reorder.
10549 # Supported since Solaris 2.6 (maybe 2.5.1?)
10550 if test "$GCC" = yes; then
10551 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10553 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10557 link_all_deplibs
=yes
10561 if test "x$host_vendor" = xsequent
; then
10562 # Use $CC to link under sequent, because it throws in some extra .o
10563 # files that make .init and .fini sections work.
10564 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10566 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10568 hardcode_libdir_flag_spec
='-L$libdir'
10569 hardcode_direct
=yes
10570 hardcode_minus_L
=yes
10571 hardcode_shlibpath_var
=no
10575 case $host_vendor in
10577 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10578 hardcode_direct
=yes # is this really true???
10581 ## LD is ld it makes a PLAMLIB
10582 ## CC just makes a GrossModule.
10583 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10584 reload_cmds
='$CC -r -o $output$reload_objs'
10588 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10589 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10592 runpath_var
='LD_RUN_PATH'
10593 hardcode_shlibpath_var
=no
10597 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10598 hardcode_shlibpath_var
=no
10599 export_dynamic_flag_spec
='-Bexport'
10603 if test -d /usr
/nec
; then
10604 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10605 hardcode_shlibpath_var
=no
10606 runpath_var
=LD_RUN_PATH
10607 hardcode_runpath_var
=yes
10612 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10613 no_undefined_flag
='${wl}-z,text'
10614 archive_cmds_need_lc
=no
10615 hardcode_shlibpath_var
=no
10616 runpath_var
='LD_RUN_PATH'
10618 if test "$GCC" = yes; then
10619 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10622 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10627 sysv5
* | sco3.2v5
* | sco5v6
*)
10628 # Note: We can NOT use -z defs as we might desire, because we do not
10629 # link with -lc, and that would cause any symbols used from libc to
10630 # always be unresolved, which means just about no library would
10631 # ever link correctly. If we're not using GNU ld we use -z text
10632 # though, which does catch some bad symbols but isn't as heavy-handed
10634 no_undefined_flag
='${wl}-z,text'
10635 allow_undefined_flag
='${wl}-z,nodefs'
10636 archive_cmds_need_lc
=no
10637 hardcode_shlibpath_var
=no
10638 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10639 hardcode_libdir_separator
=':'
10640 link_all_deplibs
=yes
10641 export_dynamic_flag_spec
='${wl}-Bexport'
10642 runpath_var
='LD_RUN_PATH'
10644 if test "$GCC" = yes; then
10645 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10646 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10648 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10649 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10654 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10655 hardcode_libdir_flag_spec
='-L$libdir'
10656 hardcode_shlibpath_var
=no
10664 if test x
$host_vendor = xsni
; then
10666 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10667 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10674 $as_echo "$ld_shlibs" >&6; }
10675 test "$ld_shlibs" = no
&& can_build_shared
=no
10677 with_gnu_ld
=$with_gnu_ld
10694 # Do we need to explicitly link libc?
10696 case "x$archive_cmds_need_lc" in
10698 # Assume -lc should be added
10699 archive_cmds_need_lc
=yes
10701 if test "$enable_shared" = yes && test "$GCC" = yes; then
10702 case $archive_cmds in
10704 # FIXME: we may have to deal with multi-command sequences.
10707 # Test whether the compiler implicitly links with -lc since on some
10708 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10709 # to ld, don't add -lc before -lgcc.
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10711 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10712 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10713 $as_echo_n "(cached) " >&6
10716 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10718 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10719 (eval $ac_compile) 2>&5
10721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10722 test $ac_status = 0; } 2>conftest.err
; then
10725 libobjs
=conftest.
$ac_objext
10727 wl
=$lt_prog_compiler_wl
10728 pic_flag
=$lt_prog_compiler_pic
10734 lt_save_allow_undefined_flag
=$allow_undefined_flag
10735 allow_undefined_flag
=
10736 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10737 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10740 test $ac_status = 0; }
10742 lt_cv_archive_cmds_need_lc
=no
10744 lt_cv_archive_cmds_need_lc
=yes
10746 allow_undefined_flag
=$lt_save_allow_undefined_flag
10748 cat conftest.err
1>&5
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10754 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10755 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10914 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10916 if test "$GCC" = yes; then
10918 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10919 *) lt_awk_arg
="/^libraries:/" ;;
10922 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10923 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10925 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10926 case $lt_search_path_spec in
10928 # if the path contains ";" then we assume it to be the separator
10929 # otherwise default to the standard path separator (i.e. ":") - it is
10930 # assumed that no part of a normal pathname contains ";" but that should
10931 # okay in the real world where ";" in dirpaths is itself problematic.
10932 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10935 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10938 # Ok, now we have the path, separated by spaces, we can step through it
10939 # and add multilib dir if necessary.
10940 lt_tmp_lt_search_path_spec
=
10941 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10942 for lt_sys_path
in $lt_search_path_spec; do
10943 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10944 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10946 test -d "$lt_sys_path" && \
10947 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10950 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10951 BEGIN {RS=" "; FS="/|\n";} {
10954 for (lt_i = NF; lt_i > 0; lt_i--) {
10955 if ($lt_i != "" && $lt_i != ".") {
10956 if ($lt_i == "..") {
10959 if (lt_count == 0) {
10960 lt_foo="/" $lt_i lt_foo;
10967 if (lt_foo != "") { lt_freq[lt_foo]++; }
10968 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10970 # AWK program above erroneously prepends '/' to C:/dos/paths
10973 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10974 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10976 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10978 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10980 library_names_spec
=
10981 libname_spec
='lib$name'
10985 postuninstall_cmds
=
10989 shlibpath_overrides_runpath
=unknown
10991 dynamic_linker
="$host_os ld.so"
10992 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10993 need_lib_prefix
=unknown
10994 hardcode_into_libs
=no
10996 # when you set need_version to no, make sure it does not cause -set_version
10997 # flags to be left without arguments
10998 need_version
=unknown
11002 version_type
=linux
# correct to gnu/linux during the next big refactor
11003 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11004 shlibpath_var
=LIBPATH
11006 # AIX 3 has no versioning support, so we append a major version to the name.
11007 soname_spec
='${libname}${release}${shared_ext}$major'
11011 version_type
=linux
# correct to gnu/linux during the next big refactor
11014 hardcode_into_libs
=yes
11015 if test "$host_cpu" = ia64
; then
11016 # AIX 5 supports IA64
11017 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11018 shlibpath_var
=LD_LIBRARY_PATH
11020 # With GCC up to 2.95.x, collect2 would create an import file
11021 # for dependence libraries. The import file would start with
11022 # the line `#! .'. This would cause the generated library to
11023 # depend on `.', always an invalid library. This was fixed in
11024 # development snapshots of GCC prior to 3.0.
11026 aix4 | aix4.
[01] | aix4.
[01].
*)
11027 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11029 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11032 can_build_shared
=no
11036 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11037 # soname into executable. Probably we can add versioning support to
11038 # collect2, so additional links can be useful in future.
11039 if test "$aix_use_runtimelinking" = yes; then
11040 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11041 # instead of lib<name>.a to let people know that these are not
11042 # typical AIX shared libraries.
11043 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11045 # We preserve .a as extension for shared libraries through AIX4.2
11046 # and later when we are not doing run time linking.
11047 library_names_spec
='${libname}${release}.a $libname.a'
11048 soname_spec
='${libname}${release}${shared_ext}$major'
11050 shlibpath_var
=LIBPATH
11057 # Since July 2007 AmigaOS4 officially supports .so libraries.
11058 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11062 library_names_spec
='$libname.ixlibrary $libname.a'
11063 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11064 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'
11070 library_names_spec
='${libname}${shared_ext}'
11071 dynamic_linker
="$host_os ld.so"
11072 shlibpath_var
=LIBRARY_PATH
11076 version_type
=linux
# correct to gnu/linux during the next big refactor
11078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079 soname_spec
='${libname}${release}${shared_ext}$major'
11080 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11081 shlibpath_var
=LD_LIBRARY_PATH
11082 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11083 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11084 # the default ld.so.conf also contains /usr/contrib/lib and
11085 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11086 # libtool to hard-code these into programs
11089 cygwin
* | mingw
* | pw32
* | cegcc
*)
11090 version_type
=windows
11095 case $GCC,$cc_basename in
11098 library_names_spec
='$libname.dll.a'
11099 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11100 postinstall_cmds
='base_file=`basename \${file}`~
11101 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11102 dldir=$destdir/`dirname \$dlpath`~
11103 test -d \$dldir || mkdir -p \$dldir~
11104 $install_prog $dir/$dlname \$dldir/$dlname~
11105 chmod a+x \$dldir/$dlname~
11106 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11107 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11109 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11110 dlpath=$dir/\$dldll~
11112 shlibpath_overrides_runpath
=yes
11116 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11117 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11119 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11122 # MinGW DLLs use traditional 'lib' prefix
11123 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11126 # pw32 DLLs use 'pw' prefix rather than 'lib'
11127 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11130 dynamic_linker
='Win32 ld.exe'
11135 libname_spec
='$name'
11136 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11137 library_names_spec
='${libname}.dll.lib'
11141 sys_lib_search_path_spec
=
11144 for lt_path
in $LIB
11147 # Let DOS variable expansion print the short 8.3 style file name.
11148 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11149 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11152 # Convert to MSYS style.
11153 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11156 # Convert to unix form, then to dos form, then back to unix form
11157 # but this time dos style (no spaces!) so that the unix form looks
11158 # like /cygdrive/c/PROGRA~1:/cygdr...
11159 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11160 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11161 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11164 sys_lib_search_path_spec
="$LIB"
11165 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11166 # It is most probably a Windows format PATH.
11167 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11169 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11171 # FIXME: find the short name or the path components, as spaces are
11172 # common. (e.g. "Program Files" -> "PROGRA~1")
11176 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11177 postinstall_cmds
='base_file=`basename \${file}`~
11178 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11179 dldir=$destdir/`dirname \$dlpath`~
11180 test -d \$dldir || mkdir -p \$dldir~
11181 $install_prog $dir/$dlname \$dldir/$dlname'
11182 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11183 dlpath=$dir/\$dldll~
11185 shlibpath_overrides_runpath
=yes
11186 dynamic_linker
='Win32 link.exe'
11190 # Assume MSVC wrapper
11191 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11192 dynamic_linker
='Win32 ld.exe'
11195 # FIXME: first we should search . and the directory the executable is in
11199 darwin
* | rhapsody
*)
11200 dynamic_linker
="$host_os dyld"
11201 version_type
=darwin
11204 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11205 soname_spec
='${libname}${release}${major}$shared_ext'
11206 shlibpath_overrides_runpath
=yes
11207 shlibpath_var
=DYLD_LIBRARY_PATH
11208 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11210 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11211 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11215 version_type
=linux
# correct to gnu/linux during the next big refactor
11218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11219 soname_spec
='${libname}${release}${shared_ext}$major'
11220 shlibpath_var
=LD_LIBRARY_PATH
11223 freebsd
* | dragonfly
*)
11224 # DragonFly does not have aout. When/if they implement a new
11225 # versioning mechanism, adjust this.
11226 if test -x /usr
/bin
/objformat
; then
11227 objformat
=`/usr/bin/objformat`
11230 freebsd
[23].
*) objformat
=aout
;;
11231 *) objformat
=elf
;;
11234 version_type
=freebsd-
$objformat
11235 case $version_type in
11237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11242 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11246 shlibpath_var
=LD_LIBRARY_PATH
11249 shlibpath_overrides_runpath
=yes
11251 freebsd3.
[01]* | freebsdelf3.
[01]*)
11252 shlibpath_overrides_runpath
=yes
11253 hardcode_into_libs
=yes
11255 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11256 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11257 shlibpath_overrides_runpath
=no
11258 hardcode_into_libs
=yes
11260 *) # from 4.6 on, and DragonFly
11261 shlibpath_overrides_runpath
=yes
11262 hardcode_into_libs
=yes
11268 version_type
=linux
# correct to gnu/linux during the next big refactor
11271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11272 soname_spec
='${libname}${release}${shared_ext}$major'
11273 shlibpath_var
=LD_LIBRARY_PATH
11274 shlibpath_overrides_runpath
=no
11275 hardcode_into_libs
=yes
11279 version_type
=linux
# correct to gnu/linux during the next big refactor
11282 dynamic_linker
="$host_os runtime_loader"
11283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11284 soname_spec
='${libname}${release}${shared_ext}$major'
11285 shlibpath_var
=LIBRARY_PATH
11286 shlibpath_overrides_runpath
=yes
11287 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11288 hardcode_into_libs
=yes
11291 hpux9
* | hpux10
* | hpux11
*)
11292 # Give a soname corresponding to the major version so that dld.sl refuses to
11293 # link against other versions.
11300 hardcode_into_libs
=yes
11301 dynamic_linker
="$host_os dld.so"
11302 shlibpath_var
=LD_LIBRARY_PATH
11303 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305 soname_spec
='${libname}${release}${shared_ext}$major'
11306 if test "X$HPUX_IA64_MODE" = X32
; then
11307 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11309 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11311 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11315 hardcode_into_libs
=yes
11316 dynamic_linker
="$host_os dld.sl"
11317 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11318 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320 soname_spec
='${libname}${release}${shared_ext}$major'
11321 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11322 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11326 dynamic_linker
="$host_os dld.sl"
11327 shlibpath_var
=SHLIB_PATH
11328 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11330 soname_spec
='${libname}${release}${shared_ext}$major'
11333 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11334 postinstall_cmds
='chmod 555 $lib'
11335 # or fails outright, so override atomically:
11336 install_override_mode
=555
11340 version_type
=linux
# correct to gnu/linux during the next big refactor
11343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11344 soname_spec
='${libname}${release}${shared_ext}$major'
11345 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11346 shlibpath_var
=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath
=no
11348 hardcode_into_libs
=yes
11351 irix5
* | irix6
* | nonstopux
*)
11353 nonstopux
*) version_type
=nonstopux
;;
11355 if test "$lt_cv_prog_gnu_ld" = yes; then
11356 version_type
=linux
# correct to gnu/linux during the next big refactor
11363 soname_spec
='${libname}${release}${shared_ext}$major'
11364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11366 irix5
* | nonstopux
*)
11367 libsuff
= shlibsuff
=
11370 case $LD in # libtool.m4 will add one of these switches to LD
11371 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11372 libsuff
= shlibsuff
= libmagic
=32-bit;;
11373 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11374 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11375 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11376 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11377 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11381 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11382 shlibpath_overrides_runpath
=no
11383 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11384 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11385 hardcode_into_libs
=yes
11388 # No shared lib support for Linux oldld, aout, or coff.
11389 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11393 # This must be glibc/ELF.
11394 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11395 version_type
=linux
# correct to gnu/linux during the next big refactor
11398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11399 soname_spec
='${libname}${release}${shared_ext}$major'
11400 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11401 shlibpath_var
=LD_LIBRARY_PATH
11402 shlibpath_overrides_runpath
=no
11404 # Some binutils ld are patched to set DT_RUNPATH
11405 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11406 $as_echo_n "(cached) " >&6
11408 lt_cv_shlibpath_overrides_runpath
=no
11409 save_LDFLAGS
=$LDFLAGS
11410 save_libdir
=$libdir
11411 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11412 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11424 if ac_fn_c_try_link
"$LINENO"; then :
11425 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11426 lt_cv_shlibpath_overrides_runpath
=yes
11429 rm -f core conftest.err conftest.
$ac_objext \
11430 conftest
$ac_exeext conftest.
$ac_ext
11431 LDFLAGS
=$save_LDFLAGS
11432 libdir
=$save_libdir
11436 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11438 # This implies no fast_install, which is unacceptable.
11439 # Some rework will be needed to allow for fast_install
11440 # before this can be enabled.
11441 hardcode_into_libs
=yes
11443 # Append ld.so.conf contents to the search path
11444 if test -f /etc
/ld.so.conf
; then
11445 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' ' '`
11446 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11449 # We used to test for /lib/ld.so.1 and disable shared libraries on
11450 # powerpc, because MkLinux only supported shared libraries with the
11451 # GNU dynamic linker. Since this was broken with cross compilers,
11452 # most powerpc-linux boxes support dynamic linking these days and
11453 # people can always --disable-shared, the test was removed, and we
11454 # assume the GNU/Linux dynamic linker is in use.
11455 dynamic_linker
='GNU/Linux ld.so'
11462 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11464 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11465 dynamic_linker
='NetBSD (a.out) ld.so'
11467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11468 soname_spec
='${libname}${release}${shared_ext}$major'
11469 dynamic_linker
='NetBSD ld.elf_so'
11471 shlibpath_var
=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath
=yes
11473 hardcode_into_libs
=yes
11477 version_type
=linux
# correct to gnu/linux during the next big refactor
11478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11479 shlibpath_var
=LD_LIBRARY_PATH
11480 shlibpath_overrides_runpath
=yes
11487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11488 soname_spec
='${libname}${release}${shared_ext}$major'
11489 shlibpath_var
=LD_LIBRARY_PATH
11490 shlibpath_overrides_runpath
=no
11491 hardcode_into_libs
=yes
11492 dynamic_linker
='ldqnx.so'
11497 sys_lib_dlsearch_path_spec
="/usr/lib"
11499 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11501 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11502 *) need_version
=no
;;
11504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11505 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11506 shlibpath_var
=LD_LIBRARY_PATH
11507 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11509 openbsd2.
[89] | openbsd2.
[89].
*)
11510 shlibpath_overrides_runpath
=no
11513 shlibpath_overrides_runpath
=yes
11517 shlibpath_overrides_runpath
=yes
11522 libname_spec
='$name'
11525 library_names_spec
='$libname${shared_ext} $libname.a'
11526 dynamic_linker
='OS/2 ld.exe'
11527 shlibpath_var
=LIBPATH
11530 osf3
* | osf4
* | osf5
*)
11534 soname_spec
='${libname}${release}${shared_ext}$major'
11535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11536 shlibpath_var
=LD_LIBRARY_PATH
11537 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11538 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11546 version_type
=linux
# correct to gnu/linux during the next big refactor
11549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550 soname_spec
='${libname}${release}${shared_ext}$major'
11551 shlibpath_var
=LD_LIBRARY_PATH
11552 shlibpath_overrides_runpath
=yes
11553 hardcode_into_libs
=yes
11554 # ldd complains unless libraries are executable
11555 postinstall_cmds
='chmod +x $lib'
11560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11561 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11562 shlibpath_var
=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath
=yes
11564 if test "$with_gnu_ld" = yes; then
11571 version_type
=linux
# correct to gnu/linux during the next big refactor
11572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573 soname_spec
='${libname}${release}${shared_ext}$major'
11574 shlibpath_var
=LD_LIBRARY_PATH
11575 case $host_vendor in
11577 shlibpath_overrides_runpath
=no
11579 runpath_var
=LD_RUN_PATH
11587 shlibpath_overrides_runpath
=no
11588 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11594 if test -d /usr
/nec
;then
11595 version_type
=linux
# correct to gnu/linux during the next big refactor
11596 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11597 soname_spec
='$libname${shared_ext}.$major'
11598 shlibpath_var
=LD_LIBRARY_PATH
11602 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11603 version_type
=freebsd-elf
11606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11607 soname_spec
='${libname}${release}${shared_ext}$major'
11608 shlibpath_var
=LD_LIBRARY_PATH
11609 shlibpath_overrides_runpath
=yes
11610 hardcode_into_libs
=yes
11611 if test "$with_gnu_ld" = yes; then
11612 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11614 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11617 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11621 sys_lib_dlsearch_path_spec
='/usr/lib'
11625 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11626 version_type
=linux
# correct to gnu/linux during the next big refactor
11629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11630 shlibpath_var
=LD_LIBRARY_PATH
11631 shlibpath_overrides_runpath
=no
11632 hardcode_into_libs
=yes
11636 version_type
=linux
# correct to gnu/linux during the next big refactor
11637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11638 soname_spec
='${libname}${release}${shared_ext}$major'
11639 shlibpath_var
=LD_LIBRARY_PATH
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11647 $as_echo "$dynamic_linker" >&6; }
11648 test "$dynamic_linker" = no
&& can_build_shared
=no
11650 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11651 if test "$GCC" = yes; then
11652 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11655 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11656 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11658 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11659 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11754 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11756 if test -n "$hardcode_libdir_flag_spec" ||
11757 test -n "$runpath_var" ||
11758 test "X$hardcode_automatic" = "Xyes" ; then
11760 # We can hardcode non-existent directories.
11761 if test "$hardcode_direct" != no
&&
11762 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11763 # have to relink, otherwise we might link with an installed library
11764 # when we should be linking with a yet-to-be-installed one
11765 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11766 test "$hardcode_minus_L" != no
; then
11767 # Linking always hardcodes the temporary library directory.
11768 hardcode_action
=relink
11770 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11771 hardcode_action
=immediate
11774 # We cannot hardcode anything, or else we can only hardcode existing
11776 hardcode_action
=unsupported
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11779 $as_echo "$hardcode_action" >&6; }
11781 if test "$hardcode_action" = relink ||
11782 test "$inherit_rpath" = yes; then
11783 # Fast installation is not supported
11784 enable_fast_install
=no
11785 elif test "$shlibpath_overrides_runpath" = yes ||
11786 test "$enable_shared" = no
; then
11787 # Fast installation is not necessary
11788 enable_fast_install
=needless
11796 if test "x$enable_dlopen" != xyes
; then
11797 enable_dlopen
=unknown
11798 enable_dlopen_self
=unknown
11799 enable_dlopen_self_static
=unknown
11806 lt_cv_dlopen
="load_add_on"
11808 lt_cv_dlopen_self
=yes
11811 mingw
* | pw32
* | cegcc
*)
11812 lt_cv_dlopen
="LoadLibrary"
11817 lt_cv_dlopen
="dlopen"
11822 # if libdl is installed we need to link against it
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11824 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11825 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11826 $as_echo_n "(cached) " >&6
11828 ac_check_lib_save_LIBS
=$LIBS
11830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11848 if ac_fn_c_try_link
"$LINENO"; then :
11849 ac_cv_lib_dl_dlopen
=yes
11851 ac_cv_lib_dl_dlopen
=no
11853 rm -f core conftest.err conftest.
$ac_objext \
11854 conftest
$ac_exeext conftest.
$ac_ext
11855 LIBS
=$ac_check_lib_save_LIBS
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11858 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11859 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11860 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11863 lt_cv_dlopen
="dyld"
11865 lt_cv_dlopen_self
=yes
11872 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11873 if test "x$ac_cv_func_shl_load" = xyes
; then :
11874 lt_cv_dlopen
="shl_load"
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11877 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11878 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11879 $as_echo_n "(cached) " >&6
11881 ac_check_lib_save_LIBS
=$LIBS
11883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11886 /* Override any GCC internal prototype to avoid an error.
11887 Use char because int might match the return type of a GCC
11888 builtin and then its argument prototype would still apply. */
11896 return shl_load ();
11901 if ac_fn_c_try_link
"$LINENO"; then :
11902 ac_cv_lib_dld_shl_load
=yes
11904 ac_cv_lib_dld_shl_load
=no
11906 rm -f core conftest.err conftest.
$ac_objext \
11907 conftest
$ac_exeext conftest.
$ac_ext
11908 LIBS
=$ac_check_lib_save_LIBS
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11911 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11912 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11913 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11915 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11916 if test "x$ac_cv_func_dlopen" = xyes
; then :
11917 lt_cv_dlopen
="dlopen"
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11920 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11921 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11922 $as_echo_n "(cached) " >&6
11924 ac_check_lib_save_LIBS
=$LIBS
11926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11927 /* end confdefs.h. */
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11944 if ac_fn_c_try_link
"$LINENO"; then :
11945 ac_cv_lib_dl_dlopen
=yes
11947 ac_cv_lib_dl_dlopen
=no
11949 rm -f core conftest.err conftest.
$ac_objext \
11950 conftest
$ac_exeext conftest.
$ac_ext
11951 LIBS
=$ac_check_lib_save_LIBS
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11954 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11955 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11956 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11959 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11960 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11961 $as_echo_n "(cached) " >&6
11963 ac_check_lib_save_LIBS
=$LIBS
11964 LIBS
="-lsvld $LIBS"
11965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 /* Override any GCC internal prototype to avoid an error.
11969 Use char because int might match the return type of a GCC
11970 builtin and then its argument prototype would still apply. */
11983 if ac_fn_c_try_link
"$LINENO"; then :
11984 ac_cv_lib_svld_dlopen
=yes
11986 ac_cv_lib_svld_dlopen
=no
11988 rm -f core conftest.err conftest.
$ac_objext \
11989 conftest
$ac_exeext conftest.
$ac_ext
11990 LIBS
=$ac_check_lib_save_LIBS
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11993 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11994 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11995 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11998 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11999 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12000 $as_echo_n "(cached) " >&6
12002 ac_check_lib_save_LIBS
=$LIBS
12004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12017 return dld_link ();
12022 if ac_fn_c_try_link
"$LINENO"; then :
12023 ac_cv_lib_dld_dld_link
=yes
12025 ac_cv_lib_dld_dld_link
=no
12027 rm -f core conftest.err conftest.
$ac_objext \
12028 conftest
$ac_exeext conftest.
$ac_ext
12029 LIBS
=$ac_check_lib_save_LIBS
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12032 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12033 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12034 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12055 if test "x$lt_cv_dlopen" != xno
; then
12061 case $lt_cv_dlopen in
12063 save_CPPFLAGS
="$CPPFLAGS"
12064 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12066 save_LDFLAGS
="$LDFLAGS"
12067 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12070 LIBS
="$lt_cv_dlopen_libs $LIBS"
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12073 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12074 if ${lt_cv_dlopen_self+:} false
; then :
12075 $as_echo_n "(cached) " >&6
12077 if test "$cross_compiling" = yes; then :
12078 lt_cv_dlopen_self
=cross
12080 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12081 lt_status
=$lt_dlunknown
12082 cat > conftest.
$ac_ext <<_LT_EOF
12083 #line $LINENO "configure"
12084 #include "confdefs.h"
12093 # define LT_DLGLOBAL RTLD_GLOBAL
12096 # define LT_DLGLOBAL DL_GLOBAL
12098 # define LT_DLGLOBAL 0
12102 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12103 find out it does not work in some platform. */
12104 #ifndef LT_DLLAZY_OR_NOW
12106 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12109 # define LT_DLLAZY_OR_NOW DL_LAZY
12112 # define LT_DLLAZY_OR_NOW RTLD_NOW
12115 # define LT_DLLAZY_OR_NOW DL_NOW
12117 # define LT_DLLAZY_OR_NOW 0
12124 /* When -fvisbility=hidden is used, assume the code has been annotated
12125 correspondingly for the symbols needed. */
12126 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12127 int fnord () __attribute__((visibility("default")));
12130 int fnord () { return 42; }
12133 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12134 int status = $lt_dlunknown;
12138 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12141 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12142 else puts (dlerror ());
12144 /* dlclose (self); */
12152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12153 (eval $ac_link) 2>&5
12155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12156 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12157 (.
/conftest
; exit; ) >&5 2>/dev
/null
12159 case x
$lt_status in
12160 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12161 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12162 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12165 # compilation failed
12166 lt_cv_dlopen_self
=no
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12174 $as_echo "$lt_cv_dlopen_self" >&6; }
12176 if test "x$lt_cv_dlopen_self" = xyes
; then
12177 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12179 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12180 if ${lt_cv_dlopen_self_static+:} false
; then :
12181 $as_echo_n "(cached) " >&6
12183 if test "$cross_compiling" = yes; then :
12184 lt_cv_dlopen_self_static
=cross
12186 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12187 lt_status
=$lt_dlunknown
12188 cat > conftest.
$ac_ext <<_LT_EOF
12189 #line $LINENO "configure"
12190 #include "confdefs.h"
12199 # define LT_DLGLOBAL RTLD_GLOBAL
12202 # define LT_DLGLOBAL DL_GLOBAL
12204 # define LT_DLGLOBAL 0
12208 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12209 find out it does not work in some platform. */
12210 #ifndef LT_DLLAZY_OR_NOW
12212 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12215 # define LT_DLLAZY_OR_NOW DL_LAZY
12218 # define LT_DLLAZY_OR_NOW RTLD_NOW
12221 # define LT_DLLAZY_OR_NOW DL_NOW
12223 # define LT_DLLAZY_OR_NOW 0
12230 /* When -fvisbility=hidden is used, assume the code has been annotated
12231 correspondingly for the symbols needed. */
12232 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12233 int fnord () __attribute__((visibility("default")));
12236 int fnord () { return 42; }
12239 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12240 int status = $lt_dlunknown;
12244 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12247 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12248 else puts (dlerror ());
12250 /* dlclose (self); */
12258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12259 (eval $ac_link) 2>&5
12261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12262 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12263 (.
/conftest
; exit; ) >&5 2>/dev
/null
12265 case x
$lt_status in
12266 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12267 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12268 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12271 # compilation failed
12272 lt_cv_dlopen_self_static
=no
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12280 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12283 CPPFLAGS
="$save_CPPFLAGS"
12284 LDFLAGS
="$save_LDFLAGS"
12289 case $lt_cv_dlopen_self in
12290 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12291 *) enable_dlopen_self
=unknown
;;
12294 case $lt_cv_dlopen_self_static in
12295 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12296 *) enable_dlopen_self_static
=unknown
;;
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12319 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12320 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12321 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12322 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12324 $as_echo "yes" >&6; }
12326 # FIXME - insert some real tests, host_os isn't really good enough
12329 if test -n "$STRIP" ; then
12330 striplib
="$STRIP -x"
12331 old_striplib
="$STRIP -S"
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12333 $as_echo "yes" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12336 $as_echo "no" >&6; }
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12341 $as_echo "no" >&6; }
12357 # Report which library types will actually be built
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12359 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12361 $as_echo "$can_build_shared" >&6; }
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12364 $as_echo_n "checking whether to build shared libraries... " >&6; }
12365 test "$can_build_shared" = "no" && enable_shared
=no
12367 # On AIX, shared libraries and static libraries use the same namespace, and
12368 # are all built from PIC.
12371 test "$enable_shared" = yes && enable_static
=no
12372 if test -n "$RANLIB"; then
12373 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12374 postinstall_cmds
='$RANLIB $lib'
12379 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12380 test "$enable_shared" = yes && enable_static
=no
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12385 $as_echo "$enable_shared" >&6; }
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12388 $as_echo_n "checking whether to build static libraries... " >&6; }
12389 # Make sure either enable_shared or enable_static is yes.
12390 test "$enable_shared" = yes || enable_static
=yes
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12392 $as_echo "$enable_static" >&6; }
12399 ac_cpp
='$CPP $CPPFLAGS'
12400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12420 ac_config_commands
="$ac_config_commands libtool"
12425 # Only expand once:
12430 # Extract the first word of "ar", so it can be a program name with args.
12431 set dummy
ar; ac_word
=$2
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12433 $as_echo_n "checking for $ac_word... " >&6; }
12434 if ${ac_cv_path_AR+:} false
; then :
12435 $as_echo_n "(cached) " >&6
12439 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
12442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12443 for as_dir
in $PATH
12446 test -z "$as_dir" && as_dir
=.
12447 for ac_exec_ext
in '' $ac_executable_extensions; do
12448 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12449 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
12450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12457 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
12462 if test -n "$AR"; then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
12464 $as_echo "$AR" >&6; }
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12467 $as_echo "no" >&6; }
12471 # Extract the first word of "rm", so it can be a program name with args.
12472 set dummy
rm; ac_word
=$2
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12474 $as_echo_n "checking for $ac_word... " >&6; }
12475 if ${ac_cv_path_RM+:} false
; then :
12476 $as_echo_n "(cached) " >&6
12480 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
12483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12484 for as_dir
in $PATH
12487 test -z "$as_dir" && as_dir
=.
12488 for ac_exec_ext
in '' $ac_executable_extensions; do
12489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12490 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
12491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12498 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
12503 if test -n "$RM"; then
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
12505 $as_echo "$RM" >&6; }
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12508 $as_echo "no" >&6; }
12512 # Extract the first word of "cp", so it can be a program name with args.
12513 set dummy
cp; ac_word
=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515 $as_echo_n "checking for $ac_word... " >&6; }
12516 if ${ac_cv_path_CP+:} false
; then :
12517 $as_echo_n "(cached) " >&6
12521 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
12524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12525 for as_dir
in $PATH
12528 test -z "$as_dir" && as_dir
=.
12529 for ac_exec_ext
in '' $ac_executable_extensions; do
12530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12531 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
12532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12539 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
12544 if test -n "$CP"; then
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
12546 $as_echo "$CP" >&6; }
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12549 $as_echo "no" >&6; }
12553 # Extract the first word of "ln", so it can be a program name with args.
12554 set dummy
ln; ac_word
=$2
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12556 $as_echo_n "checking for $ac_word... " >&6; }
12557 if ${ac_cv_path_LN+:} false
; then :
12558 $as_echo_n "(cached) " >&6
12562 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
12565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12566 for as_dir
in $PATH
12569 test -z "$as_dir" && as_dir
=.
12570 for ac_exec_ext
in '' $ac_executable_extensions; do
12571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12572 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
12573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12580 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
12585 if test -n "$LN"; then
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
12587 $as_echo "$LN" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590 $as_echo "no" >&6; }
12594 # Extract the first word of "ls", so it can be a program name with args.
12595 set dummy
ls; ac_word
=$2
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12597 $as_echo_n "checking for $ac_word... " >&6; }
12598 if ${ac_cv_path_LS+:} false
; then :
12599 $as_echo_n "(cached) " >&6
12603 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
12606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12607 for as_dir
in $PATH
12610 test -z "$as_dir" && as_dir
=.
12611 for ac_exec_ext
in '' $ac_executable_extensions; do
12612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12613 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
12614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12621 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
12626 if test -n "$LS"; then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
12628 $as_echo "$LS" >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12631 $as_echo "no" >&6; }
12635 # Extract the first word of "sed", so it can be a program name with args.
12636 set dummy
sed; ac_word
=$2
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12638 $as_echo_n "checking for $ac_word... " >&6; }
12639 if ${ac_cv_path_SED+:} false
; then :
12640 $as_echo_n "(cached) " >&6
12644 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
12647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12648 for as_dir
in $PATH
12651 test -z "$as_dir" && as_dir
=.
12652 for ac_exec_ext
in '' $ac_executable_extensions; do
12653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12654 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
12655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12662 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
12666 SED
=$ac_cv_path_SED
12667 if test -n "$SED"; then
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
12669 $as_echo "$SED" >&6; }
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12676 # Extract the first word of "make", so it can be a program name with args.
12677 set dummy
make; ac_word
=$2
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12679 $as_echo_n "checking for $ac_word... " >&6; }
12680 if ${ac_cv_path_MAKE+:} false
; then :
12681 $as_echo_n "(cached) " >&6
12685 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
12688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12689 for as_dir
in $PATH
12692 test -z "$as_dir" && as_dir
=.
12693 for ac_exec_ext
in '' $ac_executable_extensions; do
12694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12695 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
12696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12706 MAKE
=$ac_cv_path_MAKE
12707 if test -n "$MAKE"; then
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
12709 $as_echo "$MAKE" >&6; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12712 $as_echo "no" >&6; }
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12721 $as_echo_n "checking whether NLS is requested... " >&6; }
12722 # Check whether --enable-nls was given.
12723 if test "${enable_nls+set}" = set; then :
12724 enableval
=$enable_nls; USE_NLS
=$enableval
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12730 $as_echo "$USE_NLS" >&6; }
12737 # Prepare PATH_SEPARATOR.
12738 # The user is always right.
12739 if test "${PATH_SEPARATOR+set}" != set; then
12740 echo "#! /bin/sh" >conf$$.sh
12741 echo "exit 0" >>conf$$.sh
12743 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12751 # Find out how to test for executable files. Don't use a zero-byte file,
12752 # as systems may use methods other than mode bits to determine executability.
12753 cat >conf$$.
file <<_ASEOF
12757 chmod +x conf$$.
file
12758 if test -x conf$$.
file >/dev
/null
2>&1; then
12759 ac_executable_p
="test -x"
12761 ac_executable_p
="test -f"
12765 # Extract the first word of "msgfmt", so it can be a program name with args.
12766 set dummy msgfmt
; ac_word
=$2
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12768 $as_echo_n "checking for $ac_word... " >&6; }
12769 if ${ac_cv_path_MSGFMT+:} false
; then :
12770 $as_echo_n "(cached) " >&6
12774 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12777 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12778 for ac_dir
in $PATH; do
12780 test -z "$ac_dir" && ac_dir
=.
12781 for ac_exec_ext
in '' $ac_executable_extensions; do
12782 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12783 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12784 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
12785 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12786 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
12793 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12797 MSGFMT
="$ac_cv_path_MSGFMT"
12798 if test "$MSGFMT" != ":"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12800 $as_echo "$MSGFMT" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12806 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12807 set dummy gmsgfmt
; ac_word
=$2
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12809 $as_echo_n "checking for $ac_word... " >&6; }
12810 if ${ac_cv_path_GMSGFMT+:} false
; then :
12811 $as_echo_n "(cached) " >&6
12815 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12819 for as_dir
in $PATH
12822 test -z "$as_dir" && as_dir
=.
12823 for ac_exec_ext
in '' $ac_executable_extensions; do
12824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12825 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12833 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12837 GMSGFMT
=$ac_cv_path_GMSGFMT
12838 if test -n "$GMSGFMT"; then
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12840 $as_echo "$GMSGFMT" >&6; }
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12843 $as_echo "no" >&6; }
12848 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12849 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
12850 *) MSGFMT_015
=$MSGFMT ;;
12853 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12854 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
12855 *) GMSGFMT_015
=$GMSGFMT ;;
12860 # Prepare PATH_SEPARATOR.
12861 # The user is always right.
12862 if test "${PATH_SEPARATOR+set}" != set; then
12863 echo "#! /bin/sh" >conf$$.sh
12864 echo "exit 0" >>conf$$.sh
12866 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12874 # Find out how to test for executable files. Don't use a zero-byte file,
12875 # as systems may use methods other than mode bits to determine executability.
12876 cat >conf$$.
file <<_ASEOF
12880 chmod +x conf$$.
file
12881 if test -x conf$$.
file >/dev
/null
2>&1; then
12882 ac_executable_p
="test -x"
12884 ac_executable_p
="test -f"
12888 # Extract the first word of "xgettext", so it can be a program name with args.
12889 set dummy xgettext
; ac_word
=$2
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12891 $as_echo_n "checking for $ac_word... " >&6; }
12892 if ${ac_cv_path_XGETTEXT+:} false
; then :
12893 $as_echo_n "(cached) " >&6
12895 case "$XGETTEXT" in
12897 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12900 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12901 for ac_dir
in $PATH; do
12903 test -z "$ac_dir" && ac_dir
=.
12904 for ac_exec_ext
in '' $ac_executable_extensions; do
12905 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12906 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12907 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
12908 (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
12909 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12916 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12920 XGETTEXT
="$ac_cv_path_XGETTEXT"
12921 if test "$XGETTEXT" != ":"; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12923 $as_echo "$XGETTEXT" >&6; }
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12926 $as_echo "no" >&6; }
12931 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12932 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
12933 *) XGETTEXT_015
=$XGETTEXT ;;
12938 # Prepare PATH_SEPARATOR.
12939 # The user is always right.
12940 if test "${PATH_SEPARATOR+set}" != set; then
12941 echo "#! /bin/sh" >conf$$.sh
12942 echo "exit 0" >>conf$$.sh
12944 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12952 # Find out how to test for executable files. Don't use a zero-byte file,
12953 # as systems may use methods other than mode bits to determine executability.
12954 cat >conf$$.
file <<_ASEOF
12958 chmod +x conf$$.
file
12959 if test -x conf$$.
file >/dev
/null
2>&1; then
12960 ac_executable_p
="test -x"
12962 ac_executable_p
="test -f"
12966 # Extract the first word of "msgmerge", so it can be a program name with args.
12967 set dummy msgmerge
; ac_word
=$2
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12969 $as_echo_n "checking for $ac_word... " >&6; }
12970 if ${ac_cv_path_MSGMERGE+:} false
; then :
12971 $as_echo_n "(cached) " >&6
12973 case "$MSGMERGE" in
12975 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12978 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12979 for ac_dir
in $PATH; do
12981 test -z "$ac_dir" && ac_dir
=.
12982 for ac_exec_ext
in '' $ac_executable_extensions; do
12983 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12984 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12985 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
12986 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12993 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12997 MSGMERGE
="$ac_cv_path_MSGMERGE"
12998 if test "$MSGMERGE" != ":"; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13000 $as_echo "$MSGMERGE" >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13003 $as_echo "no" >&6; }
13007 test -n "$localedir" || localedir
='${datadir}/locale'
13010 ac_config_commands
="$ac_config_commands po-directories"
13014 if test "X$prefix" = "XNONE"; then
13015 acl_final_prefix
="$ac_default_prefix"
13017 acl_final_prefix
="$prefix"
13019 if test "X$exec_prefix" = "XNONE"; then
13020 acl_final_exec_prefix
='${prefix}'
13022 acl_final_exec_prefix
="$exec_prefix"
13024 acl_save_prefix
="$prefix"
13025 prefix
="$acl_final_prefix"
13026 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13027 prefix
="$acl_save_prefix"
13030 # Check whether --with-gnu-ld was given.
13031 if test "${with_gnu_ld+set}" = set; then :
13032 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13037 # Prepare PATH_SEPARATOR.
13038 # The user is always right.
13039 if test "${PATH_SEPARATOR+set}" != set; then
13040 echo "#! /bin/sh" >conf$$.sh
13041 echo "exit 0" >>conf$$.sh
13043 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13051 if test "$GCC" = yes; then
13052 # Check if gcc -print-prog-name=ld gives a path.
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13054 $as_echo_n "checking for ld used by GCC... " >&6; }
13057 # gcc leaves a trailing carriage return which upsets mingw
13058 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13060 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13063 # Accept absolute paths.
13064 [\\/]* |
[A-Za-z
]:[\\/]*)
13065 re_direlt
='/[^/][^/]*/\.\./'
13066 # Canonicalize the path of ld
13067 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13068 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13069 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13071 test -z "$LD" && LD
="$ac_prog"
13074 # If it fails, then pretend we aren't using GCC.
13078 # If it is relative, then search for the first ld in PATH.
13079 with_gnu_ld
=unknown
13082 elif test "$with_gnu_ld" = yes; then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13084 $as_echo_n "checking for GNU ld... " >&6; }
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13087 $as_echo_n "checking for non-GNU ld... " >&6; }
13089 if ${acl_cv_path_LD+:} false
; then :
13090 $as_echo_n "(cached) " >&6
13092 if test -z "$LD"; then
13093 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13094 for ac_dir
in $PATH; do
13095 test -z "$ac_dir" && ac_dir
=.
13096 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13097 acl_cv_path_LD
="$ac_dir/$ac_prog"
13098 # Check to see if the program is GNU ld. I'd rather use --version,
13099 # but apparently some GNU ld's only accept -v.
13100 # Break only if it was the GNU/non-GNU ld that we prefer.
13101 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13102 *GNU
* |
*'with BFD'*)
13103 test "$with_gnu_ld" != no
&& break ;;
13105 test "$with_gnu_ld" != yes && break ;;
13111 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13115 LD
="$acl_cv_path_LD"
13116 if test -n "$LD"; then
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13118 $as_echo "$LD" >&6; }
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13121 $as_echo "no" >&6; }
13123 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13125 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13126 if ${acl_cv_prog_gnu_ld+:} false
; then :
13127 $as_echo_n "(cached) " >&6
13129 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13130 case `$LD -v 2>&1 </dev/null` in
13131 *GNU
* |
*'with BFD'*)
13132 acl_cv_prog_gnu_ld
=yes ;;
13134 acl_cv_prog_gnu_ld
=no
;;
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13138 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13139 with_gnu_ld
=$acl_cv_prog_gnu_ld
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13145 $as_echo_n "checking for shared library run path origin... " >&6; }
13146 if ${acl_cv_rpath+:} false
; then :
13147 $as_echo_n "(cached) " >&6
13150 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13151 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13153 rm -f .
/conftest.sh
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13158 $as_echo "$acl_cv_rpath" >&6; }
13160 libext
="$acl_cv_libext"
13161 shlibext
="$acl_cv_shlibext"
13162 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13163 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13164 hardcode_direct
="$acl_cv_hardcode_direct"
13165 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13166 # Check whether --enable-rpath was given.
13167 if test "${enable_rpath+set}" = set; then :
13168 enableval
=$enable_rpath; :
13176 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13177 if test -n "$searchpath"; then
13178 acl_save_IFS
="${IFS= }"; IFS
=":"
13179 for searchdir
in $searchpath; do
13180 if test -d "$searchdir"; then
13181 case "$searchdir" in
13182 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
13183 *) searchdir
=`cd "$searchdir" && pwd`
13184 case "$searchdir" in
13185 */lib64
) acl_libdirstem
=lib64
;;
13190 IFS
="$acl_save_IFS"
13202 acl_save_prefix
="$prefix"
13203 prefix
="$acl_final_prefix"
13204 acl_save_exec_prefix
="$exec_prefix"
13205 exec_prefix
="$acl_final_exec_prefix"
13207 eval additional_includedir
=\"$includedir\"
13208 eval additional_libdir
=\"$libdir\"
13210 exec_prefix
="$acl_save_exec_prefix"
13211 prefix
="$acl_save_prefix"
13214 # Check whether --with-libiconv-prefix was given.
13215 if test "${with_libiconv_prefix+set}" = set; then :
13216 withval
=$with_libiconv_prefix;
13217 if test "X$withval" = "Xno"; then
13220 if test "X$withval" = "X"; then
13222 acl_save_prefix
="$prefix"
13223 prefix
="$acl_final_prefix"
13224 acl_save_exec_prefix
="$exec_prefix"
13225 exec_prefix
="$acl_final_exec_prefix"
13227 eval additional_includedir
=\"$includedir\"
13228 eval additional_libdir
=\"$libdir\"
13230 exec_prefix
="$acl_save_exec_prefix"
13231 prefix
="$acl_save_prefix"
13234 additional_includedir
="$withval/include"
13235 additional_libdir
="$withval/$acl_libdirstem"
13246 names_already_handled
=
13247 names_next_round
='iconv '
13248 while test -n "$names_next_round"; do
13249 names_this_round
="$names_next_round"
13251 for name
in $names_this_round; do
13253 for n
in $names_already_handled; do
13254 if test "$n" = "$name"; then
13255 already_handled
=yes
13259 if test -z "$already_handled"; then
13260 names_already_handled
="$names_already_handled $name"
13261 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13262 eval value
=\"\
$HAVE_LIB$uppername\"
13263 if test -n "$value"; then
13264 if test "$value" = yes; then
13265 eval value
=\"\
$LIB$uppername\"
13266 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13267 eval value
=\"\
$LTLIB$uppername\"
13268 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13277 if test $use_additional = yes; then
13278 if test -n "$shlibext" \
13279 && { test -f "$additional_libdir/lib$name.$shlibext" \
13280 ||
{ test "$shlibext" = dll \
13281 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13282 found_dir
="$additional_libdir"
13283 if test -f "$additional_libdir/lib$name.$shlibext"; then
13284 found_so
="$additional_libdir/lib$name.$shlibext"
13286 found_so
="$additional_libdir/lib$name.dll.a"
13288 if test -f "$additional_libdir/lib$name.la"; then
13289 found_la
="$additional_libdir/lib$name.la"
13292 if test -f "$additional_libdir/lib$name.$libext"; then
13293 found_dir
="$additional_libdir"
13294 found_a
="$additional_libdir/lib$name.$libext"
13295 if test -f "$additional_libdir/lib$name.la"; then
13296 found_la
="$additional_libdir/lib$name.la"
13301 if test "X$found_dir" = "X"; then
13302 for x
in $LDFLAGS $LTLIBICONV; do
13304 acl_save_prefix
="$prefix"
13305 prefix
="$acl_final_prefix"
13306 acl_save_exec_prefix
="$exec_prefix"
13307 exec_prefix
="$acl_final_exec_prefix"
13309 exec_prefix
="$acl_save_exec_prefix"
13310 prefix
="$acl_save_prefix"
13314 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13315 if test -n "$shlibext" \
13316 && { test -f "$dir/lib$name.$shlibext" \
13317 ||
{ test "$shlibext" = dll \
13318 && test -f "$dir/lib$name.dll.a"; }; }; then
13320 if test -f "$dir/lib$name.$shlibext"; then
13321 found_so
="$dir/lib$name.$shlibext"
13323 found_so
="$dir/lib$name.dll.a"
13325 if test -f "$dir/lib$name.la"; then
13326 found_la
="$dir/lib$name.la"
13329 if test -f "$dir/lib$name.$libext"; then
13331 found_a
="$dir/lib$name.$libext"
13332 if test -f "$dir/lib$name.la"; then
13333 found_la
="$dir/lib$name.la"
13339 if test "X$found_dir" != "X"; then
13344 if test "X$found_dir" != "X"; then
13345 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13346 if test "X$found_so" != "X"; then
13347 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13348 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13351 for x
in $ltrpathdirs; do
13352 if test "X$x" = "X$found_dir"; then
13357 if test -z "$haveit"; then
13358 ltrpathdirs
="$ltrpathdirs $found_dir"
13360 if test "$hardcode_direct" = yes; then
13361 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13363 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13364 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13366 for x
in $rpathdirs; do
13367 if test "X$x" = "X$found_dir"; then
13372 if test -z "$haveit"; then
13373 rpathdirs
="$rpathdirs $found_dir"
13377 for x
in $LDFLAGS $LIBICONV; do
13379 acl_save_prefix
="$prefix"
13380 prefix
="$acl_final_prefix"
13381 acl_save_exec_prefix
="$exec_prefix"
13382 exec_prefix
="$acl_final_exec_prefix"
13384 exec_prefix
="$acl_save_exec_prefix"
13385 prefix
="$acl_save_prefix"
13387 if test "X$x" = "X-L$found_dir"; then
13392 if test -z "$haveit"; then
13393 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13395 if test "$hardcode_minus_L" != no
; then
13396 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13398 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13404 if test "X$found_a" != "X"; then
13405 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13407 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13410 additional_includedir
=
13411 case "$found_dir" in
13412 */$acl_libdirstem |
*/$acl_libdirstem/)
13413 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13414 additional_includedir
="$basedir/include"
13417 if test "X$additional_includedir" != "X"; then
13418 if test "X$additional_includedir" != "X/usr/include"; then
13420 if test "X$additional_includedir" = "X/usr/local/include"; then
13421 if test -n "$GCC"; then
13423 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13427 if test -z "$haveit"; then
13428 for x
in $CPPFLAGS $INCICONV; do
13430 acl_save_prefix
="$prefix"
13431 prefix
="$acl_final_prefix"
13432 acl_save_exec_prefix
="$exec_prefix"
13433 exec_prefix
="$acl_final_exec_prefix"
13435 exec_prefix
="$acl_save_exec_prefix"
13436 prefix
="$acl_save_prefix"
13438 if test "X$x" = "X-I$additional_includedir"; then
13443 if test -z "$haveit"; then
13444 if test -d "$additional_includedir"; then
13445 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13451 if test -n "$found_la"; then
13452 save_libdir
="$libdir"
13453 case "$found_la" in
13454 */* |
*\\*) .
"$found_la" ;;
13455 *) .
"./$found_la" ;;
13457 libdir
="$save_libdir"
13458 for dep
in $dependency_libs; do
13461 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13462 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13464 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13465 if test -n "$GCC"; then
13467 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13471 if test -z "$haveit"; then
13473 for x
in $LDFLAGS $LIBICONV; do
13475 acl_save_prefix
="$prefix"
13476 prefix
="$acl_final_prefix"
13477 acl_save_exec_prefix
="$exec_prefix"
13478 exec_prefix
="$acl_final_exec_prefix"
13480 exec_prefix
="$acl_save_exec_prefix"
13481 prefix
="$acl_save_prefix"
13483 if test "X$x" = "X-L$additional_libdir"; then
13488 if test -z "$haveit"; then
13489 if test -d "$additional_libdir"; then
13490 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13494 for x
in $LDFLAGS $LTLIBICONV; do
13496 acl_save_prefix
="$prefix"
13497 prefix
="$acl_final_prefix"
13498 acl_save_exec_prefix
="$exec_prefix"
13499 exec_prefix
="$acl_final_exec_prefix"
13501 exec_prefix
="$acl_save_exec_prefix"
13502 prefix
="$acl_save_prefix"
13504 if test "X$x" = "X-L$additional_libdir"; then
13509 if test -z "$haveit"; then
13510 if test -d "$additional_libdir"; then
13511 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13518 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13519 if test "$enable_rpath" != no
; then
13521 for x
in $rpathdirs; do
13522 if test "X$x" = "X$dir"; then
13527 if test -z "$haveit"; then
13528 rpathdirs
="$rpathdirs $dir"
13531 for x
in $ltrpathdirs; do
13532 if test "X$x" = "X$dir"; then
13537 if test -z "$haveit"; then
13538 ltrpathdirs
="$ltrpathdirs $dir"
13543 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13546 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13549 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
13550 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13556 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13557 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13563 if test "X$rpathdirs" != "X"; then
13564 if test -n "$hardcode_libdir_separator"; then
13566 for found_dir
in $rpathdirs; do
13567 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13569 acl_save_libdir
="$libdir"
13571 eval flag
=\"$hardcode_libdir_flag_spec\"
13572 libdir
="$acl_save_libdir"
13573 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13575 for found_dir
in $rpathdirs; do
13576 acl_save_libdir
="$libdir"
13577 libdir
="$found_dir"
13578 eval flag
=\"$hardcode_libdir_flag_spec\"
13579 libdir
="$acl_save_libdir"
13580 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13584 if test "X$ltrpathdirs" != "X"; then
13585 for found_dir
in $ltrpathdirs; do
13586 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13615 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13616 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
13617 $as_echo_n "(cached) " >&6
13619 gt_save_LIBS
="$LIBS"
13620 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
13621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13623 #include <CoreFoundation/CFPreferences.h>
13627 CFPreferencesCopyAppValue(NULL, NULL)
13632 if ac_fn_c_try_link
"$LINENO"; then :
13633 gt_cv_func_CFPreferencesCopyAppValue
=yes
13635 gt_cv_func_CFPreferencesCopyAppValue
=no
13637 rm -f core conftest.err conftest.
$ac_objext \
13638 conftest
$ac_exeext conftest.
$ac_ext
13639 LIBS
="$gt_save_LIBS"
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13642 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13643 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13645 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13649 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13650 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
13651 $as_echo_n "(cached) " >&6
13653 gt_save_LIBS
="$LIBS"
13654 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
13655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 #include <CoreFoundation/CFLocale.h>
13661 CFLocaleCopyCurrent();
13666 if ac_fn_c_try_link
"$LINENO"; then :
13667 gt_cv_func_CFLocaleCopyCurrent
=yes
13669 gt_cv_func_CFLocaleCopyCurrent
=no
13671 rm -f core conftest.err conftest.
$ac_objext \
13672 conftest
$ac_exeext conftest.
$ac_ext
13673 LIBS
="$gt_save_LIBS"
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13676 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13677 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13679 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13683 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13684 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
13696 case " $gt_needs " in
13697 *" need-formatstring-macros "*) gt_api_version
=3 ;;
13698 *" need-ngettext "*) gt_api_version
=2 ;;
13699 *) gt_api_version
=1 ;;
13701 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
13702 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
13704 if test "$USE_NLS" = "yes"; then
13705 gt_use_preinstalled_gnugettext
=no
13708 if test $gt_api_version -ge 3; then
13709 gt_revision_test_code
='
13710 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13711 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13713 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13716 gt_revision_test_code
=
13718 if test $gt_api_version -ge 2; then
13719 gt_expression_test_code
=' + * ngettext ("", "", 0)'
13721 gt_expression_test_code
=
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13725 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13726 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
13727 $as_echo_n "(cached) " >&6
13729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13731 #include <libintl.h>
13732 $gt_revision_test_code
13733 extern int _nl_msg_cat_cntr;
13734 extern int *_nl_domain_bindings;
13738 bindtextdomain ("", "");
13739 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13744 if ac_fn_c_try_link
"$LINENO"; then :
13745 eval "$gt_func_gnugettext_libc=yes"
13747 eval "$gt_func_gnugettext_libc=no"
13749 rm -f core conftest.err conftest.
$ac_objext \
13750 conftest
$ac_exeext conftest.
$ac_ext
13752 eval ac_res
=\$
$gt_func_gnugettext_libc
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13754 $as_echo "$ac_res" >&6; }
13756 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13762 am_save_CPPFLAGS
="$CPPFLAGS"
13764 for element
in $INCICONV; do
13766 for x
in $CPPFLAGS; do
13768 acl_save_prefix
="$prefix"
13769 prefix
="$acl_final_prefix"
13770 acl_save_exec_prefix
="$exec_prefix"
13771 exec_prefix
="$acl_final_exec_prefix"
13773 exec_prefix
="$acl_save_exec_prefix"
13774 prefix
="$acl_save_prefix"
13776 if test "X$x" = "X$element"; then
13781 if test -z "$haveit"; then
13782 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13788 $as_echo_n "checking for iconv... " >&6; }
13789 if ${am_cv_func_iconv+:} false
; then :
13790 $as_echo_n "(cached) " >&6
13793 am_cv_func_iconv
="no, consider installing GNU libiconv"
13795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 #include <stdlib.h>
13802 iconv_t cd = iconv_open("","");
13803 iconv(cd,NULL,NULL,NULL,NULL);
13809 if ac_fn_c_try_link
"$LINENO"; then :
13810 am_cv_func_iconv
=yes
13812 rm -f core conftest.err conftest.
$ac_objext \
13813 conftest
$ac_exeext conftest.
$ac_ext
13814 if test "$am_cv_func_iconv" != yes; then
13815 am_save_LIBS
="$LIBS"
13816 LIBS
="$LIBS $LIBICONV"
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13819 #include <stdlib.h>
13824 iconv_t cd = iconv_open("","");
13825 iconv(cd,NULL,NULL,NULL,NULL);
13831 if ac_fn_c_try_link
"$LINENO"; then :
13832 am_cv_lib_iconv
=yes
13833 am_cv_func_iconv
=yes
13835 rm -f core conftest.err conftest.
$ac_objext \
13836 conftest
$ac_exeext conftest.
$ac_ext
13837 LIBS
="$am_save_LIBS"
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13842 $as_echo "$am_cv_func_iconv" >&6; }
13843 if test "$am_cv_func_iconv" = yes; then
13845 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13848 if test "$am_cv_lib_iconv" = yes; then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13850 $as_echo_n "checking how to link with libiconv... " >&6; }
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13852 $as_echo "$LIBICONV" >&6; }
13854 CPPFLAGS
="$am_save_CPPFLAGS"
13867 acl_save_prefix
="$prefix"
13868 prefix
="$acl_final_prefix"
13869 acl_save_exec_prefix
="$exec_prefix"
13870 exec_prefix
="$acl_final_exec_prefix"
13872 eval additional_includedir
=\"$includedir\"
13873 eval additional_libdir
=\"$libdir\"
13875 exec_prefix
="$acl_save_exec_prefix"
13876 prefix
="$acl_save_prefix"
13879 # Check whether --with-libintl-prefix was given.
13880 if test "${with_libintl_prefix+set}" = set; then :
13881 withval
=$with_libintl_prefix;
13882 if test "X$withval" = "Xno"; then
13885 if test "X$withval" = "X"; then
13887 acl_save_prefix
="$prefix"
13888 prefix
="$acl_final_prefix"
13889 acl_save_exec_prefix
="$exec_prefix"
13890 exec_prefix
="$acl_final_exec_prefix"
13892 eval additional_includedir
=\"$includedir\"
13893 eval additional_libdir
=\"$libdir\"
13895 exec_prefix
="$acl_save_exec_prefix"
13896 prefix
="$acl_save_prefix"
13899 additional_includedir
="$withval/include"
13900 additional_libdir
="$withval/$acl_libdirstem"
13911 names_already_handled
=
13912 names_next_round
='intl '
13913 while test -n "$names_next_round"; do
13914 names_this_round
="$names_next_round"
13916 for name
in $names_this_round; do
13918 for n
in $names_already_handled; do
13919 if test "$n" = "$name"; then
13920 already_handled
=yes
13924 if test -z "$already_handled"; then
13925 names_already_handled
="$names_already_handled $name"
13926 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13927 eval value
=\"\
$HAVE_LIB$uppername\"
13928 if test -n "$value"; then
13929 if test "$value" = yes; then
13930 eval value
=\"\
$LIB$uppername\"
13931 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13932 eval value
=\"\
$LTLIB$uppername\"
13933 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13942 if test $use_additional = yes; then
13943 if test -n "$shlibext" \
13944 && { test -f "$additional_libdir/lib$name.$shlibext" \
13945 ||
{ test "$shlibext" = dll \
13946 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13947 found_dir
="$additional_libdir"
13948 if test -f "$additional_libdir/lib$name.$shlibext"; then
13949 found_so
="$additional_libdir/lib$name.$shlibext"
13951 found_so
="$additional_libdir/lib$name.dll.a"
13953 if test -f "$additional_libdir/lib$name.la"; then
13954 found_la
="$additional_libdir/lib$name.la"
13957 if test -f "$additional_libdir/lib$name.$libext"; then
13958 found_dir
="$additional_libdir"
13959 found_a
="$additional_libdir/lib$name.$libext"
13960 if test -f "$additional_libdir/lib$name.la"; then
13961 found_la
="$additional_libdir/lib$name.la"
13966 if test "X$found_dir" = "X"; then
13967 for x
in $LDFLAGS $LTLIBINTL; do
13969 acl_save_prefix
="$prefix"
13970 prefix
="$acl_final_prefix"
13971 acl_save_exec_prefix
="$exec_prefix"
13972 exec_prefix
="$acl_final_exec_prefix"
13974 exec_prefix
="$acl_save_exec_prefix"
13975 prefix
="$acl_save_prefix"
13979 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13980 if test -n "$shlibext" \
13981 && { test -f "$dir/lib$name.$shlibext" \
13982 ||
{ test "$shlibext" = dll \
13983 && test -f "$dir/lib$name.dll.a"; }; }; then
13985 if test -f "$dir/lib$name.$shlibext"; then
13986 found_so
="$dir/lib$name.$shlibext"
13988 found_so
="$dir/lib$name.dll.a"
13990 if test -f "$dir/lib$name.la"; then
13991 found_la
="$dir/lib$name.la"
13994 if test -f "$dir/lib$name.$libext"; then
13996 found_a
="$dir/lib$name.$libext"
13997 if test -f "$dir/lib$name.la"; then
13998 found_la
="$dir/lib$name.la"
14004 if test "X$found_dir" != "X"; then
14009 if test "X$found_dir" != "X"; then
14010 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14011 if test "X$found_so" != "X"; then
14012 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14013 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14016 for x
in $ltrpathdirs; do
14017 if test "X$x" = "X$found_dir"; then
14022 if test -z "$haveit"; then
14023 ltrpathdirs
="$ltrpathdirs $found_dir"
14025 if test "$hardcode_direct" = yes; then
14026 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14028 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14029 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14031 for x
in $rpathdirs; do
14032 if test "X$x" = "X$found_dir"; then
14037 if test -z "$haveit"; then
14038 rpathdirs
="$rpathdirs $found_dir"
14042 for x
in $LDFLAGS $LIBINTL; do
14044 acl_save_prefix
="$prefix"
14045 prefix
="$acl_final_prefix"
14046 acl_save_exec_prefix
="$exec_prefix"
14047 exec_prefix
="$acl_final_exec_prefix"
14049 exec_prefix
="$acl_save_exec_prefix"
14050 prefix
="$acl_save_prefix"
14052 if test "X$x" = "X-L$found_dir"; then
14057 if test -z "$haveit"; then
14058 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14060 if test "$hardcode_minus_L" != no
; then
14061 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14063 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14069 if test "X$found_a" != "X"; then
14070 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14072 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14075 additional_includedir
=
14076 case "$found_dir" in
14077 */$acl_libdirstem |
*/$acl_libdirstem/)
14078 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14079 additional_includedir
="$basedir/include"
14082 if test "X$additional_includedir" != "X"; then
14083 if test "X$additional_includedir" != "X/usr/include"; then
14085 if test "X$additional_includedir" = "X/usr/local/include"; then
14086 if test -n "$GCC"; then
14088 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14092 if test -z "$haveit"; then
14093 for x
in $CPPFLAGS $INCINTL; do
14095 acl_save_prefix
="$prefix"
14096 prefix
="$acl_final_prefix"
14097 acl_save_exec_prefix
="$exec_prefix"
14098 exec_prefix
="$acl_final_exec_prefix"
14100 exec_prefix
="$acl_save_exec_prefix"
14101 prefix
="$acl_save_prefix"
14103 if test "X$x" = "X-I$additional_includedir"; then
14108 if test -z "$haveit"; then
14109 if test -d "$additional_includedir"; then
14110 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14116 if test -n "$found_la"; then
14117 save_libdir
="$libdir"
14118 case "$found_la" in
14119 */* |
*\\*) .
"$found_la" ;;
14120 *) .
"./$found_la" ;;
14122 libdir
="$save_libdir"
14123 for dep
in $dependency_libs; do
14126 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14127 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14129 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14130 if test -n "$GCC"; then
14132 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14136 if test -z "$haveit"; then
14138 for x
in $LDFLAGS $LIBINTL; do
14140 acl_save_prefix
="$prefix"
14141 prefix
="$acl_final_prefix"
14142 acl_save_exec_prefix
="$exec_prefix"
14143 exec_prefix
="$acl_final_exec_prefix"
14145 exec_prefix
="$acl_save_exec_prefix"
14146 prefix
="$acl_save_prefix"
14148 if test "X$x" = "X-L$additional_libdir"; then
14153 if test -z "$haveit"; then
14154 if test -d "$additional_libdir"; then
14155 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14159 for x
in $LDFLAGS $LTLIBINTL; do
14161 acl_save_prefix
="$prefix"
14162 prefix
="$acl_final_prefix"
14163 acl_save_exec_prefix
="$exec_prefix"
14164 exec_prefix
="$acl_final_exec_prefix"
14166 exec_prefix
="$acl_save_exec_prefix"
14167 prefix
="$acl_save_prefix"
14169 if test "X$x" = "X-L$additional_libdir"; then
14174 if test -z "$haveit"; then
14175 if test -d "$additional_libdir"; then
14176 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14183 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14184 if test "$enable_rpath" != no
; then
14186 for x
in $rpathdirs; do
14187 if test "X$x" = "X$dir"; then
14192 if test -z "$haveit"; then
14193 rpathdirs
="$rpathdirs $dir"
14196 for x
in $ltrpathdirs; do
14197 if test "X$x" = "X$dir"; then
14202 if test -z "$haveit"; then
14203 ltrpathdirs
="$ltrpathdirs $dir"
14208 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14211 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14214 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14215 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14221 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14222 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14228 if test "X$rpathdirs" != "X"; then
14229 if test -n "$hardcode_libdir_separator"; then
14231 for found_dir
in $rpathdirs; do
14232 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14234 acl_save_libdir
="$libdir"
14236 eval flag
=\"$hardcode_libdir_flag_spec\"
14237 libdir
="$acl_save_libdir"
14238 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14240 for found_dir
in $rpathdirs; do
14241 acl_save_libdir
="$libdir"
14242 libdir
="$found_dir"
14243 eval flag
=\"$hardcode_libdir_flag_spec\"
14244 libdir
="$acl_save_libdir"
14245 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14249 if test "X$ltrpathdirs" != "X"; then
14250 for found_dir
in $ltrpathdirs; do
14251 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14256 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14257 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
14258 $as_echo_n "(cached) " >&6
14260 gt_save_CPPFLAGS
="$CPPFLAGS"
14261 CPPFLAGS
="$CPPFLAGS $INCINTL"
14262 gt_save_LIBS
="$LIBS"
14263 LIBS
="$LIBS $LIBINTL"
14264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14266 #include <libintl.h>
14267 $gt_revision_test_code
14268 extern int _nl_msg_cat_cntr;
14273 const char *_nl_expand_alias (const char *);
14277 bindtextdomain ("", "");
14278 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14283 if ac_fn_c_try_link
"$LINENO"; then :
14284 eval "$gt_func_gnugettext_libintl=yes"
14286 eval "$gt_func_gnugettext_libintl=no"
14288 rm -f core conftest.err conftest.
$ac_objext \
14289 conftest
$ac_exeext conftest.
$ac_ext
14290 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14291 LIBS
="$LIBS $LIBICONV"
14292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294 #include <libintl.h>
14295 $gt_revision_test_code
14296 extern int _nl_msg_cat_cntr;
14301 const char *_nl_expand_alias (const char *);
14305 bindtextdomain ("", "");
14306 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14311 if ac_fn_c_try_link
"$LINENO"; then :
14312 LIBINTL
="$LIBINTL $LIBICONV"
14313 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
14314 eval "$gt_func_gnugettext_libintl=yes"
14317 rm -f core conftest.err conftest.
$ac_objext \
14318 conftest
$ac_exeext conftest.
$ac_ext
14320 CPPFLAGS
="$gt_save_CPPFLAGS"
14321 LIBS
="$gt_save_LIBS"
14323 eval ac_res
=\$
$gt_func_gnugettext_libintl
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14325 $as_echo "$ac_res" >&6; }
14328 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14329 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14330 && test "$PACKAGE" != gettext-runtime \
14331 && test "$PACKAGE" != gettext-tools
; }; then
14332 gt_use_preinstalled_gnugettext
=yes
14341 if test -n "$INTL_MACOSX_LIBS"; then
14342 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14343 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14344 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
14345 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
14349 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14350 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14352 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14360 $as_echo_n "checking whether to use NLS... " >&6; }
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14362 $as_echo "$USE_NLS" >&6; }
14363 if test "$USE_NLS" = "yes"; then
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14365 $as_echo_n "checking where the gettext function comes from... " >&6; }
14366 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14367 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14368 gt_source
="external libintl"
14373 gt_source
="included intl directory"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14376 $as_echo "$gt_source" >&6; }
14379 if test "$USE_NLS" = "yes"; then
14381 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14382 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14384 $as_echo_n "checking how to link with libintl... " >&6; }
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14386 $as_echo "$LIBINTL" >&6; }
14388 for element
in $INCINTL; do
14390 for x
in $CPPFLAGS; do
14392 acl_save_prefix
="$prefix"
14393 prefix
="$acl_final_prefix"
14394 acl_save_exec_prefix
="$exec_prefix"
14395 exec_prefix
="$acl_final_exec_prefix"
14397 exec_prefix
="$acl_save_exec_prefix"
14398 prefix
="$acl_save_prefix"
14400 if test "X$x" = "X$element"; then
14405 if test -z "$haveit"; then
14406 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14413 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14416 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14425 INTLLIBS
="$LIBINTL"
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
14434 $as_echo_n "checking option: dmalloc enabled... " >&6; }
14435 # Check whether --enable-dmalloc was given.
14436 if test "${enable_dmalloc+set}" = set; then :
14437 enableval
=$enable_dmalloc;
14440 if test x
$enable_dmalloc = "xyes" ; then
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14442 $as_echo "yes" >&6; }
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14445 $as_echo "no" >&6; }
14449 # Check whether --with-dmalloc-dir was given.
14450 if test "${with_dmalloc_dir+set}" = set; then :
14451 withval
=$with_dmalloc_dir;
14452 if test "x$withval" != "xno" ; then
14453 enable_dmalloc
= "yes"
14454 CPPFLAGS
="$CPPFLAGS -I${withval}"
14455 LDFLAGS
="$LDFLAGS -L${withval}"
14461 if test x
$enable_dmalloc = "xyes" ; then
14463 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
14467 ALPINE_psefcmd
="/bin/ps auxww"
14468 ALPINE_psfailed
="0"
14471 # Check whether --with-ps-cmd was given.
14472 if test "${with_ps_cmd+set}" = set; then :
14473 withval
=$with_ps_cmd;
14474 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
14475 withval
=$ALPINE_psefcmd
14477 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
14478 if test -n "$ALPINE_PSTEST" ; then
14479 ALPINE_psefcmd
="$withval"
14481 ALPINE_psfailed
="1"
14482 if test "x$ALPINE_psefcmd" != "x$withval" ; then
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
14484 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
14490 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
14491 withval
="$ALPINE_psefcmd"
14492 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
14493 if test -z "$ALPINE_PSTEST" ; then
14494 ALPINE_psfailed
="1"
14496 ALPINE_psfailed
="0"
14499 if test "$ALPINE_psfailed" = "0" ; then
14501 cat >>confdefs.h
<<_ACEOF
14502 #define PSEFCMD "$ALPINE_psefcmd"
14509 if test -d /opt
/local ; then
14510 localedir
="/opt/local/share/locale"
14512 localedir
="\${datadir}/locale"
14516 localedir
="/usr/share"
14519 localedir
="\${datadir}/locale"
14524 # Check whether --with-localedir was given.
14525 if test "${with_localedir+set}" = set; then :
14526 withval
=$with_localedir;
14539 localedir
="$localedir"
14542 # Setup OS-Specific features
14545 # Check whether --enable-osx-universal-binaries was given.
14546 if test "${enable_osx_universal_binaries+set}" = set; then :
14547 enableval
=$enable_osx_universal_binaries;
14550 if test "x$enable_osx_universal_binaries" = "xyes" ; then
14551 if test "x$enable_dependency_tracking" != xno
; then
14552 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
14553 Please re-run configure with these options:
14554 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
14556 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
14557 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
14558 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
14559 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
14561 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
14563 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
14564 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
14565 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
14566 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
14567 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
14568 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
14574 # Check whether --with-include-path was given.
14575 if test "${with_include_path+set}" = set; then :
14576 withval
=$with_include_path;
14583 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
14584 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
14585 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
14593 # Check whether --with-lib-path was given.
14594 if test "${with_lib_path+set}" = set; then :
14595 withval
=$with_lib_path;
14602 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
14603 LDFLAGS
="$LDFLAGS $new_ldflags"
14604 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
14612 # Check whether --with-pubcookie was given.
14613 if test "${with_pubcookie+set}" = set; then :
14614 withval
=$with_pubcookie;
14615 if test "x$withval" != "xno" ; then
14616 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
14624 # Check whether --with-web-bin was given.
14625 if test "${with_web_bin+set}" = set; then :
14626 withval
=$with_web_bin;
14633 WEB_BINDIR
=$withval
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
14641 $as_echo_n "checking option: debugging is enabled... " >&6; }
14642 # Check whether --enable-debug was given.
14643 if test "${enable_debug+set}" = set; then :
14644 enableval
=$enable_debug;
14647 if test x
$enable_debug != "xno" ; then
14648 AM_CFLAGS
="$AM_CFLAGS -g"
14650 $as_echo "#define DEBUG 1" >>confdefs.h
14653 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14656 $as_echo "yes" >&6; }
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14659 $as_echo "no" >&6; }
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
14663 $as_echo_n "checking option: optimization is enabled... " >&6; }
14664 # Check whether --enable-optimization was given.
14665 if test "${enable_optimization+set}" = set; then :
14666 enableval
=$enable_optimization;
14669 if test x
$enable_optimization != "xno" ; then
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14671 $as_echo "yes" >&6; }
14673 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
14674 alpine_c_client_gccoptlevel
="-O0"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14676 $as_echo "no" >&6; }
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
14680 $as_echo_n "checking option: mouse support enabled... " >&6; }
14681 # Check whether --enable-mouse was given.
14682 if test "${enable_mouse+set}" = set; then :
14683 enableval
=$enable_mouse;
14686 if test x
$enable_mouse != "xno" ; then
14688 $as_echo "#define MOUSE /**/" >>confdefs.h
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14691 $as_echo "yes" >&6; }
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14694 $as_echo "no" >&6; }
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
14698 $as_echo_n "checking option: quotas enabled... " >&6; }
14699 # Check whether --enable-quotas was given.
14700 if test "${enable_quotas+set}" = set; then :
14701 enableval
=$enable_quotas;
14704 if test x
$enable_quotas = "xyes" ; then
14706 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14709 $as_echo "yes" >&6; }
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14712 $as_echo "no" >&6; }
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
14716 $as_echo_n "checking option: From changing enabled... " >&6; }
14717 # Check whether --enable-from_changing was given.
14718 if test "${enable_from_changing+set}" = set; then :
14719 enableval
=$enable_from_changing;
14722 if test x
$enable_from_changing != "xno" ; then
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14724 $as_echo "yes" >&6; }
14727 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14730 $as_echo "no" >&6; }
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
14734 $as_echo_n "checking option: background post enabled... " >&6; }
14735 # Check whether --enable-background-post was given.
14736 if test "${enable_background_post+set}" = set; then :
14737 enableval
=$enable_background_post;
14740 if test x
$enable_background_post != "xno" ; then
14742 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14745 $as_echo "yes" >&6; }
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14748 $as_echo "no" >&6; }
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
14752 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
14753 # Check whether --enable-keyboard-lock was given.
14754 if test "${enable_keyboard_lock+set}" = set; then :
14755 enableval
=$enable_keyboard_lock;
14758 if test x
$enable_keyboard_lock != "xno" ; then
14760 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14763 $as_echo "yes" >&6; }
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14766 $as_echo "no" >&6; }
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
14770 $as_echo_n "checking option: from encoding enabled... " >&6; }
14771 # Check whether --enable-from-encoding was given.
14772 if test "${enable_from_encoding+set}" = set; then :
14773 enableval
=$enable_from_encoding;
14776 if test x
$enable_from_encoding = "xyes" ; then
14778 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14781 $as_echo "yes" >&6; }
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14784 $as_echo "no" >&6; }
14788 # Check whether --with-smtp-msa was given.
14789 if test "${with_smtp_msa+set}" = set; then :
14790 withval
=$with_smtp_msa;
14795 # Extract the first word of "sendmail", so it can be a program name with args.
14796 set dummy sendmail
; ac_word
=$2
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14798 $as_echo_n "checking for $ac_word... " >&6; }
14799 if ${ac_cv_path_SENDMAIL+:} false
; then :
14800 $as_echo_n "(cached) " >&6
14804 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
14807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14808 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14809 for as_dir
in $as_dummy
14812 test -z "$as_dir" && as_dir
=.
14813 for ac_exec_ext
in '' $ac_executable_extensions; do
14814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14815 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
14816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14823 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
14827 SENDMAIL
=$ac_cv_path_SENDMAIL
14828 if test -n "$SENDMAIL"; then
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
14830 $as_echo "$SENDMAIL" >&6; }
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14833 $as_echo "no" >&6; }
14845 # Extract the first word of "sendmail", so it can be a program name with args.
14846 set dummy sendmail
; ac_word
=$2
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14848 $as_echo_n "checking for $ac_word... " >&6; }
14849 if ${ac_cv_path_SENDMAIL+:} false
; then :
14850 $as_echo_n "(cached) " >&6
14854 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
14857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14858 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14859 for as_dir
in $as_dummy
14862 test -z "$as_dir" && as_dir
=.
14863 for ac_exec_ext
in '' $ac_executable_extensions; do
14864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14865 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
14866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14873 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
14877 SENDMAIL
=$ac_cv_path_SENDMAIL
14878 if test -n "$SENDMAIL"; then
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
14880 $as_echo "$SENDMAIL" >&6; }
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14883 $as_echo "no" >&6; }
14890 if test -n "$SENDMAIL" ; then
14892 cat >>confdefs.h
<<_ACEOF
14893 #define SENDMAIL "$SENDMAIL"
14898 smtp_msa_flags
="-bs -odb -oem"
14900 # Check whether --with-smtp-msa-flags was given.
14901 if test "${with_smtp_msa_flags+set}" = set; then :
14902 withval
=$with_smtp_msa_flags;
14903 if test "x$withval" != "xno" ; then
14904 smtp_msa_flags
=$withval
14910 cat >>confdefs.h
<<_ACEOF
14911 #define SENDMAILFLAGS "$smtp_msa_flags"
14917 # Check whether --with-npa was given.
14918 if test "${with_npa+set}" = set; then :
14924 # Extract the first word of "inews", so it can be a program name with args.
14925 set dummy inews
; ac_word
=$2
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14927 $as_echo_n "checking for $ac_word... " >&6; }
14928 if ${ac_cv_path_NPA_PROG+:} false
; then :
14929 $as_echo_n "(cached) " >&6
14933 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
14936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14937 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14938 for as_dir
in $as_dummy
14941 test -z "$as_dir" && as_dir
=.
14942 for ac_exec_ext
in '' $ac_executable_extensions; do
14943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14944 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
14945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14952 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
14956 NPA_PROG
=$ac_cv_path_NPA_PROG
14957 if test -n "$NPA_PROG"; then
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
14959 $as_echo "$NPA_PROG" >&6; }
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14962 $as_echo "no" >&6; }
14974 # Extract the first word of "inews", so it can be a program name with args.
14975 set dummy inews
; ac_word
=$2
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14977 $as_echo_n "checking for $ac_word... " >&6; }
14978 if ${ac_cv_path_NPA_PROG+:} false
; then :
14979 $as_echo_n "(cached) " >&6
14983 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
14986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14987 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14988 for as_dir
in $as_dummy
14991 test -z "$as_dir" && as_dir
=.
14992 for ac_exec_ext
in '' $ac_executable_extensions; do
14993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14994 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
14995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15002 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15006 NPA_PROG
=$ac_cv_path_NPA_PROG
15007 if test -n "$NPA_PROG"; then
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15009 $as_echo "$NPA_PROG" >&6; }
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15012 $as_echo "no" >&6; }
15022 # Check whether --with-npa-flags was given.
15023 if test "${with_npa_flags+set}" = set; then :
15024 withval
=$with_npa_flags;
15025 if test "x$withval" != "xno" ; then
15031 if test -n "$NPA_PROG" ; then
15033 cat >>confdefs.h
<<_ACEOF
15034 #define SENDNEWS "$NPA_PROG $npa_flags"
15040 # Check whether --with-password-prog was given.
15041 if test "${with_password_prog+set}" = set; then :
15042 withval
=$with_password_prog;
15047 # Extract the first word of "passwd", so it can be a program name with args.
15048 set dummy passwd
; ac_word
=$2
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15050 $as_echo_n "checking for $ac_word... " >&6; }
15051 if ${ac_cv_path_PWPROG+:} false
; then :
15052 $as_echo_n "(cached) " >&6
15056 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15060 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15061 for as_dir
in $as_dummy
15064 test -z "$as_dir" && as_dir
=.
15065 for ac_exec_ext
in '' $ac_executable_extensions; do
15066 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15067 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15075 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15079 PWPROG
=$ac_cv_path_PWPROG
15080 if test -n "$PWPROG"; then
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15082 $as_echo "$PWPROG" >&6; }
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15085 $as_echo "no" >&6; }
15091 # Extract the first word of "$withval", so it can be a program name with args.
15092 set dummy
$withval; ac_word
=$2
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15094 $as_echo_n "checking for $ac_word... " >&6; }
15095 if ${ac_cv_path_PWPROG+:} false
; then :
15096 $as_echo_n "(cached) " >&6
15100 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15104 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15105 for as_dir
in $as_dummy
15108 test -z "$as_dir" && as_dir
=.
15109 for ac_exec_ext
in '' $ac_executable_extensions; do
15110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15111 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15119 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15123 PWPROG
=$ac_cv_path_PWPROG
15124 if test -n "$PWPROG"; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15126 $as_echo "$PWPROG" >&6; }
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15129 $as_echo "no" >&6; }
15138 # Extract the first word of "passwd", so it can be a program name with args.
15139 set dummy passwd
; ac_word
=$2
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15141 $as_echo_n "checking for $ac_word... " >&6; }
15142 if ${ac_cv_path_PWPROG+:} false
; then :
15143 $as_echo_n "(cached) " >&6
15147 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15151 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15152 for as_dir
in $as_dummy
15155 test -z "$as_dir" && as_dir
=.
15156 for ac_exec_ext
in '' $ac_executable_extensions; do
15157 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15158 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15166 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15170 PWPROG
=$ac_cv_path_PWPROG
15171 if test -n "$PWPROG"; then
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15173 $as_echo "$PWPROG" >&6; }
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15176 $as_echo "no" >&6; }
15183 if test -n "$PWPROG" ; then
15185 cat >>confdefs.h
<<_ACEOF
15186 #define PASSWD_PROG "$PWPROG"
15192 # Check whether --with-simple-spellcheck was given.
15193 if test "${with_simple_spellcheck+set}" = set; then :
15194 withval
=$with_simple_spellcheck;
15195 if test "x$withval" != "xno" ; then
15201 # Extract the first word of "hunspell", so it can be a program name with args.
15202 set dummy hunspell
; ac_word
=$2
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15204 $as_echo_n "checking for $ac_word... " >&6; }
15205 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15206 $as_echo_n "(cached) " >&6
15208 if test -n "$SPELLPROG"; then
15209 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15212 for as_dir
in $PATH
15215 test -z "$as_dir" && as_dir
=.
15216 for ac_exec_ext
in '' $ac_executable_extensions; do
15217 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15218 ac_cv_prog_SPELLPROG
="hunspell"
15219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15228 SPELLPROG
=$ac_cv_prog_SPELLPROG
15229 if test -n "$SPELLPROG"; then
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15231 $as_echo "$SPELLPROG" >&6; }
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15234 $as_echo "no" >&6; }
15238 if test -z "$SPELLPROG" ; then
15239 # Extract the first word of "aspell", so it can be a program name with args.
15240 set dummy aspell
; ac_word
=$2
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15242 $as_echo_n "checking for $ac_word... " >&6; }
15243 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15244 $as_echo_n "(cached) " >&6
15246 if test -n "$SPELLPROG"; then
15247 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15250 for as_dir
in $PATH
15253 test -z "$as_dir" && as_dir
=.
15254 for ac_exec_ext
in '' $ac_executable_extensions; do
15255 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15256 ac_cv_prog_SPELLPROG
="aspell"
15257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15266 SPELLPROG
=$ac_cv_prog_SPELLPROG
15267 if test -n "$SPELLPROG"; then
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15269 $as_echo "$SPELLPROG" >&6; }
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15272 $as_echo "no" >&6; }
15276 if test -z "$SPELLPROG" ; then
15277 # Extract the first word of "ispell", so it can be a program name with args.
15278 set dummy ispell
; ac_word
=$2
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15280 $as_echo_n "checking for $ac_word... " >&6; }
15281 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15282 $as_echo_n "(cached) " >&6
15284 if test -n "$SPELLPROG"; then
15285 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15288 for as_dir
in $PATH
15291 test -z "$as_dir" && as_dir
=.
15292 for ac_exec_ext
in '' $ac_executable_extensions; do
15293 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15294 ac_cv_prog_SPELLPROG
="ispell"
15295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15304 SPELLPROG
=$ac_cv_prog_SPELLPROG
15305 if test -n "$SPELLPROG"; then
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15307 $as_echo "$SPELLPROG" >&6; }
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15310 $as_echo "no" >&6; }
15314 if test -z "$SPELLPROG" ; then
15323 if test "x$SPELLPROG" != "xno" ; then
15324 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
15325 set dummy
$SPELLPROG; ac_word
=$2
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15327 $as_echo_n "checking for $ac_word... " >&6; }
15328 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
15329 $as_echo_n "(cached) " >&6
15331 case $alpine_simple_spellcheck in
15333 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
15336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15337 for as_dir
in $PATH
15340 test -z "$as_dir" && as_dir
=.
15341 for ac_exec_ext
in '' $ac_executable_extensions; do
15342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15343 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
15344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15354 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
15355 if test -n "$alpine_simple_spellcheck"; then
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
15357 $as_echo "$alpine_simple_spellcheck" >&6; }
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15360 $as_echo "no" >&6; }
15364 if test -n "$alpine_simple_spellcheck" ; then
15365 case "$SPELLPROG" in
15367 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15370 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
15373 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15382 # Check whether --with-interactive-spellcheck was given.
15383 if test "${with_interactive_spellcheck+set}" = set; then :
15384 withval
=$with_interactive_spellcheck;
15385 if test "x$withval" != "xno" ; then
15386 ISPELLPROG
=$withval
15391 # Extract the first word of "hunspell", so it can be a program name with args.
15392 set dummy hunspell
; ac_word
=$2
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15394 $as_echo_n "checking for $ac_word... " >&6; }
15395 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
15396 $as_echo_n "(cached) " >&6
15398 if test -n "$ISPELLPROG"; then
15399 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
15401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15402 for as_dir
in $PATH
15405 test -z "$as_dir" && as_dir
=.
15406 for ac_exec_ext
in '' $ac_executable_extensions; do
15407 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15408 ac_cv_prog_ISPELLPROG
="hunspell"
15409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15418 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
15419 if test -n "$ISPELLPROG"; then
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
15421 $as_echo "$ISPELLPROG" >&6; }
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15424 $as_echo "no" >&6; }
15428 if test -z "$ISPELLPROG" ; then
15429 # Extract the first word of "aspell", so it can be a program name with args.
15430 set dummy aspell
; ac_word
=$2
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15432 $as_echo_n "checking for $ac_word... " >&6; }
15433 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
15434 $as_echo_n "(cached) " >&6
15436 if test -n "$ISPELLPROG"; then
15437 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
15439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15440 for as_dir
in $PATH
15443 test -z "$as_dir" && as_dir
=.
15444 for ac_exec_ext
in '' $ac_executable_extensions; do
15445 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15446 ac_cv_prog_ISPELLPROG
="aspell"
15447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15456 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
15457 if test -n "$ISPELLPROG"; then
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
15459 $as_echo "$ISPELLPROG" >&6; }
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15462 $as_echo "no" >&6; }
15466 if test -z "$SPELLPROG" ; then
15467 ISPELLPROG
="ispell"
15474 if test "x$ISPELLPROG" != "xno" ; then
15475 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
15476 set dummy
$ISPELLPROG; ac_word
=$2
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15478 $as_echo_n "checking for $ac_word... " >&6; }
15479 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
15480 $as_echo_n "(cached) " >&6
15482 case $alpine_interactive_spellcheck in
15484 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
15487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15488 for as_dir
in $PATH
15491 test -z "$as_dir" && as_dir
=.
15492 for ac_exec_ext
in '' $ac_executable_extensions; do
15493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15494 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
15495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15505 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
15506 if test -n "$alpine_interactive_spellcheck"; then
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
15508 $as_echo "$alpine_interactive_spellcheck" >&6; }
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15511 $as_echo "no" >&6; }
15515 if test -n "$alpine_interactive_spellcheck" ; then
15516 case "$ISPELLPROG" in
15518 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
15526 if test -n "$alpine_interactive_spellcheck" ; then
15528 cat >>confdefs.h
<<_ACEOF
15529 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
15534 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
15535 alpine_simple_spellcheck
=test
15538 cat >>confdefs.h
<<_ACEOF
15539 #define SPELLER "$alpine_simple_spellcheck"
15544 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
15545 *) dpv
=${prefix}/lib
/pine.conf
;;
15548 # Check whether --with-system-pinerc was given.
15549 if test "${with_system_pinerc+set}" = set; then :
15550 withval
=$with_system_pinerc;
15564 cat >>confdefs.h
<<_ACEOF
15565 #define SYSTEM_PINERC "$dpv"
15570 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
15571 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
15574 # Check whether --with-system-fixed-pinerc was given.
15575 if test "${with_system_fixed_pinerc+set}" = set; then :
15576 withval
=$with_system_fixed_pinerc;
15590 cat >>confdefs.h
<<_ACEOF
15591 #define SYSTEM_PINERC_FIXED "$dpv"
15596 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
15597 *) dpv
=${prefix}/lib
/pine.info
;;
15600 # Check whether --with-local-support-info was given.
15601 if test "${with_local_support_info+set}" = set; then :
15602 withval
=$with_local_support_info;
15616 cat >>confdefs.h
<<_ACEOF
15617 #define SYSTEM_PINE_INFO_PATH "$dpv"
15628 # Check whether --with-mailcheck-interval was given.
15629 if test "${with_mailcheck_interval+set}" = set; then :
15630 withval
=$with_mailcheck_interval;
15631 if test "x$withval" != "xno" ; then
15638 cat >>confdefs.h
<<_ACEOF
15639 #define DF_MAILCHECK "$dpv"
15646 # Check whether --with-checkpoint-interval was given.
15647 if test "${with_checkpoint_interval+set}" = set; then :
15648 withval
=$with_checkpoint_interval;
15649 if test "x$withval" != "xno" ; then
15656 cat >>confdefs.h
<<_ACEOF
15657 #define CHECK_POINT_TIME $dpv
15664 # Check whether --with-checkpoint-frequency was given.
15665 if test "${with_checkpoint_frequency+set}" = set; then :
15666 withval
=$with_checkpoint_frequency;
15667 if test "x$withval" != "xno" ; then
15674 cat >>confdefs.h
<<_ACEOF
15675 #define CHECK_POINT_FREQ $dpv
15682 # Check whether --with-display-rows was given.
15683 if test "${with_display_rows+set}" = set; then :
15684 withval
=$with_display_rows;
15685 if test "x$withval" != "xno" ; then
15692 cat >>confdefs.h
<<_ACEOF
15693 #define DEFAULT_LINES_ON_TERMINAL $dpv
15700 # Check whether --with-display-columns was given.
15701 if test "${with_display_columns+set}" = set; then :
15702 withval
=$with_display_columns;
15703 if test "x$withval" != "xno" ; then
15710 cat >>confdefs.h
<<_ACEOF
15711 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
15718 # Check whether --with-max-display-rows was given.
15719 if test "${with_max_display_rows+set}" = set; then :
15720 withval
=$with_max_display_rows;
15721 if test "x$withval" != "xno" ; then
15728 cat >>confdefs.h
<<_ACEOF
15729 #define MAX_SCREEN_ROWS $dpv
15736 # Check whether --with-max-display-columns was given.
15737 if test "${with_max_display_columns+set}" = set; then :
15738 withval
=$with_max_display_columns;
15739 if test "x$withval" != "xno" ; then
15746 cat >>confdefs.h
<<_ACEOF
15747 #define MAX_SCREEN_COLS $dpv
15754 # Check whether --with-fill-column was given.
15755 if test "${with_fill_column+set}" = set; then :
15756 withval
=$with_fill_column;
15757 if test "x$withval" != "xno" ; then
15764 cat >>confdefs.h
<<_ACEOF
15765 #define DF_FILLCOL "$dpv"
15772 # Check whether --with-max_fill-column was given.
15773 if test "${with_max_fill_column+set}" = set; then :
15774 withval
=$with_max_fill_column;
15775 if test "x$withval" != "xno" ; then
15782 cat >>confdefs.h
<<_ACEOF
15783 #define MAX_FILLCOL $dpv
15790 # Check whether --with-debug-level was given.
15791 if test "${with_debug_level+set}" = set; then :
15792 withval
=$with_debug_level;
15793 if test "x$withval" != "xno" ; then
15800 cat >>confdefs.h
<<_ACEOF
15801 #define DEFAULT_DEBUG $dpv
15808 # Check whether --with-debug-files was given.
15809 if test "${with_debug_files+set}" = set; then :
15810 withval
=$with_debug_files;
15811 if test "x$withval" != "xno" ; then
15818 cat >>confdefs.h
<<_ACEOF
15819 #define NUMDEBUGFILES $dpv
15826 # Check whether --with-debug-file was given.
15827 if test "${with_debug_file+set}" = set; then :
15828 withval
=$with_debug_file;
15829 if test "x$withval" != "xno" ; then
15836 cat >>confdefs.h
<<_ACEOF
15837 #define DEBUGFILE "$dpv"
15844 # Check whether --with-forwarded-keyword was given.
15845 if test "${with_forwarded_keyword+set}" = set; then :
15846 withval
=$with_forwarded_keyword;
15847 if test "x$withval" != "xno" ; then
15854 cat >>confdefs.h
<<_ACEOF
15855 #define FORWARDED_FLAG "$dpv"
15862 # Check whether --with-display-overlap was given.
15863 if test "${with_display_overlap+set}" = set; then :
15864 withval
=$with_display_overlap;
15865 if test "x$withval" != "xno" ; then
15872 cat >>confdefs.h
<<_ACEOF
15873 #define DF_OVERLAP "$dpv"
15880 # Check whether --with-display-margin was given.
15881 if test "${with_display_margin+set}" = set; then :
15882 withval
=$with_display_margin;
15883 if test "x$withval" != "xno" ; then
15890 cat >>confdefs.h
<<_ACEOF
15891 #define DF_MARGIN "$dpv"
15898 # Check whether --with-default-fcc was given.
15899 if test "${with_default_fcc+set}" = set; then :
15900 withval
=$with_default_fcc;
15901 if test "x$withval" != "xno" ; then
15908 cat >>confdefs.h
<<_ACEOF
15909 #define DF_DEFAULT_FCC "$dpv"
15916 # Check whether --with-default-save-folder was given.
15917 if test "${with_default_save_folder+set}" = set; then :
15918 withval
=$with_default_save_folder;
15919 if test "x$withval" != "xno" ; then
15926 cat >>confdefs.h
<<_ACEOF
15927 #define DEFAULT_SAVE "$dpv"
15934 # Check whether --with-default-legacy-postponed-folder was given.
15935 if test "${with_default_legacy_postponed_folder+set}" = set; then :
15936 withval
=$with_default_legacy_postponed_folder;
15937 if test "x$withval" != "xno" ; then
15944 cat >>confdefs.h
<<_ACEOF
15945 #define POSTPONED_MAIL "$dpv"
15952 # Check whether --with-default-postponed-folder was given.
15953 if test "${with_default_postponed_folder+set}" = set; then :
15954 withval
=$with_default_postponed_folder;
15955 if test "x$withval" != "xno" ; then
15962 cat >>confdefs.h
<<_ACEOF
15963 #define POSTPONED_MSGS "$dpv"
15970 # Check whether --with-default-trash-folder was given.
15971 if test "${with_default_trash_folder+set}" = set; then :
15972 withval
=$with_default_trash_folder;
15973 if test "x$withval" != "xno" ; then
15980 cat >>confdefs.h
<<_ACEOF
15981 #define TRASH_FOLDER "$dpv"
15986 dpv
=.pine-interrupted-mail
15988 # Check whether --with-default-interrupted-mail was given.
15989 if test "${with_default_interrupted_mail+set}" = set; then :
15990 withval
=$with_default_interrupted_mail;
15991 if test "x$withval" != "xno" ; then
15998 cat >>confdefs.h
<<_ACEOF
15999 #define INTERRUPTED_MAIL "$dpv"
16006 # Check whether --with-default-dead-letter-folder was given.
16007 if test "${with_default_dead_letter_folder+set}" = set; then :
16008 withval
=$with_default_dead_letter_folder;
16009 if test "x$withval" != "xno" ; then
16016 cat >>confdefs.h
<<_ACEOF
16017 #define DEADLETTER "$dpv"
16024 # Check whether --with-default-mail-directory was given.
16025 if test "${with_default_mail_directory+set}" = set; then :
16026 withval
=$with_default_mail_directory;
16027 if test "x$withval" != "xno" ; then
16034 cat >>confdefs.h
<<_ACEOF
16035 #define DF_MAIL_DIRECTORY "$dpv"
16042 # Check whether --with-default-inbox-name was given.
16043 if test "${with_default_inbox_name+set}" = set; then :
16044 withval
=$with_default_inbox_name;
16045 if test "x$withval" != "xno" ; then
16052 cat >>confdefs.h
<<_ACEOF
16053 #define INBOX_NAME "$dpv"
16060 # Check whether --with-default-signature-file was given.
16061 if test "${with_default_signature_file+set}" = set; then :
16062 withval
=$with_default_signature_file;
16063 if test "x$withval" != "xno" ; then
16070 cat >>confdefs.h
<<_ACEOF
16071 #define DF_SIGNATURE_FILE "$dpv"
16078 # Check whether --with-default-elm-style-save was given.
16079 if test "${with_default_elm_style_save+set}" = set; then :
16080 withval
=$with_default_elm_style_save;
16081 if test "x$withval" != "xno" ; then
16088 cat >>confdefs.h
<<_ACEOF
16089 #define DF_ELM_STYLE_SAVE "$dpv"
16096 # Check whether --with-default-header-in-reply was given.
16097 if test "${with_default_header_in_reply+set}" = set; then :
16098 withval
=$with_default_header_in_reply;
16099 if test "x$withval" != "xno" ; then
16106 cat >>confdefs.h
<<_ACEOF
16107 #define DF_HEADER_IN_REPLY "$dpv"
16114 # Check whether --with-default-old-style-reply was given.
16115 if test "${with_default_old_style_reply+set}" = set; then :
16116 withval
=$with_default_old_style_reply;
16117 if test "x$withval" != "xno" ; then
16124 cat >>confdefs.h
<<_ACEOF
16125 #define DF_OLD_STYLE_REPLY "$dpv"
16132 # Check whether --with-default-use-only-domain-name was given.
16133 if test "${with_default_use_only_domain_name+set}" = set; then :
16134 withval
=$with_default_use_only_domain_name;
16135 if test "x$withval" != "xno" ; then
16142 cat >>confdefs.h
<<_ACEOF
16143 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
16150 # Check whether --with-default-save-by-sender was given.
16151 if test "${with_default_save_by_sender+set}" = set; then :
16152 withval
=$with_default_save_by_sender;
16153 if test "x$withval" != "xno" ; then
16160 cat >>confdefs.h
<<_ACEOF
16161 #define DF_SAVE_BY_SENDER "$dpv"
16168 # Check whether --with-default-sort-key was given.
16169 if test "${with_default_sort_key+set}" = set; then :
16170 withval
=$with_default_sort_key;
16171 if test "x$withval" != "xno" ; then
16178 cat >>confdefs.h
<<_ACEOF
16179 #define DF_SORT_KEY "$dpv"
16184 dpv
=fullname-with-lists-last
16186 # Check whether --with-default-addressbook-sort-rule was given.
16187 if test "${with_default_addressbook_sort_rule+set}" = set; then :
16188 withval
=$with_default_addressbook_sort_rule;
16189 if test "x$withval" != "xno" ; then
16196 cat >>confdefs.h
<<_ACEOF
16197 #define DF_AB_SORT_RULE "$dpv"
16204 # Check whether --with-default-folder-sort-rule was given.
16205 if test "${with_default_folder_sort_rule+set}" = set; then :
16206 withval
=$with_default_folder_sort_rule;
16207 if test "x$withval" != "xno" ; then
16214 cat >>confdefs.h
<<_ACEOF
16215 #define DF_FLD_SORT_RULE "$dpv"
16222 # Check whether --with-default-saved-message-name-rule was given.
16223 if test "${with_default_saved_message_name_rule+set}" = set; then :
16224 withval
=$with_default_saved_message_name_rule;
16225 if test "x$withval" != "xno" ; then
16232 cat >>confdefs.h
<<_ACEOF
16233 #define DF_SAVED_MSG_NAME_RULE "$dpv"
16240 # Check whether --with-default-fcc-rule was given.
16241 if test "${with_default_fcc_rule+set}" = set; then :
16242 withval
=$with_default_fcc_rule;
16243 if test "x$withval" != "xno" ; then
16250 cat >>confdefs.h
<<_ACEOF
16251 #define DF_FCC_RULE "$dpv"
16258 # Check whether --with-default-standard-printer was given.
16259 if test "${with_default_standard_printer+set}" = set; then :
16260 withval
=$with_default_standard_printer;
16261 if test "x$withval" != "xno" ; then
16268 cat >>confdefs.h
<<_ACEOF
16269 #define DF_STANDARD_PRINTER "$dpv"
16274 dpv
=attached-to-ansi
16276 # Check whether --with-default-ansi-printer was given.
16277 if test "${with_default_ansi_printer+set}" = set; then :
16278 withval
=$with_default_ansi_printer;
16279 if test "x$withval" != "xno" ; then
16286 cat >>confdefs.h
<<_ACEOF
16287 #define ANSI_PRINTER "$dpv"
16294 # Check whether --with-default-addressbook was given.
16295 if test "${with_default_addressbook+set}" = set; then :
16296 withval
=$with_default_addressbook;
16297 if test "x$withval" != "xno" ; then
16304 cat >>confdefs.h
<<_ACEOF
16305 #define DF_ADDRESSBOOK "$dpv"
16310 dpv
="Local Support"
16312 # Check whether --with-default-local-fullname was given.
16313 if test "${with_default_local_fullname+set}" = set; then :
16314 withval
=$with_default_local_fullname;
16315 if test "x$withval" != "xno" ; then
16322 cat >>confdefs.h
<<_ACEOF
16323 #define DF_LOCAL_FULLNAME "$dpv"
16330 # Check whether --with-default-local-address was given.
16331 if test "${with_default_local_address+set}" = set; then :
16332 withval
=$with_default_local_address;
16333 if test "x$withval" != "xno" ; then
16340 cat >>confdefs.h
<<_ACEOF
16341 #define DF_LOCAL_ADDRESS "$dpv"
16348 # Check whether --with-default-keyboard-lock-count was given.
16349 if test "${with_default_keyboard_lock_count+set}" = set; then :
16350 withval
=$with_default_keyboard_lock_count;
16351 if test "x$withval" != "xno" ; then
16358 cat >>confdefs.h
<<_ACEOF
16359 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
16366 # Check whether --with-default-remote-addressbook-history was given.
16367 if test "${with_default_remote_addressbook_history+set}" = set; then :
16368 withval
=$with_default_remote_addressbook_history;
16369 if test "x$withval" != "xno" ; then
16376 cat >>confdefs.h
<<_ACEOF
16377 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
16382 dpv
=.alpine-smime
/public
16384 # Check whether --with-smime-public-cert-directory was given.
16385 if test "${with_smime_public_cert_directory+set}" = set; then :
16386 withval
=$with_smime_public_cert_directory;
16387 if test "x$withval" != "xno" ; then
16394 cat >>confdefs.h
<<_ACEOF
16395 #define DF_PUBLICCERT_DIR "$dpv"
16400 dpv
=.alpine-smime
/private
16402 # Check whether --with-smime-private-key-directory was given.
16403 if test "${with_smime_private_key_directory+set}" = set; then :
16404 withval
=$with_smime_private_key_directory;
16405 if test "x$withval" != "xno" ; then
16412 cat >>confdefs.h
<<_ACEOF
16413 #define DF_PRIVATEKEY_DIR "$dpv"
16418 dpv
=.alpine-smime
/ca
16420 # Check whether --with-smime-cacert-directory was given.
16421 if test "${with_smime_cacert_directory+set}" = set; then :
16422 withval
=$with_smime_cacert_directory;
16423 if test "x$withval" != "xno" ; then
16430 cat >>confdefs.h
<<_ACEOF
16431 #define DF_CACERT_DIR "$dpv"
16438 # Check whether --with-default-printer was given.
16439 if test "${with_default_printer+set}" = set; then :
16440 withval
=$with_default_printer;
16441 if test "x$withval" != "xno" ; then
16448 cat >>confdefs.h
<<_ACEOF
16449 #define DF_DEFAULT_PRINTER $dpv
16455 cat >>confdefs.h
<<_ACEOF
16456 #define DF_PUBLIC_CONTAINER "PublicContainer"
16460 cat >>confdefs.h
<<_ACEOF
16461 #define DF_PRIVATE_CONTAINER "PrivateContainer"
16465 cat >>confdefs.h
<<_ACEOF
16466 #define DF_CA_CONTAINER "CAContainer"
16471 # Check whether --with-passfile was given.
16472 if test "${with_passfile+set}" = set; then :
16473 withval
=$with_passfile;
16480 alpine_PASSFILE
=$withval
16489 # Check whether --with-local-password-cache was given.
16490 if test "${with_local_password_cache+set}" = set; then :
16491 withval
=$with_local_password_cache;
16492 alpine_os_credential_cache
=$withval
16498 # Check whether --with-local-password-cache-method was given.
16499 if test "${with_local_password_cache_method+set}" = set; then :
16500 withval
=$with_local_password_cache_method;
16501 alpine_os_credential_cache_method
=$withval
16506 if test -n "$alpine_PASSFILE" ; then
16507 case $alpine_os_credential_cache in
16511 alpine_os_credential_cache
="no"
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
16513 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
16517 cat >>confdefs.h
<<_ACEOF
16518 #define PASSFILE "$alpine_PASSFILE"
16524 # Check whether --with-default-sshpath was given.
16525 if test "${with_default_sshpath+set}" = set; then :
16526 withval
=$with_default_sshpath;
16534 cat >>confdefs.h
<<_ACEOF
16535 #define DF_SSHPATH "$withval"
16545 # Check whether --with-default-sshcmd was given.
16546 if test "${with_default_sshcmd+set}" = set; then :
16547 withval
=$with_default_sshcmd;
16555 cat >>confdefs.h
<<_ACEOF
16556 #define DF_SSHCMD "$withval"
16566 # Check whether --with-ssl was given.
16567 if test "${with_ssl+set}" = set; then :
16568 withval
=$with_ssl; with_ssl
=$withval
16572 if test "x$with_ssl" = "xno" ; then
16573 alpine_SSLTYPE
="none"
16574 elif test -d /usr
/local
/ssl
; then
16575 alpine_SSLDIR
="/usr/local/ssl"
16576 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
16577 alpine_SSLLIB
="$alpine_SSLDIR/lib"
16580 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
16581 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
16582 alpine_SSLTYPE
="nopwd"
16583 if test -d /etc
/pki
/tls
; then
16584 alpine_SSLDIR
="/etc/pki/tls"
16586 alpine_SSLDIR
="/usr/share/ssl"
16588 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16589 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16590 alpine_SSLINCLUDE
="/usr/include/openssl"
16591 alpine_SSLLIB
="/usr/lib"
16592 elif test -f /etc
/mandrake-release
; then
16593 alpine_SSLDIR
="/usr/lib/ssl"
16594 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16595 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16596 alpine_SSLINCLUDE
="/usr/include/openssl"
16597 alpine_SSLLIB
="/usr/lib"
16598 elif test -f /etc
/SuSE-release
; then
16599 alpine_SSLTYPE
="nopwd"
16600 alpine_SSLDIR
="/etc/ssl"
16601 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16602 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16603 alpine_SSLINCLUDE
="/usr/include/openssl"
16604 alpine_SSLLIB
="/usr/lib"
16605 elif test -d /etc
/osso-af-init
; then
16606 alpine_SSLTYPE
="nopwd"
16607 alpine_SSLDIR
="/usr"
16608 alpine_SSLCERTS
="/usr/share/certs"
16609 alpine_SSLINCLUDE
="/usr/include/openssl"
16610 alpine_SSLLIB
="/usr/lib"
16611 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
16612 if test ! -d /etc
/osso-af-init
; then
16613 alpine_SSLDIR
="/etc/ssl"
16614 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16615 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16616 alpine_SSLINCLUDE
="/usr/include/openssl"
16617 alpine_SSLLIB
="/usr/lib"
16619 elif test -f /etc
/manjaro-release
; then
16620 alpine_SSLDIR
="/etc/ssl"
16621 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16622 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16623 alpine_SSLINCLUDE
="/usr/include/openssl"
16624 alpine_SSLLIB
="/usr/lib"
16626 alpine_SSLTYPE
="nopwd"
16627 alpine_SSLDIR
="/usr"
16628 alpine_SSLCERTS
="/etc/ssl/certs"
16632 alpine_SSLTYPE
="nopwd"
16633 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
16634 if test -d /usr
/local
/opt
/openssl
; then
16635 alpine_SSLDIR
="/usr/local/opt/openssl"
16636 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
16637 alpine_SSLLIB
="$alpine_SSLDIR/lib"
16638 alpine_SSLCERTS
="/usr/local/etc/openssl"
16639 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16640 elif test -d /opt
/local
/etc
/openssl
; then
16641 alpine_SSLDIR
="/opt/local"
16642 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
16643 alpine_SSLLIB
="$alpine_SSLDIR/lib"
16644 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
16645 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
16646 elif test -d /sw
/etc
/ssl
; then
16647 alpine_SSLDIR
="/sw/etc/ssl"
16648 alpine_SSLINCLUDE
="/sw/include"
16649 alpine_SSLLIB
="/sw/lib"
16650 alpine_SSLCERTS
="/sw/etc/ssl/certs"
16651 alpine_SSLKEYS
="/sw/etc/ssl/private"
16652 elif test -d /usr
/local
/ssl
; then
16653 alpine_SSLDIR
="/usr/local/ssl"
16654 elif test -d /System
/Library
/OpenSSL
; then
16655 alpine_SSLDIR
="/System/Library/OpenSSL"
16656 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16657 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16658 alpine_SSLLIB
="/usr/lib"
16659 alpine_SSLINCLUDE
="/usr/include/openssl"
16663 alpine_SSLDIR
="/etc/openssl"
16664 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16665 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16666 alpine_SSLINCLUDE
="/usr/include/openssl"
16667 alpine_SSLLIB
="/usr/lib"
16670 alpine_SSLDIR
="/etc/openssl"
16671 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16672 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16673 alpine_SSLINCLUDE
="/usr/include/openssl"
16674 alpine_SSLLIB
="/usr/lib"
16677 alpine_SSLTYPE
="nopwd"
16678 alpine_SSLDIR
="/usr"
16679 alpine_SSLCERTS
="/etc/ssl/certs"
16682 alpine_SSLDIR
="/etc/ssl"
16683 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16684 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16685 if test -d /usr
/local
/include
/openssl
; then
16686 alpine_SSLINCLUDE
="/usr/local/include/openssl"
16687 alpine_SSLLIB
="/usr/local/lib"
16689 alpine_SSLINCLUDE
="/usr/include/openssl"
16690 alpine_SSLLIB
="/usr/lib"
16694 alpine_SSLDIR
="/etc/ssl"
16695 alpine_SSLINCLUDE
="/usr/include/openssl"
16696 alpine_SSLLIB
="/usr/lib"
16697 alpine_SSLCERTS
="/etc/ssl"
16698 alpine_SSLKEYS
="/etc/ssl/private"
16701 alpine_SSLDIR
="/usr/ssl"
16702 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16703 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
16704 alpine_SSLINCLUDE
="/usr/include/openssl"
16705 alpine_SSLLIB
="/usr/lib"
16707 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
16708 alpine_SSLTYPE
="sco.nopwd"
16709 alpine_SSLDIR
="/usr/local/ssl"
16712 if test -d /usr
/include
/openssl
; then
16713 alpine_SSLINCLUDE
="/usr/include/openssl"
16714 elif test -d /usr
/sfw
/include
/openssl
; then
16715 alpine_SSLDIR
="/usr/sfw"
16716 elif test -d /opt
/csw
/include
/openssl
; then
16717 alpine_SSLDIR
="/opt/csw"
16718 if test -d /opt
/csw
/ssl
/certs
; then
16719 alpine_SSLCERTS
="/opt/csw/ssl/certs"
16722 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
16723 alpine_SSLCERTS
="/etc/certs"
16727 alpine_SSLTYPE
="nopwd"
16728 alpine_SSLDIR
="/usr/local/ssl"
16733 if test "x$alpine_SSLTYPE" != "xnone" ; then
16735 # Check whether --with-ssl-dir was given.
16736 if test "${with_ssl_dir+set}" = set; then :
16737 withval
=$with_ssl_dir;
16738 if test "x$withval" != "xno" ; then
16739 alpine_SSLDIR
=$withval
16740 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
16741 alpine_SSLLIB
=$alpine_SSLDIR/lib
16748 # Check whether --with-ssl-certs-dir was given.
16749 if test "${with_ssl_certs_dir+set}" = set; then :
16750 withval
=$with_ssl_certs_dir;
16751 if test "x$withval" != "xno" ; then
16752 alpine_SSLCERTS
=$withval
16759 # Check whether --with-ssl-include-dir was given.
16760 if test "${with_ssl_include_dir+set}" = set; then :
16761 withval
=$with_ssl_include_dir;
16762 if test "x$withval" != "xno" ; then
16763 alpine_SSLINCLUDE
=$withval
16770 # Check whether --with-ssl-lib-dir was given.
16771 if test "${with_ssl_lib_dir+set}" = set; then :
16772 withval
=$with_ssl_lib_dir;
16773 if test "x$withval" != "xno" ; then
16774 alpine_SSLLIB
=$withval
16780 if test -n "$alpine_SSLINCLUDE" ; then
16781 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
16782 elif test -n "$alpine_SSLDIR" ; then
16783 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
16785 if test -n "$alpine_SSLLIB" ; then
16786 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
16787 elif test -n "$alpine_SSLDIR" ; then
16788 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
16794 # Check whether --with-krb5 was given.
16795 if test "${with_krb5+set}" = set; then :
16796 withval
=$with_krb5; with_krb5
=$withval
16800 if test "x$with_krb5" = "xno" ; then
16801 alpine_GSSTYPE
="none"
16806 # Check whether --with-krb5-dir was given.
16807 if test "${with_krb5_dir+set}" = set; then :
16808 withval
=$with_krb5_dir;
16809 if test "x$withval" != "xno" ; then
16810 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
16811 LDFLAGS
="$LDFLAGS -L${withval}/lib"
16818 # Check whether --with-krb5-include-dir was given.
16819 if test "${with_krb5_include_dir+set}" = set; then :
16820 withval
=$with_krb5_include_dir;
16821 if test "x$withval" != "xno" ; then
16822 CPPFLAGS
="$CPPFLAGS -I$withval"
16829 # Check whether --with-krb5-lib-dir was given.
16830 if test "${with_krb5_lib_dir+set}" = set; then :
16831 withval
=$with_krb5_lib_dir;
16832 if test "x$withval" != "xno" ; then
16833 LDFLAGS
="$LDFLAGS -L$withval"
16841 # Check whether --with-ldap was given.
16842 if test "${with_ldap+set}" = set; then :
16843 withval
=$with_ldap; with_ldap
=$withval
16847 if test "x$with_ldap" = "xno" ; then
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
16850 $as_echo "$as_me: Excluding LDAP Support" >&6;}
16853 alpine_with_ldap
=yes
16855 # Check whether --with-ldap-dir was given.
16856 if test "${with_ldap_dir+set}" = set; then :
16857 withval
=$with_ldap_dir;
16858 if test "x$withval" != "xno" ; then
16859 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
16860 LDFLAGS
="$LDFLAGS -L${withval}/lib"
16867 # Check whether --with-ldap-include-dir was given.
16868 if test "${with_ldap_include_dir+set}" = set; then :
16869 withval
=$with_ldap_include_dir;
16870 if test "x$withval" != "xno" ; then
16871 CPPFLAGS
="$CPPFLAGS -I$withval"
16878 # Check whether --with-ldap-lib-dir was given.
16879 if test "${with_ldap_lib_dir+set}" = set; then :
16880 withval
=$with_ldap_lib_dir;
16881 if test "x$withval" != "xno" ; then
16882 LDFLAGS
="$LDFLAGS -L$withval"
16890 # Check whether --with-smime was given.
16891 if test "${with_smime+set}" = set; then :
16892 withval
=$with_smime; with_smime
=$withval
16897 # Check whether --with-tcl was given.
16898 if test "${with_tcl+set}" = set; then :
16899 withval
=$with_tcl; with_tcl
=$withval
16903 if test "x$with_tcl" = "xno" ; then
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
16906 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
16909 # Check whether --with-tcl-lib was given.
16910 if test "${with_tcl_lib+set}" = set; then :
16911 withval
=$with_tcl_lib;
16912 if test "x$withval" != "xno" ; then
16913 alpine_TCLLIB
=$withval
16919 # Check whether --with-tcl-include was given.
16920 if test "${with_tcl_include+set}" = set; then :
16921 withval
=$with_tcl_include;
16922 if test "x$withval" != "xno" ; then
16923 CPPFLAGS
="$CPPFLAGS -I$withval"
16924 alpine_TCLINC
=$withval
16932 # Check whether --with-supplied-regex was given.
16933 if test "${with_supplied_regex+set}" = set; then :
16934 withval
=$with_supplied_regex; alpine_REGEX
=$withval
16939 # Check whether --with-pthread was given.
16940 if test "${with_pthread+set}" = set; then :
16941 withval
=$with_pthread; with_pthread
=$withval
16946 # Check whether --with-system-mail-directory was given.
16947 if test "${with_system_mail_directory+set}" = set; then :
16948 withval
=$with_system_mail_directory;
16949 if test "x$withval" != "xno" ; then
16950 alpine_with_local_maildir
="$withval"
16957 # Check whether --with-c-client-target was given.
16958 if test "${with_c_client_target+set}" = set; then :
16959 withval
=$with_c_client_target;
16960 if test "x$withval" != "xno" ;then
16961 alpine_with_c_client_target
="$withval"
16971 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
16972 alpine_path_delim
="/"
16973 alpine_mode_readonly
="(0600)"
16974 if test -f /etc
/fedora-release
; then
16977 if test -d /etc
/pki
/tls
; then
16978 alpine_c_client_target
="lfd"
16980 alpine_c_client_target
="lrh"
16982 elif test -f /etc
/mandrake-release
; then
16984 alpine_c_client_target
="lmd"
16986 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
16989 if test -d /etc
/pki
/tls
; then
16990 alpine_c_client_target
="lr5"
16992 alpine_c_client_target
="lrh"
16994 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
16995 if test -d /etc
/osso-af-init
; then
16997 alpine_c_client_target
="ln8"
17000 alpine_c_client_target
="ldb"
17003 elif test -f /etc
/SuSE-release
; then
17005 alpine_c_client_target
="lsu"
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17010 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17011 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17012 $as_echo_n "(cached) " >&6
17014 ac_check_lib_save_LIBS
=$LIBS
17016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17019 /* Override any GCC internal prototype to avoid an error.
17020 Use char because int might match the return type of a GCC
17021 builtin and then its argument prototype would still apply. */
17029 return pam_start ();
17034 if ac_fn_c_try_link
"$LINENO"; then :
17035 ac_cv_lib_pam_pam_start
=yes
17037 ac_cv_lib_pam_pam_start
=no
17039 rm -f core conftest.err conftest.
$ac_objext \
17040 conftest
$ac_exeext conftest.
$ac_ext
17041 LIBS
=$ac_check_lib_save_LIBS
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17044 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17045 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17047 alpine_c_client_target
="lnp"
17052 if test -f /etc
/shadow
; then
17053 alpine_c_client_target
="slx"
17055 alpine_c_client_target
="lnx"
17064 alpine_path_delim
="/"
17065 alpine_mode_readonly
="(0600)"
17066 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
17067 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
17069 $as_echo "#define OSX_TARGET 1" >>confdefs.h
17071 case "$alpine_os_credential_cache" in
17076 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17081 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17082 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17083 $as_echo_n "(cached) " >&6
17085 ac_check_lib_save_LIBS
=$LIBS
17087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17090 /* Override any GCC internal prototype to avoid an error.
17091 Use char because int might match the return type of a GCC
17092 builtin and then its argument prototype would still apply. */
17100 return pam_start ();
17105 if ac_fn_c_try_link
"$LINENO"; then :
17106 ac_cv_lib_pam_pam_start
=yes
17108 ac_cv_lib_pam_pam_start
=no
17110 rm -f core conftest.err conftest.
$ac_objext \
17111 conftest
$ac_exeext conftest.
$ac_ext
17112 LIBS
=$ac_check_lib_save_LIBS
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17115 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17116 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17118 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17119 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
17122 alpine_c_client_target
="oxs"
17125 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17126 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
17129 alpine_c_client_target
="oxp"
17134 alpine_pam_none_reason
="header files not found"
17146 alpine_c_client_target
="osx"
17152 if test x
$GCC = "xyes" ; then
17154 alpine_c_client_target
="gso"
17155 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
17158 alpine_c_client_target
="soc"
17160 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
17163 alpine_path_delim
="/"
17164 alpine_mode_readonly
="(0600)"
17168 alpine_path_delim
="/"
17169 alpine_mode_readonly
="(0600)"
17170 alpine_c_client_target
="s40"
17173 if test x
$GCC = "xyes" ; then
17175 alpine_c_client_target
="go5"
17178 alpine_c_client_target
="sc5"
17180 alpine_path_delim
="/"
17181 alpine_mode_readonly
="(0600)"
17185 alpine_path_delim
="/"
17186 alpine_mode_readonly
="(0600)"
17187 alpine_c_client_target
="nx3"
17191 alpine_path_delim
="/"
17192 alpine_mode_readonly
="(0600)"
17193 alpine_c_client_target
="neb"
17197 alpine_path_delim
="/"
17198 alpine_mode_readonly
="(0600)"
17199 alpine_c_client_target
="neb"
17203 alpine_path_delim
="/"
17204 alpine_mode_readonly
="(0600)"
17205 alpine_c_client_target
="bsi"
17209 alpine_path_delim
="/"
17210 alpine_mode_readonly
="(0600)"
17211 alpine_c_client_target
="bsf"
17212 LIBS
="$LIBS $LIBINTL"
17216 alpine_path_delim
="/"
17217 alpine_mode_readonly
="(0600)"
17218 alpine_c_client_target
="bso"
17219 LIBS
="$LIBS $LIBINTL"
17223 alpine_path_delim
="/"
17224 alpine_mode_readonly
="(0600)"
17225 alpine_c_client_target
="a52"
17229 alpine_path_delim
="/"
17230 alpine_mode_readonly
="(0600)"
17231 alpine_c_client_target
="a41"
17235 alpine_path_delim
="/"
17236 alpine_mode_readonly
="(0600)"
17237 alpine_c_client_target
="a32"
17239 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
17241 alpine_path_delim
="/"
17242 alpine_mode_readonly
="(0600)"
17243 alpine_c_client_target
="uw2"
17247 alpine_path_delim
="/"
17248 alpine_mode_readonly
="(0600)"
17249 alpine_c_client_target
="osf"
17253 alpine_path_delim
="/"
17254 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17255 alpine_c_client_target
="cyg"
17256 LIBS
="$LIBS $LIBINTL"
17258 windows
* |
*-*-pw32*)
17260 alpine_path_delim
="\\"
17261 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17262 alpine_c_client_target
="wnt"
17264 $as_echo "#define _WINDOWS 1" >>confdefs.h
17268 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
17273 # Check whether --with-ipv6 was given.
17274 if test "${with_ipv6+set}" = set; then :
17275 withval
=$with_ipv6; with_ipv6
=$withval
17279 if test "x$with_ipv6" = "xno" ; then
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
17281 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
17282 c_client_specials
="${c_client_specials}IP6=4 "
17283 c_client_ip6
="true"
17285 c_client_ip6
="touch imap/ip6"
17290 if test x
$enable_dmalloc = "xyes" ; then
17291 if test "x$with_pthread" = "xyes" ; then
17292 dmalloc_lib
=dmallocth
17294 dmalloc_lib
=dmalloc
17297 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
17299 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
17300 if eval \
${$as_ac_Lib+:} false
; then :
17301 $as_echo_n "(cached) " >&6
17303 ac_check_lib_save_LIBS
=$LIBS
17304 LIBS
="-l$dmalloc_lib $LIBS"
17305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17308 /* Override any GCC internal prototype to avoid an error.
17309 Use char because int might match the return type of a GCC
17310 builtin and then its argument prototype would still apply. */
17314 char dmalloc_shutdown ();
17318 return dmalloc_shutdown ();
17323 if ac_fn_c_try_link
"$LINENO"; then :
17324 eval "$as_ac_Lib=yes"
17326 eval "$as_ac_Lib=no"
17328 rm -f core conftest.err conftest.
$ac_objext \
17329 conftest
$ac_exeext conftest.
$ac_ext
17330 LIBS
=$ac_check_lib_save_LIBS
17332 eval ac_res
=\$
$as_ac_Lib
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17334 $as_echo "$ac_res" >&6; }
17335 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
17336 cat >>confdefs.h
<<_ACEOF
17337 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
17340 LIBS
="-l$dmalloc_lib $LIBS"
17344 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
17351 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
17352 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
17353 $as_echo_n "(cached) " >&6
17355 ac_check_lib_save_LIBS
=$LIBS
17356 LIBS
="-ltinfo $LIBS"
17357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17360 /* Override any GCC internal prototype to avoid an error.
17361 Use char because int might match the return type of a GCC
17362 builtin and then its argument prototype would still apply. */
17370 return setupterm ();
17375 if ac_fn_c_try_link
"$LINENO"; then :
17376 ac_cv_lib_tinfo_setupterm
=yes
17378 ac_cv_lib_tinfo_setupterm
=no
17380 rm -f core conftest.err conftest.
$ac_objext \
17381 conftest
$ac_exeext conftest.
$ac_ext
17382 LIBS
=$ac_check_lib_save_LIBS
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
17385 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
17386 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
17388 alpine_termdata
=info
17389 LIBS
="$LIBS -ltinfo"
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
17394 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
17395 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
17396 $as_echo_n "(cached) " >&6
17398 ac_check_lib_save_LIBS
=$LIBS
17399 LIBS
="-lncurses $LIBS"
17400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17403 /* Override any GCC internal prototype to avoid an error.
17404 Use char because int might match the return type of a GCC
17405 builtin and then its argument prototype would still apply. */
17413 return setupterm ();
17418 if ac_fn_c_try_link
"$LINENO"; then :
17419 ac_cv_lib_ncurses_setupterm
=yes
17421 ac_cv_lib_ncurses_setupterm
=no
17423 rm -f core conftest.err conftest.
$ac_objext \
17424 conftest
$ac_exeext conftest.
$ac_ext
17425 LIBS
=$ac_check_lib_save_LIBS
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
17428 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
17429 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
17431 alpine_termdata
=info
17432 LIBS
="$LIBS -lncurses"
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
17437 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
17438 if ${ac_cv_lib_curses_setupterm+:} false
; then :
17439 $as_echo_n "(cached) " >&6
17441 ac_check_lib_save_LIBS
=$LIBS
17442 LIBS
="-lcurses $LIBS"
17443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17446 /* Override any GCC internal prototype to avoid an error.
17447 Use char because int might match the return type of a GCC
17448 builtin and then its argument prototype would still apply. */
17456 return setupterm ();
17461 if ac_fn_c_try_link
"$LINENO"; then :
17462 ac_cv_lib_curses_setupterm
=yes
17464 ac_cv_lib_curses_setupterm
=no
17466 rm -f core conftest.err conftest.
$ac_objext \
17467 conftest
$ac_exeext conftest.
$ac_ext
17468 LIBS
=$ac_check_lib_save_LIBS
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
17471 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
17472 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
17474 alpine_termdata
=info
17475 LIBS
="$LIBS -lcurses"
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
17480 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
17481 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
17482 $as_echo_n "(cached) " >&6
17484 ac_check_lib_save_LIBS
=$LIBS
17485 LIBS
="-ltermlib $LIBS"
17486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17489 /* Override any GCC internal prototype to avoid an error.
17490 Use char because int might match the return type of a GCC
17491 builtin and then its argument prototype would still apply. */
17504 if ac_fn_c_try_link
"$LINENO"; then :
17505 ac_cv_lib_termlib_tgetent
=yes
17507 ac_cv_lib_termlib_tgetent
=no
17509 rm -f core conftest.err conftest.
$ac_objext \
17510 conftest
$ac_exeext conftest.
$ac_ext
17511 LIBS
=$ac_check_lib_save_LIBS
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
17514 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
17515 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
17517 alpine_termdata
=cap
17518 LIBS
="$LIBS -ltermlib"
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
17523 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
17524 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
17525 $as_echo_n "(cached) " >&6
17527 ac_check_lib_save_LIBS
=$LIBS
17528 LIBS
="-ltermcap $LIBS"
17529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17532 /* Override any GCC internal prototype to avoid an error.
17533 Use char because int might match the return type of a GCC
17534 builtin and then its argument prototype would still apply. */
17547 if ac_fn_c_try_link
"$LINENO"; then :
17548 ac_cv_lib_termcap_tgetent
=yes
17550 ac_cv_lib_termcap_tgetent
=no
17552 rm -f core conftest.err conftest.
$ac_objext \
17553 conftest
$ac_exeext conftest.
$ac_ext
17554 LIBS
=$ac_check_lib_save_LIBS
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
17557 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
17558 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
17560 alpine_termdata
=cap
17561 LIBS
="$LIBS -ltermcap"
17565 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
17581 case $alpine_termdata in
17584 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
17589 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17595 $as_echo_n "checking for library containing dlopen... " >&6; }
17596 if ${ac_cv_search_dlopen+:} false
; then :
17597 $as_echo_n "(cached) " >&6
17599 ac_func_search_save_LIBS
=$LIBS
17600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17603 /* Override any GCC internal prototype to avoid an error.
17604 Use char because int might match the return type of a GCC
17605 builtin and then its argument prototype would still apply. */
17618 for ac_lib
in '' dl dld
; do
17619 if test -z "$ac_lib"; then
17620 ac_res
="none required"
17623 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17625 if ac_fn_c_try_link
"$LINENO"; then :
17626 ac_cv_search_dlopen
=$ac_res
17628 rm -f core conftest.err conftest.
$ac_objext \
17630 if ${ac_cv_search_dlopen+:} false
; then :
17634 if ${ac_cv_search_dlopen+:} false
; then :
17637 ac_cv_search_dlopen
=no
17639 rm conftest.
$ac_ext
17640 LIBS
=$ac_func_search_save_LIBS
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17643 $as_echo "$ac_cv_search_dlopen" >&6; }
17644 ac_res
=$ac_cv_search_dlopen
17645 if test "$ac_res" != no
; then :
17646 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17652 if test "x$alpine_DL" = "xnone" ; then
17653 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
17657 if test "x$alpine_SSLTYPE" != "xnone" ; then
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
17659 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
17660 if test "$cross_compiling" = yes; then :
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
17662 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
17664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17668 #include <stdlib.h>
17670 #include <stdint.h>
17671 #endif /* HAVE_STDINT_H */
17672 #include <openssl/ssl.h>
17675 if (LIBRESSL_VERSION_NUMBER >= 0x20000000L)
17682 if ac_fn_c_try_run
"$LINENO"; then :
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17684 $as_echo "yes" >&6; }
17685 alpine_SSLPROVIDER
="libressl"
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17689 $as_echo "no" >&6; }
17692 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17693 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17698 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
17700 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
17701 if test "$cross_compiling" = yes; then :
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
17703 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
17705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17709 #include <stdlib.h>
17711 #include <stdint.h>
17712 #endif /* HAVE_STDINT_H */
17713 #include <openssl/ssl.h>
17716 if (OPENSSL_VERSION_NUMBER >= 0x1000003fL)
17723 if ac_fn_c_try_run
"$LINENO"; then :
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17725 $as_echo "yes" >&6; }
17726 alpine_SSLPROVIDER
="openssl"
17729 alpine_SSLTYPE
="none"
17731 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17732 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17736 if test "x$alpine_SSLTYPE" = "xnone" ; then
17737 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
17742 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
17744 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
17745 if test "$cross_compiling" = yes; then :
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
17747 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
17749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17753 #include <stdlib.h>
17755 #include <stdint.h>
17756 #endif /* HAVE_STDINT_H */
17757 #include <openssl/ssl.h>
17760 if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
17767 if ac_fn_c_try_run
"$LINENO"; then :
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17769 $as_echo "yes" >&6; }
17770 alpine_SSLVERSION
="new"
17771 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17775 $as_echo "no" >&6; }
17776 alpine_SSLVERSION
="old"
17778 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17779 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17784 if test "x$alpine_SSLTYPE" != "xnone" ; then
17785 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
17787 $as_echo_n "checking for library containing SSLeay... " >&6; }
17788 if ${ac_cv_search_SSLeay+:} false
; then :
17789 $as_echo_n "(cached) " >&6
17791 ac_func_search_save_LIBS
=$LIBS
17792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17795 /* Override any GCC internal prototype to avoid an error.
17796 Use char because int might match the return type of a GCC
17797 builtin and then its argument prototype would still apply. */
17810 for ac_lib
in '' crypto
; do
17811 if test -z "$ac_lib"; then
17812 ac_res
="none required"
17815 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17817 if ac_fn_c_try_link
"$LINENO"; then :
17818 ac_cv_search_SSLeay
=$ac_res
17820 rm -f core conftest.err conftest.
$ac_objext \
17822 if ${ac_cv_search_SSLeay+:} false
; then :
17826 if ${ac_cv_search_SSLeay+:} false
; then :
17829 ac_cv_search_SSLeay
=no
17831 rm conftest.
$ac_ext
17832 LIBS
=$ac_func_search_save_LIBS
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
17835 $as_echo "$ac_cv_search_SSLeay" >&6; }
17836 ac_res
=$ac_cv_search_SSLeay
17837 if test "$ac_res" != no
; then :
17838 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17841 alpine_CRYPTO
="none"
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
17846 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
17847 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
17848 $as_echo_n "(cached) " >&6
17850 ac_func_search_save_LIBS
=$LIBS
17851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17854 /* Override any GCC internal prototype to avoid an error.
17855 Use char because int might match the return type of a GCC
17856 builtin and then its argument prototype would still apply. */
17860 char OpenSSL_version_num ();
17864 return OpenSSL_version_num ();
17869 for ac_lib
in '' crypto
; do
17870 if test -z "$ac_lib"; then
17871 ac_res
="none required"
17874 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17876 if ac_fn_c_try_link
"$LINENO"; then :
17877 ac_cv_search_OpenSSL_version_num
=$ac_res
17879 rm -f core conftest.err conftest.
$ac_objext \
17881 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
17885 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
17888 ac_cv_search_OpenSSL_version_num
=no
17890 rm conftest.
$ac_ext
17891 LIBS
=$ac_func_search_save_LIBS
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
17894 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
17895 ac_res
=$ac_cv_search_OpenSSL_version_num
17896 if test "$ac_res" != no
; then :
17897 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17900 alpine_CRYPTO
="none"
17904 if test "x$alpine_CRYPTO" = "xnone" ; then
17905 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
17910 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
17911 if test "x$ac_cv_header_crypto_h" = xyes
; then :
17914 alpine_CRYPTO_DEVEL
="none"
17918 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
17919 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
17927 if test "x$alpine_SSLTYPE" != "xnone" ; then
17928 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
17930 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
17931 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
17932 $as_echo_n "(cached) " >&6
17934 ac_func_search_save_LIBS
=$LIBS
17935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17938 /* Override any GCC internal prototype to avoid an error.
17939 Use char because int might match the return type of a GCC
17940 builtin and then its argument prototype would still apply. */
17944 char TLSv1_2_client_method ();
17948 return TLSv1_2_client_method ();
17953 for ac_lib
in '' ssl
; do
17954 if test -z "$ac_lib"; then
17955 ac_res
="none required"
17958 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17960 if ac_fn_c_try_link
"$LINENO"; then :
17961 ac_cv_search_TLSv1_2_client_method
=$ac_res
17963 rm -f core conftest.err conftest.
$ac_objext \
17965 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
17969 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
17972 ac_cv_search_TLSv1_2_client_method
=no
17974 rm conftest.
$ac_ext
17975 LIBS
=$ac_func_search_save_LIBS
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
17978 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
17979 ac_res
=$ac_cv_search_TLSv1_2_client_method
17980 if test "$ac_res" != no
; then :
17981 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17982 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
17984 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLS_client_method" >&5
17991 $as_echo_n "checking for library containing TLS_client_method... " >&6; }
17992 if ${ac_cv_search_TLS_client_method+:} false
; then :
17993 $as_echo_n "(cached) " >&6
17995 ac_func_search_save_LIBS
=$LIBS
17996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17997 /* end confdefs.h. */
17999 /* Override any GCC internal prototype to avoid an error.
18000 Use char because int might match the return type of a GCC
18001 builtin and then its argument prototype would still apply. */
18005 char TLS_client_method ();
18009 return TLS_client_method ();
18014 for ac_lib
in '' ssl
; do
18015 if test -z "$ac_lib"; then
18016 ac_res
="none required"
18019 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18021 if ac_fn_c_try_link
"$LINENO"; then :
18022 ac_cv_search_TLS_client_method
=$ac_res
18024 rm -f core conftest.err conftest.
$ac_objext \
18026 if ${ac_cv_search_TLS_client_method+:} false
; then :
18030 if ${ac_cv_search_TLS_client_method+:} false
; then :
18033 ac_cv_search_TLS_client_method
=no
18035 rm conftest.
$ac_ext
18036 LIBS
=$ac_func_search_save_LIBS
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLS_client_method" >&5
18039 $as_echo "$ac_cv_search_TLS_client_method" >&6; }
18040 ac_res
=$ac_cv_search_TLS_client_method
18041 if test "$ac_res" != no
; then :
18042 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18045 alpine_SSLTYPE
="none"
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DTLS_client_method" >&5
18049 $as_echo_n "checking for library containing DTLS_client_method... " >&6; }
18050 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18051 $as_echo_n "(cached) " >&6
18053 ac_func_search_save_LIBS
=$LIBS
18054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18057 /* Override any GCC internal prototype to avoid an error.
18058 Use char because int might match the return type of a GCC
18059 builtin and then its argument prototype would still apply. */
18063 char DTLS_client_method ();
18067 return DTLS_client_method ();
18072 for ac_lib
in '' ssl
; do
18073 if test -z "$ac_lib"; then
18074 ac_res
="none required"
18077 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18079 if ac_fn_c_try_link
"$LINENO"; then :
18080 ac_cv_search_DTLS_client_method
=$ac_res
18082 rm -f core conftest.err conftest.
$ac_objext \
18084 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18088 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18091 ac_cv_search_DTLS_client_method
=no
18093 rm conftest.
$ac_ext
18094 LIBS
=$ac_func_search_save_LIBS
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DTLS_client_method" >&5
18097 $as_echo "$ac_cv_search_DTLS_client_method" >&6; }
18098 ac_res
=$ac_cv_search_DTLS_client_method
18099 if test "$ac_res" != no
; then :
18100 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18103 alpine_SSLTYPE
="none"
18106 if test "x$alpine_SSLTYPE" != "xnone" ; then
18107 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
18109 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18115 if test "x$alpine_SSLTYPE" != "xnone" ; then
18116 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
18118 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
18119 if ${ac_cv_search_SSL_library_init+:} false
; then :
18120 $as_echo_n "(cached) " >&6
18122 ac_func_search_save_LIBS
=$LIBS
18123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18124 /* end confdefs.h. */
18126 /* Override any GCC internal prototype to avoid an error.
18127 Use char because int might match the return type of a GCC
18128 builtin and then its argument prototype would still apply. */
18132 char SSL_library_init ();
18136 return SSL_library_init ();
18141 for ac_lib
in '' ssl
; do
18142 if test -z "$ac_lib"; then
18143 ac_res
="none required"
18146 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18148 if ac_fn_c_try_link
"$LINENO"; then :
18149 ac_cv_search_SSL_library_init
=$ac_res
18151 rm -f core conftest.err conftest.
$ac_objext \
18153 if ${ac_cv_search_SSL_library_init+:} false
; then :
18157 if ${ac_cv_search_SSL_library_init+:} false
; then :
18160 ac_cv_search_SSL_library_init
=no
18162 rm conftest.
$ac_ext
18163 LIBS
=$ac_func_search_save_LIBS
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
18166 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
18167 ac_res
=$ac_cv_search_SSL_library_init
18168 if test "$ac_res" != no
; then :
18169 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18172 alpine_SSLTYPE
="none"
18175 if test "x$alpine_SSLTYPE" = "xnone" ; then
18176 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
18181 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
18182 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18183 $as_echo_n "(cached) " >&6
18185 ac_func_search_save_LIBS
=$LIBS
18186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18189 /* Override any GCC internal prototype to avoid an error.
18190 Use char because int might match the return type of a GCC
18191 builtin and then its argument prototype would still apply. */
18195 char OPENSSL_init_ssl ();
18199 return OPENSSL_init_ssl ();
18204 for ac_lib
in '' ssl
; do
18205 if test -z "$ac_lib"; then
18206 ac_res
="none required"
18209 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18211 if ac_fn_c_try_link
"$LINENO"; then :
18212 ac_cv_search_OPENSSL_init_ssl
=$ac_res
18214 rm -f core conftest.err conftest.
$ac_objext \
18216 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18220 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18223 ac_cv_search_OPENSSL_init_ssl
=no
18225 rm conftest.
$ac_ext
18226 LIBS
=$ac_func_search_save_LIBS
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
18229 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
18230 ac_res
=$ac_cv_search_OPENSSL_init_ssl
18231 if test "$ac_res" != no
; then :
18232 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18235 alpine_SSLTYPE
="none"
18238 if test "x$alpine_SSLTYPE" = "xnone" ; then
18239 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
18245 if test "$alpine_with_ldap" = "yes" ; then
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
18248 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
18249 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
18250 $as_echo_n "(cached) " >&6
18252 ac_check_lib_save_LIBS
=$LIBS
18253 LIBS
="-llber $LIBS"
18254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18257 /* Override any GCC internal prototype to avoid an error.
18258 Use char because int might match the return type of a GCC
18259 builtin and then its argument prototype would still apply. */
18267 return ber_alloc ();
18272 if ac_fn_c_try_link
"$LINENO"; then :
18273 ac_cv_lib_lber_ber_alloc
=yes
18275 ac_cv_lib_lber_ber_alloc
=no
18277 rm -f core conftest.err conftest.
$ac_objext \
18278 conftest
$ac_exeext conftest.
$ac_ext
18279 LIBS
=$ac_check_lib_save_LIBS
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
18282 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
18283 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
18285 LIBS
="$LIBS -llber"
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
18290 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
18291 if ${ac_cv_search_ldap_initialize+:} false
; then :
18292 $as_echo_n "(cached) " >&6
18294 ac_func_search_save_LIBS
=$LIBS
18295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18298 /* Override any GCC internal prototype to avoid an error.
18299 Use char because int might match the return type of a GCC
18300 builtin and then its argument prototype would still apply. */
18304 char ldap_initialize ();
18308 return ldap_initialize ();
18313 for ac_lib
in '' ldap
; do
18314 if test -z "$ac_lib"; then
18315 ac_res
="none required"
18318 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18320 if ac_fn_c_try_link
"$LINENO"; then :
18321 ac_cv_search_ldap_initialize
=$ac_res
18323 rm -f core conftest.err conftest.
$ac_objext \
18325 if ${ac_cv_search_ldap_initialize+:} false
; then :
18329 if ${ac_cv_search_ldap_initialize+:} false
; then :
18332 ac_cv_search_ldap_initialize
=no
18334 rm conftest.
$ac_ext
18335 LIBS
=$ac_func_search_save_LIBS
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
18338 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
18339 ac_res
=$ac_cv_search_ldap_initialize
18340 if test "$ac_res" != no
; then :
18341 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18343 alpine_has_ldap
=yes
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
18348 $as_echo_n "checking for library containing ldap_open... " >&6; }
18349 if ${ac_cv_search_ldap_open+:} false
; then :
18350 $as_echo_n "(cached) " >&6
18352 ac_func_search_save_LIBS
=$LIBS
18353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18356 /* Override any GCC internal prototype to avoid an error.
18357 Use char because int might match the return type of a GCC
18358 builtin and then its argument prototype would still apply. */
18366 return ldap_open ();
18371 for ac_lib
in '' ldap
; do
18372 if test -z "$ac_lib"; then
18373 ac_res
="none required"
18376 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18378 if ac_fn_c_try_link
"$LINENO"; then :
18379 ac_cv_search_ldap_open
=$ac_res
18381 rm -f core conftest.err conftest.
$ac_objext \
18383 if ${ac_cv_search_ldap_open+:} false
; then :
18387 if ${ac_cv_search_ldap_open+:} false
; then :
18390 ac_cv_search_ldap_open
=no
18392 rm conftest.
$ac_ext
18393 LIBS
=$ac_func_search_save_LIBS
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
18396 $as_echo "$ac_cv_search_ldap_open" >&6; }
18397 ac_res
=$ac_cv_search_ldap_open
18398 if test "$ac_res" != no
; then :
18399 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18401 alpine_has_ldap
=yes
18409 if test "$alpine_has_ldap" = "yes" ; then
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
18411 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
18413 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
18418 if test "x$alpine_PAM" != "xnone" ; then
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
18420 $as_echo_n "checking for library containing pam_start... " >&6; }
18421 if ${ac_cv_search_pam_start+:} false
; then :
18422 $as_echo_n "(cached) " >&6
18424 ac_func_search_save_LIBS
=$LIBS
18425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18426 /* end confdefs.h. */
18428 /* Override any GCC internal prototype to avoid an error.
18429 Use char because int might match the return type of a GCC
18430 builtin and then its argument prototype would still apply. */
18438 return pam_start ();
18443 for ac_lib
in '' pam
; do
18444 if test -z "$ac_lib"; then
18445 ac_res
="none required"
18448 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18450 if ac_fn_c_try_link
"$LINENO"; then :
18451 ac_cv_search_pam_start
=$ac_res
18453 rm -f core conftest.err conftest.
$ac_objext \
18455 if ${ac_cv_search_pam_start+:} false
; then :
18459 if ${ac_cv_search_pam_start+:} false
; then :
18462 ac_cv_search_pam_start
=no
18464 rm conftest.
$ac_ext
18465 LIBS
=$ac_func_search_save_LIBS
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
18468 $as_echo "$ac_cv_search_pam_start" >&6; }
18469 ac_res
=$ac_cv_search_pam_start
18470 if test "$ac_res" != no
; then :
18471 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18474 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
18475 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
18480 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
18481 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
18484 if test "x$alpine_c_client_target" != "xoxp" ; then
18486 alpine_pam_none_reason
="header files not in security/ directory"
18492 alpine_pam_none_reason
="header files not found"
18505 alpine_pam_none_reason
="library files not found"
18509 if test -n "$alpine_pam_none_reason" ; then
18510 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
18515 if test "x$alpine_GSSTYPE" != "xnone" ; then
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
18517 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
18518 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
18519 $as_echo_n "(cached) " >&6
18521 ac_func_search_save_LIBS
=$LIBS
18522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18525 /* Override any GCC internal prototype to avoid an error.
18526 Use char because int might match the return type of a GCC
18527 builtin and then its argument prototype would still apply. */
18531 char gss_init_sec_context ();
18535 return gss_init_sec_context ();
18540 for ac_lib
in '' gss gssapi gssapi_krb5
; do
18541 if test -z "$ac_lib"; then
18542 ac_res
="none required"
18545 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18547 if ac_fn_c_try_link
"$LINENO"; then :
18548 ac_cv_search_gss_init_sec_context
=$ac_res
18550 rm -f core conftest.err conftest.
$ac_objext \
18552 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
18556 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
18559 ac_cv_search_gss_init_sec_context
=no
18561 rm conftest.
$ac_ext
18562 LIBS
=$ac_func_search_save_LIBS
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
18565 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
18566 ac_res
=$ac_cv_search_gss_init_sec_context
18567 if test "$ac_res" != no
; then :
18568 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18570 LIBS
="$LIBS -lkrb5"
18571 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
18572 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
18576 if test ! -d /usr
/kerberos
/include
; then
18577 alpine_GSSTYPE
="none"
18578 alpine_gss_none_reason
="header files not found"
18587 alpine_GSSTYPE
="none"
18588 alpine_gss_none_reason
="libraries not found"
18592 if test -n "$alpine_gss_none_reason" ; then
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
18594 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
18599 # Check whether --with-ntlm was given.
18600 if test "${with_ntlm+set}" = set; then :
18601 withval
=$with_ntlm; with_ntlm
=$withval
18605 if test "x$with_ntlm" = "xno" ; then
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
18611 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
18612 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
18613 $as_echo_n "(cached) " >&6
18615 ac_func_search_save_LIBS
=$LIBS
18616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18619 /* Override any GCC internal prototype to avoid an error.
18620 Use char because int might match the return type of a GCC
18621 builtin and then its argument prototype would still apply. */
18625 char buildSmbNtlmAuthRequest ();
18629 return buildSmbNtlmAuthRequest ();
18634 for ac_lib
in '' ntlm
; do
18635 if test -z "$ac_lib"; then
18636 ac_res
="none required"
18639 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18641 if ac_fn_c_try_link
"$LINENO"; then :
18642 ac_cv_search_buildSmbNtlmAuthRequest
=$ac_res
18644 rm -f core conftest.err conftest.
$ac_objext \
18646 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
18650 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
18653 ac_cv_search_buildSmbNtlmAuthRequest
=no
18655 rm conftest.
$ac_ext
18656 LIBS
=$ac_func_search_save_LIBS
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_buildSmbNtlmAuthRequest" >&5
18659 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
18660 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
18661 if test "$ac_res" != no
; then :
18662 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18664 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
18665 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
18667 extra_auth_ntlm
=ntl
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
18669 $as_echo "$as_me: including NTLM support" >&6;}
18674 alpine_ntlm_none_reason
="header file ntlm.h not found"
18683 alpine_ntlm_none_reason
="ntlm library not found"
18687 if test -n "$alpine_ntlm_none_reason" ; then
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
18689 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
18693 if test -n "$WEB_BUILD" ; then
18694 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
18695 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
18696 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
18698 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
18699 if ${ac_cv_search_Tcl_Eval+:} false
; then :
18700 $as_echo_n "(cached) " >&6
18702 ac_func_search_save_LIBS
=$LIBS
18703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18706 /* Override any GCC internal prototype to avoid an error.
18707 Use char because int might match the return type of a GCC
18708 builtin and then its argument prototype would still apply. */
18716 return Tcl_Eval ();
18721 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
18722 if test -z "$ac_lib"; then
18723 ac_res
="none required"
18726 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18728 if ac_fn_c_try_link
"$LINENO"; then :
18729 ac_cv_search_Tcl_Eval
=$ac_res
18731 rm -f core conftest.err conftest.
$ac_objext \
18733 if ${ac_cv_search_Tcl_Eval+:} false
; then :
18737 if ${ac_cv_search_Tcl_Eval+:} false
; then :
18740 ac_cv_search_Tcl_Eval
=no
18742 rm conftest.
$ac_ext
18743 LIBS
=$ac_func_search_save_LIBS
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
18746 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
18747 ac_res
=$ac_cv_search_Tcl_Eval
18748 if test "$ac_res" != no
; then :
18749 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18758 if test -n "$alpine_TCLINC" ; then
18759 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
18760 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
18761 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18770 if test -z "$WEB_BUILD" ; then
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
18772 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
18775 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
18776 if test "x$ac_cv_header_tcl_h" = xyes
; then :
18780 for base
in /usr
/usr
/local ; do
18781 for dir
in ${TCL_VERSIONS} ; do
18782 as_ac_File
=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
18784 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
18785 if eval \
${$as_ac_File+:} false
; then :
18786 $as_echo_n "(cached) " >&6
18788 test "$cross_compiling" = yes &&
18789 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
18790 if test -r "$base/include/$dir/tcl.h"; then
18791 eval "$as_ac_File=yes"
18793 eval "$as_ac_File=no"
18796 eval ac_res
=\$
$as_ac_File
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18798 $as_echo "$ac_res" >&6; }
18799 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
18805 if test "$found" = "yes" ; then
18806 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
18810 if test "$found" = "yes" ; then
18814 if test "$found" != "yes" ; then
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
18817 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
18826 if test "x$alpine_REGEX" != "xyes" ; then
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
18828 $as_echo_n "checking for library containing regcomp... " >&6; }
18829 if ${ac_cv_search_regcomp+:} false
; then :
18830 $as_echo_n "(cached) " >&6
18832 ac_func_search_save_LIBS
=$LIBS
18833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18834 /* end confdefs.h. */
18836 /* Override any GCC internal prototype to avoid an error.
18837 Use char because int might match the return type of a GCC
18838 builtin and then its argument prototype would still apply. */
18851 for ac_lib
in '' posix regexp regex re
; do
18852 if test -z "$ac_lib"; then
18853 ac_res
="none required"
18856 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18858 if ac_fn_c_try_link
"$LINENO"; then :
18859 ac_cv_search_regcomp
=$ac_res
18861 rm -f core conftest.err conftest.
$ac_objext \
18863 if ${ac_cv_search_regcomp+:} false
; then :
18867 if ${ac_cv_search_regcomp+:} false
; then :
18870 ac_cv_search_regcomp
=no
18872 rm conftest.
$ac_ext
18873 LIBS
=$ac_func_search_save_LIBS
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
18876 $as_echo "$ac_cv_search_regcomp" >&6; }
18877 ac_res
=$ac_cv_search_regcomp
18878 if test "$ac_res" != no
; then :
18879 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18883 if test x
$alpine_REGEX = "xno" ; then
18884 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
18892 if test "x$alpine_REGEX" != "xyes" ; then
18893 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
18894 if test "x$ac_cv_header_regex_h" = xyes
; then :
18898 if test x
$alpine_REGEX = "xno" ; then
18899 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
18909 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
18911 if test "x$alpine_REGEX" = "xyes" ; then
18912 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
18913 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
18915 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
18918 if test "x$with_pthread" != "xno" ; then
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
18920 $as_echo_n "checking for pthread support... " >&6; }
18925 ac_cpp
='$CPP $CPPFLAGS'
18926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18932 # We used to check for pthread.h first, but this fails if pthread.h
18933 # requires special compiler flags (e.g. on True64 or Sequent).
18934 # It gets checked for in the link test anyway.
18936 # First of all, check if the user has set any of the PTHREAD_LIBS,
18937 # etcetera environment variables, and if threads linking works using
18939 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
18940 save_CFLAGS
="$CFLAGS"
18941 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
18943 LIBS
="$PTHREAD_LIBS $LIBS"
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
18945 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
18946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18949 /* Override any GCC internal prototype to avoid an error.
18950 Use char because int might match the return type of a GCC
18951 builtin and then its argument prototype would still apply. */
18955 char pthread_join ();
18959 return pthread_join ();
18964 if ac_fn_c_try_link
"$LINENO"; then :
18967 rm -f core conftest.err conftest.
$ac_objext \
18968 conftest
$ac_exeext conftest.
$ac_ext
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18970 $as_echo "$acx_pthread_ok" >&6; }
18971 if test x
"$acx_pthread_ok" = xno
; then
18976 CFLAGS
="$save_CFLAGS"
18979 # We must check for the threads library under a number of different
18980 # names; the ordering is very important because some systems
18981 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18982 # libraries is broken (non-POSIX).
18984 # Create a list of thread flags to try. Items starting with a "-" are
18985 # C compiler flags, and other items are library names, except for "none"
18986 # which indicates that we try without any flags at all, and "pthread-config"
18987 # which is a program returning the flags for the Pth emulation library.
18989 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18991 # The ordering *is* (sometimes) important. Some notes on the
18992 # individual items follow:
18994 # pthreads: AIX (must check this before -lpthread)
18995 # none: in case threads are in libc; should be tried before -Kthread and
18996 # other compiler flags to prevent continual compiler warnings
18997 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18998 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18999 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19000 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
19001 # -pthreads: Solaris/gcc
19002 # -mthreads: Mingw32/gcc, Lynx/gcc
19003 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19004 # doesn't hurt to check since this sometimes defines pthreads too;
19005 # also defines -D_REENTRANT)
19006 # ... -mt is also the pthreads flag for HP/aCC
19007 # pthread: Linux, etcetera
19008 # --thread-safe: KAI C++
19009 # pthread-config: use pthread-config program (for GNU Pth library)
19011 case "${host_cpu}-${host_os}" in
19014 # On Solaris (at least, for some versions), libc contains stubbed
19015 # (non-functional) versions of the pthreads routines, so link-based
19016 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19017 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19018 # a function called by this macro, so we could check for that, but
19019 # who knows whether they'll stub that too in a future libc.) So,
19020 # we'll just look for -pthreads and -lpthread first:
19022 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
19026 if test x
"$acx_pthread_ok" = xno
; then
19027 for flag
in $acx_pthread_flags; do
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19032 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19037 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19038 PTHREAD_CFLAGS
="$flag"
19042 # Extract the first word of "pthread-config", so it can be a program name with args.
19043 set dummy pthread-config
; ac_word
=$2
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19045 $as_echo_n "checking for $ac_word... " >&6; }
19046 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
19047 $as_echo_n "(cached) " >&6
19049 if test -n "$acx_pthread_config"; then
19050 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
19052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19053 for as_dir
in $PATH
19056 test -z "$as_dir" && as_dir
=.
19057 for ac_exec_ext
in '' $ac_executable_extensions; do
19058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19059 ac_cv_prog_acx_pthread_config
="yes"
19060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19067 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
19070 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
19071 if test -n "$acx_pthread_config"; then
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
19073 $as_echo "$acx_pthread_config" >&6; }
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19076 $as_echo "no" >&6; }
19080 if test x
"$acx_pthread_config" = xno
; then continue; fi
19081 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19082 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19087 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19088 PTHREAD_LIBS
="-l$flag"
19093 save_CFLAGS
="$CFLAGS"
19094 LIBS
="$PTHREAD_LIBS $LIBS"
19095 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19097 # Check for various functions. We must include pthread.h,
19098 # since some functions may be macros. (On the Sequent, we
19099 # need a special flag -Kthread to make this header compile.)
19100 # We check for pthread_join because it is in -lpthread on IRIX
19101 # while pthread_create is in libc. We check for pthread_attr_init
19102 # due to DEC craziness with -lpthreads. We check for
19103 # pthread_cleanup_push because it is one of the few pthread
19104 # functions on Solaris that doesn't have a non-functional libc stub.
19105 # We try pthread_create on general principles.
19106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 #include <pthread.h>
19112 pthread_t th; pthread_join(th, 0);
19113 pthread_attr_init(0); pthread_cleanup_push(0, 0);
19114 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
19119 if ac_fn_c_try_link
"$LINENO"; then :
19122 rm -f core conftest.err conftest.
$ac_objext \
19123 conftest
$ac_exeext conftest.
$ac_ext
19126 CFLAGS
="$save_CFLAGS"
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19129 $as_echo "$acx_pthread_ok" >&6; }
19130 if test "x$acx_pthread_ok" = xyes
; then
19139 # Various other checks:
19140 if test "x$acx_pthread_ok" = xyes
; then
19142 LIBS
="$PTHREAD_LIBS $LIBS"
19143 save_CFLAGS
="$CFLAGS"
19144 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19146 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19148 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19150 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19152 /* end confdefs.h. */
19153 #include <pthread.h>
19157 int attr=$attr; return attr;
19162 if ac_fn_c_try_link
"$LINENO"; then :
19163 attr_name
=$attr; break
19165 rm -f core conftest.err conftest.
$ac_objext \
19166 conftest
$ac_exeext conftest.
$ac_ext
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19169 $as_echo "$attr_name" >&6; }
19170 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19172 cat >>confdefs.h
<<_ACEOF
19173 #define PTHREAD_CREATE_JOINABLE $attr_name
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19179 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19181 case "${host_cpu}-${host_os}" in
19182 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
19183 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19186 $as_echo "${flag}" >&6; }
19187 if test "x$flag" != xno
; then
19188 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19192 CFLAGS
="$save_CFLAGS"
19194 # More AIX lossage: must compile with xlc_r or cc_r
19195 if test x
"$GCC" != xyes
; then
19196 for ac_prog
in xlc_r cc_r
19198 # Extract the first word of "$ac_prog", so it can be a program name with args.
19199 set dummy
$ac_prog; ac_word
=$2
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19201 $as_echo_n "checking for $ac_word... " >&6; }
19202 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19203 $as_echo_n "(cached) " >&6
19205 if test -n "$PTHREAD_CC"; then
19206 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19209 for as_dir
in $PATH
19212 test -z "$as_dir" && as_dir
=.
19213 for ac_exec_ext
in '' $ac_executable_extensions; do
19214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19215 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19225 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19226 if test -n "$PTHREAD_CC"; then
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19228 $as_echo "$PTHREAD_CC" >&6; }
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19231 $as_echo "no" >&6; }
19235 test -n "$PTHREAD_CC" && break
19237 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19250 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19251 if test x
"$acx_pthread_ok" = xyes
; then
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19254 $as_echo "yes" >&6; }
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
19258 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
19259 AM_CFLAGS
="$AM_CFLAGS -pthread"
19262 LIBS
="$PTHREAD_LIBS $LIBS"
19263 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
19266 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19274 $as_echo "no" >&6; }
19278 ac_cpp
='$CPP $CPPFLAGS'
19279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19286 $as_echo_n "checking for library containing nanosleep... " >&6; }
19287 if ${ac_cv_search_nanosleep+:} false
; then :
19288 $as_echo_n "(cached) " >&6
19290 ac_func_search_save_LIBS
=$LIBS
19291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19294 /* Override any GCC internal prototype to avoid an error.
19295 Use char because int might match the return type of a GCC
19296 builtin and then its argument prototype would still apply. */
19304 return nanosleep ();
19309 for ac_lib
in '' rt posix4
; do
19310 if test -z "$ac_lib"; then
19311 ac_res
="none required"
19314 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19316 if ac_fn_c_try_link
"$LINENO"; then :
19317 ac_cv_search_nanosleep
=$ac_res
19319 rm -f core conftest.err conftest.
$ac_objext \
19321 if ${ac_cv_search_nanosleep+:} false
; then :
19325 if ${ac_cv_search_nanosleep+:} false
; then :
19328 ac_cv_search_nanosleep
=no
19330 rm conftest.
$ac_ext
19331 LIBS
=$ac_func_search_save_LIBS
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19334 $as_echo "$ac_cv_search_nanosleep" >&6; }
19335 ac_res
=$ac_cv_search_nanosleep
19336 if test "$ac_res" != no
; then :
19337 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19340 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19351 $as_echo_n "checking for ANSI C header files... " >&6; }
19352 if ${ac_cv_header_stdc+:} false
; then :
19353 $as_echo_n "(cached) " >&6
19355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19357 #include <stdlib.h>
19358 #include <stdarg.h>
19359 #include <string.h>
19370 if ac_fn_c_try_compile
"$LINENO"; then :
19371 ac_cv_header_stdc
=yes
19373 ac_cv_header_stdc
=no
19375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19377 if test $ac_cv_header_stdc = yes; then
19378 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19380 /* end confdefs.h. */
19381 #include <string.h>
19384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19385 $EGREP "memchr" >/dev
/null
2>&1; then :
19388 ac_cv_header_stdc
=no
19394 if test $ac_cv_header_stdc = yes; then
19395 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #include <stdlib.h>
19401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19402 $EGREP "free" >/dev
/null
2>&1; then :
19405 ac_cv_header_stdc
=no
19411 if test $ac_cv_header_stdc = yes; then
19412 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19413 if test "$cross_compiling" = yes; then :
19416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19417 /* end confdefs.h. */
19419 #include <stdlib.h>
19420 #if ((' ' & 0x0FF) == 0x020)
19421 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19422 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19424 # define ISLOWER(c) \
19425 (('a' <= (c) && (c) <= 'i') \
19426 || ('j' <= (c) && (c) <= 'r') \
19427 || ('s' <= (c) && (c) <= 'z'))
19428 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19431 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19436 for (i = 0; i < 256; i++)
19437 if (XOR (islower (i), ISLOWER (i))
19438 || toupper (i) != TOUPPER (i))
19443 if ac_fn_c_try_run
"$LINENO"; then :
19446 ac_cv_header_stdc
=no
19448 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19449 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19455 $as_echo "$ac_cv_header_stdc" >&6; }
19456 if test $ac_cv_header_stdc = yes; then
19458 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19462 ac_header_dirent
=no
19463 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19464 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
19466 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
19467 if eval \
${$as_ac_Header+:} false
; then :
19468 $as_echo_n "(cached) " >&6
19470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h. */
19472 #include <sys/types.h>
19484 if ac_fn_c_try_compile
"$LINENO"; then :
19485 eval "$as_ac_Header=yes"
19487 eval "$as_ac_Header=no"
19489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19491 eval ac_res
=\$
$as_ac_Header
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19493 $as_echo "$ac_res" >&6; }
19494 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19495 cat >>confdefs.h
<<_ACEOF
19496 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19499 ac_header_dirent
=$ac_hdr; break
19503 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19504 if test $ac_header_dirent = dirent.h
; then
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19506 $as_echo_n "checking for library containing opendir... " >&6; }
19507 if ${ac_cv_search_opendir+:} false
; then :
19508 $as_echo_n "(cached) " >&6
19510 ac_func_search_save_LIBS
=$LIBS
19511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19514 /* Override any GCC internal prototype to avoid an error.
19515 Use char because int might match the return type of a GCC
19516 builtin and then its argument prototype would still apply. */
19529 for ac_lib
in '' dir
; do
19530 if test -z "$ac_lib"; then
19531 ac_res
="none required"
19534 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19536 if ac_fn_c_try_link
"$LINENO"; then :
19537 ac_cv_search_opendir
=$ac_res
19539 rm -f core conftest.err conftest.
$ac_objext \
19541 if ${ac_cv_search_opendir+:} false
; then :
19545 if ${ac_cv_search_opendir+:} false
; then :
19548 ac_cv_search_opendir
=no
19550 rm conftest.
$ac_ext
19551 LIBS
=$ac_func_search_save_LIBS
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19554 $as_echo "$ac_cv_search_opendir" >&6; }
19555 ac_res
=$ac_cv_search_opendir
19556 if test "$ac_res" != no
; then :
19557 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19563 $as_echo_n "checking for library containing opendir... " >&6; }
19564 if ${ac_cv_search_opendir+:} false
; then :
19565 $as_echo_n "(cached) " >&6
19567 ac_func_search_save_LIBS
=$LIBS
19568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19571 /* Override any GCC internal prototype to avoid an error.
19572 Use char because int might match the return type of a GCC
19573 builtin and then its argument prototype would still apply. */
19586 for ac_lib
in '' x
; do
19587 if test -z "$ac_lib"; then
19588 ac_res
="none required"
19591 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19593 if ac_fn_c_try_link
"$LINENO"; then :
19594 ac_cv_search_opendir
=$ac_res
19596 rm -f core conftest.err conftest.
$ac_objext \
19598 if ${ac_cv_search_opendir+:} false
; then :
19602 if ${ac_cv_search_opendir+:} false
; then :
19605 ac_cv_search_opendir
=no
19607 rm conftest.
$ac_ext
19608 LIBS
=$ac_func_search_save_LIBS
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19611 $as_echo "$ac_cv_search_opendir" >&6; }
19612 ac_res
=$ac_cv_search_opendir
19613 if test "$ac_res" != no
; then :
19614 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
19621 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
19622 if ${ac_cv_header_stat_broken+:} false
; then :
19623 $as_echo_n "(cached) " >&6
19625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19627 #include <sys/types.h>
19628 #include <sys/stat.h>
19630 #if defined S_ISBLK && defined S_IFDIR
19631 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
19634 #if defined S_ISBLK && defined S_IFCHR
19635 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
19638 #if defined S_ISLNK && defined S_IFREG
19639 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
19642 #if defined S_ISSOCK && defined S_IFREG
19643 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
19647 if ac_fn_c_try_compile
"$LINENO"; then :
19648 ac_cv_header_stat_broken
=no
19650 ac_cv_header_stat_broken
=yes
19652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
19655 $as_echo "$ac_cv_header_stat_broken" >&6; }
19656 if test $ac_cv_header_stat_broken = yes; then
19658 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
19663 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
19664 if ${ac_cv_header_sys_wait_h+:} false
; then :
19665 $as_echo_n "(cached) " >&6
19667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19669 #include <sys/types.h>
19670 #include <sys/wait.h>
19671 #ifndef WEXITSTATUS
19672 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
19675 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19683 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19688 if ac_fn_c_try_compile
"$LINENO"; then :
19689 ac_cv_header_sys_wait_h
=yes
19691 ac_cv_header_sys_wait_h
=no
19693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
19696 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
19697 if test $ac_cv_header_sys_wait_h = yes; then
19699 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
19704 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
19705 if ${ac_cv_header_time+:} false
; then :
19706 $as_echo_n "(cached) " >&6
19708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19710 #include <sys/types.h>
19711 #include <sys/time.h>
19717 if ((struct tm *) 0)
19723 if ac_fn_c_try_compile
"$LINENO"; then :
19724 ac_cv_header_time
=yes
19726 ac_cv_header_time
=no
19728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
19731 $as_echo "$ac_cv_header_time" >&6; }
19732 if test $ac_cv_header_time = yes; then
19734 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
19739 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
19740 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
19741 $as_echo_n "(cached) " >&6
19743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19745 #include <sys/types.h>
19746 #include <termios.h>
19752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19753 $EGREP "yes" >/dev
/null
2>&1; then :
19754 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
19756 ac_cv_sys_tiocgwinsz_in_termios_h
=no
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
19762 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
19764 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
19766 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
19767 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
19768 $as_echo_n "(cached) " >&6
19770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h. */
19772 #include <sys/types.h>
19773 #include <sys/ioctl.h>
19779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19780 $EGREP "yes" >/dev
/null
2>&1; then :
19781 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
19783 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
19789 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
19791 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
19793 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
19799 for ac_header
in unistd.h
19801 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19802 if test "x$ac_cv_header_unistd_h" = xyes
; then :
19803 cat >>confdefs.h
<<_ACEOF
19804 #define HAVE_UNISTD_H 1
19812 for ac_header
in errno.h \
19838 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19839 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19840 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19841 cat >>confdefs.h
<<_ACEOF
19842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19850 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
19851 if test "x$ac_cv_header_termios_h" = xyes
; then :
19853 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
19857 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
19858 if test "x$ac_cv_header_termio_h" = xyes
; then :
19860 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
19864 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
19865 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
19867 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
19871 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
19888 $as_echo_n "checking return type of signal handlers... " >&6; }
19889 if ${ac_cv_type_signal+:} false
; then :
19890 $as_echo_n "(cached) " >&6
19892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #include <sys/types.h>
19895 #include <signal.h>
19900 return *(signal (0, 0)) (0) == 1;
19905 if ac_fn_c_try_compile
"$LINENO"; then :
19906 ac_cv_type_signal
=int
19908 ac_cv_type_signal
=void
19910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
19913 $as_echo "$ac_cv_type_signal" >&6; }
19915 cat >>confdefs.h
<<_ACEOF
19916 #define RETSIGTYPE $ac_cv_type_signal
19920 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19921 if test "x$ac_cv_type_size_t" = xyes
; then :
19925 cat >>confdefs.h
<<_ACEOF
19926 #define size_t unsigned int
19931 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
19932 if test "x$ac_cv_type_mode_t" = xyes
; then :
19936 cat >>confdefs.h
<<_ACEOF
19942 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
19943 if test "x$ac_cv_type_pid_t" = xyes
; then :
19947 cat >>confdefs.h
<<_ACEOF
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
19954 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
19955 if ${ac_cv_type_uid_t+:} false
; then :
19956 $as_echo_n "(cached) " >&6
19958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #include <sys/types.h>
19963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19964 $EGREP "uid_t" >/dev
/null
2>&1; then :
19965 ac_cv_type_uid_t
=yes
19967 ac_cv_type_uid_t
=no
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
19973 $as_echo "$ac_cv_type_uid_t" >&6; }
19974 if test $ac_cv_type_uid_t = no
; then
19976 $as_echo "#define uid_t int" >>confdefs.h
19979 $as_echo "#define gid_t int" >>confdefs.h
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
19984 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
19985 if ${ac_cv_struct_tm+:} false
; then :
19986 $as_echo_n "(cached) " >&6
19988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19989 /* end confdefs.h. */
19990 #include <sys/types.h>
19997 int *p = &tm.tm_sec;
20003 if ac_fn_c_try_compile
"$LINENO"; then :
20004 ac_cv_struct_tm
=time.h
20006 ac_cv_struct_tm
=sys
/time.h
20008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
20011 $as_echo "$ac_cv_struct_tm" >&6; }
20012 if test $ac_cv_struct_tm = sys
/time.h
; then
20014 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
20019 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
20020 if test "x$ac_cv_type_union_wait" = xyes
; then :
20022 cat >>confdefs.h
<<_ACEOF
20023 #define HAVE_UNION_WAIT 1
20030 for ac_header
in stdint.h
20032 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20033 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20034 cat >>confdefs.h
<<_ACEOF
20035 #define HAVE_STDINT_H 1
20040 for ac_header
in inttypes.h
20042 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20043 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20044 cat >>confdefs.h
<<_ACEOF
20045 #define HAVE_INTTYPES_H 1
20050 for ac_header
in sys
/types.h
20052 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20053 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20054 cat >>confdefs.h
<<_ACEOF
20055 #define HAVE_SYS_TYPES_H 1
20060 # The cast to long int works around a bug in the HP C Compiler
20061 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20062 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20063 # This bug is HP SR number 8606223364.
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
20065 $as_echo_n "checking size of unsigned short... " >&6; }
20066 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
20067 $as_echo_n "(cached) " >&6
20069 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
20072 if test "$ac_cv_type_unsigned_short" = yes; then
20073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20075 as_fn_error
77 "cannot compute sizeof (unsigned short)
20076 See \`config.log' for more details" "$LINENO" 5; }
20078 ac_cv_sizeof_unsigned_short
=0
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
20084 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
20088 cat >>confdefs.h
<<_ACEOF
20089 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20093 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
20094 uint16
="unsigned short"
20096 # The cast to long int works around a bug in the HP C Compiler
20097 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20098 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20099 # This bug is HP SR number 8606223364.
20100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20101 $as_echo_n "checking size of unsigned int... " >&6; }
20102 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20103 $as_echo_n "(cached) " >&6
20105 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20108 if test "$ac_cv_type_unsigned_int" = yes; then
20109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20111 as_fn_error
77 "cannot compute sizeof (unsigned int)
20112 See \`config.log' for more details" "$LINENO" 5; }
20114 ac_cv_sizeof_unsigned_int
=0
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20120 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20124 cat >>confdefs.h
<<_ACEOF
20125 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20129 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
20130 uint16
="unsigned int"
20132 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
20151 cat >>confdefs.h
<<_ACEOF
20152 #define UINT16 $uint16
20156 for ac_header
in stdint.h
20158 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20159 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20160 cat >>confdefs.h
<<_ACEOF
20161 #define HAVE_STDINT_H 1
20166 for ac_header
in inttypes.h
20168 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20169 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20170 cat >>confdefs.h
<<_ACEOF
20171 #define HAVE_INTTYPES_H 1
20176 for ac_header
in sys
/types.h
20178 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20179 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20180 cat >>confdefs.h
<<_ACEOF
20181 #define HAVE_SYS_TYPES_H 1
20186 # The cast to long int works around a bug in the HP C Compiler
20187 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20188 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20189 # This bug is HP SR number 8606223364.
20190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20191 $as_echo_n "checking size of unsigned int... " >&6; }
20192 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20193 $as_echo_n "(cached) " >&6
20195 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20198 if test "$ac_cv_type_unsigned_int" = yes; then
20199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20201 as_fn_error
77 "cannot compute sizeof (unsigned int)
20202 See \`config.log' for more details" "$LINENO" 5; }
20204 ac_cv_sizeof_unsigned_int
=0
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20210 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20214 cat >>confdefs.h
<<_ACEOF
20215 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20219 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
20220 uint32
="unsigned int"
20222 # The cast to long int works around a bug in the HP C Compiler
20223 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20224 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20225 # This bug is HP SR number 8606223364.
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
20227 $as_echo_n "checking size of unsigned long... " >&6; }
20228 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
20229 $as_echo_n "(cached) " >&6
20231 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
20234 if test "$ac_cv_type_unsigned_long" = yes; then
20235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20237 as_fn_error
77 "cannot compute sizeof (unsigned long)
20238 See \`config.log' for more details" "$LINENO" 5; }
20240 ac_cv_sizeof_unsigned_long
=0
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
20246 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
20250 cat >>confdefs.h
<<_ACEOF
20251 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20255 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
20256 uint32
="unsigned long"
20258 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
20277 cat >>confdefs.h
<<_ACEOF
20278 #define UINT32 $uint32
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
20283 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
20284 if ${ac_cv_func_qsort_argtype+:} false
; then :
20285 $as_echo_n "(cached) " >&6
20287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20291 #include "stdlib.h"
20295 extern sortf(const void *, const void *);
20298 const void *b; { return 0; }
20304 qsort(base, 2, sizeof(char *), sortf);
20310 if ac_fn_c_try_compile
"$LINENO"; then :
20311 ac_cv_func_qsort_argtype
=void
20313 ac_cv_func_qsort_argtype
=char
20315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
20319 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
20321 cat >>confdefs.h
<<_ACEOF
20322 #define qsort_t $ac_cv_func_qsort_argtype
20327 for ac_header
in sys
/select.h sys
/socket.h
20329 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20330 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20331 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20332 cat >>confdefs.h
<<_ACEOF
20333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
20341 $as_echo_n "checking types of arguments for select... " >&6; }
20342 if ${ac_cv_func_select_args+:} false
; then :
20343 $as_echo_n "(cached) " >&6
20345 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
20346 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
20347 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
20348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20350 $ac_includes_default
20351 #ifdef HAVE_SYS_SELECT_H
20352 # include <sys/select.h>
20354 #ifdef HAVE_SYS_SOCKET_H
20355 # include <sys/socket.h>
20361 extern int select ($ac_arg1,
20362 $ac_arg234, $ac_arg234, $ac_arg234,
20368 if ac_fn_c_try_compile
"$LINENO"; then :
20369 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
20371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20375 # Provide a safe default value.
20376 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
20380 $as_echo "$ac_cv_func_select_args" >&6; }
20381 ac_save_IFS
=$IFS; IFS
=','
20382 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
20386 cat >>confdefs.h
<<_ACEOF
20387 #define SELECT_TYPE_ARG1 $1
20391 cat >>confdefs.h
<<_ACEOF
20392 #define SELECT_TYPE_ARG234 ($2)
20396 cat >>confdefs.h
<<_ACEOF
20397 #define SELECT_TYPE_ARG5 ($3)
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
20404 $as_echo_n "checking for working strcoll... " >&6; }
20405 if ${ac_cv_func_strcoll_works+:} false
; then :
20406 $as_echo_n "(cached) " >&6
20408 if test "$cross_compiling" = yes; then :
20409 ac_cv_func_strcoll_works
=no
20411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20413 $ac_includes_default
20417 return (strcoll ("abc", "def") >= 0 ||
20418 strcoll ("ABC", "DEF") >= 0 ||
20419 strcoll ("123", "456") >= 0)
20424 if ac_fn_c_try_run
"$LINENO"; then :
20425 ac_cv_func_strcoll_works
=yes
20427 ac_cv_func_strcoll_works
=no
20429 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20430 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
20435 $as_echo "$ac_cv_func_strcoll_works" >&6; }
20436 if test $ac_cv_func_strcoll_works = yes; then
20438 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
20444 for ac_header
in vfork.h
20446 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
20447 if test "x$ac_cv_header_vfork_h" = xyes
; then :
20448 cat >>confdefs.h
<<_ACEOF
20449 #define HAVE_VFORK_H 1
20456 for ac_func
in fork vfork
20458 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20459 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20460 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20461 cat >>confdefs.h
<<_ACEOF
20462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20468 if test "x$ac_cv_func_fork" = xyes
; then
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
20470 $as_echo_n "checking for working fork... " >&6; }
20471 if ${ac_cv_func_fork_works+:} false
; then :
20472 $as_echo_n "(cached) " >&6
20474 if test "$cross_compiling" = yes; then :
20475 ac_cv_func_fork_works
=cross
20477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20478 /* end confdefs.h. */
20479 $ac_includes_default
20484 /* By Ruediger Kuhlmann. */
20485 return fork () < 0;
20491 if ac_fn_c_try_run
"$LINENO"; then :
20492 ac_cv_func_fork_works
=yes
20494 ac_cv_func_fork_works
=no
20496 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20497 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
20502 $as_echo "$ac_cv_func_fork_works" >&6; }
20505 ac_cv_func_fork_works
=$ac_cv_func_fork
20507 if test "x$ac_cv_func_fork_works" = xcross
; then
20509 *-*-amigaos* |
*-*-msdosdjgpp*)
20510 # Override, as these systems have only a dummy fork() stub
20511 ac_cv_func_fork_works
=no
20514 ac_cv_func_fork_works
=yes
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
20518 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
20520 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20521 if test "x$ac_cv_func_vfork" = xyes
; then
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
20523 $as_echo_n "checking for working vfork... " >&6; }
20524 if ${ac_cv_func_vfork_works+:} false
; then :
20525 $as_echo_n "(cached) " >&6
20527 if test "$cross_compiling" = yes; then :
20528 ac_cv_func_vfork_works
=cross
20530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20531 /* end confdefs.h. */
20532 /* Thanks to Paul Eggert for this test. */
20533 $ac_includes_default
20534 #include <sys/wait.h>
20535 #ifdef HAVE_VFORK_H
20536 # include <vfork.h>
20538 /* On some sparc systems, changes by the child to local and incoming
20539 argument registers are propagated back to the parent. The compiler
20540 is told about this with #include <vfork.h>, but some compilers
20541 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
20542 static variable whose address is put into a register that is
20543 clobbered by the vfork. */
20546 sparc_address_test (int arg)
20548 sparc_address_test (arg) int arg;
20551 static pid_t child;
20569 pid_t parent = getpid ();
20572 sparc_address_test (0);
20577 /* Here is another test for sparc vfork register problems. This
20578 test uses lots of local variables, at least as many local
20579 variables as main has allocated so far including compiler
20580 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
20581 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
20582 reuse the register of parent for one of the local variables,
20583 since it will think that parent can't possibly be used any more
20584 in this routine. Assigning to the local variable will thus
20585 munge parent in the parent process. */
20587 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
20588 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
20589 /* Convince the compiler that p..p7 are live; otherwise, it might
20590 use the same hardware register for all 8 local variables. */
20591 if (p != p1 || p != p2 || p != p3 || p != p4
20592 || p != p5 || p != p6 || p != p7)
20595 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
20596 from child file descriptors. If the child closes a descriptor
20597 before it execs or exits, this munges the parent's descriptor
20598 as well. Test for this by closing stdout in the child. */
20599 _exit(close(fileno(stdout)) != 0);
20604 while (wait(&status) != child)
20607 /* Was there some problem with vforking? */
20610 /* Did the child fail? (This shouldn't happen.) */
20613 /* Did the vfork/compiler bug occur? */
20614 || parent != getpid()
20616 /* Did the file descriptor bug occur? */
20617 || fstat(fileno(stdout), &st) != 0
20622 if ac_fn_c_try_run
"$LINENO"; then :
20623 ac_cv_func_vfork_works
=yes
20625 ac_cv_func_vfork_works
=no
20627 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20628 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
20633 $as_echo "$ac_cv_func_vfork_works" >&6; }
20636 if test "x$ac_cv_func_fork_works" = xcross
; then
20637 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
20639 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
20642 if test "x$ac_cv_func_vfork_works" = xyes
; then
20644 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
20648 $as_echo "#define vfork fork" >>confdefs.h
20651 if test "x$ac_cv_func_fork_works" = xyes
; then
20653 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
20657 for ac_func
in strchr \
20690 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20691 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20692 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20693 cat >>confdefs.h
<<_ACEOF
20694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
20702 $as_echo_n "checking for library containing gethostname... " >&6; }
20703 if ${ac_cv_search_gethostname+:} false
; then :
20704 $as_echo_n "(cached) " >&6
20706 ac_func_search_save_LIBS
=$LIBS
20707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20708 /* end confdefs.h. */
20710 /* Override any GCC internal prototype to avoid an error.
20711 Use char because int might match the return type of a GCC
20712 builtin and then its argument prototype would still apply. */
20716 char gethostname ();
20720 return gethostname ();
20725 for ac_lib
in '' nsl
; do
20726 if test -z "$ac_lib"; then
20727 ac_res
="none required"
20730 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20732 if ac_fn_c_try_link
"$LINENO"; then :
20733 ac_cv_search_gethostname
=$ac_res
20735 rm -f core conftest.err conftest.
$ac_objext \
20737 if ${ac_cv_search_gethostname+:} false
; then :
20741 if ${ac_cv_search_gethostname+:} false
; then :
20744 ac_cv_search_gethostname
=no
20746 rm conftest.
$ac_ext
20747 LIBS
=$ac_func_search_save_LIBS
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
20750 $as_echo "$ac_cv_search_gethostname" >&6; }
20751 ac_res
=$ac_cv_search_gethostname
20752 if test "$ac_res" != no
; then :
20753 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
20759 $as_echo_n "checking for library containing socket... " >&6; }
20760 if ${ac_cv_search_socket+:} false
; then :
20761 $as_echo_n "(cached) " >&6
20763 ac_func_search_save_LIBS
=$LIBS
20764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20765 /* end confdefs.h. */
20767 /* Override any GCC internal prototype to avoid an error.
20768 Use char because int might match the return type of a GCC
20769 builtin and then its argument prototype would still apply. */
20782 for ac_lib
in '' socket
; do
20783 if test -z "$ac_lib"; then
20784 ac_res
="none required"
20787 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20789 if ac_fn_c_try_link
"$LINENO"; then :
20790 ac_cv_search_socket
=$ac_res
20792 rm -f core conftest.err conftest.
$ac_objext \
20794 if ${ac_cv_search_socket+:} false
; then :
20798 if ${ac_cv_search_socket+:} false
; then :
20801 ac_cv_search_socket
=no
20803 rm conftest.
$ac_ext
20804 LIBS
=$ac_func_search_save_LIBS
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
20807 $as_echo "$ac_cv_search_socket" >&6; }
20808 ac_res
=$ac_cv_search_socket
20809 if test "$ac_res" != no
; then :
20810 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
20820 $as_echo_n "checking for library containing bind... " >&6; }
20821 if ${ac_cv_search_bind+:} false
; then :
20822 $as_echo_n "(cached) " >&6
20824 ac_func_search_save_LIBS
=$LIBS
20825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20826 /* end confdefs.h. */
20828 /* Override any GCC internal prototype to avoid an error.
20829 Use char because int might match the return type of a GCC
20830 builtin and then its argument prototype would still apply. */
20843 for ac_lib
in '' bind; do
20844 if test -z "$ac_lib"; then
20845 ac_res
="none required"
20848 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20850 if ac_fn_c_try_link
"$LINENO"; then :
20851 ac_cv_search_bind
=$ac_res
20853 rm -f core conftest.err conftest.
$ac_objext \
20855 if ${ac_cv_search_bind+:} false
; then :
20859 if ${ac_cv_search_bind+:} false
; then :
20862 ac_cv_search_bind
=no
20864 rm conftest.
$ac_ext
20865 LIBS
=$ac_func_search_save_LIBS
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
20868 $as_echo "$ac_cv_search_bind" >&6; }
20869 ac_res
=$ac_cv_search_bind
20870 if test "$ac_res" != no
; then :
20871 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20880 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
20882 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20883 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20884 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20885 cat >>confdefs.h
<<_ACEOF
20886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20890 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
20895 for ac_func
in sigset sigrelse
20897 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20898 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20899 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20900 cat >>confdefs.h
<<_ACEOF
20901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20905 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
20917 $as_echo_n "checking for library containing syslog... " >&6; }
20918 if ${ac_cv_search_syslog+:} false
; then :
20919 $as_echo_n "(cached) " >&6
20921 ac_func_search_save_LIBS
=$LIBS
20922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20923 /* end confdefs.h. */
20925 /* Override any GCC internal prototype to avoid an error.
20926 Use char because int might match the return type of a GCC
20927 builtin and then its argument prototype would still apply. */
20940 for ac_lib
in '' bsd socket inet
; do
20941 if test -z "$ac_lib"; then
20942 ac_res
="none required"
20945 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20947 if ac_fn_c_try_link
"$LINENO"; then :
20948 ac_cv_search_syslog
=$ac_res
20950 rm -f core conftest.err conftest.
$ac_objext \
20952 if ${ac_cv_search_syslog+:} false
; then :
20956 if ${ac_cv_search_syslog+:} false
; then :
20959 ac_cv_search_syslog
=no
20961 rm conftest.
$ac_ext
20962 LIBS
=$ac_func_search_save_LIBS
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
20965 $as_echo "$ac_cv_search_syslog" >&6; }
20966 ac_res
=$ac_cv_search_syslog
20967 if test "$ac_res" != no
; then :
20968 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20971 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
20978 if test -n "$alpine_with_local_maildir" ; then
20979 alpine_local_maildir
=$alpine_with_local_maildir
20980 elif test -d /var
/spool
/mail ; then
20981 alpine_local_maildir
="/var/spool/mail"
20982 elif test -d /var
/mail ; then
20983 alpine_local_maildir
="/var/mail"
20985 alpine_local_maildir
="/usr/spool/mail"
20988 if test -n "$alpine_with_c_client_target" ; then
20989 alpine_c_client_target
=$alpine_with_c_client_target
20993 cat >>confdefs.h
<<_ACEOF
20994 #define SYSTYPE "$systype"
20998 cat >>confdefs.h
<<_ACEOF
20999 #define C_FILESEP '$alpine_path_delim'
21003 cat >>confdefs.h
<<_ACEOF
21004 #define S_FILESEP "$alpine_path_delim"
21008 cat >>confdefs.h
<<_ACEOF
21009 #define MAILDIR "$alpine_local_maildir"
21013 cat >>confdefs.h
<<_ACEOF
21014 #define MODE_READONLY $alpine_mode_readonly
21018 C_CLIENT_TARGET
=$alpine_c_client_target
21020 C_CLIENT_WITH_IPV6
=$c_client_ip6
21022 if test "x$alpine_SSLTYPE" = "xnone" ; then
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
21024 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
21025 c_client_specials
="${c_client_specials}SSLTYPE=none "
21028 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
21029 certdir
="$alpine_SSLCERTS"
21030 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
21031 certdir
="${alpine_SSLDIR}/certs"
21032 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
21033 certdir
="${alpine_SSLDIR}/ssl/certs"
21034 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
21035 certdir
="$alpine_SSLCERTS_ORIG"
21036 elif test -n "$alpine_SSLCERTS" ; then
21037 certdir
="$alpine_SSLCERTS"
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
21040 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
21043 if test "x$with_smime" != "xno" ; then
21044 if test -n "$certdir" ; then
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
21046 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
21048 $as_echo "#define SMIME /**/" >>confdefs.h
21051 cat >>confdefs.h
<<_ACEOF
21052 #define SMIME_SSLCERTS "$certdir"
21060 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
21061 SSL_BUNDLE_EXISTS
="no"
21062 SSL_PEM
="factory.pem ca-bundle.pem"
21063 for SSL_BUNDLE
in $SSL_PEM
21065 if test -f ${certdir}/${SSL_BUNDLE} ; then
21066 SSL_BUNDLE_EXISTS
="yes"
21070 SSL_CERT_LINK
="yes"
21073 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
21075 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
21076 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
21077 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
21079 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
21081 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
21084 if test -n "$alpine_SSLINCLUDE" ; then
21085 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
21088 if test -n "$alpine_SSLLIB" ; then
21089 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
21092 if test -n "$alpine_SSLDIR" ; then
21093 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
21096 if test -n "$certdir" ; then
21097 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
21100 if test -n "$alpine_SSLKEYS" ; then
21101 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
21106 if test "x$alpine_GSSTYPE" != "xnone" ; then
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
21109 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
21113 if test "x$alpine_NTLM" != "xnone" ; then
21114 extra_auth_ntlm
=ntl
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
21116 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
21119 if test -n "$CPPFLAGS" ; then
21120 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
21122 if test -n "$CFLAGS" ; then
21123 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
21126 if test -n "$alpine_c_client_cflags" ; then
21127 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
21131 if test -n "$LDFLAGS" ; then
21132 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
21134 if test -n "$LIBS" ; then
21135 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
21138 if test -n "$alpine_c_client_ldflags" ; then
21139 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
21143 if test -n "$alpine_c_client_gccoptlevel" ; then
21144 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
21148 c_client_auths
="$extra_auth_gss $extra_auth_ntlm"
21149 C_CLIENT_AUTHS
=$c_client_auths
21152 C_CLIENT_SPECIALS
=$c_client_specials
21155 if test -z "$WEB_BUILD" ; then
21156 WEB_PUBCOOKIE_BUILD
=
21157 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
21158 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
21160 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
21162 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
21163 if test "x$alpine_GSSTYPE" = "xnone" ; then
21164 WEB_PUBCOOKIE_BUILD
=
21165 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
21166 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
21168 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
21169 elif test -z "$WEB_BINDIR" ; then
21170 WEB_PUBCOOKIE_BUILD
=
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
21172 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
21173 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
21174 Please re-run configure with these options:
21175 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
21178 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
21180 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
21181 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
21197 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"
21199 cat >confcache
<<\_ACEOF
21200 # This file is a shell script that caches the results of configure
21201 # tests run on this system so they can be shared between configure
21202 # scripts and configure runs, see configure's option --config-cache.
21203 # It is not useful on other systems. If it contains results you don't
21204 # want to keep, you may remove or edit it.
21206 # config.status only pays attention to the cache file if you give it
21207 # the --recheck option to rerun configure.
21209 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21210 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21211 # following values.
21215 # The following way of writing the cache mishandles newlines in values,
21216 # but we know of no workaround that is simple, portable, and efficient.
21217 # So, we kill variables containing newlines.
21218 # Ultrix sh set writes to stderr and can't be redirected directly,
21219 # and sets the high bit in the cache file unless we assign to the vars.
21221 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21222 eval ac_val
=\$
$ac_var
21226 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21227 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21230 _ | IFS | as_nl
) ;; #(
21231 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21232 *) { eval $ac_var=; unset $ac_var;} ;;
21238 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21239 *${as_nl}ac_space
=\
*)
21240 # `set' does not quote correctly, so add quotes: double-quote
21241 # substitution turns \\\\ into \\, and sed turns \\ into \.
21244 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21247 # `set' quotes correctly as required by POSIX, so do not add quotes.
21248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21257 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21259 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21261 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21262 if test -w "$cache_file"; then
21263 if test "x$cache_file" != "x/dev/null"; then
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21265 $as_echo "$as_me: updating cache $cache_file" >&6;}
21266 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
21267 cat confcache
>"$cache_file"
21269 case $cache_file in #(
21271 mv -f confcache
"$cache_file"$$
&&
21272 mv -f "$cache_file"$$
"$cache_file" ;; #(
21274 mv -f confcache
"$cache_file" ;;
21279 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21280 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21285 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21286 # Let make expand exec_prefix.
21287 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21289 DEFS
=-DHAVE_CONFIG_H
21294 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21295 # 1. Remove the extension, and $U if already installed.
21296 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21297 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21298 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21299 # will be set to the directory where LIBOBJS objects are built.
21300 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21301 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21303 LIBOBJS
=$ac_libobjs
21305 LTLIBOBJS
=$ac_ltlibobjs
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21309 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21310 if test -n "$am_sleep_pid"; then
21311 # Hide warnings about reused PIDs.
21312 wait $am_sleep_pid 2>/dev
/null
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21315 $as_echo "done" >&6; }
21316 if test -n "$EXEEXT"; then
21318 am__EXEEXT_FALSE
='#'
21320 am__EXEEXT_TRUE
='#'
21324 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21325 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21328 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21329 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21332 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21333 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21337 : "${CONFIG_STATUS=./config.status}"
21339 ac_clean_files_save
=$ac_clean_files
21340 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21342 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21344 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21346 # Generated by $as_me.
21347 # Run this file to recreate the current configuration.
21348 # Compiler output produced by configure, useful for debugging
21349 # configure, is in config.log if it exists.
21352 ac_cs_recheck=false
21355 SHELL=\${CONFIG_SHELL-$SHELL}
21358 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
21359 ## -------------------- ##
21360 ## M4sh Initialization. ##
21361 ## -------------------- ##
21363 # Be more Bourne compatible
21364 DUALCASE
=1; export DUALCASE
# for MKS sh
21365 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21368 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21369 # is contrary to our usage. Disable this feature.
21370 alias -g '${1+"$@"}'='"$@"'
21371 setopt NO_GLOB_SUBST
21373 case `(set -o) 2>/dev/null` in #(
21385 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21386 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21387 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21388 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21389 # Prefer a ksh shell builtin over an external printf program on Solaris,
21390 # but without wasting forks for bash or zsh.
21391 if test -z "$BASH_VERSION$ZSH_VERSION" \
21392 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21393 as_echo='print
-r --'
21394 as_echo_n='print
-rn --'
21395 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21396 as_echo='printf %s
\n'
21397 as_echo_n='printf %s
'
21399 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21400 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21401 as_echo_n='/usr
/ucb
/echo -n'
21403 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21404 as_echo_n_body='eval
21408 expr "X$arg" : "X\\(.*\\)$as_nl";
21409 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21411 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21413 export as_echo_n_body
21414 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21416 export as_echo_body
21417 as_echo='sh
-c $as_echo_body as_echo
'
21420 # The user is always right.
21421 if test "${PATH_SEPARATOR+set}" != set; then
21423 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21424 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21431 # We need space, tab and new line, in precisely that order. Quoting is
21432 # there to prevent editors from complaining about space-tab.
21433 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21434 # splitting by setting IFS to empty value.)
21437 # Find who we are. Look in the path if we contain no directory separator.
21440 *[\\/]* ) as_myself=$0 ;;
21441 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21442 for as_dir in $PATH
21445 test -z "$as_dir" && as_dir=.
21446 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21452 # We did not find ourselves, most probably we were run as `sh COMMAND'
21453 # in which case we are not to be found in the path.
21454 if test "x$as_myself" = x
; then
21457 if test ! -f "$as_myself"; then
21458 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21462 # Unset variables that we do not need and which cause bugs (e.g. in
21463 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21464 # suppresses any "Segmentation fault" message there. '((' could
21465 # trigger a bug in pdksh 5.2.14.
21466 for as_var
in BASH_ENV ENV MAIL MAILPATH
21467 do eval test x\
${$as_var+set} = xset \
21468 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
21481 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21484 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21485 # ----------------------------------------
21486 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21487 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21488 # script with STATUS, using 1 if that was 0.
21491 as_status
=$1; test $as_status -eq 0 && as_status
=1
21493 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21494 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21496 $as_echo "$as_me: error: $2" >&2
21497 as_fn_exit
$as_status
21501 # as_fn_set_status STATUS
21502 # -----------------------
21503 # Set $? to STATUS, without forking.
21504 as_fn_set_status
()
21507 } # as_fn_set_status
21509 # as_fn_exit STATUS
21510 # -----------------
21511 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21515 as_fn_set_status
$1
21521 # Portably unset VAR.
21524 { eval $1=; unset $1;}
21526 as_unset
=as_fn_unset
21527 # as_fn_append VAR VALUE
21528 # ----------------------
21529 # Append the text in VALUE to the end of the definition contained in VAR. Take
21530 # advantage of any shell optimizations that allow amortized linear growth over
21531 # repeated appends, instead of the typical quadratic growth present in naive
21533 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21534 eval 'as_fn_append ()
21545 # as_fn_arith ARG...
21546 # ------------------
21547 # Perform arithmetic evaluation on the ARGs, and store the result in the
21548 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21549 # must be portable across $(()) and expr.
21550 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21551 eval 'as_fn_arith ()
21558 as_val
=`expr "$@" || test $? -eq 1`
21563 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21564 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21570 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21571 as_basename
=basename
21576 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21582 as_me
=`$as_basename -- "$0" ||
21583 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21584 X"$0" : 'X\(//\)$' \| \
21585 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21587 sed '/^.*\/\([^/][^/]*\)\/*$/{
21601 # Avoid depending upon Character Ranges.
21602 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21603 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21604 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21605 as_cr_digits
='0123456789'
21606 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21608 ECHO_C
= ECHO_N
= ECHO_T
=
21609 case `echo -n x` in #(((((
21611 case `echo 'xy\c'` in
21612 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21614 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21621 rm -f conf$$ conf$$.exe conf$$.
file
21622 if test -d conf$$.dir
; then
21623 rm -f conf$$.dir
/conf$$.
file
21626 mkdir conf$$.dir
2>/dev
/null
21628 if (echo >conf$$.
file) 2>/dev
/null
; then
21629 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21631 # ... but there are two gotchas:
21632 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21633 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21634 # In both cases, we have to default to `cp -pR'.
21635 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21637 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21645 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21646 rmdir conf$$.dir
2>/dev
/null
21651 # Create "$as_dir" as a directory, including parents if necessary.
21656 -*) as_dir
=.
/$as_dir;;
21658 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
21662 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21663 *) as_qdir
=$as_dir;;
21665 as_dirs
="'$as_qdir' $as_dirs"
21666 as_dir
=`$as_dirname -- "$as_dir" ||
21667 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21668 X"$as_dir" : 'X\(//\)[^/]' \| \
21669 X"$as_dir" : 'X\(//\)$' \| \
21670 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21671 $as_echo X"$as_dir" |
21672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21676 /^X\(\/\/\)[^/].*/{
21689 test -d "$as_dir" && break
21691 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21692 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21696 if mkdir
-p .
2>/dev
/null
; then
21697 as_mkdir_p
='mkdir -p "$as_dir"'
21699 test -d .
/-p && rmdir .
/-p
21704 # as_fn_executable_p FILE
21705 # -----------------------
21706 # Test if FILE is an executable regular file.
21707 as_fn_executable_p
()
21709 test -f "$1" && test -x "$1"
21710 } # as_fn_executable_p
21711 as_test_x
='test -x'
21712 as_executable_p
=as_fn_executable_p
21714 # Sed expression to map a string onto a valid CPP name.
21715 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21717 # Sed expression to map a string onto a valid variable name.
21718 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21722 ## ----------------------------------- ##
21723 ## Main body of $CONFIG_STATUS script. ##
21724 ## ----------------------------------- ##
21726 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21729 # Save the log message, to keep $0 and so on meaningful, and to
21730 # report actual input values of CONFIG_FILES etc. instead of their
21731 # values after options handling.
21733 This file was extended by alpine $as_me 2.21.9, which was
21734 generated by GNU Autoconf 2.69. Invocation command line was
21736 CONFIG_FILES = $CONFIG_FILES
21737 CONFIG_HEADERS = $CONFIG_HEADERS
21738 CONFIG_LINKS = $CONFIG_LINKS
21739 CONFIG_COMMANDS = $CONFIG_COMMANDS
21742 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21747 case $ac_config_files in *"
21748 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21751 case $ac_config_headers in *"
21752 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21757 # Files that config.status was made for.
21758 config_files="$ac_config_files"
21759 config_headers="$ac_config_headers"
21760 config_commands="$ac_config_commands"
21764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21766 \`$as_me' instantiates files and other configuration actions
21767 from templates according to the current configuration. Unless the files
21768 and actions are specified as TAGs, all are instantiated by default.
21770 Usage: $0 [OPTION]... [TAG]...
21772 -h, --help print this help, then exit
21773 -V, --version print version number and configuration settings, then exit
21774 --config print configuration, then exit
21775 -q, --quiet, --silent
21776 do not print progress messages
21777 -d, --debug don't remove temporary files
21778 --recheck update $as_me by reconfiguring in the same conditions
21779 --file=FILE[:TEMPLATE]
21780 instantiate the configuration file FILE
21781 --header=FILE[:TEMPLATE]
21782 instantiate the configuration header FILE
21784 Configuration files:
21787 Configuration headers:
21790 Configuration commands:
21793 Report bugs to <chappa@washington.edu>."
21796 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21797 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21799 alpine config.status 2.21.9
21800 configured by $0, generated by GNU Autoconf 2.69,
21801 with options \\"\$ac_cs_config\\"
21803 Copyright (C) 2012 Free Software Foundation, Inc.
21804 This config.status script is free software; the Free Software Foundation
21805 gives unlimited permission to copy, distribute and modify it."
21812 test -n "\$AWK" || AWK=awk
21815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21816 # The default lists apply if the user does not specify any file.
21822 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21823 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21827 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21839 # Handling of the options.
21840 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21842 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21843 $as_echo "$ac_cs_version"; exit ;;
21844 --config |
--confi |
--conf |
--con |
--co |
--c )
21845 $as_echo "$ac_cs_config"; exit ;;
21846 --debug |
--debu |
--deb |
--de |
--d |
-d )
21848 --file |
--fil |
--fi |
--f )
21851 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21852 '') as_fn_error $?
"missing file argument" ;;
21854 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21855 ac_need_defaults
=false
;;
21856 --header |
--heade |
--head |
--hea )
21859 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21861 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21862 ac_need_defaults
=false
;;
21864 # Conflict between --help and --header
21865 as_fn_error $?
"ambiguous option: \`$1'
21866 Try \`$0 --help' for more information.";;
21867 --help |
--hel |
-h )
21868 $as_echo "$ac_cs_usage"; exit ;;
21869 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21870 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21873 # This is an error.
21874 -*) as_fn_error $?
"unrecognized option: \`$1'
21875 Try \`$0 --help' for more information." ;;
21877 *) as_fn_append ac_config_targets
" $1"
21878 ac_need_defaults
=false
;;
21884 ac_configure_extra_args
=
21886 if $ac_cs_silent; then
21888 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21893 if \$ac_cs_recheck; then
21894 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21896 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21897 CONFIG_SHELL='$SHELL'
21898 export CONFIG_SHELL
21903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21907 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21908 ## Running $as_me. ##
21914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21918 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21921 # The HP-UX ksh and POSIX shell print the target directory to stdout
21922 # if CDPATH is set.
21923 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21925 sed_quote_subst='$sed_quote_subst'
21926 double_quote_subst='$double_quote_subst'
21927 delay_variable_subst='$delay_variable_subst'
21928 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21929 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21930 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21931 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21932 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21933 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21934 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21935 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21936 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21937 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21938 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21939 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21940 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21941 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21942 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21943 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21944 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21945 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21946 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21947 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21948 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21949 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21950 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21951 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21952 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21953 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21954 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21955 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21956 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21957 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21958 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21959 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21960 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21961 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21962 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21963 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21964 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21965 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21966 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21967 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21968 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21969 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21970 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21971 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21972 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21973 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21974 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21975 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21976 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21977 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21978 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21979 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21980 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21981 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21982 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21983 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21984 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"`'
21985 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21986 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21987 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21988 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21989 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21990 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21991 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21992 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21993 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21994 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21995 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21996 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21997 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21998 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21999 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22000 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22001 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22002 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22003 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22004 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22005 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22006 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22007 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22008 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22009 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22010 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22011 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22012 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22013 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22014 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22015 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22016 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22017 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22018 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22019 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22020 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22021 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22022 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22023 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22024 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22025 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22026 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22027 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22028 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22029 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22030 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22031 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22032 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22033 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22034 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22035 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22036 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22037 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22038 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22039 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22040 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22041 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22042 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22043 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22044 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22045 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22046 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22047 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22048 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22049 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22050 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22051 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22052 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22053 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22054 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22055 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22056 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22057 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22060 LTCFLAGS='$LTCFLAGS'
22061 compiler='$compiler_DEFAULT'
22063 # A function that is used when there is no print builtin or printf.
22064 func_fallback_echo ()
22066 eval 'cat <<_LTECHO_EOF
22071 # Quote evaled strings.
22086 deplibs_check_method \
22091 sharedlib_from_linklib_cmd \
22094 archiver_list_spec \
22100 lt_cv_sys_global_symbol_pipe \
22101 lt_cv_sys_global_symbol_to_cdecl \
22102 lt_cv_sys_global_symbol_to_c_name_address \
22103 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22104 nm_file_list_spec \
22105 lt_prog_compiler_no_builtin_flag \
22106 lt_prog_compiler_pic \
22107 lt_prog_compiler_wl \
22108 lt_prog_compiler_static \
22109 lt_cv_prog_compiler_c_o \
22118 export_dynamic_flag_spec \
22119 whole_archive_flag_spec \
22120 compiler_needs_object \
22122 allow_undefined_flag \
22123 no_undefined_flag \
22124 hardcode_libdir_flag_spec \
22125 hardcode_libdir_separator \
22129 variables_saved_for_relink \
22131 library_names_spec \
22133 install_override_mode \
22137 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22138 *[\\\\\\\`\\"\\\$]*)
22139 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22142 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22147 # Double-quote double-evaled strings.
22148 for var in reload_cmds \
22149 old_postinstall_cmds \
22150 old_postuninstall_cmds \
22152 extract_expsyms_cmds \
22153 old_archive_from_new_cmds \
22154 old_archive_from_expsyms_cmds \
22156 archive_expsym_cmds \
22158 module_expsym_cmds \
22159 export_symbols_cmds \
22163 postuninstall_cmds \
22165 sys_lib_search_path_spec \
22166 sys_lib_dlsearch_path_spec; do
22167 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22168 *[\\\\\\\`\\"\\\$]*)
22169 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22172 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22177 ac_aux_dir='$ac_aux_dir'
22178 xsi_shell='$xsi_shell'
22179 lt_shell_append='$lt_shell_append'
22181 # See if we are running on zsh, and set the options which allow our
22182 # commands through without removal of \ escapes INIT.
22183 if test -n "\${ZSH_VERSION+set}" ; then
22184 setopt NO_GLOB_SUBST
22190 TIMESTAMP='$TIMESTAMP'
22196 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
22197 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
22198 # from automake < 1.5.
22199 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
22200 # Capture the value of LINGUAS because we need it to compute CATALOGS.
22201 LINGUAS="${LINGUAS-%UNSET%}"
22206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22208 # Handling of arguments.
22209 for ac_config_target
in $ac_config_targets
22211 case $ac_config_target in
22212 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22213 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22214 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22215 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
22216 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
22217 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
22218 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
22219 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
22220 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
22221 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
22222 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
22223 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
22224 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
22225 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
22226 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
22227 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
22228 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
22229 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22231 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22236 # If the user did not use the arguments to specify the items to instantiate,
22237 # then the envvar interface is used. Set only those that are not.
22238 # We use the long form for the default assignment because of an extremely
22239 # bizarre bug on SunOS 4.1.3.
22240 if $ac_need_defaults; then
22241 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22242 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22243 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22246 # Have a temporary directory for convenience. Make it in the build tree
22247 # simply because there is no reason against having it here, and in addition,
22248 # creating and moving files from /tmp can sometimes cause problems.
22249 # Hook for its removal unless debugging.
22250 # Note that there is a small window in which the directory will not be cleaned:
22251 # after its creation but before its name has been assigned to `$tmp'.
22255 trap 'exit_status=$?
22256 : "${ac_tmp:=$tmp}"
22257 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22259 trap 'as_fn_exit 1' 1 2 13 15
22261 # Create a (secure) tmp directory for tmp files.
22264 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22268 tmp
=.
/conf$$
-$RANDOM
22269 (umask 077 && mkdir
"$tmp")
22270 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22273 # Set up the scripts for CONFIG_FILES section.
22274 # No need to generate them if there are no CONFIG_FILES.
22275 # This happens for instance with `./config.status config.h'.
22276 if test -n "$CONFIG_FILES"; then
22279 ac_cr
=`echo X | tr X '\015'`
22280 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22281 # But we know of no other shell where ac_cr would be empty at this
22282 # point, so we can use a bashism as a fallback.
22283 if test "x$ac_cr" = x
; then
22284 eval ac_cr
=\$
\'\\r
\'
22286 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22287 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22290 ac_cs_awk_cr
=$ac_cr
22293 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22298 echo "cat >conf$$subs.awk <<_ACEOF" &&
22299 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22301 } >conf$$subs.sh ||
22302 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22303 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22305 for ac_last_try in false false false false false :; do
22306 . ./conf$$subs.sh ||
22307 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22309 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22310 if test $ac_delim_n = $ac_delim_num; then
22312 elif $ac_last_try; then
22313 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22315 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22318 rm -f conf$$subs.sh
22320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22321 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22325 s/^/S["/; s
/!.
*/"]=/
22335 s/\(.\{148\}\)..*/\1/
22337 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22342 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22349 s/\(.\{148\}\)..*/\1/
22351 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22355 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22360 ' <conf$$subs.awk | sed '
22365 ' >>$CONFIG_STATUS || ac_write_fail=1
22366 rm -f conf$$subs.awk
22367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22369 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22370 for (key in S) S_is_set[key] = 1
22376 nfields = split(line, field, "@
")
22378 len = length(field[1])
22379 for (i = 2; i < nfields; i++) {
22381 keylen = length(key)
22382 if (S_is_set[key]) {
22384 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22385 len += length(value) + length(field[++i])
22396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22397 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22398 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22401 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22402 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22405 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22406 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22407 # trailing colons and then remove the whole line if VPATH becomes empty
22408 # (actually we leave an empty line to preserve line numbers).
22409 if test "x
$srcdir" = x.; then
22410 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22429 fi # test -n "$CONFIG_FILES"
22431 # Set up the scripts for CONFIG_HEADERS section.
22432 # No need to generate them if there are no CONFIG_HEADERS.
22433 # This happens for instance with `./config.status Makefile'.
22434 if test -n "$CONFIG_HEADERS"; then
22435 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22439 # Transform confdefs.h into an awk script `defines.awk', embedded as
22440 # here-document in config.status, that substitutes the proper values into
22441 # config.h.in to produce config.h.
22443 # Create a delimiter string that does not exist in confdefs.h, to ease
22444 # handling of long lines.
22446 for ac_last_try in false false :; do
22447 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22448 if test -z "$ac_tt"; then
22450 elif $ac_last_try; then
22451 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22453 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22457 # For the awk script, D is an array of macro values keyed by name,
22458 # likewise P contains macro parameters if any. Preserve backslash
22459 # newline sequences.
22461 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22463 s/.\{148\}/&'"$ac_delim"'/g
22466 s/^[ ]*#[ ]*define[ ][ ]*/ /
22473 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22475 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22479 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22480 D["\
1"]=" \
3\\\\\\n
"\\/p
22482 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22487 s/.\{148\}/&'"$ac_delim"'/g
22492 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22495 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22497 ' <confdefs.h | sed '
22498 s/'"$ac_delim"'/"\\\
22499 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22502 for (key in D) D_is_set[key] = 1
22505 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22507 split(line, arg, " ")
22508 if (arg[1] == "#") {
22512 defundef
= substr
(arg
[1], 2)
22515 split(mac1
, mac2
, "(") #)
22517 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22518 if (D_is_set
[macro
]) {
22519 # Preserve the white space surrounding the "#".
22520 print prefix
"define", macro P
[macro
] D
[macro
]
22523 # Replace #undef with comments. This is necessary, for example,
22524 # in the case of _POSIX_SOURCE, which is predefined and required
22525 # on some systems where configure will not decide to define it.
22526 if (defundef
== "undef") {
22527 print
"/*", prefix defundef
, macro
, "*/"
22535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22536 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22537 fi # test -n "$CONFIG_HEADERS"
22540 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22545 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22547 case $ac_mode$ac_tag in
22549 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22550 :[FH
]-) ac_tag
=-:-;;
22551 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22568 -) ac_f
="$ac_tmp/stdin";;
22569 *) # Look for the file first in the build tree, then in the source tree
22570 # (if the path is not absolute). The absolute path cannot be DOS-style,
22571 # because $ac_f cannot contain `:'.
22575 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22577 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22579 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22580 as_fn_append ac_file_inputs
" '$ac_f'"
22583 # Let's still pretend it is `configure' which instantiates (i.e., don't
22584 # use $as_me), people would be surprised to read:
22585 # /* config.h. Generated by config.status. */
22586 configure_input
='Generated from '`
22587 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22589 if test x
"$ac_file" != x-
; then
22590 configure_input
="$ac_file. $configure_input"
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22592 $as_echo "$as_me: creating $ac_file" >&6;}
22594 # Neutralize special characters interpreted by sed in replacement strings.
22595 case $configure_input in #(
22596 *\
&* |
*\|
* |
*\\* )
22597 ac_sed_conf_input
=`$as_echo "$configure_input" |
22598 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22599 *) ac_sed_conf_input
=$configure_input;;
22603 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
22604 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22609 ac_dir
=`$as_dirname -- "$ac_file" ||
22610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22611 X"$ac_file" : 'X\(//\)[^/]' \| \
22612 X"$ac_file" : 'X\(//\)$' \| \
22613 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22614 $as_echo X"$ac_file" |
22615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22619 /^X\(\/\/\)[^/].*/{
22632 as_dir
="$ac_dir"; as_fn_mkdir_p
22636 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22638 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22639 # A ".." for each directory in $ac_dir_suffix.
22640 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22641 case $ac_top_builddir_sub in
22642 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22643 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22646 ac_abs_top_builddir
=$ac_pwd
22647 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22648 # for backward compatibility:
22649 ac_top_builddir
=$ac_top_build_prefix
22652 .
) # We are building in place.
22654 ac_top_srcdir
=$ac_top_builddir_sub
22655 ac_abs_top_srcdir
=$ac_pwd ;;
22656 [\\/]* | ?
:[\\/]* ) # Absolute name.
22657 ac_srcdir
=$srcdir$ac_dir_suffix;
22658 ac_top_srcdir
=$srcdir
22659 ac_abs_top_srcdir
=$srcdir ;;
22660 *) # Relative name.
22661 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22662 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22663 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22665 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22675 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22676 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22678 ac_MKDIR_P
=$MKDIR_P
22680 [\\/$
]* | ?
:[\\/]* ) ;;
22681 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22686 # If the template does not know about datarootdir, expand it.
22687 # FIXME: This hack should be removed a few years after 2.60.
22688 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22699 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22700 *datarootdir
*) ac_datarootdir_seen
=yes;;
22701 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22703 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22706 ac_datarootdir_hack='
22707 s&@datadir@&$datadir&g
22708 s&@docdir@&$docdir&g
22709 s&@infodir@&$infodir&g
22710 s&@localedir@&$localedir&g
22711 s&@mandir@&$mandir&g
22712 s&\\\${datarootdir}&$datarootdir&g' ;;
22716 # Neutralize VPATH when `$srcdir' = `.'.
22717 # Shell code in configure.ac might set extrasub.
22718 # FIXME: do we really want to maintain this feature?
22719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22720 ac_sed_extra="$ac_vpsub
22723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22725 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22726 s|@configure_input@|
$ac_sed_conf_input|
;t t
22727 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22728 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22729 s
&@srcdir@
&$ac_srcdir&;t t
22730 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22731 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22732 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22733 s
&@builddir@
&$ac_builddir&;t t
22734 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22735 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22736 s
&@INSTALL@
&$ac_INSTALL&;t t
22737 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22738 $ac_datarootdir_hack
22740 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22741 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22743 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22744 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22745 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22746 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22748 which seems to be undefined. Please make sure it is defined" >&5
22749 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22750 which seems to be undefined. Please make sure it is defined" >&2;}
22752 rm -f "$ac_tmp/stdin"
22754 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22755 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22757 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22763 if test x"$ac_file" != x-; then
22765 $as_echo "/* $configure_input */" \
22766 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22767 } >"$ac_tmp/config.h" \
22768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22769 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22771 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22774 mv "$ac_tmp/config.h" "$ac_file" \
22775 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22778 $as_echo "/* $configure_input */" \
22779 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22780 || as_fn_error $? "could not create -" "$LINENO" 5
22782 # Compute "$ac_file"'s index
in $config_headers.
22785 for _am_header
in $config_headers :; do
22786 case $_am_header in
22787 $_am_arg |
$_am_arg:* )
22790 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22793 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22794 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22795 X"$_am_arg" : 'X\(//\)[^/]' \| \
22796 X"$_am_arg" : 'X\(//\)$' \| \
22797 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22798 $as_echo X"$_am_arg" |
22799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22803 /^X\(\/\/\)[^/].*/{
22815 s/.*/./; q'`/stamp-h
$_am_stamp_count
22818 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22819 $as_echo "$as_me: executing $ac_file commands" >&6;}
22824 case $ac_file$ac_mode in
22825 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
22826 # Older Autoconf quotes --file arguments for eval, but not when files
22827 # are listed without --file. Let's play safe and only enable the eval
22828 # if we detect the quoting.
22829 case $CONFIG_FILES in
22830 *\'*) eval set x
"$CONFIG_FILES" ;;
22831 *) set x
$CONFIG_FILES ;;
22836 # Strip MF so we end up with the name of the file.
22837 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22838 # Check whether this is an Automake generated Makefile or not.
22839 # We used to match only the files named 'Makefile.in', but
22840 # some people rename them; so instead we look at the file content.
22841 # Grep'ing the first line is not enough: some people post-process
22842 # each Makefile.in and add a new line on top of each file to say so.
22843 # Grep'ing the whole file is not good either: AIX grep has a line
22844 # limit of 2048, but all sed's we know have understand at least 4000.
22845 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22846 dirpart
=`$as_dirname -- "$mf" ||
22847 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22848 X"$mf" : 'X\(//\)[^/]' \| \
22849 X"$mf" : 'X\(//\)$' \| \
22850 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22856 /^X\(\/\/\)[^/].*/{
22872 # Extract the definition of DEPDIR, am__include, and am__quote
22873 # from the Makefile without running 'make'.
22874 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22875 test -z "$DEPDIR" && continue
22876 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22877 test -z "$am__include" && continue
22878 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22879 # Find all dependency output files, they are included files with
22880 # $(DEPDIR) in their names. We invoke sed twice because it is the
22881 # simplest approach to changing $(DEPDIR) to its actual value in the
22883 for file in `sed -n "
22884 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22885 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22886 # Make sure the directory exists.
22887 test -f "$dirpart/$file" && continue
22888 fdir
=`$as_dirname -- "$file" ||
22889 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22890 X"$file" : 'X\(//\)[^/]' \| \
22891 X"$file" : 'X\(//\)$' \| \
22892 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22893 $as_echo X"$file" |
22894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22898 /^X\(\/\/\)[^/].*/{
22911 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22912 # echo "creating $dirpart/$file"
22913 echo '# dummy' > "$dirpart/$file"
22920 # See if we are running on zsh, and set the options which allow our
22921 # commands through without removal of \ escapes.
22922 if test -n "${ZSH_VERSION+set}" ; then
22923 setopt NO_GLOB_SUBST
22926 cfgfile
="${ofile}T"
22927 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22930 cat <<_LT_EOF >> "$cfgfile"
22933 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22934 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22935 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22936 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22938 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22939 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22941 # Written by Gordon Matzigkeit, 1996
22943 # This file is part of GNU Libtool.
22945 # GNU Libtool is free software; you can redistribute it and/or
22946 # modify it under the terms of the GNU General Public License as
22947 # published by the Free Software Foundation; either version 2 of
22948 # the License, or (at your option) any later version.
22950 # As a special exception to the GNU General Public License,
22951 # if you distribute this file as part of a program or library that
22952 # is built using GNU Libtool, you may include this file under the
22953 # same distribution terms that you use for the rest of that program.
22955 # GNU Libtool is distributed in the hope that it will be useful,
22956 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22957 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22958 # GNU General Public License for more details.
22960 # You should have received a copy of the GNU General Public License
22961 # along with GNU Libtool; see the file COPYING. If not, a copy
22962 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22963 # obtained by writing to the Free Software Foundation, Inc.,
22964 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22967 # The names of the tagged configurations supported by this script.
22970 # ### BEGIN LIBTOOL CONFIG
22972 # Which release of libtool.m4 was used?
22973 macro_version=$macro_version
22974 macro_revision=$macro_revision
22976 # Whether or not to build shared libraries.
22977 build_libtool_libs=$enable_shared
22979 # Whether or not to build static libraries.
22980 build_old_libs=$enable_static
22982 # What type of objects to build.
22985 # Whether or not to optimize for fast installation.
22986 fast_install=$enable_fast_install
22988 # Shell to use when invoking shell scripts.
22991 # An echo program that protects backslashes.
22994 # The PATH separator for the build system.
22995 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22998 host_alias=$host_alias
23002 # The build system.
23003 build_alias=$build_alias
23007 # A sed program that does not truncate output.
23010 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23011 Xsed="\$SED -e 1s/^X//"
23013 # A grep program that handles long lines.
23019 # A literal string matcher.
23022 # A BSD- or MS-compatible name lister.
23025 # Whether we need soft or hard links.
23028 # What is the maximum length of a command?
23029 max_cmd_len=$max_cmd_len
23031 # Object file suffix (normally "o").
23034 # Executable file suffix (normally "").
23037 # whether the shell understands "unset".
23040 # turn spaces into newlines.
23043 # turn newlines into spaces.
23046 # convert \$build file names to \$host format.
23047 to_host_file_cmd=$lt_cv_to_host_file_cmd
23049 # convert \$build files to toolchain format.
23050 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23052 # An object symbol dumper.
23053 OBJDUMP=$lt_OBJDUMP
23055 # Method to check whether dependent libraries are shared objects.
23056 deplibs_check_method=$lt_deplibs_check_method
23058 # Command to use when deplibs_check_method = "file_magic".
23059 file_magic_cmd=$lt_file_magic_cmd
23061 # How to find potential files when deplibs_check_method = "file_magic".
23062 file_magic_glob=$lt_file_magic_glob
23064 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23065 want_nocaseglob=$lt_want_nocaseglob
23067 # DLL creation program.
23068 DLLTOOL=$lt_DLLTOOL
23070 # Command to associate shared and link libraries.
23071 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23076 # Flags to create an archive.
23077 AR_FLAGS=$lt_AR_FLAGS
23079 # How to feed a file listing to the archiver.
23080 archiver_list_spec=$lt_archiver_list_spec
23082 # A symbol stripping program.
23085 # Commands used to install an old-style archive.
23087 old_postinstall_cmds=$lt_old_postinstall_cmds
23088 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23090 # Whether to use a lock for old archive extraction.
23091 lock_old_archive_extraction=$lock_old_archive_extraction
23096 # LTCC compiler flags.
23097 LTCFLAGS=$lt_CFLAGS
23099 # Take the output of nm and produce a listing of raw symbols and C names.
23100 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23102 # Transform the output of nm in a proper C declaration.
23103 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23105 # Transform the output of nm in a C name address pair.
23106 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23108 # Transform the output of nm in a C name address pair when lib prefix is needed.
23109 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23111 # Specify filename containing input files for \$NM.
23112 nm_file_list_spec=$lt_nm_file_list_spec
23114 # The root where to search for dependent libraries,and in which our libraries should be installed.
23115 lt_sysroot=$lt_sysroot
23117 # The name of the directory that contains temporary libtool files.
23120 # Used to examine libraries when file_magic_cmd begins with "file".
23121 MAGIC_CMD=$MAGIC_CMD
23123 # Must we lock files when doing compilation?
23124 need_locks=$lt_need_locks
23127 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23129 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23130 DSYMUTIL=$lt_DSYMUTIL
23132 # Tool to change global to local symbols on Mac OS X.
23135 # Tool to manipulate fat objects and archives on Mac OS X.
23138 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23141 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23142 OTOOL64=$lt_OTOOL64
23144 # Old archive suffix (normally "a").
23147 # Shared library suffix (normally ".so").
23148 shrext_cmds=$lt_shrext_cmds
23150 # The commands to extract the exported symbol list from a shared archive.
23151 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23153 # Variables whose values should be saved in libtool wrapper scripts and
23154 # restored at link time.
23155 variables_saved_for_relink=$lt_variables_saved_for_relink
23157 # Do we need the "lib" prefix for modules?
23158 need_lib_prefix=$need_lib_prefix
23160 # Do we need a version for libraries?
23161 need_version=$need_version
23163 # Library versioning type.
23164 version_type=$version_type
23166 # Shared library runtime path variable.
23167 runpath_var=$runpath_var
23169 # Shared library path variable.
23170 shlibpath_var=$shlibpath_var
23172 # Is shlibpath searched before the hard-coded library search path?
23173 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23175 # Format of library name prefix.
23176 libname_spec=$lt_libname_spec
23178 # List of archive names. First name is the real one, the rest are links.
23179 # The last name is the one that the linker finds with -lNAME
23180 library_names_spec=$lt_library_names_spec
23182 # The coded name of the library, if different from the real name.
23183 soname_spec=$lt_soname_spec
23185 # Permission mode override for installation of shared libraries.
23186 install_override_mode=$lt_install_override_mode
23188 # Command to use after installation of a shared archive.
23189 postinstall_cmds=$lt_postinstall_cmds
23191 # Command to use after uninstallation of a shared archive.
23192 postuninstall_cmds=$lt_postuninstall_cmds
23194 # Commands used to finish a libtool library installation in a directory.
23195 finish_cmds=$lt_finish_cmds
23197 # As "finish_cmds", except a single script fragment to be evaled but
23199 finish_eval=$lt_finish_eval
23201 # Whether we should hardcode library paths into libraries.
23202 hardcode_into_libs=$hardcode_into_libs
23204 # Compile-time system search path for libraries.
23205 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23207 # Run-time system search path for libraries.
23208 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23210 # Whether dlopen is supported.
23211 dlopen_support=$enable_dlopen
23213 # Whether dlopen of programs is supported.
23214 dlopen_self=$enable_dlopen_self
23216 # Whether dlopen of statically linked programs is supported.
23217 dlopen_self_static=$enable_dlopen_self_static
23219 # Commands to strip libraries.
23220 old_striplib=$lt_old_striplib
23221 striplib=$lt_striplib
23224 # The linker used to build libraries.
23227 # How to create reloadable object files.
23228 reload_flag=$lt_reload_flag
23229 reload_cmds=$lt_reload_cmds
23231 # Commands used to build an old-style archive.
23232 old_archive_cmds=$lt_old_archive_cmds
23234 # A language specific compiler.
23237 # Is the compiler the GNU compiler?
23240 # Compiler flag to turn off builtin functions.
23241 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23243 # Additional compiler flags for building library objects.
23244 pic_flag=$lt_lt_prog_compiler_pic
23246 # How to pass a linker flag through the compiler.
23247 wl=$lt_lt_prog_compiler_wl
23249 # Compiler flag to prevent dynamic linking.
23250 link_static_flag=$lt_lt_prog_compiler_static
23252 # Does compiler simultaneously support -c and -o options?
23253 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23255 # Whether or not to add -lc for building shared libraries.
23256 build_libtool_need_lc=$archive_cmds_need_lc
23258 # Whether or not to disallow shared libs when runtime libs are static.
23259 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23261 # Compiler flag to allow reflexive dlopens.
23262 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23264 # Compiler flag to generate shared objects directly from archives.
23265 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23267 # Whether the compiler copes with passing no objects directly.
23268 compiler_needs_object=$lt_compiler_needs_object
23270 # Create an old-style archive from a shared archive.
23271 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23273 # Create a temporary old-style archive to link instead of a shared archive.
23274 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23276 # Commands used to build a shared archive.
23277 archive_cmds=$lt_archive_cmds
23278 archive_expsym_cmds=$lt_archive_expsym_cmds
23280 # Commands used to build a loadable module if different from building
23281 # a shared archive.
23282 module_cmds=$lt_module_cmds
23283 module_expsym_cmds=$lt_module_expsym_cmds
23285 # Whether we are building with GNU ld or not.
23286 with_gnu_ld=$lt_with_gnu_ld
23288 # Flag that allows shared libraries with undefined symbols to be built.
23289 allow_undefined_flag=$lt_allow_undefined_flag
23291 # Flag that enforces no undefined symbols.
23292 no_undefined_flag=$lt_no_undefined_flag
23294 # Flag to hardcode \$libdir into a binary during linking.
23295 # This must work even if \$libdir does not exist
23296 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23298 # Whether we need a single "-rpath" flag with a separated argument.
23299 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23301 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23302 # DIR into the resulting binary.
23303 hardcode_direct=$hardcode_direct
23305 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23306 # DIR into the resulting binary and the resulting library dependency is
23307 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23308 # library is relocated.
23309 hardcode_direct_absolute=$hardcode_direct_absolute
23311 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23312 # into the resulting binary.
23313 hardcode_minus_L=$hardcode_minus_L
23315 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23316 # into the resulting binary.
23317 hardcode_shlibpath_var=$hardcode_shlibpath_var
23319 # Set to "yes" if building a shared library automatically hardcodes DIR
23320 # into the library and all subsequent libraries and executables linked
23322 hardcode_automatic=$hardcode_automatic
23324 # Set to yes if linker adds runtime paths of dependent libraries
23325 # to runtime path list.
23326 inherit_rpath=$inherit_rpath
23328 # Whether libtool must link a program against all its dependency libraries.
23329 link_all_deplibs=$link_all_deplibs
23331 # Set to "yes" if exported symbols are required.
23332 always_export_symbols=$always_export_symbols
23334 # The commands to list exported symbols.
23335 export_symbols_cmds=$lt_export_symbols_cmds
23337 # Symbols that should not be listed in the preloaded symbols.
23338 exclude_expsyms=$lt_exclude_expsyms
23340 # Symbols that must always be exported.
23341 include_expsyms=$lt_include_expsyms
23343 # Commands necessary for linking programs (against libraries) with templates.
23344 prelink_cmds=$lt_prelink_cmds
23346 # Commands necessary for finishing linking programs.
23347 postlink_cmds=$lt_postlink_cmds
23349 # Specify filename containing input files.
23350 file_list_spec=$lt_file_list_spec
23352 # How to hardcode a shared library path into an executable.
23353 hardcode_action=$hardcode_action
23355 # ### END LIBTOOL CONFIG
23361 cat <<\_LT_EOF
>> "$cfgfile"
23362 # AIX sometimes has problems with the GCC collect2 program. For some
23363 # reason, if we set the COLLECT_NAMES environment variable, the problems
23364 # vanish in a puff of smoke.
23365 if test "X${COLLECT_NAMES+set}" != Xset
; then
23367 export COLLECT_NAMES
23374 ltmain
="$ac_aux_dir/ltmain.sh"
23377 # We use sed instead of cat because bash on DJGPP gets confused if
23378 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23379 # text mode, it properly converts lines to CR/LF. This bash problem
23380 # is reportedly fixed, but why not run on old versions too?
23381 sed '$q' "$ltmain" >> "$cfgfile" \
23382 ||
(rm -f "$cfgfile"; exit 1)
23384 if test x
"$xsi_shell" = xyes
; then
23385 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23389 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23390 \ * ) func_dirname_result="${3}" ;;\
23392 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23393 && mv -f "$cfgfile.tmp" "$cfgfile" \
23394 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23395 test 0 -eq $? || _lt_function_replace_fail
=:
23398 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23401 \ func_basename_result="${1##*/}"\
23402 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23403 && mv -f "$cfgfile.tmp" "$cfgfile" \
23404 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23405 test 0 -eq $? || _lt_function_replace_fail
=:
23408 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23409 func_dirname_and_basename ()\
23412 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23413 \ * ) func_dirname_result="${3}" ;;\
23415 \ func_basename_result="${1##*/}"\
23416 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23417 && mv -f "$cfgfile.tmp" "$cfgfile" \
23418 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23419 test 0 -eq $? || _lt_function_replace_fail
=:
23422 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23425 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23426 \ # positional parameters, so assign one to ordinary parameter first.\
23427 \ func_stripname_result=${3}\
23428 \ func_stripname_result=${func_stripname_result#"${1}"}\
23429 \ func_stripname_result=${func_stripname_result%"${2}"}\
23430 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23431 && mv -f "$cfgfile.tmp" "$cfgfile" \
23432 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23433 test 0 -eq $? || _lt_function_replace_fail
=:
23436 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23437 func_split_long_opt ()\
23439 \ func_split_long_opt_name=${1%%=*}\
23440 \ func_split_long_opt_arg=${1#*=}\
23441 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23442 && mv -f "$cfgfile.tmp" "$cfgfile" \
23443 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23444 test 0 -eq $? || _lt_function_replace_fail
=:
23447 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23448 func_split_short_opt ()\
23450 \ func_split_short_opt_arg=${1#??}\
23451 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23452 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23453 && mv -f "$cfgfile.tmp" "$cfgfile" \
23454 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23455 test 0 -eq $? || _lt_function_replace_fail
=:
23458 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23462 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23463 \ *) func_lo2o_result=${1} ;;\
23465 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23466 && mv -f "$cfgfile.tmp" "$cfgfile" \
23467 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23468 test 0 -eq $? || _lt_function_replace_fail
=:
23471 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23474 func_xform_result=${1%.*}.lo\
23475 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23476 && mv -f "$cfgfile.tmp" "$cfgfile" \
23477 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23478 test 0 -eq $? || _lt_function_replace_fail
=:
23481 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23484 func_arith_result=$(( $* ))\
23485 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23486 && mv -f "$cfgfile.tmp" "$cfgfile" \
23487 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23488 test 0 -eq $? || _lt_function_replace_fail
=:
23491 sed -e '/^func_len ()$/,/^} # func_len /c\
23494 func_len_result=${#1}\
23495 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23496 && mv -f "$cfgfile.tmp" "$cfgfile" \
23497 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23498 test 0 -eq $? || _lt_function_replace_fail
=:
23502 if test x
"$lt_shell_append" = xyes
; then
23503 sed -e '/^func_append ()$/,/^} # func_append /c\
23506 eval "${1}+=\\${2}"\
23507 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23508 && mv -f "$cfgfile.tmp" "$cfgfile" \
23509 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23510 test 0 -eq $? || _lt_function_replace_fail
=:
23513 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23514 func_append_quoted ()\
23516 \ func_quote_for_eval "${2}"\
23517 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23518 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23519 && mv -f "$cfgfile.tmp" "$cfgfile" \
23520 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23521 test 0 -eq $? || _lt_function_replace_fail
=:
23524 # Save a `func_append' function call where possible by direct use of '+='
23525 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23526 && mv -f "$cfgfile.tmp" "$cfgfile" \
23527 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23528 test 0 -eq $? || _lt_function_replace_fail
=:
23530 # Save a `func_append' function call even when '+=' is not available
23531 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23532 && mv -f "$cfgfile.tmp" "$cfgfile" \
23533 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23534 test 0 -eq $? || _lt_function_replace_fail
=:
23537 if test x
"$_lt_function_replace_fail" = x
":"; then
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23539 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23543 mv -f "$cfgfile" "$ofile" ||
23544 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23548 "po-directories":C
)
23549 for ac_file
in $CONFIG_FILES; do
23550 # Support "outfile[:infile[:infile...]]"
23552 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
23554 # PO directories have a Makefile.in generated from Makefile.in.in.
23555 case "$ac_file" in */Makefile.
in)
23556 # Adjust a relative srcdir.
23557 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
23558 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
23559 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
23560 # In autoconf-2.13 it is called $ac_given_srcdir.
23561 # In autoconf-2.50 it is called $srcdir.
23562 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
23563 case "$ac_given_srcdir" in
23564 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
23565 /*) top_srcdir
="$ac_given_srcdir" ;;
23566 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
23568 # Treat a directory as a PO directory if and only if it has a
23569 # POTFILES.in file. This allows packages to have multiple PO
23570 # directories under different names or in different locations.
23571 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
23572 rm -f "$ac_dir/POTFILES"
23573 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
23574 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
23575 POMAKEFILEDEPS
="POTFILES.in"
23576 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
23577 # on $ac_dir but don't depend on user-specified configuration
23579 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
23580 # The LINGUAS file contains the set of available languages.
23581 if test -n "$OBSOLETE_ALL_LINGUAS"; then
23582 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
23584 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
23585 # Hide the ALL_LINGUAS assigment from automake < 1.5.
23586 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
23587 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
23589 # The set of available languages was given in configure.in.
23590 # Hide the ALL_LINGUAS assigment from automake < 1.5.
23591 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
23594 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
23595 # Compute UPDATEPOFILES
23596 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
23597 # Compute DUMMYPOFILES
23598 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
23600 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
23601 case "$ac_given_srcdir" in
23603 *) srcdirpre
='$(srcdir)/' ;;
23609 for lang
in $ALL_LINGUAS; do
23610 POFILES
="$POFILES $srcdirpre$lang.po"
23611 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
23612 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
23613 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
23615 # CATALOGS depends on both $ac_dir and the user's LINGUAS
23616 # environment variable.
23618 if test -n "$ALL_LINGUAS"; then
23619 for presentlang
in $ALL_LINGUAS; do
23621 if test "%UNSET%" != "$LINGUAS"; then
23622 desiredlanguages
="$LINGUAS"
23624 desiredlanguages
="$ALL_LINGUAS"
23626 for desiredlang
in $desiredlanguages; do
23627 # Use the presentlang catalog if desiredlang is
23628 # a. equal to presentlang, or
23629 # b. a variant of presentlang (because in this case,
23630 # presentlang can be used as a fallback for messages
23631 # which are not translated in the desiredlang catalog).
23632 case "$desiredlang" in
23633 "$presentlang"*) useit
=yes;;
23636 if test $useit = yes; then
23637 INST_LINGUAS
="$INST_LINGUAS $presentlang"
23642 if test -n "$INST_LINGUAS"; then
23643 for lang
in $INST_LINGUAS; do
23644 CATALOGS
="$CATALOGS $lang.gmo"
23647 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
23648 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"
23649 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
23650 if test -f "$f"; then
23652 *.orig |
*.bak |
*~
) ;;
23653 *) cat "$f" >> "$ac_dir/Makefile" ;;
23668 ac_clean_files
=$ac_clean_files_save
23670 test $ac_write_fail = 0 ||
23671 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23674 # configure is writing to config.log, and then calls config.status.
23675 # config.status does its own redirection, appending to config.log.
23676 # Unfortunately, on DOS this fails, as config.log is still kept open
23677 # by configure, so config.status won't be able to write to it; its
23678 # output is simply discarded. So we exec the FD to /dev/null,
23679 # effectively closing config.log, so it can be properly (re)opened and
23680 # appended to by config.status. When coming back to configure, we
23681 # need to make the FD available again.
23682 if test "$no_create" != yes; then
23684 ac_config_status_args
=
23685 test "$silent" = yes &&
23686 ac_config_status_args
="$ac_config_status_args --quiet"
23688 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23690 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23691 # would make configure fail if this is the last instruction.
23692 $ac_cs_success || as_fn_exit
1
23694 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23696 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}