2 # From configure.ac Rev:26 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.21.9999.
6 # Report bugs to <chappa@washington.edu>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210 test \$(( 1 + 1 )) = 2 || exit 1"
211 if (eval "$as_required") 2>/dev
/null
; then :
216 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 # Try only shells that exist, to save several forks.
230 as_shell
=$as_dir/$as_base
231 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$as_shell as_have_required
=yes
234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
242 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
243 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
244 CONFIG_SHELL
=$SHELL as_have_required
=yes
249 if test "x$CONFIG_SHELL" != x
; then :
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
257 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
259 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed `exec'.
267 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271 if test x
$as_have_required = xno
; then :
272 $as_echo "$0: This script requires a shell more modern than all"
273 $as_echo "$0: the shells that I found on your system."
274 if test x
${ZSH_VERSION+set} = xset
; then
275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 $0: chappa@washington.edu about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
592 PACKAGE_NAME
='alpine'
593 PACKAGE_TARNAME
='alpine'
594 PACKAGE_VERSION
='2.21.9999'
595 PACKAGE_STRING
='alpine 2.21.9999'
596 PACKAGE_BUGREPORT
='chappa@washington.edu'
599 ac_unique_file
="include/system.h"
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
660 alpine_interactive_spellcheck
662 alpine_simple_spellcheck
747 MAINTAINER_MODE_FALSE
761 INSTALL_STRIP_PROGRAM
803 program_transform_name
816 enable_option_checking
818 enable_maintainer_mode
819 enable_dependency_tracking
838 enable_osx_universal_binaries
848 enable_background_post
856 with_simple_spellcheck
857 with_interactive_spellcheck
859 with_system_fixed_pinerc
860 with_local_support_info
861 with_mailcheck_interval
862 with_checkpoint_interval
863 with_checkpoint_frequency
866 with_max_display_rows
867 with_max_display_columns
873 with_forwarded_keyword
877 with_default_save_folder
878 with_default_legacy_postponed_folder
879 with_default_postponed_folder
880 with_default_trash_folder
881 with_default_interrupted_mail
882 with_default_dead_letter_folder
883 with_default_mail_directory
884 with_default_inbox_name
885 with_default_signature_file
886 with_default_elm_style_save
887 with_default_header_in_reply
888 with_default_old_style_reply
889 with_default_use_only_domain_name
890 with_default_save_by_sender
891 with_default_sort_key
892 with_default_addressbook_sort_rule
893 with_default_folder_sort_rule
894 with_default_saved_message_name_rule
895 with_default_fcc_rule
896 with_default_standard_printer
897 with_default_ansi_printer
898 with_default_addressbook
899 with_default_local_fullname
900 with_default_local_address
901 with_default_keyboard_lock_count
902 with_default_remote_addressbook_history
903 with_smime_public_cert_directory
904 with_smime_private_key_directory
905 with_smime_cacert_directory
908 with_local_password_cache
909 with_local_password_cache_method
919 with_krb5_include_dir
923 with_ldap_include_dir
931 with_system_mail_directory
936 ac_precious_vars
='build_alias
948 # Initialize some variables set by options.
950 ac_init_version
=false
951 ac_unrecognized_opts
=
953 # The variables have the same names as the options, with
954 # dashes changed to underlines.
962 program_transform_name
=s
,x
,x
,
970 # Installation directory options.
971 # These are left unexpanded so users can "make install exec_prefix=/foo"
972 # and all the variables that are supposed to be based on exec_prefix
973 # by default will actually change.
974 # Use braces instead of parens because sh, perl, etc. also accept them.
975 # (The list follows the same order as the GNU Coding Standards.)
976 bindir
='${exec_prefix}/bin'
977 sbindir
='${exec_prefix}/sbin'
978 libexecdir
='${exec_prefix}/libexec'
979 datarootdir
='${prefix}/share'
980 datadir
='${datarootdir}'
981 sysconfdir
='${prefix}/etc'
982 sharedstatedir
='${prefix}/com'
983 localstatedir
='${prefix}/var'
984 includedir
='${prefix}/include'
985 oldincludedir
='/usr/include'
986 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
987 infodir
='${datarootdir}/info'
992 libdir
='${exec_prefix}/lib'
993 localedir
='${datarootdir}/locale'
994 mandir
='${datarootdir}/man'
1000 # If the previous option needs an argument, assign it.
1001 if test -n "$ac_prev"; then
1002 eval $ac_prev=\
$ac_option
1008 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1013 # Accept the important Cygnus configure options, so we can diagnose typos.
1015 case $ac_dashdash$ac_option in
1019 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1021 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1022 bindir
=$ac_optarg ;;
1024 -build |
--build |
--buil |
--bui |
--bu)
1025 ac_prev
=build_alias
;;
1026 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1027 build_alias
=$ac_optarg ;;
1029 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1030 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1031 ac_prev
=cache_file
;;
1032 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1033 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1034 cache_file
=$ac_optarg ;;
1036 --config-cache |
-C)
1037 cache_file
=config.cache
;;
1039 -datadir |
--datadir |
--datadi |
--datad)
1041 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1042 datadir
=$ac_optarg ;;
1044 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1045 |
--dataroo |
--dataro |
--datar)
1046 ac_prev
=datarootdir
;;
1047 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1048 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1049 datarootdir
=$ac_optarg ;;
1051 -disable-* |
--disable-*)
1052 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 as_fn_error $?
"invalid feature name: $ac_useropt"
1056 ac_useropt_orig
=$ac_useropt
1057 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1060 "enable_
$ac_useropt"
1062 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1063 ac_unrecognized_sep
=', ';;
1065 eval enable_
$ac_useropt=no
;;
1067 -docdir |
--docdir |
--docdi |
--doc |
--do)
1069 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1070 docdir
=$ac_optarg ;;
1072 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1074 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1075 dvidir
=$ac_optarg ;;
1077 -enable-* |
--enable-*)
1078 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1081 as_fn_error $?
"invalid feature name: $ac_useropt"
1082 ac_useropt_orig
=$ac_useropt
1083 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1086 "enable_
$ac_useropt"
1088 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1089 ac_unrecognized_sep
=', ';;
1091 eval enable_
$ac_useropt=\
$ac_optarg ;;
1093 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1094 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1095 |
--exec |
--exe |
--ex)
1096 ac_prev
=exec_prefix
;;
1097 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1098 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1099 |
--exec=* |
--exe=* |
--ex=*)
1100 exec_prefix
=$ac_optarg ;;
1102 -gas |
--gas |
--ga |
--g)
1103 # Obsolete; use --with-gas.
1106 -help |
--help |
--hel |
--he |
-h)
1107 ac_init_help
=long
;;
1108 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1109 ac_init_help
=recursive
;;
1110 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1111 ac_init_help
=short
;;
1113 -host |
--host |
--hos |
--ho)
1114 ac_prev
=host_alias
;;
1115 -host=* |
--host=* |
--hos=* |
--ho=*)
1116 host_alias
=$ac_optarg ;;
1118 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1120 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1122 htmldir
=$ac_optarg ;;
1124 -includedir |
--includedir |
--includedi |
--included |
--include \
1125 |
--includ |
--inclu |
--incl |
--inc)
1126 ac_prev
=includedir
;;
1127 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1128 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1129 includedir
=$ac_optarg ;;
1131 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1133 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1134 infodir
=$ac_optarg ;;
1136 -libdir |
--libdir |
--libdi |
--libd)
1138 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1139 libdir
=$ac_optarg ;;
1141 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1142 |
--libexe |
--libex |
--libe)
1143 ac_prev
=libexecdir
;;
1144 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1145 |
--libexe=* |
--libex=* |
--libe=*)
1146 libexecdir
=$ac_optarg ;;
1148 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1149 ac_prev
=localedir
;;
1150 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1151 localedir
=$ac_optarg ;;
1153 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1154 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1155 ac_prev
=localstatedir
;;
1156 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1157 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1158 localstatedir
=$ac_optarg ;;
1160 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1162 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1163 mandir
=$ac_optarg ;;
1165 -nfp |
--nfp |
--nf)
1166 # Obsolete; use --without-fp.
1169 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1170 |
--no-cr |
--no-c |
-n)
1173 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1174 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1177 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1178 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1179 |
--oldin |
--oldi |
--old |
--ol |
--o)
1180 ac_prev
=oldincludedir
;;
1181 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1182 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1183 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1184 oldincludedir
=$ac_optarg ;;
1186 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1188 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1189 prefix
=$ac_optarg ;;
1191 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1192 |
--program-pre |
--program-pr |
--program-p)
1193 ac_prev
=program_prefix
;;
1194 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1195 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1196 program_prefix
=$ac_optarg ;;
1198 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1199 |
--program-suf |
--program-su |
--program-s)
1200 ac_prev
=program_suffix
;;
1201 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1202 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1203 program_suffix
=$ac_optarg ;;
1205 -program-transform-name |
--program-transform-name \
1206 |
--program-transform-nam |
--program-transform-na \
1207 |
--program-transform-n |
--program-transform- \
1208 |
--program-transform |
--program-transfor \
1209 |
--program-transfo |
--program-transf \
1210 |
--program-trans |
--program-tran \
1211 |
--progr-tra |
--program-tr |
--program-t)
1212 ac_prev
=program_transform_name
;;
1213 -program-transform-name=* |
--program-transform-name=* \
1214 |
--program-transform-nam=* |
--program-transform-na=* \
1215 |
--program-transform-n=* |
--program-transform-=* \
1216 |
--program-transform=* |
--program-transfor=* \
1217 |
--program-transfo=* |
--program-transf=* \
1218 |
--program-trans=* |
--program-tran=* \
1219 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1220 program_transform_name
=$ac_optarg ;;
1222 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1224 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1225 pdfdir
=$ac_optarg ;;
1227 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1229 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1232 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1233 |
-silent |
--silent |
--silen |
--sile |
--sil)
1236 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1238 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1240 sbindir
=$ac_optarg ;;
1242 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1243 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1244 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1246 ac_prev
=sharedstatedir
;;
1247 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1248 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1249 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1251 sharedstatedir
=$ac_optarg ;;
1253 -site |
--site |
--sit)
1255 -site=* |
--site=* |
--sit=*)
1258 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1260 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1261 srcdir
=$ac_optarg ;;
1263 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1264 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1265 ac_prev
=sysconfdir
;;
1266 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1267 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1268 sysconfdir
=$ac_optarg ;;
1270 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1271 ac_prev
=target_alias
;;
1272 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1273 target_alias
=$ac_optarg ;;
1275 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1278 -version |
--version |
--versio |
--versi |
--vers |
-V)
1279 ac_init_version
=: ;;
1282 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1285 as_fn_error $?
"invalid package name: $ac_useropt"
1286 ac_useropt_orig
=$ac_useropt
1287 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1288 case $ac_user_opts in
1292 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1293 ac_unrecognized_sep
=', ';;
1295 eval with_
$ac_useropt=\
$ac_optarg ;;
1297 -without-* |
--without-*)
1298 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1299 # Reject names that are not valid shell variable names.
1300 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1301 as_fn_error $?
"invalid package name: $ac_useropt"
1302 ac_useropt_orig
=$ac_useropt
1303 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1304 case $ac_user_opts in
1308 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1309 ac_unrecognized_sep
=', ';;
1311 eval with_
$ac_useropt=no
;;
1314 # Obsolete; use --with-x.
1317 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1318 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1319 ac_prev
=x_includes
;;
1320 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1321 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1322 x_includes
=$ac_optarg ;;
1324 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1325 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1326 ac_prev
=x_libraries
;;
1327 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1328 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1329 x_libraries
=$ac_optarg ;;
1331 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1332 Try \`$0 --help' for more information"
1336 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1337 # Reject names that are not valid shell variable names.
1338 case $ac_envvar in #(
1339 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1340 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1342 eval $ac_envvar=\
$ac_optarg
1343 export $ac_envvar ;;
1346 # FIXME: should be removed in autoconf 3.0.
1347 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1348 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1349 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1350 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1356 if test -n "$ac_prev"; then
1357 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1358 as_fn_error $?
"missing argument to $ac_option"
1361 if test -n "$ac_unrecognized_opts"; then
1362 case $enable_option_checking in
1364 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1365 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1369 # Check all directory arguments for consistency.
1370 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1371 datadir sysconfdir sharedstatedir localstatedir includedir \
1372 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1373 libdir localedir mandir
1375 eval ac_val
=\$
$ac_var
1376 # Remove trailing slashes.
1379 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1380 eval $ac_var=\
$ac_val;;
1382 # Be sure to have absolute directory names.
1384 [\\/$
]* | ?
:[\\/]* ) continue;;
1385 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1387 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1390 # There might be people who depend on the old broken behavior: `$host'
1391 # used to hold the argument of --host etc.
1392 # FIXME: To remove some day.
1395 target
=$target_alias
1397 # FIXME: To remove some day.
1398 if test "x$host_alias" != x
; then
1399 if test "x$build_alias" = x
; then
1400 cross_compiling
=maybe
1401 elif test "x$build_alias" != "x$host_alias"; then
1407 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1409 test "$silent" = yes && exec 6>/dev
/null
1412 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1413 ac_ls_di
=`ls -di .` &&
1414 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1415 as_fn_error $?
"working directory cannot be determined"
1416 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1417 as_fn_error $?
"pwd does not report name of working directory"
1420 # Find the source files, if location was not specified.
1421 if test -z "$srcdir"; then
1422 ac_srcdir_defaulted
=yes
1423 # Try the directory containing this script, then the parent directory.
1424 ac_confdir
=`$as_dirname -- "$as_myself" ||
1425 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1426 X"$as_myself" : 'X\(//\)[^/]' \| \
1427 X"$as_myself" : 'X\(//\)$' \| \
1428 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1429 $as_echo X"$as_myself" |
1430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1448 if test ! -r "$srcdir/$ac_unique_file"; then
1452 ac_srcdir_defaulted
=no
1454 if test ! -r "$srcdir/$ac_unique_file"; then
1455 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1456 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1458 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1460 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1470 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472 for ac_var
in $ac_precious_vars; do
1473 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1475 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1480 # Report the --help message.
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1486 \`configure' configures alpine 2.21.9999 to adapt to many kinds of systems.
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1493 Defaults for the options are specified in brackets.
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking ...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1517 For better control, use the options below.
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --program-prefix=PREFIX prepend PREFIX to installed program names
1545 --program-suffix=SUFFIX append SUFFIX to installed program names
1546 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1549 --build=BUILD configure
for building on BUILD
[guessed
]
1550 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive
) echo "Configuration of alpine 2.21.9999:";;
1561 --disable-option-checking ignore unrecognized
--enable/--with options
1562 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1563 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1564 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1565 --disable-silent-rules verbose build output
(undo
: "make V=0")
1566 --enable-maintainer-mode
1567 enable make rules and dependencies not useful
(and
1568 sometimes confusing
) to the casual installer
1569 --enable-dependency-tracking
1570 do not reject slow dependency extractors
1571 --disable-dependency-tracking
1572 speeds up one-time build
1573 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1574 --enable-static[=PKGS
] build static libraries
[default
=yes]
1575 --enable-fast-install[=PKGS
]
1576 optimize
for fast installation
[default
=yes]
1577 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1578 --disable-nls do not use Native Language Support
1579 --disable-rpath do not hardcode runtime library paths
1580 --enable-dmalloc Enable dmalloc debugging
1581 --enable-osx-universal-binaries
1582 Produce universal binaries under OS X
[[default
=no
]]
1583 --disable-debug Exclude debug messages from
source
1584 --disable-optimization Exclude optimizing compiler flags
1585 --disable-mouse Disable mouse support
1586 --enable-quotas Enable disk quota checking on startup
1587 --disable-from-changing Disallow users changing From addresss
1588 --disable-background-post
1589 Disable background posting
1590 --disable-keyboard-lock Disable keyboard locking
1591 --enable-from-encoding Enable From encoding
in sent messages
1594 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1595 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1596 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1598 --with-aix-soname=aix|svr4|both
1599 shared library versioning
(aka
"SONAME") variant to
1600 provide on AIX
, [default
=aix
].
1601 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1602 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1603 compiler
's sysroot if not specified).
1604 --with-gnu-ld assume the C compiler uses GNU ld default=no
1605 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1606 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1607 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1608 --without-libintl-prefix don
't search for libintl in includedir and libdir
1609 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1610 --with-date-stamp=DATE Set this as the date this program was built.
1611 Default: output of `date`
1612 --with-host-stamp=HOST Set name of computer for compilation. Default:
1613 output of `hostname`
1614 --with-ps-cmd="CMD" Use this command to check running commands. Default:
1616 --with-localedir=DIR Name of gettext locale directory
1617 --with-include-path=PATHS
1618 Colon-separated list of directories used for include
1620 --with-lib-path=PATHS Colon-separated list of directories used for library
1622 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1623 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1624 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1625 --with-smtp-msa-flags=FLAGS
1626 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1627 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1628 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1629 --with-password-prog=PATH
1630 Password change program (/bin/passwd)
1631 --with-simple-spellcheck=PROG
1632 Spellcheck program reads stdin, emits misspellings
1634 --with-interactive-spellcheck=PROG
1635 Interactive, filewise spell checker
1636 --with-system-pinerc=VALUE
1637 System pinerc (/usr/local/lib/pine.conf)
1638 --with-system-fixed-pinerc=VALUE
1639 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1640 --with-local-support-info=VALUE
1641 Local Support Info File (/usr/local/lib/pine.info)
1642 --with-mailcheck-interval=VALUE
1643 Specify default mail-check-interval (150)
1644 --with-checkpoint-interval=VALUE
1645 Specify default checkpoint-interval (420)
1646 --with-checkpoint-frequency=VALUE
1647 State change count before checkpoint (12)
1648 --with-display-rows=VALUE
1649 Initial rows on display (24)
1650 --with-display-columns=VALUE
1651 Initial columns on display (80)
1652 --with-max-display-rows=VALUE
1653 Maximum display rows (200)
1654 --with-max-display-columns=VALUE
1655 Maximum display columns (500)
1656 --with-fill-column=VALUE
1657 Default fill column (74)
1658 --with-max_fill-column=VALUE
1659 Maximum fill column (80)
1660 --with-debug-level=VALUE
1661 Specify default debug verbosity level (2)
1662 --with-debug-files=VALUE
1663 Specify number of debug files (4)
1664 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1665 --with-forwarded-keyword=VALUE
1666 IMAP (c-client) keyword to store forwarded status
1668 --with-display-overlap=VALUE
1669 Lines preserved while paging (2)
1670 --with-display-margin=VALUE
1671 Lines visible while scrolling (0)
1672 --with-default-fcc=VALUE
1673 Default sent mail folder (sent-mail)
1674 --with-default-save-folder=VALUE
1675 Default save folder (saved-messages)
1676 --with-default-legacy-postponed-folder=VALUE
1677 Pre Pine 3.90 postponed folder (postponed-mail)
1678 --with-default-postponed-folder=VALUE
1679 Default postponed folder (postponed-msgs)
1680 --with-default-trash-folder=VALUE
1681 Default Trash folder for Web Alpine (Trash)
1682 --with-default-interrupted-mail=VALUE
1683 Default folder for interrupted mail
1684 (.pine-interrupted-mail)
1685 --with-default-dead-letter-folder=VALUE
1686 Default dead letter folder (dead.letter)
1687 --with-default-mail-directory=VALUE
1688 Default mail directory (mail)
1689 --with-default-inbox-name=VALUE
1690 Default inbox name (INBOX)
1691 --with-default-signature-file=VALUE
1692 Default signature file (.signature)
1693 --with-default-elm-style-save=VALUE
1694 Default to Elm style save (no)
1695 --with-default-header-in-reply=VALUE
1696 Include header in reply (no)
1697 --with-default-old-style-reply=VALUE
1698 Default to old style reply (no)
1699 --with-default-use-only-domain-name=VALUE
1700 Default to using only the domain name (no)
1701 --with-default-save-by-sender=VALUE
1702 Default to save by sender (no)
1703 --with-default-sort-key=VALUE
1704 Default sort key (arrival)
1705 --with-default-addressbook-sort-rule=VALUE
1706 Default addressbook sort rule
1707 (fullname-with-lists-last)
1708 --with-default-folder-sort-rule=VALUE
1709 Default folder sort rule (alphabetical)
1710 --with-default-saved-message-name-rule=VALUE
1711 Default saved message name rule (default-folder)
1712 --with-default-fcc-rule=VALUE
1713 Default fcc rule (default-fcc)
1714 --with-default-standard-printer=VALUE
1715 Default standard printern (lpr)
1716 --with-default-ansi-printer=VALUE
1717 ANSI printer definition (attached-to-ansi)
1718 --with-default-addressbook=VALUE
1719 Default addressbook name (.addressbook)
1720 --with-default-local-fullname=VALUE
1721 Default local support fullname ("Local Support")
1722 --with-default-local-address=VALUE
1723 Default local support address (postmaster)
1724 --with-default-keyboard-lock-count=VALUE
1725 Default keyboard lock count (1)
1726 --with-default-remote-addressbook-history=VALUE
1727 Default address book history count (3)
1728 --with-smime-public-cert-directory=VALUE
1729 Default Public Cert Directory (.alpine-smime/public)
1730 --with-smime-private-key-directory=VALUE
1731 Default Private Key Directory
1732 (.alpine-smime/private)
1733 --with-smime-cacert-directory=VALUE
1734 Default Cert Authority Directory (.alpine-smime/ca)
1735 --with-default-printer=VALUE
1736 Default printer (ANSI_PRINTER)
1737 --with-passfile=FILENAME
1738 Password cache file (recommended when S/MIME is
1739 enabled and configured)
1740 --without-local-password-cache
1741 Disable OS-specific password cache, if supported
1742 --with-local-password-cache-method
1743 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1745 --with-default-sshpath=FILENAME
1746 set default value of ssh command path (defining
1747 should cause ssh to be preferred to rsh)
1748 --with-default-sshcmd=PERCENT_S_STRING
1749 set default value of ssh command string (usually "%s
1750 %s -l %s exec /etc/r%sd")
1751 --without-ssl Disable SSL support (OpenSSL)
1752 --with-ssl-dir=DIR Root of SSL lib/include path
1753 --with-ssl-certs-dir=DIR
1754 Path to SSL certificate directory
1755 --with-ssl-include-dir=DIR
1756 SSL include file path
1757 --with-ssl-lib-dir=DIR SSL library path
1758 --without-krb5 Disable Kerberos support
1759 --with-krb5-dir=DIR Root of Kerberos lib/include path
1760 --with-krb5-include-dir=DIR
1761 Kerberos include file path
1762 --with-krb5-lib-dir=DIR Kerberos library path
1763 --without-ldap Disable LDAP query support
1764 --with-ldap-dir=DIR Root of LDAP lib/include path
1765 --with-ldap-include-dir=DIR
1766 Directory containing LDAP include files
1767 --with-ldap-lib-dir=DIR LDAP library path
1768 --without-smime Disable S/MIME
1769 --without-tcl Disable TCL, thus Web Alpine support
1770 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1771 --with-tcl-include=DIR Directory containing TCL include files
1772 --with-supplied-regex Use regex library supplied with alpine
1773 --without-pthread Do NOT test for nor build with POSIX thread support
1774 --with-system-mail-directory=DIR
1775 Directory where local mail is delivered
1776 --with-c-client-target=TARGET
1777 IMAP build target (see imap/Makefile)
1778 --without-ipv6 Disable IPv6, primarily to work around resolver
1780 --without-ntlm Disable NTLM client support
1782 Some influential environment variables:
1783 CC C compiler command
1784 CFLAGS C compiler flags
1785 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1786 nonstandard directory <lib dir>
1787 LIBS libraries to pass to the linker, e.g. -l<library>
1788 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1789 you have headers in a nonstandard directory <include dir>
1792 User-defined run-time library search path.
1794 Use these variables to override the choices made by `configure' or to
help
1795 it to
find libraries and programs with nonstandard names
/locations.
1797 Report bugs to
<chappa@washington.edu
>.
1802 if test "$ac_init_help" = "recursive"; then
1803 # If there are subdirs, report their specific --help.
1804 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1805 test -d "$ac_dir" ||
1806 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1811 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1813 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1814 # A ".." for each directory in $ac_dir_suffix.
1815 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1816 case $ac_top_builddir_sub in
1817 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1818 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1821 ac_abs_top_builddir
=$ac_pwd
1822 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1823 # for backward compatibility:
1824 ac_top_builddir
=$ac_top_build_prefix
1827 .
) # We are building in place.
1829 ac_top_srcdir
=$ac_top_builddir_sub
1830 ac_abs_top_srcdir
=$ac_pwd ;;
1831 [\\/]* | ?
:[\\/]* ) # Absolute name.
1832 ac_srcdir
=$srcdir$ac_dir_suffix;
1833 ac_top_srcdir
=$srcdir
1834 ac_abs_top_srcdir
=$srcdir ;;
1836 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1837 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1838 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1840 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1842 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1843 # Check for guested configure.
1844 if test -f "$ac_srcdir/configure.gnu"; then
1846 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1847 elif test -f "$ac_srcdir/configure"; then
1849 $SHELL "$ac_srcdir/configure" --help=recursive
1851 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1853 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1857 test -n "$ac_init_help" && exit $ac_status
1858 if $ac_init_version; then
1860 alpine configure
2.21.9999
1861 generated by GNU Autoconf
2.69
1863 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1864 This configure
script is free software
; the Free Software Foundation
1865 gives unlimited permission to copy
, distribute and modify it.
1870 ## ------------------------ ##
1871 ## Autoconf initialization. ##
1872 ## ------------------------ ##
1874 # ac_fn_c_try_compile LINENO
1875 # --------------------------
1876 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1877 ac_fn_c_try_compile
()
1879 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1880 rm -f conftest.
$ac_objext
1881 if { { ac_try
="$ac_compile"
1883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_compile") 2>conftest.err
1890 if test -s conftest.err; then
1891 grep -v '^ *+' conftest.err >conftest.er1
1892 cat conftest.er1 >&5
1893 mv -f conftest.er1 conftest.err
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } && {
1897 test -z "$ac_c_werror_flag" ||
1898 test ! -s conftest.err
1899 } && test -s conftest.$ac_objext; then :
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.$ac_ext >&5
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 as_fn_set_status $ac_retval
1910 } # ac_fn_c_try_compile
1912 # ac_fn_c_try_cpp LINENO
1913 # ----------------------
1914 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 if { { ac_try="$ac_cpp conftest.$ac_ext"
1920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1921 *) ac_try_echo
=$ac_try;;
1923 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1927 if test -s conftest.err
; then
1928 grep -v '^ *+' conftest.err
>conftest.er1
1929 cat conftest.er1
>&5
1930 mv -f conftest.er1 conftest.err
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } > conftest.i
&& {
1934 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1935 test ! -s conftest.err
1939 $as_echo "$as_me: failed program was:" >&5
1940 sed 's/^/| /' conftest.
$ac_ext >&5
1944 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945 as_fn_set_status
$ac_retval
1949 # ac_fn_c_try_link LINENO
1950 # -----------------------
1951 # Try to link conftest.$ac_ext, and return whether this succeeded.
1954 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1955 rm -f conftest.
$ac_objext conftest
$ac_exeext
1956 if { { ac_try
="$ac_link"
1958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1959 *) ac_try_echo=$ac_try;;
1961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_link") 2>conftest.err
1965 if test -s conftest.err; then
1966 grep -v '^ *+' conftest.err >conftest.er1
1967 cat conftest.er1 >&5
1968 mv -f conftest.er1 conftest.err
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; } && {
1972 test -z "$ac_c_werror_flag" ||
1973 test ! -s conftest.err
1974 } && test -s conftest$ac_exeext && {
1975 test "$cross_compiling" = yes ||
1976 test -x conftest$ac_exeext
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.$ac_ext >&5
1985 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1986 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1987 # interfere with the next link command; also delete a directory that is
1988 # left behind by Apple's compiler. We do this before executing the actions.
1989 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1990 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991 as_fn_set_status $ac_retval
1993 } # ac_fn_c_try_link
1995 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1996 # -------------------------------------------------------
1997 # Tests whether HEADER exists and can be compiled using the include files in
1998 # INCLUDES, setting the cache variable VAR accordingly.
1999 ac_fn_c_check_header_compile ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003 $as_echo_n "checking for $2... " >&6; }
2004 if eval \${$3+:} false; then :
2005 $as_echo_n "(cached) " >&6
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2012 if ac_fn_c_try_compile "$LINENO"; then :
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2024 } # ac_fn_c_check_header_compile
2026 # ac_fn_c_try_run LINENO
2027 # ----------------------
2028 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2029 # that executables *can* be run.
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 if { { ac_try="$ac_link"
2035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2036 *) ac_try_echo
=$ac_try;;
2038 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2039 $as_echo "$ac_try_echo"; } >&5
2040 (eval "$ac_link") 2>&5
2042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2044 { { case "(($ac_try" in
2045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2046 *) ac_try_echo=$ac_try;;
2048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2049 $as_echo "$ac_try_echo"; } >&5
2050 (eval "$ac_try") 2>&5
2052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2053 test $ac_status = 0; }; }; then :
2056 $as_echo "$as_me: program exited with status $ac_status" >&5
2057 $as_echo "$as_me: failed program was:" >&5
2058 sed 's/^/| /' conftest.$ac_ext >&5
2060 ac_retval=$ac_status
2062 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064 as_fn_set_status $ac_retval
2068 # ac_fn_c_check_func LINENO FUNC VAR
2069 # ----------------------------------
2070 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2071 ac_fn_c_check_func ()
2073 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2075 $as_echo_n "checking for $2... " >&6; }
2076 if eval \${$3+:} false; then :
2077 $as_echo_n "(cached) " >&6
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2081 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2083 #define $2 innocuous_$2
2085 /* System header to define __stub macros and hopefully few prototypes,
2086 which can conflict with char $2 (); below.
2087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2088 <limits.h> exists even on freestanding compilers. */
2091 # include <limits.h>
2093 # include <assert.h>
2098 /* Override any GCC internal prototype to avoid an error.
2099 Use char because int might match the return type of a GCC
2100 builtin and then its argument prototype would still apply. */
2105 /* The GNU C library defines this for functions which it implements
2106 to always fail with ENOSYS. Some functions are actually named
2107 something starting with __ and the normal name is an alias. */
2108 #if defined __stub_$2 || defined __stub___$2
2120 if ac_fn_c_try_link "$LINENO"; then :
2125 rm -f core conftest.err conftest.$ac_objext \
2126 conftest$ac_exeext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130 $as_echo "$ac_res" >&6; }
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 } # ac_fn_c_check_func
2135 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2136 # -------------------------------------------------------
2137 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2138 # the include files in INCLUDES and setting the cache variable VAR
2140 ac_fn_c_check_header_mongrel ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 if eval \${$3+:} false; then :
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2145 $as_echo_n "checking for $2... " >&6; }
2146 if eval \${$3+:} false; then :
2147 $as_echo_n "(cached) " >&6
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2151 $as_echo "$ac_res" >&6; }
2153 # Is the header compilable?
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2155 $as_echo_n "checking $2 usability... " >&6; }
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2161 if ac_fn_c_try_compile "$LINENO"; then :
2162 ac_header_compiler=yes
2164 ac_header_compiler=no
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2168 $as_echo "$ac_header_compiler" >&6; }
2170 # Is the header present?
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2172 $as_echo_n "checking $2 presence... " >&6; }
2173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174 /* end confdefs.h. */
2177 if ac_fn_c_try_cpp "$LINENO"; then :
2178 ac_header_preproc=yes
2180 ac_header_preproc=no
2182 rm -f conftest.err conftest.i conftest.$ac_ext
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2184 $as_echo "$ac_header_preproc" >&6; }
2186 # So? What about this header?
2187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2190 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2192 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2196 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2198 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2200 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2202 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 ( $as_echo "## ------------------------------------ ##
2206 ## Report this to chappa@washington.edu ##
2207 ## ------------------------------------ ##"
2208 ) | sed "s/^/$as_me: WARNING: /" >&2
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2212 $as_echo_n "checking for $2... " >&6; }
2213 if eval \${$3+:} false; then :
2214 $as_echo_n "(cached) " >&6
2216 eval "$3=\$ac_header_compiler"
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2224 } # ac_fn_c_check_header_mongrel
2226 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2227 # -------------------------------------------
2228 # Tests whether TYPE exists after having included INCLUDES, setting cache
2229 # variable VAR accordingly.
2230 ac_fn_c_check_type ()
2232 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2234 $as_echo_n "checking for $2... " >&6; }
2235 if eval \${$3+:} false; then :
2236 $as_echo_n "(cached) " >&6
2239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2240 /* end confdefs.h. */
2251 if ac_fn_c_try_compile "$LINENO"; then :
2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2264 if ac_fn_c_try_compile "$LINENO"; then :
2269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2275 $as_echo "$ac_res" >&6; }
2276 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2278 } # ac_fn_c_check_type
2280 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2281 # --------------------------------------------
2282 # Tries to find the compile-time value of EXPR in a program that includes
2283 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2285 ac_fn_c_compute_int ()
2287 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2288 if test "$cross_compiling" = yes; then
2289 # Depending upon the size, compute the lo and hi bounds.
2290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291 /* end confdefs.h. */
2296 static int test_array [1 - 2 * !(($2) >= 0)];
2298 return test_array [0];
2304 if ac_fn_c_try_compile "$LINENO"; then :
2307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2308 /* end confdefs.h. */
2313 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2315 return test_array [0];
2321 if ac_fn_c_try_compile "$LINENO"; then :
2322 ac_hi=$ac_mid; break
2324 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2325 if test $ac_lo -le $ac_mid; then
2329 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h. */
2340 static int test_array [1 - 2 * !(($2) < 0)];
2342 return test_array [0];
2348 if ac_fn_c_try_compile "$LINENO"; then :
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2357 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2359 return test_array [0];
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_lo=$ac_mid; break
2368 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2369 if test $ac_mid -le $ac_hi; then
2373 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 # Binary search between lo and hi bounds.
2384 while test "x$ac_lo" != "x$ac_hi"; do
2385 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2392 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2394 return test_array [0];
2400 if ac_fn_c_try_compile "$LINENO"; then :
2403 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2413 /* end confdefs.h. */
2415 static long int longval () { return $2; }
2416 static unsigned long int ulongval () { return $2; }
2423 FILE *f = fopen ("conftest.val", "w");
2428 long int i = longval ();
2431 fprintf (f, "%ld", i);
2435 unsigned long int i = ulongval ();
2438 fprintf (f, "%lu", i);
2440 /* Do not output a trailing newline, as this causes \r\n confusion
2441 on some platforms. */
2442 return ferror (f) || fclose (f) != 0;
2448 if ac_fn_c_try_run "$LINENO"; then :
2449 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2454 conftest.$ac_objext conftest.beam conftest.$ac_ext
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 as_fn_set_status $ac_retval
2461 } # ac_fn_c_compute_int
2462 cat >config.log <<_ACEOF
2463 This file contains any messages produced by compilers while
2464 running configure, to aid debugging if configure makes a mistake.
2466 It was created by alpine $as_me 2.21.9999, which was
2467 generated by GNU Autoconf 2.69. Invocation command line was
2479 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2480 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2481 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2482 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2483 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2485 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2486 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2488 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2489 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2490 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2491 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2492 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2493 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2494 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir=.
2503 $as_echo "PATH: $as_dir"
2519 # Keep a trace of the command line.
2520 # Strip out --no-create and --no-recursion so they do not pile up.
2521 # Strip out --silent because we don't want to record it for future runs.
2522 # Also quote any args containing shell meta-characters.
2523 # Make two passes to allow for proper duplicate-argument suppression.
2527 ac_must_keep_next=false
2533 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2535 | -silent | --silent | --silen | --sile | --sil)
2538 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2541 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2543 as_fn_append ac_configure_args1 " '$ac_arg'"
2544 if test $ac_must_keep_next = true; then
2545 ac_must_keep_next=false # Got value, back to normal.
2548 *=* | --config-cache | -C | -disable-* | --disable-* \
2549 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2550 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2551 | -with-* | --with-* | -without-* | --without-* | --x)
2552 case "$ac_configure_args0 " in
2553 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556 -* ) ac_must_keep_next=true ;;
2559 as_fn_append ac_configure_args " '$ac_arg'"
2564 { ac_configure_args0=; unset ac_configure_args0;}
2565 { ac_configure_args1=; unset ac_configure_args1;}
2567 # When interrupted or exit'd, cleanup temporary files, and complete
2568 # config.log. We remove comments because anyway the quotes in there
2569 # would cause problems or look ugly.
2570 # WARNING: Use '\'' to represent an apostrophe within the trap.
2571 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2572 trap 'exit_status=$?
2573 # Save into config.log some information that might help in debugging.
2577 $as_echo "## ---------------- ##
2578 ## Cache variables. ##
2579 ## ---------------- ##"
2581 # The following way of writing the cache mishandles newlines in values,
2583 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2584 eval ac_val=\$$ac_var
2588 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2589 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2592 _ | IFS | as_nl) ;; #(
2593 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2594 *) { eval $ac_var=; unset $ac_var;} ;;
2599 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2600 *${as_nl}ac_space=\ *)
2602 "s/'\''/'\''\\\\'\'''\''/g;
2603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2613 $as_echo "## ----------------- ##
2614 ## Output variables. ##
2615 ## ----------------- ##"
2617 for ac_var in $ac_subst_vars
2619 eval ac_val=\$$ac_var
2621 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2623 $as_echo "$ac_var='\''$ac_val'\''"
2627 if test -n "$ac_subst_files"; then
2628 $as_echo "## ------------------- ##
2629 ## File substitutions. ##
2630 ## ------------------- ##"
2632 for ac_var in $ac_subst_files
2634 eval ac_val=\$$ac_var
2636 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638 $as_echo "$ac_var='\''$ac_val'\''"
2643 if test -s confdefs.h; then
2644 $as_echo "## ----------- ##
2651 test "$ac_signal" != 0 &&
2652 $as_echo "$as_me: caught signal $ac_signal"
2653 $as_echo "$as_me: exit $exit_status"
2655 rm -f core *.core core.conftest.* &&
2656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2659 for ac_signal in 1 2 13 15; do
2660 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2665 rm -f -r conftest* confdefs.h
2667 $as_echo "/* confdefs.h */" > confdefs.h
2669 # Predefined preprocessor variables.
2671 cat >>confdefs.h <<_ACEOF
2672 #define PACKAGE_NAME "$PACKAGE_NAME"
2675 cat >>confdefs.h <<_ACEOF
2676 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2679 cat >>confdefs.h <<_ACEOF
2680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2683 cat >>confdefs.h <<_ACEOF
2684 #define PACKAGE_STRING "$PACKAGE_STRING"
2687 cat >>confdefs.h <<_ACEOF
2688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_URL "$PACKAGE_URL"
2696 # Let the site file select an alternate cache file if it wants to.
2697 # Prefer an explicitly selected file to automatically selected ones.
2700 if test -n "$CONFIG_SITE"; then
2701 # We do not want a PATH search for config.site.
2702 case $CONFIG_SITE in #((
2703 -*) ac_site_file1=./$CONFIG_SITE;;
2704 */*) ac_site_file1=$CONFIG_SITE;;
2705 *) ac_site_file1=./$CONFIG_SITE;;
2707 elif test "x$prefix" != xNONE; then
2708 ac_site_file1=$prefix/share/config.site
2709 ac_site_file2=$prefix/etc/config.site
2711 ac_site_file1=$ac_default_prefix/share/config.site
2712 ac_site_file2=$ac_default_prefix/etc/config.site
2714 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2716 test "x$ac_site_file" = xNONE && continue
2717 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2719 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2720 sed 's/^/| /' "$ac_site_file" >&5
2722 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2724 as_fn_error $? "failed to load site
script $ac_site_file
2725 See \
`config.log' for more details" "$LINENO" 5; }
2729 if test -r "$cache_file"; then
2730 # Some versions of bash will fail to source /dev/null (special files
2731 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2732 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2734 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2737 *) . "./$cache_file";;
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2742 $as_echo "$as_me: creating cache $cache_file" >&6;}
2746 gt_needs="$gt_needs "
2747 # Check that the precious variables saved in the cache have kept the same
2749 ac_cache_corrupted=false
2750 for ac_var in $ac_precious_vars; do
2751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2752 eval ac_new_set=\$ac_env_${ac_var}_set
2753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2754 eval ac_new_val=\$ac_env_${ac_var}_value
2755 case $ac_old_set,$ac_new_set in
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2758 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2759 ac_cache_corrupted=: ;;
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2762 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2763 ac_cache_corrupted=: ;;
2766 if test "x$ac_old_val" != "x$ac_new_val"; then
2767 # differences in whitespace do not lead to failure.
2768 ac_old_val_w=`echo x
$ac_old_val`
2769 ac_new_val_w=`echo x
$ac_new_val`
2770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2773 ac_cache_corrupted=:
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2777 eval $ac_var=\$ac_old_val
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2780 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2785 # Pass precious variables to config.status.
2786 if test "$ac_new_set" = set; then
2788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2789 *) ac_arg=$ac_var=$ac_new_val ;;
2791 case " $ac_configure_args " in
2792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2797 if $ac_cache_corrupted; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2802 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2804 ## -------------------- ##
2805 ## Main body of script. ##
2806 ## -------------------- ##
2809 ac_cpp='$CPP $CPPFLAGS'
2810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2817 ac_config_headers="$ac_config_headers include/config.h"
2820 am__api_version='1.15'
2823 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2824 if test -f "$ac_dir/install-sh"; then
2826 ac_install_sh="$ac_aux_dir/install-sh -c"
2828 elif test -f "$ac_dir/install.sh"; then
2830 ac_install_sh="$ac_aux_dir/install.sh -c"
2832 elif test -f "$ac_dir/shtool"; then
2834 ac_install_sh="$ac_aux_dir/shtool install -c"
2838 if test -z "$ac_aux_dir"; then
2839 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2842 # These three variables are undocumented and unsupported,
2843 # and are intended to be withdrawn in a future Autoconf release.
2844 # They can cause serious problems if a builder's source tree is in a directory
2845 # whose full name contains unusual characters.
2846 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2847 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2848 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2851 # Find a good install program. We prefer a C program (faster),
2852 # so one script is as good as another. But avoid the broken or
2853 # incompatible versions:
2854 # SysV /etc/install, /usr/sbin/install
2855 # SunOS /usr/etc/install
2856 # IRIX /sbin/install
2858 # AmigaOS /C/install, which installs bootblocks on floppy discs
2859 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2860 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2861 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2862 # OS/2's system install, which has a completely different semantic
2863 # ./install, which can be erroneously created by make from ./install.sh.
2864 # Reject install programs that cannot install multiple files.
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2866 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2867 if test -z "$INSTALL"; then
2868 if ${ac_cv_path_install+:} false; then :
2869 $as_echo_n "(cached) " >&6
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir=.
2876 # Account for people who put trailing slashes in PATH elements.
2877 case $as_dir/ in #((
2878 ./ | .// | /[cC]/* | \
2879 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2880 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2883 # OSF1 and SCO ODT 3.0 have their own names for install.
2884 # Don't use installbsd from OSF since it installs stuff as root
2886 for ac_prog in ginstall scoinst install; do
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2889 if test $ac_prog = install &&
2890 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2891 # AIX install. It has an incompatible calling convention.
2893 elif test $ac_prog = install &&
2894 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2895 # program-specific install script used by HP pwplus--don't use.
2898 rm -rf conftest.one conftest.two conftest.dir
2899 echo one > conftest.one
2900 echo two > conftest.two
2902 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2903 test -s conftest.one && test -s conftest.two &&
2904 test -s conftest.dir/conftest.one &&
2905 test -s conftest.dir/conftest.two
2907 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2920 rm -rf conftest.one conftest.two conftest.dir
2923 if test "${ac_cv_path_install+set}" = set; then
2924 INSTALL=$ac_cv_path_install
2926 # As a last resort, use the slow shell script. Don't cache a
2927 # value for INSTALL within a source directory, because that will
2928 # break other packages using the cache if that directory is
2929 # removed, or if the value is a relative name.
2930 INSTALL=$ac_install_sh
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2934 $as_echo "$INSTALL" >&6; }
2936 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2937 # It thinks the first close brace ends the variable substitution.
2938 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2940 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2942 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2945 $as_echo_n "checking whether build environment is sane... " >&6; }
2946 # Reject unsafe characters in $srcdir or the absolute working directory
2947 # name. Accept space and tab only in the latter.
2951 *[\\\"\#\$\&\'\`$am_lf]*)
2952 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2955 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2956 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2959 # Do 'set' in a subshell so we don't clobber the current shell's
2960 # arguments. Must try -L first in case configure is actually a
2961 # symlink; some systems play weird games with the mod time of symlinks
2962 # (eg FreeBSD returns the mod time of the symlink's containing
2966 for am_try
in 1 2; do
2967 echo "timestamp, slept: $am_has_slept" > conftest.
file
2968 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2969 if test "$*" = "X"; then
2971 set X
`ls -t "$srcdir/configure" conftest.file`
2973 if test "$*" != "X $srcdir/configure conftest.file" \
2974 && test "$*" != "X conftest.file $srcdir/configure"; then
2976 # If neither matched, then we have a broken ls. This can happen
2977 # if, for instance, CONFIG_SHELL is bash and it inherits a
2978 # broken ls alias from the environment. This has actually
2979 # happened. Such a system could not be considered "sane".
2980 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2981 alias in your environment" "$LINENO" 5
2983 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2990 test "$2" = conftest.
file
2996 as_fn_error $?
"newly created file is older than distributed files!
2997 Check your system clock" "$LINENO" 5
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3000 $as_echo "yes" >&6; }
3001 # If we didn't sleep, we still need to ensure time stamps of config.status and
3002 # generated files are strictly newer.
3004 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3011 test "$program_prefix" != NONE
&&
3012 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3013 # Use a double $ so make ignores it.
3014 test "$program_suffix" != NONE
&&
3015 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3016 # Double any \ or $.
3017 # By default was `s,x,x', remove it if useless.
3018 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3019 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3021 # Expand $ac_aux_dir to an absolute path.
3022 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3024 if test x
"${MISSING+set}" != xset
; then
3027 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3029 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3032 # Use eval to expand $SHELL
3033 if eval "$MISSING --is-lightweight"; then
3034 am_missing_run
="$MISSING "
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3038 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3041 if test x
"${install_sh+set}" != xset
; then
3044 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3046 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3050 # Installed binaries are usually stripped using 'strip' when the user
3051 # run "make install-strip". However 'strip' might not be the right
3052 # tool to use in cross-compilation environments, therefore Automake
3053 # will honor the 'STRIP' environment variable to overrule this program.
3054 if test "$cross_compiling" != no
; then
3055 if test -n "$ac_tool_prefix"; then
3056 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3057 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059 $as_echo_n "checking for $ac_word... " >&6; }
3060 if ${ac_cv_prog_STRIP+:} false
; then :
3061 $as_echo_n "(cached) " >&6
3063 if test -n "$STRIP"; then
3064 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3070 test -z "$as_dir" && as_dir
=.
3071 for ac_exec_ext
in '' $ac_executable_extensions; do
3072 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 STRIP
=$ac_cv_prog_STRIP
3084 if test -n "$STRIP"; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3086 $as_echo "$STRIP" >&6; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 $as_echo "no" >&6; }
3094 if test -z "$ac_cv_prog_STRIP"; then
3096 # Extract the first word of "strip", so it can be a program name with args.
3097 set dummy strip
; ac_word
=$2
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099 $as_echo_n "checking for $ac_word... " >&6; }
3100 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3101 $as_echo_n "(cached) " >&6
3103 if test -n "$ac_ct_STRIP"; then
3104 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir
=.
3111 for ac_exec_ext
in '' $ac_executable_extensions; do
3112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3113 ac_cv_prog_ac_ct_STRIP
="strip"
3114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3124 if test -n "$ac_ct_STRIP"; then
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3126 $as_echo "$ac_ct_STRIP" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3132 if test "x$ac_ct_STRIP" = x
; then
3135 case $cross_compiling:$ac_tool_warned in
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3139 ac_tool_warned
=yes ;;
3144 STRIP
="$ac_cv_prog_STRIP"
3148 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3151 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3152 if test -z "$MKDIR_P"; then
3153 if ${ac_cv_path_mkdir+:} false
; then :
3154 $as_echo_n "(cached) " >&6
3156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3160 test -z "$as_dir" && as_dir
=.
3161 for ac_prog
in mkdir gmkdir
; do
3162 for ac_exec_ext
in '' $ac_executable_extensions; do
3163 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3164 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3165 'mkdir (GNU coreutils) '* | \
3166 'mkdir (coreutils) '* | \
3167 'mkdir (fileutils) '4.1*)
3168 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3178 test -d .
/--version && rmdir .
/--version
3179 if test "${ac_cv_path_mkdir+set}" = set; then
3180 MKDIR_P
="$ac_cv_path_mkdir -p"
3182 # As a last resort, use the slow shell script. Don't cache a
3183 # value for MKDIR_P within a source directory, because that will
3184 # break other packages using the cache if that directory is
3185 # removed, or if the value is a relative name.
3186 MKDIR_P
="$ac_install_sh -d"
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3190 $as_echo "$MKDIR_P" >&6; }
3192 for ac_prog
in gawk mawk nawk
awk
3194 # Extract the first word of "$ac_prog", so it can be a program name with args.
3195 set dummy
$ac_prog; ac_word
=$2
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197 $as_echo_n "checking for $ac_word... " >&6; }
3198 if ${ac_cv_prog_AWK+:} false
; then :
3199 $as_echo_n "(cached) " >&6
3201 if test -n "$AWK"; then
3202 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir
=.
3209 for ac_exec_ext
in '' $ac_executable_extensions; do
3210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3211 ac_cv_prog_AWK
="$ac_prog"
3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test -n "$AWK"; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3224 $as_echo "$AWK" >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3231 test -n "$AWK" && break
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3235 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3237 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3238 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3239 $as_echo_n "(cached) " >&6
3241 cat >conftest.
make <<\_ACEOF
3244 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3246 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3249 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3251 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3255 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257 $as_echo "yes" >&6; }
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3262 SET_MAKE
="MAKE=${MAKE-make}"
3265 rm -rf .tst
2>/dev
/null
3266 mkdir .tst
2>/dev
/null
3267 if test -d .tst
; then
3272 rmdir .tst
2>/dev
/null
3274 # Check whether --enable-silent-rules was given.
3275 if test "${enable_silent_rules+set}" = set; then :
3276 enableval
=$enable_silent_rules;
3279 case $enable_silent_rules in # (((
3280 yes) AM_DEFAULT_VERBOSITY
=0;;
3281 no
) AM_DEFAULT_VERBOSITY
=1;;
3282 *) AM_DEFAULT_VERBOSITY
=1;;
3284 am_make
=${MAKE-make}
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3286 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3287 if ${am_cv_make_support_nested_variables+:} false
; then :
3288 $as_echo_n "(cached) " >&6
3290 if $as_echo 'TRUE=$(BAR$(V))
3296 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3297 am_cv_make_support_nested_variables
=yes
3299 am_cv_make_support_nested_variables
=no
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3303 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3304 if test $am_cv_make_support_nested_variables = yes; then
3306 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3308 AM_V
=$AM_DEFAULT_VERBOSITY
3309 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3313 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3314 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3315 # is not polluted with repeated "-I."
3316 am__isrc
=' -I$(srcdir)'
3317 # test to see if srcdir already configured
3318 if test -f $srcdir/config.status
; then
3319 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3323 # test whether we have cygpath
3324 if test -z "$CYGPATH_W"; then
3325 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3326 CYGPATH_W
='cygpath -w'
3333 # Define the identity of the package.
3338 cat >>confdefs.h
<<_ACEOF
3339 #define PACKAGE "$PACKAGE"
3343 cat >>confdefs.h
<<_ACEOF
3344 #define VERSION "$VERSION"
3347 # Some tools Automake needs.
3349 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3352 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3355 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3358 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3361 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3363 # For better backward compatibility. To be removed once Automake 1.9.x
3364 # dies out for good. For more background, see:
3365 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3366 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3367 mkdir_p
='$(MKDIR_P)'
3369 # We need awk for the "check" target (and possibly the TAP driver). The
3370 # system "awk" is bad on some platforms.
3371 # Always define AMTAR for backward compatibility. Yes, it's still used
3372 # in the wild :-( We should find a proper way to deprecate it ...
3376 # We'll loop over all known methods to create a tar archive until one works.
3377 _am_tools
='gnutar pax cpio none'
3379 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3386 # POSIX will say in a future version that running "rm -f" with no argument
3387 # is OK; and we want to be able to make that assumption in our Makefile
3388 # recipes. So use an aggressive probe to check that the usage we want is
3389 # actually supported "in the wild" to an acceptable degree.
3390 # See automake bug#10828.
3391 # To make any issue more visible, cause the running configure to be aborted
3392 # by default if the 'rm' program in use doesn't match our expectations; the
3393 # user can still override this though.
3394 if rm -f && rm -fr && rm -rf; then : OK
; else
3398 Your 'rm' program seems unable to run without file operands specified
3399 on the command line, even when the '-f' option is present. This is contrary
3400 to the behaviour of most rm programs out there, and not conforming with
3401 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3403 Please tell bug-automake@gnu.org about your system, including the value
3404 of your $PATH and any error possibly output before this message. This
3405 can help us improve future automake versions.
3408 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3409 echo 'Configuration will proceed anyway, since you have set the' >&2
3410 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3414 Aborting the configuration process, to ensure you take notice of the issue.
3416 You can download and install GNU coreutils to get an 'rm' implementation
3417 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3419 If you want to complete the configuration process using your problematic
3420 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3421 to "yes", and re-run configure.
3424 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3431 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3432 # Check whether --enable-maintainer-mode was given.
3433 if test "${enable_maintainer_mode+set}" = set; then :
3434 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3436 USE_MAINTAINER_MODE
=no
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3440 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3441 if test $USE_MAINTAINER_MODE = yes; then
3442 MAINTAINER_MODE_TRUE
=
3443 MAINTAINER_MODE_FALSE
='#'
3445 MAINTAINER_MODE_TRUE
='#'
3446 MAINTAINER_MODE_FALSE
=
3449 MAINT
=$MAINTAINER_MODE_TRUE
3453 # Make sure we can run config.sub.
3454 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3455 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3458 $as_echo_n "checking build system type... " >&6; }
3459 if ${ac_cv_build+:} false
; then :
3460 $as_echo_n "(cached) " >&6
3462 ac_build_alias
=$build_alias
3463 test "x$ac_build_alias" = x
&&
3464 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3465 test "x$ac_build_alias" = x
&&
3466 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3467 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3468 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3472 $as_echo "$ac_cv_build" >&6; }
3473 case $ac_cv_build in
3475 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3478 ac_save_IFS
=$IFS; IFS
='-'
3484 # Remember, the first character of IFS is used to create $*,
3485 # except with old shells:
3488 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3492 $as_echo_n "checking host system type... " >&6; }
3493 if ${ac_cv_host+:} false
; then :
3494 $as_echo_n "(cached) " >&6
3496 if test "x$host_alias" = x
; then
3497 ac_cv_host
=$ac_cv_build
3499 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3500 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3505 $as_echo "$ac_cv_host" >&6; }
3508 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3511 ac_save_IFS
=$IFS; IFS
='-'
3517 # Remember, the first character of IFS is used to create $*,
3518 # except with old shells:
3521 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3526 ac_cpp
='$CPP $CPPFLAGS'
3527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3533 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3535 # start out with intent to build Web Alpine
3536 WEB_BUILD
=web
/src
/alpined.d
3540 ac_cpp
='$CPP $CPPFLAGS'
3541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3544 if test -n "$ac_tool_prefix"; then
3545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3546 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if ${ac_cv_prog_CC+:} false
; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -n "$CC"; then
3553 ac_cv_prog_CC
="$CC" # Let the user override the test.
3555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir
=.
3560 for ac_exec_ext
in '' $ac_executable_extensions; do
3561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3562 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 if test -n "$CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3575 $as_echo "$CC" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3583 if test -z "$ac_cv_prog_CC"; then
3585 # Extract the first word of "gcc", so it can be a program name with args.
3586 set dummy gcc
; ac_word
=$2
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3588 $as_echo_n "checking for $ac_word... " >&6; }
3589 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3590 $as_echo_n "(cached) " >&6
3592 if test -n "$ac_ct_CC"; then
3593 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3599 test -z "$as_dir" && as_dir
=.
3600 for ac_exec_ext
in '' $ac_executable_extensions; do
3601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3602 ac_cv_prog_ac_ct_CC
="gcc"
3603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3613 if test -n "$ac_ct_CC"; then
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3615 $as_echo "$ac_ct_CC" >&6; }
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3621 if test "x$ac_ct_CC" = x
; then
3624 case $cross_compiling:$ac_tool_warned in
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3628 ac_tool_warned
=yes ;;
3636 if test -z "$CC"; then
3637 if test -n "$ac_tool_prefix"; then
3638 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3639 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if ${ac_cv_prog_CC+:} false
; then :
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC
="$CC" # Let the user override the test.
3648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir
=.
3653 for ac_exec_ext
in '' $ac_executable_extensions; do
3654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3655 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 if test -n "$CC"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3668 $as_echo "$CC" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3677 if test -z "$CC"; then
3678 # Extract the first word of "cc", so it can be a program name with args.
3679 set dummy cc
; ac_word
=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if ${ac_cv_prog_CC+:} false
; then :
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$CC"; then
3686 ac_cv_prog_CC
="$CC" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3696 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3697 ac_prog_rejected
=yes
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 if test $ac_prog_rejected = yes; then
3709 # We found a bogon in the path, so make sure we never use it.
3710 set dummy
$ac_cv_prog_CC
3712 if test $# != 0; then
3713 # We chose a different compiler from the bogus one.
3714 # However, it has the same basename, so the bogon will be chosen
3715 # first if we set CC to just the basename; use the full file name.
3717 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3733 if test -z "$CC"; then
3734 if test -n "$ac_tool_prefix"; then
3735 for ac_prog
in cl.exe
3737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3738 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false
; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC
="$CC" # Let the user override the test.
3747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir
=.
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3754 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3774 test -n "$CC" && break
3777 if test -z "$CC"; then
3779 for ac_prog
in cl.exe
3781 # Extract the first word of "$ac_prog", so it can be a program name with args.
3782 set dummy
$ac_prog; ac_word
=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3786 $as_echo_n "(cached) " >&6
3788 if test -n "$ac_ct_CC"; then
3789 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir
=.
3796 for ac_exec_ext
in '' $ac_executable_extensions; do
3797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3798 ac_cv_prog_ac_ct_CC
="$ac_prog"
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3809 if test -n "$ac_ct_CC"; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3811 $as_echo "$ac_ct_CC" >&6; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 $as_echo "no" >&6; }
3818 test -n "$ac_ct_CC" && break
3821 if test "x$ac_ct_CC" = x
; then
3824 case $cross_compiling:$ac_tool_warned in
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3828 ac_tool_warned
=yes ;;
3837 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3839 as_fn_error $?
"no acceptable C compiler found in \$PATH
3840 See \`config.log' for more details" "$LINENO" 5; }
3842 # Provide some information about the compiler.
3843 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3846 for ac_option
in --version -v -V -qversion; do
3847 { { ac_try
="$ac_compiler $ac_option >&5"
3849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3856 if test -s conftest.err; then
3858 ... rest of stderr output deleted ...
3859 10q' conftest.err >conftest.er1
3860 cat conftest.er1 >&5
3862 rm -f conftest.er1 conftest.err
3863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3864 test $ac_status = 0; }
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3878 ac_clean_files_save=$ac_clean_files
3879 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3880 # Try to create an executable without -o first, disregard a.out.
3881 # It will help us diagnose broken compilers, and finding out an intuition
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3884 $as_echo_n "checking whether the C compiler works... " >&6; }
3885 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3887 # The possible output files:
3888 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3891 for ac_file in $ac_files
3894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3895 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3900 if { { ac_try="$ac_link_default"
3902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3903 *) ac_try_echo
=$ac_try;;
3905 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3906 $as_echo "$ac_try_echo"; } >&5
3907 (eval "$ac_link_default") 2>&5
3909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3910 test $ac_status = 0; }; then :
3911 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3912 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3913 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3914 # so that the user can short-circuit this test for compilers unknown to
3916 for ac_file
in $ac_files ''
3918 test -f "$ac_file" ||
continue
3920 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3923 # We found the default executable, but exeext='' is most
3927 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3929 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3931 # We set ac_cv_exeext here because the later test for it is not
3932 # safe: cross compilers may not add the suffix if given an `-o'
3933 # argument, so we may need to know it at that point already.
3934 # Even if this section looks crufty: it has the advantage of
3941 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3946 if test -z "$ac_file"; then :
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3949 $as_echo "$as_me: failed program was:" >&5
3950 sed 's/^/| /' conftest.
$ac_ext >&5
3952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3954 as_fn_error
77 "C compiler cannot create executables
3955 See \`config.log' for more details" "$LINENO" 5; }
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3958 $as_echo "yes" >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3961 $as_echo_n "checking for C compiler default output file name... " >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3963 $as_echo "$ac_file" >&6; }
3964 ac_exeext
=$ac_cv_exeext
3966 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3967 ac_clean_files
=$ac_clean_files_save
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3969 $as_echo_n "checking for suffix of executables... " >&6; }
3970 if { { ac_try
="$ac_link"
3972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3976 $as_echo "$ac_try_echo"; } >&5
3977 (eval "$ac_link") 2>&5
3979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test $ac_status = 0; }; then :
3981 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3982 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3983 # work properly (i.e., refer to `conftest.exe'), while it won't with
3985 for ac_file
in conftest.exe conftest conftest.
*; do
3986 test -f "$ac_file" ||
continue
3988 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3989 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3997 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3998 See \`config.log' for more details" "$LINENO" 5; }
4000 rm -f conftest conftest
$ac_cv_exeext
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4002 $as_echo "$ac_cv_exeext" >&6; }
4004 rm -f conftest.
$ac_ext
4005 EXEEXT
=$ac_cv_exeext
4007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4008 /* end confdefs.h. */
4013 FILE *f = fopen ("conftest.out", "w");
4014 return ferror (f) || fclose (f) != 0;
4020 ac_clean_files
="$ac_clean_files conftest.out"
4021 # Check that the compiler produces executables we can run. If not, either
4022 # the compiler is broken, or we cross compile.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4024 $as_echo_n "checking whether we are cross compiling... " >&6; }
4025 if test "$cross_compiling" != yes; then
4026 { { ac_try
="$ac_link"
4028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }
4037 if { ac_try='./conftest$ac_cv_exeext'
4038 { { case "(($ac_try" in
4039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4040 *) ac_try_echo
=$ac_try;;
4042 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_try") 2>&5
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; }; then
4050 if test "$cross_compiling" = maybe
; then
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error $?
"cannot run C compiled programs.
4056 If you meant to cross compile, use \`--host'.
4057 See \`config.log' for more details" "$LINENO" 5; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4062 $as_echo "$cross_compiling" >&6; }
4064 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4065 ac_clean_files
=$ac_clean_files_save
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4067 $as_echo_n "checking for suffix of object files... " >&6; }
4068 if ${ac_cv_objext+:} false
; then :
4069 $as_echo_n "(cached) " >&6
4071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4082 rm -f conftest.o conftest.obj
4083 if { { ac_try
="$ac_compile"
4085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_compile") 2>&5
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; then :
4094 for ac_file in conftest.o conftest.obj conftest.*; do
4095 test -f "$ac_file" || continue;
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4103 $as_echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4109 See \
`config.log' for more details" "$LINENO" 5; }
4111 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4114 $as_echo "$ac_cv_objext" >&6; }
4115 OBJEXT=$ac_cv_objext
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4118 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4119 if ${ac_cv_c_compiler_gnu+:} false; then :
4120 $as_echo_n "(cached) " >&6
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4136 if ac_fn_c_try_compile "$LINENO"; then :
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4146 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4147 if test $ac_compiler_gnu = yes; then
4152 ac_test_CFLAGS=${CFLAGS+set}
4153 ac_save_CFLAGS=$CFLAGS
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4155 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4156 if ${ac_cv_prog_cc_g+:} false; then :
4157 $as_echo_n "(cached) " >&6
4159 ac_save_c_werror_flag=$ac_c_werror_flag
4160 ac_c_werror_flag=yes
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4174 if ac_fn_c_try_compile "$LINENO"; then :
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4189 if ac_fn_c_try_compile "$LINENO"; then :
4192 ac_c_werror_flag=$ac_save_c_werror_flag
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4205 if ac_fn_c_try_compile "$LINENO"; then :
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_c_werror_flag=$ac_save_c_werror_flag
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4216 $as_echo "$ac_cv_prog_cc_g" >&6; }
4217 if test "$ac_test_CFLAGS" = set; then
4218 CFLAGS=$ac_save_CFLAGS
4219 elif test $ac_cv_prog_cc_g = yes; then
4220 if test "$GCC" = yes; then
4226 if test "$GCC" = yes; then
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4233 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4234 if ${ac_cv_prog_cc_c89+:} false; then :
4235 $as_echo_n "(cached) " >&6
4237 ac_cv_prog_cc_c89=no
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4245 struct buf { int x; };
4246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4247 static char *e (p, i)
4253 static char *f (char * (*g) (char **, int), char **p, ...)
4258 s = g (p, va_arg (v,int));
4263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4264 function prototypes and stuff, but not '\xHH' hex character constants.
4265 These don't provoke an error unfortunately, instead are silently treated
4266 as 'x'. The following induces an error, until -std is added to get
4267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4268 array size at least. It's necessary to write '\x00'==0 to get something
4269 that's true only with -std. */
4270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4273 inside strings and character constants. */
4275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4277 int test (int i, double x);
4278 struct s1 {int (*f) (int a);};
4279 struct s2 {int (*f) (double a);};
4280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4294 CC="$ac_save_CC $ac_arg"
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_cv_prog_cc_c89=$ac_arg
4298 rm -f core conftest.err conftest.$ac_objext
4299 test "x$ac_cv_prog_cc_c89" != "xno" && break
4301 rm -f conftest.$ac_ext
4306 case "x$ac_cv_prog_cc_c89" in
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4309 $as_echo "none needed" >&6; } ;;
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4312 $as_echo "unsupported" >&6; } ;;
4314 CC="$CC $ac_cv_prog_cc_c89"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4316 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4318 if test "x$ac_cv_prog_cc_c89" != xno; then :
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4334 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4335 if ${am_cv_prog_cc_c_o+:} false; then :
4336 $as_echo_n "(cached) " >&6
4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* end confdefs.h. */
4349 # Make sure it works both with $CC and with simple cc.
4350 # Following AC_PROG_CC_C_O, we do the test twice because some
4351 # compilers refuse to overwrite an existing .o file with -o,
4352 # though they will create one.
4353 am_cv_prog_cc_c_o=yes
4355 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4356 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); } \
4360 && test -f conftest2.$ac_objext; then
4363 am_cv_prog_cc_c_o=no
4367 rm -f core conftest*
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4371 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4372 if test "$am_cv_prog_cc_c_o" != yes; then
4373 # Losing compiler, so override with the script.
4374 # FIXME: It is wrong to rewrite CC.
4375 # But if we don't then we get into trouble of one sort or another.
4376 # A longer-term fix would be to have automake use am__CC in this case,
4377 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4378 CC="$am_aux_dir/compile $CC"
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4386 DEPDIR="${am__leading_dot}deps"
4388 ac_config_commands="$ac_config_commands depfiles"
4391 am_make=${MAKE-make}
4392 cat > confinc << 'END'
4394 @echo this is the am__doit target
4397 # If we don't find an include directive, just comment out the code.
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4399 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4403 # First try GNU make style include.
4404 echo "include confinc" > confmf
4405 # Ignore all kinds of additional output from 'make'.
4406 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4407 *the\ am__doit\ target*)
4413 # Now try BSD make style include.
4414 if test "$am__include" = "#"; then
4415 echo '.include "confinc"' > confmf
4416 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4417 *the\ am__doit\ target*)
4418 am__include=.include
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4427 $as_echo "$_am_result" >&6; }
4428 rm -f confinc confmf
4430 # Check whether --enable-dependency-tracking was given.
4431 if test "${enable_dependency_tracking+set}" = set; then :
4432 enableval=$enable_dependency_tracking;
4435 if test "x$enable_dependency_tracking" != xno; then
4436 am_depcomp="$ac_aux_dir/depcomp"
4440 if test "x$enable_dependency_tracking" != xno; then
4450 depcc="$CC" am_compiler_list=
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4453 $as_echo_n "checking dependency style of $depcc... " >&6; }
4454 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4458 # We make a subdir and do the tests there. Otherwise we can end up
4459 # making bogus files that we don't know about and never remove. For
4460 # instance it was reported that on HP-UX the gcc test will end up
4461 # making a dummy file named 'D' -- because '-MD' means "put the output
4465 # Copy depcomp to subdir because otherwise we won't find it if we're
4466 # using a relative directory.
4467 cp "$am_depcomp" conftest.dir
4469 # We will build objects and dependencies in a subdirectory because
4470 # it helps to detect inapplicable dependency modes. For instance
4471 # both Tru64's cc and ICC support -MD to output dependencies as a
4472 # side effect of compilation, but ICC will put the dependencies in
4473 # the current directory while Tru64 will put them in the object
4477 am_cv_CC_dependencies_compiler_type=none
4478 if test "$am_compiler_list" = ""; then
4479 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4482 case " $depcc " in #(
4483 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4486 for depmode in $am_compiler_list; do
4487 # Setup a source with many dependencies, because some compilers
4488 # like to wrap large dependency lists on column 80 (with \), and
4489 # we should not choose a depcomp mode which is confused by this.
4491 # We need to recreate these files for each test, as the compiler may
4492 # overwrite some of them when testing with obscure command lines.
4493 # This happens at least with the AIX C compiler.
4495 for i in 1 2 3 4 5 6; do
4496 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4497 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4498 # Solaris 10 /bin/sh.
4499 echo '/* dummy */' > sub/conftst$i.h
4501 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4503 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4504 # mode. It turns out that the SunPro C++ compiler does not properly
4505 # handle '-M -o', and we need to detect this. Also, some Intel
4506 # versions had trouble with output in subdirs.
4507 am__obj=sub/conftest.${OBJEXT-o}
4508 am__minus_obj="-o $am__obj"
4511 # This depmode causes a compiler race in universal mode.
4512 test "$am__universal" = false || continue
4515 # After this tag, mechanisms are not by side-effect, so they'll
4516 # only be used when explicitly requested.
4517 if test "x$enable_dependency_tracking" = xyes; then
4523 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4524 # This compiler won't grok '-c -o', but also, the minuso test has
4525 # not run yet. These depmodes are late enough in the game, and
4526 # so weak that their functioning should not be impacted.
4527 am__obj=conftest.${OBJEXT-o}
4532 if depmode=$depmode \
4533 source=sub/conftest.c object=$am__obj \
4534 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4535 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4536 >/dev/null 2>conftest.err &&
4537 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4538 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4539 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4540 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4541 # icc doesn't choke on unknown options, it will just issue warnings
4542 # or remarks (even with -Werror). So we grep stderr for any message
4543 # that says an option was ignored or not supported.
4544 # When given -MP, icc 7.0 and 7.1 complain thusly:
4545 # icc: Command line warning: ignoring option '-M'; no argument required
4546 # The diagnosis changed in icc 8.0:
4547 # icc: Command line remark: option '-MP' not supported
4548 if (grep 'ignoring option' conftest.err ||
4549 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4550 am_cv_CC_dependencies_compiler_type=$depmode
4559 am_cv_CC_dependencies_compiler_type=none
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4564 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4565 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4568 test "x$enable_dependency_tracking" != xno \
4569 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4571 am__fastdepCC_FALSE='#'
4573 am__fastdepCC_TRUE='#'
4574 am__fastdepCC_FALSE=
4579 ac_cpp='$CPP $CPPFLAGS'
4580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4584 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4585 # On Suns, sometimes $CPP names a directory.
4586 if test -n "$CPP" && test -d "$CPP"; then
4589 if test -z "$CPP"; then
4590 if ${ac_cv_prog_CPP+:} false; then :
4591 $as_echo_n "(cached) " >&6
4593 # Double quotes because CPP needs to be expanded
4594 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4597 for ac_c_preproc_warn_flag in '' yes
4599 # Use a header file that comes with gcc, so configuring glibc
4600 # with a fresh cross-compiler works.
4601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4602 # <limits.h> exists even on freestanding compilers.
4603 # On the NeXT, cc -E runs the code through the compiler's parser,
4604 # not just through cpp. "Syntax error" is here to catch this case.
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4608 # include <limits.h>
4610 # include <assert.h>
4614 if ac_fn_c_try_cpp "$LINENO"; then :
4617 # Broken: fails on valid input.
4620 rm -f conftest.err conftest.i conftest.$ac_ext
4622 # OK, works on sane cases. Now check whether nonexistent headers
4623 # can be detected and how.
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4626 #include <ac_nonexistent.h>
4628 if ac_fn_c_try_cpp "$LINENO"; then :
4629 # Broken: success on invalid input.
4632 # Passes both tests.
4636 rm -f conftest.err conftest.i conftest.$ac_ext
4639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4640 rm -f conftest.i conftest.err conftest.
$ac_ext
4641 if $ac_preproc_ok; then :
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4654 $as_echo "$CPP" >&6; }
4656 for ac_c_preproc_warn_flag
in '' yes
4658 # Use a header file that comes with gcc, so configuring glibc
4659 # with a fresh cross-compiler works.
4660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4661 # <limits.h> exists even on freestanding compilers.
4662 # On the NeXT, cc -E runs the code through the compiler's parser,
4663 # not just through cpp. "Syntax error" is here to catch this case.
4664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4667 # include <limits.h>
4669 # include <assert.h>
4673 if ac_fn_c_try_cpp
"$LINENO"; then :
4676 # Broken: fails on valid input.
4679 rm -f conftest.err conftest.i conftest.
$ac_ext
4681 # OK, works on sane cases. Now check whether nonexistent headers
4682 # can be detected and how.
4683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4685 #include <ac_nonexistent.h>
4687 if ac_fn_c_try_cpp
"$LINENO"; then :
4688 # Broken: success on invalid input.
4691 # Passes both tests.
4695 rm -f conftest.err conftest.i conftest.
$ac_ext
4698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4699 rm -f conftest.i conftest.err conftest.
$ac_ext
4700 if $ac_preproc_ok; then :
4703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4705 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4706 See \`config.log' for more details" "$LINENO" 5; }
4710 ac_cpp
='$CPP $CPPFLAGS'
4711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4718 save_cross_compiling
=$cross_compiling
4719 save_ac_tool_prefix
=$ac_tool_prefix
4724 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4725 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4726 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
4727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4728 if test -n "$ac_tool_prefix"; then
4729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4730 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -n "$CC_FOR_BUILD"; then
4737 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4743 test -z "$as_dir" && as_dir
=.
4744 for ac_exec_ext
in '' $ac_executable_extensions; do
4745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4746 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4757 if test -n "$CC_FOR_BUILD"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4759 $as_echo "$CC_FOR_BUILD" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4767 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
4768 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4769 # Extract the first word of "gcc", so it can be a program name with args.
4770 set dummy gcc
; ac_word
=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -n "$ac_ct_CC_FOR_BUILD"; then
4777 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir
=.
4784 for ac_exec_ext
in '' $ac_executable_extensions; do
4785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4786 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4797 if test -n "$ac_ct_CC_FOR_BUILD"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4799 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4805 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
4808 case $cross_compiling:$ac_tool_warned in
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
4811 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
4812 ac_tool_warned
=yes ;;
4814 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
4817 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
4820 if test -z "$CC_FOR_BUILD"; then
4821 if test -n "$ac_tool_prefix"; then
4822 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4823 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4827 $as_echo_n "(cached) " >&6
4829 if test -n "$CC_FOR_BUILD"; then
4830 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir
=.
4837 for ac_exec_ext
in '' $ac_executable_extensions; do
4838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4839 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4850 if test -n "$CC_FOR_BUILD"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4852 $as_echo "$CC_FOR_BUILD" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4861 if test -z "$CC_FOR_BUILD"; then
4862 # Extract the first word of "cc", so it can be a program name with args.
4863 set dummy cc
; ac_word
=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$CC_FOR_BUILD"; then
4870 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir
=.
4878 for ac_exec_ext
in '' $ac_executable_extensions; do
4879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4880 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4881 ac_prog_rejected
=yes
4884 ac_cv_prog_CC_FOR_BUILD
="cc"
4885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 if test $ac_prog_rejected = yes; then
4893 # We found a bogon in the path, so make sure we never use it.
4894 set dummy
$ac_cv_prog_CC_FOR_BUILD
4896 if test $# != 0; then
4897 # We chose a different compiler from the bogus one.
4898 # However, it has the same basename, so the bogon will be chosen
4899 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
4901 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
4906 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4907 if test -n "$CC_FOR_BUILD"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4909 $as_echo "$CC_FOR_BUILD" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4917 if test -z "$CC_FOR_BUILD"; then
4918 if test -n "$ac_tool_prefix"; then
4919 for ac_prog
in cl.exe
4921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4922 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4926 $as_echo_n "(cached) " >&6
4928 if test -n "$CC_FOR_BUILD"; then
4929 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4935 test -z "$as_dir" && as_dir
=.
4936 for ac_exec_ext
in '' $ac_executable_extensions; do
4937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4949 if test -n "$CC_FOR_BUILD"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4951 $as_echo "$CC_FOR_BUILD" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4958 test -n "$CC_FOR_BUILD" && break
4961 if test -z "$CC_FOR_BUILD"; then
4962 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4963 for ac_prog
in cl.exe
4965 # Extract the first word of "$ac_prog", so it can be a program name with args.
4966 set dummy
$ac_prog; ac_word
=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4970 $as_echo_n "(cached) " >&6
4972 if test -n "$ac_ct_CC_FOR_BUILD"; then
4973 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir
=.
4980 for ac_exec_ext
in '' $ac_executable_extensions; do
4981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4982 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4993 if test -n "$ac_ct_CC_FOR_BUILD"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4995 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
5002 test -n "$ac_ct_CC_FOR_BUILD" && break
5005 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5008 case $cross_compiling:$ac_tool_warned in
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5011 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5012 ac_tool_warned
=yes ;;
5014 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5021 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5023 as_fn_error $?
"no acceptable C compiler found in \$PATH
5024 See \`config.log' for more details" "$LINENO" 5; }
5026 # Provide some information about the compiler.
5027 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5028 set X
$ac_build_compile
5030 for ac_option
in --version -v -V -qversion; do
5031 { { ac_try
="$ac_compiler $ac_option >&5"
5033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5034 *) ac_try_echo=$ac_try;;
5036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5037 $as_echo "$ac_try_echo"; } >&5
5038 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5040 if test -s conftest.err; then
5042 ... rest of stderr output deleted ...
5043 10q' conftest.err >conftest.er1
5044 cat conftest.er1 >&5
5046 rm -f conftest.er1 conftest.err
5047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5048 test $ac_status = 0; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5052 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5053 if ${ac_cv_c_compiler_gnu+:} false; then :
5054 $as_echo_n "(cached) " >&6
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5070 if ac_fn_c_try_compile "$LINENO"; then :
5075 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5076 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5080 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5081 if test $ac_compiler_gnu = yes; then
5086 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5087 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5089 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5090 if ${ac_cv_build_prog_cc_g+:} false; then :
5091 $as_echo_n "(cached) " >&6
5093 ac_save_c_werror_flag=$ac_c_werror_flag
5094 ac_c_werror_flag=yes
5095 ac_cv_build_prog_cc_g=no
5096 CFLAGS_FOR_BUILD="-g"
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5108 if ac_fn_c_try_compile "$LINENO"; then :
5109 ac_cv_build_prog_cc_g=yes
5112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113 /* end confdefs.h. */
5123 if ac_fn_c_try_compile "$LINENO"; then :
5126 ac_c_werror_flag=$ac_save_c_werror_flag
5127 CFLAGS_FOR_BUILD="-g"
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5129 /* end confdefs.h. */
5139 if ac_fn_c_try_compile "$LINENO"; then :
5140 ac_cv_build_prog_cc_g=yes
5142 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5144 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5146 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5147 ac_c_werror_flag=$ac_save_c_werror_flag
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5150 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5151 if test "$ac_test_CFLAGS" = set; then
5152 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5153 elif test $ac_cv_build_prog_cc_g = yes; then
5154 if test "$GCC" = yes; then
5155 CFLAGS_FOR_BUILD="-g -O2"
5157 CFLAGS_FOR_BUILD="-g"
5160 if test "$GCC" = yes; then
5161 CFLAGS_FOR_BUILD="-O2"
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5167 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5168 if ${ac_cv_prog_cc_c89+:} false; then :
5169 $as_echo_n "(cached) " >&6
5171 ac_cv_prog_cc_c89=no
5172 ac_save_CC=$CC_FOR_BUILD
5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5178 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5179 struct buf { int x; };
5180 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5181 static char *e (p, i)
5187 static char *f (char * (*g) (char **, int), char **p, ...)
5192 s = g (p, va_arg (v,int));
5197 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5198 function prototypes and stuff, but not '\xHH' hex character constants.
5199 These don't provoke an error unfortunately, instead are silently treated
5200 as 'x'. The following induces an error, until -std is added to get
5201 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5202 array size at least. It's necessary to write '\x00'==0 to get something
5203 that's true only with -std. */
5204 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5206 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5207 inside strings and character constants. */
5209 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5211 int test (int i, double x);
5212 struct s1 {int (*f) (int a);};
5213 struct s2 {int (*f) (double a);};
5214 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5220 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5225 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5226 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5228 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5229 if ac_fn_c_try_compile "$LINENO"; then :
5230 ac_cv_prog_cc_c89=$ac_arg
5232 rm -f core conftest.err conftest.$ac_build_objext
5233 test "x$ac_cv_prog_cc_c89" != "xno" && break
5235 rm -f conftest.$ac_ext
5236 CC_FOR_BUILD=$ac_save_CC
5240 case "x$ac_cv_prog_cc_c89" in
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5243 $as_echo "none needed" >&6; } ;;
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5246 $as_echo "unsupported" >&6; } ;;
5248 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5250 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5252 if test "x$ac_cv_prog_cc_c89" != xno; then :
5257 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5258 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5259 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5263 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5264 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5265 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5268 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5269 if ${am_cv_prog_cc_c_o+:} false; then :
5270 $as_echo_n "(cached) " >&6
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5283 # Make sure it works both with $CC and with simple cc.
5284 # Following AC_PROG_CC_C_O, we do the test twice because some
5285 # compilers refuse to overwrite an existing .o file with -o,
5286 # though they will create one.
5287 am_cv_prog_cc_c_o=yes
5289 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5290 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); } \
5294 && test -f conftest2.$ac_build_objext; then
5297 am_cv_prog_cc_c_o=no
5301 rm -f core conftest*
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5305 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5306 if test "$am_cv_prog_cc_c_o" != yes; then
5307 # Losing compiler, so override with the script.
5308 # FIXME: It is wrong to rewrite CC.
5309 # But if we don't then we get into trouble of one sort or another.
5310 # A longer-term fix would be to have automake use am__CC in this case,
5311 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5312 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5315 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5316 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5317 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5321 depcc="$CC_FOR_BUILD" am_compiler_list=
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5324 $as_echo_n "checking dependency style of $depcc... " >&6; }
5325 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5329 # We make a subdir and do the tests there. Otherwise we can end up
5330 # making bogus files that we don't know about and never remove. For
5331 # instance it was reported that on HP-UX the gcc test will end up
5332 # making a dummy file named 'D' -- because '-MD' means "put the output
5336 # Copy depcomp to subdir because otherwise we won't find it if we're
5337 # using a relative directory.
5338 cp "$am_depcomp" conftest.dir
5340 # We will build objects and dependencies in a subdirectory because
5341 # it helps to detect inapplicable dependency modes. For instance
5342 # both Tru64's cc and ICC support -MD to output dependencies as a
5343 # side effect of compilation, but ICC will put the dependencies in
5344 # the current directory while Tru64 will put them in the object
5348 am_cv_CC_dependencies_compiler_type=none
5349 if test "$am_compiler_list" = ""; then
5350 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5353 case " $depcc " in #(
5354 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5357 for depmode in $am_compiler_list; do
5358 # Setup a source with many dependencies, because some compilers
5359 # like to wrap large dependency lists on column 80 (with \), and
5360 # we should not choose a depcomp mode which is confused by this.
5362 # We need to recreate these files for each test, as the compiler may
5363 # overwrite some of them when testing with obscure command lines.
5364 # This happens at least with the AIX C compiler.
5366 for i in 1 2 3 4 5 6; do
5367 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5368 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5369 # Solaris 10 /bin/sh.
5370 echo '/* dummy */' > sub/conftst$i.h
5372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5374 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5375 # mode. It turns out that the SunPro C++ compiler does not properly
5376 # handle '-M -o', and we need to detect this. Also, some Intel
5377 # versions had trouble with output in subdirs.
5378 am__obj=sub/conftest.${OBJEXT-o}
5379 am__minus_obj="-o $am__obj"
5382 # This depmode causes a compiler race in universal mode.
5383 test "$am__universal" = false || continue
5386 # After this tag, mechanisms are not by side-effect, so they'll
5387 # only be used when explicitly requested.
5388 if test "x$enable_dependency_tracking" = xyes; then
5394 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5395 # This compiler won't grok '-c -o', but also, the minuso test has
5396 # not run yet. These depmodes are late enough in the game, and
5397 # so weak that their functioning should not be impacted.
5398 am__obj=conftest.${OBJEXT-o}
5403 if depmode=$depmode \
5404 source=sub/conftest.c object=$am__obj \
5405 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5406 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5407 >/dev/null 2>conftest.err &&
5408 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5409 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5410 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5411 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5412 # icc doesn't choke on unknown options, it will just issue warnings
5413 # or remarks (even with -Werror). So we grep stderr for any message
5414 # that says an option was ignored or not supported.
5415 # When given -MP, icc 7.0 and 7.1 complain thusly:
5416 # icc: Command line warning: ignoring option '-M'; no argument required
5417 # The diagnosis changed in icc 8.0:
5418 # icc: Command line remark: option '-MP' not supported
5419 if (grep 'ignoring option' conftest.err ||
5420 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5421 am_cv_CC_dependencies_compiler_type=$depmode
5430 am_cv_CC_dependencies_compiler_type=none
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5435 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5436 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5439 test "x$enable_dependency_tracking" != xno \
5440 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5442 am__fastdepCC_FALSE='#'
5444 am__fastdepCC_TRUE='#'
5445 am__fastdepCC_FALSE=
5450 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5451 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5452 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5455 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5456 # On Suns, sometimes $CPP names a directory.
5457 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
5460 if test -z "$CPP_FOR_BUILD"; then
5461 if ${ac_cv_build_prog_CPP+:} false; then :
5462 $as_echo_n "(cached) " >&6
5464 # Double quotes because CPP needs to be expanded
5465 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5468 for ac_c_preproc_warn_flag in '' yes
5470 # Use a header file that comes with gcc, so configuring glibc
5471 # with a fresh cross-compiler works.
5472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5473 # <limits.h> exists even on freestanding compilers.
5474 # On the NeXT, cc -E runs the code through the compiler's parser,
5475 # not just through cpp. "Syntax error" is here to catch this case.
5476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5479 # include <limits.h>
5481 # include <assert.h>
5485 if ac_fn_c_try_cpp "$LINENO"; then :
5488 # Broken: fails on valid input.
5491 rm -f conftest.err conftest.i conftest.$ac_ext
5493 # OK, works on sane cases. Now check whether nonexistent headers
5494 # can be detected and how.
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5497 #include <ac_nonexistent.h>
5499 if ac_fn_c_try_cpp "$LINENO"; then :
5500 # Broken: success on invalid input.
5503 # Passes both tests.
5507 rm -f conftest.err conftest.i conftest.$ac_ext
5510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5511 rm -f conftest.i conftest.err conftest.
$ac_ext
5512 if $ac_preproc_ok; then :
5517 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5520 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
5522 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
5525 $as_echo "$CPP_FOR_BUILD" >&6; }
5527 for ac_c_preproc_warn_flag
in '' yes
5529 # Use a header file that comes with gcc, so configuring glibc
5530 # with a fresh cross-compiler works.
5531 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5532 # <limits.h> exists even on freestanding compilers.
5533 # On the NeXT, cc -E runs the code through the compiler's parser,
5534 # not just through cpp. "Syntax error" is here to catch this case.
5535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5536 /* end confdefs.h. */
5538 # include <limits.h>
5540 # include <assert.h>
5544 if ac_fn_c_try_cpp
"$LINENO"; then :
5547 # Broken: fails on valid input.
5550 rm -f conftest.err conftest.i conftest.
$ac_ext
5552 # OK, works on sane cases. Now check whether nonexistent headers
5553 # can be detected and how.
5554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556 #include <ac_nonexistent.h>
5558 if ac_fn_c_try_cpp
"$LINENO"; then :
5559 # Broken: success on invalid input.
5562 # Passes both tests.
5566 rm -f conftest.err conftest.i conftest.
$ac_ext
5569 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5570 rm -f conftest.i conftest.err conftest.
$ac_ext
5571 if $ac_preproc_ok; then :
5574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5576 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5577 See \`config.log' for more details" "$LINENO" 5; }
5581 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5582 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5583 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5588 ac_tool_prefix
=$save_ac_tool_prefix
5589 cross_compiling
=$save_cross_compiling
5592 BUILD_EXEEXT
=$ac_build_exeext
5593 BUILD_OBJEXT
=$ac_build_objext
5595 case $ac_cv_prog_cc_stdc in #(
5597 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5600 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5601 if ${ac_cv_prog_cc_c99+:} false
; then :
5602 $as_echo_n "(cached) " >&6
5604 ac_cv_prog_cc_c99
=no
5606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5607 /* end confdefs.h. */
5609 #include <stdbool.h>
5614 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5615 #define debug(...) fprintf (stderr, __VA_ARGS__)
5616 #define showlist(...) puts (#__VA_ARGS__)
5617 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5619 test_varargs_macros (void)
5624 debug ("X = %d\n", x);
5625 showlist (The first, second, and third items.);
5626 report (x>y, "x is %d but y is %d", x, y);
5629 // Check long long types.
5630 #define BIG64 18446744073709551615ull
5631 #define BIG32 4294967295ul
5632 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5634 your preprocessor is broken;
5638 your preprocessor is broken;
5640 static long long int bignum = -9223372036854775807LL;
5641 static unsigned long long int ubignum = BIG64;
5643 struct incomplete_array
5651 const wchar_t *name;
5655 typedef const char *ccp;
5658 test_restrict (ccp restrict text)
5660 // See if C++-style comments work.
5661 // Iterate through items via the restricted pointer.
5662 // Also check for declarations in for loops.
5663 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5668 // Check varargs and va_copy.
5670 test_varargs (const char *format, ...)
5673 va_start (args, format);
5675 va_copy (args_copy, args);
5686 str = va_arg (args_copy, const char *);
5689 number = va_arg (args_copy, int);
5692 fnumber = va_arg (args_copy, double);
5707 _Bool success = false;
5710 if (test_restrict ("String literal") == 0)
5712 char *restrict newvar = "Another string";
5715 test_varargs ("s, d' f .", "string", 65, 34.234);
5716 test_varargs_macros ();
5718 // Check flexible array members.
5719 struct incomplete_array *ia =
5720 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5722 for (int i = 0; i < ia->datasize; ++i)
5723 ia->data[i] = i * 1.234;
5725 // Check named initializers.
5726 struct named_init ni = {
5728 .name = L"Test wide string",
5729 .average = 543.34343,
5734 int dynamic_array[ni.number];
5735 dynamic_array[ni.number - 1] = 543;
5737 // work around unused variable warnings
5738 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5739 || dynamic_array[ni.number - 1] != 543);
5745 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5747 CC
="$ac_save_CC $ac_arg"
5748 if ac_fn_c_try_compile
"$LINENO"; then :
5749 ac_cv_prog_cc_c99
=$ac_arg
5751 rm -f core conftest.err conftest.
$ac_objext
5752 test "x$ac_cv_prog_cc_c99" != "xno" && break
5754 rm -f conftest.
$ac_ext
5759 case "x$ac_cv_prog_cc_c99" in
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5762 $as_echo "none needed" >&6; } ;;
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5765 $as_echo "unsupported" >&6; } ;;
5767 CC
="$CC $ac_cv_prog_cc_c99"
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5769 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5771 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5772 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5775 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5776 if ${ac_cv_prog_cc_c89+:} false
; then :
5777 $as_echo_n "(cached) " >&6
5779 ac_cv_prog_cc_c89
=no
5781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5782 /* end confdefs.h. */
5786 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5787 struct buf { int x; };
5788 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5789 static char *e (p, i)
5795 static char *f (char * (*g) (char **, int), char **p, ...)
5800 s = g (p, va_arg (v,int));
5805 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5806 function prototypes and stuff, but not '\xHH' hex character constants.
5807 These don't provoke an error unfortunately, instead are silently treated
5808 as 'x'. The following induces an error, until -std is added to get
5809 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5810 array size at least. It's necessary to write '\x00'==0 to get something
5811 that's true only with -std. */
5812 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5814 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5815 inside strings and character constants. */
5817 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5819 int test (int i, double x);
5820 struct s1 {int (*f) (int a);};
5821 struct s2 {int (*f) (double a);};
5822 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5828 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5833 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
5834 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5836 CC
="$ac_save_CC $ac_arg"
5837 if ac_fn_c_try_compile
"$LINENO"; then :
5838 ac_cv_prog_cc_c89
=$ac_arg
5840 rm -f core conftest.err conftest.
$ac_objext
5841 test "x$ac_cv_prog_cc_c89" != "xno" && break
5843 rm -f conftest.
$ac_ext
5848 case "x$ac_cv_prog_cc_c89" in
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5851 $as_echo "none needed" >&6; } ;;
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5854 $as_echo "unsupported" >&6; } ;;
5856 CC
="$CC $ac_cv_prog_cc_c89"
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5858 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5860 if test "x$ac_cv_prog_cc_c89" != xno
; then :
5861 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
5863 ac_cv_prog_cc_stdc
=no
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5870 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5871 if ${ac_cv_prog_cc_stdc+:} false
; then :
5872 $as_echo_n "(cached) " >&6
5875 case $ac_cv_prog_cc_stdc in #(
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5878 $as_echo "unsupported" >&6; } ;; #(
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5881 $as_echo "none needed" >&6; } ;; #(
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5884 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5889 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5891 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5892 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5893 $as_echo_n "(cached) " >&6
5895 cat >conftest.
make <<\_ACEOF
5898 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5900 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5901 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5903 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5905 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5909 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5911 $as_echo "yes" >&6; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5916 SET_MAKE
="MAKE=${MAKE-make}"
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5920 $as_echo_n "checking whether ln -s works... " >&6; }
5922 if test "$LN_S" = "ln -s"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5924 $as_echo "yes" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5927 $as_echo "no, using $LN_S" >&6; }
5930 for ac_prog
in gawk mawk nawk
awk
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy
$ac_prog; ac_word
=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_AWK+:} false
; then :
5937 $as_echo_n "(cached) " >&6
5939 if test -n "$AWK"; then
5940 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5946 test -z "$as_dir" && as_dir
=.
5947 for ac_exec_ext
in '' $ac_executable_extensions; do
5948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_AWK
="$ac_prog"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5960 if test -n "$AWK"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5962 $as_echo "$AWK" >&6; }
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5969 test -n "$AWK" && break
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5975 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5980 macro_version
='2.4.6'
5981 macro_revision
='2.4.6'
5995 ltmain
=$ac_aux_dir/ltmain.sh
5997 # Backslashify metacharacters that are still active within
5998 # double-quoted strings.
5999 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6001 # Same as above, but do not quote variable references.
6002 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6004 # Sed substitution to delay expansion of an escaped shell variable in a
6005 # double_quote_subst'ed string.
6006 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6008 # Sed substitution to delay expansion of an escaped single quote.
6009 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6011 # Sed substitution to avoid accidental globbing in evaled expressions
6012 no_glob_subst
='s/\*/\\\*/g'
6014 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6015 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6016 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6019 $as_echo_n "checking how to print strings... " >&6; }
6020 # Test print first, because it will be a builtin if present.
6021 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6022 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6024 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6027 # Use this function as a fallback that always works.
6028 func_fallback_echo ()
6030 eval 'cat <<_LTECHO_EOF
6034 ECHO='func_fallback_echo
'
6037 # func_echo_all arg...
6038 # Invoke $ECHO with all args, space-separated.
6045 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6046 $as_echo "printf" >&6; } ;;
6047 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6048 $as_echo "print -r" >&6; } ;;
6049 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6050 $as_echo "cat" >&6; } ;;
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6067 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6068 if ${ac_cv_path_SED+:} false; then :
6069 $as_echo_n "(cached) " >&6
6071 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6072 for ac_i in 1 2 3 4 5 6 7; do
6073 ac_script="$ac_script$as_nl$ac_script"
6075 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6076 { ac_script=; unset ac_script;}
6077 if test -z "$SED"; then
6078 ac_path_SED_found=false
6079 # Loop through the user's path and
test for each of PROGNAME-LIST
6080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6084 test -z "$as_dir" && as_dir
=.
6085 for ac_prog
in sed gsed
; do
6086 for ac_exec_ext
in '' $ac_executable_extensions; do
6087 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6088 as_fn_executable_p
"$ac_path_SED" ||
continue
6089 # Check for GNU ac_path_SED and select it if it is found.
6090 # Check for GNU $ac_path_SED
6091 case `"$ac_path_SED" --version 2>&1` in
6093 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6096 $as_echo_n 0123456789 >"conftest.in"
6099 cat "conftest.in" "conftest.in" >"conftest.tmp"
6100 mv "conftest.tmp" "conftest.in"
6101 cp "conftest.in" "conftest.nl"
6102 $as_echo '' >> "conftest.nl"
6103 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6104 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6105 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6106 if test $ac_count -gt ${ac_path_SED_max-0}; then
6107 # Best one so far, save it but keep looking for a better one
6108 ac_cv_path_SED
="$ac_path_SED"
6109 ac_path_SED_max
=$ac_count
6111 # 10*(2^10) chars as input seems more than enough
6112 test $ac_count -gt 10 && break
6114 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6117 $ac_path_SED_found && break 3
6122 if test -z "$ac_cv_path_SED"; then
6123 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6131 $as_echo "$ac_cv_path_SED" >&6; }
6132 SED
="$ac_cv_path_SED"
6135 test -z "$SED" && SED
=sed
6136 Xsed
="$SED -e 1s/^X//"
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6149 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6150 if ${ac_cv_path_GREP+:} false
; then :
6151 $as_echo_n "(cached) " >&6
6153 if test -z "$GREP"; then
6154 ac_path_GREP_found
=false
6155 # Loop through the user's path and test for each of PROGNAME-LIST
6156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6157 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6160 test -z "$as_dir" && as_dir
=.
6161 for ac_prog
in grep ggrep
; do
6162 for ac_exec_ext
in '' $ac_executable_extensions; do
6163 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6164 as_fn_executable_p
"$ac_path_GREP" ||
continue
6165 # Check for GNU ac_path_GREP and select it if it is found.
6166 # Check for GNU $ac_path_GREP
6167 case `"$ac_path_GREP" --version 2>&1` in
6169 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6172 $as_echo_n 0123456789 >"conftest.in"
6175 cat "conftest.in" "conftest.in" >"conftest.tmp"
6176 mv "conftest.tmp" "conftest.in"
6177 cp "conftest.in" "conftest.nl"
6178 $as_echo 'GREP' >> "conftest.nl"
6179 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6180 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6181 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6182 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6183 # Best one so far, save it but keep looking for a better one
6184 ac_cv_path_GREP
="$ac_path_GREP"
6185 ac_path_GREP_max
=$ac_count
6187 # 10*(2^10) chars as input seems more than enough
6188 test $ac_count -gt 10 && break
6190 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6193 $ac_path_GREP_found && break 3
6198 if test -z "$ac_cv_path_GREP"; then
6199 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6202 ac_cv_path_GREP
=$GREP
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6207 $as_echo "$ac_cv_path_GREP" >&6; }
6208 GREP
="$ac_cv_path_GREP"
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6212 $as_echo_n "checking for egrep... " >&6; }
6213 if ${ac_cv_path_EGREP+:} false
; then :
6214 $as_echo_n "(cached) " >&6
6216 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6217 then ac_cv_path_EGREP
="$GREP -E"
6219 if test -z "$EGREP"; then
6220 ac_path_EGREP_found
=false
6221 # Loop through the user's path and test for each of PROGNAME-LIST
6222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6223 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6226 test -z "$as_dir" && as_dir
=.
6227 for ac_prog
in egrep; do
6228 for ac_exec_ext
in '' $ac_executable_extensions; do
6229 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6230 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6231 # Check for GNU ac_path_EGREP and select it if it is found.
6232 # Check for GNU $ac_path_EGREP
6233 case `"$ac_path_EGREP" --version 2>&1` in
6235 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6238 $as_echo_n 0123456789 >"conftest.in"
6241 cat "conftest.in" "conftest.in" >"conftest.tmp"
6242 mv "conftest.tmp" "conftest.in"
6243 cp "conftest.in" "conftest.nl"
6244 $as_echo 'EGREP' >> "conftest.nl"
6245 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6246 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6247 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6248 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6249 # Best one so far, save it but keep looking for a better one
6250 ac_cv_path_EGREP
="$ac_path_EGREP"
6251 ac_path_EGREP_max
=$ac_count
6253 # 10*(2^10) chars as input seems more than enough
6254 test $ac_count -gt 10 && break
6256 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6259 $ac_path_EGREP_found && break 3
6264 if test -z "$ac_cv_path_EGREP"; then
6265 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6268 ac_cv_path_EGREP
=$EGREP
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6274 $as_echo "$ac_cv_path_EGREP" >&6; }
6275 EGREP
="$ac_cv_path_EGREP"
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6279 $as_echo_n "checking for fgrep... " >&6; }
6280 if ${ac_cv_path_FGREP+:} false
; then :
6281 $as_echo_n "(cached) " >&6
6283 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6284 then ac_cv_path_FGREP
="$GREP -F"
6286 if test -z "$FGREP"; then
6287 ac_path_FGREP_found
=false
6288 # Loop through the user's path and test for each of PROGNAME-LIST
6289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6290 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6293 test -z "$as_dir" && as_dir
=.
6294 for ac_prog
in fgrep
; do
6295 for ac_exec_ext
in '' $ac_executable_extensions; do
6296 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6297 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6298 # Check for GNU ac_path_FGREP and select it if it is found.
6299 # Check for GNU $ac_path_FGREP
6300 case `"$ac_path_FGREP" --version 2>&1` in
6302 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6305 $as_echo_n 0123456789 >"conftest.in"
6308 cat "conftest.in" "conftest.in" >"conftest.tmp"
6309 mv "conftest.tmp" "conftest.in"
6310 cp "conftest.in" "conftest.nl"
6311 $as_echo 'FGREP' >> "conftest.nl"
6312 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6313 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6314 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6315 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6316 # Best one so far, save it but keep looking for a better one
6317 ac_cv_path_FGREP
="$ac_path_FGREP"
6318 ac_path_FGREP_max
=$ac_count
6320 # 10*(2^10) chars as input seems more than enough
6321 test $ac_count -gt 10 && break
6323 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6326 $ac_path_FGREP_found && break 3
6331 if test -z "$ac_cv_path_FGREP"; then
6332 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6335 ac_cv_path_FGREP
=$FGREP
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6341 $as_echo "$ac_cv_path_FGREP" >&6; }
6342 FGREP
="$ac_cv_path_FGREP"
6345 test -z "$GREP" && GREP
=grep
6365 # Check whether --with-gnu-ld was given.
6366 if test "${with_gnu_ld+set}" = set; then :
6367 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
6373 if test yes = "$GCC"; then
6374 # Check if gcc -print-prog-name=ld gives a path.
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6376 $as_echo_n "checking for ld used by $CC... " >&6; }
6379 # gcc leaves a trailing carriage return, which upsets mingw
6380 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6382 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6385 # Accept absolute paths.
6387 re_direlt
='/[^/][^/]*/\.\./'
6388 # Canonicalize the pathname of ld
6389 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6390 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6391 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6393 test -z "$LD" && LD
=$ac_prog
6396 # If it fails, then pretend we aren't using GCC.
6400 # If it is relative, then search for the first ld in PATH.
6404 elif test yes = "$with_gnu_ld"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6406 $as_echo_n "checking for GNU ld... " >&6; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6409 $as_echo_n "checking for non-GNU ld... " >&6; }
6411 if ${lt_cv_path_LD+:} false
; then :
6412 $as_echo_n "(cached) " >&6
6414 if test -z "$LD"; then
6415 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6416 for ac_dir
in $PATH; do
6418 test -z "$ac_dir" && ac_dir
=.
6419 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6420 lt_cv_path_LD
=$ac_dir/$ac_prog
6421 # Check to see if the program is GNU ld. I'd rather use --version,
6422 # but apparently some variants of GNU ld only accept -v.
6423 # Break only if it was the GNU/non-GNU ld that we prefer.
6424 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6425 *GNU
* |
*'with BFD'*)
6426 test no
!= "$with_gnu_ld" && break
6429 test yes != "$with_gnu_ld" && break
6436 lt_cv_path_LD
=$LD # Let the user override the test with a path.
6441 if test -n "$LD"; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6443 $as_echo "$LD" >&6; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 $as_echo "no" >&6; }
6448 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6450 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6451 if ${lt_cv_prog_gnu_ld+:} false
; then :
6452 $as_echo_n "(cached) " >&6
6454 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6455 case `$LD -v 2>&1 </dev/null` in
6456 *GNU
* |
*'with BFD'*)
6457 lt_cv_prog_gnu_ld
=yes
6460 lt_cv_prog_gnu_ld
=no
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6465 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6466 with_gnu_ld
=$lt_cv_prog_gnu_ld
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6477 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6478 if ${lt_cv_path_NM+:} false
; then :
6479 $as_echo_n "(cached) " >&6
6481 if test -n "$NM"; then
6482 # Let the user override the test.
6485 lt_nm_to_check
=${ac_tool_prefix}nm
6486 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6487 lt_nm_to_check
="$lt_nm_to_check nm"
6489 for lt_tmp_nm
in $lt_nm_to_check; do
6490 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6491 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6493 test -z "$ac_dir" && ac_dir
=.
6494 tmp_nm
=$ac_dir/$lt_tmp_nm
6495 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
6496 # Check to see if the nm accepts a BSD-compat flag.
6497 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6498 # nm: unknown option "B" ignored
6499 # Tru64's nm complains that /dev/null is an invalid object file
6500 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6502 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
6503 *) lt_bad_file
=/dev
/null
;;
6505 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6506 *$lt_bad_file* |
*'Invalid file or object type'*)
6507 lt_cv_path_NM
="$tmp_nm -B"
6511 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6513 lt_cv_path_NM
="$tmp_nm -p"
6517 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6518 continue # so that we can try to find one that supports BSD flags
6527 : ${lt_cv_path_NM=no}
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6531 $as_echo "$lt_cv_path_NM" >&6; }
6532 if test no
!= "$lt_cv_path_NM"; then
6535 # Didn't find any BSD compatible name lister, look for dumpbin.
6536 if test -n "$DUMPBIN"; then :
6537 # Let the user override the test.
6539 if test -n "$ac_tool_prefix"; then
6540 for ac_prog
in dumpbin
"link -dump"
6542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6543 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6547 $as_echo_n "(cached) " >&6
6549 if test -n "$DUMPBIN"; then
6550 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir
=.
6557 for ac_exec_ext
in '' $ac_executable_extensions; do
6558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6559 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 DUMPBIN
=$ac_cv_prog_DUMPBIN
6570 if test -n "$DUMPBIN"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6572 $as_echo "$DUMPBIN" >&6; }
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6579 test -n "$DUMPBIN" && break
6582 if test -z "$DUMPBIN"; then
6583 ac_ct_DUMPBIN
=$DUMPBIN
6584 for ac_prog
in dumpbin
"link -dump"
6586 # Extract the first word of "$ac_prog", so it can be a program name with args.
6587 set dummy
$ac_prog; ac_word
=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6591 $as_echo_n "(cached) " >&6
6593 if test -n "$ac_ct_DUMPBIN"; then
6594 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6600 test -z "$as_dir" && as_dir
=.
6601 for ac_exec_ext
in '' $ac_executable_extensions; do
6602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6614 if test -n "$ac_ct_DUMPBIN"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6616 $as_echo "$ac_ct_DUMPBIN" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6623 test -n "$ac_ct_DUMPBIN" && break
6626 if test "x$ac_ct_DUMPBIN" = x
; then
6629 case $cross_compiling:$ac_tool_warned in
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6633 ac_tool_warned
=yes ;;
6635 DUMPBIN
=$ac_ct_DUMPBIN
6639 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6641 DUMPBIN
="$DUMPBIN -symbols -headers"
6649 if test : != "$DUMPBIN"; then
6653 test -z "$NM" && NM
=nm
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6661 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6662 if ${lt_cv_nm_interface+:} false
; then :
6663 $as_echo_n "(cached) " >&6
6665 lt_cv_nm_interface
="BSD nm"
6666 echo "int some_variable = 0;" > conftest.
$ac_ext
6667 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6668 (eval "$ac_compile" 2>conftest.err
)
6669 cat conftest.err
>&5
6670 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6671 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6672 cat conftest.err
>&5
6673 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6674 cat conftest.out
>&5
6675 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6676 lt_cv_nm_interface
="MS dumpbin"
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6681 $as_echo "$lt_cv_nm_interface" >&6; }
6683 # find the maximum length of command line arguments
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6685 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6686 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6687 $as_echo_n "(cached) " >&6
6694 # On DJGPP, this test can blow up pretty badly due to problems in libc
6695 # (any single argument exceeding 2000 bytes causes a buffer overrun
6696 # during glob expansion). Even if it were fixed, the result of this
6697 # check would be larger than it should be.
6698 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6702 # Under GNU Hurd, this test is not required because there is
6703 # no limit to the length of command line arguments.
6704 # Libtool will interpret -1 as no limit whatsoever
6705 lt_cv_sys_max_cmd_len
=-1;
6708 cygwin
* | mingw
* | cegcc
*)
6709 # On Win9x/ME, this test blows up -- it succeeds, but takes
6710 # about 5 minutes as the teststring grows exponentially.
6711 # Worse, since 9x/ME are not pre-emptively multitasking,
6712 # you end up with a "frozen" computer, even though with patience
6713 # the test eventually succeeds (with a max line length of 256k).
6714 # Instead, let's just punt: use the minimum linelength reported by
6715 # all of the supported platforms: 8192 (on NT/2K/XP).
6716 lt_cv_sys_max_cmd_len
=8192;
6720 # On MiNT this can take a long time and run out of memory.
6721 lt_cv_sys_max_cmd_len
=8192;
6725 # On AmigaOS with pdksh, this test takes hours, literally.
6726 # So we just punt and use a minimum line length of 8192.
6727 lt_cv_sys_max_cmd_len
=8192;
6730 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
6731 # This has been around since 386BSD, at least. Likely further.
6732 if test -x /sbin
/sysctl
; then
6733 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6734 elif test -x /usr
/sbin
/sysctl
; then
6735 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6737 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6739 # And add a safety zone
6740 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6741 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6745 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6746 lt_cv_sys_max_cmd_len
=196608
6750 # The test takes a long time on OS/2.
6751 lt_cv_sys_max_cmd_len
=8192
6755 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6756 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6757 # nice to cause kernel panics so lets avoid the loop below.
6758 # First set a reasonable default.
6759 lt_cv_sys_max_cmd_len
=16384
6761 if test -x /sbin
/sysconfig
; then
6762 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6763 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6768 lt_cv_sys_max_cmd_len
=102400
6770 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6771 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6772 if test -n "$kargmax"; then
6773 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6775 lt_cv_sys_max_cmd_len
=32768
6779 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6780 if test -n "$lt_cv_sys_max_cmd_len" && \
6781 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
6782 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6783 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6785 # Make teststring a little bigger before we do anything with it.
6786 # a 1K string should be a reasonable start.
6787 for i
in 1 2 3 4 5 6 7 8; do
6788 teststring
=$teststring$teststring
6790 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6791 # If test is not a shell built-in, we'll probably end up computing a
6792 # maximum length that is only half of the actual maximum length, but
6794 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
6795 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6796 test 17 != "$i" # 1/2 MB should be enough
6799 teststring
=$teststring$teststring
6801 # Only check the string length outside the loop.
6802 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6804 # Add a significant safety factor because C++ compilers can tack on
6805 # massive amounts of additional arguments before passing them to the
6806 # linker. It appears as though 1/2 is a usable value.
6807 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6814 if test -n "$lt_cv_sys_max_cmd_len"; then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6816 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6819 $as_echo "none" >&6; }
6821 max_cmd_len
=$lt_cv_sys_max_cmd_len
6832 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6842 # test EBCDIC or ASCII
6843 case `echo X|tr X '\101'` in
6844 A
) # ASCII based system
6845 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6846 lt_SP2NL
='tr \040 \012'
6847 lt_NL2SP
='tr \015\012 \040\040'
6849 *) # EBCDIC based system
6850 lt_SP2NL
='tr \100 \n'
6851 lt_NL2SP
='tr \r\n \100\100'
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6864 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6865 if ${lt_cv_to_host_file_cmd+:} false
; then :
6866 $as_echo_n "(cached) " >&6
6871 *-*-mingw* ) # actually msys
6872 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6875 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6877 * ) # otherwise, assume *nix
6878 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6884 *-*-mingw* ) # actually msys
6885 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6888 lt_cv_to_host_file_cmd
=func_convert_file_noop
6890 * ) # otherwise, assume *nix
6891 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6895 * ) # unhandled hosts (and "normal" native builds)
6896 lt_cv_to_host_file_cmd
=func_convert_file_noop
6902 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6904 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6911 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6912 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6913 $as_echo_n "(cached) " >&6
6915 #assume ordinary cross tools, or native build.
6916 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6920 *-*-mingw* ) # actually msys
6921 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6929 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6931 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6938 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6939 if ${lt_cv_ld_reload_flag+:} false
; then :
6940 $as_echo_n "(cached) " >&6
6942 lt_cv_ld_reload_flag
='-r'
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6945 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6946 reload_flag
=$lt_cv_ld_reload_flag
6947 case $reload_flag in
6949 *) reload_flag
=" $reload_flag" ;;
6951 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6953 cygwin
* | mingw
* | pw32
* | cegcc
*)
6954 if test yes != "$GCC"; then
6959 if test yes = "$GCC"; then
6960 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6962 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6975 if test -n "$ac_tool_prefix"; then
6976 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6977 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6981 $as_echo_n "(cached) " >&6
6983 if test -n "$OBJDUMP"; then
6984 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir
=.
6991 for ac_exec_ext
in '' $ac_executable_extensions; do
6992 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6993 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 OBJDUMP
=$ac_cv_prog_OBJDUMP
7004 if test -n "$OBJDUMP"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7006 $as_echo "$OBJDUMP" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7014 if test -z "$ac_cv_prog_OBJDUMP"; then
7015 ac_ct_OBJDUMP
=$OBJDUMP
7016 # Extract the first word of "objdump", so it can be a program name with args.
7017 set dummy objdump
; ac_word
=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 $as_echo_n "checking for $ac_word... " >&6; }
7020 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7021 $as_echo_n "(cached) " >&6
7023 if test -n "$ac_ct_OBJDUMP"; then
7024 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir
=.
7031 for ac_exec_ext
in '' $ac_executable_extensions; do
7032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7033 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7044 if test -n "$ac_ct_OBJDUMP"; then
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7046 $as_echo "$ac_ct_OBJDUMP" >&6; }
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7052 if test "x$ac_ct_OBJDUMP" = x
; then
7055 case $cross_compiling:$ac_tool_warned in
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7059 ac_tool_warned
=yes ;;
7061 OBJDUMP
=$ac_ct_OBJDUMP
7064 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7067 test -z "$OBJDUMP" && OBJDUMP
=objdump
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7078 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7079 if ${lt_cv_deplibs_check_method+:} false
; then :
7080 $as_echo_n "(cached) " >&6
7082 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7083 lt_cv_file_magic_test_file
=
7084 lt_cv_deplibs_check_method
='unknown'
7085 # Need to set the preceding variable on all platforms that support
7086 # interlibrary dependencies.
7087 # 'none' -- dependencies not supported.
7088 # 'unknown' -- same as none, but documents that we really don't know.
7089 # 'pass_all' -- all dependencies passed with no checks.
7090 # 'test_compile' -- check by making test program.
7091 # 'file_magic [[regex]]' -- check by looking for files in library path
7092 # that responds to the $file_magic_cmd with a given extended regex.
7093 # If you have 'file' or equivalent on your system and you're not sure
7094 # whether 'pass_all' will *always* work, you probably want this one.
7098 lt_cv_deplibs_check_method
=pass_all
7102 lt_cv_deplibs_check_method
=pass_all
7106 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7107 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7108 lt_cv_file_magic_test_file
=/shlib
/libc.so
7112 # func_win32_libid is a shell function defined in ltmain.sh
7113 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7114 lt_cv_file_magic_cmd
='func_win32_libid'
7118 # Base MSYS/MinGW do not provide the 'file' command needed by
7119 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7120 # unless we find 'file', for example because we are cross-compiling.
7121 if ( file / ) >/dev
/null
2>&1; then
7122 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7123 lt_cv_file_magic_cmd
='func_win32_libid'
7125 # Keep this pattern in sync with the one in func_win32_libid.
7126 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7127 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7132 # use the weaker test based on 'objdump'. See mingw*.
7133 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7134 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7137 darwin
* | rhapsody
*)
7138 lt_cv_deplibs_check_method
=pass_all
7141 freebsd
* | dragonfly
*)
7142 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7145 # Not sure whether the presence of OpenBSD here was a mistake.
7146 # Let's accept both of them until this is cleared up.
7147 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7148 lt_cv_file_magic_cmd
=/usr
/bin
/file
7149 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7153 lt_cv_deplibs_check_method
=pass_all
7158 lt_cv_deplibs_check_method
=pass_all
7161 hpux10.20
* | hpux11
*)
7162 lt_cv_file_magic_cmd
=/usr
/bin
/file
7165 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7166 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7169 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]'
7170 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7173 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7174 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7180 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7181 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7184 irix5
* | irix6
* | nonstopux
*)
7186 *-32|
*"-32 ") libmagic
=32-bit;;
7187 *-n32|
*"-n32 ") libmagic
=N32
;;
7188 *-64|
*"-64 ") libmagic
=64-bit;;
7189 *) libmagic
=never-match
;;
7191 lt_cv_deplibs_check_method
=pass_all
7194 # This must be glibc/ELF.
7195 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7196 lt_cv_deplibs_check_method
=pass_all
7200 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7201 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7203 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7208 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7209 lt_cv_file_magic_cmd
=/usr
/bin
/file
7210 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7214 lt_cv_deplibs_check_method
=pass_all
7218 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7219 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7221 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7225 osf3
* | osf4
* | osf5
*)
7226 lt_cv_deplibs_check_method
=pass_all
7230 lt_cv_deplibs_check_method
=pass_all
7234 lt_cv_deplibs_check_method
=pass_all
7237 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7238 lt_cv_deplibs_check_method
=pass_all
7242 case $host_vendor in
7244 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]'
7245 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7248 lt_cv_deplibs_check_method
=pass_all
7251 lt_cv_file_magic_cmd
='/bin/file'
7252 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7255 lt_cv_file_magic_cmd
='/bin/file'
7256 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7257 lt_cv_file_magic_test_file
=/lib
/libc.so
7260 lt_cv_deplibs_check_method
=pass_all
7263 lt_cv_deplibs_check_method
=pass_all
7269 lt_cv_deplibs_check_method
=pass_all
7272 lt_cv_deplibs_check_method
=pass_all
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7278 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7282 if test "$build" = "$host"; then
7285 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
7288 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7294 file_magic_cmd
=$lt_cv_file_magic_cmd
7295 deplibs_check_method
=$lt_cv_deplibs_check_method
7296 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7319 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7321 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7325 $as_echo_n "(cached) " >&6
7327 if test -n "$DLLTOOL"; then
7328 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir
=.
7335 for ac_exec_ext
in '' $ac_executable_extensions; do
7336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 DLLTOOL
=$ac_cv_prog_DLLTOOL
7348 if test -n "$DLLTOOL"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7350 $as_echo "$DLLTOOL" >&6; }
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7358 if test -z "$ac_cv_prog_DLLTOOL"; then
7359 ac_ct_DLLTOOL
=$DLLTOOL
7360 # Extract the first word of "dlltool", so it can be a program name with args.
7361 set dummy dlltool
; ac_word
=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7365 $as_echo_n "(cached) " >&6
7367 if test -n "$ac_ct_DLLTOOL"; then
7368 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir
=.
7375 for ac_exec_ext
in '' $ac_executable_extensions; do
7376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7388 if test -n "$ac_ct_DLLTOOL"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7390 $as_echo "$ac_ct_DLLTOOL" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7396 if test "x$ac_ct_DLLTOOL" = x
; then
7399 case $cross_compiling:$ac_tool_warned in
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7403 ac_tool_warned
=yes ;;
7405 DLLTOOL
=$ac_ct_DLLTOOL
7408 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7411 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7423 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7424 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
7425 $as_echo_n "(cached) " >&6
7427 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7430 cygwin
* | mingw
* | pw32
* | cegcc
*)
7431 # two different shell functions defined in ltmain.sh;
7432 # decide which one to use based on capabilities of $DLLTOOL
7433 case `$DLLTOOL --help 2>&1` in
7434 *--identify-strict*)
7435 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7438 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7443 # fallback: assume linklib IS sharedlib
7444 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7450 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7451 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7452 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7461 if test -n "$ac_tool_prefix"; then
7464 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7465 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_AR+:} false
; then :
7469 $as_echo_n "(cached) " >&6
7471 if test -n "$AR"; then
7472 ac_cv_prog_AR
="$AR" # Let the user override the test.
7474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir
=.
7479 for ac_exec_ext
in '' $ac_executable_extensions; do
7480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7481 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 if test -n "$AR"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7494 $as_echo "$AR" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7501 test -n "$AR" && break
7504 if test -z "$AR"; then
7508 # Extract the first word of "$ac_prog", so it can be a program name with args.
7509 set dummy
$ac_prog; ac_word
=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7513 $as_echo_n "(cached) " >&6
7515 if test -n "$ac_ct_AR"; then
7516 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7522 test -z "$as_dir" && as_dir
=.
7523 for ac_exec_ext
in '' $ac_executable_extensions; do
7524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7525 ac_cv_prog_ac_ct_AR
="$ac_prog"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7536 if test -n "$ac_ct_AR"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7538 $as_echo "$ac_ct_AR" >&6; }
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7545 test -n "$ac_ct_AR" && break
7548 if test "x$ac_ct_AR" = x
; then
7551 case $cross_compiling:$ac_tool_warned in
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7555 ac_tool_warned
=yes ;;
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7575 $as_echo_n "checking for archiver @FILE support... " >&6; }
7576 if ${lt_cv_ar_at_file+:} false
; then :
7577 $as_echo_n "(cached) " >&6
7580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7591 if ac_fn_c_try_compile
"$LINENO"; then :
7592 echo conftest.
$ac_objext > conftest.lst
7593 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7594 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7595 (eval $lt_ar_try) 2>&5
7597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598 test $ac_status = 0; }
7599 if test 0 -eq "$ac_status"; then
7600 # Ensure the archiver fails upon bogus file names.
7601 rm -f conftest.
$ac_objext libconftest.a
7602 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7603 (eval $lt_ar_try) 2>&5
7605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7606 test $ac_status = 0; }
7607 if test 0 -ne "$ac_status"; then
7611 rm -f conftest.
* libconftest.a
7614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7618 $as_echo "$lt_cv_ar_at_file" >&6; }
7620 if test no
= "$lt_cv_ar_at_file"; then
7623 archiver_list_spec
=$lt_cv_ar_at_file
7632 if test -n "$ac_tool_prefix"; then
7633 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7634 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636 $as_echo_n "checking for $ac_word... " >&6; }
7637 if ${ac_cv_prog_STRIP+:} false
; then :
7638 $as_echo_n "(cached) " >&6
7640 if test -n "$STRIP"; then
7641 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7647 test -z "$as_dir" && as_dir
=.
7648 for ac_exec_ext
in '' $ac_executable_extensions; do
7649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7650 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 STRIP
=$ac_cv_prog_STRIP
7661 if test -n "$STRIP"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7663 $as_echo "$STRIP" >&6; }
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 $as_echo "no" >&6; }
7671 if test -z "$ac_cv_prog_STRIP"; then
7673 # Extract the first word of "strip", so it can be a program name with args.
7674 set dummy strip
; ac_word
=$2
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7676 $as_echo_n "checking for $ac_word... " >&6; }
7677 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7678 $as_echo_n "(cached) " >&6
7680 if test -n "$ac_ct_STRIP"; then
7681 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7687 test -z "$as_dir" && as_dir
=.
7688 for ac_exec_ext
in '' $ac_executable_extensions; do
7689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7690 ac_cv_prog_ac_ct_STRIP
="strip"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7701 if test -n "$ac_ct_STRIP"; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7703 $as_echo "$ac_ct_STRIP" >&6; }
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706 $as_echo "no" >&6; }
7709 if test "x$ac_ct_STRIP" = x
; then
7712 case $cross_compiling:$ac_tool_warned in
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7716 ac_tool_warned
=yes ;;
7721 STRIP
="$ac_cv_prog_STRIP"
7724 test -z "$STRIP" && STRIP
=:
7731 if test -n "$ac_tool_prefix"; then
7732 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7733 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7735 $as_echo_n "checking for $ac_word... " >&6; }
7736 if ${ac_cv_prog_RANLIB+:} false
; then :
7737 $as_echo_n "(cached) " >&6
7739 if test -n "$RANLIB"; then
7740 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7746 test -z "$as_dir" && as_dir
=.
7747 for ac_exec_ext
in '' $ac_executable_extensions; do
7748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7749 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7759 RANLIB
=$ac_cv_prog_RANLIB
7760 if test -n "$RANLIB"; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7762 $as_echo "$RANLIB" >&6; }
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7765 $as_echo "no" >&6; }
7770 if test -z "$ac_cv_prog_RANLIB"; then
7771 ac_ct_RANLIB
=$RANLIB
7772 # Extract the first word of "ranlib", so it can be a program name with args.
7773 set dummy ranlib
; ac_word
=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775 $as_echo_n "checking for $ac_word... " >&6; }
7776 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7777 $as_echo_n "(cached) " >&6
7779 if test -n "$ac_ct_RANLIB"; then
7780 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7786 test -z "$as_dir" && as_dir
=.
7787 for ac_exec_ext
in '' $ac_executable_extensions; do
7788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7789 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7799 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7800 if test -n "$ac_ct_RANLIB"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7802 $as_echo "$ac_ct_RANLIB" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7808 if test "x$ac_ct_RANLIB" = x
; then
7811 case $cross_compiling:$ac_tool_warned in
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7815 ac_tool_warned
=yes ;;
7817 RANLIB
=$ac_ct_RANLIB
7820 RANLIB
="$ac_cv_prog_RANLIB"
7823 test -z "$RANLIB" && RANLIB
=:
7830 # Determine commands to create old-style static archives.
7831 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7832 old_postinstall_cmds
='chmod 644 $oldlib'
7833 old_postuninstall_cmds
=
7835 if test -n "$RANLIB"; then
7838 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7841 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7844 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7849 lock_old_archive_extraction
=yes ;;
7851 lock_old_archive_extraction
=no
;;
7892 # If no C compiler was specified, use CC.
7895 # If no C compiler flags were specified, use CFLAGS.
7896 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7898 # Allow CC to be a program name with arguments.
7902 # Check for command to grab the raw symbol name followed by C symbol from nm.
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7904 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7905 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7906 $as_echo_n "(cached) " >&6
7909 # These are sane defaults that work on at least a few old systems.
7910 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7912 # Character class describing NM global symbol codes.
7913 symcode
='[BCDEGRST]'
7915 # Regexp to match symbols that can be accessed directly from C.
7916 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7918 # Define system-specific variables.
7923 cygwin
* | mingw
* | pw32
* | cegcc
*)
7924 symcode
='[ABCDGISTW]'
7927 if test ia64
= "$host_cpu"; then
7928 symcode
='[ABCDEGRST]'
7932 symcode
='[BCDEGRST]'
7935 symcode
='[BCDEGQRST]'
7946 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7954 # If we're using GNU nm, then use its standard symbol codes.
7955 case `$NM -V 2>&1` in
7956 *GNU
* |
*'with BFD'*)
7957 symcode
='[ABCDGIRSTW]' ;;
7960 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7961 # Gets list of data symbols to import.
7962 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7963 # Adjust the below global symbol transforms to fixup imported variables.
7964 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7965 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7966 lt_c_name_lib_hook
="\
7967 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7968 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7970 # Disable hooks by default.
7971 lt_cv_sys_global_symbol_to_import
=
7977 # Transform an extracted symbol line into a proper C declaration.
7978 # Some systems (esp. on ia64) link data and code symbols differently,
7979 # so use this general approach.
7980 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
7982 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7983 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7985 # Transform an extracted symbol line into symbol name and symbol address
7986 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
7988 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7989 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7991 # Transform an extracted symbol line into symbol name with lib prefix and
7993 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
7994 $lt_c_name_lib_hook\
7995 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7996 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7997 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7999 # Handle CRLF in mingw tool chain
8003 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8007 # Try without a prefix underscore, then with it.
8008 for ac_symprfx
in "" "_"; do
8010 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8011 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8013 # Write the raw and C identifiers.
8014 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8015 # Fake it for dumpbin and say T for any non-static function,
8016 # D for any global variable and I for any imported variable.
8017 # Also find C++ and __fastcall symbols from MSVC++,
8018 # which start with @ or ?.
8019 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8020 " {last_section=section; section=\$ 3};"\
8021 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8022 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8023 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8024 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8025 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8026 " \$ 0!~/External *\|/{next};"\
8027 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8028 " {if(hide[section]) next};"\
8029 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8030 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8031 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8032 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8033 " ' prfx=^$ac_symprfx"
8035 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8037 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8039 # Check to see that the pipe works correctly.
8043 cat > conftest.
$ac_ext <<_LT_EOF
8048 void nm_test_func(void);
8049 void nm_test_func(void){}
8053 int main(){nm_test_var='a';nm_test_func();return(0);}
8056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8057 (eval $ac_compile) 2>&5
8059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8060 test $ac_status = 0; }; then
8061 # Now try to grab the symbols.
8063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8064 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8067 test $ac_status = 0; } && test -s "$nlist"; then
8068 # Try sorting and uniquifying the output.
8069 if sort "$nlist" |
uniq > "$nlist"T
; then
8070 mv -f "$nlist"T
"$nlist"
8075 # Make sure that we snagged all the symbols we need.
8076 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8077 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8078 cat <<_LT_EOF > conftest.$ac_ext
8079 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8080 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8081 /* DATA imports from DLLs on WIN32 can't be const, because runtime
8082 relocations are performed -- see ld's documentation on pseudo-relocs. */
8083 # define LT_DLSYM_CONST
8084 #elif defined __osf__
8085 /* This system does not cope well with relocations in const data. */
8086 # define LT_DLSYM_CONST
8088 # define LT_DLSYM_CONST const
8096 # Now generate the symbol file.
8097 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8099 cat <<_LT_EOF >> conftest.$ac_ext
8101 /* The mapping between symbol names and symbols. */
8102 LT_DLSYM_CONST struct {
8106 lt__PROGRAM__LTX_preloaded_symbols[] =
8108 { "@PROGRAM@", (void *) 0 },
8110 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8111 cat <<\_LT_EOF
>> conftest.
$ac_ext
8115 /* This works around a problem
in FreeBSD linker
*/
8116 #ifdef FREEBSD_WORKAROUND
8117 static const void
*lt_preloaded_setup
() {
8118 return lt__PROGRAM__LTX_preloaded_symbols
;
8126 # Now try linking the two files.
8127 mv conftest.
$ac_objext conftstm.
$ac_objext
8128 lt_globsym_save_LIBS
=$LIBS
8129 lt_globsym_save_CFLAGS
=$CFLAGS
8130 LIBS
=conftstm.
$ac_objext
8131 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8133 (eval $ac_link) 2>&5
8135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8136 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
8139 LIBS
=$lt_globsym_save_LIBS
8140 CFLAGS
=$lt_globsym_save_CFLAGS
8142 echo "cannot find nm_test_func in $nlist" >&5
8145 echo "cannot find nm_test_var in $nlist" >&5
8148 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8151 echo "$progname: failed program was:" >&5
8152 cat conftest.
$ac_ext >&5
8154 rm -rf conftest
* conftst
*
8156 # Do not use the global_symbol_pipe unless it works.
8157 if test yes = "$pipe_works"; then
8160 lt_cv_sys_global_symbol_pipe
=
8166 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8167 lt_cv_sys_global_symbol_to_cdecl
=
8169 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8171 $as_echo "failed" >&6; }
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8174 $as_echo "ok" >&6; }
8177 # Response file support.
8178 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8179 nm_file_list_spec
='@'
8180 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
8181 nm_file_list_spec
='@'
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8221 $as_echo_n "checking for sysroot... " >&6; }
8223 # Check whether --with-sysroot was given.
8224 if test "${with_sysroot+set}" = set; then :
8225 withval
=$with_sysroot;
8232 case $with_sysroot in #(
8234 if test yes = "$GCC"; then
8235 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
8239 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8245 $as_echo "$with_sysroot" >&6; }
8246 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8251 $as_echo "${lt_sysroot:-no}" >&6; }
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8258 $as_echo_n "checking for a working dd... " >&6; }
8259 if ${ac_cv_path_lt_DD+:} false
; then :
8260 $as_echo_n "(cached) " >&6
8262 printf 0123456789abcdef0123456789abcdef
>conftest.i
8263 cat conftest.i conftest.i
>conftest2.i
8265 if test -z "$lt_DD"; then
8266 ac_path_lt_DD_found
=false
8267 # Loop through the user's path and test for each of PROGNAME-LIST
8268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8272 test -z "$as_dir" && as_dir
=.
8273 for ac_prog
in dd; do
8274 for ac_exec_ext
in '' $ac_executable_extensions; do
8275 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
8276 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
8277 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8278 cmp -s conftest.i conftest.out \
8279 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
8281 $ac_path_lt_DD_found && break 3
8286 if test -z "$ac_cv_path_lt_DD"; then
8290 ac_cv_path_lt_DD
=$lt_DD
8293 rm -f conftest.i conftest2.i conftest.out
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8296 $as_echo "$ac_cv_path_lt_DD" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8300 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8301 if ${lt_cv_truncate_bin+:} false
; then :
8302 $as_echo_n "(cached) " >&6
8304 printf 0123456789abcdef0123456789abcdef
>conftest.i
8305 cat conftest.i conftest.i
>conftest2.i
8307 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8308 cmp -s conftest.i conftest.out \
8309 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
8311 rm -f conftest.i conftest2.i conftest.out
8312 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8315 $as_echo "$lt_cv_truncate_bin" >&6; }
8323 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8326 for cc_temp
in $
*""; do
8328 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8329 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8334 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8337 # Check whether --enable-libtool-lock was given.
8338 if test "${enable_libtool_lock+set}" = set; then :
8339 enableval
=$enable_libtool_lock;
8342 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
8344 # Some flags need to be propagated to the compiler or linker for good
8348 # Find out what ABI is being produced by ac_compile, and set mode
8349 # options accordingly.
8350 echo 'int i;' > conftest.
$ac_ext
8351 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8352 (eval $ac_compile) 2>&5
8354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8355 test $ac_status = 0; }; then
8356 case `/usr/bin/file conftest.$ac_objext` in
8368 # Find out what ABI is being produced by ac_compile, and set linker
8369 # options accordingly.
8370 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8372 (eval $ac_compile) 2>&5
8374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8375 test $ac_status = 0; }; then
8376 if test yes = "$lt_cv_prog_gnu_ld"; then
8377 case `/usr/bin/file conftest.$ac_objext` in
8379 LD
="${LD-ld} -melf32bsmip"
8382 LD
="${LD-ld} -melf32bmipn32"
8385 LD
="${LD-ld} -melf64bmip"
8389 case `/usr/bin/file conftest.$ac_objext` in
8406 # Find out what ABI is being produced by ac_compile, and set linker
8407 # options accordingly.
8408 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8410 (eval $ac_compile) 2>&5
8412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8413 test $ac_status = 0; }; then
8415 case `/usr/bin/file conftest.$ac_objext` in
8423 case `/usr/bin/file conftest.$ac_objext` in
8425 emul
="${emul}btsmip"
8428 emul
="${emul}ltsmip"
8431 case `/usr/bin/file conftest.$ac_objext` in
8436 LD
="${LD-ld} -m $emul"
8441 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8442 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8443 # Find out what ABI is being produced by ac_compile, and set linker
8444 # options accordingly. Note that the listed cases only cover the
8445 # situations where additional linker options are needed (such as when
8446 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8447 # vice versa); the common cases where no linker options are needed do
8448 # not appear in the list.
8449 echo 'int i;' > conftest.
$ac_ext
8450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8451 (eval $ac_compile) 2>&5
8453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8454 test $ac_status = 0; }; then
8455 case `/usr/bin/file conftest.o` in
8458 x86_64-
*kfreebsd
*-gnu)
8459 LD
="${LD-ld} -m elf_i386_fbsd"
8462 case `/usr/bin/file conftest.o` in
8464 LD
="${LD-ld} -m elf32_x86_64"
8467 LD
="${LD-ld} -m elf_i386"
8471 powerpc64le-
*linux
*)
8472 LD
="${LD-ld} -m elf32lppclinux"
8475 LD
="${LD-ld} -m elf32ppclinux"
8478 LD
="${LD-ld} -m elf_s390"
8481 LD
="${LD-ld} -m elf32_sparc"
8487 x86_64-
*kfreebsd
*-gnu)
8488 LD
="${LD-ld} -m elf_x86_64_fbsd"
8491 LD
="${LD-ld} -m elf_x86_64"
8494 LD
="${LD-ld} -m elf64lppc"
8497 LD
="${LD-ld} -m elf64ppc"
8499 s390
*-*linux
*|s390
*-*tpf
*)
8500 LD
="${LD-ld} -m elf64_s390"
8503 LD
="${LD-ld} -m elf64_sparc"
8513 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8515 CFLAGS
="$CFLAGS -belf"
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8517 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8518 if ${lt_cv_cc_needs_belf+:} false
; then :
8519 $as_echo_n "(cached) " >&6
8522 ac_cpp
='$CPP $CPPFLAGS'
8523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8538 if ac_fn_c_try_link
"$LINENO"; then :
8539 lt_cv_cc_needs_belf
=yes
8541 lt_cv_cc_needs_belf
=no
8543 rm -f core conftest.err conftest.
$ac_objext \
8544 conftest
$ac_exeext conftest.
$ac_ext
8546 ac_cpp
='$CPP $CPPFLAGS'
8547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8553 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8554 if test yes != "$lt_cv_cc_needs_belf"; then
8555 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8560 # Find out what ABI is being produced by ac_compile, and set linker
8561 # options accordingly.
8562 echo 'int i;' > conftest.
$ac_ext
8563 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8564 (eval $ac_compile) 2>&5
8566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8567 test $ac_status = 0; }; then
8568 case `/usr/bin/file conftest.o` in
8570 case $lt_cv_prog_gnu_ld in
8573 i?
86-*-solaris*|x86_64-
*-solaris*)
8574 LD
="${LD-ld} -m elf_x86_64"
8577 LD
="${LD-ld} -m elf64_sparc"
8580 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8581 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
8586 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8598 need_locks
=$enable_libtool_lock
8600 if test -n "$ac_tool_prefix"; then
8601 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8602 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8604 $as_echo_n "checking for $ac_word... " >&6; }
8605 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
8606 $as_echo_n "(cached) " >&6
8608 if test -n "$MANIFEST_TOOL"; then
8609 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8615 test -z "$as_dir" && as_dir
=.
8616 for ac_exec_ext
in '' $ac_executable_extensions; do
8617 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8618 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8628 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8629 if test -n "$MANIFEST_TOOL"; then
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8631 $as_echo "$MANIFEST_TOOL" >&6; }
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8634 $as_echo "no" >&6; }
8639 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8640 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8641 # Extract the first word of "mt", so it can be a program name with args.
8642 set dummy mt
; ac_word
=$2
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8644 $as_echo_n "checking for $ac_word... " >&6; }
8645 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8646 $as_echo_n "(cached) " >&6
8648 if test -n "$ac_ct_MANIFEST_TOOL"; then
8649 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8655 test -z "$as_dir" && as_dir
=.
8656 for ac_exec_ext
in '' $ac_executable_extensions; do
8657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8658 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8668 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8669 if test -n "$ac_ct_MANIFEST_TOOL"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8671 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8674 $as_echo "no" >&6; }
8677 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8680 case $cross_compiling:$ac_tool_warned in
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8684 ac_tool_warned
=yes ;;
8686 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8689 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8692 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8694 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8695 if ${lt_cv_path_mainfest_tool+:} false
; then :
8696 $as_echo_n "(cached) " >&6
8698 lt_cv_path_mainfest_tool
=no
8699 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8700 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8701 cat conftest.err
>&5
8702 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8703 lt_cv_path_mainfest_tool
=yes
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8708 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8709 if test yes != "$lt_cv_path_mainfest_tool"; then
8719 rhapsody
* | darwin
*)
8720 if test -n "$ac_tool_prefix"; then
8721 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8722 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8724 $as_echo_n "checking for $ac_word... " >&6; }
8725 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8726 $as_echo_n "(cached) " >&6
8728 if test -n "$DSYMUTIL"; then
8729 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8735 test -z "$as_dir" && as_dir
=.
8736 for ac_exec_ext
in '' $ac_executable_extensions; do
8737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8738 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8748 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8749 if test -n "$DSYMUTIL"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8751 $as_echo "$DSYMUTIL" >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8754 $as_echo "no" >&6; }
8759 if test -z "$ac_cv_prog_DSYMUTIL"; then
8760 ac_ct_DSYMUTIL
=$DSYMUTIL
8761 # Extract the first word of "dsymutil", so it can be a program name with args.
8762 set dummy dsymutil
; ac_word
=$2
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8764 $as_echo_n "checking for $ac_word... " >&6; }
8765 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8766 $as_echo_n "(cached) " >&6
8768 if test -n "$ac_ct_DSYMUTIL"; then
8769 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8775 test -z "$as_dir" && as_dir
=.
8776 for ac_exec_ext
in '' $ac_executable_extensions; do
8777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8778 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8788 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8789 if test -n "$ac_ct_DSYMUTIL"; then
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8791 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8794 $as_echo "no" >&6; }
8797 if test "x$ac_ct_DSYMUTIL" = x
; then
8800 case $cross_compiling:$ac_tool_warned in
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8804 ac_tool_warned
=yes ;;
8806 DSYMUTIL
=$ac_ct_DSYMUTIL
8809 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8812 if test -n "$ac_tool_prefix"; then
8813 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8814 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8816 $as_echo_n "checking for $ac_word... " >&6; }
8817 if ${ac_cv_prog_NMEDIT+:} false
; then :
8818 $as_echo_n "(cached) " >&6
8820 if test -n "$NMEDIT"; then
8821 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8827 test -z "$as_dir" && as_dir
=.
8828 for ac_exec_ext
in '' $ac_executable_extensions; do
8829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8830 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8840 NMEDIT
=$ac_cv_prog_NMEDIT
8841 if test -n "$NMEDIT"; then
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8843 $as_echo "$NMEDIT" >&6; }
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8846 $as_echo "no" >&6; }
8851 if test -z "$ac_cv_prog_NMEDIT"; then
8852 ac_ct_NMEDIT
=$NMEDIT
8853 # Extract the first word of "nmedit", so it can be a program name with args.
8854 set dummy nmedit
; ac_word
=$2
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8856 $as_echo_n "checking for $ac_word... " >&6; }
8857 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8858 $as_echo_n "(cached) " >&6
8860 if test -n "$ac_ct_NMEDIT"; then
8861 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8867 test -z "$as_dir" && as_dir
=.
8868 for ac_exec_ext
in '' $ac_executable_extensions; do
8869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8870 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8880 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8881 if test -n "$ac_ct_NMEDIT"; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8883 $as_echo "$ac_ct_NMEDIT" >&6; }
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8889 if test "x$ac_ct_NMEDIT" = x
; then
8892 case $cross_compiling:$ac_tool_warned in
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8896 ac_tool_warned
=yes ;;
8898 NMEDIT
=$ac_ct_NMEDIT
8901 NMEDIT
="$ac_cv_prog_NMEDIT"
8904 if test -n "$ac_tool_prefix"; then
8905 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8906 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8908 $as_echo_n "checking for $ac_word... " >&6; }
8909 if ${ac_cv_prog_LIPO+:} false
; then :
8910 $as_echo_n "(cached) " >&6
8912 if test -n "$LIPO"; then
8913 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8919 test -z "$as_dir" && as_dir
=.
8920 for ac_exec_ext
in '' $ac_executable_extensions; do
8921 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8922 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8932 LIPO
=$ac_cv_prog_LIPO
8933 if test -n "$LIPO"; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8935 $as_echo "$LIPO" >&6; }
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938 $as_echo "no" >&6; }
8943 if test -z "$ac_cv_prog_LIPO"; then
8945 # Extract the first word of "lipo", so it can be a program name with args.
8946 set dummy lipo
; ac_word
=$2
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8948 $as_echo_n "checking for $ac_word... " >&6; }
8949 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8950 $as_echo_n "(cached) " >&6
8952 if test -n "$ac_ct_LIPO"; then
8953 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8959 test -z "$as_dir" && as_dir
=.
8960 for ac_exec_ext
in '' $ac_executable_extensions; do
8961 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8962 ac_cv_prog_ac_ct_LIPO
="lipo"
8963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8972 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8973 if test -n "$ac_ct_LIPO"; then
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8975 $as_echo "$ac_ct_LIPO" >&6; }
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8978 $as_echo "no" >&6; }
8981 if test "x$ac_ct_LIPO" = x
; then
8984 case $cross_compiling:$ac_tool_warned in
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8988 ac_tool_warned
=yes ;;
8993 LIPO
="$ac_cv_prog_LIPO"
8996 if test -n "$ac_tool_prefix"; then
8997 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8998 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9000 $as_echo_n "checking for $ac_word... " >&6; }
9001 if ${ac_cv_prog_OTOOL+:} false
; then :
9002 $as_echo_n "(cached) " >&6
9004 if test -n "$OTOOL"; then
9005 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9011 test -z "$as_dir" && as_dir
=.
9012 for ac_exec_ext
in '' $ac_executable_extensions; do
9013 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9014 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9024 OTOOL
=$ac_cv_prog_OTOOL
9025 if test -n "$OTOOL"; then
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9027 $as_echo "$OTOOL" >&6; }
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9030 $as_echo "no" >&6; }
9035 if test -z "$ac_cv_prog_OTOOL"; then
9037 # Extract the first word of "otool", so it can be a program name with args.
9038 set dummy otool
; ac_word
=$2
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9040 $as_echo_n "checking for $ac_word... " >&6; }
9041 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
9042 $as_echo_n "(cached) " >&6
9044 if test -n "$ac_ct_OTOOL"; then
9045 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9051 test -z "$as_dir" && as_dir
=.
9052 for ac_exec_ext
in '' $ac_executable_extensions; do
9053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9054 ac_cv_prog_ac_ct_OTOOL
="otool"
9055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9064 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9065 if test -n "$ac_ct_OTOOL"; then
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9067 $as_echo "$ac_ct_OTOOL" >&6; }
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9070 $as_echo "no" >&6; }
9073 if test "x$ac_ct_OTOOL" = x
; then
9076 case $cross_compiling:$ac_tool_warned in
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9080 ac_tool_warned
=yes ;;
9085 OTOOL
="$ac_cv_prog_OTOOL"
9088 if test -n "$ac_tool_prefix"; then
9089 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9090 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9092 $as_echo_n "checking for $ac_word... " >&6; }
9093 if ${ac_cv_prog_OTOOL64+:} false
; then :
9094 $as_echo_n "(cached) " >&6
9096 if test -n "$OTOOL64"; then
9097 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9103 test -z "$as_dir" && as_dir
=.
9104 for ac_exec_ext
in '' $ac_executable_extensions; do
9105 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9106 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9116 OTOOL64
=$ac_cv_prog_OTOOL64
9117 if test -n "$OTOOL64"; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9119 $as_echo "$OTOOL64" >&6; }
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9122 $as_echo "no" >&6; }
9127 if test -z "$ac_cv_prog_OTOOL64"; then
9128 ac_ct_OTOOL64
=$OTOOL64
9129 # Extract the first word of "otool64", so it can be a program name with args.
9130 set dummy otool64
; ac_word
=$2
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9132 $as_echo_n "checking for $ac_word... " >&6; }
9133 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9134 $as_echo_n "(cached) " >&6
9136 if test -n "$ac_ct_OTOOL64"; then
9137 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9143 test -z "$as_dir" && as_dir
=.
9144 for ac_exec_ext
in '' $ac_executable_extensions; do
9145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9146 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9156 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9157 if test -n "$ac_ct_OTOOL64"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9159 $as_echo "$ac_ct_OTOOL64" >&6; }
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9162 $as_echo "no" >&6; }
9165 if test "x$ac_ct_OTOOL64" = x
; then
9168 case $cross_compiling:$ac_tool_warned in
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9172 ac_tool_warned
=yes ;;
9174 OTOOL64
=$ac_ct_OTOOL64
9177 OTOOL64
="$ac_cv_prog_OTOOL64"
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9207 $as_echo_n "checking for -single_module linker flag... " >&6; }
9208 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 lt_cv_apple_cc_single_mod
=no
9212 if test -z "$LT_MULTI_MODULE"; then
9213 # By default we will add the -single_module flag. You can override
9214 # by either setting the environment variable LT_MULTI_MODULE
9215 # non-empty at configure time, or by adding -multi_module to the
9217 rm -rf libconftest.dylib
*
9218 echo "int foo(void){return 1;}" > conftest.c
9219 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9220 -dynamiclib -Wl,-single_module conftest.c" >&5
9221 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9222 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9224 # If there is a non-empty error log, and "single_module"
9225 # appears in it, assume the flag caused a linker warning
9226 if test -s conftest.err
&& $GREP single_module conftest.err
; then
9227 cat conftest.err
>&5
9228 # Otherwise, if the output was created with a 0 exit code from
9229 # the compiler, it worked.
9230 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
9231 lt_cv_apple_cc_single_mod
=yes
9233 cat conftest.err
>&5
9235 rm -rf libconftest.dylib
*
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9240 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9243 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9244 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9245 $as_echo_n "(cached) " >&6
9247 lt_cv_ld_exported_symbols_list
=no
9248 save_LDFLAGS
=$LDFLAGS
9249 echo "_main" > conftest.sym
9250 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9252 /* end confdefs.h. */
9262 if ac_fn_c_try_link
"$LINENO"; then :
9263 lt_cv_ld_exported_symbols_list
=yes
9265 lt_cv_ld_exported_symbols_list
=no
9267 rm -f core conftest.err conftest.
$ac_objext \
9268 conftest
$ac_exeext conftest.
$ac_ext
9269 LDFLAGS
=$save_LDFLAGS
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9273 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9276 $as_echo_n "checking for -force_load linker flag... " >&6; }
9277 if ${lt_cv_ld_force_load+:} false
; then :
9278 $as_echo_n "(cached) " >&6
9280 lt_cv_ld_force_load
=no
9281 cat > conftest.c
<< _LT_EOF
9282 int forced_loaded() { return 2;}
9284 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9285 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9286 echo "$AR cru libconftest.a conftest.o" >&5
9287 $AR cru libconftest.a conftest.o
2>&5
9288 echo "$RANLIB libconftest.a" >&5
9289 $RANLIB libconftest.a
2>&5
9290 cat > conftest.c
<< _LT_EOF
9291 int main() { return 0;}
9293 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9294 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9296 if test -s conftest.err
&& $GREP force_load conftest.err
; then
9297 cat conftest.err
>&5
9298 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
9299 lt_cv_ld_force_load
=yes
9301 cat conftest.err
>&5
9303 rm -f conftest.err libconftest.a conftest conftest.c
9304 rm -rf conftest.dSYM
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9308 $as_echo "$lt_cv_ld_force_load" >&6; }
9310 rhapsody
* | darwin1.
[012])
9311 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
9313 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9314 darwin
*) # darwin 5.x on
9315 # if running on 10.5 or later, the deployment target defaults
9316 # to the OS version, if on x86, and 10.4, the deployment
9317 # target defaults to 10.4. Don't you love it?
9318 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9319 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9320 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9322 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9324 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9328 if test yes = "$lt_cv_apple_cc_single_mod"; then
9329 _lt_dar_single_mod
='$single_module'
9331 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9332 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9334 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9336 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
9337 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9344 # func_munge_path_list VARIABLE PATH
9345 # -----------------------------------
9346 # VARIABLE is name of variable containing _space_ separated list of
9347 # directories to be munged by the contents of PATH, which is string
9350 # string "DIR[ DIR]" will be prepended to VARIABLE
9352 # string "DIR[ DIR]" will be appended to VARIABLE
9353 # "DIRP[:DIRP]::[DIRA:]DIRA"
9354 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9355 # "DIRA[ DIRA]" will be appended to VARIABLE
9357 # VARIABLE will be replaced by "DIR[ DIR]"
9358 func_munge_path_list
()
9364 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
9367 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9370 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9371 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
9374 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9381 $as_echo_n "checking for ANSI C header files... " >&6; }
9382 if ${ac_cv_header_stdc+:} false
; then :
9383 $as_echo_n "(cached) " >&6
9385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9400 if ac_fn_c_try_compile
"$LINENO"; then :
9401 ac_cv_header_stdc
=yes
9403 ac_cv_header_stdc
=no
9405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9407 if test $ac_cv_header_stdc = yes; then
9408 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9415 $EGREP "memchr" >/dev
/null
2>&1; then :
9418 ac_cv_header_stdc
=no
9424 if test $ac_cv_header_stdc = yes; then
9425 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9432 $EGREP "free" >/dev
/null
2>&1; then :
9435 ac_cv_header_stdc
=no
9441 if test $ac_cv_header_stdc = yes; then
9442 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9443 if test "$cross_compiling" = yes; then :
9446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9450 #if ((' ' & 0x0FF) == 0x020)
9451 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9452 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9454 # define ISLOWER(c) \
9455 (('a' <= (c) && (c) <= 'i') \
9456 || ('j' <= (c) && (c) <= 'r') \
9457 || ('s' <= (c) && (c) <= 'z'))
9458 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9461 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9466 for (i = 0; i < 256; i++)
9467 if (XOR (islower (i), ISLOWER (i))
9468 || toupper (i) != TOUPPER (i))
9473 if ac_fn_c_try_run
"$LINENO"; then :
9476 ac_cv_header_stdc
=no
9478 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9479 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9485 $as_echo "$ac_cv_header_stdc" >&6; }
9486 if test $ac_cv_header_stdc = yes; then
9488 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9492 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9493 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9494 inttypes.h stdint.h unistd.h
9496 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9497 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9499 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9500 cat >>confdefs.h
<<_ACEOF
9501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9509 for ac_header
in dlfcn.h
9511 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9513 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9514 cat >>confdefs.h
<<_ACEOF
9515 #define HAVE_DLFCN_H 1
9536 # Check whether --enable-shared was given.
9537 if test "${enable_shared+set}" = set; then :
9538 enableval
=$enable_shared; p
=${PACKAGE-default}
9540 yes) enable_shared
=yes ;;
9541 no
) enable_shared
=no
;;
9544 # Look at the argument we got. We use all the common list separators.
9545 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9546 for pkg
in $enableval; do
9548 if test "X$pkg" = "X$p"; then
9567 # Check whether --enable-static was given.
9568 if test "${enable_static+set}" = set; then :
9569 enableval
=$enable_static; p
=${PACKAGE-default}
9571 yes) enable_static
=yes ;;
9572 no
) enable_static
=no
;;
9575 # Look at the argument we got. We use all the common list separators.
9576 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9577 for pkg
in $enableval; do
9579 if test "X$pkg" = "X$p"; then
9599 # Check whether --with-pic was given.
9600 if test "${with_pic+set}" = set; then :
9601 withval
=$with_pic; lt_p
=${PACKAGE-default}
9603 yes|no
) pic_mode
=$withval ;;
9606 # Look at the argument we got. We use all the common list separators.
9607 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9608 for lt_pkg
in $withval; do
9610 if test "X$lt_pkg" = "X$lt_p"; then
9628 # Check whether --enable-fast-install was given.
9629 if test "${enable_fast_install+set}" = set; then :
9630 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9632 yes) enable_fast_install
=yes ;;
9633 no
) enable_fast_install
=no
;;
9635 enable_fast_install
=no
9636 # Look at the argument we got. We use all the common list separators.
9637 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9638 for pkg
in $enableval; do
9640 if test "X$pkg" = "X$p"; then
9641 enable_fast_install
=yes
9648 enable_fast_install
=yes
9658 shared_archive_member_spec
=
9659 case $host,$enable_shared in
9660 power
*-*-aix[5-9]*,yes)
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9662 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9664 # Check whether --with-aix-soname was given.
9665 if test "${with_aix_soname+set}" = set; then :
9666 withval
=$with_aix_soname; case $withval in
9670 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9673 lt_cv_with_aix_soname
=$with_aix_soname
9675 if ${lt_cv_with_aix_soname+:} false
; then :
9676 $as_echo_n "(cached) " >&6
9678 lt_cv_with_aix_soname
=aix
9681 with_aix_soname
=$lt_cv_with_aix_soname
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9685 $as_echo "$with_aix_soname" >&6; }
9686 if test aix
!= "$with_aix_soname"; then
9687 # For the AIX way of multilib, we name the shared archive member
9688 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9689 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9690 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9691 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9692 if test 64 = "${OBJECT_MODE-32}"; then
9693 shared_archive_member_spec
=shr_64
9695 shared_archive_member_spec
=shr
9713 # This can be used to rebuild libtool when needed
9714 LIBTOOL_DEPS
=$ltmain
9716 # Always use our own libtool.
9717 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9748 test -z "$LN_S" && LN_S
="ln -s"
9763 if test -n "${ZSH_VERSION+set}"; then
9764 setopt NO_GLOB_SUBST
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9768 $as_echo_n "checking for objdir... " >&6; }
9769 if ${lt_cv_objdir+:} false
; then :
9770 $as_echo_n "(cached) " >&6
9772 rm -f .libs
2>/dev
/null
9773 mkdir .libs
2>/dev
/null
9774 if test -d .libs
; then
9777 # MS-DOS does not allow filenames that begin with a dot.
9780 rmdir .libs
2>/dev
/null
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9783 $as_echo "$lt_cv_objdir" >&6; }
9784 objdir
=$lt_cv_objdir
9790 cat >>confdefs.h
<<_ACEOF
9791 #define LT_OBJDIR "$lt_cv_objdir/"
9799 # AIX sometimes has problems with the GCC collect2 program. For some
9800 # reason, if we set the COLLECT_NAMES environment variable, the problems
9801 # vanish in a puff of smoke.
9802 if test set != "${COLLECT_NAMES+set}"; then
9804 export COLLECT_NAMES
9811 can_build_shared
=yes
9813 # All known linkers require a '.a' archive for static linking (except MSVC,
9814 # which needs '.lib').
9817 with_gnu_ld
=$lt_cv_prog_gnu_ld
9822 # Set sane defaults for various variables
9823 test -z "$CC" && CC
=cc
9824 test -z "$LTCC" && LTCC
=$CC
9825 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9826 test -z "$LD" && LD
=ld
9827 test -z "$ac_objext" && ac_objext
=o
9829 func_cc_basename
$compiler
9830 cc_basename
=$func_cc_basename_result
9833 # Only perform the check for file, if the check method requires it
9834 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9835 case $deplibs_check_method in
9837 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9839 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9840 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9841 $as_echo_n "(cached) " >&6
9845 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9848 lt_save_MAGIC_CMD
=$MAGIC_CMD
9849 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9850 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9851 for ac_dir
in $ac_dummy; do
9853 test -z "$ac_dir" && ac_dir
=.
9854 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9855 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9856 if test -n "$file_magic_test_file"; then
9857 case $deplibs_check_method in
9859 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9860 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9861 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9862 $EGREP "$file_magic_regex" > /dev
/null
; then
9867 *** Warning: the command libtool uses to detect shared libraries,
9868 *** $file_magic_cmd, produces output that libtool cannot recognize.
9869 *** The result is that libtool may fail to recognize shared libraries
9870 *** as such. This will affect the creation of libtool libraries that
9871 *** depend on shared libraries, but programs linked with such libtool
9872 *** libraries will work regardless of this problem. Nevertheless, you
9873 *** may want to report the problem to your system manager and/or to
9874 *** bug-libtool@gnu.org
9884 MAGIC_CMD
=$lt_save_MAGIC_CMD
9889 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9890 if test -n "$MAGIC_CMD"; then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9892 $as_echo "$MAGIC_CMD" >&6; }
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9895 $as_echo "no" >&6; }
9902 if test -z "$lt_cv_path_MAGIC_CMD"; then
9903 if test -n "$ac_tool_prefix"; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9905 $as_echo_n "checking for file... " >&6; }
9906 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9907 $as_echo_n "(cached) " >&6
9911 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9914 lt_save_MAGIC_CMD
=$MAGIC_CMD
9915 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9916 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9917 for ac_dir
in $ac_dummy; do
9919 test -z "$ac_dir" && ac_dir
=.
9920 if test -f "$ac_dir/file"; then
9921 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9922 if test -n "$file_magic_test_file"; then
9923 case $deplibs_check_method in
9925 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9926 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9927 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9928 $EGREP "$file_magic_regex" > /dev
/null
; then
9933 *** Warning: the command libtool uses to detect shared libraries,
9934 *** $file_magic_cmd, produces output that libtool cannot recognize.
9935 *** The result is that libtool may fail to recognize shared libraries
9936 *** as such. This will affect the creation of libtool libraries that
9937 *** depend on shared libraries, but programs linked with such libtool
9938 *** libraries will work regardless of this problem. Nevertheless, you
9939 *** may want to report the problem to your system manager and/or to
9940 *** bug-libtool@gnu.org
9950 MAGIC_CMD
=$lt_save_MAGIC_CMD
9955 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9956 if test -n "$MAGIC_CMD"; then
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9958 $as_echo "$MAGIC_CMD" >&6; }
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9961 $as_echo "no" >&6; }
9974 # Use C for the default configuration in the libtool script
9978 ac_cpp
='$CPP $CPPFLAGS'
9979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9984 # Source file extension for C test sources.
9987 # Object file extension for compiled C test sources.
9991 # Code to be used in simple compile tests
9992 lt_simple_compile_test_code
="int some_variable = 0;"
9994 # Code to be used in simple link tests
9995 lt_simple_link_test_code
='int main(){return(0);}'
10003 # If no C compiler was specified, use CC.
10006 # If no C compiler flags were specified, use CFLAGS.
10007 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10009 # Allow CC to be a program name with arguments.
10012 # Save the default compiler, since it gets overwritten when the other
10013 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10014 compiler_DEFAULT
=$CC
10016 # save warnings/boilerplate of simple test code
10017 ac_outfile
=conftest.
$ac_objext
10018 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10019 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10020 _lt_compiler_boilerplate
=`cat conftest.err`
10023 ac_outfile
=conftest.
$ac_objext
10024 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10025 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10026 _lt_linker_boilerplate
=`cat conftest.err`
10031 ## There is no encapsulation within the following macros, do not change
10032 ## the running order or otherwise move them around unless you know exactly
10033 ## what you are doing...
10034 if test -n "$compiler"; then
10036 lt_prog_compiler_no_builtin_flag
=
10038 if test yes = "$GCC"; then
10039 case $cc_basename in
10041 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10043 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10047 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10048 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
10049 $as_echo_n "(cached) " >&6
10051 lt_cv_prog_compiler_rtti_exceptions
=no
10052 ac_outfile
=conftest.
$ac_objext
10053 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10054 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10055 # Insert the option either (1) after the last *FLAGS variable, or
10056 # (2) before a word containing "conftest.", or (3) at the end.
10057 # Note that $ac_compile itself does not contain backslashes and begins
10058 # with a dollar sign (not a hyphen), so the echo should work correctly.
10059 # The option is referenced via a variable to avoid confusing sed.
10060 lt_compile
=`echo "$ac_compile" | $SED \
10061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10063 -e 's:$: $lt_compiler_flag:'`
10064 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10065 (eval "$lt_compile" 2>conftest.err
)
10067 cat conftest.err
>&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 if (exit $ac_status) && test -s "$ac_outfile"; then
10070 # The compiler can only warn and ignore the option if not recognized
10071 # So say no if there are warnings other than the usual output.
10072 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10073 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10074 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10075 lt_cv_prog_compiler_rtti_exceptions
=yes
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10082 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10084 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10085 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10097 lt_prog_compiler_wl
=
10098 lt_prog_compiler_pic
=
10099 lt_prog_compiler_static
=
10102 if test yes = "$GCC"; then
10103 lt_prog_compiler_wl
='-Wl,'
10104 lt_prog_compiler_static
='-static'
10108 # All AIX code is PIC.
10109 if test ia64
= "$host_cpu"; then
10110 # AIX 5 now supports IA64 processor
10111 lt_prog_compiler_static
='-Bstatic'
10113 lt_prog_compiler_pic
='-fPIC'
10119 # see comment about AmigaOS4 .so support
10120 lt_prog_compiler_pic
='-fPIC'
10123 # FIXME: we need at least 68020 code to build shared libraries, but
10124 # adding the '-m68020' flag to GCC prevents building anything better,
10126 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10131 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10132 # PIC is the default for these OSes.
10135 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10136 # This hack is so that the source file can tell whether it is being
10137 # built for inclusion in a dll (and should export symbols for example).
10138 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10139 # (--disable-auto-import) libraries
10140 lt_prog_compiler_pic
='-DDLL_EXPORT'
10143 lt_prog_compiler_static
='$wl-static'
10148 darwin
* | rhapsody
*)
10149 # PIC is the default on this platform
10150 # Common symbols not allowed in MH_DYLIB files
10151 lt_prog_compiler_pic
='-fno-common'
10155 # PIC is the default for Haiku.
10156 # The "-static" flag exists, but is broken.
10157 lt_prog_compiler_static
=
10161 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10162 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10163 # sets the default TLS model and affects inlining.
10169 lt_prog_compiler_pic
='-fPIC'
10175 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10176 # Instead, we relocate shared libraries at runtime.
10180 # Just because we use GCC doesn't mean we suddenly get shared libraries
10181 # on systems that don't support them.
10182 lt_prog_compiler_can_build_shared
=no
10187 # QNX uses GNU C++, but need to define -shared option too, otherwise
10188 # it will coredump.
10189 lt_prog_compiler_pic
='-fPIC -shared'
10193 if test -d /usr
/nec
; then
10194 lt_prog_compiler_pic
=-Kconform_pic
10199 lt_prog_compiler_pic
='-fPIC'
10203 case $cc_basename in
10204 nvcc
*) # Cuda Compiler Driver 2.2
10205 lt_prog_compiler_wl
='-Xlinker '
10206 if test -n "$lt_prog_compiler_pic"; then
10207 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10212 # PORTME Check for flag to pass linker flags through the system compiler.
10215 lt_prog_compiler_wl
='-Wl,'
10216 if test ia64
= "$host_cpu"; then
10217 # AIX 5 now supports IA64 processor
10218 lt_prog_compiler_static
='-Bstatic'
10220 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10224 darwin
* | rhapsody
*)
10225 # PIC is the default on this platform
10226 # Common symbols not allowed in MH_DYLIB files
10227 lt_prog_compiler_pic
='-fno-common'
10228 case $cc_basename in
10230 # NAG Fortran compiler
10231 lt_prog_compiler_wl
='-Wl,-Wl,,'
10232 lt_prog_compiler_pic
='-PIC'
10233 lt_prog_compiler_static
='-Bstatic'
10238 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10239 # This hack is so that the source file can tell whether it is being
10240 # built for inclusion in a dll (and should export symbols for example).
10241 lt_prog_compiler_pic
='-DDLL_EXPORT'
10244 lt_prog_compiler_static
='$wl-static'
10249 hpux9
* | hpux10
* | hpux11
*)
10250 lt_prog_compiler_wl
='-Wl,'
10251 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10252 # not for PA HP-UX.
10258 lt_prog_compiler_pic
='+Z'
10261 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10262 lt_prog_compiler_static
='$wl-a ${wl}archive'
10265 irix5
* | irix6
* | nonstopux
*)
10266 lt_prog_compiler_wl
='-Wl,'
10267 # PIC (with -KPIC) is the default.
10268 lt_prog_compiler_static
='-non_shared'
10271 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10272 case $cc_basename in
10273 # old Intel for x86_64, which still supported -KPIC.
10275 lt_prog_compiler_wl
='-Wl,'
10276 lt_prog_compiler_pic
='-KPIC'
10277 lt_prog_compiler_static
='-static'
10279 # icc used to be incompatible with GCC.
10280 # ICC 10 doesn't accept -KPIC any more.
10282 lt_prog_compiler_wl
='-Wl,'
10283 lt_prog_compiler_pic
='-fPIC'
10284 lt_prog_compiler_static
='-static'
10286 # Lahey Fortran 8.1.
10288 lt_prog_compiler_wl
='-Wl,'
10289 lt_prog_compiler_pic
='--shared'
10290 lt_prog_compiler_static
='--static'
10293 # NAG Fortran compiler
10294 lt_prog_compiler_wl
='-Wl,-Wl,,'
10295 lt_prog_compiler_pic
='-PIC'
10296 lt_prog_compiler_static
='-Bstatic'
10299 # Fabrice Bellard et al's Tiny C Compiler
10300 lt_prog_compiler_wl
='-Wl,'
10301 lt_prog_compiler_pic
='-fPIC'
10302 lt_prog_compiler_static
='-static'
10304 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10305 # Portland Group compilers (*not* the Pentium gcc compiler,
10306 # which looks to be a dead project)
10307 lt_prog_compiler_wl
='-Wl,'
10308 lt_prog_compiler_pic
='-fpic'
10309 lt_prog_compiler_static
='-Bstatic'
10312 lt_prog_compiler_wl
='-Wl,'
10313 # All Alpha code is PIC.
10314 lt_prog_compiler_static
='-non_shared'
10316 xl
* | bgxl
* | bgf
* | mpixl
*)
10317 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10318 lt_prog_compiler_wl
='-Wl,'
10319 lt_prog_compiler_pic
='-qpic'
10320 lt_prog_compiler_static
='-qstaticlink'
10323 case `$CC -V 2>&1 | sed 5q` in
10324 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10325 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10326 lt_prog_compiler_pic
='-KPIC'
10327 lt_prog_compiler_static
='-Bstatic'
10328 lt_prog_compiler_wl
=''
10330 *Sun\ F
* |
*Sun
*Fortran
*)
10331 lt_prog_compiler_pic
='-KPIC'
10332 lt_prog_compiler_static
='-Bstatic'
10333 lt_prog_compiler_wl
='-Qoption ld '
10337 lt_prog_compiler_pic
='-KPIC'
10338 lt_prog_compiler_static
='-Bstatic'
10339 lt_prog_compiler_wl
='-Wl,'
10341 *Intel
*\
[CF
]*Compiler
*)
10342 lt_prog_compiler_wl
='-Wl,'
10343 lt_prog_compiler_pic
='-fPIC'
10344 lt_prog_compiler_static
='-static'
10347 lt_prog_compiler_wl
='-Wl,'
10348 lt_prog_compiler_pic
='-fpic'
10349 lt_prog_compiler_static
='-Bstatic'
10357 lt_prog_compiler_pic
='-KPIC'
10358 lt_prog_compiler_static
='-Bstatic'
10362 # QNX uses GNU C++, but need to define -shared option too, otherwise
10363 # it will coredump.
10364 lt_prog_compiler_pic
='-fPIC -shared'
10367 osf3
* | osf4
* | osf5
*)
10368 lt_prog_compiler_wl
='-Wl,'
10369 # All OSF/1 code is PIC.
10370 lt_prog_compiler_static
='-non_shared'
10374 lt_prog_compiler_static
='-non_shared'
10378 lt_prog_compiler_pic
='-KPIC'
10379 lt_prog_compiler_static
='-Bstatic'
10380 case $cc_basename in
10381 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10382 lt_prog_compiler_wl
='-Qoption ld ';;
10384 lt_prog_compiler_wl
='-Wl,';;
10389 lt_prog_compiler_wl
='-Qoption ld '
10390 lt_prog_compiler_pic
='-PIC'
10391 lt_prog_compiler_static
='-Bstatic'
10394 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10395 lt_prog_compiler_wl
='-Wl,'
10396 lt_prog_compiler_pic
='-KPIC'
10397 lt_prog_compiler_static
='-Bstatic'
10401 if test -d /usr
/nec
; then
10402 lt_prog_compiler_pic
='-Kconform_pic'
10403 lt_prog_compiler_static
='-Bstatic'
10407 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10408 lt_prog_compiler_wl
='-Wl,'
10409 lt_prog_compiler_pic
='-KPIC'
10410 lt_prog_compiler_static
='-Bstatic'
10414 lt_prog_compiler_wl
='-Wl,'
10415 lt_prog_compiler_can_build_shared
=no
10419 lt_prog_compiler_pic
='-pic'
10420 lt_prog_compiler_static
='-Bstatic'
10424 lt_prog_compiler_can_build_shared
=no
10430 # For platforms that do not support PIC, -DPIC is meaningless:
10432 lt_prog_compiler_pic
=
10435 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10440 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10441 if ${lt_cv_prog_compiler_pic+:} false
; then :
10442 $as_echo_n "(cached) " >&6
10444 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10447 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10448 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10451 # Check to make sure the PIC flag actually works.
10453 if test -n "$lt_prog_compiler_pic"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10455 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10456 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10457 $as_echo_n "(cached) " >&6
10459 lt_cv_prog_compiler_pic_works
=no
10460 ac_outfile
=conftest.
$ac_objext
10461 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10462 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10463 # Insert the option either (1) after the last *FLAGS variable, or
10464 # (2) before a word containing "conftest.", or (3) at the end.
10465 # Note that $ac_compile itself does not contain backslashes and begins
10466 # with a dollar sign (not a hyphen), so the echo should work correctly.
10467 # The option is referenced via a variable to avoid confusing sed.
10468 lt_compile
=`echo "$ac_compile" | $SED \
10469 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10470 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10471 -e 's:$: $lt_compiler_flag:'`
10472 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10473 (eval "$lt_compile" 2>conftest.err
)
10475 cat conftest.err
>&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 if (exit $ac_status) && test -s "$ac_outfile"; then
10478 # The compiler can only warn and ignore the option if not recognized
10479 # So say no if there are warnings other than the usual output.
10480 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10481 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10482 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10483 lt_cv_prog_compiler_pic_works
=yes
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10490 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10492 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10493 case $lt_prog_compiler_pic in
10495 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10498 lt_prog_compiler_pic
=
10499 lt_prog_compiler_can_build_shared
=no
10515 # Check to make sure the static flag actually works.
10517 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10519 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10520 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10521 $as_echo_n "(cached) " >&6
10523 lt_cv_prog_compiler_static_works
=no
10524 save_LDFLAGS
=$LDFLAGS
10525 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10526 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10527 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10528 # The linker can only warn and ignore the option if not recognized
10529 # So say no if there are warnings
10530 if test -s conftest.err
; then
10531 # Append any errors to the config.log.
10532 cat conftest.err
1>&5
10533 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10534 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10535 if diff conftest.exp conftest.er2
>/dev
/null
; then
10536 lt_cv_prog_compiler_static_works
=yes
10539 lt_cv_prog_compiler_static_works
=yes
10543 LDFLAGS
=$save_LDFLAGS
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10547 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10549 if test yes = "$lt_cv_prog_compiler_static_works"; then
10552 lt_prog_compiler_static
=
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10562 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10563 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 lt_cv_prog_compiler_c_o
=no
10567 $RM -r conftest
2>/dev
/null
10571 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10573 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10574 # Insert the option either (1) after the last *FLAGS variable, or
10575 # (2) before a word containing "conftest.", or (3) at the end.
10576 # Note that $ac_compile itself does not contain backslashes and begins
10577 # with a dollar sign (not a hyphen), so the echo should work correctly.
10578 lt_compile
=`echo "$ac_compile" | $SED \
10579 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10580 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10581 -e 's:$: $lt_compiler_flag:'`
10582 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10583 (eval "$lt_compile" 2>out
/conftest.err
)
10585 cat out
/conftest.err
>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10589 # The compiler can only warn and ignore the option if not recognized
10590 # So say no if there are warnings
10591 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10592 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10593 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10594 lt_cv_prog_compiler_c_o
=yes
10599 # SGI C++ compiler will create directory out/ii_files/ for
10600 # template instantiation
10601 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10602 $RM out
/* && rmdir out
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10609 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10617 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10618 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10619 $as_echo_n "(cached) " >&6
10621 lt_cv_prog_compiler_c_o
=no
10622 $RM -r conftest
2>/dev
/null
10626 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10628 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10629 # Insert the option either (1) after the last *FLAGS variable, or
10630 # (2) before a word containing "conftest.", or (3) at the end.
10631 # Note that $ac_compile itself does not contain backslashes and begins
10632 # with a dollar sign (not a hyphen), so the echo should work correctly.
10633 lt_compile
=`echo "$ac_compile" | $SED \
10634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10636 -e 's:$: $lt_compiler_flag:'`
10637 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10638 (eval "$lt_compile" 2>out
/conftest.err
)
10640 cat out
/conftest.err
>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10644 # The compiler can only warn and ignore the option if not recognized
10645 # So say no if there are warnings
10646 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10647 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10648 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10649 lt_cv_prog_compiler_c_o
=yes
10654 # SGI C++ compiler will create directory out/ii_files/ for
10655 # template instantiation
10656 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10657 $RM out
/* && rmdir out
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10664 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10669 hard_links
=nottested
10670 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10671 # do not overwrite the value of need_locks provided by the user
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10673 $as_echo_n "checking if we can lock with hard links... " >&6; }
10676 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10678 ln conftest.a conftest.b
2>&5 || hard_links
=no
10679 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10681 $as_echo "$hard_links" >&6; }
10682 if test no
= "$hard_links"; then
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10684 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10697 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10700 allow_undefined_flag
=
10701 always_export_symbols
=no
10703 archive_expsym_cmds
=
10704 compiler_needs_object
=no
10705 enable_shared_with_static_runtimes
=no
10706 export_dynamic_flag_spec
=
10707 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10708 hardcode_automatic
=no
10710 hardcode_direct_absolute
=no
10711 hardcode_libdir_flag_spec
=
10712 hardcode_libdir_separator
=
10713 hardcode_minus_L
=no
10714 hardcode_shlibpath_var
=unsupported
10716 link_all_deplibs
=unknown
10718 module_expsym_cmds
=
10719 old_archive_from_new_cmds
=
10720 old_archive_from_expsyms_cmds
=
10721 thread_safe_flag_spec
=
10722 whole_archive_flag_spec
=
10723 # include_expsyms should be a list of space-separated symbols to be *always*
10724 # included in the symbol list
10726 # exclude_expsyms can be an extended regexp of symbols to exclude
10727 # it will be wrapped by ' (' and ')$', so one must not match beginning or
10728 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10729 # as well as any symbol that contains 'd'.
10730 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10731 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10732 # platforms (ab)use it in PIC code, but their linkers get confused if
10733 # the symbol is explicitly referenced. Since portable code cannot
10734 # rely on this symbol name, it's probably fine to never include it in
10735 # preloaded symbol tables.
10736 # Exclude shared library initialization/finalization symbols.
10737 extract_expsyms_cmds
=
10740 cygwin
* | mingw
* | pw32
* | cegcc
*)
10741 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10742 # When not using gcc, we currently assume that we are using
10743 # Microsoft Visual C++.
10744 if test yes != "$GCC"; then
10749 # we just hope/assume this is gcc and not c89 (= MSVC++)
10752 openbsd
* | bitrig
*)
10759 # On some targets, GNU ld is compatible enough with the native linker
10760 # that we're better off using the native interface for both.
10761 lt_use_gnu_ld_interface
=no
10762 if test yes = "$with_gnu_ld"; then
10765 # The AIX port of GNU ld has always aspired to compatibility
10766 # with the native linker. However, as the warning in the GNU ld
10767 # block says, versions before 2.19.5* couldn't really create working
10768 # shared libraries, regardless of the interface used.
10769 case `$LD -v 2>&1` in
10770 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10771 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10772 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10774 lt_use_gnu_ld_interface
=yes
10779 lt_use_gnu_ld_interface
=yes
10784 if test yes = "$lt_use_gnu_ld_interface"; then
10785 # If archive_cmds runs LD, not CC, wlarc should be empty
10788 # Set some defaults for GNU ld with shared library support. These
10789 # are reset later if shared libraries are not supported. Putting them
10790 # here allows them to be overridden if necessary.
10791 runpath_var
=LD_RUN_PATH
10792 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10793 export_dynamic_flag_spec
='$wl--export-dynamic'
10794 # ancient GNU ld didn't support --whole-archive et. al.
10795 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10796 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10798 whole_archive_flag_spec
=
10800 supports_anon_versioning
=no
10801 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10802 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10803 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10804 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10805 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10806 *\
2.11.
*) ;; # other 2.11 versions
10807 *) supports_anon_versioning
=yes ;;
10810 # See if GNU ld supports shared libraries.
10813 # On AIX/PPC, the GNU linker is very broken
10814 if test ia64
!= "$host_cpu"; then
10818 *** Warning: the GNU linker, at least up to release 2.19, is reported
10819 *** to be unable to reliably create shared libraries on AIX.
10820 *** Therefore, libtool is disabling shared libraries support. If you
10821 *** really care for shared libraries, you may want to install binutils
10822 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10823 *** You will then need to restart the configuration process.
10832 # see comment about AmigaOS4 .so support
10833 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10834 archive_expsym_cmds
=''
10837 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)'
10838 hardcode_libdir_flag_spec
='-L$libdir'
10839 hardcode_minus_L
=yes
10845 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10846 allow_undefined_flag
=unsupported
10847 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10848 # support --undefined. This deserves some investigation. FIXME
10849 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10855 cygwin
* | mingw
* | pw32
* | cegcc
*)
10856 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10857 # as there is no search path for DLLs.
10858 hardcode_libdir_flag_spec
='-L$libdir'
10859 export_dynamic_flag_spec
='$wl--export-all-symbols'
10860 allow_undefined_flag
=unsupported
10861 always_export_symbols
=no
10862 enable_shared_with_static_runtimes
=yes
10863 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'
10864 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10866 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10867 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10868 # If the export-symbols file already is a .def file, use it as
10869 # is; otherwise, prepend EXPORTS...
10870 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10871 cp $export_symbols $output_objdir/$soname.def;
10873 echo EXPORTS > $output_objdir/$soname.def;
10874 cat $export_symbols >> $output_objdir/$soname.def;
10876 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10883 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10884 link_all_deplibs
=yes
10888 hardcode_libdir_flag_spec
='-L$libdir'
10889 hardcode_minus_L
=yes
10890 allow_undefined_flag
=unsupported
10892 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10893 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10894 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10895 $ECHO EXPORTS >> $output_objdir/$libname.def~
10896 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10897 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10898 emximp -o $lib $output_objdir/$libname.def'
10899 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10900 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10901 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10902 $ECHO EXPORTS >> $output_objdir/$libname.def~
10903 prefix_cmds="$SED"~
10904 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10905 prefix_cmds="$prefix_cmds -e 1d";
10907 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10908 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10909 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10910 emximp -o $lib $output_objdir/$libname.def'
10911 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10912 enable_shared_with_static_runtimes
=yes
10917 hardcode_shlibpath_var
=no
10918 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10919 export_dynamic_flag_spec
='$wl-E'
10920 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10921 # Instead, shared libraries are loaded at an image base (0x10000000 by
10922 # default) and relocated if they conflict, which is a slow very memory
10923 # consuming and fragmenting process. To avoid this, we pick a random,
10924 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10925 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10926 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10927 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'
10930 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10932 if test linux-dietlibc
= "$host_os"; then
10933 case $cc_basename in
10934 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10937 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10938 && test no
= "$tmp_diet"
10940 tmp_addflag
=' $pic_flag'
10941 tmp_sharedflag
='-shared'
10942 case $cc_basename,$host_cpu in
10943 pgcc
*) # Portland Group C compiler
10944 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'
10945 tmp_addflag
=' $pic_flag'
10947 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10948 # Portland Group f77 and f90 compilers
10949 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'
10950 tmp_addflag
=' $pic_flag -Mnomain' ;;
10951 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10952 tmp_addflag
=' -i_dynamic' ;;
10953 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10954 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10955 ifc
* | ifort
*) # Intel Fortran compiler
10956 tmp_addflag
=' -nofor_main' ;;
10957 lf95
*) # Lahey Fortran 8.1
10958 whole_archive_flag_spec
=
10959 tmp_sharedflag
='--shared' ;;
10960 nagfor
*) # NAGFOR 5.3
10961 tmp_sharedflag
='-Wl,-shared' ;;
10962 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10963 tmp_sharedflag
='-qmkshrobj'
10965 nvcc
*) # Cuda Compiler Driver 2.2
10966 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'
10967 compiler_needs_object
=yes
10970 case `$CC -V 2>&1 | sed 5q` in
10971 *Sun\ C
*) # Sun C 5.9
10972 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'
10973 compiler_needs_object
=yes
10974 tmp_sharedflag
='-G' ;;
10975 *Sun\ F
*) # Sun Fortran 8.3
10976 tmp_sharedflag
='-G' ;;
10978 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10980 if test yes = "$supports_anon_versioning"; then
10981 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10982 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10983 echo "local: *; };" >> $output_objdir/$libname.ver~
10984 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10987 case $cc_basename in
10989 export_dynamic_flag_spec
='-rdynamic'
10991 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10992 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10993 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10994 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10995 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10996 if test yes = "$supports_anon_versioning"; then
10997 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10998 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10999 echo "local: *; };" >> $output_objdir/$libname.ver~
11000 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11010 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11011 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11014 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11015 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11020 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11024 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11025 *** create shared libraries on Solaris systems. Therefore, libtool
11026 *** is disabling shared libraries support. We urge you to upgrade GNU
11027 *** binutils to release 2.9.1 or newer. Another option is to modify
11028 *** your PATH or compiler configuration so that the native linker is
11029 *** used, and then restart.
11032 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11033 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11034 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11040 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11041 case `$LD -v 2>&1` in
11042 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11046 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11047 *** reliably create shared libraries on SCO systems. Therefore, libtool
11048 *** is disabling shared libraries support. We urge you to upgrade GNU
11049 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11050 *** your PATH or compiler configuration so that the native linker is
11051 *** used, and then restart.
11056 # For security reasons, it is highly recommended that you always
11057 # use absolute paths for naming shared libraries, and exclude the
11058 # DT_RUNPATH tag from executables and libraries. But doing so
11059 # requires that you compile everything twice, which is a pain.
11060 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11061 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11062 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11063 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11072 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11074 hardcode_direct
=yes
11075 hardcode_shlibpath_var
=no
11079 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11080 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11081 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11088 if test no
= "$ld_shlibs"; then
11090 hardcode_libdir_flag_spec
=
11091 export_dynamic_flag_spec
=
11092 whole_archive_flag_spec
=
11095 # PORTME fill in a description of your system's linker (not GNU ld)
11098 allow_undefined_flag
=unsupported
11099 always_export_symbols
=yes
11100 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'
11101 # Note: this linker hardcodes the directories in LIBPATH if there
11102 # are no directories specified by -L.
11103 hardcode_minus_L
=yes
11104 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11105 # Neither direct hardcoding nor static linking is supported with a
11107 hardcode_direct
=unsupported
11112 if test ia64
= "$host_cpu"; then
11113 # On IA64, the linker does run time linking by default, so we don't
11114 # have to do anything special.
11115 aix_use_runtimelinking
=no
11116 exp_sym_flag
='-Bexport'
11119 # If we're using GNU nm, then we don't want the "-C" option.
11120 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11121 # Without the "-l" option, or with the "-B" option, AIX nm treats
11122 # weak defined symbols like other global defined symbols, whereas
11123 # GNU nm marks them as "W".
11124 # While the 'weak' keyword is ignored in the Export File, we need
11125 # it in the Import File for the 'aix-soname' feature, so we have
11126 # to replace the "-B" option with "-P" for AIX nm.
11127 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11128 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11130 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11132 aix_use_runtimelinking
=no
11134 # Test if we are trying to use run time linking or normal
11135 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11136 # have runtime linking enabled, and use it for executables.
11137 # For shared libraries, we enable/disable runtime linking
11138 # depending on the kind of the shared library created -
11139 # when "with_aix_soname,aix_use_runtimelinking" is:
11140 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11141 # "aix,yes" lib.so shared, rtl:yes, for executables
11142 # lib.a static archive
11143 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11144 # lib.a(lib.so.V) shared, rtl:no, for executables
11145 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11146 # lib.a(lib.so.V) shared, rtl:no
11147 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11148 # lib.a static archive
11149 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11150 for ld_flag
in $LDFLAGS; do
11151 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11152 aix_use_runtimelinking
=yes
11156 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11157 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11158 # so we don't have lib.a shared libs to link our executables.
11159 # We have to force runtime linking in this case.
11160 aix_use_runtimelinking
=yes
11161 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11166 exp_sym_flag
='-bexport'
11167 no_entry_flag
='-bnoentry'
11170 # When large executables or shared objects are built, AIX ld can
11171 # have problems creating the table of contents. If linking a library
11172 # or program results in "error TOC overflow" add -mminimal-toc to
11173 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11174 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11177 hardcode_direct
=yes
11178 hardcode_direct_absolute
=yes
11179 hardcode_libdir_separator
=':'
11180 link_all_deplibs
=yes
11181 file_list_spec
='$wl-f,'
11182 case $with_aix_soname,$aix_use_runtimelinking in
11183 aix
,*) ;; # traditional, no import file
11184 svr4
,* |
*,yes) # use import file
11185 # The Import File defines what to hardcode.
11187 hardcode_direct_absolute
=no
11191 if test yes = "$GCC"; then
11192 case $host_os in aix4.
[012]|aix4.
[012].
*)
11193 # We only want to do this on AIX 4.2 and lower, the check
11194 # below for broken collect2 doesn't work under 4.3+
11195 collect2name
=`$CC -print-prog-name=collect2`
11196 if test -f "$collect2name" &&
11197 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11199 # We have reworked collect2
11202 # We have old collect2
11203 hardcode_direct
=unsupported
11204 # It fails to find uninstalled libraries when the uninstalled
11205 # path is not listed in the libpath. Setting hardcode_minus_L
11206 # to unsupported forces relinking
11207 hardcode_minus_L
=yes
11208 hardcode_libdir_flag_spec
='-L$libdir'
11209 hardcode_libdir_separator
=
11213 shared_flag
='-shared'
11214 if test yes = "$aix_use_runtimelinking"; then
11215 shared_flag
="$shared_flag "'$wl-G'
11217 # Need to ensure runtime linking is disabled for the traditional
11218 # shared library, or the linker may eventually find shared libraries
11219 # /with/ Import File - we do not want to mix them.
11220 shared_flag_aix
='-shared'
11221 shared_flag_svr4
='-shared $wl-G'
11224 if test ia64
= "$host_cpu"; then
11225 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11226 # chokes on -Wl,-G. The following line is correct:
11229 if test yes = "$aix_use_runtimelinking"; then
11230 shared_flag
='$wl-G'
11232 shared_flag
='$wl-bM:SRE'
11234 shared_flag_aix
='$wl-bM:SRE'
11235 shared_flag_svr4
='$wl-G'
11239 export_dynamic_flag_spec
='$wl-bexpall'
11240 # It seems that -bexpall does not export symbols beginning with
11241 # underscore (_), so it is better to generate a list of symbols to export.
11242 always_export_symbols
=yes
11243 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11244 # Warning - without using the other runtime loading flags (-brtl),
11245 # -berok will link without error, but may produce a broken library.
11246 allow_undefined_flag
='-berok'
11247 # Determine the default libpath from the value encoded in an
11248 # empty executable.
11249 if test set = "${lt_cv_aix_libpath+set}"; then
11250 aix_libpath
=$lt_cv_aix_libpath
11252 if ${lt_cv_aix_libpath_+:} false
; then :
11253 $as_echo_n "(cached) " >&6
11255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11266 if ac_fn_c_try_link
"$LINENO"; then :
11268 lt_aix_libpath_sed
='
11269 /Import File Strings/,/^$/ {
11271 s/^0 *\([^ ]*\) *$/\1/
11275 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11276 # Check for a 64-bit object if we didn't find anything.
11277 if test -z "$lt_cv_aix_libpath_"; then
11278 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11281 rm -f core conftest.err conftest.
$ac_objext \
11282 conftest
$ac_exeext conftest.
$ac_ext
11283 if test -z "$lt_cv_aix_libpath_"; then
11284 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11289 aix_libpath
=$lt_cv_aix_libpath_
11292 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11293 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
11295 if test ia64
= "$host_cpu"; then
11296 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11297 allow_undefined_flag
="-z nodefs"
11298 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"
11300 # Determine the default libpath from the value encoded in an
11301 # empty executable.
11302 if test set = "${lt_cv_aix_libpath+set}"; then
11303 aix_libpath
=$lt_cv_aix_libpath
11305 if ${lt_cv_aix_libpath_+:} false
; then :
11306 $as_echo_n "(cached) " >&6
11308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11319 if ac_fn_c_try_link
"$LINENO"; then :
11321 lt_aix_libpath_sed
='
11322 /Import File Strings/,/^$/ {
11324 s/^0 *\([^ ]*\) *$/\1/
11328 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11329 # Check for a 64-bit object if we didn't find anything.
11330 if test -z "$lt_cv_aix_libpath_"; then
11331 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11334 rm -f core conftest.err conftest.
$ac_objext \
11335 conftest
$ac_exeext conftest.
$ac_ext
11336 if test -z "$lt_cv_aix_libpath_"; then
11337 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11342 aix_libpath
=$lt_cv_aix_libpath_
11345 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11346 # Warning - without using the other run time loading flags,
11347 # -berok will link without error, but may produce a broken library.
11348 no_undefined_flag
=' $wl-bernotok'
11349 allow_undefined_flag
=' $wl-berok'
11350 if test yes = "$with_gnu_ld"; then
11351 # We only use this code for GNU lds that support --whole-archive.
11352 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11354 # Exported symbols can be pulled into shared objects from archives
11355 whole_archive_flag_spec
='$convenience'
11357 archive_cmds_need_lc
=yes
11358 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11359 # -brtl affects multiple linker settings, -berok does not and is overridden later
11360 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11361 if test svr4
!= "$with_aix_soname"; then
11362 # This is similar to how AIX traditionally builds its shared libraries.
11363 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11365 if test aix
!= "$with_aix_soname"; then
11366 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11368 # used by -dlpreopen to get the symbols
11369 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11371 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11379 # see comment about AmigaOS4 .so support
11380 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11381 archive_expsym_cmds
=''
11384 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)'
11385 hardcode_libdir_flag_spec
='-L$libdir'
11386 hardcode_minus_L
=yes
11392 export_dynamic_flag_spec
=-rdynamic
11395 cygwin
* | mingw
* | pw32
* | cegcc
*)
11396 # When not using gcc, we currently assume that we are using
11397 # Microsoft Visual C++.
11398 # hardcode_libdir_flag_spec is actually meaningless, as there is
11399 # no search path for DLLs.
11400 case $cc_basename in
11403 hardcode_libdir_flag_spec
=' '
11404 allow_undefined_flag
=unsupported
11405 always_export_symbols
=yes
11407 # Tell ltmain to make .lib files, not .a files.
11409 # Tell ltmain to make .dll files, not .so files.
11411 # FIXME: Setting linknames here is a bad hack.
11412 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11413 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11414 cp "$export_symbols" "$output_objdir/$soname.def";
11415 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11417 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11419 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11421 # The linker will not automatically build a static lib if we build a DLL.
11422 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11423 enable_shared_with_static_runtimes
=yes
11424 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11425 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11427 old_postinstall_cmds
='chmod 644 $oldlib'
11428 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11429 lt_tool_outputfile="@TOOL_OUTPUT@"~
11430 case $lt_outputfile in
11433 lt_outputfile=$lt_outputfile.exe
11434 lt_tool_outputfile=$lt_tool_outputfile.exe
11437 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11438 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11439 $RM "$lt_outputfile.manifest";
11443 # Assume MSVC wrapper
11444 hardcode_libdir_flag_spec
=' '
11445 allow_undefined_flag
=unsupported
11446 # Tell ltmain to make .lib files, not .a files.
11448 # Tell ltmain to make .dll files, not .so files.
11450 # FIXME: Setting linknames here is a bad hack.
11451 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11452 # The linker will automatically build a .lib file if we build a DLL.
11453 old_archive_from_new_cmds
='true'
11454 # FIXME: Should let the user specify the lib program.
11455 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11456 enable_shared_with_static_runtimes
=yes
11461 darwin
* | rhapsody
*)
11464 archive_cmds_need_lc
=no
11466 hardcode_automatic
=yes
11467 hardcode_shlibpath_var
=unsupported
11468 if test yes = "$lt_cv_ld_force_load"; then
11469 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\"`'
11472 whole_archive_flag_spec
=''
11474 link_all_deplibs
=yes
11475 allow_undefined_flag
=$_lt_dar_allow_undefined
11476 case $cc_basename in
11477 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11478 *) _lt_dar_can_shared
=$GCC ;;
11480 if test yes = "$_lt_dar_can_shared"; then
11481 output_verbose_link_cmd
=func_echo_all
11482 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11483 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11484 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"
11485 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"
11494 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11495 hardcode_libdir_flag_spec
='-L$libdir'
11496 hardcode_shlibpath_var
=no
11499 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11500 # support. Future versions do this automatically, but an explicit c++rt0.o
11501 # does not break anything, and helps significantly (at the cost of a little
11504 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11505 hardcode_libdir_flag_spec
='-R$libdir'
11506 hardcode_direct
=yes
11507 hardcode_shlibpath_var
=no
11510 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11512 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11513 hardcode_direct
=yes
11514 hardcode_minus_L
=yes
11515 hardcode_shlibpath_var
=no
11518 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11519 freebsd
* | dragonfly
*)
11520 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11521 hardcode_libdir_flag_spec
='-R$libdir'
11522 hardcode_direct
=yes
11523 hardcode_shlibpath_var
=no
11527 if test yes = "$GCC"; then
11528 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11530 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11532 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11533 hardcode_libdir_separator
=:
11534 hardcode_direct
=yes
11536 # hardcode_minus_L: Not really in the search PATH,
11537 # but as the default location of the library.
11538 hardcode_minus_L
=yes
11539 export_dynamic_flag_spec
='$wl-E'
11543 if test yes,no
= "$GCC,$with_gnu_ld"; then
11544 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11546 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11548 if test no
= "$with_gnu_ld"; then
11549 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11550 hardcode_libdir_separator
=:
11551 hardcode_direct
=yes
11552 hardcode_direct_absolute
=yes
11553 export_dynamic_flag_spec
='$wl-E'
11554 # hardcode_minus_L: Not really in the search PATH,
11555 # but as the default location of the library.
11556 hardcode_minus_L
=yes
11561 if test yes,no
= "$GCC,$with_gnu_ld"; then
11564 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11567 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11570 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11576 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11579 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11583 # Older versions of the 11.00 compiler do not understand -b yet
11584 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11586 $as_echo_n "checking if $CC understands -b... " >&6; }
11587 if ${lt_cv_prog_compiler__b+:} false
; then :
11588 $as_echo_n "(cached) " >&6
11590 lt_cv_prog_compiler__b
=no
11591 save_LDFLAGS
=$LDFLAGS
11592 LDFLAGS
="$LDFLAGS -b"
11593 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11594 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11595 # The linker can only warn and ignore the option if not recognized
11596 # So say no if there are warnings
11597 if test -s conftest.err
; then
11598 # Append any errors to the config.log.
11599 cat conftest.err
1>&5
11600 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11601 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11602 if diff conftest.exp conftest.er2
>/dev
/null
; then
11603 lt_cv_prog_compiler__b
=yes
11606 lt_cv_prog_compiler__b
=yes
11610 LDFLAGS
=$save_LDFLAGS
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11614 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11616 if test yes = "$lt_cv_prog_compiler__b"; then
11617 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11619 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11625 if test no
= "$with_gnu_ld"; then
11626 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11627 hardcode_libdir_separator
=:
11632 hardcode_shlibpath_var
=no
11635 hardcode_direct
=yes
11636 hardcode_direct_absolute
=yes
11637 export_dynamic_flag_spec
='$wl-E'
11639 # hardcode_minus_L: Not really in the search PATH,
11640 # but as the default location of the library.
11641 hardcode_minus_L
=yes
11647 irix5
* | irix6
* | nonstopux
*)
11648 if test yes = "$GCC"; then
11649 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'
11650 # Try to use the -exported_symbol ld option, if it does not
11651 # work, assume that -exports_file does not work either and
11652 # implicitly export all symbols.
11653 # This should be the same for all languages, so no per-tag cache variable.
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11655 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11656 if ${lt_cv_irix_exported_symbol+:} false
; then :
11657 $as_echo_n "(cached) " >&6
11659 save_LDFLAGS
=$LDFLAGS
11660 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11663 int foo (void) { return 0; }
11665 if ac_fn_c_try_link
"$LINENO"; then :
11666 lt_cv_irix_exported_symbol
=yes
11668 lt_cv_irix_exported_symbol
=no
11670 rm -f core conftest.err conftest.
$ac_objext \
11671 conftest
$ac_exeext conftest.
$ac_ext
11672 LDFLAGS
=$save_LDFLAGS
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11675 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11676 if test yes = "$lt_cv_irix_exported_symbol"; then
11677 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'
11680 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'
11681 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'
11683 archive_cmds_need_lc
='no'
11684 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11685 hardcode_libdir_separator
=:
11687 link_all_deplibs
=yes
11691 case $cc_basename in
11693 # Fabrice Bellard et al's Tiny C Compiler
11695 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11701 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11702 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11704 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11706 hardcode_libdir_flag_spec
='-R$libdir'
11707 hardcode_direct
=yes
11708 hardcode_shlibpath_var
=no
11712 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11713 hardcode_direct
=yes
11714 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11715 hardcode_libdir_separator
=:
11716 hardcode_shlibpath_var
=no
11722 openbsd
* | bitrig
*)
11723 if test -f /usr
/libexec
/ld.so
; then
11724 hardcode_direct
=yes
11725 hardcode_shlibpath_var
=no
11726 hardcode_direct_absolute
=yes
11727 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11728 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11729 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11730 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11731 export_dynamic_flag_spec
='$wl-E'
11733 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11734 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11742 hardcode_libdir_flag_spec
='-L$libdir'
11743 hardcode_minus_L
=yes
11744 allow_undefined_flag
=unsupported
11746 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11747 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11748 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11749 $ECHO EXPORTS >> $output_objdir/$libname.def~
11750 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11751 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11752 emximp -o $lib $output_objdir/$libname.def'
11753 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11754 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11755 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11756 $ECHO EXPORTS >> $output_objdir/$libname.def~
11757 prefix_cmds="$SED"~
11758 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11759 prefix_cmds="$prefix_cmds -e 1d";
11761 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11762 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11763 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11764 emximp -o $lib $output_objdir/$libname.def'
11765 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11766 enable_shared_with_static_runtimes
=yes
11770 if test yes = "$GCC"; then
11771 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11772 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'
11774 allow_undefined_flag
=' -expect_unresolved \*'
11775 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'
11777 archive_cmds_need_lc
='no'
11778 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11779 hardcode_libdir_separator
=:
11782 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11783 if test yes = "$GCC"; then
11784 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
11785 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'
11786 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11788 allow_undefined_flag
=' -expect_unresolved \*'
11789 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'
11790 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~
11791 $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'
11793 # Both c and cxx compiler support -rpath directly
11794 hardcode_libdir_flag_spec
='-rpath $libdir'
11796 archive_cmds_need_lc
='no'
11797 hardcode_libdir_separator
=:
11801 no_undefined_flag
=' -z defs'
11802 if test yes = "$GCC"; then
11804 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11805 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11806 $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'
11808 case `$CC -V 2>&1` in
11811 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11812 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11813 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11817 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11818 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11819 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11823 hardcode_libdir_flag_spec
='-R$libdir'
11824 hardcode_shlibpath_var
=no
11826 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11828 # The compiler driver will combine and reorder linker options,
11829 # but understands '-z linker_flag'. GCC discards it without '$wl',
11830 # but is careful enough not to reorder.
11831 # Supported since Solaris 2.6 (maybe 2.5.1?)
11832 if test yes = "$GCC"; then
11833 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11835 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11839 link_all_deplibs
=yes
11843 if test sequent
= "$host_vendor"; then
11844 # Use $CC to link under sequent, because it throws in some extra .o
11845 # files that make .init and .fini sections work.
11846 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11848 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11850 hardcode_libdir_flag_spec
='-L$libdir'
11851 hardcode_direct
=yes
11852 hardcode_minus_L
=yes
11853 hardcode_shlibpath_var
=no
11857 case $host_vendor in
11859 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11860 hardcode_direct
=yes # is this really true???
11863 ## LD is ld it makes a PLAMLIB
11864 ## CC just makes a GrossModule.
11865 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11866 reload_cmds
='$CC -r -o $output$reload_objs'
11870 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11871 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11874 runpath_var
='LD_RUN_PATH'
11875 hardcode_shlibpath_var
=no
11879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11880 hardcode_shlibpath_var
=no
11881 export_dynamic_flag_spec
='-Bexport'
11885 if test -d /usr
/nec
; then
11886 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11887 hardcode_shlibpath_var
=no
11888 runpath_var
=LD_RUN_PATH
11889 hardcode_runpath_var
=yes
11894 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11895 no_undefined_flag
='$wl-z,text'
11896 archive_cmds_need_lc
=no
11897 hardcode_shlibpath_var
=no
11898 runpath_var
='LD_RUN_PATH'
11900 if test yes = "$GCC"; then
11901 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11902 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11904 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11905 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11909 sysv5
* | sco3.2v5
* | sco5v6
*)
11910 # Note: We CANNOT use -z defs as we might desire, because we do not
11911 # link with -lc, and that would cause any symbols used from libc to
11912 # always be unresolved, which means just about no library would
11913 # ever link correctly. If we're not using GNU ld we use -z text
11914 # though, which does catch some bad symbols but isn't as heavy-handed
11916 no_undefined_flag
='$wl-z,text'
11917 allow_undefined_flag
='$wl-z,nodefs'
11918 archive_cmds_need_lc
=no
11919 hardcode_shlibpath_var
=no
11920 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11921 hardcode_libdir_separator
=':'
11922 link_all_deplibs
=yes
11923 export_dynamic_flag_spec
='$wl-Bexport'
11924 runpath_var
='LD_RUN_PATH'
11926 if test yes = "$GCC"; then
11927 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11928 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11930 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11931 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11936 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11937 hardcode_libdir_flag_spec
='-L$libdir'
11938 hardcode_shlibpath_var
=no
11946 if test sni
= "$host_vendor"; then
11948 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11949 export_dynamic_flag_spec
='$wl-Blargedynsym'
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11956 $as_echo "$ld_shlibs" >&6; }
11957 test no
= "$ld_shlibs" && can_build_shared
=no
11959 with_gnu_ld
=$with_gnu_ld
11976 # Do we need to explicitly link libc?
11978 case "x$archive_cmds_need_lc" in
11980 # Assume -lc should be added
11981 archive_cmds_need_lc
=yes
11983 if test yes,yes = "$GCC,$enable_shared"; then
11984 case $archive_cmds in
11986 # FIXME: we may have to deal with multi-command sequences.
11989 # Test whether the compiler implicitly links with -lc since on some
11990 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11991 # to ld, don't add -lc before -lgcc.
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11993 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11994 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11995 $as_echo_n "(cached) " >&6
11998 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12001 (eval $ac_compile) 2>&5
12003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12004 test $ac_status = 0; } 2>conftest.err
; then
12007 libobjs
=conftest.
$ac_objext
12009 wl
=$lt_prog_compiler_wl
12010 pic_flag
=$lt_prog_compiler_pic
12016 lt_save_allow_undefined_flag
=$allow_undefined_flag
12017 allow_undefined_flag
=
12018 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12019 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12022 test $ac_status = 0; }
12024 lt_cv_archive_cmds_need_lc
=no
12026 lt_cv_archive_cmds_need_lc
=yes
12028 allow_undefined_flag
=$lt_save_allow_undefined_flag
12030 cat conftest.err
1>&5
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12036 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12037 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12196 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12198 if test yes = "$GCC"; then
12200 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12201 *) lt_awk_arg
='/^libraries:/' ;;
12204 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12205 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12207 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12208 case $lt_search_path_spec in
12210 # if the path contains ";" then we assume it to be the separator
12211 # otherwise default to the standard path separator (i.e. ":") - it is
12212 # assumed that no part of a normal pathname contains ";" but that should
12213 # okay in the real world where ";" in dirpaths is itself problematic.
12214 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12217 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12220 # Ok, now we have the path, separated by spaces, we can step through it
12221 # and add multilib dir if necessary...
12222 lt_tmp_lt_search_path_spec
=
12223 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12224 # ...but if some path component already ends with the multilib dir we assume
12225 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12226 case "$lt_multi_os_dir; $lt_search_path_spec " in
12227 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12231 for lt_sys_path
in $lt_search_path_spec; do
12232 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12233 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12234 elif test -n "$lt_multi_os_dir"; then
12235 test -d "$lt_sys_path" && \
12236 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12239 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12240 BEGIN {RS = " "; FS = "/|\n";} {
12243 for (lt_i = NF; lt_i > 0; lt_i--) {
12244 if ($lt_i != "" && $lt_i != ".") {
12245 if ($lt_i == "..") {
12248 if (lt_count == 0) {
12249 lt_foo = "/" $lt_i lt_foo;
12256 if (lt_foo != "") { lt_freq[lt_foo]++; }
12257 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12259 # AWK program above erroneously prepends '/' to C:/dos/paths
12262 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12263 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12265 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12267 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12269 library_names_spec
=
12270 libname_spec
='lib$name'
12274 postuninstall_cmds
=
12278 shlibpath_overrides_runpath
=unknown
12280 dynamic_linker
="$host_os ld.so"
12281 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12282 need_lib_prefix
=unknown
12283 hardcode_into_libs
=no
12285 # when you set need_version to no, make sure it does not cause -set_version
12286 # flags to be left without arguments
12287 need_version
=unknown
12293 version_type
=linux
# correct to gnu/linux during the next big refactor
12294 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12295 shlibpath_var
=LIBPATH
12297 # AIX 3 has no versioning support, so we append a major version to the name.
12298 soname_spec
='$libname$release$shared_ext$major'
12302 version_type
=linux
# correct to gnu/linux during the next big refactor
12305 hardcode_into_libs
=yes
12306 if test ia64
= "$host_cpu"; then
12307 # AIX 5 supports IA64
12308 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12309 shlibpath_var
=LD_LIBRARY_PATH
12311 # With GCC up to 2.95.x, collect2 would create an import file
12312 # for dependence libraries. The import file would start with
12313 # the line '#! .'. This would cause the generated library to
12314 # depend on '.', always an invalid library. This was fixed in
12315 # development snapshots of GCC prior to 3.0.
12317 aix4 | aix4.
[01] | aix4.
[01].
*)
12318 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12320 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12323 can_build_shared
=no
12327 # Using Import Files as archive members, it is possible to support
12328 # filename-based versioning of shared library archives on AIX. While
12329 # this would work for both with and without runtime linking, it will
12330 # prevent static linking of such archives. So we do filename-based
12331 # shared library versioning with .so extension only, which is used
12332 # when both runtime linking and shared linking is enabled.
12333 # Unfortunately, runtime linking may impact performance, so we do
12334 # not want this to be the default eventually. Also, we use the
12335 # versioned .so libs for executables only if there is the -brtl
12336 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12337 # To allow for filename-based versioning support, we need to create
12338 # libNAME.so.V as an archive file, containing:
12339 # *) an Import File, referring to the versioned filename of the
12340 # archive as well as the shared archive member, telling the
12341 # bitwidth (32 or 64) of that shared object, and providing the
12342 # list of exported symbols of that shared object, eventually
12343 # decorated with the 'weak' keyword
12344 # *) the shared object with the F_LOADONLY flag set, to really avoid
12345 # it being seen by the linker.
12346 # At run time we better use the real file rather than another symlink,
12347 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12349 case $with_aix_soname,$aix_use_runtimelinking in
12350 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12351 # soname into executable. Probably we can add versioning support to
12352 # collect2, so additional links can be useful in future.
12353 aix
,yes) # traditional libtool
12354 dynamic_linker
='AIX unversionable lib.so'
12355 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12356 # instead of lib<name>.a to let people know that these are not
12357 # typical AIX shared libraries.
12358 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12360 aix
,no
) # traditional AIX only
12361 dynamic_linker
='AIX lib.a(lib.so.V)'
12362 # We preserve .a as extension for shared libraries through AIX4.2
12363 # and later when we are not doing run time linking.
12364 library_names_spec
='$libname$release.a $libname.a'
12365 soname_spec
='$libname$release$shared_ext$major'
12367 svr4
,*) # full svr4 only
12368 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12369 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12370 # We do not specify a path in Import Files, so LIBPATH fires.
12371 shlibpath_overrides_runpath
=yes
12373 *,yes) # both, prefer svr4
12374 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12375 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12376 # unpreferred sharedlib libNAME.a needs extra handling
12377 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12378 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12379 # We do not specify a path in Import Files, so LIBPATH fires.
12380 shlibpath_overrides_runpath
=yes
12382 *,no
) # both, prefer aix
12383 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12384 library_names_spec
='$libname$release.a $libname.a'
12385 soname_spec
='$libname$release$shared_ext$major'
12386 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12387 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12388 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12391 shlibpath_var
=LIBPATH
12398 # Since July 2007 AmigaOS4 officially supports .so libraries.
12399 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12400 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12403 library_names_spec
='$libname.ixlibrary $libname.a'
12404 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12405 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12411 library_names_spec
='$libname$shared_ext'
12412 dynamic_linker
="$host_os ld.so"
12413 shlibpath_var
=LIBRARY_PATH
12417 version_type
=linux
# correct to gnu/linux during the next big refactor
12419 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12420 soname_spec
='$libname$release$shared_ext$major'
12421 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12422 shlibpath_var
=LD_LIBRARY_PATH
12423 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12424 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12425 # the default ld.so.conf also contains /usr/contrib/lib and
12426 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12427 # libtool to hard-code these into programs
12430 cygwin
* | mingw
* | pw32
* | cegcc
*)
12431 version_type
=windows
12436 case $GCC,$cc_basename in
12439 library_names_spec
='$libname.dll.a'
12440 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12441 postinstall_cmds
='base_file=`basename \$file`~
12442 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12443 dldir=$destdir/`dirname \$dlpath`~
12444 test -d \$dldir || mkdir -p \$dldir~
12445 $install_prog $dir/$dlname \$dldir/$dlname~
12446 chmod a+x \$dldir/$dlname~
12447 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12448 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12450 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12451 dlpath=$dir/\$dldll~
12453 shlibpath_overrides_runpath
=yes
12457 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12458 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12460 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12463 # MinGW DLLs use traditional 'lib' prefix
12464 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12467 # pw32 DLLs use 'pw' prefix rather than 'lib'
12468 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12471 dynamic_linker
='Win32 ld.exe'
12476 libname_spec
='$name'
12477 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12478 library_names_spec
='$libname.dll.lib'
12482 sys_lib_search_path_spec
=
12485 for lt_path
in $LIB
12488 # Let DOS variable expansion print the short 8.3 style file name.
12489 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12490 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12493 # Convert to MSYS style.
12494 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12497 # Convert to unix form, then to dos form, then back to unix form
12498 # but this time dos style (no spaces!) so that the unix form looks
12499 # like /cygdrive/c/PROGRA~1:/cygdr...
12500 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12501 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12502 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12505 sys_lib_search_path_spec
=$LIB
12506 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12507 # It is most probably a Windows format PATH.
12508 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12510 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12512 # FIXME: find the short name or the path components, as spaces are
12513 # common. (e.g. "Program Files" -> "PROGRA~1")
12517 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12518 postinstall_cmds
='base_file=`basename \$file`~
12519 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12520 dldir=$destdir/`dirname \$dlpath`~
12521 test -d \$dldir || mkdir -p \$dldir~
12522 $install_prog $dir/$dlname \$dldir/$dlname'
12523 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12524 dlpath=$dir/\$dldll~
12526 shlibpath_overrides_runpath
=yes
12527 dynamic_linker
='Win32 link.exe'
12531 # Assume MSVC wrapper
12532 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12533 dynamic_linker
='Win32 ld.exe'
12536 # FIXME: first we should search . and the directory the executable is in
12540 darwin
* | rhapsody
*)
12541 dynamic_linker
="$host_os dyld"
12542 version_type
=darwin
12545 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12546 soname_spec
='$libname$release$major$shared_ext'
12547 shlibpath_overrides_runpath
=yes
12548 shlibpath_var
=DYLD_LIBRARY_PATH
12549 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12551 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12552 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12556 version_type
=linux
# correct to gnu/linux during the next big refactor
12559 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12560 soname_spec
='$libname$release$shared_ext$major'
12561 shlibpath_var
=LD_LIBRARY_PATH
12564 freebsd
* | dragonfly
*)
12565 # DragonFly does not have aout. When/if they implement a new
12566 # versioning mechanism, adjust this.
12567 if test -x /usr
/bin
/objformat
; then
12568 objformat
=`/usr/bin/objformat`
12571 freebsd
[23].
*) objformat
=aout
;;
12572 *) objformat
=elf
;;
12575 version_type
=freebsd-
$objformat
12576 case $version_type in
12578 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12579 soname_spec
='$libname$release$shared_ext$major'
12584 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12588 shlibpath_var
=LD_LIBRARY_PATH
12591 shlibpath_overrides_runpath
=yes
12593 freebsd3.
[01]* | freebsdelf3.
[01]*)
12594 shlibpath_overrides_runpath
=yes
12595 hardcode_into_libs
=yes
12597 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12598 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12599 shlibpath_overrides_runpath
=no
12600 hardcode_into_libs
=yes
12602 *) # from 4.6 on, and DragonFly
12603 shlibpath_overrides_runpath
=yes
12604 hardcode_into_libs
=yes
12610 version_type
=linux
# correct to gnu/linux during the next big refactor
12613 dynamic_linker
="$host_os runtime_loader"
12614 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12615 soname_spec
='$libname$release$shared_ext$major'
12616 shlibpath_var
=LIBRARY_PATH
12617 shlibpath_overrides_runpath
=no
12618 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12619 hardcode_into_libs
=yes
12622 hpux9
* | hpux10
* | hpux11
*)
12623 # Give a soname corresponding to the major version so that dld.sl refuses to
12624 # link against other versions.
12631 hardcode_into_libs
=yes
12632 dynamic_linker
="$host_os dld.so"
12633 shlibpath_var
=LD_LIBRARY_PATH
12634 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12635 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12636 soname_spec
='$libname$release$shared_ext$major'
12637 if test 32 = "$HPUX_IA64_MODE"; then
12638 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12639 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12641 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12642 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12647 hardcode_into_libs
=yes
12648 dynamic_linker
="$host_os dld.sl"
12649 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12650 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12651 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12652 soname_spec
='$libname$release$shared_ext$major'
12653 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12654 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12658 dynamic_linker
="$host_os dld.sl"
12659 shlibpath_var
=SHLIB_PATH
12660 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12661 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12662 soname_spec
='$libname$release$shared_ext$major'
12665 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12666 postinstall_cmds
='chmod 555 $lib'
12667 # or fails outright, so override atomically:
12668 install_override_mode
=555
12672 version_type
=linux
# correct to gnu/linux during the next big refactor
12675 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12676 soname_spec
='$libname$release$shared_ext$major'
12677 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12678 shlibpath_var
=LD_LIBRARY_PATH
12679 shlibpath_overrides_runpath
=no
12680 hardcode_into_libs
=yes
12683 irix5
* | irix6
* | nonstopux
*)
12685 nonstopux
*) version_type
=nonstopux
;;
12687 if test yes = "$lt_cv_prog_gnu_ld"; then
12688 version_type
=linux
# correct to gnu/linux during the next big refactor
12695 soname_spec
='$libname$release$shared_ext$major'
12696 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12698 irix5
* | nonstopux
*)
12699 libsuff
= shlibsuff
=
12702 case $LD in # libtool.m4 will add one of these switches to LD
12703 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12704 libsuff
= shlibsuff
= libmagic
=32-bit;;
12705 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12706 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12707 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12708 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12709 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12713 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12714 shlibpath_overrides_runpath
=no
12715 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12716 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
12717 hardcode_into_libs
=yes
12720 # No shared lib support for Linux oldld, aout, or coff.
12721 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12726 version_type
=none
# Android doesn't support versioned libraries.
12729 library_names_spec
='$libname$release$shared_ext'
12730 soname_spec
='$libname$release$shared_ext'
12732 shlibpath_var
=LD_LIBRARY_PATH
12733 shlibpath_overrides_runpath
=yes
12735 # This implies no fast_install, which is unacceptable.
12736 # Some rework will be needed to allow for fast_install
12737 # before this can be enabled.
12738 hardcode_into_libs
=yes
12740 dynamic_linker
='Android linker'
12741 # Don't embed -rpath directories since the linker doesn't support them.
12742 hardcode_libdir_flag_spec
='-L$libdir'
12745 # This must be glibc/ELF.
12746 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
12747 version_type
=linux
# correct to gnu/linux during the next big refactor
12750 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12751 soname_spec
='$libname$release$shared_ext$major'
12752 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12753 shlibpath_var
=LD_LIBRARY_PATH
12754 shlibpath_overrides_runpath
=no
12756 # Some binutils ld are patched to set DT_RUNPATH
12757 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12758 $as_echo_n "(cached) " >&6
12760 lt_cv_shlibpath_overrides_runpath
=no
12761 save_LDFLAGS
=$LDFLAGS
12762 save_libdir
=$libdir
12763 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12764 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12776 if ac_fn_c_try_link
"$LINENO"; then :
12777 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12778 lt_cv_shlibpath_overrides_runpath
=yes
12781 rm -f core conftest.err conftest.
$ac_objext \
12782 conftest
$ac_exeext conftest.
$ac_ext
12783 LDFLAGS
=$save_LDFLAGS
12784 libdir
=$save_libdir
12788 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12790 # This implies no fast_install, which is unacceptable.
12791 # Some rework will be needed to allow for fast_install
12792 # before this can be enabled.
12793 hardcode_into_libs
=yes
12795 # Ideally, we could use ldconfig to report *all* directores which are
12796 # searched for libraries, however this is still not possible. Aside from not
12797 # being certain /sbin/ldconfig is available, command
12798 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12799 # even though it is searched at run-time. Try to do the best guess by
12800 # appending ld.so.conf contents (and includes) to the search path.
12801 if test -f /etc
/ld.so.conf
; then
12802 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' ' '`
12803 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12806 # We used to test for /lib/ld.so.1 and disable shared libraries on
12807 # powerpc, because MkLinux only supported shared libraries with the
12808 # GNU dynamic linker. Since this was broken with cross compilers,
12809 # most powerpc-linux boxes support dynamic linking these days and
12810 # people can always --disable-shared, the test was removed, and we
12811 # assume the GNU/Linux dynamic linker is in use.
12812 dynamic_linker
='GNU/Linux ld.so'
12819 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12820 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12821 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12822 dynamic_linker
='NetBSD (a.out) ld.so'
12824 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12825 soname_spec
='$libname$release$shared_ext$major'
12826 dynamic_linker
='NetBSD ld.elf_so'
12828 shlibpath_var
=LD_LIBRARY_PATH
12829 shlibpath_overrides_runpath
=yes
12830 hardcode_into_libs
=yes
12834 version_type
=linux
# correct to gnu/linux during the next big refactor
12835 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12836 shlibpath_var
=LD_LIBRARY_PATH
12837 shlibpath_overrides_runpath
=yes
12844 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12845 soname_spec
='$libname$release$shared_ext$major'
12846 shlibpath_var
=LD_LIBRARY_PATH
12847 shlibpath_overrides_runpath
=no
12848 hardcode_into_libs
=yes
12849 dynamic_linker
='ldqnx.so'
12852 openbsd
* | bitrig
*)
12854 sys_lib_dlsearch_path_spec
=/usr
/lib
12856 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12861 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12862 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12863 shlibpath_var
=LD_LIBRARY_PATH
12864 shlibpath_overrides_runpath
=yes
12868 libname_spec
='$name'
12869 version_type
=windows
12873 # OS/2 can only load a DLL with a base name of 8 characters or less.
12874 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12875 v=$($ECHO $release$versuffix | tr -d .-);
12876 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12877 $ECHO $n$v`$shared_ext'
12878 library_names_spec
='${libname}_dll.$libext'
12879 dynamic_linker
='OS/2 ld.exe'
12880 shlibpath_var
=BEGINLIBPATH
12881 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12882 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12883 postinstall_cmds
='base_file=`basename \$file`~
12884 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12885 dldir=$destdir/`dirname \$dlpath`~
12886 test -d \$dldir || mkdir -p \$dldir~
12887 $install_prog $dir/$dlname \$dldir/$dlname~
12888 chmod a+x \$dldir/$dlname~
12889 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12890 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12892 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12893 dlpath=$dir/\$dldll~
12897 osf3
* | osf4
* | osf5
*)
12901 soname_spec
='$libname$release$shared_ext$major'
12902 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12903 shlibpath_var
=LD_LIBRARY_PATH
12904 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12905 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12913 version_type
=linux
# correct to gnu/linux during the next big refactor
12916 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12917 soname_spec
='$libname$release$shared_ext$major'
12918 shlibpath_var
=LD_LIBRARY_PATH
12919 shlibpath_overrides_runpath
=yes
12920 hardcode_into_libs
=yes
12921 # ldd complains unless libraries are executable
12922 postinstall_cmds
='chmod +x $lib'
12927 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12928 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12929 shlibpath_var
=LD_LIBRARY_PATH
12930 shlibpath_overrides_runpath
=yes
12931 if test yes = "$with_gnu_ld"; then
12938 version_type
=linux
# correct to gnu/linux during the next big refactor
12939 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12940 soname_spec
='$libname$release$shared_ext$major'
12941 shlibpath_var
=LD_LIBRARY_PATH
12942 case $host_vendor in
12944 shlibpath_overrides_runpath
=no
12946 runpath_var
=LD_RUN_PATH
12954 shlibpath_overrides_runpath
=no
12955 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12961 if test -d /usr
/nec
; then
12962 version_type
=linux
# correct to gnu/linux during the next big refactor
12963 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12964 soname_spec
='$libname$shared_ext.$major'
12965 shlibpath_var
=LD_LIBRARY_PATH
12969 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12973 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12974 soname_spec
='$libname$release$shared_ext$major'
12975 shlibpath_var
=LD_LIBRARY_PATH
12976 shlibpath_overrides_runpath
=yes
12977 hardcode_into_libs
=yes
12978 if test yes = "$with_gnu_ld"; then
12979 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12981 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12984 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12988 sys_lib_dlsearch_path_spec
='/usr/lib'
12992 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12993 version_type
=linux
# correct to gnu/linux during the next big refactor
12996 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12997 shlibpath_var
=LD_LIBRARY_PATH
12998 shlibpath_overrides_runpath
=no
12999 hardcode_into_libs
=yes
13003 version_type
=linux
# correct to gnu/linux during the next big refactor
13004 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13005 soname_spec
='$libname$release$shared_ext$major'
13006 shlibpath_var
=LD_LIBRARY_PATH
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13014 $as_echo "$dynamic_linker" >&6; }
13015 test no
= "$dynamic_linker" && can_build_shared
=no
13017 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13018 if test yes = "$GCC"; then
13019 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13022 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13023 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13026 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13027 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13030 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13031 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
13033 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13034 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13036 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13037 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13136 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13138 if test -n "$hardcode_libdir_flag_spec" ||
13139 test -n "$runpath_var" ||
13140 test yes = "$hardcode_automatic"; then
13142 # We can hardcode non-existent directories.
13143 if test no
!= "$hardcode_direct" &&
13144 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13145 # have to relink, otherwise we might link with an installed library
13146 # when we should be linking with a yet-to-be-installed one
13147 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13148 test no
!= "$hardcode_minus_L"; then
13149 # Linking always hardcodes the temporary library directory.
13150 hardcode_action
=relink
13152 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13153 hardcode_action
=immediate
13156 # We cannot hardcode anything, or else we can only hardcode existing
13158 hardcode_action
=unsupported
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13161 $as_echo "$hardcode_action" >&6; }
13163 if test relink
= "$hardcode_action" ||
13164 test yes = "$inherit_rpath"; then
13165 # Fast installation is not supported
13166 enable_fast_install
=no
13167 elif test yes = "$shlibpath_overrides_runpath" ||
13168 test no
= "$enable_shared"; then
13169 # Fast installation is not necessary
13170 enable_fast_install
=needless
13178 if test yes != "$enable_dlopen"; then
13179 enable_dlopen
=unknown
13180 enable_dlopen_self
=unknown
13181 enable_dlopen_self_static
=unknown
13188 lt_cv_dlopen
=load_add_on
13190 lt_cv_dlopen_self
=yes
13193 mingw
* | pw32
* | cegcc
*)
13194 lt_cv_dlopen
=LoadLibrary
13199 lt_cv_dlopen
=dlopen
13204 # if libdl is installed we need to link against it
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13206 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13207 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13208 $as_echo_n "(cached) " >&6
13210 ac_check_lib_save_LIBS
=$LIBS
13212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13215 /* Override any GCC internal prototype to avoid an error.
13216 Use char because int might match the return type of a GCC
13217 builtin and then its argument prototype would still apply. */
13230 if ac_fn_c_try_link
"$LINENO"; then :
13231 ac_cv_lib_dl_dlopen
=yes
13233 ac_cv_lib_dl_dlopen
=no
13235 rm -f core conftest.err conftest.
$ac_objext \
13236 conftest
$ac_exeext conftest.
$ac_ext
13237 LIBS
=$ac_check_lib_save_LIBS
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13240 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13241 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13242 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13247 lt_cv_dlopen_self
=yes
13254 # Don't try to run any link tests for TPF. We know it's impossible
13255 # because TPF is a cross-compiler, and we know how we open DSOs.
13256 lt_cv_dlopen
=dlopen
13258 lt_cv_dlopen_self
=no
13262 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13263 if test "x$ac_cv_func_shl_load" = xyes
; then :
13264 lt_cv_dlopen
=shl_load
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13267 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13268 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13269 $as_echo_n "(cached) " >&6
13271 ac_check_lib_save_LIBS
=$LIBS
13273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13286 return shl_load ();
13291 if ac_fn_c_try_link
"$LINENO"; then :
13292 ac_cv_lib_dld_shl_load
=yes
13294 ac_cv_lib_dld_shl_load
=no
13296 rm -f core conftest.err conftest.
$ac_objext \
13297 conftest
$ac_exeext conftest.
$ac_ext
13298 LIBS
=$ac_check_lib_save_LIBS
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13301 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13302 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13303 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13305 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13306 if test "x$ac_cv_func_dlopen" = xyes
; then :
13307 lt_cv_dlopen
=dlopen
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13310 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13311 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13312 $as_echo_n "(cached) " >&6
13314 ac_check_lib_save_LIBS
=$LIBS
13316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h. */
13319 /* Override any GCC internal prototype to avoid an error.
13320 Use char because int might match the return type of a GCC
13321 builtin and then its argument prototype would still apply. */
13334 if ac_fn_c_try_link
"$LINENO"; then :
13335 ac_cv_lib_dl_dlopen
=yes
13337 ac_cv_lib_dl_dlopen
=no
13339 rm -f core conftest.err conftest.
$ac_objext \
13340 conftest
$ac_exeext conftest.
$ac_ext
13341 LIBS
=$ac_check_lib_save_LIBS
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13344 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13345 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13346 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13349 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13350 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13351 $as_echo_n "(cached) " >&6
13353 ac_check_lib_save_LIBS
=$LIBS
13354 LIBS
="-lsvld $LIBS"
13355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13358 /* Override any GCC internal prototype to avoid an error.
13359 Use char because int might match the return type of a GCC
13360 builtin and then its argument prototype would still apply. */
13373 if ac_fn_c_try_link
"$LINENO"; then :
13374 ac_cv_lib_svld_dlopen
=yes
13376 ac_cv_lib_svld_dlopen
=no
13378 rm -f core conftest.err conftest.
$ac_objext \
13379 conftest
$ac_exeext conftest.
$ac_ext
13380 LIBS
=$ac_check_lib_save_LIBS
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13383 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13384 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13385 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13388 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13389 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 ac_check_lib_save_LIBS
=$LIBS
13394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13407 return dld_link ();
13412 if ac_fn_c_try_link
"$LINENO"; then :
13413 ac_cv_lib_dld_dld_link
=yes
13415 ac_cv_lib_dld_dld_link
=no
13417 rm -f core conftest.err conftest.
$ac_objext \
13418 conftest
$ac_exeext conftest.
$ac_ext
13419 LIBS
=$ac_check_lib_save_LIBS
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13422 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13423 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13424 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13445 if test no
= "$lt_cv_dlopen"; then
13451 case $lt_cv_dlopen in
13453 save_CPPFLAGS
=$CPPFLAGS
13454 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13456 save_LDFLAGS
=$LDFLAGS
13457 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13460 LIBS
="$lt_cv_dlopen_libs $LIBS"
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13463 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13464 if ${lt_cv_dlopen_self+:} false
; then :
13465 $as_echo_n "(cached) " >&6
13467 if test yes = "$cross_compiling"; then :
13468 lt_cv_dlopen_self
=cross
13470 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13471 lt_status
=$lt_dlunknown
13472 cat > conftest.
$ac_ext <<_LT_EOF
13473 #line $LINENO "configure"
13474 #include "confdefs.h"
13483 # define LT_DLGLOBAL RTLD_GLOBAL
13486 # define LT_DLGLOBAL DL_GLOBAL
13488 # define LT_DLGLOBAL 0
13492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13493 find out it does not work in some platform. */
13494 #ifndef LT_DLLAZY_OR_NOW
13496 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13499 # define LT_DLLAZY_OR_NOW DL_LAZY
13502 # define LT_DLLAZY_OR_NOW RTLD_NOW
13505 # define LT_DLLAZY_OR_NOW DL_NOW
13507 # define LT_DLLAZY_OR_NOW 0
13514 /* When -fvisibility=hidden is used, assume the code has been annotated
13515 correspondingly for the symbols needed. */
13516 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13517 int fnord () __attribute__((visibility("default")));
13520 int fnord () { return 42; }
13523 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13524 int status = $lt_dlunknown;
13528 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13531 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13532 else puts (dlerror ());
13534 /* dlclose (self); */
13542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13543 (eval $ac_link) 2>&5
13545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13546 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13547 (.
/conftest
; exit; ) >&5 2>/dev
/null
13549 case x
$lt_status in
13550 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13551 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13552 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13555 # compilation failed
13556 lt_cv_dlopen_self
=no
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13564 $as_echo "$lt_cv_dlopen_self" >&6; }
13566 if test yes = "$lt_cv_dlopen_self"; then
13567 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13569 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13570 if ${lt_cv_dlopen_self_static+:} false
; then :
13571 $as_echo_n "(cached) " >&6
13573 if test yes = "$cross_compiling"; then :
13574 lt_cv_dlopen_self_static
=cross
13576 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13577 lt_status
=$lt_dlunknown
13578 cat > conftest.
$ac_ext <<_LT_EOF
13579 #line $LINENO "configure"
13580 #include "confdefs.h"
13589 # define LT_DLGLOBAL RTLD_GLOBAL
13592 # define LT_DLGLOBAL DL_GLOBAL
13594 # define LT_DLGLOBAL 0
13598 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13599 find out it does not work in some platform. */
13600 #ifndef LT_DLLAZY_OR_NOW
13602 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13605 # define LT_DLLAZY_OR_NOW DL_LAZY
13608 # define LT_DLLAZY_OR_NOW RTLD_NOW
13611 # define LT_DLLAZY_OR_NOW DL_NOW
13613 # define LT_DLLAZY_OR_NOW 0
13620 /* When -fvisibility=hidden is used, assume the code has been annotated
13621 correspondingly for the symbols needed. */
13622 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13623 int fnord () __attribute__((visibility("default")));
13626 int fnord () { return 42; }
13629 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13630 int status = $lt_dlunknown;
13634 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13637 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13638 else puts (dlerror ());
13640 /* dlclose (self); */
13648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13649 (eval $ac_link) 2>&5
13651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13652 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13653 (.
/conftest
; exit; ) >&5 2>/dev
/null
13655 case x
$lt_status in
13656 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13657 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13658 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13661 # compilation failed
13662 lt_cv_dlopen_self_static
=no
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13670 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13673 CPPFLAGS
=$save_CPPFLAGS
13674 LDFLAGS
=$save_LDFLAGS
13679 case $lt_cv_dlopen_self in
13680 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13681 *) enable_dlopen_self
=unknown
;;
13684 case $lt_cv_dlopen_self_static in
13685 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13686 *) enable_dlopen_self_static
=unknown
;;
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13709 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13710 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13711 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13712 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13714 $as_echo "yes" >&6; }
13716 # FIXME - insert some real tests, host_os isn't really good enough
13719 if test -n "$STRIP"; then
13720 striplib
="$STRIP -x"
13721 old_striplib
="$STRIP -S"
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13723 $as_echo "yes" >&6; }
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13726 $as_echo "no" >&6; }
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13731 $as_echo "no" >&6; }
13747 # Report what library types will actually be built
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13749 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13751 $as_echo "$can_build_shared" >&6; }
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13754 $as_echo_n "checking whether to build shared libraries... " >&6; }
13755 test no
= "$can_build_shared" && enable_shared
=no
13757 # On AIX, shared libraries and static libraries use the same namespace, and
13758 # are all built from PIC.
13761 test yes = "$enable_shared" && enable_static
=no
13762 if test -n "$RANLIB"; then
13763 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13764 postinstall_cmds
='$RANLIB $lib'
13769 if test ia64
!= "$host_cpu"; then
13770 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13771 yes,aix
,yes) ;; # shared object as lib.so file only
13772 yes,svr4
,*) ;; # shared object as lib.so archive member only
13773 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13779 $as_echo "$enable_shared" >&6; }
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13782 $as_echo_n "checking whether to build static libraries... " >&6; }
13783 # Make sure either enable_shared or enable_static is yes.
13784 test yes = "$enable_shared" || enable_static
=yes
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13786 $as_echo "$enable_static" >&6; }
13793 ac_cpp
='$CPP $CPPFLAGS'
13794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13814 ac_config_commands
="$ac_config_commands libtool"
13819 # Only expand once:
13824 # Extract the first word of "ar", so it can be a program name with args.
13825 set dummy
ar; ac_word
=$2
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13827 $as_echo_n "checking for $ac_word... " >&6; }
13828 if ${ac_cv_path_AR+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13833 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
13836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13837 for as_dir
in $PATH
13840 test -z "$as_dir" && as_dir
=.
13841 for ac_exec_ext
in '' $ac_executable_extensions; do
13842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13843 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
13844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
13856 if test -n "$AR"; then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13858 $as_echo "$AR" >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13861 $as_echo "no" >&6; }
13865 # Extract the first word of "rm", so it can be a program name with args.
13866 set dummy
rm; ac_word
=$2
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13868 $as_echo_n "checking for $ac_word... " >&6; }
13869 if ${ac_cv_path_RM+:} false
; then :
13870 $as_echo_n "(cached) " >&6
13874 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
13877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13878 for as_dir
in $PATH
13881 test -z "$as_dir" && as_dir
=.
13882 for ac_exec_ext
in '' $ac_executable_extensions; do
13883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13884 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
13885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13892 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
13897 if test -n "$RM"; then
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
13899 $as_echo "$RM" >&6; }
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13902 $as_echo "no" >&6; }
13906 # Extract the first word of "cp", so it can be a program name with args.
13907 set dummy
cp; ac_word
=$2
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13909 $as_echo_n "checking for $ac_word... " >&6; }
13910 if ${ac_cv_path_CP+:} false
; then :
13911 $as_echo_n "(cached) " >&6
13915 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13919 for as_dir
in $PATH
13922 test -z "$as_dir" && as_dir
=.
13923 for ac_exec_ext
in '' $ac_executable_extensions; do
13924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13925 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13933 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
13938 if test -n "$CP"; then
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
13940 $as_echo "$CP" >&6; }
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13943 $as_echo "no" >&6; }
13947 # Extract the first word of "ln", so it can be a program name with args.
13948 set dummy
ln; ac_word
=$2
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13950 $as_echo_n "checking for $ac_word... " >&6; }
13951 if ${ac_cv_path_LN+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13956 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
13959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13960 for as_dir
in $PATH
13963 test -z "$as_dir" && as_dir
=.
13964 for ac_exec_ext
in '' $ac_executable_extensions; do
13965 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13966 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
13967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13974 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
13979 if test -n "$LN"; then
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
13981 $as_echo "$LN" >&6; }
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13984 $as_echo "no" >&6; }
13988 # Extract the first word of "ls", so it can be a program name with args.
13989 set dummy
ls; ac_word
=$2
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13991 $as_echo_n "checking for $ac_word... " >&6; }
13992 if ${ac_cv_path_LS+:} false
; then :
13993 $as_echo_n "(cached) " >&6
13997 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
14000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14001 for as_dir
in $PATH
14004 test -z "$as_dir" && as_dir
=.
14005 for ac_exec_ext
in '' $ac_executable_extensions; do
14006 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14007 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
14008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14015 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
14020 if test -n "$LS"; then
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
14022 $as_echo "$LS" >&6; }
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14025 $as_echo "no" >&6; }
14029 # Extract the first word of "sed", so it can be a program name with args.
14030 set dummy
sed; ac_word
=$2
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14032 $as_echo_n "checking for $ac_word... " >&6; }
14033 if ${ac_cv_path_SED+:} false
; then :
14034 $as_echo_n "(cached) " >&6
14038 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
14041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14042 for as_dir
in $PATH
14045 test -z "$as_dir" && as_dir
=.
14046 for ac_exec_ext
in '' $ac_executable_extensions; do
14047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14048 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
14049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
14060 SED
=$ac_cv_path_SED
14061 if test -n "$SED"; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14063 $as_echo "$SED" >&6; }
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14066 $as_echo "no" >&6; }
14070 # Extract the first word of "make", so it can be a program name with args.
14071 set dummy
make; ac_word
=$2
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14073 $as_echo_n "checking for $ac_word... " >&6; }
14074 if ${ac_cv_path_MAKE+:} false
; then :
14075 $as_echo_n "(cached) " >&6
14079 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
14082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14083 for as_dir
in $PATH
14086 test -z "$as_dir" && as_dir
=.
14087 for ac_exec_ext
in '' $ac_executable_extensions; do
14088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14089 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
14090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14100 MAKE
=$ac_cv_path_MAKE
14101 if test -n "$MAKE"; then
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
14103 $as_echo "$MAKE" >&6; }
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14106 $as_echo "no" >&6; }
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14115 $as_echo_n "checking whether NLS is requested... " >&6; }
14116 # Check whether --enable-nls was given.
14117 if test "${enable_nls+set}" = set; then :
14118 enableval
=$enable_nls; USE_NLS
=$enableval
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14124 $as_echo "$USE_NLS" >&6; }
14131 # Prepare PATH_SEPARATOR.
14132 # The user is always right.
14133 if test "${PATH_SEPARATOR+set}" != set; then
14134 echo "#! /bin/sh" >conf$$.sh
14135 echo "exit 0" >>conf$$.sh
14137 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14145 # Find out how to test for executable files. Don't use a zero-byte file,
14146 # as systems may use methods other than mode bits to determine executability.
14147 cat >conf$$.
file <<_ASEOF
14151 chmod +x conf$$.
file
14152 if test -x conf$$.
file >/dev
/null
2>&1; then
14153 ac_executable_p
="test -x"
14155 ac_executable_p
="test -f"
14159 # Extract the first word of "msgfmt", so it can be a program name with args.
14160 set dummy msgfmt
; ac_word
=$2
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14162 $as_echo_n "checking for $ac_word... " >&6; }
14163 if ${ac_cv_path_MSGFMT+:} false
; then :
14164 $as_echo_n "(cached) " >&6
14168 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
14171 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14172 for ac_dir
in $PATH; do
14174 test -z "$ac_dir" && ac_dir
=.
14175 for ac_exec_ext
in '' $ac_executable_extensions; do
14176 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14177 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14178 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
14179 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
14180 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
14187 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
14191 MSGFMT
="$ac_cv_path_MSGFMT"
14192 if test "$MSGFMT" != ":"; then
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14194 $as_echo "$MSGFMT" >&6; }
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14197 $as_echo "no" >&6; }
14200 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14201 set dummy gmsgfmt
; ac_word
=$2
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14203 $as_echo_n "checking for $ac_word... " >&6; }
14204 if ${ac_cv_path_GMSGFMT+:} false
; then :
14205 $as_echo_n "(cached) " >&6
14209 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
14212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14213 for as_dir
in $PATH
14216 test -z "$as_dir" && as_dir
=.
14217 for ac_exec_ext
in '' $ac_executable_extensions; do
14218 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14219 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
14220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14227 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
14231 GMSGFMT
=$ac_cv_path_GMSGFMT
14232 if test -n "$GMSGFMT"; then
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14234 $as_echo "$GMSGFMT" >&6; }
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14237 $as_echo "no" >&6; }
14242 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14243 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
14244 *) MSGFMT_015
=$MSGFMT ;;
14247 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14248 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
14249 *) GMSGFMT_015
=$GMSGFMT ;;
14254 # Prepare PATH_SEPARATOR.
14255 # The user is always right.
14256 if test "${PATH_SEPARATOR+set}" != set; then
14257 echo "#! /bin/sh" >conf$$.sh
14258 echo "exit 0" >>conf$$.sh
14260 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14268 # Find out how to test for executable files. Don't use a zero-byte file,
14269 # as systems may use methods other than mode bits to determine executability.
14270 cat >conf$$.
file <<_ASEOF
14274 chmod +x conf$$.
file
14275 if test -x conf$$.
file >/dev
/null
2>&1; then
14276 ac_executable_p
="test -x"
14278 ac_executable_p
="test -f"
14282 # Extract the first word of "xgettext", so it can be a program name with args.
14283 set dummy xgettext
; ac_word
=$2
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14285 $as_echo_n "checking for $ac_word... " >&6; }
14286 if ${ac_cv_path_XGETTEXT+:} false
; then :
14287 $as_echo_n "(cached) " >&6
14289 case "$XGETTEXT" in
14291 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
14294 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14295 for ac_dir
in $PATH; do
14297 test -z "$ac_dir" && ac_dir
=.
14298 for ac_exec_ext
in '' $ac_executable_extensions; do
14299 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14300 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14301 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
14302 (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
14303 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
14310 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
14314 XGETTEXT
="$ac_cv_path_XGETTEXT"
14315 if test "$XGETTEXT" != ":"; then
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14317 $as_echo "$XGETTEXT" >&6; }
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14320 $as_echo "no" >&6; }
14325 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14326 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
14327 *) XGETTEXT_015
=$XGETTEXT ;;
14332 # Prepare PATH_SEPARATOR.
14333 # The user is always right.
14334 if test "${PATH_SEPARATOR+set}" != set; then
14335 echo "#! /bin/sh" >conf$$.sh
14336 echo "exit 0" >>conf$$.sh
14338 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14346 # Find out how to test for executable files. Don't use a zero-byte file,
14347 # as systems may use methods other than mode bits to determine executability.
14348 cat >conf$$.
file <<_ASEOF
14352 chmod +x conf$$.
file
14353 if test -x conf$$.
file >/dev
/null
2>&1; then
14354 ac_executable_p
="test -x"
14356 ac_executable_p
="test -f"
14360 # Extract the first word of "msgmerge", so it can be a program name with args.
14361 set dummy msgmerge
; ac_word
=$2
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14363 $as_echo_n "checking for $ac_word... " >&6; }
14364 if ${ac_cv_path_MSGMERGE+:} false
; then :
14365 $as_echo_n "(cached) " >&6
14367 case "$MSGMERGE" in
14369 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
14372 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14373 for ac_dir
in $PATH; do
14375 test -z "$ac_dir" && ac_dir
=.
14376 for ac_exec_ext
in '' $ac_executable_extensions; do
14377 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14378 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14379 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
14380 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
14387 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
14391 MSGMERGE
="$ac_cv_path_MSGMERGE"
14392 if test "$MSGMERGE" != ":"; then
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14394 $as_echo "$MSGMERGE" >&6; }
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14397 $as_echo "no" >&6; }
14401 test -n "$localedir" || localedir
='${datadir}/locale'
14404 ac_config_commands
="$ac_config_commands po-directories"
14408 if test "X$prefix" = "XNONE"; then
14409 acl_final_prefix
="$ac_default_prefix"
14411 acl_final_prefix
="$prefix"
14413 if test "X$exec_prefix" = "XNONE"; then
14414 acl_final_exec_prefix
='${prefix}'
14416 acl_final_exec_prefix
="$exec_prefix"
14418 acl_save_prefix
="$prefix"
14419 prefix
="$acl_final_prefix"
14420 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14421 prefix
="$acl_save_prefix"
14424 # Check whether --with-gnu-ld was given.
14425 if test "${with_gnu_ld+set}" = set; then :
14426 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
14431 # Prepare PATH_SEPARATOR.
14432 # The user is always right.
14433 if test "${PATH_SEPARATOR+set}" != set; then
14434 echo "#! /bin/sh" >conf$$.sh
14435 echo "exit 0" >>conf$$.sh
14437 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14445 if test "$GCC" = yes; then
14446 # Check if gcc -print-prog-name=ld gives a path.
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14448 $as_echo_n "checking for ld used by GCC... " >&6; }
14451 # gcc leaves a trailing carriage return which upsets mingw
14452 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14454 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14457 # Accept absolute paths.
14458 [\\/]* |
[A-Za-z
]:[\\/]*)
14459 re_direlt
='/[^/][^/]*/\.\./'
14460 # Canonicalize the path of ld
14461 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14462 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
14463 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14465 test -z "$LD" && LD
="$ac_prog"
14468 # If it fails, then pretend we aren't using GCC.
14472 # If it is relative, then search for the first ld in PATH.
14473 with_gnu_ld
=unknown
14476 elif test "$with_gnu_ld" = yes; then
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14478 $as_echo_n "checking for GNU ld... " >&6; }
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14481 $as_echo_n "checking for non-GNU ld... " >&6; }
14483 if ${acl_cv_path_LD+:} false
; then :
14484 $as_echo_n "(cached) " >&6
14486 if test -z "$LD"; then
14487 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14488 for ac_dir
in $PATH; do
14489 test -z "$ac_dir" && ac_dir
=.
14490 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14491 acl_cv_path_LD
="$ac_dir/$ac_prog"
14492 # Check to see if the program is GNU ld. I'd rather use --version,
14493 # but apparently some GNU ld's only accept -v.
14494 # Break only if it was the GNU/non-GNU ld that we prefer.
14495 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14496 *GNU
* |
*'with BFD'*)
14497 test "$with_gnu_ld" != no
&& break ;;
14499 test "$with_gnu_ld" != yes && break ;;
14505 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14509 LD
="$acl_cv_path_LD"
14510 if test -n "$LD"; then
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14512 $as_echo "$LD" >&6; }
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14515 $as_echo "no" >&6; }
14517 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14519 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14520 if ${acl_cv_prog_gnu_ld+:} false
; then :
14521 $as_echo_n "(cached) " >&6
14523 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14524 case `$LD -v 2>&1 </dev/null` in
14525 *GNU
* |
*'with BFD'*)
14526 acl_cv_prog_gnu_ld
=yes ;;
14528 acl_cv_prog_gnu_ld
=no
;;
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14532 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14533 with_gnu_ld
=$acl_cv_prog_gnu_ld
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14539 $as_echo_n "checking for shared library run path origin... " >&6; }
14540 if ${acl_cv_rpath+:} false
; then :
14541 $as_echo_n "(cached) " >&6
14544 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14545 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14547 rm -f .
/conftest.sh
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14552 $as_echo "$acl_cv_rpath" >&6; }
14554 libext
="$acl_cv_libext"
14555 shlibext
="$acl_cv_shlibext"
14556 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14557 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14558 hardcode_direct
="$acl_cv_hardcode_direct"
14559 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14560 # Check whether --enable-rpath was given.
14561 if test "${enable_rpath+set}" = set; then :
14562 enableval
=$enable_rpath; :
14570 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14571 if test -n "$searchpath"; then
14572 acl_save_IFS
="${IFS= }"; IFS
=":"
14573 for searchdir
in $searchpath; do
14574 if test -d "$searchdir"; then
14575 case "$searchdir" in
14576 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
14577 *) searchdir
=`cd "$searchdir" && pwd`
14578 case "$searchdir" in
14579 */lib64
) acl_libdirstem
=lib64
;;
14584 IFS
="$acl_save_IFS"
14596 acl_save_prefix
="$prefix"
14597 prefix
="$acl_final_prefix"
14598 acl_save_exec_prefix
="$exec_prefix"
14599 exec_prefix
="$acl_final_exec_prefix"
14601 eval additional_includedir
=\"$includedir\"
14602 eval additional_libdir
=\"$libdir\"
14604 exec_prefix
="$acl_save_exec_prefix"
14605 prefix
="$acl_save_prefix"
14608 # Check whether --with-libiconv-prefix was given.
14609 if test "${with_libiconv_prefix+set}" = set; then :
14610 withval
=$with_libiconv_prefix;
14611 if test "X$withval" = "Xno"; then
14614 if test "X$withval" = "X"; then
14616 acl_save_prefix
="$prefix"
14617 prefix
="$acl_final_prefix"
14618 acl_save_exec_prefix
="$exec_prefix"
14619 exec_prefix
="$acl_final_exec_prefix"
14621 eval additional_includedir
=\"$includedir\"
14622 eval additional_libdir
=\"$libdir\"
14624 exec_prefix
="$acl_save_exec_prefix"
14625 prefix
="$acl_save_prefix"
14628 additional_includedir
="$withval/include"
14629 additional_libdir
="$withval/$acl_libdirstem"
14640 names_already_handled
=
14641 names_next_round
='iconv '
14642 while test -n "$names_next_round"; do
14643 names_this_round
="$names_next_round"
14645 for name
in $names_this_round; do
14647 for n
in $names_already_handled; do
14648 if test "$n" = "$name"; then
14649 already_handled
=yes
14653 if test -z "$already_handled"; then
14654 names_already_handled
="$names_already_handled $name"
14655 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14656 eval value
=\"\
$HAVE_LIB$uppername\"
14657 if test -n "$value"; then
14658 if test "$value" = yes; then
14659 eval value
=\"\
$LIB$uppername\"
14660 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14661 eval value
=\"\
$LTLIB$uppername\"
14662 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14671 if test $use_additional = yes; then
14672 if test -n "$shlibext" \
14673 && { test -f "$additional_libdir/lib$name.$shlibext" \
14674 ||
{ test "$shlibext" = dll \
14675 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14676 found_dir
="$additional_libdir"
14677 if test -f "$additional_libdir/lib$name.$shlibext"; then
14678 found_so
="$additional_libdir/lib$name.$shlibext"
14680 found_so
="$additional_libdir/lib$name.dll.a"
14682 if test -f "$additional_libdir/lib$name.la"; then
14683 found_la
="$additional_libdir/lib$name.la"
14686 if test -f "$additional_libdir/lib$name.$libext"; then
14687 found_dir
="$additional_libdir"
14688 found_a
="$additional_libdir/lib$name.$libext"
14689 if test -f "$additional_libdir/lib$name.la"; then
14690 found_la
="$additional_libdir/lib$name.la"
14695 if test "X$found_dir" = "X"; then
14696 for x
in $LDFLAGS $LTLIBICONV; do
14698 acl_save_prefix
="$prefix"
14699 prefix
="$acl_final_prefix"
14700 acl_save_exec_prefix
="$exec_prefix"
14701 exec_prefix
="$acl_final_exec_prefix"
14703 exec_prefix
="$acl_save_exec_prefix"
14704 prefix
="$acl_save_prefix"
14708 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14709 if test -n "$shlibext" \
14710 && { test -f "$dir/lib$name.$shlibext" \
14711 ||
{ test "$shlibext" = dll \
14712 && test -f "$dir/lib$name.dll.a"; }; }; then
14714 if test -f "$dir/lib$name.$shlibext"; then
14715 found_so
="$dir/lib$name.$shlibext"
14717 found_so
="$dir/lib$name.dll.a"
14719 if test -f "$dir/lib$name.la"; then
14720 found_la
="$dir/lib$name.la"
14723 if test -f "$dir/lib$name.$libext"; then
14725 found_a
="$dir/lib$name.$libext"
14726 if test -f "$dir/lib$name.la"; then
14727 found_la
="$dir/lib$name.la"
14733 if test "X$found_dir" != "X"; then
14738 if test "X$found_dir" != "X"; then
14739 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14740 if test "X$found_so" != "X"; then
14741 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14742 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14745 for x
in $ltrpathdirs; do
14746 if test "X$x" = "X$found_dir"; then
14751 if test -z "$haveit"; then
14752 ltrpathdirs
="$ltrpathdirs $found_dir"
14754 if test "$hardcode_direct" = yes; then
14755 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14757 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14758 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14760 for x
in $rpathdirs; do
14761 if test "X$x" = "X$found_dir"; then
14766 if test -z "$haveit"; then
14767 rpathdirs
="$rpathdirs $found_dir"
14771 for x
in $LDFLAGS $LIBICONV; do
14773 acl_save_prefix
="$prefix"
14774 prefix
="$acl_final_prefix"
14775 acl_save_exec_prefix
="$exec_prefix"
14776 exec_prefix
="$acl_final_exec_prefix"
14778 exec_prefix
="$acl_save_exec_prefix"
14779 prefix
="$acl_save_prefix"
14781 if test "X$x" = "X-L$found_dir"; then
14786 if test -z "$haveit"; then
14787 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14789 if test "$hardcode_minus_L" != no
; then
14790 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14792 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14798 if test "X$found_a" != "X"; then
14799 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14801 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14804 additional_includedir
=
14805 case "$found_dir" in
14806 */$acl_libdirstem |
*/$acl_libdirstem/)
14807 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14808 additional_includedir
="$basedir/include"
14811 if test "X$additional_includedir" != "X"; then
14812 if test "X$additional_includedir" != "X/usr/include"; then
14814 if test "X$additional_includedir" = "X/usr/local/include"; then
14815 if test -n "$GCC"; then
14817 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14821 if test -z "$haveit"; then
14822 for x
in $CPPFLAGS $INCICONV; do
14824 acl_save_prefix
="$prefix"
14825 prefix
="$acl_final_prefix"
14826 acl_save_exec_prefix
="$exec_prefix"
14827 exec_prefix
="$acl_final_exec_prefix"
14829 exec_prefix
="$acl_save_exec_prefix"
14830 prefix
="$acl_save_prefix"
14832 if test "X$x" = "X-I$additional_includedir"; then
14837 if test -z "$haveit"; then
14838 if test -d "$additional_includedir"; then
14839 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14845 if test -n "$found_la"; then
14846 save_libdir
="$libdir"
14847 case "$found_la" in
14848 */* |
*\\*) .
"$found_la" ;;
14849 *) .
"./$found_la" ;;
14851 libdir
="$save_libdir"
14852 for dep
in $dependency_libs; do
14855 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14856 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14858 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14859 if test -n "$GCC"; then
14861 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14865 if test -z "$haveit"; then
14867 for x
in $LDFLAGS $LIBICONV; do
14869 acl_save_prefix
="$prefix"
14870 prefix
="$acl_final_prefix"
14871 acl_save_exec_prefix
="$exec_prefix"
14872 exec_prefix
="$acl_final_exec_prefix"
14874 exec_prefix
="$acl_save_exec_prefix"
14875 prefix
="$acl_save_prefix"
14877 if test "X$x" = "X-L$additional_libdir"; then
14882 if test -z "$haveit"; then
14883 if test -d "$additional_libdir"; then
14884 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14888 for x
in $LDFLAGS $LTLIBICONV; do
14890 acl_save_prefix
="$prefix"
14891 prefix
="$acl_final_prefix"
14892 acl_save_exec_prefix
="$exec_prefix"
14893 exec_prefix
="$acl_final_exec_prefix"
14895 exec_prefix
="$acl_save_exec_prefix"
14896 prefix
="$acl_save_prefix"
14898 if test "X$x" = "X-L$additional_libdir"; then
14903 if test -z "$haveit"; then
14904 if test -d "$additional_libdir"; then
14905 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14912 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14913 if test "$enable_rpath" != no
; then
14915 for x
in $rpathdirs; do
14916 if test "X$x" = "X$dir"; then
14921 if test -z "$haveit"; then
14922 rpathdirs
="$rpathdirs $dir"
14925 for x
in $ltrpathdirs; do
14926 if test "X$x" = "X$dir"; then
14931 if test -z "$haveit"; then
14932 ltrpathdirs
="$ltrpathdirs $dir"
14937 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14940 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14943 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14944 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14950 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14951 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14957 if test "X$rpathdirs" != "X"; then
14958 if test -n "$hardcode_libdir_separator"; then
14960 for found_dir
in $rpathdirs; do
14961 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14963 acl_save_libdir
="$libdir"
14965 eval flag
=\"$hardcode_libdir_flag_spec\"
14966 libdir
="$acl_save_libdir"
14967 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14969 for found_dir
in $rpathdirs; do
14970 acl_save_libdir
="$libdir"
14971 libdir
="$found_dir"
14972 eval flag
=\"$hardcode_libdir_flag_spec\"
14973 libdir
="$acl_save_libdir"
14974 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14978 if test "X$ltrpathdirs" != "X"; then
14979 for found_dir
in $ltrpathdirs; do
14980 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15009 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15010 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
15011 $as_echo_n "(cached) " >&6
15013 gt_save_LIBS
="$LIBS"
15014 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
15015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15017 #include <CoreFoundation/CFPreferences.h>
15021 CFPreferencesCopyAppValue(NULL, NULL)
15026 if ac_fn_c_try_link
"$LINENO"; then :
15027 gt_cv_func_CFPreferencesCopyAppValue
=yes
15029 gt_cv_func_CFPreferencesCopyAppValue
=no
15031 rm -f core conftest.err conftest.
$ac_objext \
15032 conftest
$ac_exeext conftest.
$ac_ext
15033 LIBS
="$gt_save_LIBS"
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15036 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15037 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15039 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15043 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15044 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
15045 $as_echo_n "(cached) " >&6
15047 gt_save_LIBS
="$LIBS"
15048 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
15049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15051 #include <CoreFoundation/CFLocale.h>
15055 CFLocaleCopyCurrent();
15060 if ac_fn_c_try_link
"$LINENO"; then :
15061 gt_cv_func_CFLocaleCopyCurrent
=yes
15063 gt_cv_func_CFLocaleCopyCurrent
=no
15065 rm -f core conftest.err conftest.
$ac_objext \
15066 conftest
$ac_exeext conftest.
$ac_ext
15067 LIBS
="$gt_save_LIBS"
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15070 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15071 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15073 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15077 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15078 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
15090 case " $gt_needs " in
15091 *" need-formatstring-macros "*) gt_api_version
=3 ;;
15092 *" need-ngettext "*) gt_api_version
=2 ;;
15093 *) gt_api_version
=1 ;;
15095 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
15096 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
15098 if test "$USE_NLS" = "yes"; then
15099 gt_use_preinstalled_gnugettext
=no
15102 if test $gt_api_version -ge 3; then
15103 gt_revision_test_code
='
15104 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15105 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15107 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15110 gt_revision_test_code
=
15112 if test $gt_api_version -ge 2; then
15113 gt_expression_test_code
=' + * ngettext ("", "", 0)'
15115 gt_expression_test_code
=
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15119 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15120 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
15121 $as_echo_n "(cached) " >&6
15123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15125 #include <libintl.h>
15126 $gt_revision_test_code
15127 extern int _nl_msg_cat_cntr;
15128 extern int *_nl_domain_bindings;
15132 bindtextdomain ("", "");
15133 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15138 if ac_fn_c_try_link
"$LINENO"; then :
15139 eval "$gt_func_gnugettext_libc=yes"
15141 eval "$gt_func_gnugettext_libc=no"
15143 rm -f core conftest.err conftest.
$ac_objext \
15144 conftest
$ac_exeext conftest.
$ac_ext
15146 eval ac_res
=\$
$gt_func_gnugettext_libc
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15148 $as_echo "$ac_res" >&6; }
15150 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15156 am_save_CPPFLAGS
="$CPPFLAGS"
15158 for element
in $INCICONV; do
15160 for x
in $CPPFLAGS; do
15162 acl_save_prefix
="$prefix"
15163 prefix
="$acl_final_prefix"
15164 acl_save_exec_prefix
="$exec_prefix"
15165 exec_prefix
="$acl_final_exec_prefix"
15167 exec_prefix
="$acl_save_exec_prefix"
15168 prefix
="$acl_save_prefix"
15170 if test "X$x" = "X$element"; then
15175 if test -z "$haveit"; then
15176 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15182 $as_echo_n "checking for iconv... " >&6; }
15183 if ${am_cv_func_iconv+:} false
; then :
15184 $as_echo_n "(cached) " >&6
15187 am_cv_func_iconv
="no, consider installing GNU libiconv"
15189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15191 #include <stdlib.h>
15196 iconv_t cd = iconv_open("","");
15197 iconv(cd,NULL,NULL,NULL,NULL);
15203 if ac_fn_c_try_link
"$LINENO"; then :
15204 am_cv_func_iconv
=yes
15206 rm -f core conftest.err conftest.
$ac_objext \
15207 conftest
$ac_exeext conftest.
$ac_ext
15208 if test "$am_cv_func_iconv" != yes; then
15209 am_save_LIBS
="$LIBS"
15210 LIBS
="$LIBS $LIBICONV"
15211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15212 /* end confdefs.h. */
15213 #include <stdlib.h>
15218 iconv_t cd = iconv_open("","");
15219 iconv(cd,NULL,NULL,NULL,NULL);
15225 if ac_fn_c_try_link
"$LINENO"; then :
15226 am_cv_lib_iconv
=yes
15227 am_cv_func_iconv
=yes
15229 rm -f core conftest.err conftest.
$ac_objext \
15230 conftest
$ac_exeext conftest.
$ac_ext
15231 LIBS
="$am_save_LIBS"
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15236 $as_echo "$am_cv_func_iconv" >&6; }
15237 if test "$am_cv_func_iconv" = yes; then
15239 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15242 if test "$am_cv_lib_iconv" = yes; then
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15244 $as_echo_n "checking how to link with libiconv... " >&6; }
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15246 $as_echo "$LIBICONV" >&6; }
15248 CPPFLAGS
="$am_save_CPPFLAGS"
15261 acl_save_prefix
="$prefix"
15262 prefix
="$acl_final_prefix"
15263 acl_save_exec_prefix
="$exec_prefix"
15264 exec_prefix
="$acl_final_exec_prefix"
15266 eval additional_includedir
=\"$includedir\"
15267 eval additional_libdir
=\"$libdir\"
15269 exec_prefix
="$acl_save_exec_prefix"
15270 prefix
="$acl_save_prefix"
15273 # Check whether --with-libintl-prefix was given.
15274 if test "${with_libintl_prefix+set}" = set; then :
15275 withval
=$with_libintl_prefix;
15276 if test "X$withval" = "Xno"; then
15279 if test "X$withval" = "X"; then
15281 acl_save_prefix
="$prefix"
15282 prefix
="$acl_final_prefix"
15283 acl_save_exec_prefix
="$exec_prefix"
15284 exec_prefix
="$acl_final_exec_prefix"
15286 eval additional_includedir
=\"$includedir\"
15287 eval additional_libdir
=\"$libdir\"
15289 exec_prefix
="$acl_save_exec_prefix"
15290 prefix
="$acl_save_prefix"
15293 additional_includedir
="$withval/include"
15294 additional_libdir
="$withval/$acl_libdirstem"
15305 names_already_handled
=
15306 names_next_round
='intl '
15307 while test -n "$names_next_round"; do
15308 names_this_round
="$names_next_round"
15310 for name
in $names_this_round; do
15312 for n
in $names_already_handled; do
15313 if test "$n" = "$name"; then
15314 already_handled
=yes
15318 if test -z "$already_handled"; then
15319 names_already_handled
="$names_already_handled $name"
15320 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15321 eval value
=\"\
$HAVE_LIB$uppername\"
15322 if test -n "$value"; then
15323 if test "$value" = yes; then
15324 eval value
=\"\
$LIB$uppername\"
15325 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
15326 eval value
=\"\
$LTLIB$uppername\"
15327 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
15336 if test $use_additional = yes; then
15337 if test -n "$shlibext" \
15338 && { test -f "$additional_libdir/lib$name.$shlibext" \
15339 ||
{ test "$shlibext" = dll \
15340 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
15341 found_dir
="$additional_libdir"
15342 if test -f "$additional_libdir/lib$name.$shlibext"; then
15343 found_so
="$additional_libdir/lib$name.$shlibext"
15345 found_so
="$additional_libdir/lib$name.dll.a"
15347 if test -f "$additional_libdir/lib$name.la"; then
15348 found_la
="$additional_libdir/lib$name.la"
15351 if test -f "$additional_libdir/lib$name.$libext"; then
15352 found_dir
="$additional_libdir"
15353 found_a
="$additional_libdir/lib$name.$libext"
15354 if test -f "$additional_libdir/lib$name.la"; then
15355 found_la
="$additional_libdir/lib$name.la"
15360 if test "X$found_dir" = "X"; then
15361 for x
in $LDFLAGS $LTLIBINTL; do
15363 acl_save_prefix
="$prefix"
15364 prefix
="$acl_final_prefix"
15365 acl_save_exec_prefix
="$exec_prefix"
15366 exec_prefix
="$acl_final_exec_prefix"
15368 exec_prefix
="$acl_save_exec_prefix"
15369 prefix
="$acl_save_prefix"
15373 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15374 if test -n "$shlibext" \
15375 && { test -f "$dir/lib$name.$shlibext" \
15376 ||
{ test "$shlibext" = dll \
15377 && test -f "$dir/lib$name.dll.a"; }; }; then
15379 if test -f "$dir/lib$name.$shlibext"; then
15380 found_so
="$dir/lib$name.$shlibext"
15382 found_so
="$dir/lib$name.dll.a"
15384 if test -f "$dir/lib$name.la"; then
15385 found_la
="$dir/lib$name.la"
15388 if test -f "$dir/lib$name.$libext"; then
15390 found_a
="$dir/lib$name.$libext"
15391 if test -f "$dir/lib$name.la"; then
15392 found_la
="$dir/lib$name.la"
15398 if test "X$found_dir" != "X"; then
15403 if test "X$found_dir" != "X"; then
15404 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15405 if test "X$found_so" != "X"; then
15406 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15407 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15410 for x
in $ltrpathdirs; do
15411 if test "X$x" = "X$found_dir"; then
15416 if test -z "$haveit"; then
15417 ltrpathdirs
="$ltrpathdirs $found_dir"
15419 if test "$hardcode_direct" = yes; then
15420 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15422 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
15423 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15425 for x
in $rpathdirs; do
15426 if test "X$x" = "X$found_dir"; then
15431 if test -z "$haveit"; then
15432 rpathdirs
="$rpathdirs $found_dir"
15436 for x
in $LDFLAGS $LIBINTL; do
15438 acl_save_prefix
="$prefix"
15439 prefix
="$acl_final_prefix"
15440 acl_save_exec_prefix
="$exec_prefix"
15441 exec_prefix
="$acl_final_exec_prefix"
15443 exec_prefix
="$acl_save_exec_prefix"
15444 prefix
="$acl_save_prefix"
15446 if test "X$x" = "X-L$found_dir"; then
15451 if test -z "$haveit"; then
15452 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15454 if test "$hardcode_minus_L" != no
; then
15455 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15457 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15463 if test "X$found_a" != "X"; then
15464 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
15466 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15469 additional_includedir
=
15470 case "$found_dir" in
15471 */$acl_libdirstem |
*/$acl_libdirstem/)
15472 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15473 additional_includedir
="$basedir/include"
15476 if test "X$additional_includedir" != "X"; then
15477 if test "X$additional_includedir" != "X/usr/include"; then
15479 if test "X$additional_includedir" = "X/usr/local/include"; then
15480 if test -n "$GCC"; then
15482 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15486 if test -z "$haveit"; then
15487 for x
in $CPPFLAGS $INCINTL; do
15489 acl_save_prefix
="$prefix"
15490 prefix
="$acl_final_prefix"
15491 acl_save_exec_prefix
="$exec_prefix"
15492 exec_prefix
="$acl_final_exec_prefix"
15494 exec_prefix
="$acl_save_exec_prefix"
15495 prefix
="$acl_save_prefix"
15497 if test "X$x" = "X-I$additional_includedir"; then
15502 if test -z "$haveit"; then
15503 if test -d "$additional_includedir"; then
15504 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15510 if test -n "$found_la"; then
15511 save_libdir
="$libdir"
15512 case "$found_la" in
15513 */* |
*\\*) .
"$found_la" ;;
15514 *) .
"./$found_la" ;;
15516 libdir
="$save_libdir"
15517 for dep
in $dependency_libs; do
15520 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15521 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15523 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15524 if test -n "$GCC"; then
15526 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15530 if test -z "$haveit"; then
15532 for x
in $LDFLAGS $LIBINTL; do
15534 acl_save_prefix
="$prefix"
15535 prefix
="$acl_final_prefix"
15536 acl_save_exec_prefix
="$exec_prefix"
15537 exec_prefix
="$acl_final_exec_prefix"
15539 exec_prefix
="$acl_save_exec_prefix"
15540 prefix
="$acl_save_prefix"
15542 if test "X$x" = "X-L$additional_libdir"; then
15547 if test -z "$haveit"; then
15548 if test -d "$additional_libdir"; then
15549 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15553 for x
in $LDFLAGS $LTLIBINTL; do
15555 acl_save_prefix
="$prefix"
15556 prefix
="$acl_final_prefix"
15557 acl_save_exec_prefix
="$exec_prefix"
15558 exec_prefix
="$acl_final_exec_prefix"
15560 exec_prefix
="$acl_save_exec_prefix"
15561 prefix
="$acl_save_prefix"
15563 if test "X$x" = "X-L$additional_libdir"; then
15568 if test -z "$haveit"; then
15569 if test -d "$additional_libdir"; then
15570 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15577 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15578 if test "$enable_rpath" != no
; then
15580 for x
in $rpathdirs; do
15581 if test "X$x" = "X$dir"; then
15586 if test -z "$haveit"; then
15587 rpathdirs
="$rpathdirs $dir"
15590 for x
in $ltrpathdirs; do
15591 if test "X$x" = "X$dir"; then
15596 if test -z "$haveit"; then
15597 ltrpathdirs
="$ltrpathdirs $dir"
15602 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15605 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15608 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
15609 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15615 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15616 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15622 if test "X$rpathdirs" != "X"; then
15623 if test -n "$hardcode_libdir_separator"; then
15625 for found_dir
in $rpathdirs; do
15626 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15628 acl_save_libdir
="$libdir"
15630 eval flag
=\"$hardcode_libdir_flag_spec\"
15631 libdir
="$acl_save_libdir"
15632 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15634 for found_dir
in $rpathdirs; do
15635 acl_save_libdir
="$libdir"
15636 libdir
="$found_dir"
15637 eval flag
=\"$hardcode_libdir_flag_spec\"
15638 libdir
="$acl_save_libdir"
15639 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15643 if test "X$ltrpathdirs" != "X"; then
15644 for found_dir
in $ltrpathdirs; do
15645 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15650 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15651 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
15652 $as_echo_n "(cached) " >&6
15654 gt_save_CPPFLAGS
="$CPPFLAGS"
15655 CPPFLAGS
="$CPPFLAGS $INCINTL"
15656 gt_save_LIBS
="$LIBS"
15657 LIBS
="$LIBS $LIBINTL"
15658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15659 /* end confdefs.h. */
15660 #include <libintl.h>
15661 $gt_revision_test_code
15662 extern int _nl_msg_cat_cntr;
15667 const char *_nl_expand_alias (const char *);
15671 bindtextdomain ("", "");
15672 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15677 if ac_fn_c_try_link
"$LINENO"; then :
15678 eval "$gt_func_gnugettext_libintl=yes"
15680 eval "$gt_func_gnugettext_libintl=no"
15682 rm -f core conftest.err conftest.
$ac_objext \
15683 conftest
$ac_exeext conftest.
$ac_ext
15684 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15685 LIBS
="$LIBS $LIBICONV"
15686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15688 #include <libintl.h>
15689 $gt_revision_test_code
15690 extern int _nl_msg_cat_cntr;
15695 const char *_nl_expand_alias (const char *);
15699 bindtextdomain ("", "");
15700 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15705 if ac_fn_c_try_link
"$LINENO"; then :
15706 LIBINTL
="$LIBINTL $LIBICONV"
15707 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
15708 eval "$gt_func_gnugettext_libintl=yes"
15711 rm -f core conftest.err conftest.
$ac_objext \
15712 conftest
$ac_exeext conftest.
$ac_ext
15714 CPPFLAGS
="$gt_save_CPPFLAGS"
15715 LIBS
="$gt_save_LIBS"
15717 eval ac_res
=\$
$gt_func_gnugettext_libintl
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15719 $as_echo "$ac_res" >&6; }
15722 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15723 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15724 && test "$PACKAGE" != gettext-runtime \
15725 && test "$PACKAGE" != gettext-tools
; }; then
15726 gt_use_preinstalled_gnugettext
=yes
15735 if test -n "$INTL_MACOSX_LIBS"; then
15736 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15737 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15738 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
15739 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
15743 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15744 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15746 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15754 $as_echo_n "checking whether to use NLS... " >&6; }
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15756 $as_echo "$USE_NLS" >&6; }
15757 if test "$USE_NLS" = "yes"; then
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15759 $as_echo_n "checking where the gettext function comes from... " >&6; }
15760 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15761 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15762 gt_source
="external libintl"
15767 gt_source
="included intl directory"
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15770 $as_echo "$gt_source" >&6; }
15773 if test "$USE_NLS" = "yes"; then
15775 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15776 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15778 $as_echo_n "checking how to link with libintl... " >&6; }
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15780 $as_echo "$LIBINTL" >&6; }
15782 for element
in $INCINTL; do
15784 for x
in $CPPFLAGS; do
15786 acl_save_prefix
="$prefix"
15787 prefix
="$acl_final_prefix"
15788 acl_save_exec_prefix
="$exec_prefix"
15789 exec_prefix
="$acl_final_exec_prefix"
15791 exec_prefix
="$acl_save_exec_prefix"
15792 prefix
="$acl_save_prefix"
15794 if test "X$x" = "X$element"; then
15799 if test -z "$haveit"; then
15800 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15807 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15810 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15819 INTLLIBS
="$LIBINTL"
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
15828 $as_echo_n "checking option: dmalloc enabled... " >&6; }
15829 # Check whether --enable-dmalloc was given.
15830 if test "${enable_dmalloc+set}" = set; then :
15831 enableval
=$enable_dmalloc;
15834 if test x
$enable_dmalloc = "xyes" ; then
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15836 $as_echo "yes" >&6; }
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15839 $as_echo "no" >&6; }
15843 # Check whether --with-dmalloc-dir was given.
15844 if test "${with_dmalloc_dir+set}" = set; then :
15845 withval
=$with_dmalloc_dir;
15846 if test "x$withval" != "xno" ; then
15847 enable_dmalloc
= "yes"
15848 CPPFLAGS
="$CPPFLAGS -I${withval}"
15849 LDFLAGS
="$LDFLAGS -L${withval}"
15855 if test x
$enable_dmalloc = "xyes" ; then
15857 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
15861 ALPINE_datestamp
=`date`
15863 # Check whether --with-date-stamp was given.
15864 if test "${with_date_stamp+set}" = set; then :
15865 withval
=$with_date_stamp;
15866 if test "x$withval" != "xno" ; then
15867 ALPINE_datestamp
=$withval
15872 ALPINE_DATESTAMP
=$ALPINE_datestamp
15875 ALPINE_hoststamp
=`hostname`
15877 # Check whether --with-host-stamp was given.
15878 if test "${with_host_stamp+set}" = set; then :
15879 withval
=$with_host_stamp;
15880 if test "x$withval" != "xno" ; then
15881 ALPINE_hoststamp
="$withval"
15886 ALPINE_HOSTSTAMP
=$ALPINE_hoststamp
15889 ALPINE_psefcmd
="/bin/ps auxww"
15890 ALPINE_psfailed
="0"
15893 # Check whether --with-ps-cmd was given.
15894 if test "${with_ps_cmd+set}" = set; then :
15895 withval
=$with_ps_cmd;
15896 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
15897 withval
=$ALPINE_psefcmd
15899 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15900 if test -n "$ALPINE_PSTEST" ; then
15901 ALPINE_psefcmd
="$withval"
15903 ALPINE_psfailed
="1"
15904 if test "x$ALPINE_psefcmd" != "x$withval" ; then
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
15906 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
15912 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
15913 withval
="$ALPINE_psefcmd"
15914 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15915 if test -z "$ALPINE_PSTEST" ; then
15916 ALPINE_psfailed
="1"
15918 ALPINE_psfailed
="0"
15921 if test "$ALPINE_psfailed" = "0" ; then
15923 cat >>confdefs.h
<<_ACEOF
15924 #define PSEFCMD "$ALPINE_psefcmd"
15931 if test -d /opt
/local ; then
15932 localedir
="/opt/local/share/locale"
15934 localedir
="\${datadir}/locale"
15938 localedir
="/usr/share"
15941 localedir
="\${datadir}/locale"
15946 # Check whether --with-localedir was given.
15947 if test "${with_localedir+set}" = set; then :
15948 withval
=$with_localedir;
15961 localedir
="$localedir"
15964 # Setup OS-Specific features
15967 # Check whether --enable-osx-universal-binaries was given.
15968 if test "${enable_osx_universal_binaries+set}" = set; then :
15969 enableval
=$enable_osx_universal_binaries;
15972 if test "x$enable_osx_universal_binaries" = "xyes" ; then
15973 if test "x$enable_dependency_tracking" != xno
; then
15974 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
15975 Please re-run configure with these options:
15976 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
15978 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
15979 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
15980 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
15981 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
15983 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
15985 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
15986 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
15987 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
15988 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
15989 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
15990 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
15996 # Check whether --with-include-path was given.
15997 if test "${with_include_path+set}" = set; then :
15998 withval
=$with_include_path;
16005 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
16006 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
16007 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
16015 # Check whether --with-lib-path was given.
16016 if test "${with_lib_path+set}" = set; then :
16017 withval
=$with_lib_path;
16024 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
16025 LDFLAGS
="$LDFLAGS $new_ldflags"
16026 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
16034 # Check whether --with-pubcookie was given.
16035 if test "${with_pubcookie+set}" = set; then :
16036 withval
=$with_pubcookie;
16037 if test "x$withval" != "xno" ; then
16038 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
16046 # Check whether --with-web-bin was given.
16047 if test "${with_web_bin+set}" = set; then :
16048 withval
=$with_web_bin;
16055 WEB_BINDIR
=$withval
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
16063 $as_echo_n "checking option: debugging is enabled... " >&6; }
16064 # Check whether --enable-debug was given.
16065 if test "${enable_debug+set}" = set; then :
16066 enableval
=$enable_debug;
16069 if test x
$enable_debug != "xno" ; then
16070 AM_CFLAGS
="$AM_CFLAGS -g"
16072 $as_echo "#define DEBUG 1" >>confdefs.h
16075 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16078 $as_echo "yes" >&6; }
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16081 $as_echo "no" >&6; }
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
16085 $as_echo_n "checking option: optimization is enabled... " >&6; }
16086 # Check whether --enable-optimization was given.
16087 if test "${enable_optimization+set}" = set; then :
16088 enableval
=$enable_optimization;
16091 if test x
$enable_optimization != "xno" ; then
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16093 $as_echo "yes" >&6; }
16095 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
16096 alpine_c_client_gccoptlevel
="-O0"
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16098 $as_echo "no" >&6; }
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
16102 $as_echo_n "checking option: mouse support enabled... " >&6; }
16103 # Check whether --enable-mouse was given.
16104 if test "${enable_mouse+set}" = set; then :
16105 enableval
=$enable_mouse;
16108 if test x
$enable_mouse != "xno" ; then
16110 $as_echo "#define MOUSE /**/" >>confdefs.h
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16113 $as_echo "yes" >&6; }
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16116 $as_echo "no" >&6; }
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
16120 $as_echo_n "checking option: quotas enabled... " >&6; }
16121 # Check whether --enable-quotas was given.
16122 if test "${enable_quotas+set}" = set; then :
16123 enableval
=$enable_quotas;
16126 if test x
$enable_quotas = "xyes" ; then
16128 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16131 $as_echo "yes" >&6; }
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16134 $as_echo "no" >&6; }
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
16138 $as_echo_n "checking option: From changing enabled... " >&6; }
16139 # Check whether --enable-from_changing was given.
16140 if test "${enable_from_changing+set}" = set; then :
16141 enableval
=$enable_from_changing;
16144 if test x
$enable_from_changing != "xno" ; then
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16146 $as_echo "yes" >&6; }
16149 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16152 $as_echo "no" >&6; }
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
16156 $as_echo_n "checking option: background post enabled... " >&6; }
16157 # Check whether --enable-background-post was given.
16158 if test "${enable_background_post+set}" = set; then :
16159 enableval
=$enable_background_post;
16162 if test x
$enable_background_post != "xno" ; then
16164 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16167 $as_echo "yes" >&6; }
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16170 $as_echo "no" >&6; }
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
16174 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
16175 # Check whether --enable-keyboard-lock was given.
16176 if test "${enable_keyboard_lock+set}" = set; then :
16177 enableval
=$enable_keyboard_lock;
16180 if test x
$enable_keyboard_lock != "xno" ; then
16182 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16185 $as_echo "yes" >&6; }
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16188 $as_echo "no" >&6; }
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
16192 $as_echo_n "checking option: from encoding enabled... " >&6; }
16193 # Check whether --enable-from-encoding was given.
16194 if test "${enable_from_encoding+set}" = set; then :
16195 enableval
=$enable_from_encoding;
16198 if test x
$enable_from_encoding = "xyes" ; then
16200 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16203 $as_echo "yes" >&6; }
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16206 $as_echo "no" >&6; }
16210 # Check whether --with-smtp-msa was given.
16211 if test "${with_smtp_msa+set}" = set; then :
16212 withval
=$with_smtp_msa;
16217 # Extract the first word of "sendmail", so it can be a program name with args.
16218 set dummy sendmail
; ac_word
=$2
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16220 $as_echo_n "checking for $ac_word... " >&6; }
16221 if ${ac_cv_path_SENDMAIL+:} false
; then :
16222 $as_echo_n "(cached) " >&6
16226 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
16229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16230 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16231 for as_dir
in $as_dummy
16234 test -z "$as_dir" && as_dir
=.
16235 for ac_exec_ext
in '' $ac_executable_extensions; do
16236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16237 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
16238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16245 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
16249 SENDMAIL
=$ac_cv_path_SENDMAIL
16250 if test -n "$SENDMAIL"; then
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
16252 $as_echo "$SENDMAIL" >&6; }
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16255 $as_echo "no" >&6; }
16267 # Extract the first word of "sendmail", so it can be a program name with args.
16268 set dummy sendmail
; ac_word
=$2
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16270 $as_echo_n "checking for $ac_word... " >&6; }
16271 if ${ac_cv_path_SENDMAIL+:} false
; then :
16272 $as_echo_n "(cached) " >&6
16276 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
16279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16280 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16281 for as_dir
in $as_dummy
16284 test -z "$as_dir" && as_dir
=.
16285 for ac_exec_ext
in '' $ac_executable_extensions; do
16286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16287 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
16288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16295 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
16299 SENDMAIL
=$ac_cv_path_SENDMAIL
16300 if test -n "$SENDMAIL"; then
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
16302 $as_echo "$SENDMAIL" >&6; }
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16305 $as_echo "no" >&6; }
16312 if test -n "$SENDMAIL" ; then
16314 cat >>confdefs.h
<<_ACEOF
16315 #define SENDMAIL "$SENDMAIL"
16320 smtp_msa_flags
="-bs -odb -oem"
16322 # Check whether --with-smtp-msa-flags was given.
16323 if test "${with_smtp_msa_flags+set}" = set; then :
16324 withval
=$with_smtp_msa_flags;
16325 if test "x$withval" != "xno" ; then
16326 smtp_msa_flags
=$withval
16332 cat >>confdefs.h
<<_ACEOF
16333 #define SENDMAILFLAGS "$smtp_msa_flags"
16339 # Check whether --with-npa was given.
16340 if test "${with_npa+set}" = set; then :
16346 # Extract the first word of "inews", so it can be a program name with args.
16347 set dummy inews
; ac_word
=$2
16348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16349 $as_echo_n "checking for $ac_word... " >&6; }
16350 if ${ac_cv_path_NPA_PROG+:} false
; then :
16351 $as_echo_n "(cached) " >&6
16355 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
16358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16359 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16360 for as_dir
in $as_dummy
16363 test -z "$as_dir" && as_dir
=.
16364 for ac_exec_ext
in '' $ac_executable_extensions; do
16365 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16366 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
16367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16374 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
16378 NPA_PROG
=$ac_cv_path_NPA_PROG
16379 if test -n "$NPA_PROG"; then
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
16381 $as_echo "$NPA_PROG" >&6; }
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16384 $as_echo "no" >&6; }
16396 # Extract the first word of "inews", so it can be a program name with args.
16397 set dummy inews
; ac_word
=$2
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16399 $as_echo_n "checking for $ac_word... " >&6; }
16400 if ${ac_cv_path_NPA_PROG+:} false
; then :
16401 $as_echo_n "(cached) " >&6
16405 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
16408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16409 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16410 for as_dir
in $as_dummy
16413 test -z "$as_dir" && as_dir
=.
16414 for ac_exec_ext
in '' $ac_executable_extensions; do
16415 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16416 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
16417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16424 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
16428 NPA_PROG
=$ac_cv_path_NPA_PROG
16429 if test -n "$NPA_PROG"; then
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
16431 $as_echo "$NPA_PROG" >&6; }
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16434 $as_echo "no" >&6; }
16444 # Check whether --with-npa-flags was given.
16445 if test "${with_npa_flags+set}" = set; then :
16446 withval
=$with_npa_flags;
16447 if test "x$withval" != "xno" ; then
16453 if test -n "$NPA_PROG" ; then
16455 cat >>confdefs.h
<<_ACEOF
16456 #define SENDNEWS "$NPA_PROG $npa_flags"
16462 # Check whether --with-password-prog was given.
16463 if test "${with_password_prog+set}" = set; then :
16464 withval
=$with_password_prog;
16469 # Extract the first word of "passwd", so it can be a program name with args.
16470 set dummy passwd
; ac_word
=$2
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16472 $as_echo_n "checking for $ac_word... " >&6; }
16473 if ${ac_cv_path_PWPROG+:} false
; then :
16474 $as_echo_n "(cached) " >&6
16478 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16482 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16483 for as_dir
in $as_dummy
16486 test -z "$as_dir" && as_dir
=.
16487 for ac_exec_ext
in '' $ac_executable_extensions; do
16488 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16489 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16497 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16501 PWPROG
=$ac_cv_path_PWPROG
16502 if test -n "$PWPROG"; then
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16504 $as_echo "$PWPROG" >&6; }
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16507 $as_echo "no" >&6; }
16513 # Extract the first word of "$withval", so it can be a program name with args.
16514 set dummy
$withval; ac_word
=$2
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16516 $as_echo_n "checking for $ac_word... " >&6; }
16517 if ${ac_cv_path_PWPROG+:} false
; then :
16518 $as_echo_n "(cached) " >&6
16522 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16526 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16527 for as_dir
in $as_dummy
16530 test -z "$as_dir" && as_dir
=.
16531 for ac_exec_ext
in '' $ac_executable_extensions; do
16532 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16533 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16541 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16545 PWPROG
=$ac_cv_path_PWPROG
16546 if test -n "$PWPROG"; then
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16548 $as_echo "$PWPROG" >&6; }
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16551 $as_echo "no" >&6; }
16560 # Extract the first word of "passwd", so it can be a program name with args.
16561 set dummy passwd
; ac_word
=$2
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16563 $as_echo_n "checking for $ac_word... " >&6; }
16564 if ${ac_cv_path_PWPROG+:} false
; then :
16565 $as_echo_n "(cached) " >&6
16569 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16573 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16574 for as_dir
in $as_dummy
16577 test -z "$as_dir" && as_dir
=.
16578 for ac_exec_ext
in '' $ac_executable_extensions; do
16579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16580 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16588 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16592 PWPROG
=$ac_cv_path_PWPROG
16593 if test -n "$PWPROG"; then
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16595 $as_echo "$PWPROG" >&6; }
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16598 $as_echo "no" >&6; }
16605 if test -n "$PWPROG" ; then
16607 cat >>confdefs.h
<<_ACEOF
16608 #define PASSWD_PROG "$PWPROG"
16614 # Check whether --with-simple-spellcheck was given.
16615 if test "${with_simple_spellcheck+set}" = set; then :
16616 withval
=$with_simple_spellcheck;
16617 if test "x$withval" != "xno" ; then
16623 # Extract the first word of "hunspell", so it can be a program name with args.
16624 set dummy hunspell
; ac_word
=$2
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16626 $as_echo_n "checking for $ac_word... " >&6; }
16627 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16628 $as_echo_n "(cached) " >&6
16630 if test -n "$SPELLPROG"; then
16631 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16634 for as_dir
in $PATH
16637 test -z "$as_dir" && as_dir
=.
16638 for ac_exec_ext
in '' $ac_executable_extensions; do
16639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16640 ac_cv_prog_SPELLPROG
="hunspell"
16641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16650 SPELLPROG
=$ac_cv_prog_SPELLPROG
16651 if test -n "$SPELLPROG"; then
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16653 $as_echo "$SPELLPROG" >&6; }
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16656 $as_echo "no" >&6; }
16660 if test -z "$SPELLPROG" ; then
16661 # Extract the first word of "aspell", so it can be a program name with args.
16662 set dummy aspell
; ac_word
=$2
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16664 $as_echo_n "checking for $ac_word... " >&6; }
16665 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16666 $as_echo_n "(cached) " >&6
16668 if test -n "$SPELLPROG"; then
16669 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16672 for as_dir
in $PATH
16675 test -z "$as_dir" && as_dir
=.
16676 for ac_exec_ext
in '' $ac_executable_extensions; do
16677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16678 ac_cv_prog_SPELLPROG
="aspell"
16679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16688 SPELLPROG
=$ac_cv_prog_SPELLPROG
16689 if test -n "$SPELLPROG"; then
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16691 $as_echo "$SPELLPROG" >&6; }
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16694 $as_echo "no" >&6; }
16698 if test -z "$SPELLPROG" ; then
16699 # Extract the first word of "ispell", so it can be a program name with args.
16700 set dummy ispell
; ac_word
=$2
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16702 $as_echo_n "checking for $ac_word... " >&6; }
16703 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16704 $as_echo_n "(cached) " >&6
16706 if test -n "$SPELLPROG"; then
16707 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16710 for as_dir
in $PATH
16713 test -z "$as_dir" && as_dir
=.
16714 for ac_exec_ext
in '' $ac_executable_extensions; do
16715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16716 ac_cv_prog_SPELLPROG
="ispell"
16717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16726 SPELLPROG
=$ac_cv_prog_SPELLPROG
16727 if test -n "$SPELLPROG"; then
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16729 $as_echo "$SPELLPROG" >&6; }
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16732 $as_echo "no" >&6; }
16736 if test -z "$SPELLPROG" ; then
16745 if test "x$SPELLPROG" != "xno" ; then
16746 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
16747 set dummy
$SPELLPROG; ac_word
=$2
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16749 $as_echo_n "checking for $ac_word... " >&6; }
16750 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
16751 $as_echo_n "(cached) " >&6
16753 case $alpine_simple_spellcheck in
16755 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
16758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16759 for as_dir
in $PATH
16762 test -z "$as_dir" && as_dir
=.
16763 for ac_exec_ext
in '' $ac_executable_extensions; do
16764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16765 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16776 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
16777 if test -n "$alpine_simple_spellcheck"; then
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
16779 $as_echo "$alpine_simple_spellcheck" >&6; }
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16782 $as_echo "no" >&6; }
16786 if test -n "$alpine_simple_spellcheck" ; then
16787 case "$SPELLPROG" in
16789 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16792 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
16795 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16804 # Check whether --with-interactive-spellcheck was given.
16805 if test "${with_interactive_spellcheck+set}" = set; then :
16806 withval
=$with_interactive_spellcheck;
16807 if test "x$withval" != "xno" ; then
16808 ISPELLPROG
=$withval
16813 # Extract the first word of "hunspell", so it can be a program name with args.
16814 set dummy hunspell
; ac_word
=$2
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16816 $as_echo_n "checking for $ac_word... " >&6; }
16817 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16818 $as_echo_n "(cached) " >&6
16820 if test -n "$ISPELLPROG"; then
16821 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16824 for as_dir
in $PATH
16827 test -z "$as_dir" && as_dir
=.
16828 for ac_exec_ext
in '' $ac_executable_extensions; do
16829 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16830 ac_cv_prog_ISPELLPROG
="hunspell"
16831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16840 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16841 if test -n "$ISPELLPROG"; then
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16843 $as_echo "$ISPELLPROG" >&6; }
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16846 $as_echo "no" >&6; }
16850 if test -z "$ISPELLPROG" ; then
16851 # Extract the first word of "aspell", so it can be a program name with args.
16852 set dummy aspell
; ac_word
=$2
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16854 $as_echo_n "checking for $ac_word... " >&6; }
16855 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16856 $as_echo_n "(cached) " >&6
16858 if test -n "$ISPELLPROG"; then
16859 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16862 for as_dir
in $PATH
16865 test -z "$as_dir" && as_dir
=.
16866 for ac_exec_ext
in '' $ac_executable_extensions; do
16867 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16868 ac_cv_prog_ISPELLPROG
="aspell"
16869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16878 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16879 if test -n "$ISPELLPROG"; then
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16881 $as_echo "$ISPELLPROG" >&6; }
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16884 $as_echo "no" >&6; }
16888 if test -z "$SPELLPROG" ; then
16889 ISPELLPROG
="ispell"
16896 if test "x$ISPELLPROG" != "xno" ; then
16897 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
16898 set dummy
$ISPELLPROG; ac_word
=$2
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16900 $as_echo_n "checking for $ac_word... " >&6; }
16901 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
16902 $as_echo_n "(cached) " >&6
16904 case $alpine_interactive_spellcheck in
16906 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
16909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16910 for as_dir
in $PATH
16913 test -z "$as_dir" && as_dir
=.
16914 for ac_exec_ext
in '' $ac_executable_extensions; do
16915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16916 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16927 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
16928 if test -n "$alpine_interactive_spellcheck"; then
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
16930 $as_echo "$alpine_interactive_spellcheck" >&6; }
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16933 $as_echo "no" >&6; }
16937 if test -n "$alpine_interactive_spellcheck" ; then
16938 case "$ISPELLPROG" in
16940 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
16948 if test -n "$alpine_interactive_spellcheck" ; then
16950 cat >>confdefs.h
<<_ACEOF
16951 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
16956 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
16957 alpine_simple_spellcheck
=test
16960 cat >>confdefs.h
<<_ACEOF
16961 #define SPELLER "$alpine_simple_spellcheck"
16966 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
16967 *) dpv
=${prefix}/lib
/pine.conf
;;
16970 # Check whether --with-system-pinerc was given.
16971 if test "${with_system_pinerc+set}" = set; then :
16972 withval
=$with_system_pinerc;
16986 cat >>confdefs.h
<<_ACEOF
16987 #define SYSTEM_PINERC "$dpv"
16992 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
16993 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
16996 # Check whether --with-system-fixed-pinerc was given.
16997 if test "${with_system_fixed_pinerc+set}" = set; then :
16998 withval
=$with_system_fixed_pinerc;
17012 cat >>confdefs.h
<<_ACEOF
17013 #define SYSTEM_PINERC_FIXED "$dpv"
17018 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
17019 *) dpv
=${prefix}/lib
/pine.info
;;
17022 # Check whether --with-local-support-info was given.
17023 if test "${with_local_support_info+set}" = set; then :
17024 withval
=$with_local_support_info;
17038 cat >>confdefs.h
<<_ACEOF
17039 #define SYSTEM_PINE_INFO_PATH "$dpv"
17050 # Check whether --with-mailcheck-interval was given.
17051 if test "${with_mailcheck_interval+set}" = set; then :
17052 withval
=$with_mailcheck_interval;
17053 if test "x$withval" != "xno" ; then
17060 cat >>confdefs.h
<<_ACEOF
17061 #define DF_MAILCHECK "$dpv"
17068 # Check whether --with-checkpoint-interval was given.
17069 if test "${with_checkpoint_interval+set}" = set; then :
17070 withval
=$with_checkpoint_interval;
17071 if test "x$withval" != "xno" ; then
17078 cat >>confdefs.h
<<_ACEOF
17079 #define CHECK_POINT_TIME $dpv
17086 # Check whether --with-checkpoint-frequency was given.
17087 if test "${with_checkpoint_frequency+set}" = set; then :
17088 withval
=$with_checkpoint_frequency;
17089 if test "x$withval" != "xno" ; then
17096 cat >>confdefs.h
<<_ACEOF
17097 #define CHECK_POINT_FREQ $dpv
17104 # Check whether --with-display-rows was given.
17105 if test "${with_display_rows+set}" = set; then :
17106 withval
=$with_display_rows;
17107 if test "x$withval" != "xno" ; then
17114 cat >>confdefs.h
<<_ACEOF
17115 #define DEFAULT_LINES_ON_TERMINAL $dpv
17122 # Check whether --with-display-columns was given.
17123 if test "${with_display_columns+set}" = set; then :
17124 withval
=$with_display_columns;
17125 if test "x$withval" != "xno" ; then
17132 cat >>confdefs.h
<<_ACEOF
17133 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
17140 # Check whether --with-max-display-rows was given.
17141 if test "${with_max_display_rows+set}" = set; then :
17142 withval
=$with_max_display_rows;
17143 if test "x$withval" != "xno" ; then
17150 cat >>confdefs.h
<<_ACEOF
17151 #define MAX_SCREEN_ROWS $dpv
17158 # Check whether --with-max-display-columns was given.
17159 if test "${with_max_display_columns+set}" = set; then :
17160 withval
=$with_max_display_columns;
17161 if test "x$withval" != "xno" ; then
17168 cat >>confdefs.h
<<_ACEOF
17169 #define MAX_SCREEN_COLS $dpv
17176 # Check whether --with-fill-column was given.
17177 if test "${with_fill_column+set}" = set; then :
17178 withval
=$with_fill_column;
17179 if test "x$withval" != "xno" ; then
17186 cat >>confdefs.h
<<_ACEOF
17187 #define DF_FILLCOL "$dpv"
17194 # Check whether --with-max_fill-column was given.
17195 if test "${with_max_fill_column+set}" = set; then :
17196 withval
=$with_max_fill_column;
17197 if test "x$withval" != "xno" ; then
17204 cat >>confdefs.h
<<_ACEOF
17205 #define MAX_FILLCOL $dpv
17212 # Check whether --with-debug-level was given.
17213 if test "${with_debug_level+set}" = set; then :
17214 withval
=$with_debug_level;
17215 if test "x$withval" != "xno" ; then
17222 cat >>confdefs.h
<<_ACEOF
17223 #define DEFAULT_DEBUG $dpv
17230 # Check whether --with-debug-files was given.
17231 if test "${with_debug_files+set}" = set; then :
17232 withval
=$with_debug_files;
17233 if test "x$withval" != "xno" ; then
17240 cat >>confdefs.h
<<_ACEOF
17241 #define NUMDEBUGFILES $dpv
17248 # Check whether --with-debug-file was given.
17249 if test "${with_debug_file+set}" = set; then :
17250 withval
=$with_debug_file;
17251 if test "x$withval" != "xno" ; then
17258 cat >>confdefs.h
<<_ACEOF
17259 #define DEBUGFILE "$dpv"
17266 # Check whether --with-forwarded-keyword was given.
17267 if test "${with_forwarded_keyword+set}" = set; then :
17268 withval
=$with_forwarded_keyword;
17269 if test "x$withval" != "xno" ; then
17276 cat >>confdefs.h
<<_ACEOF
17277 #define FORWARDED_FLAG "$dpv"
17284 # Check whether --with-display-overlap was given.
17285 if test "${with_display_overlap+set}" = set; then :
17286 withval
=$with_display_overlap;
17287 if test "x$withval" != "xno" ; then
17294 cat >>confdefs.h
<<_ACEOF
17295 #define DF_OVERLAP "$dpv"
17302 # Check whether --with-display-margin was given.
17303 if test "${with_display_margin+set}" = set; then :
17304 withval
=$with_display_margin;
17305 if test "x$withval" != "xno" ; then
17312 cat >>confdefs.h
<<_ACEOF
17313 #define DF_MARGIN "$dpv"
17320 # Check whether --with-default-fcc was given.
17321 if test "${with_default_fcc+set}" = set; then :
17322 withval
=$with_default_fcc;
17323 if test "x$withval" != "xno" ; then
17330 cat >>confdefs.h
<<_ACEOF
17331 #define DF_DEFAULT_FCC "$dpv"
17338 # Check whether --with-default-save-folder was given.
17339 if test "${with_default_save_folder+set}" = set; then :
17340 withval
=$with_default_save_folder;
17341 if test "x$withval" != "xno" ; then
17348 cat >>confdefs.h
<<_ACEOF
17349 #define DEFAULT_SAVE "$dpv"
17356 # Check whether --with-default-legacy-postponed-folder was given.
17357 if test "${with_default_legacy_postponed_folder+set}" = set; then :
17358 withval
=$with_default_legacy_postponed_folder;
17359 if test "x$withval" != "xno" ; then
17366 cat >>confdefs.h
<<_ACEOF
17367 #define POSTPONED_MAIL "$dpv"
17374 # Check whether --with-default-postponed-folder was given.
17375 if test "${with_default_postponed_folder+set}" = set; then :
17376 withval
=$with_default_postponed_folder;
17377 if test "x$withval" != "xno" ; then
17384 cat >>confdefs.h
<<_ACEOF
17385 #define POSTPONED_MSGS "$dpv"
17392 # Check whether --with-default-trash-folder was given.
17393 if test "${with_default_trash_folder+set}" = set; then :
17394 withval
=$with_default_trash_folder;
17395 if test "x$withval" != "xno" ; then
17402 cat >>confdefs.h
<<_ACEOF
17403 #define TRASH_FOLDER "$dpv"
17408 dpv
=.pine-interrupted-mail
17410 # Check whether --with-default-interrupted-mail was given.
17411 if test "${with_default_interrupted_mail+set}" = set; then :
17412 withval
=$with_default_interrupted_mail;
17413 if test "x$withval" != "xno" ; then
17420 cat >>confdefs.h
<<_ACEOF
17421 #define INTERRUPTED_MAIL "$dpv"
17428 # Check whether --with-default-dead-letter-folder was given.
17429 if test "${with_default_dead_letter_folder+set}" = set; then :
17430 withval
=$with_default_dead_letter_folder;
17431 if test "x$withval" != "xno" ; then
17438 cat >>confdefs.h
<<_ACEOF
17439 #define DEADLETTER "$dpv"
17446 # Check whether --with-default-mail-directory was given.
17447 if test "${with_default_mail_directory+set}" = set; then :
17448 withval
=$with_default_mail_directory;
17449 if test "x$withval" != "xno" ; then
17456 cat >>confdefs.h
<<_ACEOF
17457 #define DF_MAIL_DIRECTORY "$dpv"
17464 # Check whether --with-default-inbox-name was given.
17465 if test "${with_default_inbox_name+set}" = set; then :
17466 withval
=$with_default_inbox_name;
17467 if test "x$withval" != "xno" ; then
17474 cat >>confdefs.h
<<_ACEOF
17475 #define INBOX_NAME "$dpv"
17482 # Check whether --with-default-signature-file was given.
17483 if test "${with_default_signature_file+set}" = set; then :
17484 withval
=$with_default_signature_file;
17485 if test "x$withval" != "xno" ; then
17492 cat >>confdefs.h
<<_ACEOF
17493 #define DF_SIGNATURE_FILE "$dpv"
17500 # Check whether --with-default-elm-style-save was given.
17501 if test "${with_default_elm_style_save+set}" = set; then :
17502 withval
=$with_default_elm_style_save;
17503 if test "x$withval" != "xno" ; then
17510 cat >>confdefs.h
<<_ACEOF
17511 #define DF_ELM_STYLE_SAVE "$dpv"
17518 # Check whether --with-default-header-in-reply was given.
17519 if test "${with_default_header_in_reply+set}" = set; then :
17520 withval
=$with_default_header_in_reply;
17521 if test "x$withval" != "xno" ; then
17528 cat >>confdefs.h
<<_ACEOF
17529 #define DF_HEADER_IN_REPLY "$dpv"
17536 # Check whether --with-default-old-style-reply was given.
17537 if test "${with_default_old_style_reply+set}" = set; then :
17538 withval
=$with_default_old_style_reply;
17539 if test "x$withval" != "xno" ; then
17546 cat >>confdefs.h
<<_ACEOF
17547 #define DF_OLD_STYLE_REPLY "$dpv"
17554 # Check whether --with-default-use-only-domain-name was given.
17555 if test "${with_default_use_only_domain_name+set}" = set; then :
17556 withval
=$with_default_use_only_domain_name;
17557 if test "x$withval" != "xno" ; then
17564 cat >>confdefs.h
<<_ACEOF
17565 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
17572 # Check whether --with-default-save-by-sender was given.
17573 if test "${with_default_save_by_sender+set}" = set; then :
17574 withval
=$with_default_save_by_sender;
17575 if test "x$withval" != "xno" ; then
17582 cat >>confdefs.h
<<_ACEOF
17583 #define DF_SAVE_BY_SENDER "$dpv"
17590 # Check whether --with-default-sort-key was given.
17591 if test "${with_default_sort_key+set}" = set; then :
17592 withval
=$with_default_sort_key;
17593 if test "x$withval" != "xno" ; then
17600 cat >>confdefs.h
<<_ACEOF
17601 #define DF_SORT_KEY "$dpv"
17606 dpv
=fullname-with-lists-last
17608 # Check whether --with-default-addressbook-sort-rule was given.
17609 if test "${with_default_addressbook_sort_rule+set}" = set; then :
17610 withval
=$with_default_addressbook_sort_rule;
17611 if test "x$withval" != "xno" ; then
17618 cat >>confdefs.h
<<_ACEOF
17619 #define DF_AB_SORT_RULE "$dpv"
17626 # Check whether --with-default-folder-sort-rule was given.
17627 if test "${with_default_folder_sort_rule+set}" = set; then :
17628 withval
=$with_default_folder_sort_rule;
17629 if test "x$withval" != "xno" ; then
17636 cat >>confdefs.h
<<_ACEOF
17637 #define DF_FLD_SORT_RULE "$dpv"
17644 # Check whether --with-default-saved-message-name-rule was given.
17645 if test "${with_default_saved_message_name_rule+set}" = set; then :
17646 withval
=$with_default_saved_message_name_rule;
17647 if test "x$withval" != "xno" ; then
17654 cat >>confdefs.h
<<_ACEOF
17655 #define DF_SAVED_MSG_NAME_RULE "$dpv"
17662 # Check whether --with-default-fcc-rule was given.
17663 if test "${with_default_fcc_rule+set}" = set; then :
17664 withval
=$with_default_fcc_rule;
17665 if test "x$withval" != "xno" ; then
17672 cat >>confdefs.h
<<_ACEOF
17673 #define DF_FCC_RULE "$dpv"
17680 # Check whether --with-default-standard-printer was given.
17681 if test "${with_default_standard_printer+set}" = set; then :
17682 withval
=$with_default_standard_printer;
17683 if test "x$withval" != "xno" ; then
17690 cat >>confdefs.h
<<_ACEOF
17691 #define DF_STANDARD_PRINTER "$dpv"
17696 dpv
=attached-to-ansi
17698 # Check whether --with-default-ansi-printer was given.
17699 if test "${with_default_ansi_printer+set}" = set; then :
17700 withval
=$with_default_ansi_printer;
17701 if test "x$withval" != "xno" ; then
17708 cat >>confdefs.h
<<_ACEOF
17709 #define ANSI_PRINTER "$dpv"
17716 # Check whether --with-default-addressbook was given.
17717 if test "${with_default_addressbook+set}" = set; then :
17718 withval
=$with_default_addressbook;
17719 if test "x$withval" != "xno" ; then
17726 cat >>confdefs.h
<<_ACEOF
17727 #define DF_ADDRESSBOOK "$dpv"
17732 dpv
="Local Support"
17734 # Check whether --with-default-local-fullname was given.
17735 if test "${with_default_local_fullname+set}" = set; then :
17736 withval
=$with_default_local_fullname;
17737 if test "x$withval" != "xno" ; then
17744 cat >>confdefs.h
<<_ACEOF
17745 #define DF_LOCAL_FULLNAME "$dpv"
17752 # Check whether --with-default-local-address was given.
17753 if test "${with_default_local_address+set}" = set; then :
17754 withval
=$with_default_local_address;
17755 if test "x$withval" != "xno" ; then
17762 cat >>confdefs.h
<<_ACEOF
17763 #define DF_LOCAL_ADDRESS "$dpv"
17770 # Check whether --with-default-keyboard-lock-count was given.
17771 if test "${with_default_keyboard_lock_count+set}" = set; then :
17772 withval
=$with_default_keyboard_lock_count;
17773 if test "x$withval" != "xno" ; then
17780 cat >>confdefs.h
<<_ACEOF
17781 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
17788 # Check whether --with-default-remote-addressbook-history was given.
17789 if test "${with_default_remote_addressbook_history+set}" = set; then :
17790 withval
=$with_default_remote_addressbook_history;
17791 if test "x$withval" != "xno" ; then
17798 cat >>confdefs.h
<<_ACEOF
17799 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
17804 dpv
=.alpine-smime
/public
17806 # Check whether --with-smime-public-cert-directory was given.
17807 if test "${with_smime_public_cert_directory+set}" = set; then :
17808 withval
=$with_smime_public_cert_directory;
17809 if test "x$withval" != "xno" ; then
17816 cat >>confdefs.h
<<_ACEOF
17817 #define DF_PUBLICCERT_DIR "$dpv"
17822 dpv
=.alpine-smime
/private
17824 # Check whether --with-smime-private-key-directory was given.
17825 if test "${with_smime_private_key_directory+set}" = set; then :
17826 withval
=$with_smime_private_key_directory;
17827 if test "x$withval" != "xno" ; then
17834 cat >>confdefs.h
<<_ACEOF
17835 #define DF_PRIVATEKEY_DIR "$dpv"
17840 dpv
=.alpine-smime
/ca
17842 # Check whether --with-smime-cacert-directory was given.
17843 if test "${with_smime_cacert_directory+set}" = set; then :
17844 withval
=$with_smime_cacert_directory;
17845 if test "x$withval" != "xno" ; then
17852 cat >>confdefs.h
<<_ACEOF
17853 #define DF_CACERT_DIR "$dpv"
17860 # Check whether --with-default-printer was given.
17861 if test "${with_default_printer+set}" = set; then :
17862 withval
=$with_default_printer;
17863 if test "x$withval" != "xno" ; then
17870 cat >>confdefs.h
<<_ACEOF
17871 #define DF_DEFAULT_PRINTER $dpv
17877 cat >>confdefs.h
<<_ACEOF
17878 #define DF_PUBLIC_CONTAINER "PublicContainer"
17882 cat >>confdefs.h
<<_ACEOF
17883 #define DF_PRIVATE_CONTAINER "PrivateContainer"
17887 cat >>confdefs.h
<<_ACEOF
17888 #define DF_CA_CONTAINER "CAContainer"
17893 # Check whether --with-passfile was given.
17894 if test "${with_passfile+set}" = set; then :
17895 withval
=$with_passfile;
17902 alpine_PASSFILE
=$withval
17911 # Check whether --with-local-password-cache was given.
17912 if test "${with_local_password_cache+set}" = set; then :
17913 withval
=$with_local_password_cache;
17914 alpine_os_credential_cache
=$withval
17920 # Check whether --with-local-password-cache-method was given.
17921 if test "${with_local_password_cache_method+set}" = set; then :
17922 withval
=$with_local_password_cache_method;
17923 alpine_os_credential_cache_method
=$withval
17928 if test -n "$alpine_PASSFILE" ; then
17929 case $alpine_os_credential_cache in
17933 alpine_os_credential_cache
="no"
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
17935 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
17939 cat >>confdefs.h
<<_ACEOF
17940 #define PASSFILE "$alpine_PASSFILE"
17946 # Check whether --with-default-sshpath was given.
17947 if test "${with_default_sshpath+set}" = set; then :
17948 withval
=$with_default_sshpath;
17956 cat >>confdefs.h
<<_ACEOF
17957 #define DF_SSHPATH "$withval"
17967 # Check whether --with-default-sshcmd was given.
17968 if test "${with_default_sshcmd+set}" = set; then :
17969 withval
=$with_default_sshcmd;
17977 cat >>confdefs.h
<<_ACEOF
17978 #define DF_SSHCMD "$withval"
17988 # Check whether --with-ssl was given.
17989 if test "${with_ssl+set}" = set; then :
17990 withval
=$with_ssl; with_ssl
=$withval
17994 if test "x$with_ssl" = "xno" ; then
17995 alpine_SSLTYPE
="none"
17996 elif test -d /usr
/local
/ssl
; then
17997 alpine_SSLDIR
="/usr/local/ssl"
17998 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17999 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18002 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
18003 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
18004 alpine_SSLTYPE
="nopwd"
18005 if test -d /etc
/pki
/tls
; then
18006 alpine_SSLDIR
="/etc/pki/tls"
18008 alpine_SSLDIR
="/usr/share/ssl"
18010 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18011 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18012 alpine_SSLINCLUDE
="/usr/include/openssl"
18013 alpine_SSLLIB
="/usr/lib"
18014 elif test -f /etc
/mandrake-release
; then
18015 alpine_SSLDIR
="/usr/lib/ssl"
18016 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18017 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18018 alpine_SSLINCLUDE
="/usr/include/openssl"
18019 alpine_SSLLIB
="/usr/lib"
18020 elif test -f /etc
/SuSE-release
; then
18021 alpine_SSLTYPE
="nopwd"
18022 alpine_SSLDIR
="/etc/ssl"
18023 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18024 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18025 alpine_SSLINCLUDE
="/usr/include/openssl"
18026 alpine_SSLLIB
="/usr/lib"
18027 elif test -d /etc
/osso-af-init
; then
18028 alpine_SSLTYPE
="nopwd"
18029 alpine_SSLDIR
="/usr"
18030 alpine_SSLCERTS
="/usr/share/certs"
18031 alpine_SSLINCLUDE
="/usr/include/openssl"
18032 alpine_SSLLIB
="/usr/lib"
18033 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
18034 if test ! -d /etc
/osso-af-init
; then
18035 alpine_SSLDIR
="/etc/ssl"
18036 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18037 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18038 alpine_SSLINCLUDE
="/usr/include/openssl"
18039 alpine_SSLLIB
="/usr/lib"
18041 elif test -f /etc
/manjaro-release
; then
18042 alpine_SSLDIR
="/etc/ssl"
18043 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18044 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18045 alpine_SSLINCLUDE
="/usr/include/openssl"
18046 alpine_SSLLIB
="/usr/lib"
18048 alpine_SSLTYPE
="nopwd"
18049 alpine_SSLDIR
="/usr"
18050 alpine_SSLCERTS
="/etc/ssl/certs"
18054 alpine_SSLTYPE
="nopwd"
18055 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
18056 if test -d /usr
/local
/opt
/openssl
; then
18057 alpine_SSLDIR
="/usr/local/opt/openssl"
18058 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18059 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18060 alpine_SSLCERTS
="/usr/local/etc/openssl"
18061 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18062 elif test -d /opt
/local
/etc
/openssl
; then
18063 alpine_SSLDIR
="/opt/local"
18064 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18065 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18066 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
18067 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
18068 elif test -d /sw
/etc
/ssl
; then
18069 alpine_SSLDIR
="/sw/etc/ssl"
18070 alpine_SSLINCLUDE
="/sw/include"
18071 alpine_SSLLIB
="/sw/lib"
18072 alpine_SSLCERTS
="/sw/etc/ssl/certs"
18073 alpine_SSLKEYS
="/sw/etc/ssl/private"
18074 elif test -d /usr
/local
/ssl
; then
18075 alpine_SSLDIR
="/usr/local/ssl"
18076 elif test -d /System
/Library
/OpenSSL
; then
18077 alpine_SSLDIR
="/System/Library/OpenSSL"
18078 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18079 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18080 alpine_SSLLIB
="/usr/lib"
18081 alpine_SSLINCLUDE
="/usr/include/openssl"
18085 alpine_SSLDIR
="/etc/openssl"
18086 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18087 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18088 alpine_SSLINCLUDE
="/usr/include/openssl"
18089 alpine_SSLLIB
="/usr/lib"
18092 alpine_SSLDIR
="/etc/openssl"
18093 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18094 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18095 alpine_SSLINCLUDE
="/usr/include/openssl"
18096 alpine_SSLLIB
="/usr/lib"
18099 alpine_SSLTYPE
="nopwd"
18100 alpine_SSLDIR
="/usr"
18101 alpine_SSLCERTS
="/etc/ssl/certs"
18104 alpine_SSLDIR
="/etc/ssl"
18105 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18106 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18107 if test -d /usr
/local
/include
/openssl
; then
18108 alpine_SSLINCLUDE
="/usr/local/include/openssl"
18109 alpine_SSLLIB
="/usr/local/lib"
18111 alpine_SSLINCLUDE
="/usr/include/openssl"
18112 alpine_SSLLIB
="/usr/lib"
18116 alpine_SSLDIR
="/etc/ssl"
18117 alpine_SSLINCLUDE
="/usr/include/openssl"
18118 alpine_SSLLIB
="/usr/lib"
18119 alpine_SSLCERTS
="/etc/ssl"
18120 alpine_SSLKEYS
="/etc/ssl/private"
18123 alpine_SSLDIR
="/usr/ssl"
18124 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18125 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
18126 alpine_SSLINCLUDE
="/usr/include/openssl"
18127 alpine_SSLLIB
="/usr/lib"
18129 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
18130 alpine_SSLTYPE
="sco.nopwd"
18131 alpine_SSLDIR
="/usr/local/ssl"
18134 if test -d /usr
/include
/openssl
; then
18135 alpine_SSLINCLUDE
="/usr/include/openssl"
18136 elif test -d /usr
/sfw
/include
/openssl
; then
18137 alpine_SSLDIR
="/usr/sfw"
18138 elif test -d /opt
/csw
/include
/openssl
; then
18139 alpine_SSLDIR
="/opt/csw"
18140 if test -d /opt
/csw
/ssl
/certs
; then
18141 alpine_SSLCERTS
="/opt/csw/ssl/certs"
18144 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
18145 alpine_SSLCERTS
="/etc/certs"
18149 alpine_SSLTYPE
="nopwd"
18150 alpine_SSLDIR
="/usr/local/ssl"
18155 if test "x$alpine_SSLTYPE" != "xnone" ; then
18157 # Check whether --with-ssl-dir was given.
18158 if test "${with_ssl_dir+set}" = set; then :
18159 withval
=$with_ssl_dir;
18160 if test "x$withval" != "xno" ; then
18161 alpine_SSLDIR
=$withval
18162 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
18163 alpine_SSLLIB
=$alpine_SSLDIR/lib
18170 # Check whether --with-ssl-certs-dir was given.
18171 if test "${with_ssl_certs_dir+set}" = set; then :
18172 withval
=$with_ssl_certs_dir;
18173 if test "x$withval" != "xno" ; then
18174 alpine_SSLCERTS
=$withval
18181 # Check whether --with-ssl-include-dir was given.
18182 if test "${with_ssl_include_dir+set}" = set; then :
18183 withval
=$with_ssl_include_dir;
18184 if test "x$withval" != "xno" ; then
18185 alpine_SSLINCLUDE
=$withval
18192 # Check whether --with-ssl-lib-dir was given.
18193 if test "${with_ssl_lib_dir+set}" = set; then :
18194 withval
=$with_ssl_lib_dir;
18195 if test "x$withval" != "xno" ; then
18196 alpine_SSLLIB
=$withval
18202 if test -n "$alpine_SSLINCLUDE" ; then
18203 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
18204 elif test -n "$alpine_SSLDIR" ; then
18205 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
18207 if test -n "$alpine_SSLLIB" ; then
18208 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
18209 elif test -n "$alpine_SSLDIR" ; then
18210 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
18216 # Check whether --with-krb5 was given.
18217 if test "${with_krb5+set}" = set; then :
18218 withval
=$with_krb5; with_krb5
=$withval
18222 if test "x$with_krb5" = "xno" ; then
18223 alpine_GSSTYPE
="none"
18228 # Check whether --with-krb5-dir was given.
18229 if test "${with_krb5_dir+set}" = set; then :
18230 withval
=$with_krb5_dir;
18231 if test "x$withval" != "xno" ; then
18232 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
18233 LDFLAGS
="$LDFLAGS -L${withval}/lib"
18240 # Check whether --with-krb5-include-dir was given.
18241 if test "${with_krb5_include_dir+set}" = set; then :
18242 withval
=$with_krb5_include_dir;
18243 if test "x$withval" != "xno" ; then
18244 CPPFLAGS
="$CPPFLAGS -I$withval"
18251 # Check whether --with-krb5-lib-dir was given.
18252 if test "${with_krb5_lib_dir+set}" = set; then :
18253 withval
=$with_krb5_lib_dir;
18254 if test "x$withval" != "xno" ; then
18255 LDFLAGS
="$LDFLAGS -L$withval"
18263 # Check whether --with-ldap was given.
18264 if test "${with_ldap+set}" = set; then :
18265 withval
=$with_ldap; with_ldap
=$withval
18269 if test "x$with_ldap" = "xno" ; then
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
18272 $as_echo "$as_me: Excluding LDAP Support" >&6;}
18277 alpine_LDAPDIR
="/usr/local"
18278 alpine_LDAPINCLUDE
="${LDAPDIR}/include"
18279 alpine_LDAPLIB
="${LDAPDIR}/lib"
18283 alpine_with_ldap
=yes
18286 # Check whether --with-ldap-dir was given.
18287 if test "${with_ldap_dir+set}" = set; then :
18288 withval
=$with_ldap_dir;
18289 if test "x$withval" != "xno" ; then
18290 alpine_LDAPDIR
="${withval}"
18291 alpine_LDAPINCLUDE
="${LDAPDIR}/include"
18292 alpine_LDAPLIB
="${LDAPDIR}/lib"
18299 # Check whether --with-ldap-include-dir was given.
18300 if test "${with_ldap_include_dir+set}" = set; then :
18301 withval
=$with_ldap_include_dir;
18302 if test "x$withval" != "xno" ; then
18303 alpine_LDAPINCLUDE
="$withval"
18310 # Check whether --with-ldap-lib-dir was given.
18311 if test "${with_ldap_lib_dir+set}" = set; then :
18312 withval
=$with_ldap_lib_dir;
18313 if test "x$withval" != "xno" ; then
18314 alpine_LDAPLIB
="${withval}"
18320 if test -n "$alpine_LDAPINCLUDE" ; then
18321 CPPFLAGS
="$CPPFLAGS -I${alpine_LDAPINCLUDE}/include"
18323 if test -n "$alpine_LDAPLIB" ; then
18324 LDFLAGS
="$LDFLAGS -L${alpine_LDAPLIB}/lib"
18329 # Check whether --with-smime was given.
18330 if test "${with_smime+set}" = set; then :
18331 withval
=$with_smime; with_smime
=$withval
18336 # Check whether --with-tcl was given.
18337 if test "${with_tcl+set}" = set; then :
18338 withval
=$with_tcl; with_tcl
=$withval
18342 if test "x$with_tcl" = "xno" ; then
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
18345 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
18348 # Check whether --with-tcl-lib was given.
18349 if test "${with_tcl_lib+set}" = set; then :
18350 withval
=$with_tcl_lib;
18351 if test "x$withval" != "xno" ; then
18352 alpine_TCLLIB
=$withval
18358 # Check whether --with-tcl-include was given.
18359 if test "${with_tcl_include+set}" = set; then :
18360 withval
=$with_tcl_include;
18361 if test "x$withval" != "xno" ; then
18362 CPPFLAGS
="$CPPFLAGS -I$withval"
18363 alpine_TCLINC
=$withval
18371 # Check whether --with-supplied-regex was given.
18372 if test "${with_supplied_regex+set}" = set; then :
18373 withval
=$with_supplied_regex; alpine_REGEX
=$withval
18378 # Check whether --with-pthread was given.
18379 if test "${with_pthread+set}" = set; then :
18380 withval
=$with_pthread; with_pthread
=$withval
18385 # Check whether --with-system-mail-directory was given.
18386 if test "${with_system_mail_directory+set}" = set; then :
18387 withval
=$with_system_mail_directory;
18388 if test "x$withval" != "xno" ; then
18389 alpine_with_local_maildir
="$withval"
18396 # Check whether --with-c-client-target was given.
18397 if test "${with_c_client_target+set}" = set; then :
18398 withval
=$with_c_client_target;
18399 if test "x$withval" != "xno" ;then
18400 alpine_with_c_client_target
="$withval"
18410 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
18411 alpine_path_delim
="/"
18412 alpine_mode_readonly
="(0600)"
18413 if test -f /etc
/fedora-release
; then
18416 if test -d /etc
/pki
/tls
; then
18417 alpine_c_client_target
="lfd"
18419 alpine_c_client_target
="lrh"
18421 elif test -f /etc
/mandrake-release
; then
18423 alpine_c_client_target
="lmd"
18425 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
18428 if test -d /etc
/pki
/tls
; then
18429 alpine_c_client_target
="lr5"
18431 alpine_c_client_target
="lrh"
18433 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
18434 if test -d /etc
/osso-af-init
; then
18436 alpine_c_client_target
="ln8"
18439 alpine_c_client_target
="ldb"
18442 elif test -f /etc
/SuSE-release
; then
18444 alpine_c_client_target
="lsu"
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
18449 $as_echo_n "checking for pam_start in -lpam... " >&6; }
18450 if ${ac_cv_lib_pam_pam_start+:} false
; then :
18451 $as_echo_n "(cached) " >&6
18453 ac_check_lib_save_LIBS
=$LIBS
18455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18458 /* Override any GCC internal prototype to avoid an error.
18459 Use char because int might match the return type of a GCC
18460 builtin and then its argument prototype would still apply. */
18468 return pam_start ();
18473 if ac_fn_c_try_link
"$LINENO"; then :
18474 ac_cv_lib_pam_pam_start
=yes
18476 ac_cv_lib_pam_pam_start
=no
18478 rm -f core conftest.err conftest.
$ac_objext \
18479 conftest
$ac_exeext conftest.
$ac_ext
18480 LIBS
=$ac_check_lib_save_LIBS
18482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
18483 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
18484 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
18486 alpine_c_client_target
="lnp"
18491 if test -f /etc
/shadow
; then
18492 alpine_c_client_target
="slx"
18494 alpine_c_client_target
="lnx"
18503 alpine_path_delim
="/"
18504 alpine_mode_readonly
="(0600)"
18505 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
18506 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
18508 $as_echo "#define OSX_TARGET 1" >>confdefs.h
18510 case "$alpine_os_credential_cache" in
18515 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
18520 $as_echo_n "checking for pam_start in -lpam... " >&6; }
18521 if ${ac_cv_lib_pam_pam_start+:} false
; then :
18522 $as_echo_n "(cached) " >&6
18524 ac_check_lib_save_LIBS
=$LIBS
18526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18529 /* Override any GCC internal prototype to avoid an error.
18530 Use char because int might match the return type of a GCC
18531 builtin and then its argument prototype would still apply. */
18539 return pam_start ();
18544 if ac_fn_c_try_link
"$LINENO"; then :
18545 ac_cv_lib_pam_pam_start
=yes
18547 ac_cv_lib_pam_pam_start
=no
18549 rm -f core conftest.err conftest.
$ac_objext \
18550 conftest
$ac_exeext conftest.
$ac_ext
18551 LIBS
=$ac_check_lib_save_LIBS
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
18554 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
18555 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
18557 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
18558 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
18561 alpine_c_client_target
="oxs"
18564 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
18565 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
18568 alpine_c_client_target
="oxp"
18573 alpine_pam_none_reason
="header files not found"
18585 alpine_c_client_target
="osx"
18591 if test x
$GCC = "xyes" ; then
18593 alpine_c_client_target
="gso"
18594 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
18597 alpine_c_client_target
="soc"
18599 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
18602 alpine_path_delim
="/"
18603 alpine_mode_readonly
="(0600)"
18607 alpine_path_delim
="/"
18608 alpine_mode_readonly
="(0600)"
18609 alpine_c_client_target
="s40"
18612 if test x
$GCC = "xyes" ; then
18614 alpine_c_client_target
="go5"
18617 alpine_c_client_target
="sc5"
18619 alpine_path_delim
="/"
18620 alpine_mode_readonly
="(0600)"
18624 alpine_path_delim
="/"
18625 alpine_mode_readonly
="(0600)"
18626 alpine_c_client_target
="nx3"
18630 alpine_path_delim
="/"
18631 alpine_mode_readonly
="(0600)"
18632 alpine_c_client_target
="neb"
18636 alpine_path_delim
="/"
18637 alpine_mode_readonly
="(0600)"
18638 alpine_c_client_target
="neb"
18642 alpine_path_delim
="/"
18643 alpine_mode_readonly
="(0600)"
18644 alpine_c_client_target
="bsi"
18648 alpine_path_delim
="/"
18649 alpine_mode_readonly
="(0600)"
18650 alpine_c_client_target
="bsf"
18651 LIBS
="$LIBS $LIBINTL"
18655 alpine_path_delim
="/"
18656 alpine_mode_readonly
="(0600)"
18657 alpine_c_client_target
="bso"
18658 LIBS
="$LIBS $LIBINTL"
18662 alpine_path_delim
="/"
18663 alpine_mode_readonly
="(0600)"
18664 alpine_c_client_target
="a52"
18668 alpine_path_delim
="/"
18669 alpine_mode_readonly
="(0600)"
18670 alpine_c_client_target
="a41"
18674 alpine_path_delim
="/"
18675 alpine_mode_readonly
="(0600)"
18676 alpine_c_client_target
="a32"
18678 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
18680 alpine_path_delim
="/"
18681 alpine_mode_readonly
="(0600)"
18682 alpine_c_client_target
="uw2"
18686 alpine_path_delim
="/"
18687 alpine_mode_readonly
="(0600)"
18688 alpine_c_client_target
="osf"
18692 alpine_path_delim
="/"
18693 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18694 alpine_c_client_target
="cyg"
18695 LIBS
="$LIBS $LIBINTL"
18697 windows
* |
*-*-pw32*)
18699 alpine_path_delim
="\\"
18700 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18701 alpine_c_client_target
="wnt"
18703 $as_echo "#define _WINDOWS 1" >>confdefs.h
18707 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
18712 # Check whether --with-ipv6 was given.
18713 if test "${with_ipv6+set}" = set; then :
18714 withval
=$with_ipv6; with_ipv6
=$withval
18718 if test "x$with_ipv6" = "xno" ; then
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
18720 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
18721 c_client_specials
="${c_client_specials}IP6=4 "
18722 c_client_ip6
="true"
18724 c_client_ip6
="touch imap/ip6"
18729 if test x
$enable_dmalloc = "xyes" ; then
18730 if test "x$with_pthread" = "xyes" ; then
18731 dmalloc_lib
=dmallocth
18733 dmalloc_lib
=dmalloc
18736 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
18737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
18738 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
18739 if eval \
${$as_ac_Lib+:} false
; then :
18740 $as_echo_n "(cached) " >&6
18742 ac_check_lib_save_LIBS
=$LIBS
18743 LIBS
="-l$dmalloc_lib $LIBS"
18744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18747 /* Override any GCC internal prototype to avoid an error.
18748 Use char because int might match the return type of a GCC
18749 builtin and then its argument prototype would still apply. */
18753 char dmalloc_shutdown ();
18757 return dmalloc_shutdown ();
18762 if ac_fn_c_try_link
"$LINENO"; then :
18763 eval "$as_ac_Lib=yes"
18765 eval "$as_ac_Lib=no"
18767 rm -f core conftest.err conftest.
$ac_objext \
18768 conftest
$ac_exeext conftest.
$ac_ext
18769 LIBS
=$ac_check_lib_save_LIBS
18771 eval ac_res
=\$
$as_ac_Lib
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18773 $as_echo "$ac_res" >&6; }
18774 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
18775 cat >>confdefs.h
<<_ACEOF
18776 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
18779 LIBS
="-l$dmalloc_lib $LIBS"
18783 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
18790 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
18791 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
18792 $as_echo_n "(cached) " >&6
18794 ac_check_lib_save_LIBS
=$LIBS
18795 LIBS
="-ltinfo $LIBS"
18796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18799 /* Override any GCC internal prototype to avoid an error.
18800 Use char because int might match the return type of a GCC
18801 builtin and then its argument prototype would still apply. */
18809 return setupterm ();
18814 if ac_fn_c_try_link
"$LINENO"; then :
18815 ac_cv_lib_tinfo_setupterm
=yes
18817 ac_cv_lib_tinfo_setupterm
=no
18819 rm -f core conftest.err conftest.
$ac_objext \
18820 conftest
$ac_exeext conftest.
$ac_ext
18821 LIBS
=$ac_check_lib_save_LIBS
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
18824 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
18825 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
18827 alpine_termdata
=info
18828 LIBS
="$LIBS -ltinfo"
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
18833 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
18834 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
18835 $as_echo_n "(cached) " >&6
18837 ac_check_lib_save_LIBS
=$LIBS
18838 LIBS
="-lncurses $LIBS"
18839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18842 /* Override any GCC internal prototype to avoid an error.
18843 Use char because int might match the return type of a GCC
18844 builtin and then its argument prototype would still apply. */
18852 return setupterm ();
18857 if ac_fn_c_try_link
"$LINENO"; then :
18858 ac_cv_lib_ncurses_setupterm
=yes
18860 ac_cv_lib_ncurses_setupterm
=no
18862 rm -f core conftest.err conftest.
$ac_objext \
18863 conftest
$ac_exeext conftest.
$ac_ext
18864 LIBS
=$ac_check_lib_save_LIBS
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
18867 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
18868 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
18870 alpine_termdata
=info
18871 LIBS
="$LIBS -lncurses"
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
18876 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
18877 if ${ac_cv_lib_curses_setupterm+:} false
; then :
18878 $as_echo_n "(cached) " >&6
18880 ac_check_lib_save_LIBS
=$LIBS
18881 LIBS
="-lcurses $LIBS"
18882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18885 /* Override any GCC internal prototype to avoid an error.
18886 Use char because int might match the return type of a GCC
18887 builtin and then its argument prototype would still apply. */
18895 return setupterm ();
18900 if ac_fn_c_try_link
"$LINENO"; then :
18901 ac_cv_lib_curses_setupterm
=yes
18903 ac_cv_lib_curses_setupterm
=no
18905 rm -f core conftest.err conftest.
$ac_objext \
18906 conftest
$ac_exeext conftest.
$ac_ext
18907 LIBS
=$ac_check_lib_save_LIBS
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
18910 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
18911 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
18913 alpine_termdata
=info
18914 LIBS
="$LIBS -lcurses"
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
18919 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
18920 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
18921 $as_echo_n "(cached) " >&6
18923 ac_check_lib_save_LIBS
=$LIBS
18924 LIBS
="-ltermlib $LIBS"
18925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18928 /* Override any GCC internal prototype to avoid an error.
18929 Use char because int might match the return type of a GCC
18930 builtin and then its argument prototype would still apply. */
18943 if ac_fn_c_try_link
"$LINENO"; then :
18944 ac_cv_lib_termlib_tgetent
=yes
18946 ac_cv_lib_termlib_tgetent
=no
18948 rm -f core conftest.err conftest.
$ac_objext \
18949 conftest
$ac_exeext conftest.
$ac_ext
18950 LIBS
=$ac_check_lib_save_LIBS
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
18953 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
18954 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
18956 alpine_termdata
=cap
18957 LIBS
="$LIBS -ltermlib"
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
18962 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
18963 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
18964 $as_echo_n "(cached) " >&6
18966 ac_check_lib_save_LIBS
=$LIBS
18967 LIBS
="-ltermcap $LIBS"
18968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18971 /* Override any GCC internal prototype to avoid an error.
18972 Use char because int might match the return type of a GCC
18973 builtin and then its argument prototype would still apply. */
18986 if ac_fn_c_try_link
"$LINENO"; then :
18987 ac_cv_lib_termcap_tgetent
=yes
18989 ac_cv_lib_termcap_tgetent
=no
18991 rm -f core conftest.err conftest.
$ac_objext \
18992 conftest
$ac_exeext conftest.
$ac_ext
18993 LIBS
=$ac_check_lib_save_LIBS
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
18996 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
18997 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
18999 alpine_termdata
=cap
19000 LIBS
="$LIBS -ltermcap"
19004 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
19020 case $alpine_termdata in
19023 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
19028 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19034 $as_echo_n "checking for library containing dlopen... " >&6; }
19035 if ${ac_cv_search_dlopen+:} false
; then :
19036 $as_echo_n "(cached) " >&6
19038 ac_func_search_save_LIBS
=$LIBS
19039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19042 /* Override any GCC internal prototype to avoid an error.
19043 Use char because int might match the return type of a GCC
19044 builtin and then its argument prototype would still apply. */
19057 for ac_lib
in '' dl dld
; do
19058 if test -z "$ac_lib"; then
19059 ac_res
="none required"
19062 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19064 if ac_fn_c_try_link
"$LINENO"; then :
19065 ac_cv_search_dlopen
=$ac_res
19067 rm -f core conftest.err conftest.
$ac_objext \
19069 if ${ac_cv_search_dlopen+:} false
; then :
19073 if ${ac_cv_search_dlopen+:} false
; then :
19076 ac_cv_search_dlopen
=no
19078 rm conftest.
$ac_ext
19079 LIBS
=$ac_func_search_save_LIBS
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19082 $as_echo "$ac_cv_search_dlopen" >&6; }
19083 ac_res
=$ac_cv_search_dlopen
19084 if test "$ac_res" != no
; then :
19085 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19091 if test "x$alpine_DL" = "xnone" ; then
19092 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
19096 if test "x$alpine_SSLTYPE" != "xnone" ; then
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
19098 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
19099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19100 /* end confdefs.h. */
19103 #include <stdlib.h>
19105 #include <stdint.h>
19106 #endif /* HAVE_STDINT_H */
19107 #include <openssl/ssl.h>
19113 #if OPENSSL_VERSION_NUMBER < 0x20000000L
19121 if ac_fn_c_try_compile
"$LINENO"; then :
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19123 $as_echo "yes" >&6; }
19124 alpine_SSLPROVIDER
="libressl"
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19128 $as_echo "no" >&6; }
19131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19134 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
19136 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
19137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19138 /* end confdefs.h. */
19141 #include <stdlib.h>
19143 #include <stdint.h>
19144 #endif /* HAVE_STDINT_H */
19145 #include <openssl/ssl.h>
19151 #if OPENSSL_VERSION_NUMBER < 0x1000003fL
19159 if ac_fn_c_try_compile
"$LINENO"; then :
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19161 $as_echo "yes" >&6; }
19162 alpine_SSLPROVIDER
="openssl"
19165 alpine_SSLTYPE
="none"
19167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19169 if test "x$alpine_SSLTYPE" = "xnone" ; then
19170 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
19175 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
19177 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
19178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19179 /* end confdefs.h. */
19182 #include <stdlib.h>
19184 #include <stdint.h>
19185 #endif /* HAVE_STDINT_H */
19186 #include <openssl/ssl.h>
19192 #if OPENSSL_VERSION_NUMBER < 0x10100000L
19200 if ac_fn_c_try_compile
"$LINENO"; then :
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19202 $as_echo "yes" >&6; }
19203 alpine_SSLVERSION
="new"
19204 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19208 $as_echo "no" >&6; }
19209 alpine_SSLVERSION
="old"
19211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19214 if test "x$alpine_SSLTYPE" != "xnone" ; then
19215 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
19216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
19217 $as_echo_n "checking for library containing SSLeay... " >&6; }
19218 if ${ac_cv_search_SSLeay+:} false
; then :
19219 $as_echo_n "(cached) " >&6
19221 ac_func_search_save_LIBS
=$LIBS
19222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19225 /* Override any GCC internal prototype to avoid an error.
19226 Use char because int might match the return type of a GCC
19227 builtin and then its argument prototype would still apply. */
19240 for ac_lib
in '' crypto
; do
19241 if test -z "$ac_lib"; then
19242 ac_res
="none required"
19245 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19247 if ac_fn_c_try_link
"$LINENO"; then :
19248 ac_cv_search_SSLeay
=$ac_res
19250 rm -f core conftest.err conftest.
$ac_objext \
19252 if ${ac_cv_search_SSLeay+:} false
; then :
19256 if ${ac_cv_search_SSLeay+:} false
; then :
19259 ac_cv_search_SSLeay
=no
19261 rm conftest.
$ac_ext
19262 LIBS
=$ac_func_search_save_LIBS
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
19265 $as_echo "$ac_cv_search_SSLeay" >&6; }
19266 ac_res
=$ac_cv_search_SSLeay
19267 if test "$ac_res" != no
; then :
19268 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19271 alpine_CRYPTO
="none"
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
19276 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
19277 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19278 $as_echo_n "(cached) " >&6
19280 ac_func_search_save_LIBS
=$LIBS
19281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19284 /* Override any GCC internal prototype to avoid an error.
19285 Use char because int might match the return type of a GCC
19286 builtin and then its argument prototype would still apply. */
19290 char OpenSSL_version_num ();
19294 return OpenSSL_version_num ();
19299 for ac_lib
in '' crypto
; do
19300 if test -z "$ac_lib"; then
19301 ac_res
="none required"
19304 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19306 if ac_fn_c_try_link
"$LINENO"; then :
19307 ac_cv_search_OpenSSL_version_num
=$ac_res
19309 rm -f core conftest.err conftest.
$ac_objext \
19311 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19315 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19318 ac_cv_search_OpenSSL_version_num
=no
19320 rm conftest.
$ac_ext
19321 LIBS
=$ac_func_search_save_LIBS
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
19324 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
19325 ac_res
=$ac_cv_search_OpenSSL_version_num
19326 if test "$ac_res" != no
; then :
19327 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19330 alpine_CRYPTO
="none"
19334 if test "x$alpine_CRYPTO" = "xnone" ; then
19335 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
19340 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
19341 if test "x$ac_cv_header_crypto_h" = xyes
; then :
19344 alpine_CRYPTO_DEVEL
="none"
19348 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
19349 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
19357 if test "x$alpine_SSLTYPE" != "xnone" ; then
19358 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
19360 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
19361 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
19362 $as_echo_n "(cached) " >&6
19364 ac_func_search_save_LIBS
=$LIBS
19365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19368 /* Override any GCC internal prototype to avoid an error.
19369 Use char because int might match the return type of a GCC
19370 builtin and then its argument prototype would still apply. */
19374 char TLSv1_2_client_method ();
19378 return TLSv1_2_client_method ();
19383 for ac_lib
in '' ssl
; do
19384 if test -z "$ac_lib"; then
19385 ac_res
="none required"
19388 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19390 if ac_fn_c_try_link
"$LINENO"; then :
19391 ac_cv_search_TLSv1_2_client_method
=$ac_res
19393 rm -f core conftest.err conftest.
$ac_objext \
19395 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
19399 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
19402 ac_cv_search_TLSv1_2_client_method
=no
19404 rm conftest.
$ac_ext
19405 LIBS
=$ac_func_search_save_LIBS
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
19408 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
19409 ac_res
=$ac_cv_search_TLSv1_2_client_method
19410 if test "$ac_res" != no
; then :
19411 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19412 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
19414 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLS_client_method" >&5
19421 $as_echo_n "checking for library containing TLS_client_method... " >&6; }
19422 if ${ac_cv_search_TLS_client_method+:} false
; then :
19423 $as_echo_n "(cached) " >&6
19425 ac_func_search_save_LIBS
=$LIBS
19426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19429 /* Override any GCC internal prototype to avoid an error.
19430 Use char because int might match the return type of a GCC
19431 builtin and then its argument prototype would still apply. */
19435 char TLS_client_method ();
19439 return TLS_client_method ();
19444 for ac_lib
in '' ssl
; do
19445 if test -z "$ac_lib"; then
19446 ac_res
="none required"
19449 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19451 if ac_fn_c_try_link
"$LINENO"; then :
19452 ac_cv_search_TLS_client_method
=$ac_res
19454 rm -f core conftest.err conftest.
$ac_objext \
19456 if ${ac_cv_search_TLS_client_method+:} false
; then :
19460 if ${ac_cv_search_TLS_client_method+:} false
; then :
19463 ac_cv_search_TLS_client_method
=no
19465 rm conftest.
$ac_ext
19466 LIBS
=$ac_func_search_save_LIBS
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLS_client_method" >&5
19469 $as_echo "$ac_cv_search_TLS_client_method" >&6; }
19470 ac_res
=$ac_cv_search_TLS_client_method
19471 if test "$ac_res" != no
; then :
19472 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19475 alpine_SSLTYPE
="none"
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DTLS_client_method" >&5
19479 $as_echo_n "checking for library containing DTLS_client_method... " >&6; }
19480 if ${ac_cv_search_DTLS_client_method+:} false
; then :
19481 $as_echo_n "(cached) " >&6
19483 ac_func_search_save_LIBS
=$LIBS
19484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19487 /* Override any GCC internal prototype to avoid an error.
19488 Use char because int might match the return type of a GCC
19489 builtin and then its argument prototype would still apply. */
19493 char DTLS_client_method ();
19497 return DTLS_client_method ();
19502 for ac_lib
in '' ssl
; do
19503 if test -z "$ac_lib"; then
19504 ac_res
="none required"
19507 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19509 if ac_fn_c_try_link
"$LINENO"; then :
19510 ac_cv_search_DTLS_client_method
=$ac_res
19512 rm -f core conftest.err conftest.
$ac_objext \
19514 if ${ac_cv_search_DTLS_client_method+:} false
; then :
19518 if ${ac_cv_search_DTLS_client_method+:} false
; then :
19521 ac_cv_search_DTLS_client_method
=no
19523 rm conftest.
$ac_ext
19524 LIBS
=$ac_func_search_save_LIBS
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DTLS_client_method" >&5
19527 $as_echo "$ac_cv_search_DTLS_client_method" >&6; }
19528 ac_res
=$ac_cv_search_DTLS_client_method
19529 if test "$ac_res" != no
; then :
19530 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19533 alpine_SSLTYPE
="none"
19536 if test "x$alpine_SSLTYPE" != "xnone" ; then
19537 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
19539 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
19545 if test "x$alpine_SSLTYPE" != "xnone" ; then
19546 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
19548 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
19549 if ${ac_cv_search_SSL_library_init+:} false
; then :
19550 $as_echo_n "(cached) " >&6
19552 ac_func_search_save_LIBS
=$LIBS
19553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19556 /* Override any GCC internal prototype to avoid an error.
19557 Use char because int might match the return type of a GCC
19558 builtin and then its argument prototype would still apply. */
19562 char SSL_library_init ();
19566 return SSL_library_init ();
19571 for ac_lib
in '' ssl
; do
19572 if test -z "$ac_lib"; then
19573 ac_res
="none required"
19576 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19578 if ac_fn_c_try_link
"$LINENO"; then :
19579 ac_cv_search_SSL_library_init
=$ac_res
19581 rm -f core conftest.err conftest.
$ac_objext \
19583 if ${ac_cv_search_SSL_library_init+:} false
; then :
19587 if ${ac_cv_search_SSL_library_init+:} false
; then :
19590 ac_cv_search_SSL_library_init
=no
19592 rm conftest.
$ac_ext
19593 LIBS
=$ac_func_search_save_LIBS
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
19596 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
19597 ac_res
=$ac_cv_search_SSL_library_init
19598 if test "$ac_res" != no
; then :
19599 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19602 alpine_SSLTYPE
="none"
19605 if test "x$alpine_SSLTYPE" = "xnone" ; then
19606 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
19611 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
19612 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19613 $as_echo_n "(cached) " >&6
19615 ac_func_search_save_LIBS
=$LIBS
19616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19617 /* end confdefs.h. */
19619 /* Override any GCC internal prototype to avoid an error.
19620 Use char because int might match the return type of a GCC
19621 builtin and then its argument prototype would still apply. */
19625 char OPENSSL_init_ssl ();
19629 return OPENSSL_init_ssl ();
19634 for ac_lib
in '' ssl
; do
19635 if test -z "$ac_lib"; then
19636 ac_res
="none required"
19639 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19641 if ac_fn_c_try_link
"$LINENO"; then :
19642 ac_cv_search_OPENSSL_init_ssl
=$ac_res
19644 rm -f core conftest.err conftest.
$ac_objext \
19646 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19650 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19653 ac_cv_search_OPENSSL_init_ssl
=no
19655 rm conftest.
$ac_ext
19656 LIBS
=$ac_func_search_save_LIBS
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
19659 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
19660 ac_res
=$ac_cv_search_OPENSSL_init_ssl
19661 if test "$ac_res" != no
; then :
19662 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19665 alpine_SSLTYPE
="none"
19668 if test "x$alpine_SSLTYPE" = "xnone" ; then
19669 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
19675 if test "$alpine_with_ldap" = "yes" ; then
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
19678 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
19679 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
19680 $as_echo_n "(cached) " >&6
19682 ac_check_lib_save_LIBS
=$LIBS
19683 LIBS
="-llber $LIBS"
19684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19687 /* Override any GCC internal prototype to avoid an error.
19688 Use char because int might match the return type of a GCC
19689 builtin and then its argument prototype would still apply. */
19697 return ber_alloc ();
19702 if ac_fn_c_try_link
"$LINENO"; then :
19703 ac_cv_lib_lber_ber_alloc
=yes
19705 ac_cv_lib_lber_ber_alloc
=no
19707 rm -f core conftest.err conftest.
$ac_objext \
19708 conftest
$ac_exeext conftest.
$ac_ext
19709 LIBS
=$ac_check_lib_save_LIBS
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
19712 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
19713 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
19715 LIBS
="$LIBS -llber"
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
19720 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
19721 if ${ac_cv_search_ldap_initialize+:} false
; then :
19722 $as_echo_n "(cached) " >&6
19724 ac_func_search_save_LIBS
=$LIBS
19725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19728 /* Override any GCC internal prototype to avoid an error.
19729 Use char because int might match the return type of a GCC
19730 builtin and then its argument prototype would still apply. */
19734 char ldap_initialize ();
19738 return ldap_initialize ();
19743 for ac_lib
in '' ldap
; do
19744 if test -z "$ac_lib"; then
19745 ac_res
="none required"
19748 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19750 if ac_fn_c_try_link
"$LINENO"; then :
19751 ac_cv_search_ldap_initialize
=$ac_res
19753 rm -f core conftest.err conftest.
$ac_objext \
19755 if ${ac_cv_search_ldap_initialize+:} false
; then :
19759 if ${ac_cv_search_ldap_initialize+:} false
; then :
19762 ac_cv_search_ldap_initialize
=no
19764 rm conftest.
$ac_ext
19765 LIBS
=$ac_func_search_save_LIBS
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
19768 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
19769 ac_res
=$ac_cv_search_ldap_initialize
19770 if test "$ac_res" != no
; then :
19771 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19773 alpine_has_ldap
=yes
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
19778 $as_echo_n "checking for library containing ldap_open... " >&6; }
19779 if ${ac_cv_search_ldap_open+:} false
; then :
19780 $as_echo_n "(cached) " >&6
19782 ac_func_search_save_LIBS
=$LIBS
19783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19784 /* end confdefs.h. */
19786 /* Override any GCC internal prototype to avoid an error.
19787 Use char because int might match the return type of a GCC
19788 builtin and then its argument prototype would still apply. */
19796 return ldap_open ();
19801 for ac_lib
in '' ldap
; do
19802 if test -z "$ac_lib"; then
19803 ac_res
="none required"
19806 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19808 if ac_fn_c_try_link
"$LINENO"; then :
19809 ac_cv_search_ldap_open
=$ac_res
19811 rm -f core conftest.err conftest.
$ac_objext \
19813 if ${ac_cv_search_ldap_open+:} false
; then :
19817 if ${ac_cv_search_ldap_open+:} false
; then :
19820 ac_cv_search_ldap_open
=no
19822 rm conftest.
$ac_ext
19823 LIBS
=$ac_func_search_save_LIBS
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
19826 $as_echo "$ac_cv_search_ldap_open" >&6; }
19827 ac_res
=$ac_cv_search_ldap_open
19828 if test "$ac_res" != no
; then :
19829 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19831 alpine_has_ldap
=yes
19839 if test "$alpine_has_ldap" = "yes" ; then
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
19841 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
19843 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
19848 if test "x$alpine_PAM" != "xnone" ; then
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
19850 $as_echo_n "checking for library containing pam_start... " >&6; }
19851 if ${ac_cv_search_pam_start+:} false
; then :
19852 $as_echo_n "(cached) " >&6
19854 ac_func_search_save_LIBS
=$LIBS
19855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19858 /* Override any GCC internal prototype to avoid an error.
19859 Use char because int might match the return type of a GCC
19860 builtin and then its argument prototype would still apply. */
19868 return pam_start ();
19873 for ac_lib
in '' pam
; do
19874 if test -z "$ac_lib"; then
19875 ac_res
="none required"
19878 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19880 if ac_fn_c_try_link
"$LINENO"; then :
19881 ac_cv_search_pam_start
=$ac_res
19883 rm -f core conftest.err conftest.
$ac_objext \
19885 if ${ac_cv_search_pam_start+:} false
; then :
19889 if ${ac_cv_search_pam_start+:} false
; then :
19892 ac_cv_search_pam_start
=no
19894 rm conftest.
$ac_ext
19895 LIBS
=$ac_func_search_save_LIBS
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
19898 $as_echo "$ac_cv_search_pam_start" >&6; }
19899 ac_res
=$ac_cv_search_pam_start
19900 if test "$ac_res" != no
; then :
19901 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19904 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
19905 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
19910 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
19911 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
19914 if test "x$alpine_c_client_target" != "xoxp" ; then
19916 alpine_pam_none_reason
="header files not in security/ directory"
19922 alpine_pam_none_reason
="header files not found"
19935 alpine_pam_none_reason
="library files not found"
19939 if test -n "$alpine_pam_none_reason" ; then
19940 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
19945 if test "x$alpine_GSSTYPE" != "xnone" ; then
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
19947 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
19948 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19949 $as_echo_n "(cached) " >&6
19951 ac_func_search_save_LIBS
=$LIBS
19952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19953 /* end confdefs.h. */
19955 /* Override any GCC internal prototype to avoid an error.
19956 Use char because int might match the return type of a GCC
19957 builtin and then its argument prototype would still apply. */
19961 char gss_init_sec_context ();
19965 return gss_init_sec_context ();
19970 for ac_lib
in '' gss gssapi gssapi_krb5
; do
19971 if test -z "$ac_lib"; then
19972 ac_res
="none required"
19975 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19977 if ac_fn_c_try_link
"$LINENO"; then :
19978 ac_cv_search_gss_init_sec_context
=$ac_res
19980 rm -f core conftest.err conftest.
$ac_objext \
19982 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19986 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19989 ac_cv_search_gss_init_sec_context
=no
19991 rm conftest.
$ac_ext
19992 LIBS
=$ac_func_search_save_LIBS
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
19995 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
19996 ac_res
=$ac_cv_search_gss_init_sec_context
19997 if test "$ac_res" != no
; then :
19998 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20000 LIBS
="$LIBS -lkrb5"
20001 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
20002 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
20006 if test ! -d /usr
/kerberos
/include
; then
20007 alpine_GSSTYPE
="none"
20008 alpine_gss_none_reason
="header files not found"
20017 alpine_GSSTYPE
="none"
20018 alpine_gss_none_reason
="libraries not found"
20022 if test -n "$alpine_gss_none_reason" ; then
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
20024 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
20029 # Check whether --with-ntlm was given.
20030 if test "${with_ntlm+set}" = set; then :
20031 withval
=$with_ntlm; with_ntlm
=$withval
20035 if test "x$with_ntlm" = "xno" ; then
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
20041 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
20042 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20043 $as_echo_n "(cached) " >&6
20045 ac_func_search_save_LIBS
=$LIBS
20046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20047 /* end confdefs.h. */
20049 /* Override any GCC internal prototype to avoid an error.
20050 Use char because int might match the return type of a GCC
20051 builtin and then its argument prototype would still apply. */
20055 char buildSmbNtlmAuthRequest ();
20059 return buildSmbNtlmAuthRequest ();
20064 for ac_lib
in '' ntlm
; do
20065 if test -z "$ac_lib"; then
20066 ac_res
="none required"
20069 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20071 if ac_fn_c_try_link
"$LINENO"; then :
20072 ac_cv_search_buildSmbNtlmAuthRequest
=$ac_res
20074 rm -f core conftest.err conftest.
$ac_objext \
20076 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20080 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20083 ac_cv_search_buildSmbNtlmAuthRequest
=no
20085 rm conftest.
$ac_ext
20086 LIBS
=$ac_func_search_save_LIBS
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_buildSmbNtlmAuthRequest" >&5
20089 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
20090 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
20091 if test "$ac_res" != no
; then :
20092 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20094 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
20095 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
20097 extra_auth_ntlm
=ntl
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
20099 $as_echo "$as_me: including NTLM support" >&6;}
20104 alpine_ntlm_none_reason
="header file ntlm.h not found"
20113 alpine_ntlm_none_reason
="ntlm library not found"
20117 if test -n "$alpine_ntlm_none_reason" ; then
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
20119 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
20123 if test -n "$WEB_BUILD" ; then
20124 if test -n "$alpine_TCLINC" ; then
20125 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
20126 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
20127 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20136 if test -z "$WEB_BUILD" ; then
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
20138 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
20141 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
20142 if test "x$ac_cv_header_tcl_h" = xyes
; then :
20146 for base
in /usr
/usr
/local ; do
20147 for dir
in ${TCL_VERSIONS} ; do
20148 if test -f $base/include
/$dir/tcl.h
; then
20149 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
20154 if test "x$found" = "xyes" ; then
20158 if test "$found" != "yes" ; then
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
20161 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
20163 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
20164 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
20165 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
20168 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
20169 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20170 $as_echo_n "(cached) " >&6
20172 ac_func_search_save_LIBS
=$LIBS
20173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20174 /* end confdefs.h. */
20176 /* Override any GCC internal prototype to avoid an error.
20177 Use char because int might match the return type of a GCC
20178 builtin and then its argument prototype would still apply. */
20186 return Tcl_Eval ();
20191 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
20192 if test -z "$ac_lib"; then
20193 ac_res
="none required"
20196 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20198 if ac_fn_c_try_link
"$LINENO"; then :
20199 ac_cv_search_Tcl_Eval
=$ac_res
20201 rm -f core conftest.err conftest.
$ac_objext \
20203 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20207 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20210 ac_cv_search_Tcl_Eval
=no
20212 rm conftest.
$ac_ext
20213 LIBS
=$ac_func_search_save_LIBS
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
20216 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
20217 ac_res
=$ac_cv_search_Tcl_Eval
20218 if test "$ac_res" != no
; then :
20219 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20227 if test -z "$WEB_BUILD" ; then
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: TCL Lib files not found: Web Alpine will not be built" >&5
20229 $as_echo "$as_me: TCL Lib files not found: Web Alpine will not be built" >&6;}
20239 if test "x$alpine_REGEX" != "xyes" ; then
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
20241 $as_echo_n "checking for library containing regcomp... " >&6; }
20242 if ${ac_cv_search_regcomp+:} false
; then :
20243 $as_echo_n "(cached) " >&6
20245 ac_func_search_save_LIBS
=$LIBS
20246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20247 /* end confdefs.h. */
20249 /* Override any GCC internal prototype to avoid an error.
20250 Use char because int might match the return type of a GCC
20251 builtin and then its argument prototype would still apply. */
20264 for ac_lib
in '' posix regexp regex re
; do
20265 if test -z "$ac_lib"; then
20266 ac_res
="none required"
20269 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20271 if ac_fn_c_try_link
"$LINENO"; then :
20272 ac_cv_search_regcomp
=$ac_res
20274 rm -f core conftest.err conftest.
$ac_objext \
20276 if ${ac_cv_search_regcomp+:} false
; then :
20280 if ${ac_cv_search_regcomp+:} false
; then :
20283 ac_cv_search_regcomp
=no
20285 rm conftest.
$ac_ext
20286 LIBS
=$ac_func_search_save_LIBS
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
20289 $as_echo "$ac_cv_search_regcomp" >&6; }
20290 ac_res
=$ac_cv_search_regcomp
20291 if test "$ac_res" != no
; then :
20292 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20296 if test x
$alpine_REGEX = "xno" ; then
20297 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
20305 if test "x$alpine_REGEX" != "xyes" ; then
20306 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
20307 if test "x$ac_cv_header_regex_h" = xyes
; then :
20311 if test x
$alpine_REGEX = "xno" ; then
20312 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
20322 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
20324 if test "x$alpine_REGEX" = "xyes" ; then
20325 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
20326 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
20328 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
20331 if test "x$with_pthread" != "xno" ; then
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
20333 $as_echo_n "checking for pthread support... " >&6; }
20338 ac_cpp
='$CPP $CPPFLAGS'
20339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20345 # We used to check for pthread.h first, but this fails if pthread.h
20346 # requires special compiler flags (e.g. on True64 or Sequent).
20347 # It gets checked for in the link test anyway.
20349 # First of all, check if the user has set any of the PTHREAD_LIBS,
20350 # etcetera environment variables, and if threads linking works using
20352 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
20353 save_CFLAGS
="$CFLAGS"
20354 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20356 LIBS
="$PTHREAD_LIBS $LIBS"
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
20358 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
20359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h. */
20362 /* Override any GCC internal prototype to avoid an error.
20363 Use char because int might match the return type of a GCC
20364 builtin and then its argument prototype would still apply. */
20368 char pthread_join ();
20372 return pthread_join ();
20377 if ac_fn_c_try_link
"$LINENO"; then :
20380 rm -f core conftest.err conftest.
$ac_objext \
20381 conftest
$ac_exeext conftest.
$ac_ext
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20383 $as_echo "$acx_pthread_ok" >&6; }
20384 if test x
"$acx_pthread_ok" = xno
; then
20389 CFLAGS
="$save_CFLAGS"
20392 # We must check for the threads library under a number of different
20393 # names; the ordering is very important because some systems
20394 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
20395 # libraries is broken (non-POSIX).
20397 # Create a list of thread flags to try. Items starting with a "-" are
20398 # C compiler flags, and other items are library names, except for "none"
20399 # which indicates that we try without any flags at all, and "pthread-config"
20400 # which is a program returning the flags for the Pth emulation library.
20402 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
20404 # The ordering *is* (sometimes) important. Some notes on the
20405 # individual items follow:
20407 # pthreads: AIX (must check this before -lpthread)
20408 # none: in case threads are in libc; should be tried before -Kthread and
20409 # other compiler flags to prevent continual compiler warnings
20410 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
20411 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
20412 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
20413 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
20414 # -pthreads: Solaris/gcc
20415 # -mthreads: Mingw32/gcc, Lynx/gcc
20416 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
20417 # doesn't hurt to check since this sometimes defines pthreads too;
20418 # also defines -D_REENTRANT)
20419 # ... -mt is also the pthreads flag for HP/aCC
20420 # pthread: Linux, etcetera
20421 # --thread-safe: KAI C++
20422 # pthread-config: use pthread-config program (for GNU Pth library)
20424 case "${host_cpu}-${host_os}" in
20427 # On Solaris (at least, for some versions), libc contains stubbed
20428 # (non-functional) versions of the pthreads routines, so link-based
20429 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
20430 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
20431 # a function called by this macro, so we could check for that, but
20432 # who knows whether they'll stub that too in a future libc.) So,
20433 # we'll just look for -pthreads and -lpthread first:
20435 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
20439 if test x
"$acx_pthread_ok" = xno
; then
20440 for flag
in $acx_pthread_flags; do
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
20445 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
20449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
20450 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
20451 PTHREAD_CFLAGS
="$flag"
20455 # Extract the first word of "pthread-config", so it can be a program name with args.
20456 set dummy pthread-config
; ac_word
=$2
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20458 $as_echo_n "checking for $ac_word... " >&6; }
20459 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
20460 $as_echo_n "(cached) " >&6
20462 if test -n "$acx_pthread_config"; then
20463 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
20465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20466 for as_dir
in $PATH
20469 test -z "$as_dir" && as_dir
=.
20470 for ac_exec_ext
in '' $ac_executable_extensions; do
20471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20472 ac_cv_prog_acx_pthread_config
="yes"
20473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20480 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
20483 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
20484 if test -n "$acx_pthread_config"; then
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
20486 $as_echo "$acx_pthread_config" >&6; }
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20489 $as_echo "no" >&6; }
20493 if test x
"$acx_pthread_config" = xno
; then continue; fi
20494 PTHREAD_CFLAGS
="`pthread-config --cflags`"
20495 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
20500 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
20501 PTHREAD_LIBS
="-l$flag"
20506 save_CFLAGS
="$CFLAGS"
20507 LIBS
="$PTHREAD_LIBS $LIBS"
20508 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20510 # Check for various functions. We must include pthread.h,
20511 # since some functions may be macros. (On the Sequent, we
20512 # need a special flag -Kthread to make this header compile.)
20513 # We check for pthread_join because it is in -lpthread on IRIX
20514 # while pthread_create is in libc. We check for pthread_attr_init
20515 # due to DEC craziness with -lpthreads. We check for
20516 # pthread_cleanup_push because it is one of the few pthread
20517 # functions on Solaris that doesn't have a non-functional libc stub.
20518 # We try pthread_create on general principles.
20519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20521 #include <pthread.h>
20525 pthread_t th; pthread_join(th, 0);
20526 pthread_attr_init(0); pthread_cleanup_push(0, 0);
20527 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
20532 if ac_fn_c_try_link
"$LINENO"; then :
20535 rm -f core conftest.err conftest.
$ac_objext \
20536 conftest
$ac_exeext conftest.
$ac_ext
20539 CFLAGS
="$save_CFLAGS"
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20542 $as_echo "$acx_pthread_ok" >&6; }
20543 if test "x$acx_pthread_ok" = xyes
; then
20552 # Various other checks:
20553 if test "x$acx_pthread_ok" = xyes
; then
20555 LIBS
="$PTHREAD_LIBS $LIBS"
20556 save_CFLAGS
="$CFLAGS"
20557 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20559 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
20561 $as_echo_n "checking for joinable pthread attribute... " >&6; }
20563 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
20564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20566 #include <pthread.h>
20570 int attr=$attr; return attr;
20575 if ac_fn_c_try_link
"$LINENO"; then :
20576 attr_name
=$attr; break
20578 rm -f core conftest.err conftest.
$ac_objext \
20579 conftest
$ac_exeext conftest.
$ac_ext
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
20582 $as_echo "$attr_name" >&6; }
20583 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
20585 cat >>confdefs.h
<<_ACEOF
20586 #define PTHREAD_CREATE_JOINABLE $attr_name
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
20592 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
20594 case "${host_cpu}-${host_os}" in
20595 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
20596 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
20599 $as_echo "${flag}" >&6; }
20600 if test "x$flag" != xno
; then
20601 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
20605 CFLAGS
="$save_CFLAGS"
20607 # More AIX lossage: must compile with xlc_r or cc_r
20608 if test x
"$GCC" != xyes
; then
20609 for ac_prog
in xlc_r cc_r
20611 # Extract the first word of "$ac_prog", so it can be a program name with args.
20612 set dummy
$ac_prog; ac_word
=$2
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20614 $as_echo_n "checking for $ac_word... " >&6; }
20615 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
20616 $as_echo_n "(cached) " >&6
20618 if test -n "$PTHREAD_CC"; then
20619 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
20621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20622 for as_dir
in $PATH
20625 test -z "$as_dir" && as_dir
=.
20626 for ac_exec_ext
in '' $ac_executable_extensions; do
20627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20628 ac_cv_prog_PTHREAD_CC
="$ac_prog"
20629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20638 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
20639 if test -n "$PTHREAD_CC"; then
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20641 $as_echo "$PTHREAD_CC" >&6; }
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20644 $as_echo "no" >&6; }
20648 test -n "$PTHREAD_CC" && break
20650 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
20663 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20664 if test x
"$acx_pthread_ok" = xyes
; then
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20667 $as_echo "yes" >&6; }
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
20671 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
20672 AM_CFLAGS
="$AM_CFLAGS -pthread"
20675 LIBS
="$PTHREAD_LIBS $LIBS"
20676 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
20679 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20687 $as_echo "no" >&6; }
20691 ac_cpp
='$CPP $CPPFLAGS'
20692 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20699 $as_echo_n "checking for library containing nanosleep... " >&6; }
20700 if ${ac_cv_search_nanosleep+:} false
; then :
20701 $as_echo_n "(cached) " >&6
20703 ac_func_search_save_LIBS
=$LIBS
20704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20705 /* end confdefs.h. */
20707 /* Override any GCC internal prototype to avoid an error.
20708 Use char because int might match the return type of a GCC
20709 builtin and then its argument prototype would still apply. */
20717 return nanosleep ();
20722 for ac_lib
in '' rt posix4
; do
20723 if test -z "$ac_lib"; then
20724 ac_res
="none required"
20727 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20729 if ac_fn_c_try_link
"$LINENO"; then :
20730 ac_cv_search_nanosleep
=$ac_res
20732 rm -f core conftest.err conftest.
$ac_objext \
20734 if ${ac_cv_search_nanosleep+:} false
; then :
20738 if ${ac_cv_search_nanosleep+:} false
; then :
20741 ac_cv_search_nanosleep
=no
20743 rm conftest.
$ac_ext
20744 LIBS
=$ac_func_search_save_LIBS
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20747 $as_echo "$ac_cv_search_nanosleep" >&6; }
20748 ac_res
=$ac_cv_search_nanosleep
20749 if test "$ac_res" != no
; then :
20750 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20753 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20764 $as_echo_n "checking for ANSI C header files... " >&6; }
20765 if ${ac_cv_header_stdc+:} false
; then :
20766 $as_echo_n "(cached) " >&6
20768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20769 /* end confdefs.h. */
20770 #include <stdlib.h>
20771 #include <stdarg.h>
20772 #include <string.h>
20783 if ac_fn_c_try_compile
"$LINENO"; then :
20784 ac_cv_header_stdc
=yes
20786 ac_cv_header_stdc
=no
20788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20790 if test $ac_cv_header_stdc = yes; then
20791 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20793 /* end confdefs.h. */
20794 #include <string.h>
20797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20798 $EGREP "memchr" >/dev
/null
2>&1; then :
20801 ac_cv_header_stdc
=no
20807 if test $ac_cv_header_stdc = yes; then
20808 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20810 /* end confdefs.h. */
20811 #include <stdlib.h>
20814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20815 $EGREP "free" >/dev
/null
2>&1; then :
20818 ac_cv_header_stdc
=no
20824 if test $ac_cv_header_stdc = yes; then
20825 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20826 if test "$cross_compiling" = yes; then :
20829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20830 /* end confdefs.h. */
20832 #include <stdlib.h>
20833 #if ((' ' & 0x0FF) == 0x020)
20834 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20835 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20837 # define ISLOWER(c) \
20838 (('a' <= (c) && (c) <= 'i') \
20839 || ('j' <= (c) && (c) <= 'r') \
20840 || ('s' <= (c) && (c) <= 'z'))
20841 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20844 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20849 for (i = 0; i < 256; i++)
20850 if (XOR (islower (i), ISLOWER (i))
20851 || toupper (i) != TOUPPER (i))
20856 if ac_fn_c_try_run
"$LINENO"; then :
20859 ac_cv_header_stdc
=no
20861 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20862 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20868 $as_echo "$ac_cv_header_stdc" >&6; }
20869 if test $ac_cv_header_stdc = yes; then
20871 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20875 ac_header_dirent
=no
20876 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
20877 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
20879 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
20880 if eval \
${$as_ac_Header+:} false
; then :
20881 $as_echo_n "(cached) " >&6
20883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20884 /* end confdefs.h. */
20885 #include <sys/types.h>
20897 if ac_fn_c_try_compile
"$LINENO"; then :
20898 eval "$as_ac_Header=yes"
20900 eval "$as_ac_Header=no"
20902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20904 eval ac_res
=\$
$as_ac_Header
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20906 $as_echo "$ac_res" >&6; }
20907 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20908 cat >>confdefs.h
<<_ACEOF
20909 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20912 ac_header_dirent
=$ac_hdr; break
20916 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20917 if test $ac_header_dirent = dirent.h
; then
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20919 $as_echo_n "checking for library containing opendir... " >&6; }
20920 if ${ac_cv_search_opendir+:} false
; then :
20921 $as_echo_n "(cached) " >&6
20923 ac_func_search_save_LIBS
=$LIBS
20924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h. */
20927 /* Override any GCC internal prototype to avoid an error.
20928 Use char because int might match the return type of a GCC
20929 builtin and then its argument prototype would still apply. */
20942 for ac_lib
in '' dir
; do
20943 if test -z "$ac_lib"; then
20944 ac_res
="none required"
20947 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20949 if ac_fn_c_try_link
"$LINENO"; then :
20950 ac_cv_search_opendir
=$ac_res
20952 rm -f core conftest.err conftest.
$ac_objext \
20954 if ${ac_cv_search_opendir+:} false
; then :
20958 if ${ac_cv_search_opendir+:} false
; then :
20961 ac_cv_search_opendir
=no
20963 rm conftest.
$ac_ext
20964 LIBS
=$ac_func_search_save_LIBS
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20967 $as_echo "$ac_cv_search_opendir" >&6; }
20968 ac_res
=$ac_cv_search_opendir
20969 if test "$ac_res" != no
; then :
20970 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20976 $as_echo_n "checking for library containing opendir... " >&6; }
20977 if ${ac_cv_search_opendir+:} false
; then :
20978 $as_echo_n "(cached) " >&6
20980 ac_func_search_save_LIBS
=$LIBS
20981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20984 /* Override any GCC internal prototype to avoid an error.
20985 Use char because int might match the return type of a GCC
20986 builtin and then its argument prototype would still apply. */
20999 for ac_lib
in '' x
; do
21000 if test -z "$ac_lib"; then
21001 ac_res
="none required"
21004 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21006 if ac_fn_c_try_link
"$LINENO"; then :
21007 ac_cv_search_opendir
=$ac_res
21009 rm -f core conftest.err conftest.
$ac_objext \
21011 if ${ac_cv_search_opendir+:} false
; then :
21015 if ${ac_cv_search_opendir+:} false
; then :
21018 ac_cv_search_opendir
=no
21020 rm conftest.
$ac_ext
21021 LIBS
=$ac_func_search_save_LIBS
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21024 $as_echo "$ac_cv_search_opendir" >&6; }
21025 ac_res
=$ac_cv_search_opendir
21026 if test "$ac_res" != no
; then :
21027 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
21034 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
21035 if ${ac_cv_header_stat_broken+:} false
; then :
21036 $as_echo_n "(cached) " >&6
21038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #include <sys/types.h>
21041 #include <sys/stat.h>
21043 #if defined S_ISBLK && defined S_IFDIR
21044 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
21047 #if defined S_ISBLK && defined S_IFCHR
21048 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
21051 #if defined S_ISLNK && defined S_IFREG
21052 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
21055 #if defined S_ISSOCK && defined S_IFREG
21056 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
21060 if ac_fn_c_try_compile
"$LINENO"; then :
21061 ac_cv_header_stat_broken
=no
21063 ac_cv_header_stat_broken
=yes
21065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
21068 $as_echo "$ac_cv_header_stat_broken" >&6; }
21069 if test $ac_cv_header_stat_broken = yes; then
21071 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
21076 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
21077 if ${ac_cv_header_sys_wait_h+:} false
; then :
21078 $as_echo_n "(cached) " >&6
21080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21081 /* end confdefs.h. */
21082 #include <sys/types.h>
21083 #include <sys/wait.h>
21084 #ifndef WEXITSTATUS
21085 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
21088 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
21096 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
21101 if ac_fn_c_try_compile
"$LINENO"; then :
21102 ac_cv_header_sys_wait_h
=yes
21104 ac_cv_header_sys_wait_h
=no
21106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
21109 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
21110 if test $ac_cv_header_sys_wait_h = yes; then
21112 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
21117 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
21118 if ${ac_cv_header_time+:} false
; then :
21119 $as_echo_n "(cached) " >&6
21121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21123 #include <sys/types.h>
21124 #include <sys/time.h>
21130 if ((struct tm *) 0)
21136 if ac_fn_c_try_compile
"$LINENO"; then :
21137 ac_cv_header_time
=yes
21139 ac_cv_header_time
=no
21141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
21144 $as_echo "$ac_cv_header_time" >&6; }
21145 if test $ac_cv_header_time = yes; then
21147 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
21152 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
21153 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
21154 $as_echo_n "(cached) " >&6
21156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21157 /* end confdefs.h. */
21158 #include <sys/types.h>
21159 #include <termios.h>
21165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21166 $EGREP "yes" >/dev
/null
2>&1; then :
21167 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
21169 ac_cv_sys_tiocgwinsz_in_termios_h
=no
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
21175 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
21177 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
21179 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
21180 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
21181 $as_echo_n "(cached) " >&6
21183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21185 #include <sys/types.h>
21186 #include <sys/ioctl.h>
21192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21193 $EGREP "yes" >/dev
/null
2>&1; then :
21194 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
21196 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
21202 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
21204 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
21206 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
21212 for ac_header
in unistd.h
21214 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21215 if test "x$ac_cv_header_unistd_h" = xyes
; then :
21216 cat >>confdefs.h
<<_ACEOF
21217 #define HAVE_UNISTD_H 1
21225 for ac_header
in errno.h \
21251 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21252 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21253 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21254 cat >>confdefs.h
<<_ACEOF
21255 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21263 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
21264 if test "x$ac_cv_header_termios_h" = xyes
; then :
21266 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
21270 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
21271 if test "x$ac_cv_header_termio_h" = xyes
; then :
21273 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
21277 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
21278 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
21280 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
21284 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
21301 $as_echo_n "checking return type of signal handlers... " >&6; }
21302 if ${ac_cv_type_signal+:} false
; then :
21303 $as_echo_n "(cached) " >&6
21305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h. */
21307 #include <sys/types.h>
21308 #include <signal.h>
21313 return *(signal (0, 0)) (0) == 1;
21318 if ac_fn_c_try_compile
"$LINENO"; then :
21319 ac_cv_type_signal
=int
21321 ac_cv_type_signal
=void
21323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
21326 $as_echo "$ac_cv_type_signal" >&6; }
21328 cat >>confdefs.h
<<_ACEOF
21329 #define RETSIGTYPE $ac_cv_type_signal
21333 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
21334 if test "x$ac_cv_type_size_t" = xyes
; then :
21338 cat >>confdefs.h
<<_ACEOF
21339 #define size_t unsigned int
21344 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
21345 if test "x$ac_cv_type_mode_t" = xyes
; then :
21349 cat >>confdefs.h
<<_ACEOF
21355 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
21356 if test "x$ac_cv_type_pid_t" = xyes
; then :
21360 cat >>confdefs.h
<<_ACEOF
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
21367 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
21368 if ${ac_cv_type_uid_t+:} false
; then :
21369 $as_echo_n "(cached) " >&6
21371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21372 /* end confdefs.h. */
21373 #include <sys/types.h>
21376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21377 $EGREP "uid_t" >/dev
/null
2>&1; then :
21378 ac_cv_type_uid_t
=yes
21380 ac_cv_type_uid_t
=no
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
21386 $as_echo "$ac_cv_type_uid_t" >&6; }
21387 if test $ac_cv_type_uid_t = no
; then
21389 $as_echo "#define uid_t int" >>confdefs.h
21392 $as_echo "#define gid_t int" >>confdefs.h
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21397 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21398 if ${ac_cv_struct_tm+:} false
; then :
21399 $as_echo_n "(cached) " >&6
21401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21402 /* end confdefs.h. */
21403 #include <sys/types.h>
21410 int *p = &tm.tm_sec;
21416 if ac_fn_c_try_compile
"$LINENO"; then :
21417 ac_cv_struct_tm
=time.h
21419 ac_cv_struct_tm
=sys
/time.h
21421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21424 $as_echo "$ac_cv_struct_tm" >&6; }
21425 if test $ac_cv_struct_tm = sys
/time.h
; then
21427 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21432 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
21433 if test "x$ac_cv_type_union_wait" = xyes
; then :
21435 cat >>confdefs.h
<<_ACEOF
21436 #define HAVE_UNION_WAIT 1
21443 for ac_header
in stdint.h
21445 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21446 if test "x$ac_cv_header_stdint_h" = xyes
; then :
21447 cat >>confdefs.h
<<_ACEOF
21448 #define HAVE_STDINT_H 1
21453 for ac_header
in inttypes.h
21455 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
21456 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
21457 cat >>confdefs.h
<<_ACEOF
21458 #define HAVE_INTTYPES_H 1
21463 for ac_header
in sys
/types.h
21465 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
21466 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
21467 cat >>confdefs.h
<<_ACEOF
21468 #define HAVE_SYS_TYPES_H 1
21473 # The cast to long int works around a bug in the HP C Compiler
21474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21476 # This bug is HP SR number 8606223364.
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
21478 $as_echo_n "checking size of unsigned short... " >&6; }
21479 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
21480 $as_echo_n "(cached) " >&6
21482 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
21485 if test "$ac_cv_type_unsigned_short" = yes; then
21486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21488 as_fn_error
77 "cannot compute sizeof (unsigned short)
21489 See \`config.log' for more details" "$LINENO" 5; }
21491 ac_cv_sizeof_unsigned_short
=0
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
21497 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
21501 cat >>confdefs.h
<<_ACEOF
21502 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
21506 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
21507 uint16
="unsigned short"
21509 # The cast to long int works around a bug in the HP C Compiler
21510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21512 # This bug is HP SR number 8606223364.
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
21514 $as_echo_n "checking size of unsigned int... " >&6; }
21515 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
21516 $as_echo_n "(cached) " >&6
21518 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
21521 if test "$ac_cv_type_unsigned_int" = yes; then
21522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21524 as_fn_error
77 "cannot compute sizeof (unsigned int)
21525 See \`config.log' for more details" "$LINENO" 5; }
21527 ac_cv_sizeof_unsigned_int
=0
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
21533 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
21537 cat >>confdefs.h
<<_ACEOF
21538 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21542 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
21543 uint16
="unsigned int"
21545 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
21564 cat >>confdefs.h
<<_ACEOF
21565 #define UINT16 $uint16
21569 for ac_header
in stdint.h
21571 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21572 if test "x$ac_cv_header_stdint_h" = xyes
; then :
21573 cat >>confdefs.h
<<_ACEOF
21574 #define HAVE_STDINT_H 1
21579 for ac_header
in inttypes.h
21581 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
21582 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
21583 cat >>confdefs.h
<<_ACEOF
21584 #define HAVE_INTTYPES_H 1
21589 for ac_header
in sys
/types.h
21591 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
21592 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
21593 cat >>confdefs.h
<<_ACEOF
21594 #define HAVE_SYS_TYPES_H 1
21599 # The cast to long int works around a bug in the HP C Compiler
21600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21602 # This bug is HP SR number 8606223364.
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
21604 $as_echo_n "checking size of unsigned int... " >&6; }
21605 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
21606 $as_echo_n "(cached) " >&6
21608 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
21611 if test "$ac_cv_type_unsigned_int" = yes; then
21612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21614 as_fn_error
77 "cannot compute sizeof (unsigned int)
21615 See \`config.log' for more details" "$LINENO" 5; }
21617 ac_cv_sizeof_unsigned_int
=0
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
21623 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
21627 cat >>confdefs.h
<<_ACEOF
21628 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21632 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
21633 uint32
="unsigned int"
21635 # The cast to long int works around a bug in the HP C Compiler
21636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21638 # This bug is HP SR number 8606223364.
21639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
21640 $as_echo_n "checking size of unsigned long... " >&6; }
21641 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
21642 $as_echo_n "(cached) " >&6
21644 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
21647 if test "$ac_cv_type_unsigned_long" = yes; then
21648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21650 as_fn_error
77 "cannot compute sizeof (unsigned long)
21651 See \`config.log' for more details" "$LINENO" 5; }
21653 ac_cv_sizeof_unsigned_long
=0
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
21659 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
21663 cat >>confdefs.h
<<_ACEOF
21664 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
21668 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
21669 uint32
="unsigned long"
21671 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
21690 cat >>confdefs.h
<<_ACEOF
21691 #define UINT32 $uint32
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
21696 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
21697 if ${ac_cv_func_qsort_argtype+:} false
; then :
21698 $as_echo_n "(cached) " >&6
21700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21701 /* end confdefs.h. */
21704 #include "stdlib.h"
21708 extern sortf(const void *, const void *);
21711 const void *b; { return 0; }
21717 qsort(base, 2, sizeof(char *), sortf);
21723 if ac_fn_c_try_compile
"$LINENO"; then :
21724 ac_cv_func_qsort_argtype
=void
21726 ac_cv_func_qsort_argtype
=char
21728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
21732 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
21734 cat >>confdefs.h
<<_ACEOF
21735 #define qsort_t $ac_cv_func_qsort_argtype
21740 for ac_header
in sys
/select.h sys
/socket.h
21742 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21743 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21744 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21745 cat >>confdefs.h
<<_ACEOF
21746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
21754 $as_echo_n "checking types of arguments for select... " >&6; }
21755 if ${ac_cv_func_select_args+:} false
; then :
21756 $as_echo_n "(cached) " >&6
21758 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
21759 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
21760 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
21761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 #ifdef HAVE_SYS_SELECT_H
21765 # include <sys/select.h>
21767 #ifdef HAVE_SYS_SOCKET_H
21768 # include <sys/socket.h>
21774 extern int select ($ac_arg1,
21775 $ac_arg234, $ac_arg234, $ac_arg234,
21781 if ac_fn_c_try_compile
"$LINENO"; then :
21782 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
21784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21788 # Provide a safe default value.
21789 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
21793 $as_echo "$ac_cv_func_select_args" >&6; }
21794 ac_save_IFS
=$IFS; IFS
=','
21795 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
21799 cat >>confdefs.h
<<_ACEOF
21800 #define SELECT_TYPE_ARG1 $1
21804 cat >>confdefs.h
<<_ACEOF
21805 #define SELECT_TYPE_ARG234 ($2)
21809 cat >>confdefs.h
<<_ACEOF
21810 #define SELECT_TYPE_ARG5 ($3)
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
21817 $as_echo_n "checking for working strcoll... " >&6; }
21818 if ${ac_cv_func_strcoll_works+:} false
; then :
21819 $as_echo_n "(cached) " >&6
21821 if test "$cross_compiling" = yes; then :
21822 ac_cv_func_strcoll_works
=no
21824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21825 /* end confdefs.h. */
21826 $ac_includes_default
21830 return (strcoll ("abc", "def") >= 0 ||
21831 strcoll ("ABC", "DEF") >= 0 ||
21832 strcoll ("123", "456") >= 0)
21837 if ac_fn_c_try_run
"$LINENO"; then :
21838 ac_cv_func_strcoll_works
=yes
21840 ac_cv_func_strcoll_works
=no
21842 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21843 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
21848 $as_echo "$ac_cv_func_strcoll_works" >&6; }
21849 if test $ac_cv_func_strcoll_works = yes; then
21851 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
21857 for ac_header
in vfork.h
21859 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
21860 if test "x$ac_cv_header_vfork_h" = xyes
; then :
21861 cat >>confdefs.h
<<_ACEOF
21862 #define HAVE_VFORK_H 1
21869 for ac_func
in fork vfork
21871 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21872 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21873 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21874 cat >>confdefs.h
<<_ACEOF
21875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21881 if test "x$ac_cv_func_fork" = xyes
; then
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
21883 $as_echo_n "checking for working fork... " >&6; }
21884 if ${ac_cv_func_fork_works+:} false
; then :
21885 $as_echo_n "(cached) " >&6
21887 if test "$cross_compiling" = yes; then :
21888 ac_cv_func_fork_works
=cross
21890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21891 /* end confdefs.h. */
21892 $ac_includes_default
21897 /* By Ruediger Kuhlmann. */
21898 return fork () < 0;
21904 if ac_fn_c_try_run
"$LINENO"; then :
21905 ac_cv_func_fork_works
=yes
21907 ac_cv_func_fork_works
=no
21909 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21910 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
21915 $as_echo "$ac_cv_func_fork_works" >&6; }
21918 ac_cv_func_fork_works
=$ac_cv_func_fork
21920 if test "x$ac_cv_func_fork_works" = xcross
; then
21922 *-*-amigaos* |
*-*-msdosdjgpp*)
21923 # Override, as these systems have only a dummy fork() stub
21924 ac_cv_func_fork_works
=no
21927 ac_cv_func_fork_works
=yes
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21931 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21933 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21934 if test "x$ac_cv_func_vfork" = xyes
; then
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
21936 $as_echo_n "checking for working vfork... " >&6; }
21937 if ${ac_cv_func_vfork_works+:} false
; then :
21938 $as_echo_n "(cached) " >&6
21940 if test "$cross_compiling" = yes; then :
21941 ac_cv_func_vfork_works
=cross
21943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21944 /* end confdefs.h. */
21945 /* Thanks to Paul Eggert for this test. */
21946 $ac_includes_default
21947 #include <sys/wait.h>
21948 #ifdef HAVE_VFORK_H
21949 # include <vfork.h>
21951 /* On some sparc systems, changes by the child to local and incoming
21952 argument registers are propagated back to the parent. The compiler
21953 is told about this with #include <vfork.h>, but some compilers
21954 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21955 static variable whose address is put into a register that is
21956 clobbered by the vfork. */
21959 sparc_address_test (int arg)
21961 sparc_address_test (arg) int arg;
21964 static pid_t child;
21982 pid_t parent = getpid ();
21985 sparc_address_test (0);
21990 /* Here is another test for sparc vfork register problems. This
21991 test uses lots of local variables, at least as many local
21992 variables as main has allocated so far including compiler
21993 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21994 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21995 reuse the register of parent for one of the local variables,
21996 since it will think that parent can't possibly be used any more
21997 in this routine. Assigning to the local variable will thus
21998 munge parent in the parent process. */
22000 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
22001 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
22002 /* Convince the compiler that p..p7 are live; otherwise, it might
22003 use the same hardware register for all 8 local variables. */
22004 if (p != p1 || p != p2 || p != p3 || p != p4
22005 || p != p5 || p != p6 || p != p7)
22008 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
22009 from child file descriptors. If the child closes a descriptor
22010 before it execs or exits, this munges the parent's descriptor
22011 as well. Test for this by closing stdout in the child. */
22012 _exit(close(fileno(stdout)) != 0);
22017 while (wait(&status) != child)
22020 /* Was there some problem with vforking? */
22023 /* Did the child fail? (This shouldn't happen.) */
22026 /* Did the vfork/compiler bug occur? */
22027 || parent != getpid()
22029 /* Did the file descriptor bug occur? */
22030 || fstat(fileno(stdout), &st) != 0
22035 if ac_fn_c_try_run
"$LINENO"; then :
22036 ac_cv_func_vfork_works
=yes
22038 ac_cv_func_vfork_works
=no
22040 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22041 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
22046 $as_echo "$ac_cv_func_vfork_works" >&6; }
22049 if test "x$ac_cv_func_fork_works" = xcross
; then
22050 ac_cv_func_vfork_works
=$ac_cv_func_vfork
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
22052 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
22055 if test "x$ac_cv_func_vfork_works" = xyes
; then
22057 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
22061 $as_echo "#define vfork fork" >>confdefs.h
22064 if test "x$ac_cv_func_fork_works" = xyes
; then
22066 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
22070 for ac_func
in strchr \
22103 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22104 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22105 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22106 cat >>confdefs.h
<<_ACEOF
22107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
22115 $as_echo_n "checking for library containing gethostname... " >&6; }
22116 if ${ac_cv_search_gethostname+:} false
; then :
22117 $as_echo_n "(cached) " >&6
22119 ac_func_search_save_LIBS
=$LIBS
22120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22121 /* end confdefs.h. */
22123 /* Override any GCC internal prototype to avoid an error.
22124 Use char because int might match the return type of a GCC
22125 builtin and then its argument prototype would still apply. */
22129 char gethostname ();
22133 return gethostname ();
22138 for ac_lib
in '' nsl
; do
22139 if test -z "$ac_lib"; then
22140 ac_res
="none required"
22143 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22145 if ac_fn_c_try_link
"$LINENO"; then :
22146 ac_cv_search_gethostname
=$ac_res
22148 rm -f core conftest.err conftest.
$ac_objext \
22150 if ${ac_cv_search_gethostname+:} false
; then :
22154 if ${ac_cv_search_gethostname+:} false
; then :
22157 ac_cv_search_gethostname
=no
22159 rm conftest.
$ac_ext
22160 LIBS
=$ac_func_search_save_LIBS
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
22163 $as_echo "$ac_cv_search_gethostname" >&6; }
22164 ac_res
=$ac_cv_search_gethostname
22165 if test "$ac_res" != no
; then :
22166 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
22172 $as_echo_n "checking for library containing socket... " >&6; }
22173 if ${ac_cv_search_socket+:} false
; then :
22174 $as_echo_n "(cached) " >&6
22176 ac_func_search_save_LIBS
=$LIBS
22177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22178 /* end confdefs.h. */
22180 /* Override any GCC internal prototype to avoid an error.
22181 Use char because int might match the return type of a GCC
22182 builtin and then its argument prototype would still apply. */
22195 for ac_lib
in '' socket
; do
22196 if test -z "$ac_lib"; then
22197 ac_res
="none required"
22200 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22202 if ac_fn_c_try_link
"$LINENO"; then :
22203 ac_cv_search_socket
=$ac_res
22205 rm -f core conftest.err conftest.
$ac_objext \
22207 if ${ac_cv_search_socket+:} false
; then :
22211 if ${ac_cv_search_socket+:} false
; then :
22214 ac_cv_search_socket
=no
22216 rm conftest.
$ac_ext
22217 LIBS
=$ac_func_search_save_LIBS
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
22220 $as_echo "$ac_cv_search_socket" >&6; }
22221 ac_res
=$ac_cv_search_socket
22222 if test "$ac_res" != no
; then :
22223 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
22233 $as_echo_n "checking for library containing bind... " >&6; }
22234 if ${ac_cv_search_bind+:} false
; then :
22235 $as_echo_n "(cached) " >&6
22237 ac_func_search_save_LIBS
=$LIBS
22238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22239 /* end confdefs.h. */
22241 /* Override any GCC internal prototype to avoid an error.
22242 Use char because int might match the return type of a GCC
22243 builtin and then its argument prototype would still apply. */
22256 for ac_lib
in '' bind; do
22257 if test -z "$ac_lib"; then
22258 ac_res
="none required"
22261 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22263 if ac_fn_c_try_link
"$LINENO"; then :
22264 ac_cv_search_bind
=$ac_res
22266 rm -f core conftest.err conftest.
$ac_objext \
22268 if ${ac_cv_search_bind+:} false
; then :
22272 if ${ac_cv_search_bind+:} false
; then :
22275 ac_cv_search_bind
=no
22277 rm conftest.
$ac_ext
22278 LIBS
=$ac_func_search_save_LIBS
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
22281 $as_echo "$ac_cv_search_bind" >&6; }
22282 ac_res
=$ac_cv_search_bind
22283 if test "$ac_res" != no
; then :
22284 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22293 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
22295 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22296 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22297 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22298 cat >>confdefs.h
<<_ACEOF
22299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22303 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
22308 for ac_func
in sigset sigrelse
22310 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22311 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22312 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22313 cat >>confdefs.h
<<_ACEOF
22314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22318 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
22330 $as_echo_n "checking for library containing syslog... " >&6; }
22331 if ${ac_cv_search_syslog+:} false
; then :
22332 $as_echo_n "(cached) " >&6
22334 ac_func_search_save_LIBS
=$LIBS
22335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22336 /* end confdefs.h. */
22338 /* Override any GCC internal prototype to avoid an error.
22339 Use char because int might match the return type of a GCC
22340 builtin and then its argument prototype would still apply. */
22353 for ac_lib
in '' bsd socket inet
; do
22354 if test -z "$ac_lib"; then
22355 ac_res
="none required"
22358 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22360 if ac_fn_c_try_link
"$LINENO"; then :
22361 ac_cv_search_syslog
=$ac_res
22363 rm -f core conftest.err conftest.
$ac_objext \
22365 if ${ac_cv_search_syslog+:} false
; then :
22369 if ${ac_cv_search_syslog+:} false
; then :
22372 ac_cv_search_syslog
=no
22374 rm conftest.
$ac_ext
22375 LIBS
=$ac_func_search_save_LIBS
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
22378 $as_echo "$ac_cv_search_syslog" >&6; }
22379 ac_res
=$ac_cv_search_syslog
22380 if test "$ac_res" != no
; then :
22381 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22384 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
22391 if test -n "$alpine_with_local_maildir" ; then
22392 alpine_local_maildir
=$alpine_with_local_maildir
22393 elif test -d /var
/spool
/mail ; then
22394 alpine_local_maildir
="/var/spool/mail"
22395 elif test -d /var
/mail ; then
22396 alpine_local_maildir
="/var/mail"
22398 alpine_local_maildir
="/usr/spool/mail"
22401 if test -n "$alpine_with_c_client_target" ; then
22402 alpine_c_client_target
=$alpine_with_c_client_target
22406 cat >>confdefs.h
<<_ACEOF
22407 #define SYSTYPE "$systype"
22411 cat >>confdefs.h
<<_ACEOF
22412 #define C_FILESEP '$alpine_path_delim'
22416 cat >>confdefs.h
<<_ACEOF
22417 #define S_FILESEP "$alpine_path_delim"
22421 cat >>confdefs.h
<<_ACEOF
22422 #define MAILDIR "$alpine_local_maildir"
22426 cat >>confdefs.h
<<_ACEOF
22427 #define MODE_READONLY $alpine_mode_readonly
22431 C_CLIENT_TARGET
=$alpine_c_client_target
22433 C_CLIENT_WITH_IPV6
=$c_client_ip6
22435 if test "x$alpine_SSLTYPE" = "xnone" ; then
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
22437 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
22438 c_client_specials
="${c_client_specials}SSLTYPE=none "
22441 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
22442 certdir
="$alpine_SSLCERTS"
22443 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
22444 certdir
="${alpine_SSLDIR}/certs"
22445 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
22446 certdir
="${alpine_SSLDIR}/ssl/certs"
22447 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
22448 certdir
="$alpine_SSLCERTS_ORIG"
22449 elif test -n "$alpine_SSLCERTS" ; then
22450 certdir
="$alpine_SSLCERTS"
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
22453 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
22456 if test "x$with_smime" != "xno" ; then
22457 if test -n "$certdir" ; then
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
22459 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
22461 $as_echo "#define SMIME /**/" >>confdefs.h
22464 cat >>confdefs.h
<<_ACEOF
22465 #define SMIME_SSLCERTS "$certdir"
22473 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
22474 SSL_BUNDLE_EXISTS
="no"
22475 SSL_PEM
="factory.pem ca-bundle.pem ca-bundle.crt"
22476 for SSL_BUNDLE
in $SSL_PEM
22478 if test -f ${certdir}/${SSL_BUNDLE} ; then
22479 SSL_BUNDLE_EXISTS
="yes"
22483 SSL_CERT_LINK
="yes"
22486 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
22488 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
22490 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
22492 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
22494 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
22497 if test -n "$alpine_SSLINCLUDE" ; then
22498 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
22501 if test -n "$alpine_SSLLIB" ; then
22502 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
22505 if test -n "$alpine_SSLDIR" ; then
22506 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
22509 if test -n "$certdir" ; then
22510 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
22513 if test -n "$alpine_SSLKEYS" ; then
22514 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
22519 if test "x$alpine_GSSTYPE" != "xnone" ; then
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
22522 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
22526 if test "x$alpine_NTLM" != "xnone" ; then
22527 extra_auth_ntlm
=ntl
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
22529 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
22532 if test -n "$CPPFLAGS" ; then
22533 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
22535 if test -n "$CFLAGS" ; then
22536 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
22539 if test -n "$alpine_c_client_cflags" ; then
22540 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
22544 if test -n "$LDFLAGS" ; then
22545 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
22547 if test -n "$LIBS" ; then
22548 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
22551 if test -n "$alpine_c_client_ldflags" ; then
22552 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
22556 if test -n "$alpine_c_client_gccoptlevel" ; then
22557 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
22561 if test -n $extra_auth_ntlm ; then
22564 c_client_auths
="${extra_auth_gss}${ALPINE_space}${extra_auth_ntlm}"
22565 C_CLIENT_AUTHS
=$c_client_auths
22568 C_CLIENT_SPECIALS
=$c_client_specials
22571 if test -z "$WEB_BUILD" ; then
22572 WEB_PUBCOOKIE_BUILD
=
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
22574 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
22576 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
22578 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
22579 if test "x$alpine_GSSTYPE" = "xnone" ; then
22580 WEB_PUBCOOKIE_BUILD
=
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
22582 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
22584 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
22585 elif test -z "$WEB_BINDIR" ; then
22586 WEB_PUBCOOKIE_BUILD
=
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
22588 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
22589 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
22590 Please re-run configure with these options:
22591 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
22594 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
22596 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
22597 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
22613 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"
22615 cat >confcache
<<\_ACEOF
22616 # This file is a shell script that caches the results of configure
22617 # tests run on this system so they can be shared between configure
22618 # scripts and configure runs, see configure's option --config-cache.
22619 # It is not useful on other systems. If it contains results you don't
22620 # want to keep, you may remove or edit it.
22622 # config.status only pays attention to the cache file if you give it
22623 # the --recheck option to rerun configure.
22625 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22626 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22627 # following values.
22631 # The following way of writing the cache mishandles newlines in values,
22632 # but we know of no workaround that is simple, portable, and efficient.
22633 # So, we kill variables containing newlines.
22634 # Ultrix sh set writes to stderr and can't be redirected directly,
22635 # and sets the high bit in the cache file unless we assign to the vars.
22637 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22638 eval ac_val
=\$
$ac_var
22642 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22646 _ | IFS | as_nl
) ;; #(
22647 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22648 *) { eval $ac_var=; unset $ac_var;} ;;
22654 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22655 *${as_nl}ac_space
=\
*)
22656 # `set' does not quote correctly, so add quotes: double-quote
22657 # substitution turns \\\\ into \\, and sed turns \\ into \.
22660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22663 # `set' quotes correctly as required by POSIX, so do not add quotes.
22664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22675 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22677 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22678 if test -w "$cache_file"; then
22679 if test "x$cache_file" != "x/dev/null"; then
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22681 $as_echo "$as_me: updating cache $cache_file" >&6;}
22682 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
22683 cat confcache
>"$cache_file"
22685 case $cache_file in #(
22687 mv -f confcache
"$cache_file"$$
&&
22688 mv -f "$cache_file"$$
"$cache_file" ;; #(
22690 mv -f confcache
"$cache_file" ;;
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22696 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22701 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22702 # Let make expand exec_prefix.
22703 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22705 DEFS
=-DHAVE_CONFIG_H
22710 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22711 # 1. Remove the extension, and $U if already installed.
22712 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22713 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22714 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22715 # will be set to the directory where LIBOBJS objects are built.
22716 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22717 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
22719 LIBOBJS
=$ac_libobjs
22721 LTLIBOBJS
=$ac_ltlibobjs
22724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22725 $as_echo_n "checking that generated files are newer than configure... " >&6; }
22726 if test -n "$am_sleep_pid"; then
22727 # Hide warnings about reused PIDs.
22728 wait $am_sleep_pid 2>/dev
/null
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22731 $as_echo "done" >&6; }
22732 if test -n "$EXEEXT"; then
22734 am__EXEEXT_FALSE
='#'
22736 am__EXEEXT_TRUE
='#'
22740 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22741 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22744 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22745 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22748 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22749 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22752 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22753 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22757 : "${CONFIG_STATUS=./config.status}"
22759 ac_clean_files_save
=$ac_clean_files
22760 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22762 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22764 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22766 # Generated by $as_me.
22767 # Run this file to recreate the current configuration.
22768 # Compiler output produced by configure, useful for debugging
22769 # configure, is in config.log if it exists.
22772 ac_cs_recheck=false
22775 SHELL=\${CONFIG_SHELL-$SHELL}
22778 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22779 ## -------------------- ##
22780 ## M4sh Initialization. ##
22781 ## -------------------- ##
22783 # Be more Bourne compatible
22784 DUALCASE
=1; export DUALCASE
# for MKS sh
22785 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22788 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22789 # is contrary to our usage. Disable this feature.
22790 alias -g '${1+"$@"}'='"$@"'
22791 setopt NO_GLOB_SUBST
22793 case `(set -o) 2>/dev/null` in #(
22805 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22806 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22807 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22808 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22809 # Prefer a ksh shell builtin over an external printf program on Solaris,
22810 # but without wasting forks for bash or zsh.
22811 if test -z "$BASH_VERSION$ZSH_VERSION" \
22812 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22813 as_echo='print
-r --'
22814 as_echo_n='print
-rn --'
22815 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22816 as_echo='printf %s
\n'
22817 as_echo_n='printf %s
'
22819 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22820 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22821 as_echo_n='/usr
/ucb
/echo -n'
22823 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22824 as_echo_n_body='eval
22828 expr "X$arg" : "X\\(.*\\)$as_nl";
22829 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22831 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22833 export as_echo_n_body
22834 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22836 export as_echo_body
22837 as_echo='sh
-c $as_echo_body as_echo
'
22840 # The user is always right.
22841 if test "${PATH_SEPARATOR+set}" != set; then
22843 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22844 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22851 # We need space, tab and new line, in precisely that order. Quoting is
22852 # there to prevent editors from complaining about space-tab.
22853 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22854 # splitting by setting IFS to empty value.)
22857 # Find who we are. Look in the path if we contain no directory separator.
22860 *[\\/]* ) as_myself=$0 ;;
22861 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22862 for as_dir in $PATH
22865 test -z "$as_dir" && as_dir=.
22866 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22872 # We did not find ourselves, most probably we were run as `sh COMMAND'
22873 # in which case we are not to be found in the path.
22874 if test "x$as_myself" = x
; then
22877 if test ! -f "$as_myself"; then
22878 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22882 # Unset variables that we do not need and which cause bugs (e.g. in
22883 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22884 # suppresses any "Segmentation fault" message there. '((' could
22885 # trigger a bug in pdksh 5.2.14.
22886 for as_var
in BASH_ENV ENV MAIL MAILPATH
22887 do eval test x\
${$as_var+set} = xset \
22888 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22901 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22904 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22905 # ----------------------------------------
22906 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22907 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22908 # script with STATUS, using 1 if that was 0.
22911 as_status
=$1; test $as_status -eq 0 && as_status
=1
22913 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22914 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22916 $as_echo "$as_me: error: $2" >&2
22917 as_fn_exit
$as_status
22921 # as_fn_set_status STATUS
22922 # -----------------------
22923 # Set $? to STATUS, without forking.
22924 as_fn_set_status
()
22927 } # as_fn_set_status
22929 # as_fn_exit STATUS
22930 # -----------------
22931 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22935 as_fn_set_status
$1
22941 # Portably unset VAR.
22944 { eval $1=; unset $1;}
22946 as_unset
=as_fn_unset
22947 # as_fn_append VAR VALUE
22948 # ----------------------
22949 # Append the text in VALUE to the end of the definition contained in VAR. Take
22950 # advantage of any shell optimizations that allow amortized linear growth over
22951 # repeated appends, instead of the typical quadratic growth present in naive
22953 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22954 eval 'as_fn_append ()
22965 # as_fn_arith ARG...
22966 # ------------------
22967 # Perform arithmetic evaluation on the ARGs, and store the result in the
22968 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22969 # must be portable across $(()) and expr.
22970 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22971 eval 'as_fn_arith ()
22978 as_val
=`expr "$@" || test $? -eq 1`
22983 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22984 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22990 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22991 as_basename
=basename
22996 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23002 as_me
=`$as_basename -- "$0" ||
23003 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23004 X"$0" : 'X\(//\)$' \| \
23005 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23007 sed '/^.*\/\([^/][^/]*\)\/*$/{
23021 # Avoid depending upon Character Ranges.
23022 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23023 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23024 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23025 as_cr_digits
='0123456789'
23026 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23028 ECHO_C
= ECHO_N
= ECHO_T
=
23029 case `echo -n x` in #(((((
23031 case `echo 'xy\c'` in
23032 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23034 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23041 rm -f conf$$ conf$$.exe conf$$.
file
23042 if test -d conf$$.dir
; then
23043 rm -f conf$$.dir
/conf$$.
file
23046 mkdir conf$$.dir
2>/dev
/null
23048 if (echo >conf$$.
file) 2>/dev
/null
; then
23049 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23051 # ... but there are two gotchas:
23052 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23053 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23054 # In both cases, we have to default to `cp -pR'.
23055 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23057 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23065 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23066 rmdir conf$$.dir
2>/dev
/null
23071 # Create "$as_dir" as a directory, including parents if necessary.
23076 -*) as_dir
=.
/$as_dir;;
23078 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23082 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23083 *) as_qdir
=$as_dir;;
23085 as_dirs
="'$as_qdir' $as_dirs"
23086 as_dir
=`$as_dirname -- "$as_dir" ||
23087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23088 X"$as_dir" : 'X\(//\)[^/]' \| \
23089 X"$as_dir" : 'X\(//\)$' \| \
23090 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23091 $as_echo X"$as_dir" |
23092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23096 /^X\(\/\/\)[^/].*/{
23109 test -d "$as_dir" && break
23111 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23112 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23116 if mkdir
-p .
2>/dev
/null
; then
23117 as_mkdir_p
='mkdir -p "$as_dir"'
23119 test -d .
/-p && rmdir .
/-p
23124 # as_fn_executable_p FILE
23125 # -----------------------
23126 # Test if FILE is an executable regular file.
23127 as_fn_executable_p
()
23129 test -f "$1" && test -x "$1"
23130 } # as_fn_executable_p
23131 as_test_x
='test -x'
23132 as_executable_p
=as_fn_executable_p
23134 # Sed expression to map a string onto a valid CPP name.
23135 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23137 # Sed expression to map a string onto a valid variable name.
23138 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23142 ## ----------------------------------- ##
23143 ## Main body of $CONFIG_STATUS script. ##
23144 ## ----------------------------------- ##
23146 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23149 # Save the log message, to keep $0 and so on meaningful, and to
23150 # report actual input values of CONFIG_FILES etc. instead of their
23151 # values after options handling.
23153 This file was extended by alpine $as_me 2.21.9999, which was
23154 generated by GNU Autoconf 2.69. Invocation command line was
23156 CONFIG_FILES = $CONFIG_FILES
23157 CONFIG_HEADERS = $CONFIG_HEADERS
23158 CONFIG_LINKS = $CONFIG_LINKS
23159 CONFIG_COMMANDS = $CONFIG_COMMANDS
23162 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23167 case $ac_config_files in *"
23168 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
23171 case $ac_config_headers in *"
23172 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23177 # Files that config.status was made for.
23178 config_files="$ac_config_files"
23179 config_headers="$ac_config_headers"
23180 config_commands="$ac_config_commands"
23184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23186 \`$as_me' instantiates files and other configuration actions
23187 from templates according to the current configuration. Unless the files
23188 and actions are specified as TAGs, all are instantiated by default.
23190 Usage: $0 [OPTION]... [TAG]...
23192 -h, --help print this help, then exit
23193 -V, --version print version number and configuration settings, then exit
23194 --config print configuration, then exit
23195 -q, --quiet, --silent
23196 do not print progress messages
23197 -d, --debug don't remove temporary files
23198 --recheck update $as_me by reconfiguring in the same conditions
23199 --file=FILE[:TEMPLATE]
23200 instantiate the configuration file FILE
23201 --header=FILE[:TEMPLATE]
23202 instantiate the configuration header FILE
23204 Configuration files:
23207 Configuration headers:
23210 Configuration commands:
23213 Report bugs to <chappa@washington.edu>."
23216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23217 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23219 alpine config.status 2.21.9999
23220 configured by $0, generated by GNU Autoconf 2.69,
23221 with options \\"\$ac_cs_config\\"
23223 Copyright (C) 2012 Free Software Foundation, Inc.
23224 This config.status script is free software; the Free Software Foundation
23225 gives unlimited permission to copy, distribute and modify it."
23232 test -n "\$AWK" || AWK=awk
23235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23236 # The default lists apply if the user does not specify any file.
23242 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23243 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23247 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23259 # Handling of the options.
23260 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23262 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23263 $as_echo "$ac_cs_version"; exit ;;
23264 --config |
--confi |
--conf |
--con |
--co |
--c )
23265 $as_echo "$ac_cs_config"; exit ;;
23266 --debug |
--debu |
--deb |
--de |
--d |
-d )
23268 --file |
--fil |
--fi |
--f )
23271 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23272 '') as_fn_error $?
"missing file argument" ;;
23274 as_fn_append CONFIG_FILES
" '$ac_optarg'"
23275 ac_need_defaults
=false
;;
23276 --header |
--heade |
--head |
--hea )
23279 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23281 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23282 ac_need_defaults
=false
;;
23284 # Conflict between --help and --header
23285 as_fn_error $?
"ambiguous option: \`$1'
23286 Try \`$0 --help' for more information.";;
23287 --help |
--hel |
-h )
23288 $as_echo "$ac_cs_usage"; exit ;;
23289 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23290 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23293 # This is an error.
23294 -*) as_fn_error $?
"unrecognized option: \`$1'
23295 Try \`$0 --help' for more information." ;;
23297 *) as_fn_append ac_config_targets
" $1"
23298 ac_need_defaults
=false
;;
23304 ac_configure_extra_args
=
23306 if $ac_cs_silent; then
23308 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23313 if \$ac_cs_recheck; then
23314 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23316 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23317 CONFIG_SHELL='$SHELL'
23318 export CONFIG_SHELL
23323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23327 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23328 ## Running $as_me. ##
23334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23338 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23341 # The HP-UX ksh and POSIX shell print the target directory to stdout
23342 # if CDPATH is set.
23343 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23345 sed_quote_subst='$sed_quote_subst'
23346 double_quote_subst='$double_quote_subst'
23347 delay_variable_subst='$delay_variable_subst'
23348 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23349 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23350 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23351 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23352 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23353 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23354 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
23355 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23356 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23357 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23358 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23359 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23360 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23361 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23362 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23363 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23364 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23365 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23366 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23367 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23368 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23369 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23370 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23371 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23372 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23373 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23374 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23375 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23376 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23377 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23378 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23379 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23380 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23381 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23382 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23383 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23384 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23385 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23386 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23387 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23388 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23389 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23390 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23391 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23392 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23393 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23394 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23395 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23396 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23397 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23398 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23399 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23400 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23401 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23402 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23403 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23404 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
23405 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23406 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"`'
23407 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
23408 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23409 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23410 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
23411 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23412 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23413 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23414 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23415 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23416 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23417 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23418 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23419 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23420 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23421 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23422 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23423 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23424 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23425 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23426 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23427 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23428 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23429 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23430 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23431 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23432 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23433 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23434 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23435 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23436 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23437 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23438 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23439 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23440 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23441 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23442 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23443 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23444 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23445 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23446 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23447 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23448 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23449 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23450 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23451 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23452 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23453 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23454 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23455 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23456 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23457 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23458 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23459 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23460 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23461 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23462 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23463 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23464 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23465 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23466 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23467 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23468 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23469 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23470 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23471 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23472 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23473 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23474 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23475 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
23476 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
23477 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23478 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23479 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23480 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23481 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23482 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23485 LTCFLAGS='$LTCFLAGS'
23486 compiler='$compiler_DEFAULT'
23488 # A function that is used when there is no print builtin or printf.
23489 func_fallback_echo ()
23491 eval 'cat <<_LTECHO_EOF
23496 # Quote evaled strings.
23511 deplibs_check_method \
23516 sharedlib_from_linklib_cmd \
23519 archiver_list_spec \
23525 lt_cv_sys_global_symbol_pipe \
23526 lt_cv_sys_global_symbol_to_cdecl \
23527 lt_cv_sys_global_symbol_to_import \
23528 lt_cv_sys_global_symbol_to_c_name_address \
23529 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23530 lt_cv_nm_interface \
23531 nm_file_list_spec \
23532 lt_cv_truncate_bin \
23533 lt_prog_compiler_no_builtin_flag \
23534 lt_prog_compiler_pic \
23535 lt_prog_compiler_wl \
23536 lt_prog_compiler_static \
23537 lt_cv_prog_compiler_c_o \
23546 export_dynamic_flag_spec \
23547 whole_archive_flag_spec \
23548 compiler_needs_object \
23550 allow_undefined_flag \
23551 no_undefined_flag \
23552 hardcode_libdir_flag_spec \
23553 hardcode_libdir_separator \
23557 variables_saved_for_relink \
23559 library_names_spec \
23561 install_override_mode \
23565 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23566 *[\\\\\\\`\\"\\\$]*)
23567 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23570 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23575 # Double-quote double-evaled strings.
23576 for var in reload_cmds \
23577 old_postinstall_cmds \
23578 old_postuninstall_cmds \
23580 extract_expsyms_cmds \
23581 old_archive_from_new_cmds \
23582 old_archive_from_expsyms_cmds \
23584 archive_expsym_cmds \
23586 module_expsym_cmds \
23587 export_symbols_cmds \
23591 postuninstall_cmds \
23593 sys_lib_search_path_spec \
23594 configure_time_dlsearch_path \
23595 configure_time_lt_sys_library_path; do
23596 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23597 *[\\\\\\\`\\"\\\$]*)
23598 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23601 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23606 ac_aux_dir='$ac_aux_dir'
23608 # See if we are running on zsh, and set the options that allow our
23609 # commands through without removal of \ escapes INIT.
23610 if test -n "\${ZSH_VERSION+set}"; then
23611 setopt NO_GLOB_SUBST
23622 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
23623 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
23624 # from automake < 1.5.
23625 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
23626 # Capture the value of LINGUAS because we need it to compute CATALOGS.
23627 LINGUAS="${LINGUAS-%UNSET%}"
23632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23634 # Handling of arguments.
23635 for ac_config_target
in $ac_config_targets
23637 case $ac_config_target in
23638 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23639 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23640 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23641 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
23642 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
23643 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
23644 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
23645 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
23646 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
23647 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
23648 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
23649 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
23650 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
23651 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
23652 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
23653 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
23654 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
23655 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23657 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23662 # If the user did not use the arguments to specify the items to instantiate,
23663 # then the envvar interface is used. Set only those that are not.
23664 # We use the long form for the default assignment because of an extremely
23665 # bizarre bug on SunOS 4.1.3.
23666 if $ac_need_defaults; then
23667 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23668 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23669 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23672 # Have a temporary directory for convenience. Make it in the build tree
23673 # simply because there is no reason against having it here, and in addition,
23674 # creating and moving files from /tmp can sometimes cause problems.
23675 # Hook for its removal unless debugging.
23676 # Note that there is a small window in which the directory will not be cleaned:
23677 # after its creation but before its name has been assigned to `$tmp'.
23681 trap 'exit_status=$?
23682 : "${ac_tmp:=$tmp}"
23683 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23685 trap 'as_fn_exit 1' 1 2 13 15
23687 # Create a (secure) tmp directory for tmp files.
23690 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23694 tmp
=.
/conf$$
-$RANDOM
23695 (umask 077 && mkdir
"$tmp")
23696 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
23699 # Set up the scripts for CONFIG_FILES section.
23700 # No need to generate them if there are no CONFIG_FILES.
23701 # This happens for instance with `./config.status config.h'.
23702 if test -n "$CONFIG_FILES"; then
23705 ac_cr
=`echo X | tr X '\015'`
23706 # On cygwin, bash can eat \r inside `` if the user requested igncr.
23707 # But we know of no other shell where ac_cr would be empty at this
23708 # point, so we can use a bashism as a fallback.
23709 if test "x$ac_cr" = x
; then
23710 eval ac_cr
=\$
\'\\r
\'
23712 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23713 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23716 ac_cs_awk_cr
=$ac_cr
23719 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23724 echo "cat >conf$$subs.awk <<_ACEOF" &&
23725 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23727 } >conf$$subs.sh ||
23728 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23729 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23731 for ac_last_try in false false false false false :; do
23732 . ./conf$$subs.sh ||
23733 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23735 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23736 if test $ac_delim_n = $ac_delim_num; then
23738 elif $ac_last_try; then
23739 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
23741 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23744 rm -f conf$$subs.sh
23746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23747 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23751 s/^/S["/; s
/!.
*/"]=/
23761 s/\(.\{148\}\)..*/\1/
23763 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23768 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23775 s/\(.\{148\}\)..*/\1/
23777 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23781 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23786 ' <conf$$subs.awk | sed '
23791 ' >>$CONFIG_STATUS || ac_write_fail=1
23792 rm -f conf$$subs.awk
23793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23795 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23796 for (key in S) S_is_set[key] = 1
23802 nfields = split(line, field, "@
")
23804 len = length(field[1])
23805 for (i = 2; i < nfields; i++) {
23807 keylen = length(key)
23808 if (S_is_set[key]) {
23810 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23811 len += length(value) + length(field[++i])
23822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23823 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23824 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23827 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23828 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23831 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23832 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23833 # trailing colons and then remove the whole line if VPATH becomes empty
23834 # (actually we leave an empty line to preserve line numbers).
23835 if test "x
$srcdir" = x.; then
23836 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23855 fi # test -n "$CONFIG_FILES"
23857 # Set up the scripts for CONFIG_HEADERS section.
23858 # No need to generate them if there are no CONFIG_HEADERS.
23859 # This happens for instance with `./config.status Makefile'.
23860 if test -n "$CONFIG_HEADERS"; then
23861 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23865 # Transform confdefs.h into an awk script `defines.awk', embedded as
23866 # here-document in config.status, that substitutes the proper values into
23867 # config.h.in to produce config.h.
23869 # Create a delimiter string that does not exist in confdefs.h, to ease
23870 # handling of long lines.
23872 for ac_last_try in false false :; do
23873 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23874 if test -z "$ac_tt"; then
23876 elif $ac_last_try; then
23877 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23879 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23883 # For the awk script, D is an array of macro values keyed by name,
23884 # likewise P contains macro parameters if any. Preserve backslash
23885 # newline sequences.
23887 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23889 s/.\{148\}/&'"$ac_delim"'/g
23892 s/^[ ]*#[ ]*define[ ][ ]*/ /
23899 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23901 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23905 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23906 D["\
1"]=" \
3\\\\\\n
"\\/p
23908 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23913 s/.\{148\}/&'"$ac_delim"'/g
23918 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23921 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23923 ' <confdefs.h | sed '
23924 s/'"$ac_delim"'/"\\\
23925 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23928 for (key in D) D_is_set[key] = 1
23931 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23933 split(line, arg, " ")
23934 if (arg[1] == "#") {
23938 defundef
= substr
(arg
[1], 2)
23941 split(mac1
, mac2
, "(") #)
23943 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23944 if (D_is_set
[macro
]) {
23945 # Preserve the white space surrounding the "#".
23946 print prefix
"define", macro P
[macro
] D
[macro
]
23949 # Replace #undef with comments. This is necessary, for example,
23950 # in the case of _POSIX_SOURCE, which is predefined and required
23951 # on some systems where configure will not decide to define it.
23952 if (defundef
== "undef") {
23953 print
"/*", prefix defundef
, macro
, "*/"
23961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23962 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23963 fi # test -n "$CONFIG_HEADERS"
23966 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23971 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23973 case $ac_mode$ac_tag in
23975 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23976 :[FH
]-) ac_tag
=-:-;;
23977 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23994 -) ac_f
="$ac_tmp/stdin";;
23995 *) # Look for the file first in the build tree, then in the source tree
23996 # (if the path is not absolute). The absolute path cannot be DOS-style,
23997 # because $ac_f cannot contain `:'.
24001 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24003 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24005 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24006 as_fn_append ac_file_inputs
" '$ac_f'"
24009 # Let's still pretend it is `configure' which instantiates (i.e., don't
24010 # use $as_me), people would be surprised to read:
24011 # /* config.h. Generated by config.status. */
24012 configure_input
='Generated from '`
24013 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24015 if test x
"$ac_file" != x-
; then
24016 configure_input
="$ac_file. $configure_input"
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24018 $as_echo "$as_me: creating $ac_file" >&6;}
24020 # Neutralize special characters interpreted by sed in replacement strings.
24021 case $configure_input in #(
24022 *\
&* |
*\|
* |
*\\* )
24023 ac_sed_conf_input
=`$as_echo "$configure_input" |
24024 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24025 *) ac_sed_conf_input
=$configure_input;;
24029 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24030 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24035 ac_dir
=`$as_dirname -- "$ac_file" ||
24036 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24037 X"$ac_file" : 'X\(//\)[^/]' \| \
24038 X"$ac_file" : 'X\(//\)$' \| \
24039 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24040 $as_echo X"$ac_file" |
24041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24045 /^X\(\/\/\)[^/].*/{
24058 as_dir
="$ac_dir"; as_fn_mkdir_p
24062 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24064 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24065 # A ".." for each directory in $ac_dir_suffix.
24066 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24067 case $ac_top_builddir_sub in
24068 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24069 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24072 ac_abs_top_builddir
=$ac_pwd
24073 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24074 # for backward compatibility:
24075 ac_top_builddir
=$ac_top_build_prefix
24078 .
) # We are building in place.
24080 ac_top_srcdir
=$ac_top_builddir_sub
24081 ac_abs_top_srcdir
=$ac_pwd ;;
24082 [\\/]* | ?
:[\\/]* ) # Absolute name.
24083 ac_srcdir
=$srcdir$ac_dir_suffix;
24084 ac_top_srcdir
=$srcdir
24085 ac_abs_top_srcdir
=$srcdir ;;
24086 *) # Relative name.
24087 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24088 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24089 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24091 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24101 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24102 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24104 ac_MKDIR_P
=$MKDIR_P
24106 [\\/$
]* | ?
:[\\/]* ) ;;
24107 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
24111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24112 # If the template does not know about datarootdir, expand it.
24113 # FIXME: This hack should be removed a few years after 2.60.
24114 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24125 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24126 *datarootdir
*) ac_datarootdir_seen
=yes;;
24127 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24129 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24132 ac_datarootdir_hack='
24133 s&@datadir@&$datadir&g
24134 s&@docdir@&$docdir&g
24135 s&@infodir@&$infodir&g
24136 s&@localedir@&$localedir&g
24137 s&@mandir@&$mandir&g
24138 s&\\\${datarootdir}&$datarootdir&g' ;;
24142 # Neutralize VPATH when `$srcdir' = `.'.
24143 # Shell code in configure.ac might set extrasub.
24144 # FIXME: do we really want to maintain this feature?
24145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24146 ac_sed_extra="$ac_vpsub
24149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24151 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24152 s|@configure_input@|
$ac_sed_conf_input|
;t t
24153 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24154 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
24155 s
&@srcdir@
&$ac_srcdir&;t t
24156 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24157 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24158 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24159 s
&@builddir@
&$ac_builddir&;t t
24160 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24161 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24162 s
&@INSTALL@
&$ac_INSTALL&;t t
24163 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24164 $ac_datarootdir_hack
24166 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
24167 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
24169 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24170 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
24171 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
24172 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24174 which seems to be undefined. Please make sure it is defined" >&5
24175 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24176 which seems to be undefined. Please make sure it is defined" >&2;}
24178 rm -f "$ac_tmp/stdin"
24180 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24181 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24183 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24189 if test x"$ac_file" != x-; then
24191 $as_echo "/* $configure_input */" \
24192 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24193 } >"$ac_tmp/config.h" \
24194 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24195 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24196 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24197 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24200 mv "$ac_tmp/config.h" "$ac_file" \
24201 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24204 $as_echo "/* $configure_input */" \
24205 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24206 || as_fn_error $? "could not create -" "$LINENO" 5
24208 # Compute "$ac_file"'s index
in $config_headers.
24211 for _am_header
in $config_headers :; do
24212 case $_am_header in
24213 $_am_arg |
$_am_arg:* )
24216 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24219 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24220 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24221 X"$_am_arg" : 'X\(//\)[^/]' \| \
24222 X"$_am_arg" : 'X\(//\)$' \| \
24223 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24224 $as_echo X"$_am_arg" |
24225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24229 /^X\(\/\/\)[^/].*/{
24241 s/.*/./; q'`/stamp-h
$_am_stamp_count
24244 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24245 $as_echo "$as_me: executing $ac_file commands" >&6;}
24250 case $ac_file$ac_mode in
24251 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
24252 # Older Autoconf quotes --file arguments for eval, but not when files
24253 # are listed without --file. Let's play safe and only enable the eval
24254 # if we detect the quoting.
24255 case $CONFIG_FILES in
24256 *\'*) eval set x
"$CONFIG_FILES" ;;
24257 *) set x
$CONFIG_FILES ;;
24262 # Strip MF so we end up with the name of the file.
24263 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24264 # Check whether this is an Automake generated Makefile or not.
24265 # We used to match only the files named 'Makefile.in', but
24266 # some people rename them; so instead we look at the file content.
24267 # Grep'ing the first line is not enough: some people post-process
24268 # each Makefile.in and add a new line on top of each file to say so.
24269 # Grep'ing the whole file is not good either: AIX grep has a line
24270 # limit of 2048, but all sed's we know have understand at least 4000.
24271 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24272 dirpart
=`$as_dirname -- "$mf" ||
24273 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24274 X"$mf" : 'X\(//\)[^/]' \| \
24275 X"$mf" : 'X\(//\)$' \| \
24276 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24282 /^X\(\/\/\)[^/].*/{
24298 # Extract the definition of DEPDIR, am__include, and am__quote
24299 # from the Makefile without running 'make'.
24300 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24301 test -z "$DEPDIR" && continue
24302 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24303 test -z "$am__include" && continue
24304 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24305 # Find all dependency output files, they are included files with
24306 # $(DEPDIR) in their names. We invoke sed twice because it is the
24307 # simplest approach to changing $(DEPDIR) to its actual value in the
24309 for file in `sed -n "
24310 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24311 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
24312 # Make sure the directory exists.
24313 test -f "$dirpart/$file" && continue
24314 fdir
=`$as_dirname -- "$file" ||
24315 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24316 X"$file" : 'X\(//\)[^/]' \| \
24317 X"$file" : 'X\(//\)$' \| \
24318 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24319 $as_echo X"$file" |
24320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24324 /^X\(\/\/\)[^/].*/{
24337 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
24338 # echo "creating $dirpart/$file"
24339 echo '# dummy' > "$dirpart/$file"
24346 # See if we are running on zsh, and set the options that allow our
24347 # commands through without removal of \ escapes.
24348 if test -n "${ZSH_VERSION+set}"; then
24349 setopt NO_GLOB_SUBST
24353 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24356 cat <<_LT_EOF >> "$cfgfile"
24358 # Generated automatically by $as_me ($PACKAGE) $VERSION
24359 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24361 # Provide generalized library-building support services.
24362 # Written by Gordon Matzigkeit, 1996
24364 # Copyright (C) 2014 Free Software Foundation, Inc.
24365 # This is free software; see the source for copying conditions. There is NO
24366 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24368 # GNU Libtool is free software; you can redistribute it and/or modify
24369 # it under the terms of the GNU General Public License as published by
24370 # the Free Software Foundation; either version 2 of of the License, or
24371 # (at your option) any later version.
24373 # As a special exception to the GNU General Public License, if you
24374 # distribute this file as part of a program or library that is built
24375 # using GNU Libtool, you may include this file under the same
24376 # distribution terms that you use for the rest of that program.
24378 # GNU Libtool is distributed in the hope that it will be useful, but
24379 # WITHOUT ANY WARRANTY; without even the implied warranty of
24380 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24381 # GNU General Public License for more details.
24383 # You should have received a copy of the GNU General Public License
24384 # along with this program. If not, see <http://www.gnu.org/licenses/>.
24387 # The names of the tagged configurations supported by this script.
24390 # Configured defaults for sys_lib_dlsearch_path munging.
24391 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
24393 # ### BEGIN LIBTOOL CONFIG
24395 # Which release of libtool.m4 was used?
24396 macro_version=$macro_version
24397 macro_revision=$macro_revision
24399 # Whether or not to build shared libraries.
24400 build_libtool_libs=$enable_shared
24402 # Whether or not to build static libraries.
24403 build_old_libs=$enable_static
24405 # What type of objects to build.
24408 # Whether or not to optimize for fast installation.
24409 fast_install=$enable_fast_install
24411 # Shared archive member basename,for filename based shared library versioning on AIX.
24412 shared_archive_member_spec=$shared_archive_member_spec
24414 # Shell to use when invoking shell scripts.
24417 # An echo program that protects backslashes.
24420 # The PATH separator for the build system.
24421 PATH_SEPARATOR=$lt_PATH_SEPARATOR
24424 host_alias=$host_alias
24428 # The build system.
24429 build_alias=$build_alias
24433 # A sed program that does not truncate output.
24436 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24437 Xsed="\$SED -e 1s/^X//"
24439 # A grep program that handles long lines.
24445 # A literal string matcher.
24448 # A BSD- or MS-compatible name lister.
24451 # Whether we need soft or hard links.
24454 # What is the maximum length of a command?
24455 max_cmd_len=$max_cmd_len
24457 # Object file suffix (normally "o").
24460 # Executable file suffix (normally "").
24463 # whether the shell understands "unset".
24466 # turn spaces into newlines.
24469 # turn newlines into spaces.
24472 # convert \$build file names to \$host format.
24473 to_host_file_cmd=$lt_cv_to_host_file_cmd
24475 # convert \$build files to toolchain format.
24476 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
24478 # An object symbol dumper.
24479 OBJDUMP=$lt_OBJDUMP
24481 # Method to check whether dependent libraries are shared objects.
24482 deplibs_check_method=$lt_deplibs_check_method
24484 # Command to use when deplibs_check_method = "file_magic".
24485 file_magic_cmd=$lt_file_magic_cmd
24487 # How to find potential files when deplibs_check_method = "file_magic".
24488 file_magic_glob=$lt_file_magic_glob
24490 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
24491 want_nocaseglob=$lt_want_nocaseglob
24493 # DLL creation program.
24494 DLLTOOL=$lt_DLLTOOL
24496 # Command to associate shared and link libraries.
24497 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
24502 # Flags to create an archive.
24503 AR_FLAGS=$lt_AR_FLAGS
24505 # How to feed a file listing to the archiver.
24506 archiver_list_spec=$lt_archiver_list_spec
24508 # A symbol stripping program.
24511 # Commands used to install an old-style archive.
24513 old_postinstall_cmds=$lt_old_postinstall_cmds
24514 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24516 # Whether to use a lock for old archive extraction.
24517 lock_old_archive_extraction=$lock_old_archive_extraction
24522 # LTCC compiler flags.
24523 LTCFLAGS=$lt_CFLAGS
24525 # Take the output of nm and produce a listing of raw symbols and C names.
24526 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24528 # Transform the output of nm in a proper C declaration.
24529 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24531 # Transform the output of nm into a list of symbols to manually relocate.
24532 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
24534 # Transform the output of nm in a C name address pair.
24535 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24537 # Transform the output of nm in a C name address pair when lib prefix is needed.
24538 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24540 # The name lister interface.
24541 nm_interface=$lt_lt_cv_nm_interface
24543 # Specify filename containing input files for \$NM.
24544 nm_file_list_spec=$lt_nm_file_list_spec
24546 # The root where to search for dependent libraries,and where our libraries should be installed.
24547 lt_sysroot=$lt_sysroot
24549 # Command to truncate a binary pipe.
24550 lt_truncate_bin=$lt_lt_cv_truncate_bin
24552 # The name of the directory that contains temporary libtool files.
24555 # Used to examine libraries when file_magic_cmd begins with "file".
24556 MAGIC_CMD=$MAGIC_CMD
24558 # Must we lock files when doing compilation?
24559 need_locks=$lt_need_locks
24562 MANIFEST_TOOL=$lt_MANIFEST_TOOL
24564 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24565 DSYMUTIL=$lt_DSYMUTIL
24567 # Tool to change global to local symbols on Mac OS X.
24570 # Tool to manipulate fat objects and archives on Mac OS X.
24573 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24576 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24577 OTOOL64=$lt_OTOOL64
24579 # Old archive suffix (normally "a").
24582 # Shared library suffix (normally ".so").
24583 shrext_cmds=$lt_shrext_cmds
24585 # The commands to extract the exported symbol list from a shared archive.
24586 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24588 # Variables whose values should be saved in libtool wrapper scripts and
24589 # restored at link time.
24590 variables_saved_for_relink=$lt_variables_saved_for_relink
24592 # Do we need the "lib" prefix for modules?
24593 need_lib_prefix=$need_lib_prefix
24595 # Do we need a version for libraries?
24596 need_version=$need_version
24598 # Library versioning type.
24599 version_type=$version_type
24601 # Shared library runtime path variable.
24602 runpath_var=$runpath_var
24604 # Shared library path variable.
24605 shlibpath_var=$shlibpath_var
24607 # Is shlibpath searched before the hard-coded library search path?
24608 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24610 # Format of library name prefix.
24611 libname_spec=$lt_libname_spec
24613 # List of archive names. First name is the real one, the rest are links.
24614 # The last name is the one that the linker finds with -lNAME
24615 library_names_spec=$lt_library_names_spec
24617 # The coded name of the library, if different from the real name.
24618 soname_spec=$lt_soname_spec
24620 # Permission mode override for installation of shared libraries.
24621 install_override_mode=$lt_install_override_mode
24623 # Command to use after installation of a shared archive.
24624 postinstall_cmds=$lt_postinstall_cmds
24626 # Command to use after uninstallation of a shared archive.
24627 postuninstall_cmds=$lt_postuninstall_cmds
24629 # Commands used to finish a libtool library installation in a directory.
24630 finish_cmds=$lt_finish_cmds
24632 # As "finish_cmds", except a single script fragment to be evaled but
24634 finish_eval=$lt_finish_eval
24636 # Whether we should hardcode library paths into libraries.
24637 hardcode_into_libs=$hardcode_into_libs
24639 # Compile-time system search path for libraries.
24640 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24642 # Detected run-time system search path for libraries.
24643 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
24645 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
24646 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
24648 # Whether dlopen is supported.
24649 dlopen_support=$enable_dlopen
24651 # Whether dlopen of programs is supported.
24652 dlopen_self=$enable_dlopen_self
24654 # Whether dlopen of statically linked programs is supported.
24655 dlopen_self_static=$enable_dlopen_self_static
24657 # Commands to strip libraries.
24658 old_striplib=$lt_old_striplib
24659 striplib=$lt_striplib
24662 # The linker used to build libraries.
24665 # How to create reloadable object files.
24666 reload_flag=$lt_reload_flag
24667 reload_cmds=$lt_reload_cmds
24669 # Commands used to build an old-style archive.
24670 old_archive_cmds=$lt_old_archive_cmds
24672 # A language specific compiler.
24675 # Is the compiler the GNU compiler?
24678 # Compiler flag to turn off builtin functions.
24679 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24681 # Additional compiler flags for building library objects.
24682 pic_flag=$lt_lt_prog_compiler_pic
24684 # How to pass a linker flag through the compiler.
24685 wl=$lt_lt_prog_compiler_wl
24687 # Compiler flag to prevent dynamic linking.
24688 link_static_flag=$lt_lt_prog_compiler_static
24690 # Does compiler simultaneously support -c and -o options?
24691 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24693 # Whether or not to add -lc for building shared libraries.
24694 build_libtool_need_lc=$archive_cmds_need_lc
24696 # Whether or not to disallow shared libs when runtime libs are static.
24697 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24699 # Compiler flag to allow reflexive dlopens.
24700 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24702 # Compiler flag to generate shared objects directly from archives.
24703 whole_archive_flag_spec=$lt_whole_archive_flag_spec
24705 # Whether the compiler copes with passing no objects directly.
24706 compiler_needs_object=$lt_compiler_needs_object
24708 # Create an old-style archive from a shared archive.
24709 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24711 # Create a temporary old-style archive to link instead of a shared archive.
24712 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24714 # Commands used to build a shared archive.
24715 archive_cmds=$lt_archive_cmds
24716 archive_expsym_cmds=$lt_archive_expsym_cmds
24718 # Commands used to build a loadable module if different from building
24719 # a shared archive.
24720 module_cmds=$lt_module_cmds
24721 module_expsym_cmds=$lt_module_expsym_cmds
24723 # Whether we are building with GNU ld or not.
24724 with_gnu_ld=$lt_with_gnu_ld
24726 # Flag that allows shared libraries with undefined symbols to be built.
24727 allow_undefined_flag=$lt_allow_undefined_flag
24729 # Flag that enforces no undefined symbols.
24730 no_undefined_flag=$lt_no_undefined_flag
24732 # Flag to hardcode \$libdir into a binary during linking.
24733 # This must work even if \$libdir does not exist
24734 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24736 # Whether we need a single "-rpath" flag with a separated argument.
24737 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24739 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24740 # DIR into the resulting binary.
24741 hardcode_direct=$hardcode_direct
24743 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
24744 # DIR into the resulting binary and the resulting library dependency is
24745 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
24746 # library is relocated.
24747 hardcode_direct_absolute=$hardcode_direct_absolute
24749 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24750 # into the resulting binary.
24751 hardcode_minus_L=$hardcode_minus_L
24753 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24754 # into the resulting binary.
24755 hardcode_shlibpath_var=$hardcode_shlibpath_var
24757 # Set to "yes" if building a shared library automatically hardcodes DIR
24758 # into the library and all subsequent libraries and executables linked
24760 hardcode_automatic=$hardcode_automatic
24762 # Set to yes if linker adds runtime paths of dependent libraries
24763 # to runtime path list.
24764 inherit_rpath=$inherit_rpath
24766 # Whether libtool must link a program against all its dependency libraries.
24767 link_all_deplibs=$link_all_deplibs
24769 # Set to "yes" if exported symbols are required.
24770 always_export_symbols=$always_export_symbols
24772 # The commands to list exported symbols.
24773 export_symbols_cmds=$lt_export_symbols_cmds
24775 # Symbols that should not be listed in the preloaded symbols.
24776 exclude_expsyms=$lt_exclude_expsyms
24778 # Symbols that must always be exported.
24779 include_expsyms=$lt_include_expsyms
24781 # Commands necessary for linking programs (against libraries) with templates.
24782 prelink_cmds=$lt_prelink_cmds
24784 # Commands necessary for finishing linking programs.
24785 postlink_cmds=$lt_postlink_cmds
24787 # Specify filename containing input files.
24788 file_list_spec=$lt_file_list_spec
24790 # How to hardcode a shared library path into an executable.
24791 hardcode_action=$hardcode_action
24793 # ### END LIBTOOL CONFIG
24797 cat <<'_LT_EOF' >> "$cfgfile"
24799 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
24801 # func_munge_path_list VARIABLE PATH
24802 # -----------------------------------
24803 # VARIABLE is name of variable containing _space_ separated list of
24804 # directories to be munged by the contents of PATH, which is string
24807 # string "DIR[ DIR]" will be prepended to VARIABLE
24809 # string "DIR[ DIR]" will be appended to VARIABLE
24810 # "DIRP[:DIRP]::[DIRA:]DIRA"
24811 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
24812 # "DIRA[ DIRA]" will be appended to VARIABLE
24814 # VARIABLE will be replaced by "DIR[ DIR]"
24815 func_munge_path_list ()
24821 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
24824 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
24827 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
24828 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
24831 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
24837 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
24838 func_cc_basename ()
24840 for cc_temp in $*""; do
24842 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
24843 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
24848 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
24852 # ### END FUNCTIONS SHARED WITH CONFIGURE
24858 cat <<\_LT_EOF
>> "$cfgfile"
24859 # AIX sometimes has problems with the GCC collect2 program. For some
24860 # reason, if we set the COLLECT_NAMES environment variable, the problems
24861 # vanish in a puff of smoke.
24862 if test set != "${COLLECT_NAMES+set}"; then
24864 export COLLECT_NAMES
24871 ltmain
=$ac_aux_dir/ltmain.sh
24874 # We use sed instead of cat because bash on DJGPP gets confused if
24875 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24876 # text mode, it properly converts lines to CR/LF. This bash problem
24877 # is reportedly fixed, but why not run on old versions too?
24878 sed '$q' "$ltmain" >> "$cfgfile" \
24879 ||
(rm -f "$cfgfile"; exit 1)
24881 mv -f "$cfgfile" "$ofile" ||
24882 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24886 "po-directories":C
)
24887 for ac_file
in $CONFIG_FILES; do
24888 # Support "outfile[:infile[:infile...]]"
24890 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24892 # PO directories have a Makefile.in generated from Makefile.in.in.
24893 case "$ac_file" in */Makefile.
in)
24894 # Adjust a relative srcdir.
24895 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24896 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
24897 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24898 # In autoconf-2.13 it is called $ac_given_srcdir.
24899 # In autoconf-2.50 it is called $srcdir.
24900 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
24901 case "$ac_given_srcdir" in
24902 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
24903 /*) top_srcdir
="$ac_given_srcdir" ;;
24904 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24906 # Treat a directory as a PO directory if and only if it has a
24907 # POTFILES.in file. This allows packages to have multiple PO
24908 # directories under different names or in different locations.
24909 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24910 rm -f "$ac_dir/POTFILES"
24911 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
24912 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24913 POMAKEFILEDEPS
="POTFILES.in"
24914 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
24915 # on $ac_dir but don't depend on user-specified configuration
24917 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24918 # The LINGUAS file contains the set of available languages.
24919 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24920 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
24922 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24923 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24924 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24925 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
24927 # The set of available languages was given in configure.in.
24928 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24929 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24932 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
24933 # Compute UPDATEPOFILES
24934 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
24935 # Compute DUMMYPOFILES
24936 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
24938 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
24939 case "$ac_given_srcdir" in
24941 *) srcdirpre
='$(srcdir)/' ;;
24947 for lang
in $ALL_LINGUAS; do
24948 POFILES
="$POFILES $srcdirpre$lang.po"
24949 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24950 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24951 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24953 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24954 # environment variable.
24956 if test -n "$ALL_LINGUAS"; then
24957 for presentlang
in $ALL_LINGUAS; do
24959 if test "%UNSET%" != "$LINGUAS"; then
24960 desiredlanguages
="$LINGUAS"
24962 desiredlanguages
="$ALL_LINGUAS"
24964 for desiredlang
in $desiredlanguages; do
24965 # Use the presentlang catalog if desiredlang is
24966 # a. equal to presentlang, or
24967 # b. a variant of presentlang (because in this case,
24968 # presentlang can be used as a fallback for messages
24969 # which are not translated in the desiredlang catalog).
24970 case "$desiredlang" in
24971 "$presentlang"*) useit
=yes;;
24974 if test $useit = yes; then
24975 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24980 if test -n "$INST_LINGUAS"; then
24981 for lang
in $INST_LINGUAS; do
24982 CATALOGS
="$CATALOGS $lang.gmo"
24985 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24986 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"
24987 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24988 if test -f "$f"; then
24990 *.orig |
*.bak |
*~
) ;;
24991 *) cat "$f" >> "$ac_dir/Makefile" ;;
25006 ac_clean_files
=$ac_clean_files_save
25008 test $ac_write_fail = 0 ||
25009 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
25012 # configure is writing to config.log, and then calls config.status.
25013 # config.status does its own redirection, appending to config.log.
25014 # Unfortunately, on DOS this fails, as config.log is still kept open
25015 # by configure, so config.status won't be able to write to it; its
25016 # output is simply discarded. So we exec the FD to /dev/null,
25017 # effectively closing config.log, so it can be properly (re)opened and
25018 # appended to by config.status. When coming back to configure, we
25019 # need to make the FD available again.
25020 if test "$no_create" != yes; then
25022 ac_config_status_args
=
25023 test "$silent" = yes &&
25024 ac_config_status_args
="$ac_config_status_args --quiet"
25026 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25029 # would make configure fail if this is the last instruction.
25030 $ac_cs_success || as_fn_exit
1
25032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
25033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}