2 # From configure.ac Rev:29 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.26.
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.26'
595 PACKAGE_STRING
='alpine 2.26'
596 PACKAGE_BUGREPORT
='chappa@washington.edu'
599 ac_unique_file
="include/system.h"
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
661 alpine_interactive_spellcheck
663 alpine_simple_spellcheck
748 MAINTAINER_MODE_FALSE
762 INSTALL_STRIP_PROGRAM
804 program_transform_name
817 enable_option_checking
819 enable_maintainer_mode
820 enable_dependency_tracking
838 enable_osx_universal_binaries
848 enable_background_post
856 with_simple_spellcheck
857 with_interactive_spellcheck
859 with_system_fixed_pinerc
860 with_local_support_info
861 with_mailcheck_interval
862 with_checkpoint_interval
863 with_checkpoint_frequency
866 with_max_display_rows
867 with_max_display_columns
873 with_forwarded_keyword
877 with_default_save_folder
878 with_default_legacy_postponed_folder
879 with_default_postponed_folder
880 with_default_trash_folder
881 with_default_interrupted_mail
882 with_default_dead_letter_folder
883 with_default_mail_directory
884 with_default_inbox_name
885 with_default_signature_file
886 with_default_elm_style_save
887 with_default_header_in_reply
888 with_default_old_style_reply
889 with_default_use_only_domain_name
890 with_default_save_by_sender
891 with_default_sort_key
892 with_default_addressbook_sort_rule
893 with_default_folder_sort_rule
894 with_default_saved_message_name_rule
895 with_default_fcc_rule
896 with_default_standard_printer
897 with_default_ansi_printer
898 with_default_addressbook
899 with_default_local_fullname
900 with_default_local_address
901 with_default_keyboard_lock_count
902 with_default_remote_addressbook_history
903 with_default_html_directory
904 with_smime_public_cert_directory
905 with_smime_private_key_directory
906 with_smime_cacert_directory
915 with_encryption_minimum_version
916 with_encryption_maximum_version
917 with_encryption_range
920 with_krb5_include_dir
924 with_ldap_include_dir
933 with_system_mail_directory
937 with_local_password_cache
938 with_local_password_cache_method
943 ac_precious_vars
='build_alias
955 # Initialize some variables set by options.
957 ac_init_version
=false
958 ac_unrecognized_opts
=
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
969 program_transform_name
=s
,x
,x
,
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir
='${exec_prefix}/bin'
984 sbindir
='${exec_prefix}/sbin'
985 libexecdir
='${exec_prefix}/libexec'
986 datarootdir
='${prefix}/share'
987 datadir
='${datarootdir}'
988 sysconfdir
='${prefix}/etc'
989 sharedstatedir
='${prefix}/com'
990 localstatedir
='${prefix}/var'
991 includedir
='${prefix}/include'
992 oldincludedir
='/usr/include'
993 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
994 infodir
='${datarootdir}/info'
999 libdir
='${exec_prefix}/lib'
1000 localedir
='${datarootdir}/locale'
1001 mandir
='${datarootdir}/man'
1007 # If the previous option needs an argument, assign it.
1008 if test -n "$ac_prev"; then
1009 eval $ac_prev=\
$ac_option
1015 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1020 # Accept the important Cygnus configure options, so we can diagnose typos.
1022 case $ac_dashdash$ac_option in
1026 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1028 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1029 bindir
=$ac_optarg ;;
1031 -build |
--build |
--buil |
--bui |
--bu)
1032 ac_prev
=build_alias
;;
1033 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1034 build_alias
=$ac_optarg ;;
1036 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1037 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1038 ac_prev
=cache_file
;;
1039 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1040 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1041 cache_file
=$ac_optarg ;;
1043 --config-cache |
-C)
1044 cache_file
=config.cache
;;
1046 -datadir |
--datadir |
--datadi |
--datad)
1048 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1049 datadir
=$ac_optarg ;;
1051 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1052 |
--dataroo |
--dataro |
--datar)
1053 ac_prev
=datarootdir
;;
1054 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1055 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1056 datarootdir
=$ac_optarg ;;
1058 -disable-* |
--disable-*)
1059 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1062 as_fn_error $?
"invalid feature name: $ac_useropt"
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_
$ac_useropt"
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval enable_
$ac_useropt=no
;;
1074 -docdir |
--docdir |
--docdi |
--doc |
--do)
1076 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1077 docdir
=$ac_optarg ;;
1079 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1081 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1082 dvidir
=$ac_optarg ;;
1084 -enable-* |
--enable-*)
1085 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1088 as_fn_error $?
"invalid feature name: $ac_useropt"
1089 ac_useropt_orig
=$ac_useropt
1090 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1093 "enable_
$ac_useropt"
1095 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1096 ac_unrecognized_sep
=', ';;
1098 eval enable_
$ac_useropt=\
$ac_optarg ;;
1100 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1101 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1102 |
--exec |
--exe |
--ex)
1103 ac_prev
=exec_prefix
;;
1104 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1105 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1106 |
--exec=* |
--exe=* |
--ex=*)
1107 exec_prefix
=$ac_optarg ;;
1109 -gas |
--gas |
--ga |
--g)
1110 # Obsolete; use --with-gas.
1113 -help |
--help |
--hel |
--he |
-h)
1114 ac_init_help
=long
;;
1115 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1116 ac_init_help
=recursive
;;
1117 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1118 ac_init_help
=short
;;
1120 -host |
--host |
--hos |
--ho)
1121 ac_prev
=host_alias
;;
1122 -host=* |
--host=* |
--hos=* |
--ho=*)
1123 host_alias
=$ac_optarg ;;
1125 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1127 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1129 htmldir
=$ac_optarg ;;
1131 -includedir |
--includedir |
--includedi |
--included |
--include \
1132 |
--includ |
--inclu |
--incl |
--inc)
1133 ac_prev
=includedir
;;
1134 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1135 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1136 includedir
=$ac_optarg ;;
1138 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1140 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1141 infodir
=$ac_optarg ;;
1143 -libdir |
--libdir |
--libdi |
--libd)
1145 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1146 libdir
=$ac_optarg ;;
1148 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1149 |
--libexe |
--libex |
--libe)
1150 ac_prev
=libexecdir
;;
1151 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1152 |
--libexe=* |
--libex=* |
--libe=*)
1153 libexecdir
=$ac_optarg ;;
1155 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1156 ac_prev
=localedir
;;
1157 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1158 localedir
=$ac_optarg ;;
1160 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1161 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1162 ac_prev
=localstatedir
;;
1163 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1164 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1165 localstatedir
=$ac_optarg ;;
1167 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1169 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1170 mandir
=$ac_optarg ;;
1172 -nfp |
--nfp |
--nf)
1173 # Obsolete; use --without-fp.
1176 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1177 |
--no-cr |
--no-c |
-n)
1180 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1181 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1184 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1185 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1186 |
--oldin |
--oldi |
--old |
--ol |
--o)
1187 ac_prev
=oldincludedir
;;
1188 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1189 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1190 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1191 oldincludedir
=$ac_optarg ;;
1193 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1195 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1196 prefix
=$ac_optarg ;;
1198 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1199 |
--program-pre |
--program-pr |
--program-p)
1200 ac_prev
=program_prefix
;;
1201 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1202 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1203 program_prefix
=$ac_optarg ;;
1205 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1206 |
--program-suf |
--program-su |
--program-s)
1207 ac_prev
=program_suffix
;;
1208 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1209 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1210 program_suffix
=$ac_optarg ;;
1212 -program-transform-name |
--program-transform-name \
1213 |
--program-transform-nam |
--program-transform-na \
1214 |
--program-transform-n |
--program-transform- \
1215 |
--program-transform |
--program-transfor \
1216 |
--program-transfo |
--program-transf \
1217 |
--program-trans |
--program-tran \
1218 |
--progr-tra |
--program-tr |
--program-t)
1219 ac_prev
=program_transform_name
;;
1220 -program-transform-name=* |
--program-transform-name=* \
1221 |
--program-transform-nam=* |
--program-transform-na=* \
1222 |
--program-transform-n=* |
--program-transform-=* \
1223 |
--program-transform=* |
--program-transfor=* \
1224 |
--program-transfo=* |
--program-transf=* \
1225 |
--program-trans=* |
--program-tran=* \
1226 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1227 program_transform_name
=$ac_optarg ;;
1229 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1231 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1232 pdfdir
=$ac_optarg ;;
1234 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1236 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1239 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1240 |
-silent |
--silent |
--silen |
--sile |
--sil)
1243 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1245 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1247 sbindir
=$ac_optarg ;;
1249 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1250 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1251 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1253 ac_prev
=sharedstatedir
;;
1254 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1255 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1256 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1258 sharedstatedir
=$ac_optarg ;;
1260 -site |
--site |
--sit)
1262 -site=* |
--site=* |
--sit=*)
1265 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1267 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1268 srcdir
=$ac_optarg ;;
1270 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1271 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1272 ac_prev
=sysconfdir
;;
1273 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1274 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1275 sysconfdir
=$ac_optarg ;;
1277 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1278 ac_prev
=target_alias
;;
1279 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1280 target_alias
=$ac_optarg ;;
1282 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1285 -version |
--version |
--versio |
--versi |
--vers |
-V)
1286 ac_init_version
=: ;;
1289 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1292 as_fn_error $?
"invalid package name: $ac_useropt"
1293 ac_useropt_orig
=$ac_useropt
1294 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1300 ac_unrecognized_sep
=', ';;
1302 eval with_
$ac_useropt=\
$ac_optarg ;;
1304 -without-* |
--without-*)
1305 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1308 as_fn_error $?
"invalid package name: $ac_useropt"
1309 ac_useropt_orig
=$ac_useropt
1310 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1315 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1316 ac_unrecognized_sep
=', ';;
1318 eval with_
$ac_useropt=no
;;
1321 # Obsolete; use --with-x.
1324 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1325 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1326 ac_prev
=x_includes
;;
1327 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1328 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1329 x_includes
=$ac_optarg ;;
1331 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1332 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1333 ac_prev
=x_libraries
;;
1334 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1335 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1336 x_libraries
=$ac_optarg ;;
1338 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1339 Try \`$0 --help' for more information"
1343 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1344 # Reject names that are not valid shell variable names.
1345 case $ac_envvar in #(
1346 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1347 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1349 eval $ac_envvar=\
$ac_optarg
1350 export $ac_envvar ;;
1353 # FIXME: should be removed in autoconf 3.0.
1354 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1355 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1356 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1357 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1363 if test -n "$ac_prev"; then
1364 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1365 as_fn_error $?
"missing argument to $ac_option"
1368 if test -n "$ac_unrecognized_opts"; then
1369 case $enable_option_checking in
1371 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1372 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1376 # Check all directory arguments for consistency.
1377 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1378 datadir sysconfdir sharedstatedir localstatedir includedir \
1379 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1380 libdir localedir mandir
1382 eval ac_val
=\$
$ac_var
1383 # Remove trailing slashes.
1386 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1387 eval $ac_var=\
$ac_val;;
1389 # Be sure to have absolute directory names.
1391 [\\/$
]* | ?
:[\\/]* ) continue;;
1392 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1394 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1397 # There might be people who depend on the old broken behavior: `$host'
1398 # used to hold the argument of --host etc.
1399 # FIXME: To remove some day.
1402 target
=$target_alias
1404 # FIXME: To remove some day.
1405 if test "x$host_alias" != x
; then
1406 if test "x$build_alias" = x
; then
1407 cross_compiling
=maybe
1408 elif test "x$build_alias" != "x$host_alias"; then
1414 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1416 test "$silent" = yes && exec 6>/dev
/null
1419 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1420 ac_ls_di
=`ls -di .` &&
1421 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1422 as_fn_error $?
"working directory cannot be determined"
1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1424 as_fn_error $?
"pwd does not report name of working directory"
1427 # Find the source files, if location was not specified.
1428 if test -z "$srcdir"; then
1429 ac_srcdir_defaulted
=yes
1430 # Try the directory containing this script, then the parent directory.
1431 ac_confdir
=`$as_dirname -- "$as_myself" ||
1432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1433 X"$as_myself" : 'X\(//\)[^/]' \| \
1434 X"$as_myself" : 'X\(//\)$' \| \
1435 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1436 $as_echo X"$as_myself" |
1437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1459 ac_srcdir_defaulted
=no
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1462 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1463 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1465 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1467 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1469 # When building in place, set srcdir=.
1470 if test "$ac_abs_confdir" = "$ac_pwd"; then
1473 # Remove unnecessary trailing slashes from srcdir.
1474 # Double slashes in file names in object file debugging info
1475 # mess up M-x gdb in Emacs.
1477 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1479 for ac_var
in $ac_precious_vars; do
1480 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1481 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1482 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1483 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1487 # Report the --help message.
1489 if test "$ac_init_help" = "long"; then
1490 # Omit some internal or obsolete options to make the list less imposing.
1491 # This message is too long to be a string in the A/UX 3.1 sh.
1493 \`configure' configures alpine 2.26 to adapt to many kinds of systems.
1495 Usage: $0 [OPTION]... [VAR=VALUE]...
1497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1498 VAR=VALUE. See below for descriptions of some of the useful variables.
1500 Defaults for the options are specified in brackets.
1503 -h, --help display this help and exit
1504 --help=short display options specific to this package
1505 --help=recursive display the short help of all the included packages
1506 -V, --version display version information and exit
1507 -q, --quiet, --silent do not print \`checking ...' messages
1508 --cache-file=FILE cache test results in FILE [disabled]
1509 -C, --config-cache alias for \`--cache-file=config.cache'
1510 -n, --no-create do not create output files
1511 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1513 Installation directories:
1514 --prefix=PREFIX install architecture-independent files in PREFIX
1515 [$ac_default_prefix]
1516 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1519 By default, \`make install' will install all the files in
1520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1521 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1522 for instance \`--prefix=\$HOME'.
1524 For better control, use the options below.
1526 Fine tuning of the installation directories:
1527 --bindir=DIR user executables [EPREFIX/bin]
1528 --sbindir=DIR system admin executables [EPREFIX/sbin]
1529 --libexecdir=DIR program executables [EPREFIX/libexec]
1530 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1531 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1532 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1533 --libdir=DIR object code libraries [EPREFIX/lib]
1534 --includedir=DIR C header files [PREFIX/include]
1535 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1536 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1537 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1538 --infodir=DIR info documentation [DATAROOTDIR/info]
1539 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1540 --mandir=DIR man documentation [DATAROOTDIR/man]
1541 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1542 --htmldir=DIR html documentation [DOCDIR]
1543 --dvidir=DIR dvi documentation [DOCDIR]
1544 --pdfdir=DIR pdf documentation [DOCDIR]
1545 --psdir=DIR ps documentation [DOCDIR]
1551 --program-prefix=PREFIX prepend PREFIX to installed program names
1552 --program-suffix=SUFFIX append SUFFIX to installed program names
1553 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1556 --build=BUILD configure
for building on BUILD
[guessed
]
1557 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1561 if test -n "$ac_init_help"; then
1562 case $ac_init_help in
1563 short | recursive
) echo "Configuration of alpine 2.26:";;
1568 --disable-option-checking ignore unrecognized
--enable/--with options
1569 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1570 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1571 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1572 --disable-silent-rules verbose build output
(undo
: "make V=0")
1573 --enable-maintainer-mode
1574 enable make rules and dependencies not useful
(and
1575 sometimes confusing
) to the casual installer
1576 --enable-dependency-tracking
1577 do not reject slow dependency extractors
1578 --disable-dependency-tracking
1579 speeds up one-time build
1580 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1581 --enable-static[=PKGS
] build static libraries
[default
=yes]
1582 --enable-fast-install[=PKGS
]
1583 optimize
for fast installation
[default
=yes]
1584 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1585 --disable-nls do not use Native Language Support
1586 --disable-rpath do not hardcode runtime library paths
1587 --enable-dmalloc Enable dmalloc debugging
1588 --enable-osx-universal-binaries
1589 Produce universal binaries under OS X
[[default
=no
]]
1590 --disable-debug Exclude debug from the binary
1591 --disable-optimization Exclude optimizing compiler flags
1592 --disable-mouse Disable mouse support
1593 --enable-quotas Enable disk quota checking on startup
1594 --disable-from-changing Disallow users changing From address
1595 --disable-background-post
1596 Disable background posting
1597 --disable-keyboard-lock Disable keyboard locking
1598 --enable-from-encoding Enable From encoding
in sent messages
1601 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1602 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1603 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1605 --with-aix-soname=aix|svr4|both
1606 shared library versioning
(aka
"SONAME") variant to
1607 provide on AIX
, [default
=aix
].
1608 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1609 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1610 compiler
's sysroot if not specified).
1611 --with-gnu-ld assume the C compiler uses GNU ld default=no
1612 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1613 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1614 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1615 --without-libintl-prefix don
't search for libintl in includedir and libdir
1616 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1617 --with-date-stamp=DATE Set this as the date this program was built.
1618 Default: output of `date`
1619 --with-host-stamp=HOST Set name of computer for compilation. Default:
1620 output of `hostname`
1621 --with-localedir=DIR Name of gettext locale directory
1622 --with-include-path=PATHS
1623 Colon-separated list of directories used for include
1625 --with-lib-path=PATHS Colon-separated list of directories used for library
1627 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1628 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1629 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1630 --with-smtp-msa-flags=FLAGS
1631 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1632 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1633 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1634 --with-password-prog=PATH
1635 Password change program (/bin/passwd)
1636 --with-simple-spellcheck=PROG
1637 Spellcheck program reads stdin, emits misspellings
1639 --with-interactive-spellcheck=PROG
1640 Interactive, filewise spell checker
1641 --with-system-pinerc=VALUE
1642 System pinerc (/usr/local/lib/pine.conf)
1643 --with-system-fixed-pinerc=VALUE
1644 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1645 --with-local-support-info=VALUE
1646 Local Support Info File (/usr/local/lib/pine.info)
1647 --with-mailcheck-interval=VALUE
1648 Specify default mail-check-interval (150)
1649 --with-checkpoint-interval=VALUE
1650 Specify default checkpoint-interval (420)
1651 --with-checkpoint-frequency=VALUE
1652 State change count before checkpoint (12)
1653 --with-display-rows=VALUE
1654 Initial rows on display (24)
1655 --with-display-columns=VALUE
1656 Initial columns on display (80)
1657 --with-max-display-rows=VALUE
1658 Maximum display rows (200)
1659 --with-max-display-columns=VALUE
1660 Maximum display columns (500)
1661 --with-fill-column=VALUE
1662 Default fill column (74)
1663 --with-max_fill-column=VALUE
1664 Maximum fill column (80)
1665 --with-debug-level=VALUE
1666 Specify default debug verbosity level (2)
1667 --with-debug-files=VALUE
1668 Specify number of debug files (4)
1669 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1670 --with-forwarded-keyword=VALUE
1671 IMAP (c-client) keyword to store forwarded status
1673 --with-display-overlap=VALUE
1674 Lines preserved while paging (2)
1675 --with-display-margin=VALUE
1676 Lines visible while scrolling (0)
1677 --with-default-fcc=VALUE
1678 Default sent mail folder (sent-mail)
1679 --with-default-save-folder=VALUE
1680 Default save folder (saved-messages)
1681 --with-default-legacy-postponed-folder=VALUE
1682 Pre Pine 3.90 postponed folder (postponed-mail)
1683 --with-default-postponed-folder=VALUE
1684 Default postponed folder (postponed-msgs)
1685 --with-default-trash-folder=VALUE
1686 Default Trash folder for Web Alpine (Trash)
1687 --with-default-interrupted-mail=VALUE
1688 Default folder for interrupted mail
1689 (.pine-interrupted-mail)
1690 --with-default-dead-letter-folder=VALUE
1691 Default dead letter folder (dead.letter)
1692 --with-default-mail-directory=VALUE
1693 Default mail directory (mail)
1694 --with-default-inbox-name=VALUE
1695 Default inbox name (INBOX)
1696 --with-default-signature-file=VALUE
1697 Default signature file (.signature)
1698 --with-default-elm-style-save=VALUE
1699 Default to Elm style save (no)
1700 --with-default-header-in-reply=VALUE
1701 Include header in reply (no)
1702 --with-default-old-style-reply=VALUE
1703 Default to old style reply (no)
1704 --with-default-use-only-domain-name=VALUE
1705 Default to using only the domain name (no)
1706 --with-default-save-by-sender=VALUE
1707 Default to save by sender (no)
1708 --with-default-sort-key=VALUE
1709 Default sort key (arrival)
1710 --with-default-addressbook-sort-rule=VALUE
1711 Default addressbook sort rule
1712 (fullname-with-lists-last)
1713 --with-default-folder-sort-rule=VALUE
1714 Default folder sort rule (alphabetical)
1715 --with-default-saved-message-name-rule=VALUE
1716 Default saved message name rule (default-folder)
1717 --with-default-fcc-rule=VALUE
1718 Default fcc rule (default-fcc)
1719 --with-default-standard-printer=VALUE
1720 Default standard printern (lpr)
1721 --with-default-ansi-printer=VALUE
1722 ANSI printer definition (attached-to-ansi)
1723 --with-default-addressbook=VALUE
1724 Default addressbook name (.addressbook)
1725 --with-default-local-fullname=VALUE
1726 Default local support fullname ("Local Support")
1727 --with-default-local-address=VALUE
1728 Default local support address (postmaster)
1729 --with-default-keyboard-lock-count=VALUE
1730 Default keyboard lock count (1)
1731 --with-default-remote-addressbook-history=VALUE
1732 Default address book history count (3)
1733 --with-default-html-directory=VALUE
1734 Default Directory to Temporarily Save HTML Messages
1736 --with-smime-public-cert-directory=VALUE
1737 Default Public Cert Directory (.alpine-smime/public)
1738 --with-smime-private-key-directory=VALUE
1739 Default Private Key Directory
1740 (.alpine-smime/private)
1741 --with-smime-cacert-directory=VALUE
1742 Default Cert Authority Directory (.alpine-smime/ca)
1743 --with-default-printer=VALUE
1744 Default printer (ANSI_PRINTER)
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 --encryption-minimum-version=VERSION
1759 Minimum SSL encryption version. Default: no_min
1760 --encryption-maximum-version=VERSION
1761 Maximum SSL encryption version. Default: no_max
1762 --with-encryption-range=VALUE
1763 Default Encryption Range ($alpine_RANGE )
1764 --without-krb5 Disable Kerberos support
1765 --with-krb5-dir=DIR Root of Kerberos lib/include path
1766 --with-krb5-include-dir=DIR
1767 Kerberos include file path
1768 --with-krb5-lib-dir=DIR Kerberos library path
1769 --without-ldap Disable LDAP query support
1770 --with-ldap-dir=DIR Root of LDAP lib/include path
1771 --with-ldap-include-dir=DIR
1772 Directory containing LDAP include files
1773 --with-ldap-lib-dir=DIR LDAP library path
1774 --without-smime Disable S/MIME
1775 --without-tcl Disable TCL, thus Web Alpine support
1776 --with-tcl-lib-dir=PATH Specific TCL Librar dir, like \"/usr/opt/tcl86/lib\"
1777 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1778 --with-tcl-include=DIR Directory containing TCL include files
1779 --with-supplied-regex Use regex library supplied with alpine
1780 --without-pthread Do NOT test for nor build with POSIX thread support
1781 --with-system-mail-directory=DIR
1782 Directory where local mail is delivered
1783 --with-c-client-target=TARGET
1784 IMAP build target (see imap/Makefile)
1785 --with-bundled-tools Build additional tools (mtest, imapd, etc.) Default:
1786 --with-bundled-tools=no
1787 --with-passfile=FILENAME
1788 Password cache file (recommended when S/MIME is
1789 enabled and configured)
1790 --without-local-password-cache
1791 Disable OS-specific password cache, if supported
1792 --with-local-password-cache-method
1793 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1795 --without-ipv6 Disable IPv6, primarily to work around resolver
1797 --without-dlopen Do not test for dlopen because this system does not
1799 --without-ntlm Disable NTLM client support
1801 Some influential environment variables:
1802 CC C compiler command
1803 CFLAGS C compiler flags
1804 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1805 nonstandard directory <lib dir>
1806 LIBS libraries to pass to the linker, e.g. -l<library>
1807 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1808 you have headers in a nonstandard directory <include dir>
1811 User-defined run-time library search path.
1813 Use these variables to override the choices made by `configure' or to
help
1814 it to
find libraries and programs with nonstandard names
/locations.
1816 Report bugs to
<chappa@washington.edu
>.
1821 if test "$ac_init_help" = "recursive"; then
1822 # If there are subdirs, report their specific --help.
1823 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1824 test -d "$ac_dir" ||
1825 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1830 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1832 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1833 # A ".." for each directory in $ac_dir_suffix.
1834 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1835 case $ac_top_builddir_sub in
1836 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1837 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1840 ac_abs_top_builddir
=$ac_pwd
1841 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1842 # for backward compatibility:
1843 ac_top_builddir
=$ac_top_build_prefix
1846 .
) # We are building in place.
1848 ac_top_srcdir
=$ac_top_builddir_sub
1849 ac_abs_top_srcdir
=$ac_pwd ;;
1850 [\\/]* | ?
:[\\/]* ) # Absolute name.
1851 ac_srcdir
=$srcdir$ac_dir_suffix;
1852 ac_top_srcdir
=$srcdir
1853 ac_abs_top_srcdir
=$srcdir ;;
1855 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1856 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1857 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1859 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1861 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1862 # Check for guested configure.
1863 if test -f "$ac_srcdir/configure.gnu"; then
1865 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1866 elif test -f "$ac_srcdir/configure"; then
1868 $SHELL "$ac_srcdir/configure" --help=recursive
1870 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1872 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1876 test -n "$ac_init_help" && exit $ac_status
1877 if $ac_init_version; then
1879 alpine configure
2.26
1880 generated by GNU Autoconf
2.69
1882 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1883 This configure
script is free software
; the Free Software Foundation
1884 gives unlimited permission to copy
, distribute and modify it.
1889 ## ------------------------ ##
1890 ## Autoconf initialization. ##
1891 ## ------------------------ ##
1893 # ac_fn_c_try_compile LINENO
1894 # --------------------------
1895 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1896 ac_fn_c_try_compile
()
1898 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1899 rm -f conftest.
$ac_objext
1900 if { { ac_try
="$ac_compile"
1902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_compile") 2>conftest.err
1909 if test -s conftest.err; then
1910 grep -v '^ *+' conftest.err >conftest.er1
1911 cat conftest.er1 >&5
1912 mv -f conftest.er1 conftest.err
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; } && {
1916 test -z "$ac_c_werror_flag" ||
1917 test ! -s conftest.err
1918 } && test -s conftest.$ac_objext; then :
1921 $as_echo "$as_me: failed program was:" >&5
1922 sed 's/^/| /' conftest.$ac_ext >&5
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927 as_fn_set_status $ac_retval
1929 } # ac_fn_c_try_compile
1931 # ac_fn_c_try_cpp LINENO
1932 # ----------------------
1933 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937 if { { ac_try="$ac_cpp conftest.$ac_ext"
1939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1940 *) ac_try_echo
=$ac_try;;
1942 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943 $as_echo "$ac_try_echo"; } >&5
1944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1946 if test -s conftest.err
; then
1947 grep -v '^ *+' conftest.err
>conftest.er1
1948 cat conftest.er1
>&5
1949 mv -f conftest.er1 conftest.err
1951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952 test $ac_status = 0; } > conftest.i
&& {
1953 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1954 test ! -s conftest.err
1958 $as_echo "$as_me: failed program was:" >&5
1959 sed 's/^/| /' conftest.
$ac_ext >&5
1963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 as_fn_set_status
$ac_retval
1968 # ac_fn_c_try_link LINENO
1969 # -----------------------
1970 # Try to link conftest.$ac_ext, and return whether this succeeded.
1973 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1974 rm -f conftest.
$ac_objext conftest
$ac_exeext
1975 if { { ac_try
="$ac_link"
1977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_link") 2>conftest.err
1984 if test -s conftest.err; then
1985 grep -v '^ *+' conftest.err >conftest.er1
1986 cat conftest.er1 >&5
1987 mv -f conftest.er1 conftest.err
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; } && {
1991 test -z "$ac_c_werror_flag" ||
1992 test ! -s conftest.err
1993 } && test -s conftest$ac_exeext && {
1994 test "$cross_compiling" = yes ||
1995 test -x conftest$ac_exeext
1999 $as_echo "$as_me: failed program was:" >&5
2000 sed 's/^/| /' conftest.$ac_ext >&5
2004 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2005 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2006 # interfere with the next link command; also delete a directory that is
2007 # left behind by Apple's compiler. We do this before executing the actions.
2008 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010 as_fn_set_status $ac_retval
2012 } # ac_fn_c_try_link
2014 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2015 # -------------------------------------------------------
2016 # Tests whether HEADER exists and can be compiled using the include files in
2017 # INCLUDES, setting the cache variable VAR accordingly.
2018 ac_fn_c_check_header_compile ()
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if eval \${$3+:} false; then :
2024 $as_echo_n "(cached) " >&6
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2031 if ac_fn_c_try_compile "$LINENO"; then :
2036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 } # ac_fn_c_check_header_compile
2045 # ac_fn_c_try_run LINENO
2046 # ----------------------
2047 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2048 # that executables *can* be run.
2051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2052 if { { ac_try="$ac_link"
2054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2055 *) ac_try_echo
=$ac_try;;
2057 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2058 $as_echo "$ac_try_echo"; } >&5
2059 (eval "$ac_link") 2>&5
2061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2062 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2063 { { case "(($ac_try" in
2064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2065 *) ac_try_echo=$ac_try;;
2067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2068 $as_echo "$ac_try_echo"; } >&5
2069 (eval "$ac_try") 2>&5
2071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2072 test $ac_status = 0; }; }; then :
2075 $as_echo "$as_me: program exited with status $ac_status" >&5
2076 $as_echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.$ac_ext >&5
2079 ac_retval=$ac_status
2081 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083 as_fn_set_status $ac_retval
2087 # ac_fn_c_check_func LINENO FUNC VAR
2088 # ----------------------------------
2089 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2090 ac_fn_c_check_func ()
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2094 $as_echo_n "checking for $2... " >&6; }
2095 if eval \${$3+:} false; then :
2096 $as_echo_n "(cached) " >&6
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2100 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2102 #define $2 innocuous_$2
2104 /* System header to define __stub macros and hopefully few prototypes,
2105 which can conflict with char $2 (); below.
2106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2107 <limits.h> exists even on freestanding compilers. */
2110 # include <limits.h>
2112 # include <assert.h>
2117 /* Override any GCC internal prototype to avoid an error.
2118 Use char because int might match the return type of a GCC
2119 builtin and then its argument prototype would still apply. */
2124 /* The GNU C library defines this for functions which it implements
2125 to always fail with ENOSYS. Some functions are actually named
2126 something starting with __ and the normal name is an alias. */
2127 #if defined __stub_$2 || defined __stub___$2
2139 if ac_fn_c_try_link "$LINENO"; then :
2144 rm -f core conftest.err conftest.$ac_objext \
2145 conftest$ac_exeext conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2149 $as_echo "$ac_res" >&6; }
2150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2152 } # ac_fn_c_check_func
2154 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2155 # -------------------------------------------------------
2156 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2157 # the include files in INCLUDES and setting the cache variable VAR
2159 ac_fn_c_check_header_mongrel ()
2161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2162 if eval \${$3+:} false; then :
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2164 $as_echo_n "checking for $2... " >&6; }
2165 if eval \${$3+:} false; then :
2166 $as_echo_n "(cached) " >&6
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2170 $as_echo "$ac_res" >&6; }
2172 # Is the header compilable?
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2174 $as_echo_n "checking $2 usability... " >&6; }
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2180 if ac_fn_c_try_compile "$LINENO"; then :
2181 ac_header_compiler=yes
2183 ac_header_compiler=no
2185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2187 $as_echo "$ac_header_compiler" >&6; }
2189 # Is the header present?
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2191 $as_echo_n "checking $2 presence... " >&6; }
2192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h. */
2196 if ac_fn_c_try_cpp "$LINENO"; then :
2197 ac_header_preproc=yes
2199 ac_header_preproc=no
2201 rm -f conftest.err conftest.i conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2203 $as_echo "$ac_header_preproc" >&6; }
2205 # So? What about this header?
2206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2209 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2211 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2215 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2217 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2219 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2221 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2223 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2224 ( $as_echo "## ------------------------------------ ##
2225 ## Report this to chappa@washington.edu ##
2226 ## ------------------------------------ ##"
2227 ) | sed "s/^/$as_me: WARNING: /" >&2
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2231 $as_echo_n "checking for $2... " >&6; }
2232 if eval \${$3+:} false; then :
2233 $as_echo_n "(cached) " >&6
2235 eval "$3=\$ac_header_compiler"
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239 $as_echo "$ac_res" >&6; }
2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243 } # ac_fn_c_check_header_mongrel
2245 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2246 # -------------------------------------------
2247 # Tests whether TYPE exists after having included INCLUDES, setting cache
2248 # variable VAR accordingly.
2249 ac_fn_c_check_type ()
2251 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2253 $as_echo_n "checking for $2... " >&6; }
2254 if eval \${$3+:} false; then :
2255 $as_echo_n "(cached) " >&6
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2270 if ac_fn_c_try_compile "$LINENO"; then :
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2283 if ac_fn_c_try_compile "$LINENO"; then :
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2294 $as_echo "$ac_res" >&6; }
2295 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2297 } # ac_fn_c_check_type
2299 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2300 # --------------------------------------------
2301 # Tries to find the compile-time value of EXPR in a program that includes
2302 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2304 ac_fn_c_compute_int ()
2306 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2307 if test "$cross_compiling" = yes; then
2308 # Depending upon the size, compute the lo and hi bounds.
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2315 static int test_array [1 - 2 * !(($2) >= 0)];
2317 return test_array [0];
2323 if ac_fn_c_try_compile "$LINENO"; then :
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2332 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2334 return test_array [0];
2340 if ac_fn_c_try_compile "$LINENO"; then :
2341 ac_hi=$ac_mid; break
2343 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2344 if test $ac_lo -le $ac_mid; then
2348 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2359 static int test_array [1 - 2 * !(($2) < 0)];
2361 return test_array [0];
2367 if ac_fn_c_try_compile "$LINENO"; then :
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2376 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2378 return test_array [0];
2384 if ac_fn_c_try_compile "$LINENO"; then :
2385 ac_lo=$ac_mid; break
2387 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2388 if test $ac_mid -le $ac_hi; then
2392 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402 # Binary search between lo and hi bounds.
2403 while test "x$ac_lo" != "x$ac_hi"; do
2404 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2406 /* end confdefs.h. */
2411 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2413 return test_array [0];
2419 if ac_fn_c_try_compile "$LINENO"; then :
2422 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2427 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2432 /* end confdefs.h. */
2434 static long int longval () { return $2; }
2435 static unsigned long int ulongval () { return $2; }
2442 FILE *f = fopen ("conftest.val", "w");
2447 long int i = longval ();
2450 fprintf (f, "%ld", i);
2454 unsigned long int i = ulongval ();
2457 fprintf (f, "%lu", i);
2459 /* Do not output a trailing newline, as this causes \r\n confusion
2460 on some platforms. */
2461 return ferror (f) || fclose (f) != 0;
2467 if ac_fn_c_try_run "$LINENO"; then :
2468 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2473 conftest.$ac_objext conftest.beam conftest.$ac_ext
2477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2478 as_fn_set_status $ac_retval
2480 } # ac_fn_c_compute_int
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2485 It was created by alpine $as_me 2.26, which was
2486 generated by GNU Autoconf 2.69. Invocation command line was
2498 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2499 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2500 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2501 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2502 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2504 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2505 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2507 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2508 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2509 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2510 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2511 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2512 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2513 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2546 ac_must_keep_next=false
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2557 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2575 -* ) ac_must_keep_next=true ;;
2578 as_fn_append ac_configure_args " '$ac_arg'"
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2596 $as_echo "## ---------------- ##
2597 ## Cache variables. ##
2598 ## ---------------- ##"
2600 # The following way of writing the cache mishandles newlines in values,
2602 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2603 eval ac_val=\$$ac_var
2607 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2608 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 _ | IFS | as_nl) ;; #(
2612 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2613 *) { eval $ac_var=; unset $ac_var;} ;;
2618 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2619 *${as_nl}ac_space=\ *)
2621 "s/'\''/'\''\\\\'\'''\''/g;
2622 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2632 $as_echo "## ----------------- ##
2633 ## Output variables. ##
2634 ## ----------------- ##"
2636 for ac_var in $ac_subst_vars
2638 eval ac_val=\$$ac_var
2640 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2642 $as_echo "$ac_var='\''$ac_val'\''"
2646 if test -n "$ac_subst_files"; then
2647 $as_echo "## ------------------- ##
2648 ## File substitutions. ##
2649 ## ------------------- ##"
2651 for ac_var in $ac_subst_files
2653 eval ac_val=\$$ac_var
2655 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2657 $as_echo "$ac_var='\''$ac_val'\''"
2662 if test -s confdefs.h; then
2663 $as_echo "## ----------- ##
2670 test "$ac_signal" != 0 &&
2671 $as_echo "$as_me: caught signal $ac_signal"
2672 $as_echo "$as_me: exit $exit_status"
2674 rm -f core *.core core.conftest.* &&
2675 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2678 for ac_signal in 1 2 13 15; do
2679 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2683 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2684 rm -f -r conftest* confdefs.h
2686 $as_echo "/* confdefs.h */" > confdefs.h
2688 # Predefined preprocessor variables.
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_NAME "$PACKAGE_NAME"
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_STRING "$PACKAGE_STRING"
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_URL "$PACKAGE_URL"
2715 # Let the site file select an alternate cache file if it wants to.
2716 # Prefer an explicitly selected file to automatically selected ones.
2719 if test -n "$CONFIG_SITE"; then
2720 # We do not want a PATH search for config.site.
2721 case $CONFIG_SITE in #((
2722 -*) ac_site_file1=./$CONFIG_SITE;;
2723 */*) ac_site_file1=$CONFIG_SITE;;
2724 *) ac_site_file1=./$CONFIG_SITE;;
2726 elif test "x$prefix" != xNONE; then
2727 ac_site_file1=$prefix/share/config.site
2728 ac_site_file2=$prefix/etc/config.site
2730 ac_site_file1=$ac_default_prefix/share/config.site
2731 ac_site_file2=$ac_default_prefix/etc/config.site
2733 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2735 test "x$ac_site_file" = xNONE && continue
2736 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2738 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2739 sed 's/^/| /' "$ac_site_file" >&5
2741 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2743 as_fn_error $? "failed to load site
script $ac_site_file
2744 See \
`config.log' for more details" "$LINENO" 5; }
2748 if test -r "$cache_file"; then
2749 # Some versions of bash will fail to source /dev/null (special files
2750 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2751 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2753 $as_echo "$as_me: loading cache $cache_file" >&6;}
2755 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2756 *) . "./$cache_file";;
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2761 $as_echo "$as_me: creating cache $cache_file" >&6;}
2765 gt_needs="$gt_needs "
2766 # Check that the precious variables saved in the cache have kept the same
2768 ac_cache_corrupted=false
2769 for ac_var in $ac_precious_vars; do
2770 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2771 eval ac_new_set=\$ac_env_${ac_var}_set
2772 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2773 eval ac_new_val=\$ac_env_${ac_var}_value
2774 case $ac_old_set,$ac_new_set in
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2777 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2778 ac_cache_corrupted=: ;;
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2781 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2782 ac_cache_corrupted=: ;;
2785 if test "x$ac_old_val" != "x$ac_new_val"; then
2786 # differences in whitespace do not lead to failure.
2787 ac_old_val_w=`echo x
$ac_old_val`
2788 ac_new_val_w=`echo x
$ac_new_val`
2789 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2791 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2792 ac_cache_corrupted=:
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2795 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2796 eval $ac_var=\$ac_old_val
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2799 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2801 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2804 # Pass precious variables to config.status.
2805 if test "$ac_new_set" = set; then
2807 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2808 *) ac_arg=$ac_var=$ac_new_val ;;
2810 case " $ac_configure_args " in
2811 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2812 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2816 if $ac_cache_corrupted; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2820 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2821 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2823 ## -------------------- ##
2824 ## Main body of script. ##
2825 ## -------------------- ##
2828 ac_cpp='$CPP $CPPFLAGS'
2829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 ac_config_headers="$ac_config_headers include/config.h"
2839 am__api_version='1.15'
2842 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2843 if test -f "$ac_dir/install-sh"; then
2845 ac_install_sh="$ac_aux_dir/install-sh -c"
2847 elif test -f "$ac_dir/install.sh"; then
2849 ac_install_sh="$ac_aux_dir/install.sh -c"
2851 elif test -f "$ac_dir/shtool"; then
2853 ac_install_sh="$ac_aux_dir/shtool install -c"
2857 if test -z "$ac_aux_dir"; then
2858 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2861 # These three variables are undocumented and unsupported,
2862 # and are intended to be withdrawn in a future Autoconf release.
2863 # They can cause serious problems if a builder's source tree is in a directory
2864 # whose full name contains unusual characters.
2865 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2866 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2867 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2870 # Find a good install program. We prefer a C program (faster),
2871 # so one script is as good as another. But avoid the broken or
2872 # incompatible versions:
2873 # SysV /etc/install, /usr/sbin/install
2874 # SunOS /usr/etc/install
2875 # IRIX /sbin/install
2877 # AmigaOS /C/install, which installs bootblocks on floppy discs
2878 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2879 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2880 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2881 # OS/2's system install, which has a completely different semantic
2882 # ./install, which can be erroneously created by make from ./install.sh.
2883 # Reject install programs that cannot install multiple files.
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2885 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2886 if test -z "$INSTALL"; then
2887 if ${ac_cv_path_install+:} false; then :
2888 $as_echo_n "(cached) " >&6
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 # Account for people who put trailing slashes in PATH elements.
2896 case $as_dir/ in #((
2897 ./ | .// | /[cC]/* | \
2898 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2899 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2902 # OSF1 and SCO ODT 3.0 have their own names for install.
2903 # Don't use installbsd from OSF since it installs stuff as root
2905 for ac_prog in ginstall scoinst install; do
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2908 if test $ac_prog = install &&
2909 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2910 # AIX install. It has an incompatible calling convention.
2912 elif test $ac_prog = install &&
2913 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2914 # program-specific install script used by HP pwplus--don't use.
2917 rm -rf conftest.one conftest.two conftest.dir
2918 echo one > conftest.one
2919 echo two > conftest.two
2921 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2922 test -s conftest.one && test -s conftest.two &&
2923 test -s conftest.dir/conftest.one &&
2924 test -s conftest.dir/conftest.two
2926 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2939 rm -rf conftest.one conftest.two conftest.dir
2942 if test "${ac_cv_path_install+set}" = set; then
2943 INSTALL=$ac_cv_path_install
2945 # As a last resort, use the slow shell script. Don't cache a
2946 # value for INSTALL within a source directory, because that will
2947 # break other packages using the cache if that directory is
2948 # removed, or if the value is a relative name.
2949 INSTALL=$ac_install_sh
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2953 $as_echo "$INSTALL" >&6; }
2955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2956 # It thinks the first close brace ends the variable substitution.
2957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2961 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2964 $as_echo_n "checking whether build environment is sane... " >&6; }
2965 # Reject unsafe characters in $srcdir or the absolute working directory
2966 # name. Accept space and tab only in the latter.
2970 *[\\\"\#\$\&\'\`$am_lf]*)
2971 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2974 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2975 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2978 # Do 'set' in a subshell so we don't clobber the current shell's
2979 # arguments. Must try -L first in case configure is actually a
2980 # symlink; some systems play weird games with the mod time of symlinks
2981 # (eg FreeBSD returns the mod time of the symlink's containing
2985 for am_try
in 1 2; do
2986 echo "timestamp, slept: $am_has_slept" > conftest.
file
2987 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2988 if test "$*" = "X"; then
2990 set X
`ls -t "$srcdir/configure" conftest.file`
2992 if test "$*" != "X $srcdir/configure conftest.file" \
2993 && test "$*" != "X conftest.file $srcdir/configure"; then
2995 # If neither matched, then we have a broken ls. This can happen
2996 # if, for instance, CONFIG_SHELL is bash and it inherits a
2997 # broken ls alias from the environment. This has actually
2998 # happened. Such a system could not be considered "sane".
2999 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3000 alias in your environment" "$LINENO" 5
3002 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3009 test "$2" = conftest.
file
3015 as_fn_error $?
"newly created file is older than distributed files!
3016 Check your system clock" "$LINENO" 5
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3019 $as_echo "yes" >&6; }
3020 # If we didn't sleep, we still need to ensure time stamps of config.status and
3021 # generated files are strictly newer.
3023 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3030 test "$program_prefix" != NONE
&&
3031 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3032 # Use a double $ so make ignores it.
3033 test "$program_suffix" != NONE
&&
3034 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3035 # Double any \ or $.
3036 # By default was `s,x,x', remove it if useless.
3037 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3038 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3040 # Expand $ac_aux_dir to an absolute path.
3041 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3043 if test x
"${MISSING+set}" != xset
; then
3046 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3048 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3051 # Use eval to expand $SHELL
3052 if eval "$MISSING --is-lightweight"; then
3053 am_missing_run
="$MISSING "
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3057 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3060 if test x
"${install_sh+set}" != xset
; then
3063 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3065 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3069 # Installed binaries are usually stripped using 'strip' when the user
3070 # run "make install-strip". However 'strip' might not be the right
3071 # tool to use in cross-compilation environments, therefore Automake
3072 # will honor the 'STRIP' environment variable to overrule this program.
3073 if test "$cross_compiling" != no
; then
3074 if test -n "$ac_tool_prefix"; then
3075 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3076 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078 $as_echo_n "checking for $ac_word... " >&6; }
3079 if ${ac_cv_prog_STRIP+:} false
; then :
3080 $as_echo_n "(cached) " >&6
3082 if test -n "$STRIP"; then
3083 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3089 test -z "$as_dir" && as_dir
=.
3090 for ac_exec_ext
in '' $ac_executable_extensions; do
3091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3092 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 STRIP
=$ac_cv_prog_STRIP
3103 if test -n "$STRIP"; then
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3105 $as_echo "$STRIP" >&6; }
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108 $as_echo "no" >&6; }
3113 if test -z "$ac_cv_prog_STRIP"; then
3115 # Extract the first word of "strip", so it can be a program name with args.
3116 set dummy strip
; ac_word
=$2
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3118 $as_echo_n "checking for $ac_word... " >&6; }
3119 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3120 $as_echo_n "(cached) " >&6
3122 if test -n "$ac_ct_STRIP"; then
3123 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir
=.
3130 for ac_exec_ext
in '' $ac_executable_extensions; do
3131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3132 ac_cv_prog_ac_ct_STRIP
="strip"
3133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3143 if test -n "$ac_ct_STRIP"; then
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3145 $as_echo "$ac_ct_STRIP" >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3148 $as_echo "no" >&6; }
3151 if test "x$ac_ct_STRIP" = x
; then
3154 case $cross_compiling:$ac_tool_warned in
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3158 ac_tool_warned
=yes ;;
3163 STRIP
="$ac_cv_prog_STRIP"
3167 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3170 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3171 if test -z "$MKDIR_P"; then
3172 if ${ac_cv_path_mkdir+:} false
; then :
3173 $as_echo_n "(cached) " >&6
3175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3176 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3179 test -z "$as_dir" && as_dir
=.
3180 for ac_prog
in mkdir gmkdir
; do
3181 for ac_exec_ext
in '' $ac_executable_extensions; do
3182 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3183 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3184 'mkdir (GNU coreutils) '* | \
3185 'mkdir (coreutils) '* | \
3186 'mkdir (fileutils) '4.1*)
3187 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3197 test -d .
/--version && rmdir .
/--version
3198 if test "${ac_cv_path_mkdir+set}" = set; then
3199 MKDIR_P
="$ac_cv_path_mkdir -p"
3201 # As a last resort, use the slow shell script. Don't cache a
3202 # value for MKDIR_P within a source directory, because that will
3203 # break other packages using the cache if that directory is
3204 # removed, or if the value is a relative name.
3205 MKDIR_P
="$ac_install_sh -d"
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3209 $as_echo "$MKDIR_P" >&6; }
3211 for ac_prog
in gawk mawk nawk
awk
3213 # Extract the first word of "$ac_prog", so it can be a program name with args.
3214 set dummy
$ac_prog; ac_word
=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if ${ac_cv_prog_AWK+:} false
; then :
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$AWK"; then
3221 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3230 ac_cv_prog_AWK
="$ac_prog"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 if test -n "$AWK"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3243 $as_echo "$AWK" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3250 test -n "$AWK" && break
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3254 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3256 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3257 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3258 $as_echo_n "(cached) " >&6
3260 cat >conftest.
make <<\_ACEOF
3263 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3265 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3268 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3270 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3274 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3276 $as_echo "yes" >&6; }
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3281 SET_MAKE
="MAKE=${MAKE-make}"
3284 rm -rf .tst
2>/dev
/null
3285 mkdir .tst
2>/dev
/null
3286 if test -d .tst
; then
3291 rmdir .tst
2>/dev
/null
3293 # Check whether --enable-silent-rules was given.
3294 if test "${enable_silent_rules+set}" = set; then :
3295 enableval
=$enable_silent_rules;
3298 case $enable_silent_rules in # (((
3299 yes) AM_DEFAULT_VERBOSITY
=0;;
3300 no
) AM_DEFAULT_VERBOSITY
=1;;
3301 *) AM_DEFAULT_VERBOSITY
=1;;
3303 am_make
=${MAKE-make}
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3305 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3306 if ${am_cv_make_support_nested_variables+:} false
; then :
3307 $as_echo_n "(cached) " >&6
3309 if $as_echo 'TRUE=$(BAR$(V))
3315 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3316 am_cv_make_support_nested_variables
=yes
3318 am_cv_make_support_nested_variables
=no
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3322 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3323 if test $am_cv_make_support_nested_variables = yes; then
3325 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3327 AM_V
=$AM_DEFAULT_VERBOSITY
3328 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3332 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3333 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3334 # is not polluted with repeated "-I."
3335 am__isrc
=' -I$(srcdir)'
3336 # test to see if srcdir already configured
3337 if test -f $srcdir/config.status
; then
3338 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3342 # test whether we have cygpath
3343 if test -z "$CYGPATH_W"; then
3344 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3345 CYGPATH_W
='cygpath -w'
3352 # Define the identity of the package.
3357 cat >>confdefs.h
<<_ACEOF
3358 #define PACKAGE "$PACKAGE"
3362 cat >>confdefs.h
<<_ACEOF
3363 #define VERSION "$VERSION"
3366 # Some tools Automake needs.
3368 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3371 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3374 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3377 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3380 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3382 # For better backward compatibility. To be removed once Automake 1.9.x
3383 # dies out for good. For more background, see:
3384 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3385 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3386 mkdir_p
='$(MKDIR_P)'
3388 # We need awk for the "check" target (and possibly the TAP driver). The
3389 # system "awk" is bad on some platforms.
3390 # Always define AMTAR for backward compatibility. Yes, it's still used
3391 # in the wild :-( We should find a proper way to deprecate it ...
3395 # We'll loop over all known methods to create a tar archive until one works.
3396 _am_tools
='gnutar pax cpio none'
3398 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3405 # POSIX will say in a future version that running "rm -f" with no argument
3406 # is OK; and we want to be able to make that assumption in our Makefile
3407 # recipes. So use an aggressive probe to check that the usage we want is
3408 # actually supported "in the wild" to an acceptable degree.
3409 # See automake bug#10828.
3410 # To make any issue more visible, cause the running configure to be aborted
3411 # by default if the 'rm' program in use doesn't match our expectations; the
3412 # user can still override this though.
3413 if rm -f && rm -fr && rm -rf; then : OK
; else
3417 Your 'rm' program seems unable to run without file operands specified
3418 on the command line, even when the '-f' option is present. This is contrary
3419 to the behaviour of most rm programs out there, and not conforming with
3420 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3422 Please tell bug-automake@gnu.org about your system, including the value
3423 of your $PATH and any error possibly output before this message. This
3424 can help us improve future automake versions.
3427 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3428 echo 'Configuration will proceed anyway, since you have set the' >&2
3429 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3433 Aborting the configuration process, to ensure you take notice of the issue.
3435 You can download and install GNU coreutils to get an 'rm' implementation
3436 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3438 If you want to complete the configuration process using your problematic
3439 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3440 to "yes", and re-run configure.
3443 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3450 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3451 # Check whether --enable-maintainer-mode was given.
3452 if test "${enable_maintainer_mode+set}" = set; then :
3453 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3455 USE_MAINTAINER_MODE
=no
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3459 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3460 if test $USE_MAINTAINER_MODE = yes; then
3461 MAINTAINER_MODE_TRUE
=
3462 MAINTAINER_MODE_FALSE
='#'
3464 MAINTAINER_MODE_TRUE
='#'
3465 MAINTAINER_MODE_FALSE
=
3468 MAINT
=$MAINTAINER_MODE_TRUE
3472 # Make sure we can run config.sub.
3473 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3474 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3477 $as_echo_n "checking build system type... " >&6; }
3478 if ${ac_cv_build+:} false
; then :
3479 $as_echo_n "(cached) " >&6
3481 ac_build_alias
=$build_alias
3482 test "x$ac_build_alias" = x
&&
3483 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3484 test "x$ac_build_alias" = x
&&
3485 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3486 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3487 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3491 $as_echo "$ac_cv_build" >&6; }
3492 case $ac_cv_build in
3494 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3497 ac_save_IFS
=$IFS; IFS
='-'
3503 # Remember, the first character of IFS is used to create $*,
3504 # except with old shells:
3507 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3511 $as_echo_n "checking host system type... " >&6; }
3512 if ${ac_cv_host+:} false
; then :
3513 $as_echo_n "(cached) " >&6
3515 if test "x$host_alias" = x
; then
3516 ac_cv_host
=$ac_cv_build
3518 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3519 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3524 $as_echo "$ac_cv_host" >&6; }
3527 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3530 ac_save_IFS
=$IFS; IFS
='-'
3536 # Remember, the first character of IFS is used to create $*,
3537 # except with old shells:
3540 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3545 ac_cpp
='$CPP $CPPFLAGS'
3546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3552 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3554 # start out with intent to build Web Alpine
3555 WEB_BUILD
=web
/src
/alpined.d
3559 ac_cpp
='$CPP $CPPFLAGS'
3560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if ${ac_cv_prog_CC+:} false
; then :
3569 $as_echo_n "(cached) " >&6
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC
="$CC" # Let the user override the test.
3574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3578 test -z "$as_dir" && as_dir
=.
3579 for ac_exec_ext
in '' $ac_executable_extensions; do
3580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc
; ac_word
=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3609 $as_echo_n "(cached) " >&6
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir
=.
3619 for ac_exec_ext
in '' $ac_executable_extensions; do
3620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_ac_ct_CC
="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x
; then
3643 case $cross_compiling:$ac_tool_warned in
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned
=yes ;;
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if ${ac_cv_prog_CC+:} false
; then :
3662 $as_echo_n "(cached) " >&6
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC
="$CC" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc
; ac_word
=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false
; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC
="$CC" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected
=yes
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy
$ac_cv_prog_CC
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3736 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog
in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if ${ac_cv_prog_CC+:} false
; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC
="$CC" # Let the user override the test.
3766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir
=.
3771 for ac_exec_ext
in '' $ac_executable_extensions; do
3772 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3796 if test -z "$CC"; then
3798 for ac_prog
in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy
$ac_prog; ac_word
=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3805 $as_echo_n "(cached) " >&6
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3814 test -z "$as_dir" && as_dir
=.
3815 for ac_exec_ext
in '' $ac_executable_extensions; do
3816 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3817 ac_cv_prog_ac_ct_CC
="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3840 if test "x$ac_ct_CC" = x
; then
3843 case $cross_compiling:$ac_tool_warned in
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned
=yes ;;
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $?
"no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details" "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3865 for ac_option
in --version -v -V -qversion; do
3866 { { ac_try
="$ac_compiler $ac_option >&5"
3868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3875 if test -s conftest.err; then
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3881 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3897 ac_clean_files_save=$ac_clean_files
3898 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3899 # Try to create an executable without -o first, disregard a.out.
3900 # It will help us diagnose broken compilers, and finding out an intuition
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3903 $as_echo_n "checking whether the C compiler works... " >&6; }
3904 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3906 # The possible output files:
3907 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3910 for ac_file in $ac_files
3913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3914 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3919 if { { ac_try="$ac_link_default"
3921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3922 *) ac_try_echo
=$ac_try;;
3924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926 (eval "$ac_link_default") 2>&5
3928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929 test $ac_status = 0; }; then :
3930 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3931 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3932 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3933 # so that the user can short-circuit this test for compilers unknown to
3935 for ac_file
in $ac_files ''
3937 test -f "$ac_file" ||
continue
3939 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3942 # We found the default executable, but exeext='' is most
3946 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3948 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3950 # We set ac_cv_exeext here because the later test for it is not
3951 # safe: cross compilers may not add the suffix if given an `-o'
3952 # argument, so we may need to know it at that point already.
3953 # Even if this section looks crufty: it has the advantage of
3960 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3965 if test -z "$ac_file"; then :
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 $as_echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.
$ac_ext >&5
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error
77 "C compiler cannot create executables
3974 See \`config.log' for more details" "$LINENO" 5; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3977 $as_echo "yes" >&6; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3980 $as_echo_n "checking for C compiler default output file name... " >&6; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3982 $as_echo "$ac_file" >&6; }
3983 ac_exeext
=$ac_cv_exeext
3985 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3986 ac_clean_files
=$ac_clean_files_save
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3988 $as_echo_n "checking for suffix of executables... " >&6; }
3989 if { { ac_try
="$ac_link"
3991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_link") 2>&5
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; then :
4000 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4001 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4002 # work properly (i.e., refer to `conftest.exe'), while it won't with
4004 for ac_file
in conftest.exe conftest conftest.
*; do
4005 test -f "$ac_file" ||
continue
4007 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4008 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4017 See \`config.log' for more details" "$LINENO" 5; }
4019 rm -f conftest conftest
$ac_cv_exeext
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4021 $as_echo "$ac_cv_exeext" >&6; }
4023 rm -f conftest.
$ac_ext
4024 EXEEXT
=$ac_cv_exeext
4026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4032 FILE *f = fopen ("conftest.out", "w");
4033 return ferror (f) || fclose (f) != 0;
4039 ac_clean_files
="$ac_clean_files conftest.out"
4040 # Check that the compiler produces executables we can run. If not, either
4041 # the compiler is broken, or we cross compile.
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4043 $as_echo_n "checking whether we are cross compiling... " >&6; }
4044 if test "$cross_compiling" != yes; then
4045 { { ac_try
="$ac_link"
4047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link") 2>&5
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }
4056 if { ac_try='./conftest$ac_cv_exeext'
4057 { { case "(($ac_try" in
4058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4059 *) ac_try_echo
=$ac_try;;
4061 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_try") 2>&5
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; }; then
4069 if test "$cross_compiling" = maybe
; then
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error $?
"cannot run C compiled programs.
4075 If you meant to cross compile, use \`--host'.
4076 See \`config.log' for more details" "$LINENO" 5; }
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4081 $as_echo "$cross_compiling" >&6; }
4083 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4084 ac_clean_files
=$ac_clean_files_save
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4086 $as_echo_n "checking for suffix of object files... " >&6; }
4087 if ${ac_cv_objext+:} false
; then :
4088 $as_echo_n "(cached) " >&6
4090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4101 rm -f conftest.o conftest.obj
4102 if { { ac_try
="$ac_compile"
4104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_compile") 2>&5
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }; then :
4113 for ac_file in conftest.o conftest.obj conftest.*; do
4114 test -f "$ac_file" || continue;
4116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4117 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 $as_echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4127 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4128 See \
`config.log' for more details" "$LINENO" 5; }
4130 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4133 $as_echo "$ac_cv_objext" >&6; }
4134 OBJEXT=$ac_cv_objext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4137 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4138 if ${ac_cv_c_compiler_gnu+:} false; then :
4139 $as_echo_n "(cached) " >&6
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4165 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4166 if test $ac_compiler_gnu = yes; then
4171 ac_test_CFLAGS=${CFLAGS+set}
4172 ac_save_CFLAGS=$CFLAGS
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4174 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4175 if ${ac_cv_prog_cc_g+:} false; then :
4176 $as_echo_n "(cached) " >&6
4178 ac_save_c_werror_flag=$ac_c_werror_flag
4179 ac_c_werror_flag=yes
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4193 if ac_fn_c_try_compile "$LINENO"; then :
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4208 if ac_fn_c_try_compile "$LINENO"; then :
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4224 if ac_fn_c_try_compile "$LINENO"; then :
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 ac_c_werror_flag=$ac_save_c_werror_flag
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4235 $as_echo "$ac_cv_prog_cc_g" >&6; }
4236 if test "$ac_test_CFLAGS" = set; then
4237 CFLAGS=$ac_save_CFLAGS
4238 elif test $ac_cv_prog_cc_g = yes; then
4239 if test "$GCC" = yes; then
4245 if test "$GCC" = yes; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4252 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4253 if ${ac_cv_prog_cc_c89+:} false; then :
4254 $as_echo_n "(cached) " >&6
4256 ac_cv_prog_cc_c89=no
4258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 /* end confdefs.h. */
4263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4264 struct buf { int x; };
4265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4266 static char *e (p, i)
4272 static char *f (char * (*g) (char **, int), char **p, ...)
4277 s = g (p, va_arg (v,int));
4282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4283 function prototypes and stuff, but not '\xHH' hex character constants.
4284 These don't provoke an error unfortunately, instead are silently treated
4285 as 'x'. The following induces an error, until -std is added to get
4286 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4287 array size at least. It's necessary to write '\x00'==0 to get something
4288 that's true only with -std. */
4289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4292 inside strings and character constants. */
4294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4296 int test (int i, double x);
4297 struct s1 {int (*f) (int a);};
4298 struct s2 {int (*f) (double a);};
4299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4311 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4313 CC="$ac_save_CC $ac_arg"
4314 if ac_fn_c_try_compile "$LINENO"; then :
4315 ac_cv_prog_cc_c89=$ac_arg
4317 rm -f core conftest.err conftest.$ac_objext
4318 test "x$ac_cv_prog_cc_c89" != "xno" && break
4320 rm -f conftest.$ac_ext
4325 case "x$ac_cv_prog_cc_c89" in
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4328 $as_echo "none needed" >&6; } ;;
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4331 $as_echo "unsupported" >&6; } ;;
4333 CC="$CC $ac_cv_prog_cc_c89"
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4337 if test "x$ac_cv_prog_cc_c89" != xno; then :
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348 ac_cpp='$CPP $CPPFLAGS'
4349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4353 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4354 if ${am_cv_prog_cc_c_o+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4368 # Make sure it works both with $CC and with simple cc.
4369 # Following AC_PROG_CC_C_O, we do the test twice because some
4370 # compilers refuse to overwrite an existing .o file with -o,
4371 # though they will create one.
4372 am_cv_prog_cc_c_o=yes
4374 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4375 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); } \
4379 && test -f conftest2.$ac_objext; then
4382 am_cv_prog_cc_c_o=no
4386 rm -f core conftest*
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4390 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4391 if test "$am_cv_prog_cc_c_o" != yes; then
4392 # Losing compiler, so override with the script.
4393 # FIXME: It is wrong to rewrite CC.
4394 # But if we don't then we get into trouble of one sort or another.
4395 # A longer-term fix would be to have automake use am__CC in this case,
4396 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4397 CC="$am_aux_dir/compile $CC"
4400 ac_cpp='$CPP $CPPFLAGS'
4401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4405 DEPDIR="${am__leading_dot}deps"
4407 ac_config_commands="$ac_config_commands depfiles"
4410 am_make=${MAKE-make}
4411 cat > confinc << 'END'
4413 @echo this is the am__doit target
4416 # If we don't find an include directive, just comment out the code.
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4418 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4422 # First try GNU make style include.
4423 echo "include confinc" > confmf
4424 # Ignore all kinds of additional output from 'make'.
4425 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4426 *the\ am__doit\ target*)
4432 # Now try BSD make style include.
4433 if test "$am__include" = "#"; then
4434 echo '.include "confinc"' > confmf
4435 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4436 *the\ am__doit\ target*)
4437 am__include=.include
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4446 $as_echo "$_am_result" >&6; }
4447 rm -f confinc confmf
4449 # Check whether --enable-dependency-tracking was given.
4450 if test "${enable_dependency_tracking+set}" = set; then :
4451 enableval=$enable_dependency_tracking;
4454 if test "x$enable_dependency_tracking" != xno; then
4455 am_depcomp="$ac_aux_dir/depcomp"
4459 if test "x$enable_dependency_tracking" != xno; then
4469 depcc="$CC" am_compiler_list=
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4472 $as_echo_n "checking dependency style of $depcc... " >&6; }
4473 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4477 # We make a subdir and do the tests there. Otherwise we can end up
4478 # making bogus files that we don't know about and never remove. For
4479 # instance it was reported that on HP-UX the gcc test will end up
4480 # making a dummy file named 'D' -- because '-MD' means "put the output
4484 # Copy depcomp to subdir because otherwise we won't find it if we're
4485 # using a relative directory.
4486 cp "$am_depcomp" conftest.dir
4488 # We will build objects and dependencies in a subdirectory because
4489 # it helps to detect inapplicable dependency modes. For instance
4490 # both Tru64's cc and ICC support -MD to output dependencies as a
4491 # side effect of compilation, but ICC will put the dependencies in
4492 # the current directory while Tru64 will put them in the object
4496 am_cv_CC_dependencies_compiler_type=none
4497 if test "$am_compiler_list" = ""; then
4498 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4501 case " $depcc " in #(
4502 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4505 for depmode in $am_compiler_list; do
4506 # Setup a source with many dependencies, because some compilers
4507 # like to wrap large dependency lists on column 80 (with \), and
4508 # we should not choose a depcomp mode which is confused by this.
4510 # We need to recreate these files for each test, as the compiler may
4511 # overwrite some of them when testing with obscure command lines.
4512 # This happens at least with the AIX C compiler.
4514 for i in 1 2 3 4 5 6; do
4515 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4516 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4517 # Solaris 10 /bin/sh.
4518 echo '/* dummy */' > sub/conftst$i.h
4520 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4522 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4523 # mode. It turns out that the SunPro C++ compiler does not properly
4524 # handle '-M -o', and we need to detect this. Also, some Intel
4525 # versions had trouble with output in subdirs.
4526 am__obj=sub/conftest.${OBJEXT-o}
4527 am__minus_obj="-o $am__obj"
4530 # This depmode causes a compiler race in universal mode.
4531 test "$am__universal" = false || continue
4534 # After this tag, mechanisms are not by side-effect, so they'll
4535 # only be used when explicitly requested.
4536 if test "x$enable_dependency_tracking" = xyes; then
4542 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4543 # This compiler won't grok '-c -o', but also, the minuso test has
4544 # not run yet. These depmodes are late enough in the game, and
4545 # so weak that their functioning should not be impacted.
4546 am__obj=conftest.${OBJEXT-o}
4551 if depmode=$depmode \
4552 source=sub/conftest.c object=$am__obj \
4553 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4554 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4555 >/dev/null 2>conftest.err &&
4556 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4557 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4558 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4559 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4560 # icc doesn't choke on unknown options, it will just issue warnings
4561 # or remarks (even with -Werror). So we grep stderr for any message
4562 # that says an option was ignored or not supported.
4563 # When given -MP, icc 7.0 and 7.1 complain thusly:
4564 # icc: Command line warning: ignoring option '-M'; no argument required
4565 # The diagnosis changed in icc 8.0:
4566 # icc: Command line remark: option '-MP' not supported
4567 if (grep 'ignoring option' conftest.err ||
4568 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4569 am_cv_CC_dependencies_compiler_type=$depmode
4578 am_cv_CC_dependencies_compiler_type=none
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4583 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4584 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4587 test "x$enable_dependency_tracking" != xno \
4588 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4590 am__fastdepCC_FALSE='#'
4592 am__fastdepCC_TRUE='#'
4593 am__fastdepCC_FALSE=
4598 ac_cpp='$CPP $CPPFLAGS'
4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4603 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4604 # On Suns, sometimes $CPP names a directory.
4605 if test -n "$CPP" && test -d "$CPP"; then
4608 if test -z "$CPP"; then
4609 if ${ac_cv_prog_CPP+:} false; then :
4610 $as_echo_n "(cached) " >&6
4612 # Double quotes because CPP needs to be expanded
4613 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4616 for ac_c_preproc_warn_flag in '' yes
4618 # Use a header file that comes with gcc, so configuring glibc
4619 # with a fresh cross-compiler works.
4620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4621 # <limits.h> exists even on freestanding compilers.
4622 # On the NeXT, cc -E runs the code through the compiler's parser,
4623 # not just through cpp. "Syntax error" is here to catch this case.
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4627 # include <limits.h>
4629 # include <assert.h>
4633 if ac_fn_c_try_cpp "$LINENO"; then :
4636 # Broken: fails on valid input.
4639 rm -f conftest.err conftest.i conftest.$ac_ext
4641 # OK, works on sane cases. Now check whether nonexistent headers
4642 # can be detected and how.
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4645 #include <ac_nonexistent.h>
4647 if ac_fn_c_try_cpp "$LINENO"; then :
4648 # Broken: success on invalid input.
4651 # Passes both tests.
4655 rm -f conftest.err conftest.i conftest.$ac_ext
4658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4659 rm -f conftest.i conftest.err conftest.
$ac_ext
4660 if $ac_preproc_ok; then :
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4673 $as_echo "$CPP" >&6; }
4675 for ac_c_preproc_warn_flag
in '' yes
4677 # Use a header file that comes with gcc, so configuring glibc
4678 # with a fresh cross-compiler works.
4679 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4680 # <limits.h> exists even on freestanding compilers.
4681 # On the NeXT, cc -E runs the code through the compiler's parser,
4682 # not just through cpp. "Syntax error" is here to catch this case.
4683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4686 # include <limits.h>
4688 # include <assert.h>
4692 if ac_fn_c_try_cpp
"$LINENO"; then :
4695 # Broken: fails on valid input.
4698 rm -f conftest.err conftest.i conftest.
$ac_ext
4700 # OK, works on sane cases. Now check whether nonexistent headers
4701 # can be detected and how.
4702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4704 #include <ac_nonexistent.h>
4706 if ac_fn_c_try_cpp
"$LINENO"; then :
4707 # Broken: success on invalid input.
4710 # Passes both tests.
4714 rm -f conftest.err conftest.i conftest.
$ac_ext
4717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4718 rm -f conftest.i conftest.err conftest.
$ac_ext
4719 if $ac_preproc_ok; then :
4722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4724 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4725 See \`config.log' for more details" "$LINENO" 5; }
4729 ac_cpp
='$CPP $CPPFLAGS'
4730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4736 cross_compiling_build
=no
4738 ac_build_tool_prefix
=
4739 if test -n "$build"; then :
4740 ac_build_tool_prefix
="$build-"
4741 elif test -n "$build_alias"; then :
4742 ac_build_tool_prefix
="$build_alias-"
4746 ac_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4747 ac_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4748 ac_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu
=$ac_cv_build_c_compiler_gnu
4752 was_set_ac_cv_c_compiler_gnu
=${ac_cv_c_compiler_gnu+y}
4753 if test ${was_set_ac_cv_c_compiler_gnu}; then :
4754 saved_ac_cv_c_compiler_gnu
=$ac_cv_c_compiler_gnu
4755 { ac_cv_c_compiler_gnu
=; unset ac_cv_c_compiler_gnu
;}
4759 ac_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4760 ac_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4761 ac_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
4762 ac_compiler_gnu
=$ac_cv_build_c_compiler_gnu
4763 if test -n "$ac_build_tool_prefix"; then
4764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4765 set dummy
${ac_build_tool_prefix}gcc
; ac_word
=$2
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767 $as_echo_n "checking for $ac_word... " >&6; }
4768 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4769 $as_echo_n "(cached) " >&6
4771 if test -n "$CC_FOR_BUILD"; then
4772 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4778 test -z "$as_dir" && as_dir
=.
4779 for ac_exec_ext
in '' $ac_executable_extensions; do
4780 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4781 ac_cv_prog_CC_FOR_BUILD
="${ac_build_tool_prefix}gcc"
4782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4792 if test -n "$CC_FOR_BUILD"; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4794 $as_echo "$CC_FOR_BUILD" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4802 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
4803 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4804 # Extract the first word of "gcc", so it can be a program name with args.
4805 set dummy gcc
; ac_word
=$2
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807 $as_echo_n "checking for $ac_word... " >&6; }
4808 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4809 $as_echo_n "(cached) " >&6
4811 if test -n "$ac_ct_CC_FOR_BUILD"; then
4812 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4818 test -z "$as_dir" && as_dir
=.
4819 for ac_exec_ext
in '' $ac_executable_extensions; do
4820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4821 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
4822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4832 if test -n "$ac_ct_CC_FOR_BUILD"; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4834 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837 $as_echo "no" >&6; }
4840 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
4843 case $cross_compiling_build:$ac_tool_warned in
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
4846 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
4847 ac_tool_warned
=yes ;;
4849 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
4852 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
4855 if test -z "$CC_FOR_BUILD"; then
4856 if test -n "$ac_build_tool_prefix"; then
4857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4858 set dummy
${ac_build_tool_prefix}cc
; ac_word
=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$CC_FOR_BUILD"; then
4865 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_exec_ext
in '' $ac_executable_extensions; do
4873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4874 ac_cv_prog_CC_FOR_BUILD
="${ac_build_tool_prefix}cc"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4885 if test -n "$CC_FOR_BUILD"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4887 $as_echo "$CC_FOR_BUILD" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4896 if test -z "$CC_FOR_BUILD"; then
4897 # Extract the first word of "cc", so it can be a program name with args.
4898 set dummy cc
; ac_word
=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4902 $as_echo_n "(cached) " >&6
4904 if test -n "$CC_FOR_BUILD"; then
4905 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4912 test -z "$as_dir" && as_dir
=.
4913 for ac_exec_ext
in '' $ac_executable_extensions; do
4914 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4915 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4916 ac_prog_rejected
=yes
4919 ac_cv_prog_CC_FOR_BUILD
="cc"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 if test $ac_prog_rejected = yes; then
4928 # We found a bogon in the path, so make sure we never use it.
4929 set dummy
$ac_cv_prog_CC_FOR_BUILD
4931 if test $# != 0; then
4932 # We chose a different compiler from the bogus one.
4933 # However, it has the same basename, so the bogon will be chosen
4934 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
4936 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
4941 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4942 if test -n "$CC_FOR_BUILD"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4944 $as_echo "$CC_FOR_BUILD" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4952 if test -z "$CC_FOR_BUILD"; then
4953 if test -n "$ac_build_tool_prefix"; then
4954 for ac_prog
in cl.exe
4956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4957 set dummy
$ac_build_tool_prefix$ac_prog; ac_word
=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -n "$CC_FOR_BUILD"; then
4964 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir
=.
4971 for ac_exec_ext
in '' $ac_executable_extensions; do
4972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_CC_FOR_BUILD
="$ac_build_tool_prefix$ac_prog"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4984 if test -n "$CC_FOR_BUILD"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4986 $as_echo "$CC_FOR_BUILD" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 test -n "$CC_FOR_BUILD" && break
4996 if test -z "$CC_FOR_BUILD"; then
4997 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4998 for ac_prog
in cl.exe
5000 # Extract the first word of "$ac_prog", so it can be a program name with args.
5001 set dummy
$ac_prog; ac_word
=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$ac_ct_CC_FOR_BUILD"; then
5008 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5017 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
5028 if test -n "$ac_ct_CC_FOR_BUILD"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
5030 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5037 test -n "$ac_ct_CC_FOR_BUILD" && break
5040 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
5043 case $cross_compiling_build:$ac_tool_warned in
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
5046 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
5047 ac_tool_warned
=yes ;;
5049 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
5056 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5058 as_fn_error $?
"no acceptable C compiler found in \$PATH
5059 See \`config.log' for more details" "$LINENO" 5; }
5061 # Provide some information about the compiler.
5062 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5065 for ac_option
in --version -v -V -qversion; do
5066 { { ac_try
="$ac_compiler $ac_option >&5"
5068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5069 *) ac_try_echo=$ac_try;;
5071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5072 $as_echo "$ac_try_echo"; } >&5
5073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5075 if test -s conftest.err; then
5077 ... rest of stderr output deleted ...
5078 10q' conftest.err >conftest.er1
5079 cat conftest.er1 >&5
5081 rm -f conftest.er1 conftest.err
5082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5083 test $ac_status = 0; }
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5087 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5088 if ${ac_cv_c_compiler_gnu+:} false; then :
5089 $as_echo_n "(cached) " >&6
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5105 if ac_fn_c_try_compile "$LINENO"; then :
5110 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5111 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5115 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5116 if test $ac_compiler_gnu = yes; then
5121 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
5122 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
5124 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
5125 if ${ac_cv_build_prog_cc_g+:} false; then :
5126 $as_echo_n "(cached) " >&6
5128 ac_save_c_werror_flag=$ac_c_werror_flag
5129 ac_c_werror_flag=yes
5130 ac_cv_build_prog_cc_g=no
5131 CFLAGS_FOR_BUILD="-g"
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5143 if ac_fn_c_try_compile "$LINENO"; then :
5144 ac_cv_build_prog_cc_g=yes
5147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5148 /* end confdefs.h. */
5158 if ac_fn_c_try_compile "$LINENO"; then :
5161 ac_c_werror_flag=$ac_save_c_werror_flag
5162 CFLAGS_FOR_BUILD="-g"
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5174 if ac_fn_c_try_compile "$LINENO"; then :
5175 ac_cv_build_prog_cc_g=yes
5177 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5179 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5181 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5182 ac_c_werror_flag=$ac_save_c_werror_flag
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5185 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5186 if test "$ac_test_CFLAGS" = set; then
5187 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5188 elif test $ac_cv_build_prog_cc_g = yes; then
5189 if test "$GCC_FOR_BUILD" = yes; then
5190 CFLAGS_FOR_BUILD="-g -O2"
5192 CFLAGS_FOR_BUILD="-g"
5195 if test "$GCC_FOR_BUILD" = yes; then
5196 CFLAGS_FOR_BUILD="-O2"
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5202 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5203 if ${ac_cv_build_prog_cc_c89+:} false; then :
5204 $as_echo_n "(cached) " >&6
5206 ac_cv_build_prog_cc_c89=no
5207 ac_save_CC=$CC_FOR_BUILD
5208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5209 /* end confdefs.h. */
5213 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5214 struct buf { int x; };
5215 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5216 static char *e (p, i)
5222 static char *f (char * (*g) (char **, int), char **p, ...)
5227 s = g (p, va_arg (v,int));
5232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5233 function prototypes and stuff, but not '\xHH' hex character constants.
5234 These don't provoke an error unfortunately, instead are silently treated
5235 as 'x'. The following induces an error, until -std is added to get
5236 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5237 array size at least. It's necessary to write '\x00'==0 to get something
5238 that's true only with -std. */
5239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5241 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5242 inside strings and character constants. */
5244 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5246 int test (int i, double x);
5247 struct s1 {int (*f) (int a);};
5248 struct s2 {int (*f) (double a);};
5249 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5255 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5260 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5261 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5263 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5264 if ac_fn_c_try_compile "$LINENO"; then :
5265 ac_cv_build_prog_cc_c89=$ac_arg
5267 rm -f core conftest.err conftest.$ac_build_objext
5268 test "x$ac_cv_build_prog_cc_c89" != "xno" && break
5270 rm -f conftest.$ac_ext
5271 CC_FOR_BUILD=$ac_save_CC
5275 case "x$ac_cv_build_prog_cc_c89" in
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5278 $as_echo "none needed" >&6; } ;;
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5281 $as_echo "unsupported" >&6; } ;;
5283 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_c89"
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c89" >&5
5285 $as_echo "$ac_cv_build_prog_cc_c89" >&6; } ;;
5287 if test "x$ac_cv_build_prog_cc_c89" != xno; then :
5292 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5293 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5294 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5295 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
5298 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5299 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5300 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5301 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD understands -c and -o together" >&5
5303 $as_echo_n "checking whether $CC_FOR_BUILD understands -c and -o together... " >&6; }
5304 if ${am_cv_build_prog_cc_c_o+:} false; then :
5305 $as_echo_n "(cached) " >&6
5307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5308 /* end confdefs.h. */
5318 # Make sure it works both with $CC and with simple cc.
5319 # Following AC_PROG_CC_C_O, we do the test twice because some
5320 # compilers refuse to overwrite an existing .o file with -o,
5321 # though they will create one.
5322 am_cv_build_prog_cc_c_o=yes
5324 if { echo "$as_me:$LINENO: $CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext" >&5
5325 ($CC_FOR_BUILD -c conftest.$ac_ext -o conftest2.$ac_build_objext) >&5 2>&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } \
5329 && test -f conftest2.$ac_build_objext; then
5332 am_cv_build_prog_cc_c_o=no
5336 rm -f core conftest*
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_prog_cc_c_o" >&5
5340 $as_echo "$am_cv_build_prog_cc_c_o" >&6; }
5341 if test "$am_cv_build_prog_cc_c_o" != yes; then
5342 # Losing compiler, so override with the script.
5343 # FIXME: It is wrong to rewrite CC.
5344 # But if we don't then we get into trouble of one sort or another.
5345 # A longer-term fix would be to have automake use am__CC in this case,
5346 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5347 CC_FOR_BUILD="$am_aux_dir/compile $CC_FOR_BUILD"
5350 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5351 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5352 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5353 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
5356 depcc="$CC_FOR_BUILD" am_compiler_list=
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5359 $as_echo_n "checking dependency style of $depcc... " >&6; }
5360 if ${am_cv_build_CC_dependencies_compiler_type+:} false; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5364 # We make a subdir and do the tests there. Otherwise we can end up
5365 # making bogus files that we don't know about and never remove. For
5366 # instance it was reported that on HP-UX the gcc test will end up
5367 # making a dummy file named 'D' -- because '-MD' means "put the output
5371 # Copy depcomp to subdir because otherwise we won't find it if we're
5372 # using a relative directory.
5373 cp "$am_depcomp" conftest.dir
5375 # We will build objects and dependencies in a subdirectory because
5376 # it helps to detect inapplicable dependency modes. For instance
5377 # both Tru64's cc and ICC support -MD to output dependencies as a
5378 # side effect of compilation, but ICC will put the dependencies in
5379 # the current directory while Tru64 will put them in the object
5383 am_cv_build_CC_dependencies_compiler_type=none
5384 if test "$am_compiler_list" = ""; then
5385 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5388 case " $depcc " in #(
5389 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5392 for depmode in $am_compiler_list; do
5393 # Setup a source with many dependencies, because some compilers
5394 # like to wrap large dependency lists on column 80 (with \), and
5395 # we should not choose a depcomp mode which is confused by this.
5397 # We need to recreate these files for each test, as the compiler may
5398 # overwrite some of them when testing with obscure command lines.
5399 # This happens at least with the AIX C compiler.
5401 for i in 1 2 3 4 5 6; do
5402 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5403 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5404 # Solaris 10 /bin/sh.
5405 echo '/* dummy */' > sub/conftst$i.h
5407 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5409 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5410 # mode. It turns out that the SunPro C++ compiler does not properly
5411 # handle '-M -o', and we need to detect this. Also, some Intel
5412 # versions had trouble with output in subdirs.
5413 am__obj=sub/conftest.${BUILD_OBJEXT-o}
5414 am__minus_obj="-o $am__obj"
5417 # This depmode causes a compiler race in universal mode.
5418 test "$am__universal" = false || continue
5421 # After this tag, mechanisms are not by side-effect, so they'll
5422 # only be used when explicitly requested.
5423 if test "x$enable_dependency_tracking" = xyes; then
5429 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5430 # This compiler won't grok '-c -o', but also, the minuso test has
5431 # not run yet. These depmodes are late enough in the game, and
5432 # so weak that their functioning should not be impacted.
5433 am__obj=conftest.${BUILD_OBJEXT-o}
5438 if depmode=$depmode \
5439 source=sub/conftest.c object=$am__obj \
5440 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5441 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5442 >/dev/null 2>conftest.err &&
5443 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5444 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5445 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5446 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5447 # icc doesn't choke on unknown options, it will just issue warnings
5448 # or remarks (even with -Werror). So we grep stderr for any message
5449 # that says an option was ignored or not supported.
5450 # When given -MP, icc 7.0 and 7.1 complain thusly:
5451 # icc: Command line warning: ignoring option '-M'; no argument required
5452 # The diagnosis changed in icc 8.0:
5453 # icc: Command line remark: option '-MP' not supported
5454 if (grep 'ignoring option' conftest.err ||
5455 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5456 am_cv_build_CC_dependencies_compiler_type=$depmode
5465 am_cv_build_CC_dependencies_compiler_type=none
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_CC_dependencies_compiler_type" >&5
5470 $as_echo "$am_cv_build_CC_dependencies_compiler_type" >&6; }
5471 CCDEPMODE=depmode=$am_cv_build_CC_dependencies_compiler_type
5474 test "x$enable_dependency_tracking" != xno \
5475 && test "$am_cv_build_CC_dependencies_compiler_type" = gcc3; then
5477 am__fastdepCC_FALSE='#'
5479 am__fastdepCC_TRUE='#'
5480 am__fastdepCC_FALSE=
5485 if test ${was_set_ac_cv_c_compiler_gnu}; then :
5486 ac_cv_c_compiler_gnu=saved_ac_cv_c_compiler_gnu
5489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5490 /* end confdefs.h. */
5500 ac_clean_files_save=$ac_clean_files
5501 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5502 # Try to create an executable without -o first, disregard a.out.
5503 # It will help us diagnose broken compilers, and finding out an intuition
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5506 $as_echo_n "checking whether the C compiler works... " >&6; }
5507 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
5509 # The possible output files:
5510 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5513 for ac_file in $ac_files
5516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5517 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5522 if { { ac_try="$ac_link_default"
5524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5525 *) ac_try_echo
=$ac_try;;
5527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5528 $as_echo "$ac_try_echo"; } >&5
5529 (eval "$ac_link_default") 2>&5
5531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5532 test $ac_status = 0; }; then :
5533 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5534 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5535 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5536 # so that the user can short-circuit this test for compilers unknown to
5538 for ac_file
in $ac_files ''
5540 test -f "$ac_file" ||
continue
5542 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
5545 # We found the default executable, but exeext='' is most
5549 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no
;
5551 ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5553 # We set ac_cv_exeext here because the later test for it is not
5554 # safe: cross compilers may not add the suffix if given an `-o'
5555 # argument, so we may need to know it at that point already.
5556 # Even if this section looks crufty: it has the advantage of
5563 test "$ac_cv_build_exeext" = no
&& ac_cv_build_exeext
=
5568 if test -z "$ac_file"; then :
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 $as_echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.
$ac_ext >&5
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
77 "C compiler cannot create executables
5577 See \`config.log' for more details" "$LINENO" 5; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5580 $as_echo "yes" >&6; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5583 $as_echo_n "checking for C compiler default output file name... " >&6; }
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5585 $as_echo "$ac_file" >&6; }
5586 ac_build_exeext
=$ac_cv_build_exeext
5588 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_build_exeext b.out
5589 ac_clean_files
=$ac_clean_files_save
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5591 $as_echo_n "checking for suffix of executables... " >&6; }
5592 if { { ac_try
="$ac_link"
5594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5595 *) ac_try_echo=$ac_try;;
5597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5598 $as_echo "$ac_try_echo"; } >&5
5599 (eval "$ac_link") 2>&5
5601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5602 test $ac_status = 0; }; then :
5603 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
5604 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
5605 # work properly (i.e., refer to `conftest.exe'), while it won't with
5607 for ac_file
in conftest.exe conftest conftest.
*; do
5608 test -f "$ac_file" ||
continue
5610 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5611 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
5617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5619 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
5620 See \`config.log' for more details" "$LINENO" 5; }
5622 rm -f conftest conftest
$ac_cv_build_exeext
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
5624 $as_echo "$ac_cv_build_exeext" >&6; }
5626 rm -f conftest.
$ac_ext
5627 BUILD_EXEEXT
=$ac_cv_build_exeext
5628 ac_build_exeext
=$BUILD_EXEEXT
5629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5630 /* end confdefs.h. */
5635 FILE *f = fopen ("conftest.out", "w");
5636 return ferror (f) || fclose (f) != 0;
5642 ac_clean_files
="$ac_clean_files conftest.out"
5643 # Check that the compiler produces executables we can run. If not, either
5644 # the compiler is broken, or we cross compile.
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5646 $as_echo_n "checking whether we are cross compiling... " >&6; }
5647 if test "$cross_compiling_build" != yes; then
5648 { { ac_try
="$ac_link"
5650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5651 *) ac_try_echo=$ac_try;;
5653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5654 $as_echo "$ac_try_echo"; } >&5
5655 (eval "$ac_link") 2>&5
5657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5658 test $ac_status = 0; }
5659 if { ac_try='./conftest$ac_cv_build_exeext'
5660 { { case "(($ac_try" in
5661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5662 *) ac_try_echo
=$ac_try;;
5664 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5665 $as_echo "$ac_try_echo"; } >&5
5666 (eval "$ac_try") 2>&5
5668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5669 test $ac_status = 0; }; }; then
5670 cross_compiling_build
=no
5672 if test "$cross_compiling_build" = maybe
; then
5673 cross_compiling_build
=yes
5675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5677 as_fn_error $?
"cannot run C compiled programs.
5678 If you meant to cross compile, use \`--build'.
5679 See \`config.log' for more details" "$LINENO" 5; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling_build" >&5
5684 $as_echo "$cross_compiling_build" >&6; }
5686 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
5687 ac_clean_files
=$ac_clean_files_save
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5690 $as_echo_n "checking for suffix of object files... " >&6; }
5691 if ${ac_cv_build_objext+:} false
; then :
5692 $as_echo_n "(cached) " >&6
5694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5695 /* end confdefs.h. */
5705 rm -f conftest.o conftest.obj
5706 if { { ac_try
="$ac_compile"
5708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5709 *) ac_try_echo=$ac_try;;
5711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5712 $as_echo "$ac_try_echo"; } >&5
5713 (eval "$ac_compile") 2>&5
5715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5716 test $ac_status = 0; }; then :
5717 for ac_file in conftest.o conftest.obj conftest.*; do
5718 test -f "$ac_file" || continue;
5720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5721 *) ac_cv_build_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5726 $as_echo "$as_me: failed program was:" >&5
5727 sed 's/^/| /' conftest.$ac_ext >&5
5729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5731 as_fn_error $? "cannot compute suffix of object files
: cannot compile
5732 See \
`config.log' for more details" "$LINENO" 5; }
5734 rm -f conftest.$ac_cv_build_objext conftest.$ac_ext
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_objext" >&5
5737 $as_echo "$ac_cv_build_objext" >&6; }
5738 BUILD_OBJEXT=$ac_cv_build_objext
5739 ac_build_objext=$BUILD_OBJEXT
5742 ac_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5743 ac_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5744 ac_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5745 ac_compiler_gnu=$ac_cv_build_c_compiler_gnu
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5747 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5748 # On Suns, sometimes $CPP names a directory.
5749 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
5752 if test -z "$CPP_FOR_BUILD"; then
5753 if ${ac_cv_build_prog_CPP+:} false; then :
5754 $as_echo_n "(cached) " >&6
5756 # Double quotes because CPP needs to be expanded
5757 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5760 for ac_c_preproc_warn_flag in '' yes
5762 # Use a header file that comes with gcc, so configuring glibc
5763 # with a fresh cross-compiler works.
5764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5765 # <limits.h> exists even on freestanding compilers.
5766 # On the NeXT, cc -E runs the code through the compiler's parser,
5767 # not just through cpp. "Syntax error" is here to catch this case.
5768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5769 /* end confdefs.h. */
5771 # include <limits.h>
5773 # include <assert.h>
5777 if ac_fn_c_try_cpp "$LINENO"; then :
5780 # Broken: fails on valid input.
5783 rm -f conftest.err conftest.i conftest.$ac_ext
5785 # OK, works on sane cases. Now check whether nonexistent headers
5786 # can be detected and how.
5787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5789 #include <ac_nonexistent.h>
5791 if ac_fn_c_try_cpp "$LINENO"; then :
5792 # Broken: success on invalid input.
5795 # Passes both tests.
5799 rm -f conftest.err conftest.i conftest.$ac_ext
5802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5803 rm -f conftest.i conftest.err conftest.
$ac_ext
5804 if $ac_preproc_ok; then :
5809 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5812 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
5814 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
5817 $as_echo "$CPP_FOR_BUILD" >&6; }
5819 for ac_c_preproc_warn_flag
in '' yes
5821 # Use a header file that comes with gcc, so configuring glibc
5822 # with a fresh cross-compiler works.
5823 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5824 # <limits.h> exists even on freestanding compilers.
5825 # On the NeXT, cc -E runs the code through the compiler's parser,
5826 # not just through cpp. "Syntax error" is here to catch this case.
5827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5830 # include <limits.h>
5832 # include <assert.h>
5836 if ac_fn_c_try_cpp
"$LINENO"; then :
5839 # Broken: fails on valid input.
5842 rm -f conftest.err conftest.i conftest.
$ac_ext
5844 # OK, works on sane cases. Now check whether nonexistent headers
5845 # can be detected and how.
5846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5848 #include <ac_nonexistent.h>
5850 if ac_fn_c_try_cpp
"$LINENO"; then :
5851 # Broken: success on invalid input.
5854 # Passes both tests.
5858 rm -f conftest.err conftest.i conftest.
$ac_ext
5861 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5862 rm -f conftest.i conftest.err conftest.
$ac_ext
5863 if $ac_preproc_ok; then :
5866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5868 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5869 See \`config.log' for more details" "$LINENO" 5; }
5873 ac_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5874 ac_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5875 ac_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5876 ac_compiler_gnu
=$ac_cv_build_c_compiler_gnu
5881 ac_cpp
='$CPP $CPPFLAGS'
5882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5888 case $ac_cv_prog_cc_stdc in #(
5890 ac_cv_build_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5893 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5894 if ${ac_cv_build_prog_cc_c99+:} false
; then :
5895 $as_echo_n "(cached) " >&6
5897 ac_cv_build_prog_cc_c99
=no
5899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5900 /* end confdefs.h. */
5902 #include <stdbool.h>
5907 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5908 #define debug(...) fprintf (stderr, __VA_ARGS__)
5909 #define showlist(...) puts (#__VA_ARGS__)
5910 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5912 test_varargs_macros (void)
5917 debug ("X = %d\n", x);
5918 showlist (The first, second, and third items.);
5919 report (x>y, "x is %d but y is %d", x, y);
5922 // Check long long types.
5923 #define BIG64 18446744073709551615ull
5924 #define BIG32 4294967295ul
5925 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5927 your preprocessor is broken;
5931 your preprocessor is broken;
5933 static long long int bignum = -9223372036854775807LL;
5934 static unsigned long long int ubignum = BIG64;
5936 struct incomplete_array
5944 const wchar_t *name;
5948 typedef const char *ccp;
5951 test_restrict (ccp restrict text)
5953 // See if C++-style comments work.
5954 // Iterate through items via the restricted pointer.
5955 // Also check for declarations in for loops.
5956 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5961 // Check varargs and va_copy.
5963 test_varargs (const char *format, ...)
5966 va_start (args, format);
5968 va_copy (args_copy, args);
5979 str = va_arg (args_copy, const char *);
5982 number = va_arg (args_copy, int);
5985 fnumber = va_arg (args_copy, double);
6000 _Bool success = false;
6003 if (test_restrict ("String literal") == 0)
6005 char *restrict newvar = "Another string";
6008 test_varargs ("s, d' f .", "string", 65, 34.234);
6009 test_varargs_macros ();
6011 // Check flexible array members.
6012 struct incomplete_array *ia =
6013 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
6015 for (int i = 0; i < ia->datasize; ++i)
6016 ia->data[i] = i * 1.234;
6018 // Check named initializers.
6019 struct named_init ni = {
6021 .name = L"Test wide string",
6022 .average = 543.34343,
6027 int dynamic_array[ni.number];
6028 dynamic_array[ni.number - 1] = 543;
6030 // work around unused variable warnings
6031 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
6032 || dynamic_array[ni.number - 1] != 543);
6038 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
6040 CC
="$ac_save_CC $ac_arg"
6041 if ac_fn_c_try_compile
"$LINENO"; then :
6042 ac_cv_build_prog_cc_c99
=$ac_arg
6044 rm -f core conftest.err conftest.
$ac_objext
6045 test "x$ac_cv_build_prog_cc_c99" != "xno" && break
6047 rm -f conftest.
$ac_ext
6052 case "x$ac_cv_build_prog_cc_c99" in
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6055 $as_echo "none needed" >&6; } ;;
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6058 $as_echo "unsupported" >&6; } ;;
6060 CC
="$CC $ac_cv_build_prog_cc_c99"
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_c99" >&5
6062 $as_echo "$ac_cv_build_prog_cc_c99" >&6; } ;;
6064 if test "x$ac_cv_build_prog_cc_c99" != xno
; then :
6065 ac_cv_prog_cc_stdc
=$ac_cv_build_prog_cc_c99
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6068 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6069 if ${ac_cv_prog_cc_c89+:} false
; then :
6070 $as_echo_n "(cached) " >&6
6072 ac_cv_prog_cc_c89
=no
6074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6079 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6080 struct buf { int x; };
6081 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6082 static char *e (p, i)
6088 static char *f (char * (*g) (char **, int), char **p, ...)
6093 s = g (p, va_arg (v,int));
6098 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6099 function prototypes and stuff, but not '\xHH' hex character constants.
6100 These don't provoke an error unfortunately, instead are silently treated
6101 as 'x'. The following induces an error, until -std is added to get
6102 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6103 array size at least. It's necessary to write '\x00'==0 to get something
6104 that's true only with -std. */
6105 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6107 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6108 inside strings and character constants. */
6110 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6112 int test (int i, double x);
6113 struct s1 {int (*f) (int a);};
6114 struct s2 {int (*f) (double a);};
6115 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6121 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6126 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
6127 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6129 CC
="$ac_save_CC $ac_arg"
6130 if ac_fn_c_try_compile
"$LINENO"; then :
6131 ac_cv_prog_cc_c89
=$ac_arg
6133 rm -f core conftest.err conftest.
$ac_objext
6134 test "x$ac_cv_prog_cc_c89" != "xno" && break
6136 rm -f conftest.
$ac_ext
6141 case "x$ac_cv_prog_cc_c89" in
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6144 $as_echo "none needed" >&6; } ;;
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6147 $as_echo "unsupported" >&6; } ;;
6149 CC
="$CC $ac_cv_prog_cc_c89"
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6151 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6153 if test "x$ac_cv_prog_cc_c89" != xno
; then :
6154 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
6156 ac_cv_prog_cc_stdc
=no
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
6163 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
6164 if ${ac_cv_prog_cc_stdc+:} false
; then :
6165 $as_echo_n "(cached) " >&6
6168 case $ac_cv_prog_cc_stdc in #(
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6171 $as_echo "unsupported" >&6; } ;; #(
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6174 $as_echo "none needed" >&6; } ;; #(
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
6177 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6182 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6184 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6185 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6186 $as_echo_n "(cached) " >&6
6188 cat >conftest.
make <<\_ACEOF
6191 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6193 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6194 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6196 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6198 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6202 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6204 $as_echo "yes" >&6; }
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 $as_echo "no" >&6; }
6209 SET_MAKE
="MAKE=${MAKE-make}"
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6213 $as_echo_n "checking whether ln -s works... " >&6; }
6215 if test "$LN_S" = "ln -s"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6217 $as_echo "yes" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6220 $as_echo "no, using $LN_S" >&6; }
6223 for ac_prog
in gawk mawk nawk
awk
6225 # Extract the first word of "$ac_prog", so it can be a program name with args.
6226 set dummy
$ac_prog; ac_word
=$2
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6228 $as_echo_n "checking for $ac_word... " >&6; }
6229 if ${ac_cv_prog_AWK+:} false
; then :
6230 $as_echo_n "(cached) " >&6
6232 if test -n "$AWK"; then
6233 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6239 test -z "$as_dir" && as_dir
=.
6240 for ac_exec_ext
in '' $ac_executable_extensions; do
6241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6242 ac_cv_prog_AWK
="$ac_prog"
6243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 if test -n "$AWK"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6255 $as_echo "$AWK" >&6; }
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6258 $as_echo "no" >&6; }
6262 test -n "$AWK" && break
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6268 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6273 macro_version
='2.4.6'
6274 macro_revision
='2.4.6'
6288 ltmain
=$ac_aux_dir/ltmain.sh
6290 # Backslashify metacharacters that are still active within
6291 # double-quoted strings.
6292 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6294 # Same as above, but do not quote variable references.
6295 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6297 # Sed substitution to delay expansion of an escaped shell variable in a
6298 # double_quote_subst'ed string.
6299 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6301 # Sed substitution to delay expansion of an escaped single quote.
6302 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6304 # Sed substitution to avoid accidental globbing in evaled expressions
6305 no_glob_subst
='s/\*/\\\*/g'
6307 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6308 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6309 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6312 $as_echo_n "checking how to print strings... " >&6; }
6313 # Test print first, because it will be a builtin if present.
6314 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6315 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6317 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6320 # Use this function as a fallback that always works.
6321 func_fallback_echo ()
6323 eval 'cat <<_LTECHO_EOF
6327 ECHO='func_fallback_echo
'
6330 # func_echo_all arg...
6331 # Invoke $ECHO with all args, space-separated.
6338 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6339 $as_echo "printf" >&6; } ;;
6340 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6341 $as_echo "print -r" >&6; } ;;
6342 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6343 $as_echo "cat" >&6; } ;;
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6360 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6361 if ${ac_cv_path_SED+:} false; then :
6362 $as_echo_n "(cached) " >&6
6364 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6365 for ac_i in 1 2 3 4 5 6 7; do
6366 ac_script="$ac_script$as_nl$ac_script"
6368 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6369 { ac_script=; unset ac_script;}
6370 if test -z "$SED"; then
6371 ac_path_SED_found=false
6372 # Loop through the user's path and
test for each of PROGNAME-LIST
6373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6377 test -z "$as_dir" && as_dir
=.
6378 for ac_prog
in sed gsed
; do
6379 for ac_exec_ext
in '' $ac_executable_extensions; do
6380 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6381 as_fn_executable_p
"$ac_path_SED" ||
continue
6382 # Check for GNU ac_path_SED and select it if it is found.
6383 # Check for GNU $ac_path_SED
6384 case `"$ac_path_SED" --version 2>&1` in
6386 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6389 $as_echo_n 0123456789 >"conftest.in"
6392 cat "conftest.in" "conftest.in" >"conftest.tmp"
6393 mv "conftest.tmp" "conftest.in"
6394 cp "conftest.in" "conftest.nl"
6395 $as_echo '' >> "conftest.nl"
6396 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6397 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6398 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6399 if test $ac_count -gt ${ac_path_SED_max-0}; then
6400 # Best one so far, save it but keep looking for a better one
6401 ac_cv_path_SED
="$ac_path_SED"
6402 ac_path_SED_max
=$ac_count
6404 # 10*(2^10) chars as input seems more than enough
6405 test $ac_count -gt 10 && break
6407 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6410 $ac_path_SED_found && break 3
6415 if test -z "$ac_cv_path_SED"; then
6416 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6424 $as_echo "$ac_cv_path_SED" >&6; }
6425 SED
="$ac_cv_path_SED"
6428 test -z "$SED" && SED
=sed
6429 Xsed
="$SED -e 1s/^X//"
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6442 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6443 if ${ac_cv_path_GREP+:} false
; then :
6444 $as_echo_n "(cached) " >&6
6446 if test -z "$GREP"; then
6447 ac_path_GREP_found
=false
6448 # Loop through the user's path and test for each of PROGNAME-LIST
6449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6450 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6453 test -z "$as_dir" && as_dir
=.
6454 for ac_prog
in grep ggrep
; do
6455 for ac_exec_ext
in '' $ac_executable_extensions; do
6456 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6457 as_fn_executable_p
"$ac_path_GREP" ||
continue
6458 # Check for GNU ac_path_GREP and select it if it is found.
6459 # Check for GNU $ac_path_GREP
6460 case `"$ac_path_GREP" --version 2>&1` in
6462 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6465 $as_echo_n 0123456789 >"conftest.in"
6468 cat "conftest.in" "conftest.in" >"conftest.tmp"
6469 mv "conftest.tmp" "conftest.in"
6470 cp "conftest.in" "conftest.nl"
6471 $as_echo 'GREP' >> "conftest.nl"
6472 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6473 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6474 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6475 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6476 # Best one so far, save it but keep looking for a better one
6477 ac_cv_path_GREP
="$ac_path_GREP"
6478 ac_path_GREP_max
=$ac_count
6480 # 10*(2^10) chars as input seems more than enough
6481 test $ac_count -gt 10 && break
6483 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6486 $ac_path_GREP_found && break 3
6491 if test -z "$ac_cv_path_GREP"; then
6492 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6495 ac_cv_path_GREP
=$GREP
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6500 $as_echo "$ac_cv_path_GREP" >&6; }
6501 GREP
="$ac_cv_path_GREP"
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6505 $as_echo_n "checking for egrep... " >&6; }
6506 if ${ac_cv_path_EGREP+:} false
; then :
6507 $as_echo_n "(cached) " >&6
6509 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6510 then ac_cv_path_EGREP
="$GREP -E"
6512 if test -z "$EGREP"; then
6513 ac_path_EGREP_found
=false
6514 # Loop through the user's path and test for each of PROGNAME-LIST
6515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6516 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6519 test -z "$as_dir" && as_dir
=.
6520 for ac_prog
in egrep; do
6521 for ac_exec_ext
in '' $ac_executable_extensions; do
6522 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6523 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6524 # Check for GNU ac_path_EGREP and select it if it is found.
6525 # Check for GNU $ac_path_EGREP
6526 case `"$ac_path_EGREP" --version 2>&1` in
6528 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6531 $as_echo_n 0123456789 >"conftest.in"
6534 cat "conftest.in" "conftest.in" >"conftest.tmp"
6535 mv "conftest.tmp" "conftest.in"
6536 cp "conftest.in" "conftest.nl"
6537 $as_echo 'EGREP' >> "conftest.nl"
6538 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6539 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6540 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6541 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6542 # Best one so far, save it but keep looking for a better one
6543 ac_cv_path_EGREP
="$ac_path_EGREP"
6544 ac_path_EGREP_max
=$ac_count
6546 # 10*(2^10) chars as input seems more than enough
6547 test $ac_count -gt 10 && break
6549 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6552 $ac_path_EGREP_found && break 3
6557 if test -z "$ac_cv_path_EGREP"; then
6558 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6561 ac_cv_path_EGREP
=$EGREP
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6567 $as_echo "$ac_cv_path_EGREP" >&6; }
6568 EGREP
="$ac_cv_path_EGREP"
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6572 $as_echo_n "checking for fgrep... " >&6; }
6573 if ${ac_cv_path_FGREP+:} false
; then :
6574 $as_echo_n "(cached) " >&6
6576 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6577 then ac_cv_path_FGREP
="$GREP -F"
6579 if test -z "$FGREP"; then
6580 ac_path_FGREP_found
=false
6581 # Loop through the user's path and test for each of PROGNAME-LIST
6582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6583 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6586 test -z "$as_dir" && as_dir
=.
6587 for ac_prog
in fgrep
; do
6588 for ac_exec_ext
in '' $ac_executable_extensions; do
6589 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6590 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6591 # Check for GNU ac_path_FGREP and select it if it is found.
6592 # Check for GNU $ac_path_FGREP
6593 case `"$ac_path_FGREP" --version 2>&1` in
6595 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6598 $as_echo_n 0123456789 >"conftest.in"
6601 cat "conftest.in" "conftest.in" >"conftest.tmp"
6602 mv "conftest.tmp" "conftest.in"
6603 cp "conftest.in" "conftest.nl"
6604 $as_echo 'FGREP' >> "conftest.nl"
6605 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6606 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6607 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6608 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6609 # Best one so far, save it but keep looking for a better one
6610 ac_cv_path_FGREP
="$ac_path_FGREP"
6611 ac_path_FGREP_max
=$ac_count
6613 # 10*(2^10) chars as input seems more than enough
6614 test $ac_count -gt 10 && break
6616 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6619 $ac_path_FGREP_found && break 3
6624 if test -z "$ac_cv_path_FGREP"; then
6625 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6628 ac_cv_path_FGREP
=$FGREP
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6634 $as_echo "$ac_cv_path_FGREP" >&6; }
6635 FGREP
="$ac_cv_path_FGREP"
6638 test -z "$GREP" && GREP
=grep
6658 # Check whether --with-gnu-ld was given.
6659 if test "${with_gnu_ld+set}" = set; then :
6660 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
6666 if test yes = "$GCC"; then
6667 # Check if gcc -print-prog-name=ld gives a path.
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6669 $as_echo_n "checking for ld used by $CC... " >&6; }
6672 # gcc leaves a trailing carriage return, which upsets mingw
6673 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6675 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6678 # Accept absolute paths.
6680 re_direlt
='/[^/][^/]*/\.\./'
6681 # Canonicalize the pathname of ld
6682 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6683 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6684 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6686 test -z "$LD" && LD
=$ac_prog
6689 # If it fails, then pretend we aren't using GCC.
6693 # If it is relative, then search for the first ld in PATH.
6697 elif test yes = "$with_gnu_ld"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6699 $as_echo_n "checking for GNU ld... " >&6; }
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6702 $as_echo_n "checking for non-GNU ld... " >&6; }
6704 if ${lt_cv_path_LD+:} false
; then :
6705 $as_echo_n "(cached) " >&6
6707 if test -z "$LD"; then
6708 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6709 for ac_dir
in $PATH; do
6711 test -z "$ac_dir" && ac_dir
=.
6712 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6713 lt_cv_path_LD
=$ac_dir/$ac_prog
6714 # Check to see if the program is GNU ld. I'd rather use --version,
6715 # but apparently some variants of GNU ld only accept -v.
6716 # Break only if it was the GNU/non-GNU ld that we prefer.
6717 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6718 *GNU
* |
*'with BFD'*)
6719 test no
!= "$with_gnu_ld" && break
6722 test yes != "$with_gnu_ld" && break
6729 lt_cv_path_LD
=$LD # Let the user override the test with a path.
6734 if test -n "$LD"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6736 $as_echo "$LD" >&6; }
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6741 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6743 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6744 if ${lt_cv_prog_gnu_ld+:} false
; then :
6745 $as_echo_n "(cached) " >&6
6747 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6748 case `$LD -v 2>&1 </dev/null` in
6749 *GNU
* |
*'with BFD'*)
6750 lt_cv_prog_gnu_ld
=yes
6753 lt_cv_prog_gnu_ld
=no
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6758 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6759 with_gnu_ld
=$lt_cv_prog_gnu_ld
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6770 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6771 if ${lt_cv_path_NM+:} false
; then :
6772 $as_echo_n "(cached) " >&6
6774 if test -n "$NM"; then
6775 # Let the user override the test.
6778 lt_nm_to_check
=${ac_tool_prefix}nm
6779 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6780 lt_nm_to_check
="$lt_nm_to_check nm"
6782 for lt_tmp_nm
in $lt_nm_to_check; do
6783 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
6784 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6786 test -z "$ac_dir" && ac_dir
=.
6787 tmp_nm
=$ac_dir/$lt_tmp_nm
6788 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
6789 # Check to see if the nm accepts a BSD-compat flag.
6790 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6791 # nm: unknown option "B" ignored
6792 # Tru64's nm complains that /dev/null is an invalid object file
6793 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6795 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
6796 *) lt_bad_file
=/dev
/null
;;
6798 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6799 *$lt_bad_file* |
*'Invalid file or object type'*)
6800 lt_cv_path_NM
="$tmp_nm -B"
6804 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6806 lt_cv_path_NM
="$tmp_nm -p"
6810 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6811 continue # so that we can try to find one that supports BSD flags
6820 : ${lt_cv_path_NM=no}
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6824 $as_echo "$lt_cv_path_NM" >&6; }
6825 if test no
!= "$lt_cv_path_NM"; then
6828 # Didn't find any BSD compatible name lister, look for dumpbin.
6829 if test -n "$DUMPBIN"; then :
6830 # Let the user override the test.
6832 if test -n "$ac_tool_prefix"; then
6833 for ac_prog
in dumpbin
"link -dump"
6835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6836 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6838 $as_echo_n "checking for $ac_word... " >&6; }
6839 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6840 $as_echo_n "(cached) " >&6
6842 if test -n "$DUMPBIN"; then
6843 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6849 test -z "$as_dir" && as_dir
=.
6850 for ac_exec_ext
in '' $ac_executable_extensions; do
6851 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6852 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6862 DUMPBIN
=$ac_cv_prog_DUMPBIN
6863 if test -n "$DUMPBIN"; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6865 $as_echo "$DUMPBIN" >&6; }
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6868 $as_echo "no" >&6; }
6872 test -n "$DUMPBIN" && break
6875 if test -z "$DUMPBIN"; then
6876 ac_ct_DUMPBIN
=$DUMPBIN
6877 for ac_prog
in dumpbin
"link -dump"
6879 # Extract the first word of "$ac_prog", so it can be a program name with args.
6880 set dummy
$ac_prog; ac_word
=$2
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6882 $as_echo_n "checking for $ac_word... " >&6; }
6883 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6884 $as_echo_n "(cached) " >&6
6886 if test -n "$ac_ct_DUMPBIN"; then
6887 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6893 test -z "$as_dir" && as_dir
=.
6894 for ac_exec_ext
in '' $ac_executable_extensions; do
6895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6896 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6907 if test -n "$ac_ct_DUMPBIN"; then
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6909 $as_echo "$ac_ct_DUMPBIN" >&6; }
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6912 $as_echo "no" >&6; }
6916 test -n "$ac_ct_DUMPBIN" && break
6919 if test "x$ac_ct_DUMPBIN" = x
; then
6922 case $cross_compiling:$ac_tool_warned in
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6926 ac_tool_warned
=yes ;;
6928 DUMPBIN
=$ac_ct_DUMPBIN
6932 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6934 DUMPBIN
="$DUMPBIN -symbols -headers"
6942 if test : != "$DUMPBIN"; then
6946 test -z "$NM" && NM
=nm
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6954 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6955 if ${lt_cv_nm_interface+:} false
; then :
6956 $as_echo_n "(cached) " >&6
6958 lt_cv_nm_interface
="BSD nm"
6959 echo "int some_variable = 0;" > conftest.
$ac_ext
6960 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6961 (eval "$ac_compile" 2>conftest.err
)
6962 cat conftest.err
>&5
6963 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6964 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6965 cat conftest.err
>&5
6966 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6967 cat conftest.out
>&5
6968 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6969 lt_cv_nm_interface
="MS dumpbin"
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6974 $as_echo "$lt_cv_nm_interface" >&6; }
6976 # find the maximum length of command line arguments
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6978 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6979 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6980 $as_echo_n "(cached) " >&6
6987 # On DJGPP, this test can blow up pretty badly due to problems in libc
6988 # (any single argument exceeding 2000 bytes causes a buffer overrun
6989 # during glob expansion). Even if it were fixed, the result of this
6990 # check would be larger than it should be.
6991 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6995 # Under GNU Hurd, this test is not required because there is
6996 # no limit to the length of command line arguments.
6997 # Libtool will interpret -1 as no limit whatsoever
6998 lt_cv_sys_max_cmd_len
=-1;
7001 cygwin
* | mingw
* | cegcc
*)
7002 # On Win9x/ME, this test blows up -- it succeeds, but takes
7003 # about 5 minutes as the teststring grows exponentially.
7004 # Worse, since 9x/ME are not pre-emptively multitasking,
7005 # you end up with a "frozen" computer, even though with patience
7006 # the test eventually succeeds (with a max line length of 256k).
7007 # Instead, let's just punt: use the minimum linelength reported by
7008 # all of the supported platforms: 8192 (on NT/2K/XP).
7009 lt_cv_sys_max_cmd_len
=8192;
7013 # On MiNT this can take a long time and run out of memory.
7014 lt_cv_sys_max_cmd_len
=8192;
7018 # On AmigaOS with pdksh, this test takes hours, literally.
7019 # So we just punt and use a minimum line length of 8192.
7020 lt_cv_sys_max_cmd_len
=8192;
7023 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
7024 # This has been around since 386BSD, at least. Likely further.
7025 if test -x /sbin
/sysctl
; then
7026 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7027 elif test -x /usr
/sbin
/sysctl
; then
7028 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7030 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7032 # And add a safety zone
7033 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7034 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7038 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7039 lt_cv_sys_max_cmd_len
=196608
7043 # The test takes a long time on OS/2.
7044 lt_cv_sys_max_cmd_len
=8192
7048 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7049 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7050 # nice to cause kernel panics so lets avoid the loop below.
7051 # First set a reasonable default.
7052 lt_cv_sys_max_cmd_len
=16384
7054 if test -x /sbin
/sysconfig
; then
7055 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7056 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7061 lt_cv_sys_max_cmd_len
=102400
7063 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7064 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7065 if test -n "$kargmax"; then
7066 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7068 lt_cv_sys_max_cmd_len
=32768
7072 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7073 if test -n "$lt_cv_sys_max_cmd_len" && \
7074 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
7075 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7076 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7078 # Make teststring a little bigger before we do anything with it.
7079 # a 1K string should be a reasonable start.
7080 for i
in 1 2 3 4 5 6 7 8; do
7081 teststring
=$teststring$teststring
7083 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7084 # If test is not a shell built-in, we'll probably end up computing a
7085 # maximum length that is only half of the actual maximum length, but
7087 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
7088 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7089 test 17 != "$i" # 1/2 MB should be enough
7092 teststring
=$teststring$teststring
7094 # Only check the string length outside the loop.
7095 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7097 # Add a significant safety factor because C++ compilers can tack on
7098 # massive amounts of additional arguments before passing them to the
7099 # linker. It appears as though 1/2 is a usable value.
7100 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7107 if test -n "$lt_cv_sys_max_cmd_len"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7109 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7112 $as_echo "none" >&6; }
7114 max_cmd_len
=$lt_cv_sys_max_cmd_len
7125 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7135 # test EBCDIC or ASCII
7136 case `echo X|tr X '\101'` in
7137 A
) # ASCII based system
7138 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7139 lt_SP2NL
='tr \040 \012'
7140 lt_NL2SP
='tr \015\012 \040\040'
7142 *) # EBCDIC based system
7143 lt_SP2NL
='tr \100 \n'
7144 lt_NL2SP
='tr \r\n \100\100'
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7157 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7158 if ${lt_cv_to_host_file_cmd+:} false
; then :
7159 $as_echo_n "(cached) " >&6
7164 *-*-mingw* ) # actually msys
7165 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
7168 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
7170 * ) # otherwise, assume *nix
7171 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
7177 *-*-mingw* ) # actually msys
7178 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
7181 lt_cv_to_host_file_cmd
=func_convert_file_noop
7183 * ) # otherwise, assume *nix
7184 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
7188 * ) # unhandled hosts (and "normal" native builds)
7189 lt_cv_to_host_file_cmd
=func_convert_file_noop
7195 to_host_file_cmd
=$lt_cv_to_host_file_cmd
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7197 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7204 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7205 if ${lt_cv_to_tool_file_cmd+:} false
; then :
7206 $as_echo_n "(cached) " >&6
7208 #assume ordinary cross tools, or native build.
7209 lt_cv_to_tool_file_cmd
=func_convert_file_noop
7213 *-*-mingw* ) # actually msys
7214 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
7222 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7224 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7231 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7232 if ${lt_cv_ld_reload_flag+:} false
; then :
7233 $as_echo_n "(cached) " >&6
7235 lt_cv_ld_reload_flag
='-r'
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7238 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7239 reload_flag
=$lt_cv_ld_reload_flag
7240 case $reload_flag in
7242 *) reload_flag
=" $reload_flag" ;;
7244 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7246 cygwin
* | mingw
* | pw32
* | cegcc
*)
7247 if test yes != "$GCC"; then
7252 if test yes = "$GCC"; then
7253 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7255 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7270 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$OBJDUMP"; then
7277 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir
=.
7284 for ac_exec_ext
in '' $ac_executable_extensions; do
7285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 OBJDUMP
=$ac_cv_prog_OBJDUMP
7297 if test -n "$OBJDUMP"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7299 $as_echo "$OBJDUMP" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_OBJDUMP"; then
7308 ac_ct_OBJDUMP
=$OBJDUMP
7309 # Extract the first word of "objdump", so it can be a program name with args.
7310 set dummy objdump
; ac_word
=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$ac_ct_OBJDUMP"; then
7317 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir
=.
7324 for ac_exec_ext
in '' $ac_executable_extensions; do
7325 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7337 if test -n "$ac_ct_OBJDUMP"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7339 $as_echo "$ac_ct_OBJDUMP" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_OBJDUMP" = x
; then
7348 case $cross_compiling:$ac_tool_warned in
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned
=yes ;;
7354 OBJDUMP
=$ac_ct_OBJDUMP
7357 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7360 test -z "$OBJDUMP" && OBJDUMP
=objdump
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7371 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7372 if ${lt_cv_deplibs_check_method+:} false
; then :
7373 $as_echo_n "(cached) " >&6
7375 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7376 lt_cv_file_magic_test_file
=
7377 lt_cv_deplibs_check_method
='unknown'
7378 # Need to set the preceding variable on all platforms that support
7379 # interlibrary dependencies.
7380 # 'none' -- dependencies not supported.
7381 # 'unknown' -- same as none, but documents that we really don't know.
7382 # 'pass_all' -- all dependencies passed with no checks.
7383 # 'test_compile' -- check by making test program.
7384 # 'file_magic [[regex]]' -- check by looking for files in library path
7385 # that responds to the $file_magic_cmd with a given extended regex.
7386 # If you have 'file' or equivalent on your system and you're not sure
7387 # whether 'pass_all' will *always* work, you probably want this one.
7391 lt_cv_deplibs_check_method
=pass_all
7395 lt_cv_deplibs_check_method
=pass_all
7399 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7400 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7401 lt_cv_file_magic_test_file
=/shlib
/libc.so
7405 # func_win32_libid is a shell function defined in ltmain.sh
7406 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7407 lt_cv_file_magic_cmd
='func_win32_libid'
7411 # Base MSYS/MinGW do not provide the 'file' command needed by
7412 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7413 # unless we find 'file', for example because we are cross-compiling.
7414 if ( file / ) >/dev
/null
2>&1; then
7415 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7416 lt_cv_file_magic_cmd
='func_win32_libid'
7418 # Keep this pattern in sync with the one in func_win32_libid.
7419 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7420 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7425 # use the weaker test based on 'objdump'. See mingw*.
7426 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7427 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7430 darwin
* | rhapsody
*)
7431 lt_cv_deplibs_check_method
=pass_all
7434 freebsd
* | dragonfly
*)
7435 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7438 # Not sure whether the presence of OpenBSD here was a mistake.
7439 # Let's accept both of them until this is cleared up.
7440 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7441 lt_cv_file_magic_cmd
=/usr
/bin
/file
7442 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7446 lt_cv_deplibs_check_method
=pass_all
7451 lt_cv_deplibs_check_method
=pass_all
7454 hpux10.20
* | hpux11
*)
7455 lt_cv_file_magic_cmd
=/usr
/bin
/file
7458 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7459 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7462 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]'
7463 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7466 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7467 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7473 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7474 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7477 irix5
* | irix6
* | nonstopux
*)
7479 *-32|
*"-32 ") libmagic
=32-bit;;
7480 *-n32|
*"-n32 ") libmagic
=N32
;;
7481 *-64|
*"-64 ") libmagic
=64-bit;;
7482 *) libmagic
=never-match
;;
7484 lt_cv_deplibs_check_method
=pass_all
7487 # This must be glibc/ELF.
7488 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
7489 lt_cv_deplibs_check_method
=pass_all
7493 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7494 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7496 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7501 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7502 lt_cv_file_magic_cmd
=/usr
/bin
/file
7503 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7507 lt_cv_deplibs_check_method
=pass_all
7511 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7512 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7514 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7518 osf3
* | osf4
* | osf5
*)
7519 lt_cv_deplibs_check_method
=pass_all
7523 lt_cv_deplibs_check_method
=pass_all
7527 lt_cv_deplibs_check_method
=pass_all
7530 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7531 lt_cv_deplibs_check_method
=pass_all
7535 case $host_vendor in
7537 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]'
7538 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7541 lt_cv_deplibs_check_method
=pass_all
7544 lt_cv_file_magic_cmd
='/bin/file'
7545 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7548 lt_cv_file_magic_cmd
='/bin/file'
7549 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7550 lt_cv_file_magic_test_file
=/lib
/libc.so
7553 lt_cv_deplibs_check_method
=pass_all
7556 lt_cv_deplibs_check_method
=pass_all
7562 lt_cv_deplibs_check_method
=pass_all
7565 lt_cv_deplibs_check_method
=pass_all
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7571 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7575 if test "$build" = "$host"; then
7578 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
7581 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7587 file_magic_cmd
=$lt_cv_file_magic_cmd
7588 deplibs_check_method
=$lt_cv_deplibs_check_method
7589 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7612 if test -n "$ac_tool_prefix"; then
7613 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7614 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7616 $as_echo_n "checking for $ac_word... " >&6; }
7617 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7618 $as_echo_n "(cached) " >&6
7620 if test -n "$DLLTOOL"; then
7621 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7627 test -z "$as_dir" && as_dir
=.
7628 for ac_exec_ext
in '' $ac_executable_extensions; do
7629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7630 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 DLLTOOL
=$ac_cv_prog_DLLTOOL
7641 if test -n "$DLLTOOL"; then
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7643 $as_echo "$DLLTOOL" >&6; }
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 $as_echo "no" >&6; }
7651 if test -z "$ac_cv_prog_DLLTOOL"; then
7652 ac_ct_DLLTOOL
=$DLLTOOL
7653 # Extract the first word of "dlltool", so it can be a program name with args.
7654 set dummy dlltool
; ac_word
=$2
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7656 $as_echo_n "checking for $ac_word... " >&6; }
7657 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7658 $as_echo_n "(cached) " >&6
7660 if test -n "$ac_ct_DLLTOOL"; then
7661 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7667 test -z "$as_dir" && as_dir
=.
7668 for ac_exec_ext
in '' $ac_executable_extensions; do
7669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7670 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7680 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7681 if test -n "$ac_ct_DLLTOOL"; then
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7683 $as_echo "$ac_ct_DLLTOOL" >&6; }
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7686 $as_echo "no" >&6; }
7689 if test "x$ac_ct_DLLTOOL" = x
; then
7692 case $cross_compiling:$ac_tool_warned in
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7696 ac_tool_warned
=yes ;;
7698 DLLTOOL
=$ac_ct_DLLTOOL
7701 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7704 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7716 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7717 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
7718 $as_echo_n "(cached) " >&6
7720 lt_cv_sharedlib_from_linklib_cmd
='unknown'
7723 cygwin
* | mingw
* | pw32
* | cegcc
*)
7724 # two different shell functions defined in ltmain.sh;
7725 # decide which one to use based on capabilities of $DLLTOOL
7726 case `$DLLTOOL --help 2>&1` in
7727 *--identify-strict*)
7728 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
7731 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
7736 # fallback: assume linklib IS sharedlib
7737 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7743 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7744 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
7745 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
7754 if test -n "$ac_tool_prefix"; then
7757 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7758 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7760 $as_echo_n "checking for $ac_word... " >&6; }
7761 if ${ac_cv_prog_AR+:} false
; then :
7762 $as_echo_n "(cached) " >&6
7764 if test -n "$AR"; then
7765 ac_cv_prog_AR
="$AR" # Let the user override the test.
7767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7771 test -z "$as_dir" && as_dir
=.
7772 for ac_exec_ext
in '' $ac_executable_extensions; do
7773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7774 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
7775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7785 if test -n "$AR"; then
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7787 $as_echo "$AR" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7790 $as_echo "no" >&6; }
7794 test -n "$AR" && break
7797 if test -z "$AR"; then
7801 # Extract the first word of "$ac_prog", so it can be a program name with args.
7802 set dummy
$ac_prog; ac_word
=$2
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7804 $as_echo_n "checking for $ac_word... " >&6; }
7805 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7806 $as_echo_n "(cached) " >&6
7808 if test -n "$ac_ct_AR"; then
7809 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7815 test -z "$as_dir" && as_dir
=.
7816 for ac_exec_ext
in '' $ac_executable_extensions; do
7817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7818 ac_cv_prog_ac_ct_AR
="$ac_prog"
7819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7828 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7829 if test -n "$ac_ct_AR"; then
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7831 $as_echo "$ac_ct_AR" >&6; }
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7834 $as_echo "no" >&6; }
7838 test -n "$ac_ct_AR" && break
7841 if test "x$ac_ct_AR" = x
; then
7844 case $cross_compiling:$ac_tool_warned in
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7848 ac_tool_warned
=yes ;;
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7868 $as_echo_n "checking for archiver @FILE support... " >&6; }
7869 if ${lt_cv_ar_at_file+:} false
; then :
7870 $as_echo_n "(cached) " >&6
7873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7884 if ac_fn_c_try_compile
"$LINENO"; then :
7885 echo conftest.
$ac_objext > conftest.lst
7886 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7887 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7888 (eval $lt_ar_try) 2>&5
7890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7891 test $ac_status = 0; }
7892 if test 0 -eq "$ac_status"; then
7893 # Ensure the archiver fails upon bogus file names.
7894 rm -f conftest.
$ac_objext libconftest.a
7895 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7896 (eval $lt_ar_try) 2>&5
7898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7899 test $ac_status = 0; }
7900 if test 0 -ne "$ac_status"; then
7904 rm -f conftest.
* libconftest.a
7907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7911 $as_echo "$lt_cv_ar_at_file" >&6; }
7913 if test no
= "$lt_cv_ar_at_file"; then
7916 archiver_list_spec
=$lt_cv_ar_at_file
7925 if test -n "$ac_tool_prefix"; then
7926 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7927 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7929 $as_echo_n "checking for $ac_word... " >&6; }
7930 if ${ac_cv_prog_STRIP+:} false
; then :
7931 $as_echo_n "(cached) " >&6
7933 if test -n "$STRIP"; then
7934 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7940 test -z "$as_dir" && as_dir
=.
7941 for ac_exec_ext
in '' $ac_executable_extensions; do
7942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7943 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 STRIP
=$ac_cv_prog_STRIP
7954 if test -n "$STRIP"; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7956 $as_echo "$STRIP" >&6; }
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7959 $as_echo "no" >&6; }
7964 if test -z "$ac_cv_prog_STRIP"; then
7966 # Extract the first word of "strip", so it can be a program name with args.
7967 set dummy strip
; ac_word
=$2
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7969 $as_echo_n "checking for $ac_word... " >&6; }
7970 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7971 $as_echo_n "(cached) " >&6
7973 if test -n "$ac_ct_STRIP"; then
7974 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7980 test -z "$as_dir" && as_dir
=.
7981 for ac_exec_ext
in '' $ac_executable_extensions; do
7982 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7983 ac_cv_prog_ac_ct_STRIP
="strip"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7994 if test -n "$ac_ct_STRIP"; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7996 $as_echo "$ac_ct_STRIP" >&6; }
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999 $as_echo "no" >&6; }
8002 if test "x$ac_ct_STRIP" = x
; then
8005 case $cross_compiling:$ac_tool_warned in
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8009 ac_tool_warned
=yes ;;
8014 STRIP
="$ac_cv_prog_STRIP"
8017 test -z "$STRIP" && STRIP
=:
8024 if test -n "$ac_tool_prefix"; then
8025 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8026 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8028 $as_echo_n "checking for $ac_word... " >&6; }
8029 if ${ac_cv_prog_RANLIB+:} false
; then :
8030 $as_echo_n "(cached) " >&6
8032 if test -n "$RANLIB"; then
8033 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir
=.
8040 for ac_exec_ext
in '' $ac_executable_extensions; do
8041 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8042 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 RANLIB
=$ac_cv_prog_RANLIB
8053 if test -n "$RANLIB"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8055 $as_echo "$RANLIB" >&6; }
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8058 $as_echo "no" >&6; }
8063 if test -z "$ac_cv_prog_RANLIB"; then
8064 ac_ct_RANLIB
=$RANLIB
8065 # Extract the first word of "ranlib", so it can be a program name with args.
8066 set dummy ranlib
; ac_word
=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8070 $as_echo_n "(cached) " >&6
8072 if test -n "$ac_ct_RANLIB"; then
8073 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir
=.
8080 for ac_exec_ext
in '' $ac_executable_extensions; do
8081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8092 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8093 if test -n "$ac_ct_RANLIB"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8095 $as_echo "$ac_ct_RANLIB" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8101 if test "x$ac_ct_RANLIB" = x
; then
8104 case $cross_compiling:$ac_tool_warned in
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8108 ac_tool_warned
=yes ;;
8110 RANLIB
=$ac_ct_RANLIB
8113 RANLIB
="$ac_cv_prog_RANLIB"
8116 test -z "$RANLIB" && RANLIB
=:
8123 # Determine commands to create old-style static archives.
8124 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8125 old_postinstall_cmds
='chmod 644 $oldlib'
8126 old_postuninstall_cmds
=
8128 if test -n "$RANLIB"; then
8131 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8134 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8137 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8142 lock_old_archive_extraction
=yes ;;
8144 lock_old_archive_extraction
=no
;;
8185 # If no C compiler was specified, use CC.
8188 # If no C compiler flags were specified, use CFLAGS.
8189 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8191 # Allow CC to be a program name with arguments.
8195 # Check for command to grab the raw symbol name followed by C symbol from nm.
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8197 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8198 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8199 $as_echo_n "(cached) " >&6
8202 # These are sane defaults that work on at least a few old systems.
8203 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8205 # Character class describing NM global symbol codes.
8206 symcode
='[BCDEGRST]'
8208 # Regexp to match symbols that can be accessed directly from C.
8209 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8211 # Define system-specific variables.
8216 cygwin
* | mingw
* | pw32
* | cegcc
*)
8217 symcode
='[ABCDGISTW]'
8220 if test ia64
= "$host_cpu"; then
8221 symcode
='[ABCDEGRST]'
8225 symcode
='[BCDEGRST]'
8228 symcode
='[BCDEGQRST]'
8239 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8247 # If we're using GNU nm, then use its standard symbol codes.
8248 case `$NM -V 2>&1` in
8249 *GNU
* |
*'with BFD'*)
8250 symcode
='[ABCDGIRSTW]' ;;
8253 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8254 # Gets list of data symbols to import.
8255 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8256 # Adjust the below global symbol transforms to fixup imported variables.
8257 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8258 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
8259 lt_c_name_lib_hook
="\
8260 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
8261 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
8263 # Disable hooks by default.
8264 lt_cv_sys_global_symbol_to_import
=
8270 # Transform an extracted symbol line into a proper C declaration.
8271 # Some systems (esp. on ia64) link data and code symbols differently,
8272 # so use this general approach.
8273 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
8275 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8276 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8278 # Transform an extracted symbol line into symbol name and symbol address
8279 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
8281 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8282 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
8284 # Transform an extracted symbol line into symbol name with lib prefix and
8286 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
8287 $lt_c_name_lib_hook\
8288 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8289 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
8290 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8292 # Handle CRLF in mingw tool chain
8296 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8300 # Try without a prefix underscore, then with it.
8301 for ac_symprfx
in "" "_"; do
8303 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8304 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8306 # Write the raw and C identifiers.
8307 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8308 # Fake it for dumpbin and say T for any non-static function,
8309 # D for any global variable and I for any imported variable.
8310 # Also find C++ and __fastcall symbols from MSVC++,
8311 # which start with @ or ?.
8312 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8313 " {last_section=section; section=\$ 3};"\
8314 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8315 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8316 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8317 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8318 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8319 " \$ 0!~/External *\|/{next};"\
8320 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8321 " {if(hide[section]) next};"\
8322 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8323 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8324 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8325 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8326 " ' prfx=^$ac_symprfx"
8328 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8330 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8332 # Check to see that the pipe works correctly.
8336 cat > conftest.
$ac_ext <<_LT_EOF
8341 void nm_test_func(void);
8342 void nm_test_func(void){}
8346 int main(){nm_test_var='a';nm_test_func();return(0);}
8349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8350 (eval $ac_compile) 2>&5
8352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8353 test $ac_status = 0; }; then
8354 # Now try to grab the symbols.
8356 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8357 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8360 test $ac_status = 0; } && test -s "$nlist"; then
8361 # Try sorting and uniquifying the output.
8362 if sort "$nlist" |
uniq > "$nlist"T
; then
8363 mv -f "$nlist"T
"$nlist"
8368 # Make sure that we snagged all the symbols we need.
8369 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8370 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8371 cat <<_LT_EOF > conftest.$ac_ext
8372 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8373 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8374 /* DATA imports from DLLs on WIN32 can't be const, because runtime
8375 relocations are performed -- see ld's documentation on pseudo-relocs. */
8376 # define LT_DLSYM_CONST
8377 #elif defined __osf__
8378 /* This system does not cope well with relocations in const data. */
8379 # define LT_DLSYM_CONST
8381 # define LT_DLSYM_CONST const
8389 # Now generate the symbol file.
8390 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8392 cat <<_LT_EOF >> conftest.$ac_ext
8394 /* The mapping between symbol names and symbols. */
8395 LT_DLSYM_CONST struct {
8399 lt__PROGRAM__LTX_preloaded_symbols[] =
8401 { "@PROGRAM@", (void *) 0 },
8403 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8404 cat <<\_LT_EOF
>> conftest.
$ac_ext
8408 /* This works around a problem
in FreeBSD linker
*/
8409 #ifdef FREEBSD_WORKAROUND
8410 static const void
*lt_preloaded_setup
() {
8411 return lt__PROGRAM__LTX_preloaded_symbols
;
8419 # Now try linking the two files.
8420 mv conftest.
$ac_objext conftstm.
$ac_objext
8421 lt_globsym_save_LIBS
=$LIBS
8422 lt_globsym_save_CFLAGS
=$CFLAGS
8423 LIBS
=conftstm.
$ac_objext
8424 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8426 (eval $ac_link) 2>&5
8428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8429 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
8432 LIBS
=$lt_globsym_save_LIBS
8433 CFLAGS
=$lt_globsym_save_CFLAGS
8435 echo "cannot find nm_test_func in $nlist" >&5
8438 echo "cannot find nm_test_var in $nlist" >&5
8441 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8444 echo "$progname: failed program was:" >&5
8445 cat conftest.
$ac_ext >&5
8447 rm -rf conftest
* conftst
*
8449 # Do not use the global_symbol_pipe unless it works.
8450 if test yes = "$pipe_works"; then
8453 lt_cv_sys_global_symbol_pipe
=
8459 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8460 lt_cv_sys_global_symbol_to_cdecl
=
8462 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8464 $as_echo "failed" >&6; }
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8467 $as_echo "ok" >&6; }
8470 # Response file support.
8471 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8472 nm_file_list_spec
='@'
8473 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
8474 nm_file_list_spec
='@'
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8514 $as_echo_n "checking for sysroot... " >&6; }
8516 # Check whether --with-sysroot was given.
8517 if test "${with_sysroot+set}" = set; then :
8518 withval
=$with_sysroot;
8525 case $with_sysroot in #(
8527 if test yes = "$GCC"; then
8528 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
8532 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8538 $as_echo "$with_sysroot" >&6; }
8539 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8544 $as_echo "${lt_sysroot:-no}" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8551 $as_echo_n "checking for a working dd... " >&6; }
8552 if ${ac_cv_path_lt_DD+:} false
; then :
8553 $as_echo_n "(cached) " >&6
8555 printf 0123456789abcdef0123456789abcdef
>conftest.i
8556 cat conftest.i conftest.i
>conftest2.i
8558 if test -z "$lt_DD"; then
8559 ac_path_lt_DD_found
=false
8560 # Loop through the user's path and test for each of PROGNAME-LIST
8561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8565 test -z "$as_dir" && as_dir
=.
8566 for ac_prog
in dd; do
8567 for ac_exec_ext
in '' $ac_executable_extensions; do
8568 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
8569 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
8570 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8571 cmp -s conftest.i conftest.out \
8572 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
8574 $ac_path_lt_DD_found && break 3
8579 if test -z "$ac_cv_path_lt_DD"; then
8583 ac_cv_path_lt_DD
=$lt_DD
8586 rm -f conftest.i conftest2.i conftest.out
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8589 $as_echo "$ac_cv_path_lt_DD" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8593 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8594 if ${lt_cv_truncate_bin+:} false
; then :
8595 $as_echo_n "(cached) " >&6
8597 printf 0123456789abcdef0123456789abcdef
>conftest.i
8598 cat conftest.i conftest.i
>conftest2.i
8600 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
8601 cmp -s conftest.i conftest.out \
8602 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
8604 rm -f conftest.i conftest2.i conftest.out
8605 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8608 $as_echo "$lt_cv_truncate_bin" >&6; }
8616 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
8619 for cc_temp
in $
*""; do
8621 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8622 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8627 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8630 # Check whether --enable-libtool-lock was given.
8631 if test "${enable_libtool_lock+set}" = set; then :
8632 enableval
=$enable_libtool_lock;
8635 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
8637 # Some flags need to be propagated to the compiler or linker for good
8641 # Find out what ABI is being produced by ac_compile, and set mode
8642 # options accordingly.
8643 echo 'int i;' > conftest.
$ac_ext
8644 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8645 (eval $ac_compile) 2>&5
8647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8648 test $ac_status = 0; }; then
8649 case `/usr/bin/file conftest.$ac_objext` in
8661 # Find out what ABI is being produced by ac_compile, and set linker
8662 # options accordingly.
8663 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8665 (eval $ac_compile) 2>&5
8667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8668 test $ac_status = 0; }; then
8669 if test yes = "$lt_cv_prog_gnu_ld"; then
8670 case `/usr/bin/file conftest.$ac_objext` in
8672 LD
="${LD-ld} -melf32bsmip"
8675 LD
="${LD-ld} -melf32bmipn32"
8678 LD
="${LD-ld} -melf64bmip"
8682 case `/usr/bin/file conftest.$ac_objext` in
8699 # Find out what ABI is being produced by ac_compile, and set linker
8700 # options accordingly.
8701 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8703 (eval $ac_compile) 2>&5
8705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8706 test $ac_status = 0; }; then
8708 case `/usr/bin/file conftest.$ac_objext` in
8716 case `/usr/bin/file conftest.$ac_objext` in
8718 emul
="${emul}btsmip"
8721 emul
="${emul}ltsmip"
8724 case `/usr/bin/file conftest.$ac_objext` in
8729 LD
="${LD-ld} -m $emul"
8734 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8735 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8736 # Find out what ABI is being produced by ac_compile, and set linker
8737 # options accordingly. Note that the listed cases only cover the
8738 # situations where additional linker options are needed (such as when
8739 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8740 # vice versa); the common cases where no linker options are needed do
8741 # not appear in the list.
8742 echo 'int i;' > conftest.
$ac_ext
8743 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8744 (eval $ac_compile) 2>&5
8746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8747 test $ac_status = 0; }; then
8748 case `/usr/bin/file conftest.o` in
8751 x86_64-
*kfreebsd
*-gnu)
8752 LD
="${LD-ld} -m elf_i386_fbsd"
8755 case `/usr/bin/file conftest.o` in
8757 LD
="${LD-ld} -m elf32_x86_64"
8760 LD
="${LD-ld} -m elf_i386"
8764 powerpc64le-
*linux
*)
8765 LD
="${LD-ld} -m elf32lppclinux"
8768 LD
="${LD-ld} -m elf32ppclinux"
8771 LD
="${LD-ld} -m elf_s390"
8774 LD
="${LD-ld} -m elf32_sparc"
8780 x86_64-
*kfreebsd
*-gnu)
8781 LD
="${LD-ld} -m elf_x86_64_fbsd"
8784 LD
="${LD-ld} -m elf_x86_64"
8787 LD
="${LD-ld} -m elf64lppc"
8790 LD
="${LD-ld} -m elf64ppc"
8792 s390
*-*linux
*|s390
*-*tpf
*)
8793 LD
="${LD-ld} -m elf64_s390"
8796 LD
="${LD-ld} -m elf64_sparc"
8806 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8808 CFLAGS
="$CFLAGS -belf"
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8810 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8811 if ${lt_cv_cc_needs_belf+:} false
; then :
8812 $as_echo_n "(cached) " >&6
8815 ac_cpp
='$CPP $CPPFLAGS'
8816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8831 if ac_fn_c_try_link
"$LINENO"; then :
8832 lt_cv_cc_needs_belf
=yes
8834 lt_cv_cc_needs_belf
=no
8836 rm -f core conftest.err conftest.
$ac_objext \
8837 conftest
$ac_exeext conftest.
$ac_ext
8839 ac_cpp
='$CPP $CPPFLAGS'
8840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8846 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8847 if test yes != "$lt_cv_cc_needs_belf"; then
8848 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8853 # Find out what ABI is being produced by ac_compile, and set linker
8854 # options accordingly.
8855 echo 'int i;' > conftest.
$ac_ext
8856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8857 (eval $ac_compile) 2>&5
8859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8860 test $ac_status = 0; }; then
8861 case `/usr/bin/file conftest.o` in
8863 case $lt_cv_prog_gnu_ld in
8866 i?
86-*-solaris*|x86_64-
*-solaris*)
8867 LD
="${LD-ld} -m elf_x86_64"
8870 LD
="${LD-ld} -m elf64_sparc"
8873 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8874 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
8879 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8891 need_locks
=$enable_libtool_lock
8893 if test -n "$ac_tool_prefix"; then
8894 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8895 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
8899 $as_echo_n "(cached) " >&6
8901 if test -n "$MANIFEST_TOOL"; then
8902 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
8904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8908 test -z "$as_dir" && as_dir
=.
8909 for ac_exec_ext
in '' $ac_executable_extensions; do
8910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8911 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
8912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8921 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
8922 if test -n "$MANIFEST_TOOL"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8924 $as_echo "$MANIFEST_TOOL" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927 $as_echo "no" >&6; }
8932 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8933 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
8934 # Extract the first word of "mt", so it can be a program name with args.
8935 set dummy mt
; ac_word
=$2
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8937 $as_echo_n "checking for $ac_word... " >&6; }
8938 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 if test -n "$ac_ct_MANIFEST_TOOL"; then
8942 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8951 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8962 if test -n "$ac_ct_MANIFEST_TOOL"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8964 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967 $as_echo "no" >&6; }
8970 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
8973 case $cross_compiling:$ac_tool_warned in
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8977 ac_tool_warned
=yes ;;
8979 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
8982 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
8985 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8987 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8988 if ${lt_cv_path_mainfest_tool+:} false
; then :
8989 $as_echo_n "(cached) " >&6
8991 lt_cv_path_mainfest_tool
=no
8992 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8993 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8994 cat conftest.err
>&5
8995 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8996 lt_cv_path_mainfest_tool
=yes
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9001 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9002 if test yes != "$lt_cv_path_mainfest_tool"; then
9012 rhapsody
* | darwin
*)
9013 if test -n "$ac_tool_prefix"; then
9014 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9015 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9017 $as_echo_n "checking for $ac_word... " >&6; }
9018 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
9019 $as_echo_n "(cached) " >&6
9021 if test -n "$DSYMUTIL"; then
9022 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
9024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9028 test -z "$as_dir" && as_dir
=.
9029 for ac_exec_ext
in '' $ac_executable_extensions; do
9030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9031 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
9032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9041 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
9042 if test -n "$DSYMUTIL"; then
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9044 $as_echo "$DSYMUTIL" >&6; }
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9047 $as_echo "no" >&6; }
9052 if test -z "$ac_cv_prog_DSYMUTIL"; then
9053 ac_ct_DSYMUTIL
=$DSYMUTIL
9054 # Extract the first word of "dsymutil", so it can be a program name with args.
9055 set dummy dsymutil
; ac_word
=$2
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9057 $as_echo_n "checking for $ac_word... " >&6; }
9058 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
9059 $as_echo_n "(cached) " >&6
9061 if test -n "$ac_ct_DSYMUTIL"; then
9062 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
9064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9068 test -z "$as_dir" && as_dir
=.
9069 for ac_exec_ext
in '' $ac_executable_extensions; do
9070 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9071 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
9072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9081 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
9082 if test -n "$ac_ct_DSYMUTIL"; then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9084 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9087 $as_echo "no" >&6; }
9090 if test "x$ac_ct_DSYMUTIL" = x
; then
9093 case $cross_compiling:$ac_tool_warned in
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9097 ac_tool_warned
=yes ;;
9099 DSYMUTIL
=$ac_ct_DSYMUTIL
9102 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
9105 if test -n "$ac_tool_prefix"; then
9106 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9107 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9109 $as_echo_n "checking for $ac_word... " >&6; }
9110 if ${ac_cv_prog_NMEDIT+:} false
; then :
9111 $as_echo_n "(cached) " >&6
9113 if test -n "$NMEDIT"; then
9114 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
9116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir
=.
9121 for ac_exec_ext
in '' $ac_executable_extensions; do
9122 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9123 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9133 NMEDIT
=$ac_cv_prog_NMEDIT
9134 if test -n "$NMEDIT"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9136 $as_echo "$NMEDIT" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9139 $as_echo "no" >&6; }
9144 if test -z "$ac_cv_prog_NMEDIT"; then
9145 ac_ct_NMEDIT
=$NMEDIT
9146 # Extract the first word of "nmedit", so it can be a program name with args.
9147 set dummy nmedit
; ac_word
=$2
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9149 $as_echo_n "checking for $ac_word... " >&6; }
9150 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
9151 $as_echo_n "(cached) " >&6
9153 if test -n "$ac_ct_NMEDIT"; then
9154 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
9156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9160 test -z "$as_dir" && as_dir
=.
9161 for ac_exec_ext
in '' $ac_executable_extensions; do
9162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9163 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
9164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9173 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
9174 if test -n "$ac_ct_NMEDIT"; then
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9176 $as_echo "$ac_ct_NMEDIT" >&6; }
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9179 $as_echo "no" >&6; }
9182 if test "x$ac_ct_NMEDIT" = x
; then
9185 case $cross_compiling:$ac_tool_warned in
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9189 ac_tool_warned
=yes ;;
9191 NMEDIT
=$ac_ct_NMEDIT
9194 NMEDIT
="$ac_cv_prog_NMEDIT"
9197 if test -n "$ac_tool_prefix"; then
9198 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9199 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9201 $as_echo_n "checking for $ac_word... " >&6; }
9202 if ${ac_cv_prog_LIPO+:} false
; then :
9203 $as_echo_n "(cached) " >&6
9205 if test -n "$LIPO"; then
9206 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
9208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9212 test -z "$as_dir" && as_dir
=.
9213 for ac_exec_ext
in '' $ac_executable_extensions; do
9214 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9215 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
9216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9225 LIPO
=$ac_cv_prog_LIPO
9226 if test -n "$LIPO"; then
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9228 $as_echo "$LIPO" >&6; }
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231 $as_echo "no" >&6; }
9236 if test -z "$ac_cv_prog_LIPO"; then
9238 # Extract the first word of "lipo", so it can be a program name with args.
9239 set dummy lipo
; ac_word
=$2
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9241 $as_echo_n "checking for $ac_word... " >&6; }
9242 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
9243 $as_echo_n "(cached) " >&6
9245 if test -n "$ac_ct_LIPO"; then
9246 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
9248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9252 test -z "$as_dir" && as_dir
=.
9253 for ac_exec_ext
in '' $ac_executable_extensions; do
9254 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_ac_ct_LIPO
="lipo"
9256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9265 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
9266 if test -n "$ac_ct_LIPO"; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9268 $as_echo "$ac_ct_LIPO" >&6; }
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 $as_echo "no" >&6; }
9274 if test "x$ac_ct_LIPO" = x
; then
9277 case $cross_compiling:$ac_tool_warned in
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9281 ac_tool_warned
=yes ;;
9286 LIPO
="$ac_cv_prog_LIPO"
9289 if test -n "$ac_tool_prefix"; then
9290 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9291 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 $as_echo_n "checking for $ac_word... " >&6; }
9294 if ${ac_cv_prog_OTOOL+:} false
; then :
9295 $as_echo_n "(cached) " >&6
9297 if test -n "$OTOOL"; then
9298 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
9300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9304 test -z "$as_dir" && as_dir
=.
9305 for ac_exec_ext
in '' $ac_executable_extensions; do
9306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9307 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
9308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9317 OTOOL
=$ac_cv_prog_OTOOL
9318 if test -n "$OTOOL"; then
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9320 $as_echo "$OTOOL" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9323 $as_echo "no" >&6; }
9328 if test -z "$ac_cv_prog_OTOOL"; then
9330 # Extract the first word of "otool", so it can be a program name with args.
9331 set dummy otool
; ac_word
=$2
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9333 $as_echo_n "checking for $ac_word... " >&6; }
9334 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
9335 $as_echo_n "(cached) " >&6
9337 if test -n "$ac_ct_OTOOL"; then
9338 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
9340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9344 test -z "$as_dir" && as_dir
=.
9345 for ac_exec_ext
in '' $ac_executable_extensions; do
9346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9347 ac_cv_prog_ac_ct_OTOOL
="otool"
9348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9357 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9358 if test -n "$ac_ct_OTOOL"; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9360 $as_echo "$ac_ct_OTOOL" >&6; }
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9363 $as_echo "no" >&6; }
9366 if test "x$ac_ct_OTOOL" = x
; then
9369 case $cross_compiling:$ac_tool_warned in
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9373 ac_tool_warned
=yes ;;
9378 OTOOL
="$ac_cv_prog_OTOOL"
9381 if test -n "$ac_tool_prefix"; then
9382 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9383 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9385 $as_echo_n "checking for $ac_word... " >&6; }
9386 if ${ac_cv_prog_OTOOL64+:} false
; then :
9387 $as_echo_n "(cached) " >&6
9389 if test -n "$OTOOL64"; then
9390 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9396 test -z "$as_dir" && as_dir
=.
9397 for ac_exec_ext
in '' $ac_executable_extensions; do
9398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9399 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9409 OTOOL64
=$ac_cv_prog_OTOOL64
9410 if test -n "$OTOOL64"; then
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9412 $as_echo "$OTOOL64" >&6; }
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9415 $as_echo "no" >&6; }
9420 if test -z "$ac_cv_prog_OTOOL64"; then
9421 ac_ct_OTOOL64
=$OTOOL64
9422 # Extract the first word of "otool64", so it can be a program name with args.
9423 set dummy otool64
; ac_word
=$2
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9425 $as_echo_n "checking for $ac_word... " >&6; }
9426 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9427 $as_echo_n "(cached) " >&6
9429 if test -n "$ac_ct_OTOOL64"; then
9430 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9436 test -z "$as_dir" && as_dir
=.
9437 for ac_exec_ext
in '' $ac_executable_extensions; do
9438 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9439 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9449 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9450 if test -n "$ac_ct_OTOOL64"; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9452 $as_echo "$ac_ct_OTOOL64" >&6; }
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9455 $as_echo "no" >&6; }
9458 if test "x$ac_ct_OTOOL64" = x
; then
9461 case $cross_compiling:$ac_tool_warned in
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9465 ac_tool_warned
=yes ;;
9467 OTOOL64
=$ac_ct_OTOOL64
9470 OTOOL64
="$ac_cv_prog_OTOOL64"
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9500 $as_echo_n "checking for -single_module linker flag... " >&6; }
9501 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9502 $as_echo_n "(cached) " >&6
9504 lt_cv_apple_cc_single_mod
=no
9505 if test -z "$LT_MULTI_MODULE"; then
9506 # By default we will add the -single_module flag. You can override
9507 # by either setting the environment variable LT_MULTI_MODULE
9508 # non-empty at configure time, or by adding -multi_module to the
9510 rm -rf libconftest.dylib
*
9511 echo "int foo(void){return 1;}" > conftest.c
9512 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9513 -dynamiclib -Wl,-single_module conftest.c" >&5
9514 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9515 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9517 # If there is a non-empty error log, and "single_module"
9518 # appears in it, assume the flag caused a linker warning
9519 if test -s conftest.err
&& $GREP single_module conftest.err
; then
9520 cat conftest.err
>&5
9521 # Otherwise, if the output was created with a 0 exit code from
9522 # the compiler, it worked.
9523 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
9524 lt_cv_apple_cc_single_mod
=yes
9526 cat conftest.err
>&5
9528 rm -rf libconftest.dylib
*
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9533 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9536 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9537 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9538 $as_echo_n "(cached) " >&6
9540 lt_cv_ld_exported_symbols_list
=no
9541 save_LDFLAGS
=$LDFLAGS
9542 echo "_main" > conftest.sym
9543 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9545 /* end confdefs.h. */
9555 if ac_fn_c_try_link
"$LINENO"; then :
9556 lt_cv_ld_exported_symbols_list
=yes
9558 lt_cv_ld_exported_symbols_list
=no
9560 rm -f core conftest.err conftest.
$ac_objext \
9561 conftest
$ac_exeext conftest.
$ac_ext
9562 LDFLAGS
=$save_LDFLAGS
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9566 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9569 $as_echo_n "checking for -force_load linker flag... " >&6; }
9570 if ${lt_cv_ld_force_load+:} false
; then :
9571 $as_echo_n "(cached) " >&6
9573 lt_cv_ld_force_load
=no
9574 cat > conftest.c
<< _LT_EOF
9575 int forced_loaded() { return 2;}
9577 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9578 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9579 echo "$AR cru libconftest.a conftest.o" >&5
9580 $AR cru libconftest.a conftest.o
2>&5
9581 echo "$RANLIB libconftest.a" >&5
9582 $RANLIB libconftest.a
2>&5
9583 cat > conftest.c
<< _LT_EOF
9584 int main() { return 0;}
9586 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9587 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9589 if test -s conftest.err
&& $GREP force_load conftest.err
; then
9590 cat conftest.err
>&5
9591 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
9592 lt_cv_ld_force_load
=yes
9594 cat conftest.err
>&5
9596 rm -f conftest.err libconftest.a conftest conftest.c
9597 rm -rf conftest.dSYM
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9601 $as_echo "$lt_cv_ld_force_load" >&6; }
9603 rhapsody
* | darwin1.
[012])
9604 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
9606 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9607 darwin
*) # darwin 5.x on
9608 # if running on 10.5 or later, the deployment target defaults
9609 # to the OS version, if on x86, and 10.4, the deployment
9610 # target defaults to 10.4. Don't you love it?
9611 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9612 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9613 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9615 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9617 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
9621 if test yes = "$lt_cv_apple_cc_single_mod"; then
9622 _lt_dar_single_mod
='$single_module'
9624 if test yes = "$lt_cv_ld_exported_symbols_list"; then
9625 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9627 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9629 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
9630 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9637 # func_munge_path_list VARIABLE PATH
9638 # -----------------------------------
9639 # VARIABLE is name of variable containing _space_ separated list of
9640 # directories to be munged by the contents of PATH, which is string
9643 # string "DIR[ DIR]" will be prepended to VARIABLE
9645 # string "DIR[ DIR]" will be appended to VARIABLE
9646 # "DIRP[:DIRP]::[DIRA:]DIRA"
9647 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9648 # "DIRA[ DIRA]" will be appended to VARIABLE
9650 # VARIABLE will be replaced by "DIR[ DIR]"
9651 func_munge_path_list
()
9657 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
9660 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9663 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9664 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
9667 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9674 $as_echo_n "checking for ANSI C header files... " >&6; }
9675 if ${ac_cv_header_stdc+:} false
; then :
9676 $as_echo_n "(cached) " >&6
9678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9693 if ac_fn_c_try_compile
"$LINENO"; then :
9694 ac_cv_header_stdc
=yes
9696 ac_cv_header_stdc
=no
9698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9700 if test $ac_cv_header_stdc = yes; then
9701 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9708 $EGREP "memchr" >/dev
/null
2>&1; then :
9711 ac_cv_header_stdc
=no
9717 if test $ac_cv_header_stdc = yes; then
9718 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9725 $EGREP "free" >/dev
/null
2>&1; then :
9728 ac_cv_header_stdc
=no
9734 if test $ac_cv_header_stdc = yes; then
9735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9736 if test "$cross_compiling" = yes; then :
9739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h. */
9743 #if ((' ' & 0x0FF) == 0x020)
9744 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9745 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9747 # define ISLOWER(c) \
9748 (('a' <= (c) && (c) <= 'i') \
9749 || ('j' <= (c) && (c) <= 'r') \
9750 || ('s' <= (c) && (c) <= 'z'))
9751 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9754 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9759 for (i = 0; i < 256; i++)
9760 if (XOR (islower (i), ISLOWER (i))
9761 || toupper (i) != TOUPPER (i))
9766 if ac_fn_c_try_run
"$LINENO"; then :
9769 ac_cv_header_stdc
=no
9771 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9772 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9778 $as_echo "$ac_cv_header_stdc" >&6; }
9779 if test $ac_cv_header_stdc = yes; then
9781 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9785 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9786 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9787 inttypes.h stdint.h unistd.h
9789 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9790 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9792 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9793 cat >>confdefs.h
<<_ACEOF
9794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9802 for ac_header
in dlfcn.h
9804 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9806 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9807 cat >>confdefs.h
<<_ACEOF
9808 #define HAVE_DLFCN_H 1
9829 # Check whether --enable-shared was given.
9830 if test "${enable_shared+set}" = set; then :
9831 enableval
=$enable_shared; p
=${PACKAGE-default}
9833 yes) enable_shared
=yes ;;
9834 no
) enable_shared
=no
;;
9837 # Look at the argument we got. We use all the common list separators.
9838 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9839 for pkg
in $enableval; do
9841 if test "X$pkg" = "X$p"; then
9860 # Check whether --enable-static was given.
9861 if test "${enable_static+set}" = set; then :
9862 enableval
=$enable_static; p
=${PACKAGE-default}
9864 yes) enable_static
=yes ;;
9865 no
) enable_static
=no
;;
9868 # Look at the argument we got. We use all the common list separators.
9869 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9870 for pkg
in $enableval; do
9872 if test "X$pkg" = "X$p"; then
9892 # Check whether --with-pic was given.
9893 if test "${with_pic+set}" = set; then :
9894 withval
=$with_pic; lt_p
=${PACKAGE-default}
9896 yes|no
) pic_mode
=$withval ;;
9899 # Look at the argument we got. We use all the common list separators.
9900 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9901 for lt_pkg
in $withval; do
9903 if test "X$lt_pkg" = "X$lt_p"; then
9921 # Check whether --enable-fast-install was given.
9922 if test "${enable_fast_install+set}" = set; then :
9923 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9925 yes) enable_fast_install
=yes ;;
9926 no
) enable_fast_install
=no
;;
9928 enable_fast_install
=no
9929 # Look at the argument we got. We use all the common list separators.
9930 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
9931 for pkg
in $enableval; do
9933 if test "X$pkg" = "X$p"; then
9934 enable_fast_install
=yes
9941 enable_fast_install
=yes
9951 shared_archive_member_spec
=
9952 case $host,$enable_shared in
9953 power
*-*-aix[5-9]*,yes)
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9955 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9957 # Check whether --with-aix-soname was given.
9958 if test "${with_aix_soname+set}" = set; then :
9959 withval
=$with_aix_soname; case $withval in
9963 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
9966 lt_cv_with_aix_soname
=$with_aix_soname
9968 if ${lt_cv_with_aix_soname+:} false
; then :
9969 $as_echo_n "(cached) " >&6
9971 lt_cv_with_aix_soname
=aix
9974 with_aix_soname
=$lt_cv_with_aix_soname
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9978 $as_echo "$with_aix_soname" >&6; }
9979 if test aix
!= "$with_aix_soname"; then
9980 # For the AIX way of multilib, we name the shared archive member
9981 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9982 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9983 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9984 # the AIX toolchain works better with OBJECT_MODE set (default 32).
9985 if test 64 = "${OBJECT_MODE-32}"; then
9986 shared_archive_member_spec
=shr_64
9988 shared_archive_member_spec
=shr
10006 # This can be used to rebuild libtool when needed
10007 LIBTOOL_DEPS
=$ltmain
10009 # Always use our own libtool.
10010 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10041 test -z "$LN_S" && LN_S
="ln -s"
10056 if test -n "${ZSH_VERSION+set}"; then
10057 setopt NO_GLOB_SUBST
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10061 $as_echo_n "checking for objdir... " >&6; }
10062 if ${lt_cv_objdir+:} false
; then :
10063 $as_echo_n "(cached) " >&6
10065 rm -f .libs
2>/dev
/null
10066 mkdir .libs
2>/dev
/null
10067 if test -d .libs
; then
10070 # MS-DOS does not allow filenames that begin with a dot.
10073 rmdir .libs
2>/dev
/null
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10076 $as_echo "$lt_cv_objdir" >&6; }
10077 objdir
=$lt_cv_objdir
10083 cat >>confdefs.h
<<_ACEOF
10084 #define LT_OBJDIR "$lt_cv_objdir/"
10092 # AIX sometimes has problems with the GCC collect2 program. For some
10093 # reason, if we set the COLLECT_NAMES environment variable, the problems
10094 # vanish in a puff of smoke.
10095 if test set != "${COLLECT_NAMES+set}"; then
10097 export COLLECT_NAMES
10102 # Global variables:
10104 can_build_shared
=yes
10106 # All known linkers require a '.a' archive for static linking (except MSVC,
10107 # which needs '.lib').
10110 with_gnu_ld
=$lt_cv_prog_gnu_ld
10115 # Set sane defaults for various variables
10116 test -z "$CC" && CC
=cc
10117 test -z "$LTCC" && LTCC
=$CC
10118 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10119 test -z "$LD" && LD
=ld
10120 test -z "$ac_objext" && ac_objext
=o
10122 func_cc_basename
$compiler
10123 cc_basename
=$func_cc_basename_result
10126 # Only perform the check for file, if the check method requires it
10127 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10128 case $deplibs_check_method in
10130 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10132 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10133 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10134 $as_echo_n "(cached) " >&6
10138 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10141 lt_save_MAGIC_CMD
=$MAGIC_CMD
10142 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10143 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10144 for ac_dir
in $ac_dummy; do
10146 test -z "$ac_dir" && ac_dir
=.
10147 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10148 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
10149 if test -n "$file_magic_test_file"; then
10150 case $deplibs_check_method in
10152 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10153 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10154 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10155 $EGREP "$file_magic_regex" > /dev
/null
; then
10160 *** Warning: the command libtool uses to detect shared libraries,
10161 *** $file_magic_cmd, produces output that libtool cannot recognize.
10162 *** The result is that libtool may fail to recognize shared libraries
10163 *** as such. This will affect the creation of libtool libraries that
10164 *** depend on shared libraries, but programs linked with such libtool
10165 *** libraries will work regardless of this problem. Nevertheless, you
10166 *** may want to report the problem to your system manager and/or to
10167 *** bug-libtool@gnu.org
10177 MAGIC_CMD
=$lt_save_MAGIC_CMD
10182 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10183 if test -n "$MAGIC_CMD"; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10185 $as_echo "$MAGIC_CMD" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10188 $as_echo "no" >&6; }
10195 if test -z "$lt_cv_path_MAGIC_CMD"; then
10196 if test -n "$ac_tool_prefix"; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10198 $as_echo_n "checking for file... " >&6; }
10199 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
10200 $as_echo_n "(cached) " >&6
10204 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
10207 lt_save_MAGIC_CMD
=$MAGIC_CMD
10208 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
10209 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10210 for ac_dir
in $ac_dummy; do
10212 test -z "$ac_dir" && ac_dir
=.
10213 if test -f "$ac_dir/file"; then
10214 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
10215 if test -n "$file_magic_test_file"; then
10216 case $deplibs_check_method in
10218 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10219 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10220 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10221 $EGREP "$file_magic_regex" > /dev
/null
; then
10226 *** Warning: the command libtool uses to detect shared libraries,
10227 *** $file_magic_cmd, produces output that libtool cannot recognize.
10228 *** The result is that libtool may fail to recognize shared libraries
10229 *** as such. This will affect the creation of libtool libraries that
10230 *** depend on shared libraries, but programs linked with such libtool
10231 *** libraries will work regardless of this problem. Nevertheless, you
10232 *** may want to report the problem to your system manager and/or to
10233 *** bug-libtool@gnu.org
10243 MAGIC_CMD
=$lt_save_MAGIC_CMD
10248 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
10249 if test -n "$MAGIC_CMD"; then
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10251 $as_echo "$MAGIC_CMD" >&6; }
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10254 $as_echo "no" >&6; }
10267 # Use C for the default configuration in the libtool script
10271 ac_cpp
='$CPP $CPPFLAGS'
10272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10277 # Source file extension for C test sources.
10280 # Object file extension for compiled C test sources.
10284 # Code to be used in simple compile tests
10285 lt_simple_compile_test_code
="int some_variable = 0;"
10287 # Code to be used in simple link tests
10288 lt_simple_link_test_code
='int main(){return(0);}'
10296 # If no C compiler was specified, use CC.
10299 # If no C compiler flags were specified, use CFLAGS.
10300 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10302 # Allow CC to be a program name with arguments.
10305 # Save the default compiler, since it gets overwritten when the other
10306 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10307 compiler_DEFAULT
=$CC
10309 # save warnings/boilerplate of simple test code
10310 ac_outfile
=conftest.
$ac_objext
10311 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10312 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10313 _lt_compiler_boilerplate
=`cat conftest.err`
10316 ac_outfile
=conftest.
$ac_objext
10317 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10318 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10319 _lt_linker_boilerplate
=`cat conftest.err`
10324 ## There is no encapsulation within the following macros, do not change
10325 ## the running order or otherwise move them around unless you know exactly
10326 ## what you are doing...
10327 if test -n "$compiler"; then
10329 lt_prog_compiler_no_builtin_flag
=
10331 if test yes = "$GCC"; then
10332 case $cc_basename in
10334 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10336 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10340 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10341 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
10342 $as_echo_n "(cached) " >&6
10344 lt_cv_prog_compiler_rtti_exceptions
=no
10345 ac_outfile
=conftest.
$ac_objext
10346 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10347 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10348 # Insert the option either (1) after the last *FLAGS variable, or
10349 # (2) before a word containing "conftest.", or (3) at the end.
10350 # Note that $ac_compile itself does not contain backslashes and begins
10351 # with a dollar sign (not a hyphen), so the echo should work correctly.
10352 # The option is referenced via a variable to avoid confusing sed.
10353 lt_compile
=`echo "$ac_compile" | $SED \
10354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10356 -e 's:$: $lt_compiler_flag:'`
10357 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10358 (eval "$lt_compile" 2>conftest.err
)
10360 cat conftest.err
>&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 if (exit $ac_status) && test -s "$ac_outfile"; then
10363 # The compiler can only warn and ignore the option if not recognized
10364 # So say no if there are warnings other than the usual output.
10365 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10366 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10367 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10368 lt_cv_prog_compiler_rtti_exceptions
=yes
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10375 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10377 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10378 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10390 lt_prog_compiler_wl
=
10391 lt_prog_compiler_pic
=
10392 lt_prog_compiler_static
=
10395 if test yes = "$GCC"; then
10396 lt_prog_compiler_wl
='-Wl,'
10397 lt_prog_compiler_static
='-static'
10401 # All AIX code is PIC.
10402 if test ia64
= "$host_cpu"; then
10403 # AIX 5 now supports IA64 processor
10404 lt_prog_compiler_static
='-Bstatic'
10406 lt_prog_compiler_pic
='-fPIC'
10412 # see comment about AmigaOS4 .so support
10413 lt_prog_compiler_pic
='-fPIC'
10416 # FIXME: we need at least 68020 code to build shared libraries, but
10417 # adding the '-m68020' flag to GCC prevents building anything better,
10419 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10424 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10425 # PIC is the default for these OSes.
10428 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10429 # This hack is so that the source file can tell whether it is being
10430 # built for inclusion in a dll (and should export symbols for example).
10431 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10432 # (--disable-auto-import) libraries
10433 lt_prog_compiler_pic
='-DDLL_EXPORT'
10436 lt_prog_compiler_static
='$wl-static'
10441 darwin
* | rhapsody
*)
10442 # PIC is the default on this platform
10443 # Common symbols not allowed in MH_DYLIB files
10444 lt_prog_compiler_pic
='-fno-common'
10448 # PIC is the default for Haiku.
10449 # The "-static" flag exists, but is broken.
10450 lt_prog_compiler_static
=
10454 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10455 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10456 # sets the default TLS model and affects inlining.
10462 lt_prog_compiler_pic
='-fPIC'
10468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10469 # Instead, we relocate shared libraries at runtime.
10473 # Just because we use GCC doesn't mean we suddenly get shared libraries
10474 # on systems that don't support them.
10475 lt_prog_compiler_can_build_shared
=no
10480 # QNX uses GNU C++, but need to define -shared option too, otherwise
10481 # it will coredump.
10482 lt_prog_compiler_pic
='-fPIC -shared'
10486 if test -d /usr
/nec
; then
10487 lt_prog_compiler_pic
=-Kconform_pic
10492 lt_prog_compiler_pic
='-fPIC'
10496 case $cc_basename in
10497 nvcc
*) # Cuda Compiler Driver 2.2
10498 lt_prog_compiler_wl
='-Xlinker '
10499 if test -n "$lt_prog_compiler_pic"; then
10500 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
10505 # PORTME Check for flag to pass linker flags through the system compiler.
10508 lt_prog_compiler_wl
='-Wl,'
10509 if test ia64
= "$host_cpu"; then
10510 # AIX 5 now supports IA64 processor
10511 lt_prog_compiler_static
='-Bstatic'
10513 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10517 darwin
* | rhapsody
*)
10518 # PIC is the default on this platform
10519 # Common symbols not allowed in MH_DYLIB files
10520 lt_prog_compiler_pic
='-fno-common'
10521 case $cc_basename in
10523 # NAG Fortran compiler
10524 lt_prog_compiler_wl
='-Wl,-Wl,,'
10525 lt_prog_compiler_pic
='-PIC'
10526 lt_prog_compiler_static
='-Bstatic'
10531 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10532 # This hack is so that the source file can tell whether it is being
10533 # built for inclusion in a dll (and should export symbols for example).
10534 lt_prog_compiler_pic
='-DDLL_EXPORT'
10537 lt_prog_compiler_static
='$wl-static'
10542 hpux9
* | hpux10
* | hpux11
*)
10543 lt_prog_compiler_wl
='-Wl,'
10544 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10545 # not for PA HP-UX.
10551 lt_prog_compiler_pic
='+Z'
10554 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10555 lt_prog_compiler_static
='$wl-a ${wl}archive'
10558 irix5
* | irix6
* | nonstopux
*)
10559 lt_prog_compiler_wl
='-Wl,'
10560 # PIC (with -KPIC) is the default.
10561 lt_prog_compiler_static
='-non_shared'
10564 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
10565 case $cc_basename in
10566 # old Intel for x86_64, which still supported -KPIC.
10568 lt_prog_compiler_wl
='-Wl,'
10569 lt_prog_compiler_pic
='-KPIC'
10570 lt_prog_compiler_static
='-static'
10572 # icc used to be incompatible with GCC.
10573 # ICC 10 doesn't accept -KPIC any more.
10575 lt_prog_compiler_wl
='-Wl,'
10576 lt_prog_compiler_pic
='-fPIC'
10577 lt_prog_compiler_static
='-static'
10579 # Lahey Fortran 8.1.
10581 lt_prog_compiler_wl
='-Wl,'
10582 lt_prog_compiler_pic
='--shared'
10583 lt_prog_compiler_static
='--static'
10586 # NAG Fortran compiler
10587 lt_prog_compiler_wl
='-Wl,-Wl,,'
10588 lt_prog_compiler_pic
='-PIC'
10589 lt_prog_compiler_static
='-Bstatic'
10592 # Fabrice Bellard et al's Tiny C Compiler
10593 lt_prog_compiler_wl
='-Wl,'
10594 lt_prog_compiler_pic
='-fPIC'
10595 lt_prog_compiler_static
='-static'
10597 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10598 # Portland Group compilers (*not* the Pentium gcc compiler,
10599 # which looks to be a dead project)
10600 lt_prog_compiler_wl
='-Wl,'
10601 lt_prog_compiler_pic
='-fpic'
10602 lt_prog_compiler_static
='-Bstatic'
10605 lt_prog_compiler_wl
='-Wl,'
10606 # All Alpha code is PIC.
10607 lt_prog_compiler_static
='-non_shared'
10609 xl
* | bgxl
* | bgf
* | mpixl
*)
10610 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10611 lt_prog_compiler_wl
='-Wl,'
10612 lt_prog_compiler_pic
='-qpic'
10613 lt_prog_compiler_static
='-qstaticlink'
10616 case `$CC -V 2>&1 | sed 5q` in
10617 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
10618 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10619 lt_prog_compiler_pic
='-KPIC'
10620 lt_prog_compiler_static
='-Bstatic'
10621 lt_prog_compiler_wl
=''
10623 *Sun\ F
* |
*Sun
*Fortran
*)
10624 lt_prog_compiler_pic
='-KPIC'
10625 lt_prog_compiler_static
='-Bstatic'
10626 lt_prog_compiler_wl
='-Qoption ld '
10630 lt_prog_compiler_pic
='-KPIC'
10631 lt_prog_compiler_static
='-Bstatic'
10632 lt_prog_compiler_wl
='-Wl,'
10634 *Intel
*\
[CF
]*Compiler
*)
10635 lt_prog_compiler_wl
='-Wl,'
10636 lt_prog_compiler_pic
='-fPIC'
10637 lt_prog_compiler_static
='-static'
10640 lt_prog_compiler_wl
='-Wl,'
10641 lt_prog_compiler_pic
='-fpic'
10642 lt_prog_compiler_static
='-Bstatic'
10650 lt_prog_compiler_pic
='-KPIC'
10651 lt_prog_compiler_static
='-Bstatic'
10655 # QNX uses GNU C++, but need to define -shared option too, otherwise
10656 # it will coredump.
10657 lt_prog_compiler_pic
='-fPIC -shared'
10660 osf3
* | osf4
* | osf5
*)
10661 lt_prog_compiler_wl
='-Wl,'
10662 # All OSF/1 code is PIC.
10663 lt_prog_compiler_static
='-non_shared'
10667 lt_prog_compiler_static
='-non_shared'
10671 lt_prog_compiler_pic
='-KPIC'
10672 lt_prog_compiler_static
='-Bstatic'
10673 case $cc_basename in
10674 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
10675 lt_prog_compiler_wl
='-Qoption ld ';;
10677 lt_prog_compiler_wl
='-Wl,';;
10682 lt_prog_compiler_wl
='-Qoption ld '
10683 lt_prog_compiler_pic
='-PIC'
10684 lt_prog_compiler_static
='-Bstatic'
10687 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10688 lt_prog_compiler_wl
='-Wl,'
10689 lt_prog_compiler_pic
='-KPIC'
10690 lt_prog_compiler_static
='-Bstatic'
10694 if test -d /usr
/nec
; then
10695 lt_prog_compiler_pic
='-Kconform_pic'
10696 lt_prog_compiler_static
='-Bstatic'
10700 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10701 lt_prog_compiler_wl
='-Wl,'
10702 lt_prog_compiler_pic
='-KPIC'
10703 lt_prog_compiler_static
='-Bstatic'
10707 lt_prog_compiler_wl
='-Wl,'
10708 lt_prog_compiler_can_build_shared
=no
10712 lt_prog_compiler_pic
='-pic'
10713 lt_prog_compiler_static
='-Bstatic'
10717 lt_prog_compiler_can_build_shared
=no
10723 # For platforms that do not support PIC, -DPIC is meaningless:
10725 lt_prog_compiler_pic
=
10728 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10733 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10734 if ${lt_cv_prog_compiler_pic+:} false
; then :
10735 $as_echo_n "(cached) " >&6
10737 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10740 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10741 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10744 # Check to make sure the PIC flag actually works.
10746 if test -n "$lt_prog_compiler_pic"; then
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10748 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10749 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10750 $as_echo_n "(cached) " >&6
10752 lt_cv_prog_compiler_pic_works
=no
10753 ac_outfile
=conftest.
$ac_objext
10754 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10755 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10756 # Insert the option either (1) after the last *FLAGS variable, or
10757 # (2) before a word containing "conftest.", or (3) at the end.
10758 # Note that $ac_compile itself does not contain backslashes and begins
10759 # with a dollar sign (not a hyphen), so the echo should work correctly.
10760 # The option is referenced via a variable to avoid confusing sed.
10761 lt_compile
=`echo "$ac_compile" | $SED \
10762 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10763 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10764 -e 's:$: $lt_compiler_flag:'`
10765 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10766 (eval "$lt_compile" 2>conftest.err
)
10768 cat conftest.err
>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 if (exit $ac_status) && test -s "$ac_outfile"; then
10771 # The compiler can only warn and ignore the option if not recognized
10772 # So say no if there are warnings other than the usual output.
10773 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10774 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10775 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10776 lt_cv_prog_compiler_pic_works
=yes
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10783 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10785 if test yes = "$lt_cv_prog_compiler_pic_works"; then
10786 case $lt_prog_compiler_pic in
10788 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10791 lt_prog_compiler_pic
=
10792 lt_prog_compiler_can_build_shared
=no
10808 # Check to make sure the static flag actually works.
10810 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10813 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10814 $as_echo_n "(cached) " >&6
10816 lt_cv_prog_compiler_static_works
=no
10817 save_LDFLAGS
=$LDFLAGS
10818 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10819 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10820 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10821 # The linker can only warn and ignore the option if not recognized
10822 # So say no if there are warnings
10823 if test -s conftest.err
; then
10824 # Append any errors to the config.log.
10825 cat conftest.err
1>&5
10826 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10827 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10828 if diff conftest.exp conftest.er2
>/dev
/null
; then
10829 lt_cv_prog_compiler_static_works
=yes
10832 lt_cv_prog_compiler_static_works
=yes
10836 LDFLAGS
=$save_LDFLAGS
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10840 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10842 if test yes = "$lt_cv_prog_compiler_static_works"; then
10845 lt_prog_compiler_static
=
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10855 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10856 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10857 $as_echo_n "(cached) " >&6
10859 lt_cv_prog_compiler_c_o
=no
10860 $RM -r conftest
2>/dev
/null
10864 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10866 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10867 # Insert the option either (1) after the last *FLAGS variable, or
10868 # (2) before a word containing "conftest.", or (3) at the end.
10869 # Note that $ac_compile itself does not contain backslashes and begins
10870 # with a dollar sign (not a hyphen), so the echo should work correctly.
10871 lt_compile
=`echo "$ac_compile" | $SED \
10872 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10873 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10874 -e 's:$: $lt_compiler_flag:'`
10875 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10876 (eval "$lt_compile" 2>out
/conftest.err
)
10878 cat out
/conftest.err
>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10882 # The compiler can only warn and ignore the option if not recognized
10883 # So say no if there are warnings
10884 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10885 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10886 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10887 lt_cv_prog_compiler_c_o
=yes
10892 # SGI C++ compiler will create directory out/ii_files/ for
10893 # template instantiation
10894 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10895 $RM out
/* && rmdir out
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10902 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10910 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10911 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10912 $as_echo_n "(cached) " >&6
10914 lt_cv_prog_compiler_c_o
=no
10915 $RM -r conftest
2>/dev
/null
10919 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10921 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10922 # Insert the option either (1) after the last *FLAGS variable, or
10923 # (2) before a word containing "conftest.", or (3) at the end.
10924 # Note that $ac_compile itself does not contain backslashes and begins
10925 # with a dollar sign (not a hyphen), so the echo should work correctly.
10926 lt_compile
=`echo "$ac_compile" | $SED \
10927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10929 -e 's:$: $lt_compiler_flag:'`
10930 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10931 (eval "$lt_compile" 2>out
/conftest.err
)
10933 cat out
/conftest.err
>&5
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10937 # The compiler can only warn and ignore the option if not recognized
10938 # So say no if there are warnings
10939 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10940 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10941 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10942 lt_cv_prog_compiler_c_o
=yes
10947 # SGI C++ compiler will create directory out/ii_files/ for
10948 # template instantiation
10949 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10950 $RM out
/* && rmdir out
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10957 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10962 hard_links
=nottested
10963 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
10964 # do not overwrite the value of need_locks provided by the user
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10966 $as_echo_n "checking if we can lock with hard links... " >&6; }
10969 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10971 ln conftest.a conftest.b
2>&5 || hard_links
=no
10972 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10974 $as_echo "$hard_links" >&6; }
10975 if test no
= "$hard_links"; then
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10977 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10990 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10993 allow_undefined_flag
=
10994 always_export_symbols
=no
10996 archive_expsym_cmds
=
10997 compiler_needs_object
=no
10998 enable_shared_with_static_runtimes
=no
10999 export_dynamic_flag_spec
=
11000 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11001 hardcode_automatic
=no
11003 hardcode_direct_absolute
=no
11004 hardcode_libdir_flag_spec
=
11005 hardcode_libdir_separator
=
11006 hardcode_minus_L
=no
11007 hardcode_shlibpath_var
=unsupported
11009 link_all_deplibs
=unknown
11011 module_expsym_cmds
=
11012 old_archive_from_new_cmds
=
11013 old_archive_from_expsyms_cmds
=
11014 thread_safe_flag_spec
=
11015 whole_archive_flag_spec
=
11016 # include_expsyms should be a list of space-separated symbols to be *always*
11017 # included in the symbol list
11019 # exclude_expsyms can be an extended regexp of symbols to exclude
11020 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11021 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11022 # as well as any symbol that contains 'd'.
11023 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11024 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11025 # platforms (ab)use it in PIC code, but their linkers get confused if
11026 # the symbol is explicitly referenced. Since portable code cannot
11027 # rely on this symbol name, it's probably fine to never include it in
11028 # preloaded symbol tables.
11029 # Exclude shared library initialization/finalization symbols.
11030 extract_expsyms_cmds
=
11033 cygwin
* | mingw
* | pw32
* | cegcc
*)
11034 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11035 # When not using gcc, we currently assume that we are using
11036 # Microsoft Visual C++.
11037 if test yes != "$GCC"; then
11042 # we just hope/assume this is gcc and not c89 (= MSVC++)
11045 openbsd
* | bitrig
*)
11052 # On some targets, GNU ld is compatible enough with the native linker
11053 # that we're better off using the native interface for both.
11054 lt_use_gnu_ld_interface
=no
11055 if test yes = "$with_gnu_ld"; then
11058 # The AIX port of GNU ld has always aspired to compatibility
11059 # with the native linker. However, as the warning in the GNU ld
11060 # block says, versions before 2.19.5* couldn't really create working
11061 # shared libraries, regardless of the interface used.
11062 case `$LD -v 2>&1` in
11063 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
11064 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
11065 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
11067 lt_use_gnu_ld_interface
=yes
11072 lt_use_gnu_ld_interface
=yes
11077 if test yes = "$lt_use_gnu_ld_interface"; then
11078 # If archive_cmds runs LD, not CC, wlarc should be empty
11081 # Set some defaults for GNU ld with shared library support. These
11082 # are reset later if shared libraries are not supported. Putting them
11083 # here allows them to be overridden if necessary.
11084 runpath_var
=LD_RUN_PATH
11085 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11086 export_dynamic_flag_spec
='$wl--export-dynamic'
11087 # ancient GNU ld didn't support --whole-archive et. al.
11088 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11089 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11091 whole_archive_flag_spec
=
11093 supports_anon_versioning
=no
11094 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11095 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11096 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11097 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11098 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11099 *\
2.11.
*) ;; # other 2.11 versions
11100 *) supports_anon_versioning
=yes ;;
11103 # See if GNU ld supports shared libraries.
11106 # On AIX/PPC, the GNU linker is very broken
11107 if test ia64
!= "$host_cpu"; then
11111 *** Warning: the GNU linker, at least up to release 2.19, is reported
11112 *** to be unable to reliably create shared libraries on AIX.
11113 *** Therefore, libtool is disabling shared libraries support. If you
11114 *** really care for shared libraries, you may want to install binutils
11115 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11116 *** You will then need to restart the configuration process.
11125 # see comment about AmigaOS4 .so support
11126 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11127 archive_expsym_cmds
=''
11130 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)'
11131 hardcode_libdir_flag_spec
='-L$libdir'
11132 hardcode_minus_L
=yes
11138 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11139 allow_undefined_flag
=unsupported
11140 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11141 # support --undefined. This deserves some investigation. FIXME
11142 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11148 cygwin
* | mingw
* | pw32
* | cegcc
*)
11149 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11150 # as there is no search path for DLLs.
11151 hardcode_libdir_flag_spec
='-L$libdir'
11152 export_dynamic_flag_spec
='$wl--export-all-symbols'
11153 allow_undefined_flag
=unsupported
11154 always_export_symbols
=no
11155 enable_shared_with_static_runtimes
=yes
11156 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'
11157 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11159 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11160 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11161 # If the export-symbols file already is a .def file, use it as
11162 # is; otherwise, prepend EXPORTS...
11163 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11164 cp $export_symbols $output_objdir/$soname.def;
11166 echo EXPORTS > $output_objdir/$soname.def;
11167 cat $export_symbols >> $output_objdir/$soname.def;
11169 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11176 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11177 link_all_deplibs
=yes
11181 hardcode_libdir_flag_spec
='-L$libdir'
11182 hardcode_minus_L
=yes
11183 allow_undefined_flag
=unsupported
11185 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11186 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11187 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11188 $ECHO EXPORTS >> $output_objdir/$libname.def~
11189 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11190 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11191 emximp -o $lib $output_objdir/$libname.def'
11192 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11193 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11194 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11195 $ECHO EXPORTS >> $output_objdir/$libname.def~
11196 prefix_cmds="$SED"~
11197 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11198 prefix_cmds="$prefix_cmds -e 1d";
11200 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11201 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11202 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11203 emximp -o $lib $output_objdir/$libname.def'
11204 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11205 enable_shared_with_static_runtimes
=yes
11210 hardcode_shlibpath_var
=no
11211 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
11212 export_dynamic_flag_spec
='$wl-E'
11213 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11214 # Instead, shared libraries are loaded at an image base (0x10000000 by
11215 # default) and relocated if they conflict, which is a slow very memory
11216 # consuming and fragmenting process. To avoid this, we pick a random,
11217 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11218 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11219 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11220 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'
11223 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11225 if test linux-dietlibc
= "$host_os"; then
11226 case $cc_basename in
11227 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11230 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11231 && test no
= "$tmp_diet"
11233 tmp_addflag
=' $pic_flag'
11234 tmp_sharedflag
='-shared'
11235 case $cc_basename,$host_cpu in
11236 pgcc
*) # Portland Group C compiler
11237 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'
11238 tmp_addflag
=' $pic_flag'
11240 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11241 # Portland Group f77 and f90 compilers
11242 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'
11243 tmp_addflag
=' $pic_flag -Mnomain' ;;
11244 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11245 tmp_addflag
=' -i_dynamic' ;;
11246 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11247 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11248 ifc
* | ifort
*) # Intel Fortran compiler
11249 tmp_addflag
=' -nofor_main' ;;
11250 lf95
*) # Lahey Fortran 8.1
11251 whole_archive_flag_spec
=
11252 tmp_sharedflag
='--shared' ;;
11253 nagfor
*) # NAGFOR 5.3
11254 tmp_sharedflag
='-Wl,-shared' ;;
11255 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11256 tmp_sharedflag
='-qmkshrobj'
11258 nvcc
*) # Cuda Compiler Driver 2.2
11259 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'
11260 compiler_needs_object
=yes
11263 case `$CC -V 2>&1 | sed 5q` in
11264 *Sun\ C
*) # Sun C 5.9
11265 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'
11266 compiler_needs_object
=yes
11267 tmp_sharedflag
='-G' ;;
11268 *Sun\ F
*) # Sun Fortran 8.3
11269 tmp_sharedflag
='-G' ;;
11271 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11273 if test yes = "$supports_anon_versioning"; then
11274 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11275 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11276 echo "local: *; };" >> $output_objdir/$libname.ver~
11277 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11280 case $cc_basename in
11282 export_dynamic_flag_spec
='-rdynamic'
11284 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11285 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11286 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11287 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11288 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11289 if test yes = "$supports_anon_versioning"; then
11290 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11291 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11292 echo "local: *; };" >> $output_objdir/$libname.ver~
11293 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11303 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11304 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11307 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11308 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11313 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11317 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11318 *** create shared libraries on Solaris systems. Therefore, libtool
11319 *** is disabling shared libraries support. We urge you to upgrade GNU
11320 *** binutils to release 2.9.1 or newer. Another option is to modify
11321 *** your PATH or compiler configuration so that the native linker is
11322 *** used, and then restart.
11325 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11326 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11327 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11333 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11334 case `$LD -v 2>&1` in
11335 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11339 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11340 *** reliably create shared libraries on SCO systems. Therefore, libtool
11341 *** is disabling shared libraries support. We urge you to upgrade GNU
11342 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11343 *** your PATH or compiler configuration so that the native linker is
11344 *** used, and then restart.
11349 # For security reasons, it is highly recommended that you always
11350 # use absolute paths for naming shared libraries, and exclude the
11351 # DT_RUNPATH tag from executables and libraries. But doing so
11352 # requires that you compile everything twice, which is a pain.
11353 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11354 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11355 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11356 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11365 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11367 hardcode_direct
=yes
11368 hardcode_shlibpath_var
=no
11372 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11373 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11374 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11381 if test no
= "$ld_shlibs"; then
11383 hardcode_libdir_flag_spec
=
11384 export_dynamic_flag_spec
=
11385 whole_archive_flag_spec
=
11388 # PORTME fill in a description of your system's linker (not GNU ld)
11391 allow_undefined_flag
=unsupported
11392 always_export_symbols
=yes
11393 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'
11394 # Note: this linker hardcodes the directories in LIBPATH if there
11395 # are no directories specified by -L.
11396 hardcode_minus_L
=yes
11397 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11398 # Neither direct hardcoding nor static linking is supported with a
11400 hardcode_direct
=unsupported
11405 if test ia64
= "$host_cpu"; then
11406 # On IA64, the linker does run time linking by default, so we don't
11407 # have to do anything special.
11408 aix_use_runtimelinking
=no
11409 exp_sym_flag
='-Bexport'
11412 # If we're using GNU nm, then we don't want the "-C" option.
11413 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11414 # Without the "-l" option, or with the "-B" option, AIX nm treats
11415 # weak defined symbols like other global defined symbols, whereas
11416 # GNU nm marks them as "W".
11417 # While the 'weak' keyword is ignored in the Export File, we need
11418 # it in the Import File for the 'aix-soname' feature, so we have
11419 # to replace the "-B" option with "-P" for AIX nm.
11420 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11421 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'
11423 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'
11425 aix_use_runtimelinking
=no
11427 # Test if we are trying to use run time linking or normal
11428 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11429 # have runtime linking enabled, and use it for executables.
11430 # For shared libraries, we enable/disable runtime linking
11431 # depending on the kind of the shared library created -
11432 # when "with_aix_soname,aix_use_runtimelinking" is:
11433 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11434 # "aix,yes" lib.so shared, rtl:yes, for executables
11435 # lib.a static archive
11436 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11437 # lib.a(lib.so.V) shared, rtl:no, for executables
11438 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11439 # lib.a(lib.so.V) shared, rtl:no
11440 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11441 # lib.a static archive
11442 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11443 for ld_flag
in $LDFLAGS; do
11444 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
11445 aix_use_runtimelinking
=yes
11449 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
11450 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11451 # so we don't have lib.a shared libs to link our executables.
11452 # We have to force runtime linking in this case.
11453 aix_use_runtimelinking
=yes
11454 LDFLAGS
="$LDFLAGS -Wl,-brtl"
11459 exp_sym_flag
='-bexport'
11460 no_entry_flag
='-bnoentry'
11463 # When large executables or shared objects are built, AIX ld can
11464 # have problems creating the table of contents. If linking a library
11465 # or program results in "error TOC overflow" add -mminimal-toc to
11466 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11467 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11470 hardcode_direct
=yes
11471 hardcode_direct_absolute
=yes
11472 hardcode_libdir_separator
=':'
11473 link_all_deplibs
=yes
11474 file_list_spec
='$wl-f,'
11475 case $with_aix_soname,$aix_use_runtimelinking in
11476 aix
,*) ;; # traditional, no import file
11477 svr4
,* |
*,yes) # use import file
11478 # The Import File defines what to hardcode.
11480 hardcode_direct_absolute
=no
11484 if test yes = "$GCC"; then
11485 case $host_os in aix4.
[012]|aix4.
[012].
*)
11486 # We only want to do this on AIX 4.2 and lower, the check
11487 # below for broken collect2 doesn't work under 4.3+
11488 collect2name
=`$CC -print-prog-name=collect2`
11489 if test -f "$collect2name" &&
11490 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11492 # We have reworked collect2
11495 # We have old collect2
11496 hardcode_direct
=unsupported
11497 # It fails to find uninstalled libraries when the uninstalled
11498 # path is not listed in the libpath. Setting hardcode_minus_L
11499 # to unsupported forces relinking
11500 hardcode_minus_L
=yes
11501 hardcode_libdir_flag_spec
='-L$libdir'
11502 hardcode_libdir_separator
=
11506 shared_flag
='-shared'
11507 if test yes = "$aix_use_runtimelinking"; then
11508 shared_flag
="$shared_flag "'$wl-G'
11510 # Need to ensure runtime linking is disabled for the traditional
11511 # shared library, or the linker may eventually find shared libraries
11512 # /with/ Import File - we do not want to mix them.
11513 shared_flag_aix
='-shared'
11514 shared_flag_svr4
='-shared $wl-G'
11517 if test ia64
= "$host_cpu"; then
11518 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11519 # chokes on -Wl,-G. The following line is correct:
11522 if test yes = "$aix_use_runtimelinking"; then
11523 shared_flag
='$wl-G'
11525 shared_flag
='$wl-bM:SRE'
11527 shared_flag_aix
='$wl-bM:SRE'
11528 shared_flag_svr4
='$wl-G'
11532 export_dynamic_flag_spec
='$wl-bexpall'
11533 # It seems that -bexpall does not export symbols beginning with
11534 # underscore (_), so it is better to generate a list of symbols to export.
11535 always_export_symbols
=yes
11536 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11537 # Warning - without using the other runtime loading flags (-brtl),
11538 # -berok will link without error, but may produce a broken library.
11539 allow_undefined_flag
='-berok'
11540 # Determine the default libpath from the value encoded in an
11541 # empty executable.
11542 if test set = "${lt_cv_aix_libpath+set}"; then
11543 aix_libpath
=$lt_cv_aix_libpath
11545 if ${lt_cv_aix_libpath_+:} false
; then :
11546 $as_echo_n "(cached) " >&6
11548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11559 if ac_fn_c_try_link
"$LINENO"; then :
11561 lt_aix_libpath_sed
='
11562 /Import File Strings/,/^$/ {
11564 s/^0 *\([^ ]*\) *$/\1/
11568 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11569 # Check for a 64-bit object if we didn't find anything.
11570 if test -z "$lt_cv_aix_libpath_"; then
11571 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11574 rm -f core conftest.err conftest.
$ac_objext \
11575 conftest
$ac_exeext conftest.
$ac_ext
11576 if test -z "$lt_cv_aix_libpath_"; then
11577 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11582 aix_libpath
=$lt_cv_aix_libpath_
11585 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11586 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
11588 if test ia64
= "$host_cpu"; then
11589 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
11590 allow_undefined_flag
="-z nodefs"
11591 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"
11593 # Determine the default libpath from the value encoded in an
11594 # empty executable.
11595 if test set = "${lt_cv_aix_libpath+set}"; then
11596 aix_libpath
=$lt_cv_aix_libpath
11598 if ${lt_cv_aix_libpath_+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11612 if ac_fn_c_try_link
"$LINENO"; then :
11614 lt_aix_libpath_sed
='
11615 /Import File Strings/,/^$/ {
11617 s/^0 *\([^ ]*\) *$/\1/
11621 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11622 # Check for a 64-bit object if we didn't find anything.
11623 if test -z "$lt_cv_aix_libpath_"; then
11624 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11627 rm -f core conftest.err conftest.
$ac_objext \
11628 conftest
$ac_exeext conftest.
$ac_ext
11629 if test -z "$lt_cv_aix_libpath_"; then
11630 lt_cv_aix_libpath_
=/usr
/lib
:/lib
11635 aix_libpath
=$lt_cv_aix_libpath_
11638 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
11639 # Warning - without using the other run time loading flags,
11640 # -berok will link without error, but may produce a broken library.
11641 no_undefined_flag
=' $wl-bernotok'
11642 allow_undefined_flag
=' $wl-berok'
11643 if test yes = "$with_gnu_ld"; then
11644 # We only use this code for GNU lds that support --whole-archive.
11645 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
11647 # Exported symbols can be pulled into shared objects from archives
11648 whole_archive_flag_spec
='$convenience'
11650 archive_cmds_need_lc
=yes
11651 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11652 # -brtl affects multiple linker settings, -berok does not and is overridden later
11653 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11654 if test svr4
!= "$with_aix_soname"; then
11655 # This is similar to how AIX traditionally builds its shared libraries.
11656 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'
11658 if test aix
!= "$with_aix_soname"; then
11659 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'
11661 # used by -dlpreopen to get the symbols
11662 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11664 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11672 # see comment about AmigaOS4 .so support
11673 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11674 archive_expsym_cmds
=''
11677 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)'
11678 hardcode_libdir_flag_spec
='-L$libdir'
11679 hardcode_minus_L
=yes
11685 export_dynamic_flag_spec
=-rdynamic
11688 cygwin
* | mingw
* | pw32
* | cegcc
*)
11689 # When not using gcc, we currently assume that we are using
11690 # Microsoft Visual C++.
11691 # hardcode_libdir_flag_spec is actually meaningless, as there is
11692 # no search path for DLLs.
11693 case $cc_basename in
11696 hardcode_libdir_flag_spec
=' '
11697 allow_undefined_flag
=unsupported
11698 always_export_symbols
=yes
11700 # Tell ltmain to make .lib files, not .a files.
11702 # Tell ltmain to make .dll files, not .so files.
11704 # FIXME: Setting linknames here is a bad hack.
11705 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11706 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11707 cp "$export_symbols" "$output_objdir/$soname.def";
11708 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11710 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11712 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11714 # The linker will not automatically build a static lib if we build a DLL.
11715 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11716 enable_shared_with_static_runtimes
=yes
11717 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11718 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11720 old_postinstall_cmds
='chmod 644 $oldlib'
11721 postlink_cmds
='lt_outputfile="@OUTPUT@"~
11722 lt_tool_outputfile="@TOOL_OUTPUT@"~
11723 case $lt_outputfile in
11726 lt_outputfile=$lt_outputfile.exe
11727 lt_tool_outputfile=$lt_tool_outputfile.exe
11730 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11731 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11732 $RM "$lt_outputfile.manifest";
11736 # Assume MSVC wrapper
11737 hardcode_libdir_flag_spec
=' '
11738 allow_undefined_flag
=unsupported
11739 # Tell ltmain to make .lib files, not .a files.
11741 # Tell ltmain to make .dll files, not .so files.
11743 # FIXME: Setting linknames here is a bad hack.
11744 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11745 # The linker will automatically build a .lib file if we build a DLL.
11746 old_archive_from_new_cmds
='true'
11747 # FIXME: Should let the user specify the lib program.
11748 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11749 enable_shared_with_static_runtimes
=yes
11754 darwin
* | rhapsody
*)
11757 archive_cmds_need_lc
=no
11759 hardcode_automatic
=yes
11760 hardcode_shlibpath_var
=unsupported
11761 if test yes = "$lt_cv_ld_force_load"; then
11762 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\"`'
11765 whole_archive_flag_spec
=''
11767 link_all_deplibs
=yes
11768 allow_undefined_flag
=$_lt_dar_allow_undefined
11769 case $cc_basename in
11770 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
11771 *) _lt_dar_can_shared
=$GCC ;;
11773 if test yes = "$_lt_dar_can_shared"; then
11774 output_verbose_link_cmd
=func_echo_all
11775 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11776 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11777 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"
11778 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"
11787 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11788 hardcode_libdir_flag_spec
='-L$libdir'
11789 hardcode_shlibpath_var
=no
11792 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11793 # support. Future versions do this automatically, but an explicit c++rt0.o
11794 # does not break anything, and helps significantly (at the cost of a little
11797 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11798 hardcode_libdir_flag_spec
='-R$libdir'
11799 hardcode_direct
=yes
11800 hardcode_shlibpath_var
=no
11803 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11805 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11806 hardcode_direct
=yes
11807 hardcode_minus_L
=yes
11808 hardcode_shlibpath_var
=no
11811 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11812 freebsd
* | dragonfly
*)
11813 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11814 hardcode_libdir_flag_spec
='-R$libdir'
11815 hardcode_direct
=yes
11816 hardcode_shlibpath_var
=no
11820 if test yes = "$GCC"; then
11821 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'
11823 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'
11825 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11826 hardcode_libdir_separator
=:
11827 hardcode_direct
=yes
11829 # hardcode_minus_L: Not really in the search PATH,
11830 # but as the default location of the library.
11831 hardcode_minus_L
=yes
11832 export_dynamic_flag_spec
='$wl-E'
11836 if test yes,no
= "$GCC,$with_gnu_ld"; then
11837 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11839 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11841 if test no
= "$with_gnu_ld"; then
11842 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11843 hardcode_libdir_separator
=:
11844 hardcode_direct
=yes
11845 hardcode_direct_absolute
=yes
11846 export_dynamic_flag_spec
='$wl-E'
11847 # hardcode_minus_L: Not really in the search PATH,
11848 # but as the default location of the library.
11849 hardcode_minus_L
=yes
11854 if test yes,no
= "$GCC,$with_gnu_ld"; then
11857 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11860 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11863 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11869 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11872 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11876 # Older versions of the 11.00 compiler do not understand -b yet
11877 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11879 $as_echo_n "checking if $CC understands -b... " >&6; }
11880 if ${lt_cv_prog_compiler__b+:} false
; then :
11881 $as_echo_n "(cached) " >&6
11883 lt_cv_prog_compiler__b
=no
11884 save_LDFLAGS
=$LDFLAGS
11885 LDFLAGS
="$LDFLAGS -b"
11886 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11887 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11888 # The linker can only warn and ignore the option if not recognized
11889 # So say no if there are warnings
11890 if test -s conftest.err
; then
11891 # Append any errors to the config.log.
11892 cat conftest.err
1>&5
11893 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11894 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11895 if diff conftest.exp conftest.er2
>/dev
/null
; then
11896 lt_cv_prog_compiler__b
=yes
11899 lt_cv_prog_compiler__b
=yes
11903 LDFLAGS
=$save_LDFLAGS
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11907 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11909 if test yes = "$lt_cv_prog_compiler__b"; then
11910 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11912 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11918 if test no
= "$with_gnu_ld"; then
11919 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
11920 hardcode_libdir_separator
=:
11925 hardcode_shlibpath_var
=no
11928 hardcode_direct
=yes
11929 hardcode_direct_absolute
=yes
11930 export_dynamic_flag_spec
='$wl-E'
11932 # hardcode_minus_L: Not really in the search PATH,
11933 # but as the default location of the library.
11934 hardcode_minus_L
=yes
11940 irix5
* | irix6
* | nonstopux
*)
11941 if test yes = "$GCC"; then
11942 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'
11943 # Try to use the -exported_symbol ld option, if it does not
11944 # work, assume that -exports_file does not work either and
11945 # implicitly export all symbols.
11946 # This should be the same for all languages, so no per-tag cache variable.
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11948 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11949 if ${lt_cv_irix_exported_symbol+:} false
; then :
11950 $as_echo_n "(cached) " >&6
11952 save_LDFLAGS
=$LDFLAGS
11953 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h. */
11956 int foo (void) { return 0; }
11958 if ac_fn_c_try_link
"$LINENO"; then :
11959 lt_cv_irix_exported_symbol
=yes
11961 lt_cv_irix_exported_symbol
=no
11963 rm -f core conftest.err conftest.
$ac_objext \
11964 conftest
$ac_exeext conftest.
$ac_ext
11965 LDFLAGS
=$save_LDFLAGS
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11968 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11969 if test yes = "$lt_cv_irix_exported_symbol"; then
11970 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'
11973 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'
11974 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'
11976 archive_cmds_need_lc
='no'
11977 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
11978 hardcode_libdir_separator
=:
11980 link_all_deplibs
=yes
11984 case $cc_basename in
11986 # Fabrice Bellard et al's Tiny C Compiler
11988 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11994 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11995 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11997 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11999 hardcode_libdir_flag_spec
='-R$libdir'
12000 hardcode_direct
=yes
12001 hardcode_shlibpath_var
=no
12005 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12006 hardcode_direct
=yes
12007 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12008 hardcode_libdir_separator
=:
12009 hardcode_shlibpath_var
=no
12015 openbsd
* | bitrig
*)
12016 if test -f /usr
/libexec
/ld.so
; then
12017 hardcode_direct
=yes
12018 hardcode_shlibpath_var
=no
12019 hardcode_direct_absolute
=yes
12020 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12021 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12022 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12023 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12024 export_dynamic_flag_spec
='$wl-E'
12026 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12027 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
12035 hardcode_libdir_flag_spec
='-L$libdir'
12036 hardcode_minus_L
=yes
12037 allow_undefined_flag
=unsupported
12039 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12040 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12041 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12042 $ECHO EXPORTS >> $output_objdir/$libname.def~
12043 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12044 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12045 emximp -o $lib $output_objdir/$libname.def'
12046 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12047 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12048 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12049 $ECHO EXPORTS >> $output_objdir/$libname.def~
12050 prefix_cmds="$SED"~
12051 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12052 prefix_cmds="$prefix_cmds -e 1d";
12054 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12055 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12056 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12057 emximp -o $lib $output_objdir/$libname.def'
12058 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12059 enable_shared_with_static_runtimes
=yes
12063 if test yes = "$GCC"; then
12064 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12065 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'
12067 allow_undefined_flag
=' -expect_unresolved \*'
12068 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'
12070 archive_cmds_need_lc
='no'
12071 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12072 hardcode_libdir_separator
=:
12075 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
12076 if test yes = "$GCC"; then
12077 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
12078 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'
12079 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
12081 allow_undefined_flag
=' -expect_unresolved \*'
12082 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'
12083 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~
12084 $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'
12086 # Both c and cxx compiler support -rpath directly
12087 hardcode_libdir_flag_spec
='-rpath $libdir'
12089 archive_cmds_need_lc
='no'
12090 hardcode_libdir_separator
=:
12094 no_undefined_flag
=' -z defs'
12095 if test yes = "$GCC"; then
12097 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12098 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12099 $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'
12101 case `$CC -V 2>&1` in
12104 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12105 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12106 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12110 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12111 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12112 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12116 hardcode_libdir_flag_spec
='-R$libdir'
12117 hardcode_shlibpath_var
=no
12119 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12121 # The compiler driver will combine and reorder linker options,
12122 # but understands '-z linker_flag'. GCC discards it without '$wl',
12123 # but is careful enough not to reorder.
12124 # Supported since Solaris 2.6 (maybe 2.5.1?)
12125 if test yes = "$GCC"; then
12126 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12128 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
12132 link_all_deplibs
=yes
12136 if test sequent
= "$host_vendor"; then
12137 # Use $CC to link under sequent, because it throws in some extra .o
12138 # files that make .init and .fini sections work.
12139 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12141 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12143 hardcode_libdir_flag_spec
='-L$libdir'
12144 hardcode_direct
=yes
12145 hardcode_minus_L
=yes
12146 hardcode_shlibpath_var
=no
12150 case $host_vendor in
12152 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12153 hardcode_direct
=yes # is this really true???
12156 ## LD is ld it makes a PLAMLIB
12157 ## CC just makes a GrossModule.
12158 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12159 reload_cmds
='$CC -r -o $output$reload_objs'
12163 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12164 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
12167 runpath_var
='LD_RUN_PATH'
12168 hardcode_shlibpath_var
=no
12172 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12173 hardcode_shlibpath_var
=no
12174 export_dynamic_flag_spec
='-Bexport'
12178 if test -d /usr
/nec
; then
12179 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12180 hardcode_shlibpath_var
=no
12181 runpath_var
=LD_RUN_PATH
12182 hardcode_runpath_var
=yes
12187 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12188 no_undefined_flag
='$wl-z,text'
12189 archive_cmds_need_lc
=no
12190 hardcode_shlibpath_var
=no
12191 runpath_var
='LD_RUN_PATH'
12193 if test yes = "$GCC"; then
12194 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12195 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12197 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12198 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12202 sysv5
* | sco3.2v5
* | sco5v6
*)
12203 # Note: We CANNOT use -z defs as we might desire, because we do not
12204 # link with -lc, and that would cause any symbols used from libc to
12205 # always be unresolved, which means just about no library would
12206 # ever link correctly. If we're not using GNU ld we use -z text
12207 # though, which does catch some bad symbols but isn't as heavy-handed
12209 no_undefined_flag
='$wl-z,text'
12210 allow_undefined_flag
='$wl-z,nodefs'
12211 archive_cmds_need_lc
=no
12212 hardcode_shlibpath_var
=no
12213 hardcode_libdir_flag_spec
='$wl-R,$libdir'
12214 hardcode_libdir_separator
=':'
12215 link_all_deplibs
=yes
12216 export_dynamic_flag_spec
='$wl-Bexport'
12217 runpath_var
='LD_RUN_PATH'
12219 if test yes = "$GCC"; then
12220 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12221 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12223 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12224 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12229 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12230 hardcode_libdir_flag_spec
='-L$libdir'
12231 hardcode_shlibpath_var
=no
12239 if test sni
= "$host_vendor"; then
12241 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
12242 export_dynamic_flag_spec
='$wl-Blargedynsym'
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12249 $as_echo "$ld_shlibs" >&6; }
12250 test no
= "$ld_shlibs" && can_build_shared
=no
12252 with_gnu_ld
=$with_gnu_ld
12269 # Do we need to explicitly link libc?
12271 case "x$archive_cmds_need_lc" in
12273 # Assume -lc should be added
12274 archive_cmds_need_lc
=yes
12276 if test yes,yes = "$GCC,$enable_shared"; then
12277 case $archive_cmds in
12279 # FIXME: we may have to deal with multi-command sequences.
12282 # Test whether the compiler implicitly links with -lc since on some
12283 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12284 # to ld, don't add -lc before -lgcc.
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12286 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12287 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12291 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12293 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12294 (eval $ac_compile) 2>&5
12296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12297 test $ac_status = 0; } 2>conftest.err
; then
12300 libobjs
=conftest.
$ac_objext
12302 wl
=$lt_prog_compiler_wl
12303 pic_flag
=$lt_prog_compiler_pic
12309 lt_save_allow_undefined_flag
=$allow_undefined_flag
12310 allow_undefined_flag
=
12311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12312 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12315 test $ac_status = 0; }
12317 lt_cv_archive_cmds_need_lc
=no
12319 lt_cv_archive_cmds_need_lc
=yes
12321 allow_undefined_flag
=$lt_save_allow_undefined_flag
12323 cat conftest.err
1>&5
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12329 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12330 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12489 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12491 if test yes = "$GCC"; then
12493 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
12494 *) lt_awk_arg
='/^libraries:/' ;;
12497 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
12498 *) lt_sed_strip_eq
='s|=/|/|g' ;;
12500 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12501 case $lt_search_path_spec in
12503 # if the path contains ";" then we assume it to be the separator
12504 # otherwise default to the standard path separator (i.e. ":") - it is
12505 # assumed that no part of a normal pathname contains ";" but that should
12506 # okay in the real world where ";" in dirpaths is itself problematic.
12507 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12510 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12513 # Ok, now we have the path, separated by spaces, we can step through it
12514 # and add multilib dir if necessary...
12515 lt_tmp_lt_search_path_spec
=
12516 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12517 # ...but if some path component already ends with the multilib dir we assume
12518 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12519 case "$lt_multi_os_dir; $lt_search_path_spec " in
12520 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
12524 for lt_sys_path
in $lt_search_path_spec; do
12525 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12526 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12527 elif test -n "$lt_multi_os_dir"; then
12528 test -d "$lt_sys_path" && \
12529 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12532 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12533 BEGIN {RS = " "; FS = "/|\n";} {
12536 for (lt_i = NF; lt_i > 0; lt_i--) {
12537 if ($lt_i != "" && $lt_i != ".") {
12538 if ($lt_i == "..") {
12541 if (lt_count == 0) {
12542 lt_foo = "/" $lt_i lt_foo;
12549 if (lt_foo != "") { lt_freq[lt_foo]++; }
12550 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12552 # AWK program above erroneously prepends '/' to C:/dos/paths
12555 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12556 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12558 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12560 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12562 library_names_spec
=
12563 libname_spec
='lib$name'
12567 postuninstall_cmds
=
12571 shlibpath_overrides_runpath
=unknown
12573 dynamic_linker
="$host_os ld.so"
12574 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12575 need_lib_prefix
=unknown
12576 hardcode_into_libs
=no
12578 # when you set need_version to no, make sure it does not cause -set_version
12579 # flags to be left without arguments
12580 need_version
=unknown
12586 version_type
=linux
# correct to gnu/linux during the next big refactor
12587 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
12588 shlibpath_var
=LIBPATH
12590 # AIX 3 has no versioning support, so we append a major version to the name.
12591 soname_spec
='$libname$release$shared_ext$major'
12595 version_type
=linux
# correct to gnu/linux during the next big refactor
12598 hardcode_into_libs
=yes
12599 if test ia64
= "$host_cpu"; then
12600 # AIX 5 supports IA64
12601 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12602 shlibpath_var
=LD_LIBRARY_PATH
12604 # With GCC up to 2.95.x, collect2 would create an import file
12605 # for dependence libraries. The import file would start with
12606 # the line '#! .'. This would cause the generated library to
12607 # depend on '.', always an invalid library. This was fixed in
12608 # development snapshots of GCC prior to 3.0.
12610 aix4 | aix4.
[01] | aix4.
[01].
*)
12611 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12613 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
12616 can_build_shared
=no
12620 # Using Import Files as archive members, it is possible to support
12621 # filename-based versioning of shared library archives on AIX. While
12622 # this would work for both with and without runtime linking, it will
12623 # prevent static linking of such archives. So we do filename-based
12624 # shared library versioning with .so extension only, which is used
12625 # when both runtime linking and shared linking is enabled.
12626 # Unfortunately, runtime linking may impact performance, so we do
12627 # not want this to be the default eventually. Also, we use the
12628 # versioned .so libs for executables only if there is the -brtl
12629 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12630 # To allow for filename-based versioning support, we need to create
12631 # libNAME.so.V as an archive file, containing:
12632 # *) an Import File, referring to the versioned filename of the
12633 # archive as well as the shared archive member, telling the
12634 # bitwidth (32 or 64) of that shared object, and providing the
12635 # list of exported symbols of that shared object, eventually
12636 # decorated with the 'weak' keyword
12637 # *) the shared object with the F_LOADONLY flag set, to really avoid
12638 # it being seen by the linker.
12639 # At run time we better use the real file rather than another symlink,
12640 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12642 case $with_aix_soname,$aix_use_runtimelinking in
12643 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12644 # soname into executable. Probably we can add versioning support to
12645 # collect2, so additional links can be useful in future.
12646 aix
,yes) # traditional libtool
12647 dynamic_linker
='AIX unversionable lib.so'
12648 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12649 # instead of lib<name>.a to let people know that these are not
12650 # typical AIX shared libraries.
12651 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12653 aix
,no
) # traditional AIX only
12654 dynamic_linker
='AIX lib.a(lib.so.V)'
12655 # We preserve .a as extension for shared libraries through AIX4.2
12656 # and later when we are not doing run time linking.
12657 library_names_spec
='$libname$release.a $libname.a'
12658 soname_spec
='$libname$release$shared_ext$major'
12660 svr4
,*) # full svr4 only
12661 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
12662 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12663 # We do not specify a path in Import Files, so LIBPATH fires.
12664 shlibpath_overrides_runpath
=yes
12666 *,yes) # both, prefer svr4
12667 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12668 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
12669 # unpreferred sharedlib libNAME.a needs extra handling
12670 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"'
12671 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"'
12672 # We do not specify a path in Import Files, so LIBPATH fires.
12673 shlibpath_overrides_runpath
=yes
12675 *,no
) # both, prefer aix
12676 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12677 library_names_spec
='$libname$release.a $libname.a'
12678 soname_spec
='$libname$release$shared_ext$major'
12679 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12680 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)'
12681 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"'
12684 shlibpath_var
=LIBPATH
12691 # Since July 2007 AmigaOS4 officially supports .so libraries.
12692 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12693 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12696 library_names_spec
='$libname.ixlibrary $libname.a'
12697 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12698 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'
12704 library_names_spec
='$libname$shared_ext'
12705 dynamic_linker
="$host_os ld.so"
12706 shlibpath_var
=LIBRARY_PATH
12710 version_type
=linux
# correct to gnu/linux during the next big refactor
12712 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12713 soname_spec
='$libname$release$shared_ext$major'
12714 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12715 shlibpath_var
=LD_LIBRARY_PATH
12716 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12717 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12718 # the default ld.so.conf also contains /usr/contrib/lib and
12719 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12720 # libtool to hard-code these into programs
12723 cygwin
* | mingw
* | pw32
* | cegcc
*)
12724 version_type
=windows
12729 case $GCC,$cc_basename in
12732 library_names_spec
='$libname.dll.a'
12733 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12734 postinstall_cmds
='base_file=`basename \$file`~
12735 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12736 dldir=$destdir/`dirname \$dlpath`~
12737 test -d \$dldir || mkdir -p \$dldir~
12738 $install_prog $dir/$dlname \$dldir/$dlname~
12739 chmod a+x \$dldir/$dlname~
12740 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12741 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12743 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12744 dlpath=$dir/\$dldll~
12746 shlibpath_overrides_runpath
=yes
12750 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12751 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12753 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12756 # MinGW DLLs use traditional 'lib' prefix
12757 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12760 # pw32 DLLs use 'pw' prefix rather than 'lib'
12761 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12764 dynamic_linker
='Win32 ld.exe'
12769 libname_spec
='$name'
12770 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
12771 library_names_spec
='$libname.dll.lib'
12775 sys_lib_search_path_spec
=
12778 for lt_path
in $LIB
12781 # Let DOS variable expansion print the short 8.3 style file name.
12782 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12783 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
12786 # Convert to MSYS style.
12787 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12790 # Convert to unix form, then to dos form, then back to unix form
12791 # but this time dos style (no spaces!) so that the unix form looks
12792 # like /cygdrive/c/PROGRA~1:/cygdr...
12793 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
12794 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12795 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12798 sys_lib_search_path_spec
=$LIB
12799 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
12800 # It is most probably a Windows format PATH.
12801 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12803 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12805 # FIXME: find the short name or the path components, as spaces are
12806 # common. (e.g. "Program Files" -> "PROGRA~1")
12810 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12811 postinstall_cmds
='base_file=`basename \$file`~
12812 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12813 dldir=$destdir/`dirname \$dlpath`~
12814 test -d \$dldir || mkdir -p \$dldir~
12815 $install_prog $dir/$dlname \$dldir/$dlname'
12816 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12817 dlpath=$dir/\$dldll~
12819 shlibpath_overrides_runpath
=yes
12820 dynamic_linker
='Win32 link.exe'
12824 # Assume MSVC wrapper
12825 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
12826 dynamic_linker
='Win32 ld.exe'
12829 # FIXME: first we should search . and the directory the executable is in
12833 darwin
* | rhapsody
*)
12834 dynamic_linker
="$host_os dyld"
12835 version_type
=darwin
12838 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
12839 soname_spec
='$libname$release$major$shared_ext'
12840 shlibpath_overrides_runpath
=yes
12841 shlibpath_var
=DYLD_LIBRARY_PATH
12842 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12844 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12845 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12849 version_type
=linux
# correct to gnu/linux during the next big refactor
12852 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12853 soname_spec
='$libname$release$shared_ext$major'
12854 shlibpath_var
=LD_LIBRARY_PATH
12857 freebsd
* | dragonfly
*)
12858 # DragonFly does not have aout. When/if they implement a new
12859 # versioning mechanism, adjust this.
12860 if test -x /usr
/bin
/objformat
; then
12861 objformat
=`/usr/bin/objformat`
12864 freebsd
[23].
*) objformat
=aout
;;
12865 *) objformat
=elf
;;
12868 version_type
=freebsd-
$objformat
12869 case $version_type in
12871 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12872 soname_spec
='$libname$release$shared_ext$major'
12877 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12881 shlibpath_var
=LD_LIBRARY_PATH
12884 shlibpath_overrides_runpath
=yes
12886 freebsd3.
[01]* | freebsdelf3.
[01]*)
12887 shlibpath_overrides_runpath
=yes
12888 hardcode_into_libs
=yes
12890 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12891 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12892 shlibpath_overrides_runpath
=no
12893 hardcode_into_libs
=yes
12895 *) # from 4.6 on, and DragonFly
12896 shlibpath_overrides_runpath
=yes
12897 hardcode_into_libs
=yes
12903 version_type
=linux
# correct to gnu/linux during the next big refactor
12906 dynamic_linker
="$host_os runtime_loader"
12907 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12908 soname_spec
='$libname$release$shared_ext$major'
12909 shlibpath_var
=LIBRARY_PATH
12910 shlibpath_overrides_runpath
=no
12911 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12912 hardcode_into_libs
=yes
12915 hpux9
* | hpux10
* | hpux11
*)
12916 # Give a soname corresponding to the major version so that dld.sl refuses to
12917 # link against other versions.
12924 hardcode_into_libs
=yes
12925 dynamic_linker
="$host_os dld.so"
12926 shlibpath_var
=LD_LIBRARY_PATH
12927 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12928 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12929 soname_spec
='$libname$release$shared_ext$major'
12930 if test 32 = "$HPUX_IA64_MODE"; then
12931 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12932 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
12934 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12935 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
12940 hardcode_into_libs
=yes
12941 dynamic_linker
="$host_os dld.sl"
12942 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12943 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12944 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12945 soname_spec
='$libname$release$shared_ext$major'
12946 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12947 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12951 dynamic_linker
="$host_os dld.sl"
12952 shlibpath_var
=SHLIB_PATH
12953 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12954 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12955 soname_spec
='$libname$release$shared_ext$major'
12958 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12959 postinstall_cmds
='chmod 555 $lib'
12960 # or fails outright, so override atomically:
12961 install_override_mode
=555
12965 version_type
=linux
# correct to gnu/linux during the next big refactor
12968 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12969 soname_spec
='$libname$release$shared_ext$major'
12970 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12971 shlibpath_var
=LD_LIBRARY_PATH
12972 shlibpath_overrides_runpath
=no
12973 hardcode_into_libs
=yes
12976 irix5
* | irix6
* | nonstopux
*)
12978 nonstopux
*) version_type
=nonstopux
;;
12980 if test yes = "$lt_cv_prog_gnu_ld"; then
12981 version_type
=linux
# correct to gnu/linux during the next big refactor
12988 soname_spec
='$libname$release$shared_ext$major'
12989 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12991 irix5
* | nonstopux
*)
12992 libsuff
= shlibsuff
=
12995 case $LD in # libtool.m4 will add one of these switches to LD
12996 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12997 libsuff
= shlibsuff
= libmagic
=32-bit;;
12998 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12999 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13000 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13001 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13002 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13006 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13007 shlibpath_overrides_runpath
=no
13008 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13009 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
13010 hardcode_into_libs
=yes
13013 # No shared lib support for Linux oldld, aout, or coff.
13014 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13019 version_type
=none
# Android doesn't support versioned libraries.
13022 library_names_spec
='$libname$release$shared_ext'
13023 soname_spec
='$libname$release$shared_ext'
13025 shlibpath_var
=LD_LIBRARY_PATH
13026 shlibpath_overrides_runpath
=yes
13028 # This implies no fast_install, which is unacceptable.
13029 # Some rework will be needed to allow for fast_install
13030 # before this can be enabled.
13031 hardcode_into_libs
=yes
13033 dynamic_linker
='Android linker'
13034 # Don't embed -rpath directories since the linker doesn't support them.
13035 hardcode_libdir_flag_spec
='-L$libdir'
13038 # This must be glibc/ELF.
13039 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
13040 version_type
=linux
# correct to gnu/linux during the next big refactor
13043 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13044 soname_spec
='$libname$release$shared_ext$major'
13045 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13046 shlibpath_var
=LD_LIBRARY_PATH
13047 shlibpath_overrides_runpath
=no
13049 # Some binutils ld are patched to set DT_RUNPATH
13050 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
13051 $as_echo_n "(cached) " >&6
13053 lt_cv_shlibpath_overrides_runpath
=no
13054 save_LDFLAGS
=$LDFLAGS
13055 save_libdir
=$libdir
13056 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13057 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13069 if ac_fn_c_try_link
"$LINENO"; then :
13070 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
13071 lt_cv_shlibpath_overrides_runpath
=yes
13074 rm -f core conftest.err conftest.
$ac_objext \
13075 conftest
$ac_exeext conftest.
$ac_ext
13076 LDFLAGS
=$save_LDFLAGS
13077 libdir
=$save_libdir
13081 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
13083 # This implies no fast_install, which is unacceptable.
13084 # Some rework will be needed to allow for fast_install
13085 # before this can be enabled.
13086 hardcode_into_libs
=yes
13088 # Ideally, we could use ldconfig to report *all* directores which are
13089 # searched for libraries, however this is still not possible. Aside from not
13090 # being certain /sbin/ldconfig is available, command
13091 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13092 # even though it is searched at run-time. Try to do the best guess by
13093 # appending ld.so.conf contents (and includes) to the search path.
13094 if test -f /etc
/ld.so.conf
; then
13095 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' ' '`
13096 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13099 # We used to test for /lib/ld.so.1 and disable shared libraries on
13100 # powerpc, because MkLinux only supported shared libraries with the
13101 # GNU dynamic linker. Since this was broken with cross compilers,
13102 # most powerpc-linux boxes support dynamic linking these days and
13103 # people can always --disable-shared, the test was removed, and we
13104 # assume the GNU/Linux dynamic linker is in use.
13105 dynamic_linker
='GNU/Linux ld.so'
13112 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13113 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13115 dynamic_linker
='NetBSD (a.out) ld.so'
13117 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13118 soname_spec
='$libname$release$shared_ext$major'
13119 dynamic_linker
='NetBSD ld.elf_so'
13121 shlibpath_var
=LD_LIBRARY_PATH
13122 shlibpath_overrides_runpath
=yes
13123 hardcode_into_libs
=yes
13127 version_type
=linux
# correct to gnu/linux during the next big refactor
13128 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13129 shlibpath_var
=LD_LIBRARY_PATH
13130 shlibpath_overrides_runpath
=yes
13137 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13138 soname_spec
='$libname$release$shared_ext$major'
13139 shlibpath_var
=LD_LIBRARY_PATH
13140 shlibpath_overrides_runpath
=no
13141 hardcode_into_libs
=yes
13142 dynamic_linker
='ldqnx.so'
13145 openbsd
* | bitrig
*)
13147 sys_lib_dlsearch_path_spec
=/usr
/lib
13149 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13154 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13155 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13156 shlibpath_var
=LD_LIBRARY_PATH
13157 shlibpath_overrides_runpath
=yes
13161 libname_spec
='$name'
13162 version_type
=windows
13166 # OS/2 can only load a DLL with a base name of 8 characters or less.
13167 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
13168 v=$($ECHO $release$versuffix | tr -d .-);
13169 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13170 $ECHO $n$v`$shared_ext'
13171 library_names_spec
='${libname}_dll.$libext'
13172 dynamic_linker
='OS/2 ld.exe'
13173 shlibpath_var
=BEGINLIBPATH
13174 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
13175 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13176 postinstall_cmds
='base_file=`basename \$file`~
13177 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13178 dldir=$destdir/`dirname \$dlpath`~
13179 test -d \$dldir || mkdir -p \$dldir~
13180 $install_prog $dir/$dlname \$dldir/$dlname~
13181 chmod a+x \$dldir/$dlname~
13182 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13183 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13185 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13186 dlpath=$dir/\$dldll~
13190 osf3
* | osf4
* | osf5
*)
13194 soname_spec
='$libname$release$shared_ext$major'
13195 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13196 shlibpath_var
=LD_LIBRARY_PATH
13197 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13198 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13206 version_type
=linux
# correct to gnu/linux during the next big refactor
13209 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13210 soname_spec
='$libname$release$shared_ext$major'
13211 shlibpath_var
=LD_LIBRARY_PATH
13212 shlibpath_overrides_runpath
=yes
13213 hardcode_into_libs
=yes
13214 # ldd complains unless libraries are executable
13215 postinstall_cmds
='chmod +x $lib'
13220 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13221 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13222 shlibpath_var
=LD_LIBRARY_PATH
13223 shlibpath_overrides_runpath
=yes
13224 if test yes = "$with_gnu_ld"; then
13231 version_type
=linux
# correct to gnu/linux during the next big refactor
13232 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13233 soname_spec
='$libname$release$shared_ext$major'
13234 shlibpath_var
=LD_LIBRARY_PATH
13235 case $host_vendor in
13237 shlibpath_overrides_runpath
=no
13239 runpath_var
=LD_RUN_PATH
13247 shlibpath_overrides_runpath
=no
13248 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13254 if test -d /usr
/nec
; then
13255 version_type
=linux
# correct to gnu/linux during the next big refactor
13256 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13257 soname_spec
='$libname$shared_ext.$major'
13258 shlibpath_var
=LD_LIBRARY_PATH
13262 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13266 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13267 soname_spec
='$libname$release$shared_ext$major'
13268 shlibpath_var
=LD_LIBRARY_PATH
13269 shlibpath_overrides_runpath
=yes
13270 hardcode_into_libs
=yes
13271 if test yes = "$with_gnu_ld"; then
13272 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13274 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13277 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13281 sys_lib_dlsearch_path_spec
='/usr/lib'
13285 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13286 version_type
=linux
# correct to gnu/linux during the next big refactor
13289 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13290 shlibpath_var
=LD_LIBRARY_PATH
13291 shlibpath_overrides_runpath
=no
13292 hardcode_into_libs
=yes
13296 version_type
=linux
# correct to gnu/linux during the next big refactor
13297 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13298 soname_spec
='$libname$release$shared_ext$major'
13299 shlibpath_var
=LD_LIBRARY_PATH
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13307 $as_echo "$dynamic_linker" >&6; }
13308 test no
= "$dynamic_linker" && can_build_shared
=no
13310 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13311 if test yes = "$GCC"; then
13312 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13315 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13316 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
13319 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13320 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
13323 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13324 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
13326 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13327 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
13329 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13330 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13429 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13431 if test -n "$hardcode_libdir_flag_spec" ||
13432 test -n "$runpath_var" ||
13433 test yes = "$hardcode_automatic"; then
13435 # We can hardcode non-existent directories.
13436 if test no
!= "$hardcode_direct" &&
13437 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13438 # have to relink, otherwise we might link with an installed library
13439 # when we should be linking with a yet-to-be-installed one
13440 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13441 test no
!= "$hardcode_minus_L"; then
13442 # Linking always hardcodes the temporary library directory.
13443 hardcode_action
=relink
13445 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13446 hardcode_action
=immediate
13449 # We cannot hardcode anything, or else we can only hardcode existing
13451 hardcode_action
=unsupported
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13454 $as_echo "$hardcode_action" >&6; }
13456 if test relink
= "$hardcode_action" ||
13457 test yes = "$inherit_rpath"; then
13458 # Fast installation is not supported
13459 enable_fast_install
=no
13460 elif test yes = "$shlibpath_overrides_runpath" ||
13461 test no
= "$enable_shared"; then
13462 # Fast installation is not necessary
13463 enable_fast_install
=needless
13471 if test yes != "$enable_dlopen"; then
13472 enable_dlopen
=unknown
13473 enable_dlopen_self
=unknown
13474 enable_dlopen_self_static
=unknown
13481 lt_cv_dlopen
=load_add_on
13483 lt_cv_dlopen_self
=yes
13486 mingw
* | pw32
* | cegcc
*)
13487 lt_cv_dlopen
=LoadLibrary
13492 lt_cv_dlopen
=dlopen
13497 # if libdl is installed we need to link against it
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13499 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13500 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13501 $as_echo_n "(cached) " >&6
13503 ac_check_lib_save_LIBS
=$LIBS
13505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13506 /* end confdefs.h. */
13508 /* Override any GCC internal prototype to avoid an error.
13509 Use char because int might match the return type of a GCC
13510 builtin and then its argument prototype would still apply. */
13523 if ac_fn_c_try_link
"$LINENO"; then :
13524 ac_cv_lib_dl_dlopen
=yes
13526 ac_cv_lib_dl_dlopen
=no
13528 rm -f core conftest.err conftest.
$ac_objext \
13529 conftest
$ac_exeext conftest.
$ac_ext
13530 LIBS
=$ac_check_lib_save_LIBS
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13533 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13534 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13535 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13540 lt_cv_dlopen_self
=yes
13547 # Don't try to run any link tests for TPF. We know it's impossible
13548 # because TPF is a cross-compiler, and we know how we open DSOs.
13549 lt_cv_dlopen
=dlopen
13551 lt_cv_dlopen_self
=no
13555 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13556 if test "x$ac_cv_func_shl_load" = xyes
; then :
13557 lt_cv_dlopen
=shl_load
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13560 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13561 if ${ac_cv_lib_dld_shl_load+:} false
; then :
13562 $as_echo_n "(cached) " >&6
13564 ac_check_lib_save_LIBS
=$LIBS
13566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13567 /* end confdefs.h. */
13569 /* Override any GCC internal prototype to avoid an error.
13570 Use char because int might match the return type of a GCC
13571 builtin and then its argument prototype would still apply. */
13579 return shl_load ();
13584 if ac_fn_c_try_link
"$LINENO"; then :
13585 ac_cv_lib_dld_shl_load
=yes
13587 ac_cv_lib_dld_shl_load
=no
13589 rm -f core conftest.err conftest.
$ac_objext \
13590 conftest
$ac_exeext conftest.
$ac_ext
13591 LIBS
=$ac_check_lib_save_LIBS
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13594 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13595 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
13596 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
13598 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13599 if test "x$ac_cv_func_dlopen" = xyes
; then :
13600 lt_cv_dlopen
=dlopen
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13603 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13604 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13605 $as_echo_n "(cached) " >&6
13607 ac_check_lib_save_LIBS
=$LIBS
13609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13612 /* Override any GCC internal prototype to avoid an error.
13613 Use char because int might match the return type of a GCC
13614 builtin and then its argument prototype would still apply. */
13627 if ac_fn_c_try_link
"$LINENO"; then :
13628 ac_cv_lib_dl_dlopen
=yes
13630 ac_cv_lib_dl_dlopen
=no
13632 rm -f core conftest.err conftest.
$ac_objext \
13633 conftest
$ac_exeext conftest.
$ac_ext
13634 LIBS
=$ac_check_lib_save_LIBS
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13637 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13638 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13639 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13642 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13643 if ${ac_cv_lib_svld_dlopen+:} false
; then :
13644 $as_echo_n "(cached) " >&6
13646 ac_check_lib_save_LIBS
=$LIBS
13647 LIBS
="-lsvld $LIBS"
13648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13651 /* Override any GCC internal prototype to avoid an error.
13652 Use char because int might match the return type of a GCC
13653 builtin and then its argument prototype would still apply. */
13666 if ac_fn_c_try_link
"$LINENO"; then :
13667 ac_cv_lib_svld_dlopen
=yes
13669 ac_cv_lib_svld_dlopen
=no
13671 rm -f core conftest.err conftest.
$ac_objext \
13672 conftest
$ac_exeext conftest.
$ac_ext
13673 LIBS
=$ac_check_lib_save_LIBS
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13676 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13677 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
13678 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13681 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13682 if ${ac_cv_lib_dld_dld_link+:} false
; then :
13683 $as_echo_n "(cached) " >&6
13685 ac_check_lib_save_LIBS
=$LIBS
13687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13690 /* Override any GCC internal prototype to avoid an error.
13691 Use char because int might match the return type of a GCC
13692 builtin and then its argument prototype would still apply. */
13700 return dld_link ();
13705 if ac_fn_c_try_link
"$LINENO"; then :
13706 ac_cv_lib_dld_dld_link
=yes
13708 ac_cv_lib_dld_dld_link
=no
13710 rm -f core conftest.err conftest.
$ac_objext \
13711 conftest
$ac_exeext conftest.
$ac_ext
13712 LIBS
=$ac_check_lib_save_LIBS
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13715 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13716 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
13717 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
13738 if test no
= "$lt_cv_dlopen"; then
13744 case $lt_cv_dlopen in
13746 save_CPPFLAGS
=$CPPFLAGS
13747 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13749 save_LDFLAGS
=$LDFLAGS
13750 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13753 LIBS
="$lt_cv_dlopen_libs $LIBS"
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13756 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13757 if ${lt_cv_dlopen_self+:} false
; then :
13758 $as_echo_n "(cached) " >&6
13760 if test yes = "$cross_compiling"; then :
13761 lt_cv_dlopen_self
=cross
13763 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13764 lt_status
=$lt_dlunknown
13765 cat > conftest.
$ac_ext <<_LT_EOF
13766 #line $LINENO "configure"
13767 #include "confdefs.h"
13776 # define LT_DLGLOBAL RTLD_GLOBAL
13779 # define LT_DLGLOBAL DL_GLOBAL
13781 # define LT_DLGLOBAL 0
13785 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13786 find out it does not work in some platform. */
13787 #ifndef LT_DLLAZY_OR_NOW
13789 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13792 # define LT_DLLAZY_OR_NOW DL_LAZY
13795 # define LT_DLLAZY_OR_NOW RTLD_NOW
13798 # define LT_DLLAZY_OR_NOW DL_NOW
13800 # define LT_DLLAZY_OR_NOW 0
13807 /* When -fvisibility=hidden is used, assume the code has been annotated
13808 correspondingly for the symbols needed. */
13809 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13810 int fnord () __attribute__((visibility("default")));
13813 int fnord () { return 42; }
13816 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13817 int status = $lt_dlunknown;
13821 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13824 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13825 else puts (dlerror ());
13827 /* dlclose (self); */
13835 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13836 (eval $ac_link) 2>&5
13838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13839 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13840 (.
/conftest
; exit; ) >&5 2>/dev
/null
13842 case x
$lt_status in
13843 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13844 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13845 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13848 # compilation failed
13849 lt_cv_dlopen_self
=no
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13857 $as_echo "$lt_cv_dlopen_self" >&6; }
13859 if test yes = "$lt_cv_dlopen_self"; then
13860 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13862 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13863 if ${lt_cv_dlopen_self_static+:} false
; then :
13864 $as_echo_n "(cached) " >&6
13866 if test yes = "$cross_compiling"; then :
13867 lt_cv_dlopen_self_static
=cross
13869 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13870 lt_status
=$lt_dlunknown
13871 cat > conftest.
$ac_ext <<_LT_EOF
13872 #line $LINENO "configure"
13873 #include "confdefs.h"
13882 # define LT_DLGLOBAL RTLD_GLOBAL
13885 # define LT_DLGLOBAL DL_GLOBAL
13887 # define LT_DLGLOBAL 0
13891 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13892 find out it does not work in some platform. */
13893 #ifndef LT_DLLAZY_OR_NOW
13895 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13898 # define LT_DLLAZY_OR_NOW DL_LAZY
13901 # define LT_DLLAZY_OR_NOW RTLD_NOW
13904 # define LT_DLLAZY_OR_NOW DL_NOW
13906 # define LT_DLLAZY_OR_NOW 0
13913 /* When -fvisibility=hidden is used, assume the code has been annotated
13914 correspondingly for the symbols needed. */
13915 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13916 int fnord () __attribute__((visibility("default")));
13919 int fnord () { return 42; }
13922 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13923 int status = $lt_dlunknown;
13927 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13930 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13931 else puts (dlerror ());
13933 /* dlclose (self); */
13941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13942 (eval $ac_link) 2>&5
13944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13945 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
13946 (.
/conftest
; exit; ) >&5 2>/dev
/null
13948 case x
$lt_status in
13949 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13950 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13951 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13954 # compilation failed
13955 lt_cv_dlopen_self_static
=no
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13963 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13966 CPPFLAGS
=$save_CPPFLAGS
13967 LDFLAGS
=$save_LDFLAGS
13972 case $lt_cv_dlopen_self in
13973 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13974 *) enable_dlopen_self
=unknown
;;
13977 case $lt_cv_dlopen_self_static in
13978 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13979 *) enable_dlopen_self_static
=unknown
;;
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14002 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14003 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
14004 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
14005 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14007 $as_echo "yes" >&6; }
14009 # FIXME - insert some real tests, host_os isn't really good enough
14012 if test -n "$STRIP"; then
14013 striplib
="$STRIP -x"
14014 old_striplib
="$STRIP -S"
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14016 $as_echo "yes" >&6; }
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14019 $as_echo "no" >&6; }
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14024 $as_echo "no" >&6; }
14040 # Report what library types will actually be built
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14042 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14044 $as_echo "$can_build_shared" >&6; }
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14047 $as_echo_n "checking whether to build shared libraries... " >&6; }
14048 test no
= "$can_build_shared" && enable_shared
=no
14050 # On AIX, shared libraries and static libraries use the same namespace, and
14051 # are all built from PIC.
14054 test yes = "$enable_shared" && enable_static
=no
14055 if test -n "$RANLIB"; then
14056 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14057 postinstall_cmds
='$RANLIB $lib'
14062 if test ia64
!= "$host_cpu"; then
14063 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14064 yes,aix
,yes) ;; # shared object as lib.so file only
14065 yes,svr4
,*) ;; # shared object as lib.so archive member only
14066 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14072 $as_echo "$enable_shared" >&6; }
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14075 $as_echo_n "checking whether to build static libraries... " >&6; }
14076 # Make sure either enable_shared or enable_static is yes.
14077 test yes = "$enable_shared" || enable_static
=yes
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14079 $as_echo "$enable_static" >&6; }
14086 ac_cpp
='$CPP $CPPFLAGS'
14087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14107 ac_config_commands
="$ac_config_commands libtool"
14112 # Only expand once:
14117 # Extract the first word of "ar", so it can be a program name with args.
14118 set dummy
ar; ac_word
=$2
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14120 $as_echo_n "checking for $ac_word... " >&6; }
14121 if ${ac_cv_path_AR+:} false
; then :
14122 $as_echo_n "(cached) " >&6
14126 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
14129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14130 for as_dir
in $PATH
14133 test -z "$as_dir" && as_dir
=.
14134 for ac_exec_ext
in '' $ac_executable_extensions; do
14135 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14136 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
14137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14144 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
14149 if test -n "$AR"; then
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
14151 $as_echo "$AR" >&6; }
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14154 $as_echo "no" >&6; }
14158 # Extract the first word of "rm", so it can be a program name with args.
14159 set dummy
rm; ac_word
=$2
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14161 $as_echo_n "checking for $ac_word... " >&6; }
14162 if ${ac_cv_path_RM+:} false
; then :
14163 $as_echo_n "(cached) " >&6
14167 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
14170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14171 for as_dir
in $PATH
14174 test -z "$as_dir" && as_dir
=.
14175 for ac_exec_ext
in '' $ac_executable_extensions; do
14176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14177 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
14178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14185 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
14190 if test -n "$RM"; then
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
14192 $as_echo "$RM" >&6; }
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14195 $as_echo "no" >&6; }
14199 # Extract the first word of "cp", so it can be a program name with args.
14200 set dummy
cp; ac_word
=$2
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14202 $as_echo_n "checking for $ac_word... " >&6; }
14203 if ${ac_cv_path_CP+:} false
; then :
14204 $as_echo_n "(cached) " >&6
14208 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
14211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14212 for as_dir
in $PATH
14215 test -z "$as_dir" && as_dir
=.
14216 for ac_exec_ext
in '' $ac_executable_extensions; do
14217 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14218 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
14219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14226 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
14231 if test -n "$CP"; then
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
14233 $as_echo "$CP" >&6; }
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14236 $as_echo "no" >&6; }
14240 # Extract the first word of "ln", so it can be a program name with args.
14241 set dummy
ln; ac_word
=$2
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14243 $as_echo_n "checking for $ac_word... " >&6; }
14244 if ${ac_cv_path_LN+:} false
; then :
14245 $as_echo_n "(cached) " >&6
14249 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
14252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14253 for as_dir
in $PATH
14256 test -z "$as_dir" && as_dir
=.
14257 for ac_exec_ext
in '' $ac_executable_extensions; do
14258 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14259 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
14260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14267 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
14272 if test -n "$LN"; then
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
14274 $as_echo "$LN" >&6; }
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14277 $as_echo "no" >&6; }
14281 # Extract the first word of "ls", so it can be a program name with args.
14282 set dummy
ls; ac_word
=$2
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14284 $as_echo_n "checking for $ac_word... " >&6; }
14285 if ${ac_cv_path_LS+:} false
; then :
14286 $as_echo_n "(cached) " >&6
14290 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
14293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14294 for as_dir
in $PATH
14297 test -z "$as_dir" && as_dir
=.
14298 for ac_exec_ext
in '' $ac_executable_extensions; do
14299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14300 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
14301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14308 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
14313 if test -n "$LS"; then
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
14315 $as_echo "$LS" >&6; }
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14318 $as_echo "no" >&6; }
14322 # Extract the first word of "sed", so it can be a program name with args.
14323 set dummy
sed; ac_word
=$2
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14325 $as_echo_n "checking for $ac_word... " >&6; }
14326 if ${ac_cv_path_SED+:} false
; then :
14327 $as_echo_n "(cached) " >&6
14331 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
14334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14335 for as_dir
in $PATH
14338 test -z "$as_dir" && as_dir
=.
14339 for ac_exec_ext
in '' $ac_executable_extensions; do
14340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14341 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
14342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14349 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
14353 SED
=$ac_cv_path_SED
14354 if test -n "$SED"; then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14356 $as_echo "$SED" >&6; }
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14359 $as_echo "no" >&6; }
14363 # Extract the first word of "make", so it can be a program name with args.
14364 set dummy
make; ac_word
=$2
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14366 $as_echo_n "checking for $ac_word... " >&6; }
14367 if ${ac_cv_path_MAKE+:} false
; then :
14368 $as_echo_n "(cached) " >&6
14372 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
14375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14376 for as_dir
in $PATH
14379 test -z "$as_dir" && as_dir
=.
14380 for ac_exec_ext
in '' $ac_executable_extensions; do
14381 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14382 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
14383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14393 MAKE
=$ac_cv_path_MAKE
14394 if test -n "$MAKE"; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
14396 $as_echo "$MAKE" >&6; }
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14399 $as_echo "no" >&6; }
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14408 $as_echo_n "checking whether NLS is requested... " >&6; }
14409 # Check whether --enable-nls was given.
14410 if test "${enable_nls+set}" = set; then :
14411 enableval
=$enable_nls; USE_NLS
=$enableval
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14417 $as_echo "$USE_NLS" >&6; }
14424 # Prepare PATH_SEPARATOR.
14425 # The user is always right.
14426 if test "${PATH_SEPARATOR+set}" != set; then
14427 echo "#! /bin/sh" >conf$$.sh
14428 echo "exit 0" >>conf$$.sh
14430 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14438 # Find out how to test for executable files. Don't use a zero-byte file,
14439 # as systems may use methods other than mode bits to determine executability.
14440 cat >conf$$.
file <<_ASEOF
14444 chmod +x conf$$.
file
14445 if test -x conf$$.
file >/dev
/null
2>&1; then
14446 ac_executable_p
="test -x"
14448 ac_executable_p
="test -f"
14452 # Extract the first word of "msgfmt", so it can be a program name with args.
14453 set dummy msgfmt
; ac_word
=$2
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14455 $as_echo_n "checking for $ac_word... " >&6; }
14456 if ${ac_cv_path_MSGFMT+:} false
; then :
14457 $as_echo_n "(cached) " >&6
14461 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
14464 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14465 for ac_dir
in $PATH; do
14467 test -z "$ac_dir" && ac_dir
=.
14468 for ac_exec_ext
in '' $ac_executable_extensions; do
14469 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14470 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14471 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
14472 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
14473 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
14480 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
14484 MSGFMT
="$ac_cv_path_MSGFMT"
14485 if test "$MSGFMT" != ":"; then
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14487 $as_echo "$MSGFMT" >&6; }
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14490 $as_echo "no" >&6; }
14493 # Extract the first word of "gmsgfmt", so it can be a program name with args.
14494 set dummy gmsgfmt
; ac_word
=$2
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14496 $as_echo_n "checking for $ac_word... " >&6; }
14497 if ${ac_cv_path_GMSGFMT+:} false
; then :
14498 $as_echo_n "(cached) " >&6
14502 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
14505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14506 for as_dir
in $PATH
14509 test -z "$as_dir" && as_dir
=.
14510 for ac_exec_ext
in '' $ac_executable_extensions; do
14511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14512 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
14513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14520 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
14524 GMSGFMT
=$ac_cv_path_GMSGFMT
14525 if test -n "$GMSGFMT"; then
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14527 $as_echo "$GMSGFMT" >&6; }
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14530 $as_echo "no" >&6; }
14535 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14536 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
14537 *) MSGFMT_015
=$MSGFMT ;;
14540 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14541 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
14542 *) GMSGFMT_015
=$GMSGFMT ;;
14547 # Prepare PATH_SEPARATOR.
14548 # The user is always right.
14549 if test "${PATH_SEPARATOR+set}" != set; then
14550 echo "#! /bin/sh" >conf$$.sh
14551 echo "exit 0" >>conf$$.sh
14553 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14561 # Find out how to test for executable files. Don't use a zero-byte file,
14562 # as systems may use methods other than mode bits to determine executability.
14563 cat >conf$$.
file <<_ASEOF
14567 chmod +x conf$$.
file
14568 if test -x conf$$.
file >/dev
/null
2>&1; then
14569 ac_executable_p
="test -x"
14571 ac_executable_p
="test -f"
14575 # Extract the first word of "xgettext", so it can be a program name with args.
14576 set dummy xgettext
; ac_word
=$2
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14578 $as_echo_n "checking for $ac_word... " >&6; }
14579 if ${ac_cv_path_XGETTEXT+:} false
; then :
14580 $as_echo_n "(cached) " >&6
14582 case "$XGETTEXT" in
14584 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
14587 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14588 for ac_dir
in $PATH; do
14590 test -z "$ac_dir" && ac_dir
=.
14591 for ac_exec_ext
in '' $ac_executable_extensions; do
14592 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14593 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14594 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
14595 (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
14596 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
14603 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
14607 XGETTEXT
="$ac_cv_path_XGETTEXT"
14608 if test "$XGETTEXT" != ":"; then
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14610 $as_echo "$XGETTEXT" >&6; }
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14613 $as_echo "no" >&6; }
14618 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14619 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
14620 *) XGETTEXT_015
=$XGETTEXT ;;
14625 # Prepare PATH_SEPARATOR.
14626 # The user is always right.
14627 if test "${PATH_SEPARATOR+set}" != set; then
14628 echo "#! /bin/sh" >conf$$.sh
14629 echo "exit 0" >>conf$$.sh
14631 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14639 # Find out how to test for executable files. Don't use a zero-byte file,
14640 # as systems may use methods other than mode bits to determine executability.
14641 cat >conf$$.
file <<_ASEOF
14645 chmod +x conf$$.
file
14646 if test -x conf$$.
file >/dev
/null
2>&1; then
14647 ac_executable_p
="test -x"
14649 ac_executable_p
="test -f"
14653 # Extract the first word of "msgmerge", so it can be a program name with args.
14654 set dummy msgmerge
; ac_word
=$2
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14656 $as_echo_n "checking for $ac_word... " >&6; }
14657 if ${ac_cv_path_MSGMERGE+:} false
; then :
14658 $as_echo_n "(cached) " >&6
14660 case "$MSGMERGE" in
14662 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
14665 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
14666 for ac_dir
in $PATH; do
14668 test -z "$ac_dir" && ac_dir
=.
14669 for ac_exec_ext
in '' $ac_executable_extensions; do
14670 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14671 echo "$as_me: trying $ac_dir/$ac_word..." >&5
14672 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
14673 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
14680 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
14684 MSGMERGE
="$ac_cv_path_MSGMERGE"
14685 if test "$MSGMERGE" != ":"; then
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14687 $as_echo "$MSGMERGE" >&6; }
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14690 $as_echo "no" >&6; }
14694 test -n "$localedir" || localedir
='${datadir}/locale'
14697 ac_config_commands
="$ac_config_commands po-directories"
14701 if test "X$prefix" = "XNONE"; then
14702 acl_final_prefix
="$ac_default_prefix"
14704 acl_final_prefix
="$prefix"
14706 if test "X$exec_prefix" = "XNONE"; then
14707 acl_final_exec_prefix
='${prefix}'
14709 acl_final_exec_prefix
="$exec_prefix"
14711 acl_save_prefix
="$prefix"
14712 prefix
="$acl_final_prefix"
14713 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14714 prefix
="$acl_save_prefix"
14717 # Check whether --with-gnu-ld was given.
14718 if test "${with_gnu_ld+set}" = set; then :
14719 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
14724 # Prepare PATH_SEPARATOR.
14725 # The user is always right.
14726 if test "${PATH_SEPARATOR+set}" != set; then
14727 echo "#! /bin/sh" >conf$$.sh
14728 echo "exit 0" >>conf$$.sh
14730 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14738 if test "$GCC" = yes; then
14739 # Check if gcc -print-prog-name=ld gives a path.
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14741 $as_echo_n "checking for ld used by GCC... " >&6; }
14744 # gcc leaves a trailing carriage return which upsets mingw
14745 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14747 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14750 # Accept absolute paths.
14751 [\\/]* |
[A-Za-z
]:[\\/]*)
14752 re_direlt
='/[^/][^/]*/\.\./'
14753 # Canonicalize the path of ld
14754 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14755 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
14756 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14758 test -z "$LD" && LD
="$ac_prog"
14761 # If it fails, then pretend we aren't using GCC.
14765 # If it is relative, then search for the first ld in PATH.
14766 with_gnu_ld
=unknown
14769 elif test "$with_gnu_ld" = yes; then
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14771 $as_echo_n "checking for GNU ld... " >&6; }
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14774 $as_echo_n "checking for non-GNU ld... " >&6; }
14776 if ${acl_cv_path_LD+:} false
; then :
14777 $as_echo_n "(cached) " >&6
14779 if test -z "$LD"; then
14780 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14781 for ac_dir
in $PATH; do
14782 test -z "$ac_dir" && ac_dir
=.
14783 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14784 acl_cv_path_LD
="$ac_dir/$ac_prog"
14785 # Check to see if the program is GNU ld. I'd rather use --version,
14786 # but apparently some GNU ld's only accept -v.
14787 # Break only if it was the GNU/non-GNU ld that we prefer.
14788 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14789 *GNU
* |
*'with BFD'*)
14790 test "$with_gnu_ld" != no
&& break ;;
14792 test "$with_gnu_ld" != yes && break ;;
14798 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14802 LD
="$acl_cv_path_LD"
14803 if test -n "$LD"; then
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14805 $as_echo "$LD" >&6; }
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14808 $as_echo "no" >&6; }
14810 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14812 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14813 if ${acl_cv_prog_gnu_ld+:} false
; then :
14814 $as_echo_n "(cached) " >&6
14816 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14817 case `$LD -v 2>&1 </dev/null` in
14818 *GNU
* |
*'with BFD'*)
14819 acl_cv_prog_gnu_ld
=yes ;;
14821 acl_cv_prog_gnu_ld
=no
;;
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14825 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14826 with_gnu_ld
=$acl_cv_prog_gnu_ld
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14832 $as_echo_n "checking for shared library run path origin... " >&6; }
14833 if ${acl_cv_rpath+:} false
; then :
14834 $as_echo_n "(cached) " >&6
14837 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14838 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14840 rm -f .
/conftest.sh
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14845 $as_echo "$acl_cv_rpath" >&6; }
14847 libext
="$acl_cv_libext"
14848 shlibext
="$acl_cv_shlibext"
14849 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14850 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14851 hardcode_direct
="$acl_cv_hardcode_direct"
14852 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14853 # Check whether --enable-rpath was given.
14854 if test "${enable_rpath+set}" = set; then :
14855 enableval
=$enable_rpath; :
14863 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14864 if test -n "$searchpath"; then
14865 acl_save_IFS
="${IFS= }"; IFS
=":"
14866 for searchdir
in $searchpath; do
14867 if test -d "$searchdir"; then
14868 case "$searchdir" in
14869 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
14870 *) searchdir
=`cd "$searchdir" && pwd`
14871 case "$searchdir" in
14872 */lib64
) acl_libdirstem
=lib64
;;
14877 IFS
="$acl_save_IFS"
14889 acl_save_prefix
="$prefix"
14890 prefix
="$acl_final_prefix"
14891 acl_save_exec_prefix
="$exec_prefix"
14892 exec_prefix
="$acl_final_exec_prefix"
14894 eval additional_includedir
=\"$includedir\"
14895 eval additional_libdir
=\"$libdir\"
14897 exec_prefix
="$acl_save_exec_prefix"
14898 prefix
="$acl_save_prefix"
14901 # Check whether --with-libiconv-prefix was given.
14902 if test "${with_libiconv_prefix+set}" = set; then :
14903 withval
=$with_libiconv_prefix;
14904 if test "X$withval" = "Xno"; then
14907 if test "X$withval" = "X"; then
14909 acl_save_prefix
="$prefix"
14910 prefix
="$acl_final_prefix"
14911 acl_save_exec_prefix
="$exec_prefix"
14912 exec_prefix
="$acl_final_exec_prefix"
14914 eval additional_includedir
=\"$includedir\"
14915 eval additional_libdir
=\"$libdir\"
14917 exec_prefix
="$acl_save_exec_prefix"
14918 prefix
="$acl_save_prefix"
14921 additional_includedir
="$withval/include"
14922 additional_libdir
="$withval/$acl_libdirstem"
14933 names_already_handled
=
14934 names_next_round
='iconv '
14935 while test -n "$names_next_round"; do
14936 names_this_round
="$names_next_round"
14938 for name
in $names_this_round; do
14940 for n
in $names_already_handled; do
14941 if test "$n" = "$name"; then
14942 already_handled
=yes
14946 if test -z "$already_handled"; then
14947 names_already_handled
="$names_already_handled $name"
14948 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14949 eval value
=\"\
$HAVE_LIB$uppername\"
14950 if test -n "$value"; then
14951 if test "$value" = yes; then
14952 eval value
=\"\
$LIB$uppername\"
14953 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14954 eval value
=\"\
$LTLIB$uppername\"
14955 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14964 if test $use_additional = yes; then
14965 if test -n "$shlibext" \
14966 && { test -f "$additional_libdir/lib$name.$shlibext" \
14967 ||
{ test "$shlibext" = dll \
14968 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14969 found_dir
="$additional_libdir"
14970 if test -f "$additional_libdir/lib$name.$shlibext"; then
14971 found_so
="$additional_libdir/lib$name.$shlibext"
14973 found_so
="$additional_libdir/lib$name.dll.a"
14975 if test -f "$additional_libdir/lib$name.la"; then
14976 found_la
="$additional_libdir/lib$name.la"
14979 if test -f "$additional_libdir/lib$name.$libext"; then
14980 found_dir
="$additional_libdir"
14981 found_a
="$additional_libdir/lib$name.$libext"
14982 if test -f "$additional_libdir/lib$name.la"; then
14983 found_la
="$additional_libdir/lib$name.la"
14988 if test "X$found_dir" = "X"; then
14989 for x
in $LDFLAGS $LTLIBICONV; do
14991 acl_save_prefix
="$prefix"
14992 prefix
="$acl_final_prefix"
14993 acl_save_exec_prefix
="$exec_prefix"
14994 exec_prefix
="$acl_final_exec_prefix"
14996 exec_prefix
="$acl_save_exec_prefix"
14997 prefix
="$acl_save_prefix"
15001 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15002 if test -n "$shlibext" \
15003 && { test -f "$dir/lib$name.$shlibext" \
15004 ||
{ test "$shlibext" = dll \
15005 && test -f "$dir/lib$name.dll.a"; }; }; then
15007 if test -f "$dir/lib$name.$shlibext"; then
15008 found_so
="$dir/lib$name.$shlibext"
15010 found_so
="$dir/lib$name.dll.a"
15012 if test -f "$dir/lib$name.la"; then
15013 found_la
="$dir/lib$name.la"
15016 if test -f "$dir/lib$name.$libext"; then
15018 found_a
="$dir/lib$name.$libext"
15019 if test -f "$dir/lib$name.la"; then
15020 found_la
="$dir/lib$name.la"
15026 if test "X$found_dir" != "X"; then
15031 if test "X$found_dir" != "X"; then
15032 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15033 if test "X$found_so" != "X"; then
15034 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15035 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15038 for x
in $ltrpathdirs; do
15039 if test "X$x" = "X$found_dir"; then
15044 if test -z "$haveit"; then
15045 ltrpathdirs
="$ltrpathdirs $found_dir"
15047 if test "$hardcode_direct" = yes; then
15048 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15050 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
15051 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15053 for x
in $rpathdirs; do
15054 if test "X$x" = "X$found_dir"; then
15059 if test -z "$haveit"; then
15060 rpathdirs
="$rpathdirs $found_dir"
15064 for x
in $LDFLAGS $LIBICONV; do
15066 acl_save_prefix
="$prefix"
15067 prefix
="$acl_final_prefix"
15068 acl_save_exec_prefix
="$exec_prefix"
15069 exec_prefix
="$acl_final_exec_prefix"
15071 exec_prefix
="$acl_save_exec_prefix"
15072 prefix
="$acl_save_prefix"
15074 if test "X$x" = "X-L$found_dir"; then
15079 if test -z "$haveit"; then
15080 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15082 if test "$hardcode_minus_L" != no
; then
15083 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15085 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15091 if test "X$found_a" != "X"; then
15092 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
15094 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15097 additional_includedir
=
15098 case "$found_dir" in
15099 */$acl_libdirstem |
*/$acl_libdirstem/)
15100 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15101 additional_includedir
="$basedir/include"
15104 if test "X$additional_includedir" != "X"; then
15105 if test "X$additional_includedir" != "X/usr/include"; then
15107 if test "X$additional_includedir" = "X/usr/local/include"; then
15108 if test -n "$GCC"; then
15110 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15114 if test -z "$haveit"; then
15115 for x
in $CPPFLAGS $INCICONV; do
15117 acl_save_prefix
="$prefix"
15118 prefix
="$acl_final_prefix"
15119 acl_save_exec_prefix
="$exec_prefix"
15120 exec_prefix
="$acl_final_exec_prefix"
15122 exec_prefix
="$acl_save_exec_prefix"
15123 prefix
="$acl_save_prefix"
15125 if test "X$x" = "X-I$additional_includedir"; then
15130 if test -z "$haveit"; then
15131 if test -d "$additional_includedir"; then
15132 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15138 if test -n "$found_la"; then
15139 save_libdir
="$libdir"
15140 case "$found_la" in
15141 */* |
*\\*) .
"$found_la" ;;
15142 *) .
"./$found_la" ;;
15144 libdir
="$save_libdir"
15145 for dep
in $dependency_libs; do
15148 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15149 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15151 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15152 if test -n "$GCC"; then
15154 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15158 if test -z "$haveit"; then
15160 for x
in $LDFLAGS $LIBICONV; 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-L$additional_libdir"; then
15175 if test -z "$haveit"; then
15176 if test -d "$additional_libdir"; then
15177 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15181 for x
in $LDFLAGS $LTLIBICONV; do
15183 acl_save_prefix
="$prefix"
15184 prefix
="$acl_final_prefix"
15185 acl_save_exec_prefix
="$exec_prefix"
15186 exec_prefix
="$acl_final_exec_prefix"
15188 exec_prefix
="$acl_save_exec_prefix"
15189 prefix
="$acl_save_prefix"
15191 if test "X$x" = "X-L$additional_libdir"; then
15196 if test -z "$haveit"; then
15197 if test -d "$additional_libdir"; then
15198 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15205 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15206 if test "$enable_rpath" != no
; then
15208 for x
in $rpathdirs; do
15209 if test "X$x" = "X$dir"; then
15214 if test -z "$haveit"; then
15215 rpathdirs
="$rpathdirs $dir"
15218 for x
in $ltrpathdirs; do
15219 if test "X$x" = "X$dir"; then
15224 if test -z "$haveit"; then
15225 ltrpathdirs
="$ltrpathdirs $dir"
15230 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15233 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15236 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
15237 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15243 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15244 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15250 if test "X$rpathdirs" != "X"; then
15251 if test -n "$hardcode_libdir_separator"; then
15253 for found_dir
in $rpathdirs; do
15254 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15256 acl_save_libdir
="$libdir"
15258 eval flag
=\"$hardcode_libdir_flag_spec\"
15259 libdir
="$acl_save_libdir"
15260 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15262 for found_dir
in $rpathdirs; do
15263 acl_save_libdir
="$libdir"
15264 libdir
="$found_dir"
15265 eval flag
=\"$hardcode_libdir_flag_spec\"
15266 libdir
="$acl_save_libdir"
15267 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15271 if test "X$ltrpathdirs" != "X"; then
15272 for found_dir
in $ltrpathdirs; do
15273 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15302 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15303 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
15304 $as_echo_n "(cached) " >&6
15306 gt_save_LIBS
="$LIBS"
15307 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
15308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 #include <CoreFoundation/CFPreferences.h>
15314 CFPreferencesCopyAppValue(NULL, NULL)
15319 if ac_fn_c_try_link
"$LINENO"; then :
15320 gt_cv_func_CFPreferencesCopyAppValue
=yes
15322 gt_cv_func_CFPreferencesCopyAppValue
=no
15324 rm -f core conftest.err conftest.
$ac_objext \
15325 conftest
$ac_exeext conftest.
$ac_ext
15326 LIBS
="$gt_save_LIBS"
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15329 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15330 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15332 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15336 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15337 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
15338 $as_echo_n "(cached) " >&6
15340 gt_save_LIBS
="$LIBS"
15341 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
15342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15344 #include <CoreFoundation/CFLocale.h>
15348 CFLocaleCopyCurrent();
15353 if ac_fn_c_try_link
"$LINENO"; then :
15354 gt_cv_func_CFLocaleCopyCurrent
=yes
15356 gt_cv_func_CFLocaleCopyCurrent
=no
15358 rm -f core conftest.err conftest.
$ac_objext \
15359 conftest
$ac_exeext conftest.
$ac_ext
15360 LIBS
="$gt_save_LIBS"
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15363 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15364 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15366 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15370 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15371 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
15383 case " $gt_needs " in
15384 *" need-formatstring-macros "*) gt_api_version
=3 ;;
15385 *" need-ngettext "*) gt_api_version
=2 ;;
15386 *) gt_api_version
=1 ;;
15388 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
15389 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
15391 if test "$USE_NLS" = "yes"; then
15392 gt_use_preinstalled_gnugettext
=no
15395 if test $gt_api_version -ge 3; then
15396 gt_revision_test_code
='
15397 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15398 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15400 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15403 gt_revision_test_code
=
15405 if test $gt_api_version -ge 2; then
15406 gt_expression_test_code
=' + * ngettext ("", "", 0)'
15408 gt_expression_test_code
=
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15412 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15413 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
15414 $as_echo_n "(cached) " >&6
15416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15418 #include <libintl.h>
15419 $gt_revision_test_code
15420 extern int _nl_msg_cat_cntr;
15421 extern int *_nl_domain_bindings;
15425 bindtextdomain ("", "");
15426 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15431 if ac_fn_c_try_link
"$LINENO"; then :
15432 eval "$gt_func_gnugettext_libc=yes"
15434 eval "$gt_func_gnugettext_libc=no"
15436 rm -f core conftest.err conftest.
$ac_objext \
15437 conftest
$ac_exeext conftest.
$ac_ext
15439 eval ac_res
=\$
$gt_func_gnugettext_libc
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15441 $as_echo "$ac_res" >&6; }
15443 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15449 am_save_CPPFLAGS
="$CPPFLAGS"
15451 for element
in $INCICONV; do
15453 for x
in $CPPFLAGS; do
15455 acl_save_prefix
="$prefix"
15456 prefix
="$acl_final_prefix"
15457 acl_save_exec_prefix
="$exec_prefix"
15458 exec_prefix
="$acl_final_exec_prefix"
15460 exec_prefix
="$acl_save_exec_prefix"
15461 prefix
="$acl_save_prefix"
15463 if test "X$x" = "X$element"; then
15468 if test -z "$haveit"; then
15469 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15475 $as_echo_n "checking for iconv... " >&6; }
15476 if ${am_cv_func_iconv+:} false
; then :
15477 $as_echo_n "(cached) " >&6
15480 am_cv_func_iconv
="no, consider installing GNU libiconv"
15482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15484 #include <stdlib.h>
15489 iconv_t cd = iconv_open("","");
15490 iconv(cd,NULL,NULL,NULL,NULL);
15496 if ac_fn_c_try_link
"$LINENO"; then :
15497 am_cv_func_iconv
=yes
15499 rm -f core conftest.err conftest.
$ac_objext \
15500 conftest
$ac_exeext conftest.
$ac_ext
15501 if test "$am_cv_func_iconv" != yes; then
15502 am_save_LIBS
="$LIBS"
15503 LIBS
="$LIBS $LIBICONV"
15504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15505 /* end confdefs.h. */
15506 #include <stdlib.h>
15511 iconv_t cd = iconv_open("","");
15512 iconv(cd,NULL,NULL,NULL,NULL);
15518 if ac_fn_c_try_link
"$LINENO"; then :
15519 am_cv_lib_iconv
=yes
15520 am_cv_func_iconv
=yes
15522 rm -f core conftest.err conftest.
$ac_objext \
15523 conftest
$ac_exeext conftest.
$ac_ext
15524 LIBS
="$am_save_LIBS"
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15529 $as_echo "$am_cv_func_iconv" >&6; }
15530 if test "$am_cv_func_iconv" = yes; then
15532 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15535 if test "$am_cv_lib_iconv" = yes; then
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15537 $as_echo_n "checking how to link with libiconv... " >&6; }
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15539 $as_echo "$LIBICONV" >&6; }
15541 CPPFLAGS
="$am_save_CPPFLAGS"
15554 acl_save_prefix
="$prefix"
15555 prefix
="$acl_final_prefix"
15556 acl_save_exec_prefix
="$exec_prefix"
15557 exec_prefix
="$acl_final_exec_prefix"
15559 eval additional_includedir
=\"$includedir\"
15560 eval additional_libdir
=\"$libdir\"
15562 exec_prefix
="$acl_save_exec_prefix"
15563 prefix
="$acl_save_prefix"
15566 # Check whether --with-libintl-prefix was given.
15567 if test "${with_libintl_prefix+set}" = set; then :
15568 withval
=$with_libintl_prefix;
15569 if test "X$withval" = "Xno"; then
15572 if test "X$withval" = "X"; then
15574 acl_save_prefix
="$prefix"
15575 prefix
="$acl_final_prefix"
15576 acl_save_exec_prefix
="$exec_prefix"
15577 exec_prefix
="$acl_final_exec_prefix"
15579 eval additional_includedir
=\"$includedir\"
15580 eval additional_libdir
=\"$libdir\"
15582 exec_prefix
="$acl_save_exec_prefix"
15583 prefix
="$acl_save_prefix"
15586 additional_includedir
="$withval/include"
15587 additional_libdir
="$withval/$acl_libdirstem"
15598 names_already_handled
=
15599 names_next_round
='intl '
15600 while test -n "$names_next_round"; do
15601 names_this_round
="$names_next_round"
15603 for name
in $names_this_round; do
15605 for n
in $names_already_handled; do
15606 if test "$n" = "$name"; then
15607 already_handled
=yes
15611 if test -z "$already_handled"; then
15612 names_already_handled
="$names_already_handled $name"
15613 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15614 eval value
=\"\
$HAVE_LIB$uppername\"
15615 if test -n "$value"; then
15616 if test "$value" = yes; then
15617 eval value
=\"\
$LIB$uppername\"
15618 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
15619 eval value
=\"\
$LTLIB$uppername\"
15620 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
15629 if test $use_additional = yes; then
15630 if test -n "$shlibext" \
15631 && { test -f "$additional_libdir/lib$name.$shlibext" \
15632 ||
{ test "$shlibext" = dll \
15633 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
15634 found_dir
="$additional_libdir"
15635 if test -f "$additional_libdir/lib$name.$shlibext"; then
15636 found_so
="$additional_libdir/lib$name.$shlibext"
15638 found_so
="$additional_libdir/lib$name.dll.a"
15640 if test -f "$additional_libdir/lib$name.la"; then
15641 found_la
="$additional_libdir/lib$name.la"
15644 if test -f "$additional_libdir/lib$name.$libext"; then
15645 found_dir
="$additional_libdir"
15646 found_a
="$additional_libdir/lib$name.$libext"
15647 if test -f "$additional_libdir/lib$name.la"; then
15648 found_la
="$additional_libdir/lib$name.la"
15653 if test "X$found_dir" = "X"; then
15654 for x
in $LDFLAGS $LTLIBINTL; do
15656 acl_save_prefix
="$prefix"
15657 prefix
="$acl_final_prefix"
15658 acl_save_exec_prefix
="$exec_prefix"
15659 exec_prefix
="$acl_final_exec_prefix"
15661 exec_prefix
="$acl_save_exec_prefix"
15662 prefix
="$acl_save_prefix"
15666 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15667 if test -n "$shlibext" \
15668 && { test -f "$dir/lib$name.$shlibext" \
15669 ||
{ test "$shlibext" = dll \
15670 && test -f "$dir/lib$name.dll.a"; }; }; then
15672 if test -f "$dir/lib$name.$shlibext"; then
15673 found_so
="$dir/lib$name.$shlibext"
15675 found_so
="$dir/lib$name.dll.a"
15677 if test -f "$dir/lib$name.la"; then
15678 found_la
="$dir/lib$name.la"
15681 if test -f "$dir/lib$name.$libext"; then
15683 found_a
="$dir/lib$name.$libext"
15684 if test -f "$dir/lib$name.la"; then
15685 found_la
="$dir/lib$name.la"
15691 if test "X$found_dir" != "X"; then
15696 if test "X$found_dir" != "X"; then
15697 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15698 if test "X$found_so" != "X"; then
15699 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15700 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15703 for x
in $ltrpathdirs; do
15704 if test "X$x" = "X$found_dir"; then
15709 if test -z "$haveit"; then
15710 ltrpathdirs
="$ltrpathdirs $found_dir"
15712 if test "$hardcode_direct" = yes; then
15713 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15715 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
15716 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15718 for x
in $rpathdirs; do
15719 if test "X$x" = "X$found_dir"; then
15724 if test -z "$haveit"; then
15725 rpathdirs
="$rpathdirs $found_dir"
15729 for x
in $LDFLAGS $LIBINTL; do
15731 acl_save_prefix
="$prefix"
15732 prefix
="$acl_final_prefix"
15733 acl_save_exec_prefix
="$exec_prefix"
15734 exec_prefix
="$acl_final_exec_prefix"
15736 exec_prefix
="$acl_save_exec_prefix"
15737 prefix
="$acl_save_prefix"
15739 if test "X$x" = "X-L$found_dir"; then
15744 if test -z "$haveit"; then
15745 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15747 if test "$hardcode_minus_L" != no
; then
15748 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
15750 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15756 if test "X$found_a" != "X"; then
15757 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
15759 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15762 additional_includedir
=
15763 case "$found_dir" in
15764 */$acl_libdirstem |
*/$acl_libdirstem/)
15765 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15766 additional_includedir
="$basedir/include"
15769 if test "X$additional_includedir" != "X"; then
15770 if test "X$additional_includedir" != "X/usr/include"; then
15772 if test "X$additional_includedir" = "X/usr/local/include"; then
15773 if test -n "$GCC"; then
15775 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15779 if test -z "$haveit"; then
15780 for x
in $CPPFLAGS $INCINTL; do
15782 acl_save_prefix
="$prefix"
15783 prefix
="$acl_final_prefix"
15784 acl_save_exec_prefix
="$exec_prefix"
15785 exec_prefix
="$acl_final_exec_prefix"
15787 exec_prefix
="$acl_save_exec_prefix"
15788 prefix
="$acl_save_prefix"
15790 if test "X$x" = "X-I$additional_includedir"; then
15795 if test -z "$haveit"; then
15796 if test -d "$additional_includedir"; then
15797 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15803 if test -n "$found_la"; then
15804 save_libdir
="$libdir"
15805 case "$found_la" in
15806 */* |
*\\*) .
"$found_la" ;;
15807 *) .
"./$found_la" ;;
15809 libdir
="$save_libdir"
15810 for dep
in $dependency_libs; do
15813 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15814 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15816 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15817 if test -n "$GCC"; then
15819 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15823 if test -z "$haveit"; then
15825 for x
in $LDFLAGS $LIBINTL; do
15827 acl_save_prefix
="$prefix"
15828 prefix
="$acl_final_prefix"
15829 acl_save_exec_prefix
="$exec_prefix"
15830 exec_prefix
="$acl_final_exec_prefix"
15832 exec_prefix
="$acl_save_exec_prefix"
15833 prefix
="$acl_save_prefix"
15835 if test "X$x" = "X-L$additional_libdir"; then
15840 if test -z "$haveit"; then
15841 if test -d "$additional_libdir"; then
15842 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15846 for x
in $LDFLAGS $LTLIBINTL; do
15848 acl_save_prefix
="$prefix"
15849 prefix
="$acl_final_prefix"
15850 acl_save_exec_prefix
="$exec_prefix"
15851 exec_prefix
="$acl_final_exec_prefix"
15853 exec_prefix
="$acl_save_exec_prefix"
15854 prefix
="$acl_save_prefix"
15856 if test "X$x" = "X-L$additional_libdir"; then
15861 if test -z "$haveit"; then
15862 if test -d "$additional_libdir"; then
15863 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15870 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15871 if test "$enable_rpath" != no
; then
15873 for x
in $rpathdirs; do
15874 if test "X$x" = "X$dir"; then
15879 if test -z "$haveit"; then
15880 rpathdirs
="$rpathdirs $dir"
15883 for x
in $ltrpathdirs; do
15884 if test "X$x" = "X$dir"; then
15889 if test -z "$haveit"; then
15890 ltrpathdirs
="$ltrpathdirs $dir"
15895 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15898 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15901 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
15902 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15908 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15909 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15915 if test "X$rpathdirs" != "X"; then
15916 if test -n "$hardcode_libdir_separator"; then
15918 for found_dir
in $rpathdirs; do
15919 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15921 acl_save_libdir
="$libdir"
15923 eval flag
=\"$hardcode_libdir_flag_spec\"
15924 libdir
="$acl_save_libdir"
15925 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15927 for found_dir
in $rpathdirs; do
15928 acl_save_libdir
="$libdir"
15929 libdir
="$found_dir"
15930 eval flag
=\"$hardcode_libdir_flag_spec\"
15931 libdir
="$acl_save_libdir"
15932 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15936 if test "X$ltrpathdirs" != "X"; then
15937 for found_dir
in $ltrpathdirs; do
15938 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15943 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15944 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
15945 $as_echo_n "(cached) " >&6
15947 gt_save_CPPFLAGS
="$CPPFLAGS"
15948 CPPFLAGS
="$CPPFLAGS $INCINTL"
15949 gt_save_LIBS
="$LIBS"
15950 LIBS
="$LIBS $LIBINTL"
15951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15953 #include <libintl.h>
15954 $gt_revision_test_code
15955 extern int _nl_msg_cat_cntr;
15960 const char *_nl_expand_alias (const char *);
15964 bindtextdomain ("", "");
15965 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15970 if ac_fn_c_try_link
"$LINENO"; then :
15971 eval "$gt_func_gnugettext_libintl=yes"
15973 eval "$gt_func_gnugettext_libintl=no"
15975 rm -f core conftest.err conftest.
$ac_objext \
15976 conftest
$ac_exeext conftest.
$ac_ext
15977 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15978 LIBS
="$LIBS $LIBICONV"
15979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15980 /* end confdefs.h. */
15981 #include <libintl.h>
15982 $gt_revision_test_code
15983 extern int _nl_msg_cat_cntr;
15988 const char *_nl_expand_alias (const char *);
15992 bindtextdomain ("", "");
15993 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15998 if ac_fn_c_try_link
"$LINENO"; then :
15999 LIBINTL
="$LIBINTL $LIBICONV"
16000 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
16001 eval "$gt_func_gnugettext_libintl=yes"
16004 rm -f core conftest.err conftest.
$ac_objext \
16005 conftest
$ac_exeext conftest.
$ac_ext
16007 CPPFLAGS
="$gt_save_CPPFLAGS"
16008 LIBS
="$gt_save_LIBS"
16010 eval ac_res
=\$
$gt_func_gnugettext_libintl
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16012 $as_echo "$ac_res" >&6; }
16015 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16016 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16017 && test "$PACKAGE" != gettext-runtime \
16018 && test "$PACKAGE" != gettext-tools
; }; then
16019 gt_use_preinstalled_gnugettext
=yes
16028 if test -n "$INTL_MACOSX_LIBS"; then
16029 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16030 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
16031 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
16032 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
16036 if test "$gt_use_preinstalled_gnugettext" = "yes" \
16037 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
16039 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16047 $as_echo_n "checking whether to use NLS... " >&6; }
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16049 $as_echo "$USE_NLS" >&6; }
16050 if test "$USE_NLS" = "yes"; then
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16052 $as_echo_n "checking where the gettext function comes from... " >&6; }
16053 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16054 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16055 gt_source
="external libintl"
16060 gt_source
="included intl directory"
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16063 $as_echo "$gt_source" >&6; }
16066 if test "$USE_NLS" = "yes"; then
16068 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16069 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16071 $as_echo_n "checking how to link with libintl... " >&6; }
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16073 $as_echo "$LIBINTL" >&6; }
16075 for element
in $INCINTL; do
16077 for x
in $CPPFLAGS; do
16079 acl_save_prefix
="$prefix"
16080 prefix
="$acl_final_prefix"
16081 acl_save_exec_prefix
="$exec_prefix"
16082 exec_prefix
="$acl_final_exec_prefix"
16084 exec_prefix
="$acl_save_exec_prefix"
16085 prefix
="$acl_save_prefix"
16087 if test "X$x" = "X$element"; then
16092 if test -z "$haveit"; then
16093 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16100 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16103 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16112 INTLLIBS
="$LIBINTL"
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
16121 $as_echo_n "checking option: dmalloc enabled... " >&6; }
16122 # Check whether --enable-dmalloc was given.
16123 if test "${enable_dmalloc+set}" = set; then :
16124 enableval
=$enable_dmalloc;
16127 if test x
$enable_dmalloc = "xyes" ; then
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16129 $as_echo "yes" >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16132 $as_echo "no" >&6; }
16136 # Check whether --with-dmalloc-dir was given.
16137 if test "${with_dmalloc_dir+set}" = set; then :
16138 withval
=$with_dmalloc_dir;
16139 if test "x$withval" != "xno" ; then
16140 enable_dmalloc
= "yes"
16141 CPPFLAGS
="$CPPFLAGS -I${withval}"
16142 LDFLAGS
="$LDFLAGS -L${withval}"
16148 if test x
$enable_dmalloc = "xyes" ; then
16150 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
16154 ALPINE_datestamp
=`date`
16156 # Check whether --with-date-stamp was given.
16157 if test "${with_date_stamp+set}" = set; then :
16158 withval
=$with_date_stamp;
16159 if test "x$withval" != "xno" ; then
16160 ALPINE_datestamp
=$withval
16165 ALPINE_DATESTAMP
=$ALPINE_datestamp
16168 ALPINE_hoststamp
=`hostname`
16170 # Check whether --with-host-stamp was given.
16171 if test "${with_host_stamp+set}" = set; then :
16172 withval
=$with_host_stamp;
16173 if test "x$withval" != "xno" ; then
16174 ALPINE_hoststamp
="$withval"
16179 ALPINE_HOSTSTAMP
=$ALPINE_hoststamp
16184 if test -d /opt
/local ; then
16185 localedir
="/opt/local/share/locale"
16187 localedir
="\${datadir}/locale"
16191 localedir
="/usr/share"
16194 localedir
="\${datadir}/locale"
16199 # Check whether --with-localedir was given.
16200 if test "${with_localedir+set}" = set; then :
16201 withval
=$with_localedir;
16214 localedir
="$localedir"
16217 # Setup OS-Specific features
16220 # Check whether --enable-osx-universal-binaries was given.
16221 if test "${enable_osx_universal_binaries+set}" = set; then :
16222 enableval
=$enable_osx_universal_binaries;
16225 if test "x$enable_osx_universal_binaries" = "xyes" ; then
16226 if test "x$enable_dependency_tracking" != xno
; then
16227 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
16228 Please re-run configure with these options:
16229 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
16231 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
16232 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
16233 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
16234 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
16236 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
16238 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
16239 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
16240 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
16241 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
16242 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
16243 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
16249 # Check whether --with-include-path was given.
16250 if test "${with_include_path+set}" = set; then :
16251 withval
=$with_include_path;
16258 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
16259 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
16260 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
16268 # Check whether --with-lib-path was given.
16269 if test "${with_lib_path+set}" = set; then :
16270 withval
=$with_lib_path;
16277 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
16278 LDFLAGS
="$LDFLAGS $new_ldflags"
16279 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
16287 # Check whether --with-pubcookie was given.
16288 if test "${with_pubcookie+set}" = set; then :
16289 withval
=$with_pubcookie;
16290 if test "x$withval" != "xno" ; then
16291 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
16299 # Check whether --with-web-bin was given.
16300 if test "${with_web_bin+set}" = set; then :
16301 withval
=$with_web_bin;
16308 WEB_BINDIR
=$withval
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
16316 $as_echo_n "checking option: debugging is enabled... " >&6; }
16317 # Check whether --enable-debug was given.
16318 if test "${enable_debug+set}" = set; then :
16319 enableval
=$enable_debug;
16322 if test x
$enable_debug != "xno" ; then
16323 AM_CFLAGS
="$AM_CFLAGS -g"
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16325 $as_echo "yes" >&6; }
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16328 $as_echo "no" >&6; }
16331 $as_echo "#define DEBUG 1" >>confdefs.h
16334 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
16339 $as_echo_n "checking option: optimization is enabled... " >&6; }
16340 # Check whether --enable-optimization was given.
16341 if test "${enable_optimization+set}" = set; then :
16342 enableval
=$enable_optimization;
16345 if test x
$enable_optimization != "xno" ; then
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16347 $as_echo "yes" >&6; }
16349 CFLAGS
="`echo $CFLAGS | ${SED} 's/-O2//g'`"
16350 C_FLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//g'`"
16351 CFLAGS
="$CFLAGS $C_FLAGS"
16352 alpine_c_client_gccoptlevel
="-O0"
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16354 $as_echo "no" >&6; }
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
16358 $as_echo_n "checking option: mouse support enabled... " >&6; }
16359 # Check whether --enable-mouse was given.
16360 if test "${enable_mouse+set}" = set; then :
16361 enableval
=$enable_mouse;
16364 if test x
$enable_mouse != "xno" ; then
16366 $as_echo "#define MOUSE /**/" >>confdefs.h
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16369 $as_echo "yes" >&6; }
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16372 $as_echo "no" >&6; }
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
16376 $as_echo_n "checking option: quotas enabled... " >&6; }
16377 # Check whether --enable-quotas was given.
16378 if test "${enable_quotas+set}" = set; then :
16379 enableval
=$enable_quotas;
16382 if test x
$enable_quotas = "xyes" ; then
16384 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16387 $as_echo "yes" >&6; }
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16390 $as_echo "no" >&6; }
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
16394 $as_echo_n "checking option: From changing enabled... " >&6; }
16395 # Check whether --enable-from_changing was given.
16396 if test "${enable_from_changing+set}" = set; then :
16397 enableval
=$enable_from_changing;
16400 if test x
$enable_from_changing != "xno" ; then
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16402 $as_echo "yes" >&6; }
16405 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16408 $as_echo "no" >&6; }
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
16412 $as_echo_n "checking option: background post enabled... " >&6; }
16413 # Check whether --enable-background-post was given.
16414 if test "${enable_background_post+set}" = set; then :
16415 enableval
=$enable_background_post;
16418 if test x
$enable_background_post != "xno" ; then
16420 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16423 $as_echo "yes" >&6; }
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16426 $as_echo "no" >&6; }
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
16430 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
16431 # Check whether --enable-keyboard-lock was given.
16432 if test "${enable_keyboard_lock+set}" = set; then :
16433 enableval
=$enable_keyboard_lock;
16436 if test x
$enable_keyboard_lock != "xno" ; then
16438 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16441 $as_echo "yes" >&6; }
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16444 $as_echo "no" >&6; }
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
16448 $as_echo_n "checking option: from encoding enabled... " >&6; }
16449 # Check whether --enable-from-encoding was given.
16450 if test "${enable_from_encoding+set}" = set; then :
16451 enableval
=$enable_from_encoding;
16454 if test x
$enable_from_encoding = "xyes" ; then
16456 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16459 $as_echo "yes" >&6; }
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16462 $as_echo "no" >&6; }
16466 # Check whether --with-smtp-msa was given.
16467 if test "${with_smtp_msa+set}" = set; then :
16468 withval
=$with_smtp_msa;
16473 # Extract the first word of "sendmail", so it can be a program name with args.
16474 set dummy sendmail
; ac_word
=$2
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16476 $as_echo_n "checking for $ac_word... " >&6; }
16477 if ${ac_cv_path_SENDMAIL+:} false
; then :
16478 $as_echo_n "(cached) " >&6
16482 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
16485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16486 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16487 for as_dir
in $as_dummy
16490 test -z "$as_dir" && as_dir
=.
16491 for ac_exec_ext
in '' $ac_executable_extensions; do
16492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16493 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
16494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16501 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
16505 SENDMAIL
=$ac_cv_path_SENDMAIL
16506 if test -n "$SENDMAIL"; then
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
16508 $as_echo "$SENDMAIL" >&6; }
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16511 $as_echo "no" >&6; }
16523 # Extract the first word of "sendmail", so it can be a program name with args.
16524 set dummy sendmail
; ac_word
=$2
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16526 $as_echo_n "checking for $ac_word... " >&6; }
16527 if ${ac_cv_path_SENDMAIL+:} false
; then :
16528 $as_echo_n "(cached) " >&6
16532 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
16535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16536 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16537 for as_dir
in $as_dummy
16540 test -z "$as_dir" && as_dir
=.
16541 for ac_exec_ext
in '' $ac_executable_extensions; do
16542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16543 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
16544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16551 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
16555 SENDMAIL
=$ac_cv_path_SENDMAIL
16556 if test -n "$SENDMAIL"; then
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
16558 $as_echo "$SENDMAIL" >&6; }
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16561 $as_echo "no" >&6; }
16568 if test -n "$SENDMAIL" ; then
16570 cat >>confdefs.h
<<_ACEOF
16571 #define SENDMAIL "$SENDMAIL"
16576 smtp_msa_flags
="-bs -odb -oem"
16578 # Check whether --with-smtp-msa-flags was given.
16579 if test "${with_smtp_msa_flags+set}" = set; then :
16580 withval
=$with_smtp_msa_flags;
16581 if test "x$withval" != "xno" ; then
16582 smtp_msa_flags
=$withval
16588 cat >>confdefs.h
<<_ACEOF
16589 #define SENDMAILFLAGS "$smtp_msa_flags"
16595 # Check whether --with-npa was given.
16596 if test "${with_npa+set}" = set; then :
16602 # Extract the first word of "inews", so it can be a program name with args.
16603 set dummy inews
; ac_word
=$2
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16605 $as_echo_n "checking for $ac_word... " >&6; }
16606 if ${ac_cv_path_NPA_PROG+:} false
; then :
16607 $as_echo_n "(cached) " >&6
16611 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
16614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16615 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16616 for as_dir
in $as_dummy
16619 test -z "$as_dir" && as_dir
=.
16620 for ac_exec_ext
in '' $ac_executable_extensions; do
16621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16622 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
16623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16630 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
16634 NPA_PROG
=$ac_cv_path_NPA_PROG
16635 if test -n "$NPA_PROG"; then
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
16637 $as_echo "$NPA_PROG" >&6; }
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16640 $as_echo "no" >&6; }
16652 # Extract the first word of "inews", so it can be a program name with args.
16653 set dummy inews
; ac_word
=$2
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16655 $as_echo_n "checking for $ac_word... " >&6; }
16656 if ${ac_cv_path_NPA_PROG+:} false
; then :
16657 $as_echo_n "(cached) " >&6
16661 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
16664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16665 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16666 for as_dir
in $as_dummy
16669 test -z "$as_dir" && as_dir
=.
16670 for ac_exec_ext
in '' $ac_executable_extensions; do
16671 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16672 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
16673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16680 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
16684 NPA_PROG
=$ac_cv_path_NPA_PROG
16685 if test -n "$NPA_PROG"; then
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
16687 $as_echo "$NPA_PROG" >&6; }
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16690 $as_echo "no" >&6; }
16700 # Check whether --with-npa-flags was given.
16701 if test "${with_npa_flags+set}" = set; then :
16702 withval
=$with_npa_flags;
16703 if test "x$withval" != "xno" ; then
16709 if test -n "$NPA_PROG" ; then
16711 cat >>confdefs.h
<<_ACEOF
16712 #define SENDNEWS "$NPA_PROG $npa_flags"
16718 # Check whether --with-password-prog was given.
16719 if test "${with_password_prog+set}" = set; then :
16720 withval
=$with_password_prog;
16725 # Extract the first word of "passwd", so it can be a program name with args.
16726 set dummy passwd
; ac_word
=$2
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16728 $as_echo_n "checking for $ac_word... " >&6; }
16729 if ${ac_cv_path_PWPROG+:} false
; then :
16730 $as_echo_n "(cached) " >&6
16734 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16738 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16739 for as_dir
in $as_dummy
16742 test -z "$as_dir" && as_dir
=.
16743 for ac_exec_ext
in '' $ac_executable_extensions; do
16744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16745 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16753 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16757 PWPROG
=$ac_cv_path_PWPROG
16758 if test -n "$PWPROG"; then
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16760 $as_echo "$PWPROG" >&6; }
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16763 $as_echo "no" >&6; }
16769 # Extract the first word of "$withval", so it can be a program name with args.
16770 set dummy
$withval; ac_word
=$2
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16772 $as_echo_n "checking for $ac_word... " >&6; }
16773 if ${ac_cv_path_PWPROG+:} false
; then :
16774 $as_echo_n "(cached) " >&6
16778 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16782 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16783 for as_dir
in $as_dummy
16786 test -z "$as_dir" && as_dir
=.
16787 for ac_exec_ext
in '' $ac_executable_extensions; do
16788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16789 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16797 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16801 PWPROG
=$ac_cv_path_PWPROG
16802 if test -n "$PWPROG"; then
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16804 $as_echo "$PWPROG" >&6; }
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16807 $as_echo "no" >&6; }
16816 # Extract the first word of "passwd", so it can be a program name with args.
16817 set dummy passwd
; ac_word
=$2
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16819 $as_echo_n "checking for $ac_word... " >&6; }
16820 if ${ac_cv_path_PWPROG+:} false
; then :
16821 $as_echo_n "(cached) " >&6
16825 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
16828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16829 as_dummy
="$PATH:/usr/sbin:/usr/lib"
16830 for as_dir
in $as_dummy
16833 test -z "$as_dir" && as_dir
=.
16834 for ac_exec_ext
in '' $ac_executable_extensions; do
16835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16836 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
16837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16844 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
16848 PWPROG
=$ac_cv_path_PWPROG
16849 if test -n "$PWPROG"; then
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
16851 $as_echo "$PWPROG" >&6; }
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16854 $as_echo "no" >&6; }
16861 if test -n "$PWPROG" ; then
16863 cat >>confdefs.h
<<_ACEOF
16864 #define PASSWD_PROG "$PWPROG"
16870 # Check whether --with-simple-spellcheck was given.
16871 if test "${with_simple_spellcheck+set}" = set; then :
16872 withval
=$with_simple_spellcheck;
16873 if test "x$withval" != "xno" ; then
16879 # Extract the first word of "hunspell", so it can be a program name with args.
16880 set dummy hunspell
; ac_word
=$2
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16882 $as_echo_n "checking for $ac_word... " >&6; }
16883 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16884 $as_echo_n "(cached) " >&6
16886 if test -n "$SPELLPROG"; then
16887 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16890 for as_dir
in $PATH
16893 test -z "$as_dir" && as_dir
=.
16894 for ac_exec_ext
in '' $ac_executable_extensions; do
16895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16896 ac_cv_prog_SPELLPROG
="hunspell"
16897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16906 SPELLPROG
=$ac_cv_prog_SPELLPROG
16907 if test -n "$SPELLPROG"; then
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16909 $as_echo "$SPELLPROG" >&6; }
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16912 $as_echo "no" >&6; }
16916 if test -z "$SPELLPROG" ; then
16917 # Extract the first word of "aspell", so it can be a program name with args.
16918 set dummy aspell
; ac_word
=$2
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16920 $as_echo_n "checking for $ac_word... " >&6; }
16921 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16922 $as_echo_n "(cached) " >&6
16924 if test -n "$SPELLPROG"; then
16925 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16928 for as_dir
in $PATH
16931 test -z "$as_dir" && as_dir
=.
16932 for ac_exec_ext
in '' $ac_executable_extensions; do
16933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16934 ac_cv_prog_SPELLPROG
="aspell"
16935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16944 SPELLPROG
=$ac_cv_prog_SPELLPROG
16945 if test -n "$SPELLPROG"; then
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16947 $as_echo "$SPELLPROG" >&6; }
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16950 $as_echo "no" >&6; }
16954 if test -z "$SPELLPROG" ; then
16955 # Extract the first word of "ispell", so it can be a program name with args.
16956 set dummy ispell
; ac_word
=$2
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16958 $as_echo_n "checking for $ac_word... " >&6; }
16959 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16960 $as_echo_n "(cached) " >&6
16962 if test -n "$SPELLPROG"; then
16963 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16966 for as_dir
in $PATH
16969 test -z "$as_dir" && as_dir
=.
16970 for ac_exec_ext
in '' $ac_executable_extensions; do
16971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16972 ac_cv_prog_SPELLPROG
="ispell"
16973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16982 SPELLPROG
=$ac_cv_prog_SPELLPROG
16983 if test -n "$SPELLPROG"; then
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16985 $as_echo "$SPELLPROG" >&6; }
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16988 $as_echo "no" >&6; }
16992 if test -z "$SPELLPROG" ; then
17001 if test "x$SPELLPROG" != "xno" ; then
17002 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
17003 set dummy
$SPELLPROG; ac_word
=$2
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17005 $as_echo_n "checking for $ac_word... " >&6; }
17006 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
17007 $as_echo_n "(cached) " >&6
17009 case $alpine_simple_spellcheck in
17011 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
17014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17015 for as_dir
in $PATH
17018 test -z "$as_dir" && as_dir
=.
17019 for ac_exec_ext
in '' $ac_executable_extensions; do
17020 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17021 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
17022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17032 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
17033 if test -n "$alpine_simple_spellcheck"; then
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
17035 $as_echo "$alpine_simple_spellcheck" >&6; }
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17038 $as_echo "no" >&6; }
17042 if test -n "$alpine_simple_spellcheck" ; then
17043 case "$SPELLPROG" in
17045 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
17048 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
17051 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
17060 # Check whether --with-interactive-spellcheck was given.
17061 if test "${with_interactive_spellcheck+set}" = set; then :
17062 withval
=$with_interactive_spellcheck;
17063 if test "x$withval" != "xno" ; then
17064 ISPELLPROG
=$withval
17069 # Extract the first word of "hunspell", so it can be a program name with args.
17070 set dummy hunspell
; ac_word
=$2
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17072 $as_echo_n "checking for $ac_word... " >&6; }
17073 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
17074 $as_echo_n "(cached) " >&6
17076 if test -n "$ISPELLPROG"; then
17077 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
17079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17080 for as_dir
in $PATH
17083 test -z "$as_dir" && as_dir
=.
17084 for ac_exec_ext
in '' $ac_executable_extensions; do
17085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17086 ac_cv_prog_ISPELLPROG
="hunspell"
17087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17096 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
17097 if test -n "$ISPELLPROG"; then
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
17099 $as_echo "$ISPELLPROG" >&6; }
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17102 $as_echo "no" >&6; }
17106 if test -z "$ISPELLPROG" ; then
17107 # Extract the first word of "aspell", so it can be a program name with args.
17108 set dummy aspell
; ac_word
=$2
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17110 $as_echo_n "checking for $ac_word... " >&6; }
17111 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
17112 $as_echo_n "(cached) " >&6
17114 if test -n "$ISPELLPROG"; then
17115 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
17117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17118 for as_dir
in $PATH
17121 test -z "$as_dir" && as_dir
=.
17122 for ac_exec_ext
in '' $ac_executable_extensions; do
17123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17124 ac_cv_prog_ISPELLPROG
="aspell"
17125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17134 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
17135 if test -n "$ISPELLPROG"; then
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
17137 $as_echo "$ISPELLPROG" >&6; }
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17140 $as_echo "no" >&6; }
17144 if test -z "$SPELLPROG" ; then
17145 ISPELLPROG
="ispell"
17152 if test "x$ISPELLPROG" != "xno" ; then
17153 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
17154 set dummy
$ISPELLPROG; ac_word
=$2
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17156 $as_echo_n "checking for $ac_word... " >&6; }
17157 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
17158 $as_echo_n "(cached) " >&6
17160 case $alpine_interactive_spellcheck in
17162 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
17165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17166 for as_dir
in $PATH
17169 test -z "$as_dir" && as_dir
=.
17170 for ac_exec_ext
in '' $ac_executable_extensions; do
17171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17172 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
17173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17183 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
17184 if test -n "$alpine_interactive_spellcheck"; then
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
17186 $as_echo "$alpine_interactive_spellcheck" >&6; }
17188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17189 $as_echo "no" >&6; }
17193 if test -n "$alpine_interactive_spellcheck" ; then
17194 case "$ISPELLPROG" in
17196 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
17204 if test -n "$alpine_interactive_spellcheck" ; then
17206 cat >>confdefs.h
<<_ACEOF
17207 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
17212 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
17213 alpine_simple_spellcheck
=test
17216 cat >>confdefs.h
<<_ACEOF
17217 #define SPELLER "$alpine_simple_spellcheck"
17222 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
17223 *) dpv
=${prefix}/lib
/pine.conf
;;
17226 # Check whether --with-system-pinerc was given.
17227 if test "${with_system_pinerc+set}" = set; then :
17228 withval
=$with_system_pinerc;
17242 cat >>confdefs.h
<<_ACEOF
17243 #define SYSTEM_PINERC "$dpv"
17248 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
17249 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
17252 # Check whether --with-system-fixed-pinerc was given.
17253 if test "${with_system_fixed_pinerc+set}" = set; then :
17254 withval
=$with_system_fixed_pinerc;
17268 cat >>confdefs.h
<<_ACEOF
17269 #define SYSTEM_PINERC_FIXED "$dpv"
17274 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
17275 *) dpv
=${prefix}/lib
/pine.info
;;
17278 # Check whether --with-local-support-info was given.
17279 if test "${with_local_support_info+set}" = set; then :
17280 withval
=$with_local_support_info;
17294 cat >>confdefs.h
<<_ACEOF
17295 #define SYSTEM_PINE_INFO_PATH "$dpv"
17306 # Check whether --with-mailcheck-interval was given.
17307 if test "${with_mailcheck_interval+set}" = set; then :
17308 withval
=$with_mailcheck_interval;
17309 if test "x$withval" != "xno" ; then
17316 cat >>confdefs.h
<<_ACEOF
17317 #define DF_MAILCHECK "$dpv"
17324 # Check whether --with-checkpoint-interval was given.
17325 if test "${with_checkpoint_interval+set}" = set; then :
17326 withval
=$with_checkpoint_interval;
17327 if test "x$withval" != "xno" ; then
17334 cat >>confdefs.h
<<_ACEOF
17335 #define CHECK_POINT_TIME $dpv
17342 # Check whether --with-checkpoint-frequency was given.
17343 if test "${with_checkpoint_frequency+set}" = set; then :
17344 withval
=$with_checkpoint_frequency;
17345 if test "x$withval" != "xno" ; then
17352 cat >>confdefs.h
<<_ACEOF
17353 #define CHECK_POINT_FREQ $dpv
17360 # Check whether --with-display-rows was given.
17361 if test "${with_display_rows+set}" = set; then :
17362 withval
=$with_display_rows;
17363 if test "x$withval" != "xno" ; then
17370 cat >>confdefs.h
<<_ACEOF
17371 #define DEFAULT_LINES_ON_TERMINAL $dpv
17378 # Check whether --with-display-columns was given.
17379 if test "${with_display_columns+set}" = set; then :
17380 withval
=$with_display_columns;
17381 if test "x$withval" != "xno" ; then
17388 cat >>confdefs.h
<<_ACEOF
17389 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
17396 # Check whether --with-max-display-rows was given.
17397 if test "${with_max_display_rows+set}" = set; then :
17398 withval
=$with_max_display_rows;
17399 if test "x$withval" != "xno" ; then
17406 cat >>confdefs.h
<<_ACEOF
17407 #define MAX_SCREEN_ROWS $dpv
17414 # Check whether --with-max-display-columns was given.
17415 if test "${with_max_display_columns+set}" = set; then :
17416 withval
=$with_max_display_columns;
17417 if test "x$withval" != "xno" ; then
17424 cat >>confdefs.h
<<_ACEOF
17425 #define MAX_SCREEN_COLS $dpv
17432 # Check whether --with-fill-column was given.
17433 if test "${with_fill_column+set}" = set; then :
17434 withval
=$with_fill_column;
17435 if test "x$withval" != "xno" ; then
17442 cat >>confdefs.h
<<_ACEOF
17443 #define DF_FILLCOL "$dpv"
17450 # Check whether --with-max_fill-column was given.
17451 if test "${with_max_fill_column+set}" = set; then :
17452 withval
=$with_max_fill_column;
17453 if test "x$withval" != "xno" ; then
17460 cat >>confdefs.h
<<_ACEOF
17461 #define MAX_FILLCOL $dpv
17468 # Check whether --with-debug-level was given.
17469 if test "${with_debug_level+set}" = set; then :
17470 withval
=$with_debug_level;
17471 if test "x$withval" != "xno" ; then
17478 cat >>confdefs.h
<<_ACEOF
17479 #define DEFAULT_DEBUG $dpv
17486 # Check whether --with-debug-files was given.
17487 if test "${with_debug_files+set}" = set; then :
17488 withval
=$with_debug_files;
17489 if test "x$withval" != "xno" ; then
17496 cat >>confdefs.h
<<_ACEOF
17497 #define NUMDEBUGFILES $dpv
17504 # Check whether --with-debug-file was given.
17505 if test "${with_debug_file+set}" = set; then :
17506 withval
=$with_debug_file;
17507 if test "x$withval" != "xno" ; then
17514 cat >>confdefs.h
<<_ACEOF
17515 #define DEBUGFILE "$dpv"
17522 # Check whether --with-forwarded-keyword was given.
17523 if test "${with_forwarded_keyword+set}" = set; then :
17524 withval
=$with_forwarded_keyword;
17525 if test "x$withval" != "xno" ; then
17532 cat >>confdefs.h
<<_ACEOF
17533 #define FORWARDED_FLAG "$dpv"
17540 # Check whether --with-display-overlap was given.
17541 if test "${with_display_overlap+set}" = set; then :
17542 withval
=$with_display_overlap;
17543 if test "x$withval" != "xno" ; then
17550 cat >>confdefs.h
<<_ACEOF
17551 #define DF_OVERLAP "$dpv"
17558 # Check whether --with-display-margin was given.
17559 if test "${with_display_margin+set}" = set; then :
17560 withval
=$with_display_margin;
17561 if test "x$withval" != "xno" ; then
17568 cat >>confdefs.h
<<_ACEOF
17569 #define DF_MARGIN "$dpv"
17576 # Check whether --with-default-fcc was given.
17577 if test "${with_default_fcc+set}" = set; then :
17578 withval
=$with_default_fcc;
17579 if test "x$withval" != "xno" ; then
17586 cat >>confdefs.h
<<_ACEOF
17587 #define DF_DEFAULT_FCC "$dpv"
17594 # Check whether --with-default-save-folder was given.
17595 if test "${with_default_save_folder+set}" = set; then :
17596 withval
=$with_default_save_folder;
17597 if test "x$withval" != "xno" ; then
17604 cat >>confdefs.h
<<_ACEOF
17605 #define DEFAULT_SAVE "$dpv"
17612 # Check whether --with-default-legacy-postponed-folder was given.
17613 if test "${with_default_legacy_postponed_folder+set}" = set; then :
17614 withval
=$with_default_legacy_postponed_folder;
17615 if test "x$withval" != "xno" ; then
17622 cat >>confdefs.h
<<_ACEOF
17623 #define POSTPONED_MAIL "$dpv"
17630 # Check whether --with-default-postponed-folder was given.
17631 if test "${with_default_postponed_folder+set}" = set; then :
17632 withval
=$with_default_postponed_folder;
17633 if test "x$withval" != "xno" ; then
17640 cat >>confdefs.h
<<_ACEOF
17641 #define POSTPONED_MSGS "$dpv"
17648 # Check whether --with-default-trash-folder was given.
17649 if test "${with_default_trash_folder+set}" = set; then :
17650 withval
=$with_default_trash_folder;
17651 if test "x$withval" != "xno" ; then
17658 cat >>confdefs.h
<<_ACEOF
17659 #define TRASH_FOLDER "$dpv"
17664 dpv
=.pine-interrupted-mail
17666 # Check whether --with-default-interrupted-mail was given.
17667 if test "${with_default_interrupted_mail+set}" = set; then :
17668 withval
=$with_default_interrupted_mail;
17669 if test "x$withval" != "xno" ; then
17676 cat >>confdefs.h
<<_ACEOF
17677 #define INTERRUPTED_MAIL "$dpv"
17684 # Check whether --with-default-dead-letter-folder was given.
17685 if test "${with_default_dead_letter_folder+set}" = set; then :
17686 withval
=$with_default_dead_letter_folder;
17687 if test "x$withval" != "xno" ; then
17694 cat >>confdefs.h
<<_ACEOF
17695 #define DEADLETTER "$dpv"
17702 # Check whether --with-default-mail-directory was given.
17703 if test "${with_default_mail_directory+set}" = set; then :
17704 withval
=$with_default_mail_directory;
17705 if test "x$withval" != "xno" ; then
17712 cat >>confdefs.h
<<_ACEOF
17713 #define DF_MAIL_DIRECTORY "$dpv"
17720 # Check whether --with-default-inbox-name was given.
17721 if test "${with_default_inbox_name+set}" = set; then :
17722 withval
=$with_default_inbox_name;
17723 if test "x$withval" != "xno" ; then
17730 cat >>confdefs.h
<<_ACEOF
17731 #define INBOX_NAME "$dpv"
17738 # Check whether --with-default-signature-file was given.
17739 if test "${with_default_signature_file+set}" = set; then :
17740 withval
=$with_default_signature_file;
17741 if test "x$withval" != "xno" ; then
17748 cat >>confdefs.h
<<_ACEOF
17749 #define DF_SIGNATURE_FILE "$dpv"
17756 # Check whether --with-default-elm-style-save was given.
17757 if test "${with_default_elm_style_save+set}" = set; then :
17758 withval
=$with_default_elm_style_save;
17759 if test "x$withval" != "xno" ; then
17766 cat >>confdefs.h
<<_ACEOF
17767 #define DF_ELM_STYLE_SAVE "$dpv"
17774 # Check whether --with-default-header-in-reply was given.
17775 if test "${with_default_header_in_reply+set}" = set; then :
17776 withval
=$with_default_header_in_reply;
17777 if test "x$withval" != "xno" ; then
17784 cat >>confdefs.h
<<_ACEOF
17785 #define DF_HEADER_IN_REPLY "$dpv"
17792 # Check whether --with-default-old-style-reply was given.
17793 if test "${with_default_old_style_reply+set}" = set; then :
17794 withval
=$with_default_old_style_reply;
17795 if test "x$withval" != "xno" ; then
17802 cat >>confdefs.h
<<_ACEOF
17803 #define DF_OLD_STYLE_REPLY "$dpv"
17810 # Check whether --with-default-use-only-domain-name was given.
17811 if test "${with_default_use_only_domain_name+set}" = set; then :
17812 withval
=$with_default_use_only_domain_name;
17813 if test "x$withval" != "xno" ; then
17820 cat >>confdefs.h
<<_ACEOF
17821 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
17828 # Check whether --with-default-save-by-sender was given.
17829 if test "${with_default_save_by_sender+set}" = set; then :
17830 withval
=$with_default_save_by_sender;
17831 if test "x$withval" != "xno" ; then
17838 cat >>confdefs.h
<<_ACEOF
17839 #define DF_SAVE_BY_SENDER "$dpv"
17846 # Check whether --with-default-sort-key was given.
17847 if test "${with_default_sort_key+set}" = set; then :
17848 withval
=$with_default_sort_key;
17849 if test "x$withval" != "xno" ; then
17856 cat >>confdefs.h
<<_ACEOF
17857 #define DF_SORT_KEY "$dpv"
17862 dpv
=fullname-with-lists-last
17864 # Check whether --with-default-addressbook-sort-rule was given.
17865 if test "${with_default_addressbook_sort_rule+set}" = set; then :
17866 withval
=$with_default_addressbook_sort_rule;
17867 if test "x$withval" != "xno" ; then
17874 cat >>confdefs.h
<<_ACEOF
17875 #define DF_AB_SORT_RULE "$dpv"
17882 # Check whether --with-default-folder-sort-rule was given.
17883 if test "${with_default_folder_sort_rule+set}" = set; then :
17884 withval
=$with_default_folder_sort_rule;
17885 if test "x$withval" != "xno" ; then
17892 cat >>confdefs.h
<<_ACEOF
17893 #define DF_FLD_SORT_RULE "$dpv"
17900 # Check whether --with-default-saved-message-name-rule was given.
17901 if test "${with_default_saved_message_name_rule+set}" = set; then :
17902 withval
=$with_default_saved_message_name_rule;
17903 if test "x$withval" != "xno" ; then
17910 cat >>confdefs.h
<<_ACEOF
17911 #define DF_SAVED_MSG_NAME_RULE "$dpv"
17918 # Check whether --with-default-fcc-rule was given.
17919 if test "${with_default_fcc_rule+set}" = set; then :
17920 withval
=$with_default_fcc_rule;
17921 if test "x$withval" != "xno" ; then
17928 cat >>confdefs.h
<<_ACEOF
17929 #define DF_FCC_RULE "$dpv"
17936 # Check whether --with-default-standard-printer was given.
17937 if test "${with_default_standard_printer+set}" = set; then :
17938 withval
=$with_default_standard_printer;
17939 if test "x$withval" != "xno" ; then
17946 cat >>confdefs.h
<<_ACEOF
17947 #define DF_STANDARD_PRINTER "$dpv"
17952 dpv
=attached-to-ansi
17954 # Check whether --with-default-ansi-printer was given.
17955 if test "${with_default_ansi_printer+set}" = set; then :
17956 withval
=$with_default_ansi_printer;
17957 if test "x$withval" != "xno" ; then
17964 cat >>confdefs.h
<<_ACEOF
17965 #define ANSI_PRINTER "$dpv"
17972 # Check whether --with-default-addressbook was given.
17973 if test "${with_default_addressbook+set}" = set; then :
17974 withval
=$with_default_addressbook;
17975 if test "x$withval" != "xno" ; then
17982 cat >>confdefs.h
<<_ACEOF
17983 #define DF_ADDRESSBOOK "$dpv"
17988 dpv
="Local Support"
17990 # Check whether --with-default-local-fullname was given.
17991 if test "${with_default_local_fullname+set}" = set; then :
17992 withval
=$with_default_local_fullname;
17993 if test "x$withval" != "xno" ; then
18000 cat >>confdefs.h
<<_ACEOF
18001 #define DF_LOCAL_FULLNAME "$dpv"
18008 # Check whether --with-default-local-address was given.
18009 if test "${with_default_local_address+set}" = set; then :
18010 withval
=$with_default_local_address;
18011 if test "x$withval" != "xno" ; then
18018 cat >>confdefs.h
<<_ACEOF
18019 #define DF_LOCAL_ADDRESS "$dpv"
18026 # Check whether --with-default-keyboard-lock-count was given.
18027 if test "${with_default_keyboard_lock_count+set}" = set; then :
18028 withval
=$with_default_keyboard_lock_count;
18029 if test "x$withval" != "xno" ; then
18036 cat >>confdefs.h
<<_ACEOF
18037 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
18044 # Check whether --with-default-remote-addressbook-history was given.
18045 if test "${with_default_remote_addressbook_history+set}" = set; then :
18046 withval
=$with_default_remote_addressbook_history;
18047 if test "x$withval" != "xno" ; then
18054 cat >>confdefs.h
<<_ACEOF
18055 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
18062 # Check whether --with-default-html-directory was given.
18063 if test "${with_default_html_directory+set}" = set; then :
18064 withval
=$with_default_html_directory;
18065 if test "x$withval" != "xno" ; then
18072 cat >>confdefs.h
<<_ACEOF
18073 #define DF_HTML_DIRECTORY "$dpv"
18078 dpv
=.alpine-smime
/public
18080 # Check whether --with-smime-public-cert-directory was given.
18081 if test "${with_smime_public_cert_directory+set}" = set; then :
18082 withval
=$with_smime_public_cert_directory;
18083 if test "x$withval" != "xno" ; then
18090 cat >>confdefs.h
<<_ACEOF
18091 #define DF_PUBLICCERT_DIR "$dpv"
18096 dpv
=.alpine-smime
/private
18098 # Check whether --with-smime-private-key-directory was given.
18099 if test "${with_smime_private_key_directory+set}" = set; then :
18100 withval
=$with_smime_private_key_directory;
18101 if test "x$withval" != "xno" ; then
18108 cat >>confdefs.h
<<_ACEOF
18109 #define DF_PRIVATEKEY_DIR "$dpv"
18114 dpv
=.alpine-smime
/ca
18116 # Check whether --with-smime-cacert-directory was given.
18117 if test "${with_smime_cacert_directory+set}" = set; then :
18118 withval
=$with_smime_cacert_directory;
18119 if test "x$withval" != "xno" ; then
18126 cat >>confdefs.h
<<_ACEOF
18127 #define DF_CACERT_DIR "$dpv"
18134 # Check whether --with-default-printer was given.
18135 if test "${with_default_printer+set}" = set; then :
18136 withval
=$with_default_printer;
18137 if test "x$withval" != "xno" ; then
18144 cat >>confdefs.h
<<_ACEOF
18145 #define DF_DEFAULT_PRINTER $dpv
18151 cat >>confdefs.h
<<_ACEOF
18152 #define DF_PUBLIC_CONTAINER "PublicContainer"
18156 cat >>confdefs.h
<<_ACEOF
18157 #define DF_PRIVATE_CONTAINER "PrivateContainer"
18161 cat >>confdefs.h
<<_ACEOF
18162 #define DF_CA_CONTAINER "CAContainer"
18166 cat >>confdefs.h
<<_ACEOF
18167 #define DEFAULT_SSLUSERCAPATH ".alpine-certs"
18171 cat >>confdefs.h
<<_ACEOF
18172 #define DEFAULT_SSLUSERCAFILE ".alpine-certs/certs.pem"
18177 # Check whether --with-default-sshpath was given.
18178 if test "${with_default_sshpath+set}" = set; then :
18179 withval
=$with_default_sshpath;
18187 cat >>confdefs.h
<<_ACEOF
18188 #define DF_SSHPATH "$withval"
18198 # Check whether --with-default-sshcmd was given.
18199 if test "${with_default_sshcmd+set}" = set; then :
18200 withval
=$with_default_sshcmd;
18208 cat >>confdefs.h
<<_ACEOF
18209 #define DF_SSHCMD "$withval"
18219 # Check whether --with-ssl was given.
18220 if test "${with_ssl+set}" = set; then :
18221 withval
=$with_ssl; with_ssl
=$withval
18225 if test "x$with_ssl" = "xno" ; then
18226 alpine_SSLTYPE
="none"
18227 elif test -d /usr
/local
/ssl
; then
18228 alpine_SSLDIR
="/usr/local/ssl"
18229 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18230 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18231 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18232 alpine_SSLTYPE
="nopwd"
18235 *-linux*|
*-k*bsd
*-gnu*|
*-gnu*)
18236 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
18237 alpine_SSLTYPE
="nopwd"
18238 if test -d /etc
/pki
/tls
; then
18239 alpine_SSLDIR
="/etc/pki/tls"
18241 alpine_SSLDIR
="/usr/share/ssl"
18243 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18244 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18245 alpine_SSLINCLUDE
="/usr/include/openssl"
18246 alpine_SSLLIB
="/usr/lib"
18247 elif test -f /etc
/mandrake-release
; then
18248 alpine_SSLDIR
="/usr/lib/ssl"
18249 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18250 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18251 alpine_SSLINCLUDE
="/usr/include/openssl"
18252 alpine_SSLLIB
="/usr/lib"
18253 elif test -f /etc
/SuSE-release
; then
18254 alpine_SSLTYPE
="nopwd"
18255 alpine_SSLDIR
="/etc/ssl"
18256 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18257 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18258 alpine_SSLINCLUDE
="/usr/include/openssl"
18259 alpine_SSLLIB
="/usr/lib"
18260 elif test -d /etc
/osso-af-init
; then
18261 alpine_SSLTYPE
="nopwd"
18262 alpine_SSLDIR
="/usr"
18263 alpine_SSLCERTS
="/usr/share/certs"
18264 alpine_SSLINCLUDE
="/usr/include/openssl"
18265 alpine_SSLLIB
="/usr/lib"
18266 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
18267 if test ! -d /etc
/osso-af-init
; then
18268 alpine_SSLDIR
="/etc/ssl"
18269 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18270 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18271 alpine_SSLINCLUDE
="/usr/include/openssl"
18272 alpine_SSLLIB
="/usr/lib"
18274 elif test -f /etc
/manjaro-release
; then
18275 alpine_SSLDIR
="/etc/ssl"
18276 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18277 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18278 alpine_SSLINCLUDE
="/usr/include/openssl"
18279 alpine_SSLLIB
="/usr/lib"
18281 alpine_SSLTYPE
="nopwd"
18282 alpine_SSLDIR
="/usr"
18283 alpine_SSLCERTS
="/etc/ssl/certs"
18287 alpine_SSLTYPE
="nopwd"
18288 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
18289 if test -d /usr
/local
/opt
/openssl
; then
18290 alpine_SSLDIR
="/usr/local/opt/openssl"
18291 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18292 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18293 alpine_SSLCERTS
="/usr/local/etc/openssl"
18294 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18295 elif test -d /opt
/local
/etc
/openssl
; then
18296 alpine_SSLDIR
="/opt/local"
18297 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
18298 alpine_SSLLIB
="$alpine_SSLDIR/lib"
18299 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
18300 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
18301 elif test -d /sw
/etc
/ssl
; then
18302 alpine_SSLDIR
="/sw/etc/ssl"
18303 alpine_SSLINCLUDE
="/sw/include"
18304 alpine_SSLLIB
="/sw/lib"
18305 alpine_SSLCERTS
="/sw/etc/ssl/certs"
18306 alpine_SSLKEYS
="/sw/etc/ssl/private"
18307 elif test -d /usr
/local
/ssl
; then
18308 alpine_SSLDIR
="/usr/local/ssl"
18309 elif test -d /System
/Library
/OpenSSL
; then
18310 alpine_SSLDIR
="/System/Library/OpenSSL"
18311 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18312 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18313 alpine_SSLLIB
="/usr/lib"
18314 alpine_SSLINCLUDE
="/usr/include/openssl"
18318 alpine_SSLDIR
="/etc/openssl"
18319 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18320 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18321 alpine_SSLINCLUDE
="/usr/include/openssl"
18322 alpine_SSLLIB
="/usr/lib"
18325 alpine_SSLDIR
="/etc/openssl"
18326 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18327 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18328 alpine_SSLINCLUDE
="/usr/include/openssl"
18329 alpine_SSLLIB
="/usr/lib"
18332 alpine_SSLTYPE
="nopwd"
18333 alpine_SSLDIR
="/usr"
18334 alpine_SSLCERTS
="/etc/ssl/certs"
18337 alpine_SSLDIR
="/etc/ssl"
18338 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18339 alpine_SSLKEYS
="$alpine_SSLDIR/private"
18340 if test -d /usr
/local
/include
/openssl
; then
18341 alpine_SSLINCLUDE
="/usr/local/include/openssl"
18342 alpine_SSLLIB
="/usr/local/lib"
18344 alpine_SSLINCLUDE
="/usr/include/openssl"
18345 alpine_SSLLIB
="/usr/lib"
18349 alpine_SSLDIR
="/etc/ssl"
18350 alpine_SSLINCLUDE
="/usr/include/openssl"
18351 alpine_SSLLIB
="/usr/lib"
18352 alpine_SSLCERTS
="/etc/ssl"
18353 alpine_SSLKEYS
="/etc/ssl/private"
18356 alpine_SSLDIR
="/usr/ssl"
18357 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
18358 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
18359 alpine_SSLINCLUDE
="/usr/include/openssl"
18360 alpine_SSLLIB
="/usr/lib"
18362 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
18363 alpine_SSLTYPE
="sco.nopwd"
18364 alpine_SSLDIR
="/usr/local/ssl"
18367 if test -d /usr
/include
/openssl
; then
18368 alpine_SSLINCLUDE
="/usr/include/openssl"
18369 elif test -d /usr
/sfw
/include
/openssl
; then
18370 alpine_SSLDIR
="/usr/sfw"
18371 elif test -d /opt
/csw
/include
/openssl
; then
18372 alpine_SSLDIR
="/opt/csw"
18373 if test -d /opt
/csw
/ssl
/certs
; then
18374 alpine_SSLCERTS
="/opt/csw/ssl/certs"
18377 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
18378 alpine_SSLCERTS
="/etc/certs"
18382 alpine_SSLTYPE
="nopwd"
18383 alpine_SSLDIR
="/usr/local/ssl"
18388 if test "x$alpine_SSLTYPE" != "xnone" ; then
18390 # Check whether --with-ssl-dir was given.
18391 if test "${with_ssl_dir+set}" = set; then :
18392 withval
=$with_ssl_dir;
18393 if test "x$withval" != "xno" ; then
18394 alpine_SSLDIR
=$withval
18395 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
18396 alpine_SSLLIB
=$alpine_SSLDIR/lib
18403 # Check whether --with-ssl-certs-dir was given.
18404 if test "${with_ssl_certs_dir+set}" = set; then :
18405 withval
=$with_ssl_certs_dir;
18406 if test "x$withval" != "xno" ; then
18407 alpine_SSLCERTS
=$withval
18414 # Check whether --with-ssl-include-dir was given.
18415 if test "${with_ssl_include_dir+set}" = set; then :
18416 withval
=$with_ssl_include_dir;
18417 if test "x$withval" != "xno" ; then
18418 alpine_SSLINCLUDE
=$withval
18425 # Check whether --with-ssl-lib-dir was given.
18426 if test "${with_ssl_lib_dir+set}" = set; then :
18427 withval
=$with_ssl_lib_dir;
18428 if test "x$withval" != "xno" ; then
18429 alpine_SSLLIB
=$withval
18435 if test -n "$alpine_SSLINCLUDE" ; then
18436 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
18437 elif test -n "$alpine_SSLDIR" ; then
18438 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
18440 if test -n "$alpine_SSLLIB" ; then
18441 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
18442 elif test -n "$alpine_SSLDIR" ; then
18443 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
18447 if test "x$alpine_SSLTYPE" != "xnone" ; then
18448 alpine_default_SSLMIN
="no_min"
18449 alpine_default_SSLMAX
="no_max"
18450 alpine_default_RANGE
="${alpine_default_SSLMIN},${alpine_default_SSLMAX}"
18451 alpine_ENCRYPTION
="$alpine_default_SSLMIN ssl3 tls1 tls1_1 tls1_2 tls1_3 $alpine_default_SSLMAX"
18452 alpine_SSLMIN
="$alpine_default_SSLMIN"
18453 alpine_SSLMAX
="$alpine_default_SSLMAX"
18454 alpine_RANGE
="$alpine_default_RANGE"
18456 # Check whether --with-encryption-minimum-version was given.
18457 if test "${with_encryption_minimum_version+set}" = set; then :
18458 withval
=$with_encryption_minimum_version;
18459 if test "x$withval" != "xno" ; then
18460 alpine_SSLMIN
=$withval
18466 # Check whether --with-encryption-maximum-version was given.
18467 if test "${with_encryption_maximum_version+set}" = set; then :
18468 withval
=$with_encryption_maximum_version;
18469 if test "x$withval" != "xno" ; then
18470 alpine_SSLMAX
=$withval
18475 alpine_RANGE
="$alpine_SSLMIN $alpine_SSLMAX"
18476 for range
in ${alpine_RANGE} ; do
18477 for encryption
in ${alpine_ENCRYPTION} ; do
18478 if test "x$range" = "x$encryption" ; then
18479 if test -z $alpine_min ; then
18488 if test -z $alpine_max ; then
18489 as_fn_error $?
"Unrecognized maximum encryption version: $alpine_max" "$LINENO" 5
18492 if test -z $alpine_min ; then
18493 as_fn_error $?
"Unrecognized minimum encryption version: $alpine_min" "$LINENO" 5
18496 if test "x$alpine_SSLMIN" != "x$alpine_SSLMAX" ; then
18497 alpine_RANGE_FEASIBLE
=`echo "$alpine_ENCRYPTION" | sed "s/^.*$alpine_SSLMIN//" | grep "$alpine_SSLMAX"`
18498 if test -n "$alpine_RANGE_FEASIBLE" ; then
18499 alpine_RANGE
="${alpine_SSLMIN},${alpine_SSLMAX}"
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Reversing order of minimum and maximum encryption" >&5
18502 $as_echo "$as_me: WARNING: Reversing order of minimum and maximum encryption" >&2;}
18503 alpine_RANGE
="${alpine_SSLMAX},${alpine_SSLMIN}"
18506 if test "x$alpine_SSLMIN" = "x$alpine_default_SSLMIN" ; then
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Overriding maximum encryption to default" >&5
18508 $as_echo "$as_me: WARNING: Overriding maximum encryption to default" >&2;}
18509 alpine_SSLMAX
="$alpine_default_SSLMAX"
18511 if test "x$alpine_SSLMAX" = "x$alpine_default_SSLMAX" ; then
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Overriding minimum encryption to default" >&5
18513 $as_echo "$as_me: WARNING: Overriding minimum encryption to default" >&2;}
18514 alpine_SSLMIN
="$alpine_default_SSLMIN"
18516 alpine_RANGE
="${alpine_SSLMIN},${alpine_SSLMAX}"
18521 # Check whether --with-encryption-range was given.
18522 if test "${with_encryption_range+set}" = set; then :
18523 withval
=$with_encryption_range;
18524 if test "x$withval" != "xno" ; then
18531 cat >>confdefs.h
<<_ACEOF
18532 #define DF_ENCRYPTION_RANGE "$dpv"
18539 # Check whether --with-krb5 was given.
18540 if test "${with_krb5+set}" = set; then :
18541 withval
=$with_krb5; with_krb5
=$withval
18545 if test "x$with_krb5" = "xno" ; then
18546 alpine_GSSTYPE
="none"
18551 # Check whether --with-krb5-dir was given.
18552 if test "${with_krb5_dir+set}" = set; then :
18553 withval
=$with_krb5_dir;
18554 if test "x$withval" != "xno" ; then
18555 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
18556 LDFLAGS
="$LDFLAGS -L${withval}/lib"
18563 # Check whether --with-krb5-include-dir was given.
18564 if test "${with_krb5_include_dir+set}" = set; then :
18565 withval
=$with_krb5_include_dir;
18566 if test "x$withval" != "xno" ; then
18567 CPPFLAGS
="$CPPFLAGS -I$withval"
18574 # Check whether --with-krb5-lib-dir was given.
18575 if test "${with_krb5_lib_dir+set}" = set; then :
18576 withval
=$with_krb5_lib_dir;
18577 if test "x$withval" != "xno" ; then
18578 LDFLAGS
="$LDFLAGS -L$withval"
18586 # Check whether --with-ldap was given.
18587 if test "${with_ldap+set}" = set; then :
18588 withval
=$with_ldap; with_ldap
=$withval
18592 if test "x$with_ldap" = "xno" ; then
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
18595 $as_echo "$as_me: Excluding LDAP Support" >&6;}
18600 alpine_LDAPDIR
="/usr/local"
18601 alpine_LDAPINCLUDE
="${alpine_LDAPDIR}/include"
18602 alpine_LDAPLIB
="${alpine_LDAPDIR}/lib"
18606 alpine_with_ldap
=yes
18609 # Check whether --with-ldap-dir was given.
18610 if test "${with_ldap_dir+set}" = set; then :
18611 withval
=$with_ldap_dir;
18612 if test "x$withval" != "xno" ; then
18613 alpine_LDAPDIR
="${withval}"
18614 alpine_LDAPINCLUDE
="${alpine_LDAPDIR}/include"
18615 alpine_LDAPLIB
="${alpine_LDAPDIR}/lib"
18622 # Check whether --with-ldap-include-dir was given.
18623 if test "${with_ldap_include_dir+set}" = set; then :
18624 withval
=$with_ldap_include_dir;
18625 if test "x$withval" != "xno" ; then
18626 alpine_LDAPINCLUDE
="$withval"
18633 # Check whether --with-ldap-lib-dir was given.
18634 if test "${with_ldap_lib_dir+set}" = set; then :
18635 withval
=$with_ldap_lib_dir;
18636 if test "x$withval" != "xno" ; then
18637 alpine_LDAPLIB
="${withval}"
18643 if test -n "$alpine_LDAPINCLUDE" ; then
18644 CPPFLAGS
="$CPPFLAGS -I${alpine_LDAPINCLUDE}/include"
18646 if test -n "$alpine_LDAPLIB" ; then
18647 LDFLAGS
="$LDFLAGS -L${alpine_LDAPLIB}/lib"
18652 # Check whether --with-smime was given.
18653 if test "${with_smime+set}" = set; then :
18654 withval
=$with_smime; with_smime
=$withval
18659 # Check whether --with-tcl was given.
18660 if test "${with_tcl+set}" = set; then :
18661 withval
=$with_tcl; with_tcl
=$withval
18665 if test "x$with_tcl" = "xno" ; then
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
18668 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
18671 # Check whether --with-tcl-lib-dir was given.
18672 if test "${with_tcl_lib_dir+set}" = set; then :
18673 withval
=$with_tcl_lib_dir;
18674 if test "x$withval" != "xno" ; then
18675 alpine_TCLLIBDIR
=$withval
18676 if test -n "$alpine_TCLLIBDIR" ; then
18677 LDFLAGS
="-L$alpine_TCLLIBDIR $LDFLAGS"
18684 # Check whether --with-tcl-lib was given.
18685 if test "${with_tcl_lib+set}" = set; then :
18686 withval
=$with_tcl_lib;
18687 if test "x$withval" != "xno" ; then
18688 alpine_TCLLIB
=$withval
18694 # Check whether --with-tcl-include was given.
18695 if test "${with_tcl_include+set}" = set; then :
18696 withval
=$with_tcl_include;
18697 if test "x$withval" != "xno" ; then
18698 CPPFLAGS
="$CPPFLAGS -I$withval"
18699 alpine_TCLINC
=$withval
18707 # Check whether --with-supplied-regex was given.
18708 if test "${with_supplied_regex+set}" = set; then :
18709 withval
=$with_supplied_regex; alpine_REGEX
=$withval
18714 # Check whether --with-pthread was given.
18715 if test "${with_pthread+set}" = set; then :
18716 withval
=$with_pthread; with_pthread
=$withval
18721 # Check whether --with-system-mail-directory was given.
18722 if test "${with_system_mail_directory+set}" = set; then :
18723 withval
=$with_system_mail_directory;
18724 if test "x$withval" != "xno" ; then
18725 alpine_with_local_maildir
="$withval"
18732 # Check whether --with-c-client-target was given.
18733 if test "${with_c_client_target+set}" = set; then :
18734 withval
=$with_c_client_target;
18735 if test "x$withval" != "xno" ;then
18736 alpine_with_c_client_target
="$withval"
18743 alpine_c_client_bundled
="no"
18745 # Check whether --with-bundled-tools was given.
18746 if test "${with_bundled_tools+set}" = set; then :
18747 withval
=$with_bundled_tools;
18748 if test "x$withval" = "xyes" ; then
18749 alpine_c_client_bundled
=""
18758 *-linux*|
*-k*bsd
*-gnu*|
*-gnu*)
18759 alpine_path_delim
="/"
18760 alpine_mode_readonly
="(0600)"
18761 if test -f /etc
/fedora-release
; then
18764 alpine_SYSTEM_PASSFILE
=".alpine.passfile"
18765 if test -d /etc
/pki
/tls
; then
18766 alpine_c_client_target
="lfd"
18768 alpine_c_client_target
="lrh"
18770 elif test -f /etc
/mandrake-release
; then
18772 alpine_c_client_target
="lmd"
18774 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
18777 alpine_SYSTEM_PASSFILE
=".alpine.passfile"
18778 if test -d /etc
/pki
/tls
; then
18779 alpine_c_client_target
="lr5"
18781 alpine_c_client_target
="lrh"
18783 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
18784 if test -d /etc
/osso-af-init
; then
18786 alpine_c_client_target
="ln8"
18789 alpine_c_client_target
="ldb"
18791 alpine_SYSTEM_PASSFILE
=".pine-passfile"
18793 elif test -f /etc
/SuSE-release
-o -f /etc
/SUSE-brand
; then
18795 alpine_c_client_target
="lsu"
18797 alpine_SYSTEM_PASSFILE
=".pinepw"
18800 if test -z "$alpine_c_client_bundled" ; then
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for am_start in -lpam" >&5
18802 $as_echo_n "checking for am_start in -lpam... " >&6; }
18803 if ${ac_cv_lib_pam_am_start+:} false
; then :
18804 $as_echo_n "(cached) " >&6
18806 ac_check_lib_save_LIBS
=$LIBS
18808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18811 /* Override any GCC internal prototype to avoid an error.
18812 Use char because int might match the return type of a GCC
18813 builtin and then its argument prototype would still apply. */
18821 return am_start ();
18826 if ac_fn_c_try_link
"$LINENO"; then :
18827 ac_cv_lib_pam_am_start
=yes
18829 ac_cv_lib_pam_am_start
=no
18831 rm -f core conftest.err conftest.
$ac_objext \
18832 conftest
$ac_exeext conftest.
$ac_ext
18833 LIBS
=$ac_check_lib_save_LIBS
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_am_start" >&5
18836 $as_echo "$ac_cv_lib_pam_am_start" >&6; }
18837 if test "x$ac_cv_lib_pam_am_start" = xyes
; then :
18839 alpine_c_client_target
="lnp"
18844 if test -f /etc
/shadow
; then
18845 alpine_c_client_target
="slx"
18847 alpine_c_client_target
="lnx"
18853 if test -f /etc
/shadow
; then
18854 alpine_c_client_target
="slx"
18856 alpine_c_client_target
="lnx"
18863 alpine_path_delim
="/"
18864 alpine_mode_readonly
="(0600)"
18865 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
18866 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
18868 $as_echo "#define OSX_TARGET 1" >>confdefs.h
18870 case "$alpine_os_credential_cache" in
18875 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
18879 if test -z "$alpine_c_client_bundled" ; then
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
18881 $as_echo_n "checking for pam_start in -lpam... " >&6; }
18882 if ${ac_cv_lib_pam_pam_start+:} false
; then :
18883 $as_echo_n "(cached) " >&6
18885 ac_check_lib_save_LIBS
=$LIBS
18887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18890 /* Override any GCC internal prototype to avoid an error.
18891 Use char because int might match the return type of a GCC
18892 builtin and then its argument prototype would still apply. */
18900 return pam_start ();
18905 if ac_fn_c_try_link
"$LINENO"; then :
18906 ac_cv_lib_pam_pam_start
=yes
18908 ac_cv_lib_pam_pam_start
=no
18910 rm -f core conftest.err conftest.
$ac_objext \
18911 conftest
$ac_exeext conftest.
$ac_ext
18912 LIBS
=$ac_check_lib_save_LIBS
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
18915 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
18916 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
18918 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
18919 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
18922 alpine_c_client_target
="oxs"
18925 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
18926 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
18929 alpine_c_client_target
="oxp"
18934 alpine_pam_none_reason
="header files not found"
18946 alpine_c_client_target
="osx"
18951 alpine_c_client_target
="osx"
18955 if test x
$GCC = "xyes" ; then
18957 alpine_c_client_target
="gso"
18958 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
18961 alpine_c_client_target
="soc"
18963 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
18966 alpine_path_delim
="/"
18967 alpine_mode_readonly
="(0600)"
18971 alpine_path_delim
="/"
18972 alpine_mode_readonly
="(0600)"
18973 alpine_c_client_target
="s40"
18976 if test x
$GCC = "xyes" ; then
18978 alpine_c_client_target
="go5"
18981 alpine_c_client_target
="sc5"
18983 alpine_path_delim
="/"
18984 alpine_mode_readonly
="(0600)"
18988 alpine_path_delim
="/"
18989 alpine_mode_readonly
="(0600)"
18990 alpine_c_client_target
="nx3"
18994 alpine_path_delim
="/"
18995 alpine_mode_readonly
="(0600)"
18996 alpine_c_client_target
="neb"
19000 alpine_path_delim
="/"
19001 alpine_mode_readonly
="(0600)"
19002 alpine_c_client_target
="gh9"
19006 alpine_path_delim
="/"
19007 alpine_mode_readonly
="(0600)"
19008 alpine_c_client_target
="neb"
19012 alpine_path_delim
="/"
19013 alpine_mode_readonly
="(0600)"
19014 alpine_c_client_target
="bsi"
19018 alpine_path_delim
="/"
19019 alpine_mode_readonly
="(0600)"
19020 alpine_c_client_target
="bsf"
19021 LIBS
="$LIBS $LIBINTL"
19025 alpine_path_delim
="/"
19026 alpine_mode_readonly
="(0600)"
19027 alpine_c_client_target
="bso"
19028 LIBS
="$LIBS $LIBINTL"
19032 alpine_path_delim
="/"
19033 alpine_mode_readonly
="(0600)"
19034 alpine_c_client_target
="a52"
19038 alpine_path_delim
="/"
19039 alpine_mode_readonly
="(0600)"
19040 alpine_c_client_target
="a41"
19044 alpine_path_delim
="/"
19045 alpine_mode_readonly
="(0600)"
19046 alpine_c_client_target
="a32"
19048 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
19050 alpine_path_delim
="/"
19051 alpine_mode_readonly
="(0600)"
19052 alpine_c_client_target
="uw2"
19056 alpine_path_delim
="/"
19057 alpine_mode_readonly
="(0600)"
19058 alpine_c_client_target
="osf"
19062 alpine_path_delim
="/"
19063 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
19064 alpine_c_client_target
="cyg"
19065 LIBS
="$LIBS $LIBINTL"
19067 windows
* |
*-*-pw32*)
19069 alpine_path_delim
="\\"
19070 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
19071 alpine_c_client_target
="wnt"
19073 $as_echo "#define _WINDOWS 1" >>confdefs.h
19077 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
19082 # Check whether --with-passfile was given.
19083 if test "${with_passfile+set}" = set; then :
19084 withval
=$with_passfile;
19091 alpine_PASSFILE
=$withval
19100 # Check whether --with-local-password-cache was given.
19101 if test "${with_local_password_cache+set}" = set; then :
19102 withval
=$with_local_password_cache;
19103 alpine_os_credential_cache
=$withval
19109 # Check whether --with-local-password-cache-method was given.
19110 if test "${with_local_password_cache_method+set}" = set; then :
19111 withval
=$with_local_password_cache_method;
19112 alpine_os_credential_cache_method
=$withval
19117 if test -z "$alpine_PASSFILE" ; then
19118 if test -z "$alpine_SYSTEM_PASSFILE" ; then
19119 alpine_PASSFILE
=".alpine.pwd"
19121 alpine_PASSFILE
="$alpine_SYSTEM_PASSFILE"
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Setting up $alpine_PASSFILE as default password file" >&5
19124 $as_echo "$as_me: * * * Setting up $alpine_PASSFILE as default password file" >&6;}
19127 if test -n "$alpine_PASSFILE" ; then
19128 case $alpine_os_credential_cache in
19132 alpine_os_credential_cache
="no"
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
19134 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
19138 cat >>confdefs.h
<<_ACEOF
19139 #define PASSFILE "$alpine_PASSFILE"
19145 # Check whether --with-ipv6 was given.
19146 if test "${with_ipv6+set}" = set; then :
19147 withval
=$with_ipv6; with_ipv6
=$withval
19151 if test "x$with_ipv6" = "xno" ; then
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
19153 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
19154 c_client_specials
="${c_client_specials}IP6=4 "
19155 c_client_ip6
="true"
19157 c_client_ip6
="touch imap/ip6"
19162 if test x
$enable_dmalloc = "xyes" ; then
19163 if test "x$with_pthread" = "xyes" ; then
19164 dmalloc_lib
=dmallocth
19166 dmalloc_lib
=dmalloc
19169 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
19171 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
19172 if eval \
${$as_ac_Lib+:} false
; then :
19173 $as_echo_n "(cached) " >&6
19175 ac_check_lib_save_LIBS
=$LIBS
19176 LIBS
="-l$dmalloc_lib $LIBS"
19177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19180 /* Override any GCC internal prototype to avoid an error.
19181 Use char because int might match the return type of a GCC
19182 builtin and then its argument prototype would still apply. */
19186 char dmalloc_shutdown ();
19190 return dmalloc_shutdown ();
19195 if ac_fn_c_try_link
"$LINENO"; then :
19196 eval "$as_ac_Lib=yes"
19198 eval "$as_ac_Lib=no"
19200 rm -f core conftest.err conftest.
$ac_objext \
19201 conftest
$ac_exeext conftest.
$ac_ext
19202 LIBS
=$ac_check_lib_save_LIBS
19204 eval ac_res
=\$
$as_ac_Lib
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19206 $as_echo "$ac_res" >&6; }
19207 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
19208 cat >>confdefs.h
<<_ACEOF
19209 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
19212 LIBS
="-l$dmalloc_lib $LIBS"
19216 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
19223 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
19224 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
19225 $as_echo_n "(cached) " >&6
19227 ac_check_lib_save_LIBS
=$LIBS
19228 LIBS
="-ltinfo $LIBS"
19229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19232 /* Override any GCC internal prototype to avoid an error.
19233 Use char because int might match the return type of a GCC
19234 builtin and then its argument prototype would still apply. */
19242 return setupterm ();
19247 if ac_fn_c_try_link
"$LINENO"; then :
19248 ac_cv_lib_tinfo_setupterm
=yes
19250 ac_cv_lib_tinfo_setupterm
=no
19252 rm -f core conftest.err conftest.
$ac_objext \
19253 conftest
$ac_exeext conftest.
$ac_ext
19254 LIBS
=$ac_check_lib_save_LIBS
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
19257 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
19258 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
19260 alpine_termdata
=info
19261 LIBS
="$LIBS -ltinfo"
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
19266 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
19267 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
19268 $as_echo_n "(cached) " >&6
19270 ac_check_lib_save_LIBS
=$LIBS
19271 LIBS
="-lncurses $LIBS"
19272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19275 /* Override any GCC internal prototype to avoid an error.
19276 Use char because int might match the return type of a GCC
19277 builtin and then its argument prototype would still apply. */
19285 return setupterm ();
19290 if ac_fn_c_try_link
"$LINENO"; then :
19291 ac_cv_lib_ncurses_setupterm
=yes
19293 ac_cv_lib_ncurses_setupterm
=no
19295 rm -f core conftest.err conftest.
$ac_objext \
19296 conftest
$ac_exeext conftest.
$ac_ext
19297 LIBS
=$ac_check_lib_save_LIBS
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
19300 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
19301 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
19303 alpine_termdata
=info
19304 LIBS
="$LIBS -lncurses"
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
19309 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
19310 if ${ac_cv_lib_curses_setupterm+:} false
; then :
19311 $as_echo_n "(cached) " >&6
19313 ac_check_lib_save_LIBS
=$LIBS
19314 LIBS
="-lcurses $LIBS"
19315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19316 /* end confdefs.h. */
19318 /* Override any GCC internal prototype to avoid an error.
19319 Use char because int might match the return type of a GCC
19320 builtin and then its argument prototype would still apply. */
19328 return setupterm ();
19333 if ac_fn_c_try_link
"$LINENO"; then :
19334 ac_cv_lib_curses_setupterm
=yes
19336 ac_cv_lib_curses_setupterm
=no
19338 rm -f core conftest.err conftest.
$ac_objext \
19339 conftest
$ac_exeext conftest.
$ac_ext
19340 LIBS
=$ac_check_lib_save_LIBS
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
19343 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
19344 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
19346 alpine_termdata
=info
19347 LIBS
="$LIBS -lcurses"
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
19352 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
19353 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
19354 $as_echo_n "(cached) " >&6
19356 ac_check_lib_save_LIBS
=$LIBS
19357 LIBS
="-ltermlib $LIBS"
19358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19361 /* Override any GCC internal prototype to avoid an error.
19362 Use char because int might match the return type of a GCC
19363 builtin and then its argument prototype would still apply. */
19376 if ac_fn_c_try_link
"$LINENO"; then :
19377 ac_cv_lib_termlib_tgetent
=yes
19379 ac_cv_lib_termlib_tgetent
=no
19381 rm -f core conftest.err conftest.
$ac_objext \
19382 conftest
$ac_exeext conftest.
$ac_ext
19383 LIBS
=$ac_check_lib_save_LIBS
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
19386 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
19387 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
19389 alpine_termdata
=cap
19390 LIBS
="$LIBS -ltermlib"
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
19395 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
19396 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
19397 $as_echo_n "(cached) " >&6
19399 ac_check_lib_save_LIBS
=$LIBS
19400 LIBS
="-ltermcap $LIBS"
19401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19404 /* Override any GCC internal prototype to avoid an error.
19405 Use char because int might match the return type of a GCC
19406 builtin and then its argument prototype would still apply. */
19419 if ac_fn_c_try_link
"$LINENO"; then :
19420 ac_cv_lib_termcap_tgetent
=yes
19422 ac_cv_lib_termcap_tgetent
=no
19424 rm -f core conftest.err conftest.
$ac_objext \
19425 conftest
$ac_exeext conftest.
$ac_ext
19426 LIBS
=$ac_check_lib_save_LIBS
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
19429 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
19430 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
19432 alpine_termdata
=cap
19433 LIBS
="$LIBS -ltermcap"
19437 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
19453 case $alpine_termdata in
19456 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
19461 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
19466 alpine_dlopen
="yes"
19468 # Check whether --with-dlopen was given.
19469 if test "${with_dlopen+set}" = set; then :
19470 withval
=$with_dlopen;
19471 alpine_dlopen
=$withval
19476 if test "x$alpine_dlopen" != "xno" ; then
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19478 $as_echo_n "checking for library containing dlopen... " >&6; }
19479 if ${ac_cv_search_dlopen+:} false
; then :
19480 $as_echo_n "(cached) " >&6
19482 ac_func_search_save_LIBS
=$LIBS
19483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19486 /* Override any GCC internal prototype to avoid an error.
19487 Use char because int might match the return type of a GCC
19488 builtin and then its argument prototype would still apply. */
19501 for ac_lib
in '' dl dld
; do
19502 if test -z "$ac_lib"; then
19503 ac_res
="none required"
19506 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19508 if ac_fn_c_try_link
"$LINENO"; then :
19509 ac_cv_search_dlopen
=$ac_res
19511 rm -f core conftest.err conftest.
$ac_objext \
19513 if ${ac_cv_search_dlopen+:} false
; then :
19517 if ${ac_cv_search_dlopen+:} false
; then :
19520 ac_cv_search_dlopen
=no
19522 rm conftest.
$ac_ext
19523 LIBS
=$ac_func_search_save_LIBS
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19526 $as_echo "$ac_cv_search_dlopen" >&6; }
19527 ac_res
=$ac_cv_search_dlopen
19528 if test "$ac_res" != no
; then :
19529 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19535 if test "x$alpine_DL" = "xnone" ; then
19536 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
19540 if test "x$alpine_SSLTYPE" != "xnone" ; then
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
19542 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
19543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19547 #include <stdlib.h>
19549 #include <stdint.h>
19550 #endif /* HAVE_STDINT_H */
19551 #include <openssl/ssl.h>
19557 #if OPENSSL_VERSION_NUMBER != 0x20000000L
19565 if ac_fn_c_try_compile
"$LINENO"; then :
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19567 $as_echo "yes" >&6; }
19568 alpine_SSLPROVIDER
="libressl"
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19572 $as_echo "no" >&6; }
19575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19578 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
19580 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
19581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19585 #include <stdlib.h>
19587 #include <stdint.h>
19588 #endif /* HAVE_STDINT_H */
19589 #include <openssl/ssl.h>
19595 #if OPENSSL_VERSION_NUMBER < 0x1000003fL
19603 if ac_fn_c_try_compile
"$LINENO"; then :
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19605 $as_echo "yes" >&6; }
19606 alpine_SSLPROVIDER
="openssl"
19609 alpine_SSLTYPE
="none"
19611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19613 if test "x$alpine_SSLTYPE" = "xnone" ; then
19614 as_fn_error $?
"Install development/header files for your current version of openssl (minimum required version is 1.0.0c)" "$LINENO" 5
19619 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
19621 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
19622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19626 #include <stdlib.h>
19628 #include <stdint.h>
19629 #endif /* HAVE_STDINT_H */
19630 #include <openssl/ssl.h>
19636 #if OPENSSL_VERSION_NUMBER < 0x10100000L
19644 if ac_fn_c_try_compile
"$LINENO"; then :
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19646 $as_echo "yes" >&6; }
19647 alpine_SSLVERSION
="new"
19648 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19652 $as_echo "no" >&6; }
19653 alpine_SSLVERSION
="old"
19655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19658 if test "x$alpine_SSLTYPE" != "xnone" ; then
19659 if test "x$alpine_SSLVERSION" = "xold" ; then
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
19661 $as_echo_n "checking for library containing SSLeay... " >&6; }
19662 if ${ac_cv_search_SSLeay+:} false
; then :
19663 $as_echo_n "(cached) " >&6
19665 ac_func_search_save_LIBS
=$LIBS
19666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19667 /* end confdefs.h. */
19669 /* Override any GCC internal prototype to avoid an error.
19670 Use char because int might match the return type of a GCC
19671 builtin and then its argument prototype would still apply. */
19684 for ac_lib
in '' crypto
; do
19685 if test -z "$ac_lib"; then
19686 ac_res
="none required"
19689 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19691 if ac_fn_c_try_link
"$LINENO"; then :
19692 ac_cv_search_SSLeay
=$ac_res
19694 rm -f core conftest.err conftest.
$ac_objext \
19696 if ${ac_cv_search_SSLeay+:} false
; then :
19700 if ${ac_cv_search_SSLeay+:} false
; then :
19703 ac_cv_search_SSLeay
=no
19705 rm conftest.
$ac_ext
19706 LIBS
=$ac_func_search_save_LIBS
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
19709 $as_echo "$ac_cv_search_SSLeay" >&6; }
19710 ac_res
=$ac_cv_search_SSLeay
19711 if test "$ac_res" != no
; then :
19712 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19715 alpine_CRYPTO
="none"
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
19720 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
19721 if ${ac_cv_search_OpenSSL_version_num+:} 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 OpenSSL_version_num ();
19738 return OpenSSL_version_num ();
19743 for ac_lib
in '' crypto
; 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_OpenSSL_version_num
=$ac_res
19753 rm -f core conftest.err conftest.
$ac_objext \
19755 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19759 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
19762 ac_cv_search_OpenSSL_version_num
=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_OpenSSL_version_num" >&5
19768 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
19769 ac_res
=$ac_cv_search_OpenSSL_version_num
19770 if test "$ac_res" != no
; then :
19771 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19774 alpine_CRYPTO
="none"
19778 if test "x$alpine_CRYPTO" = "xnone" ; then
19779 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
19784 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
19785 if test "x$ac_cv_header_crypto_h" = xyes
; then :
19788 alpine_CRYPTO_DEVEL
="none"
19792 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
19793 as_fn_error $?
"crypto library file crypto.h NOT found. Install corresponding libcrypt-devel package" "$LINENO" 5
19801 if test "x$alpine_SSLTYPE" != "xnone" ; then
19802 if test "x$alpine_SSLVERSION" = "xold" ; then
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
19804 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
19805 if ${ac_cv_search_SSL_library_init+:} false
; then :
19806 $as_echo_n "(cached) " >&6
19808 ac_func_search_save_LIBS
=$LIBS
19809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19812 /* Override any GCC internal prototype to avoid an error.
19813 Use char because int might match the return type of a GCC
19814 builtin and then its argument prototype would still apply. */
19818 char SSL_library_init ();
19822 return SSL_library_init ();
19827 for ac_lib
in '' ssl
; do
19828 if test -z "$ac_lib"; then
19829 ac_res
="none required"
19832 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19834 if ac_fn_c_try_link
"$LINENO"; then :
19835 ac_cv_search_SSL_library_init
=$ac_res
19837 rm -f core conftest.err conftest.
$ac_objext \
19839 if ${ac_cv_search_SSL_library_init+:} false
; then :
19843 if ${ac_cv_search_SSL_library_init+:} false
; then :
19846 ac_cv_search_SSL_library_init
=no
19848 rm conftest.
$ac_ext
19849 LIBS
=$ac_func_search_save_LIBS
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
19852 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
19853 ac_res
=$ac_cv_search_SSL_library_init
19854 if test "$ac_res" != no
; then :
19855 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19858 alpine_SSLTYPE
="none"
19861 if test "x$alpine_SSLTYPE" = "xnone" ; then
19862 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
19867 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
19868 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19869 $as_echo_n "(cached) " >&6
19871 ac_func_search_save_LIBS
=$LIBS
19872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19875 /* Override any GCC internal prototype to avoid an error.
19876 Use char because int might match the return type of a GCC
19877 builtin and then its argument prototype would still apply. */
19881 char OPENSSL_init_ssl ();
19885 return OPENSSL_init_ssl ();
19890 for ac_lib
in '' ssl
; do
19891 if test -z "$ac_lib"; then
19892 ac_res
="none required"
19895 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19897 if ac_fn_c_try_link
"$LINENO"; then :
19898 ac_cv_search_OPENSSL_init_ssl
=$ac_res
19900 rm -f core conftest.err conftest.
$ac_objext \
19902 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19906 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
19909 ac_cv_search_OPENSSL_init_ssl
=no
19911 rm conftest.
$ac_ext
19912 LIBS
=$ac_func_search_save_LIBS
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
19915 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
19916 ac_res
=$ac_cv_search_OPENSSL_init_ssl
19917 if test "$ac_res" != no
; then :
19918 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19921 alpine_SSLTYPE
="none"
19924 if test "x$aalpiLlpine_SSLTYPE" = "xnone" ; then
19925 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
19931 if test "$alpine_with_ldap" = "yes" ; then
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
19934 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
19935 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
19936 $as_echo_n "(cached) " >&6
19938 ac_check_lib_save_LIBS
=$LIBS
19939 LIBS
="-llber $LIBS"
19940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19943 /* Override any GCC internal prototype to avoid an error.
19944 Use char because int might match the return type of a GCC
19945 builtin and then its argument prototype would still apply. */
19953 return ber_alloc ();
19958 if ac_fn_c_try_link
"$LINENO"; then :
19959 ac_cv_lib_lber_ber_alloc
=yes
19961 ac_cv_lib_lber_ber_alloc
=no
19963 rm -f core conftest.err conftest.
$ac_objext \
19964 conftest
$ac_exeext conftest.
$ac_ext
19965 LIBS
=$ac_check_lib_save_LIBS
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
19968 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
19969 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
19971 LIBS
="$LIBS -llber"
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
19976 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
19977 if ${ac_cv_search_ldap_initialize+:} false
; then :
19978 $as_echo_n "(cached) " >&6
19980 ac_func_search_save_LIBS
=$LIBS
19981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19984 /* Override any GCC internal prototype to avoid an error.
19985 Use char because int might match the return type of a GCC
19986 builtin and then its argument prototype would still apply. */
19990 char ldap_initialize ();
19994 return ldap_initialize ();
19999 for ac_lib
in '' ldap
; do
20000 if test -z "$ac_lib"; then
20001 ac_res
="none required"
20004 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20006 if ac_fn_c_try_link
"$LINENO"; then :
20007 ac_cv_search_ldap_initialize
=$ac_res
20009 rm -f core conftest.err conftest.
$ac_objext \
20011 if ${ac_cv_search_ldap_initialize+:} false
; then :
20015 if ${ac_cv_search_ldap_initialize+:} false
; then :
20018 ac_cv_search_ldap_initialize
=no
20020 rm conftest.
$ac_ext
20021 LIBS
=$ac_func_search_save_LIBS
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
20024 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
20025 ac_res
=$ac_cv_search_ldap_initialize
20026 if test "$ac_res" != no
; then :
20027 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20029 alpine_has_ldap
=yes
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
20034 $as_echo_n "checking for library containing ldap_open... " >&6; }
20035 if ${ac_cv_search_ldap_open+:} false
; then :
20036 $as_echo_n "(cached) " >&6
20038 ac_func_search_save_LIBS
=$LIBS
20039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20042 /* Override any GCC internal prototype to avoid an error.
20043 Use char because int might match the return type of a GCC
20044 builtin and then its argument prototype would still apply. */
20052 return ldap_open ();
20057 for ac_lib
in '' ldap
; do
20058 if test -z "$ac_lib"; then
20059 ac_res
="none required"
20062 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20064 if ac_fn_c_try_link
"$LINENO"; then :
20065 ac_cv_search_ldap_open
=$ac_res
20067 rm -f core conftest.err conftest.
$ac_objext \
20069 if ${ac_cv_search_ldap_open+:} false
; then :
20073 if ${ac_cv_search_ldap_open+:} false
; then :
20076 ac_cv_search_ldap_open
=no
20078 rm conftest.
$ac_ext
20079 LIBS
=$ac_func_search_save_LIBS
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
20082 $as_echo "$ac_cv_search_ldap_open" >&6; }
20083 ac_res
=$ac_cv_search_ldap_open
20084 if test "$ac_res" != no
; then :
20085 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20087 alpine_has_ldap
=yes
20095 if test "$alpine_has_ldap" = "yes" ; then
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
20097 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
20099 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
20104 if test -z "$alpine_c_client_bundled" ; then
20105 if test "x$alpine_PAM" != "xnone" ; then
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
20107 $as_echo_n "checking for library containing pam_start... " >&6; }
20108 if ${ac_cv_search_pam_start+:} false
; then :
20109 $as_echo_n "(cached) " >&6
20111 ac_func_search_save_LIBS
=$LIBS
20112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20113 /* end confdefs.h. */
20115 /* Override any GCC internal prototype to avoid an error.
20116 Use char because int might match the return type of a GCC
20117 builtin and then its argument prototype would still apply. */
20125 return pam_start ();
20130 for ac_lib
in '' pam
; do
20131 if test -z "$ac_lib"; then
20132 ac_res
="none required"
20135 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20137 if ac_fn_c_try_link
"$LINENO"; then :
20138 ac_cv_search_pam_start
=$ac_res
20140 rm -f core conftest.err conftest.
$ac_objext \
20142 if ${ac_cv_search_pam_start+:} false
; then :
20146 if ${ac_cv_search_pam_start+:} false
; then :
20149 ac_cv_search_pam_start
=no
20151 rm conftest.
$ac_ext
20152 LIBS
=$ac_func_search_save_LIBS
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
20155 $as_echo "$ac_cv_search_pam_start" >&6; }
20156 ac_res
=$ac_cv_search_pam_start
20157 if test "$ac_res" != no
; then :
20158 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20161 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
20162 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
20167 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
20168 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
20171 if test "x$alpine_c_client_target" != "xoxp" ; then
20173 alpine_pam_none_reason
="header files not in security/ directory"
20179 alpine_pam_none_reason
="header files not found"
20192 alpine_pam_none_reason
="library files not found"
20196 if test -n "$alpine_pam_none_reason" ; then
20197 as_fn_error or
do not use
--with-bundled-tools "Trying to build bundled tools but could not find libpam. Install it first and try again" "$LINENO" 5
20202 if test -n "$alpine_c_client_bundled" ; then
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
20204 $as_echo_n "checking for library containing crypt... " >&6; }
20205 if ${ac_cv_search_crypt+:} false
; then :
20206 $as_echo_n "(cached) " >&6
20208 ac_func_search_save_LIBS
=$LIBS
20209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20210 /* end confdefs.h. */
20212 /* Override any GCC internal prototype to avoid an error.
20213 Use char because int might match the return type of a GCC
20214 builtin and then its argument prototype would still apply. */
20227 for ac_lib
in '' crypt; do
20228 if test -z "$ac_lib"; then
20229 ac_res
="none required"
20232 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20234 if ac_fn_c_try_link
"$LINENO"; then :
20235 ac_cv_search_crypt
=$ac_res
20237 rm -f core conftest.err conftest.
$ac_objext \
20239 if ${ac_cv_search_crypt+:} false
; then :
20243 if ${ac_cv_search_crypt+:} false
; then :
20246 ac_cv_search_crypt
=no
20248 rm conftest.
$ac_ext
20249 LIBS
=$ac_func_search_save_LIBS
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
20252 $as_echo "$ac_cv_search_crypt" >&6; }
20253 ac_res
=$ac_cv_search_crypt
20254 if test "$ac_res" != no
; then :
20255 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20259 as_fn_error $?
"crypt library not found." "$LINENO" 5
20265 C_CLIENT_BUNDLED
=$alpine_c_client_bundled
20268 if test "x$alpine_GSSTYPE" != "xnone" ; then
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
20270 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
20271 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
20272 $as_echo_n "(cached) " >&6
20274 ac_func_search_save_LIBS
=$LIBS
20275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h. */
20278 /* Override any GCC internal prototype to avoid an error.
20279 Use char because int might match the return type of a GCC
20280 builtin and then its argument prototype would still apply. */
20284 char gss_init_sec_context ();
20288 return gss_init_sec_context ();
20293 for ac_lib
in '' gss gssapi gssapi_krb5
; do
20294 if test -z "$ac_lib"; then
20295 ac_res
="none required"
20298 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20300 if ac_fn_c_try_link
"$LINENO"; then :
20301 ac_cv_search_gss_init_sec_context
=$ac_res
20303 rm -f core conftest.err conftest.
$ac_objext \
20305 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
20309 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
20312 ac_cv_search_gss_init_sec_context
=no
20314 rm conftest.
$ac_ext
20315 LIBS
=$ac_func_search_save_LIBS
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
20318 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
20319 ac_res
=$ac_cv_search_gss_init_sec_context
20320 if test "$ac_res" != no
; then :
20321 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20323 LIBS
="$LIBS -lkrb5"
20324 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
20325 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
20329 if test ! -d /usr
/kerberos
/include
; then
20330 alpine_GSSTYPE
="none"
20331 alpine_gss_none_reason
="header files not found"
20340 alpine_GSSTYPE
="none"
20341 alpine_gss_none_reason
="libraries not found"
20345 if test -n "$alpine_gss_none_reason" ; then
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
20347 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
20352 # Check whether --with-ntlm was given.
20353 if test "${with_ntlm+set}" = set; then :
20354 withval
=$with_ntlm; with_ntlm
=$withval
20358 if test "x$with_ntlm" = "xno" ; then
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
20364 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
20365 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20366 $as_echo_n "(cached) " >&6
20368 ac_func_search_save_LIBS
=$LIBS
20369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20370 /* end confdefs.h. */
20372 /* Override any GCC internal prototype to avoid an error.
20373 Use char because int might match the return type of a GCC
20374 builtin and then its argument prototype would still apply. */
20378 char buildSmbNtlmAuthRequest ();
20382 return buildSmbNtlmAuthRequest ();
20387 for ac_lib
in '' ntlm
; do
20388 if test -z "$ac_lib"; then
20389 ac_res
="none required"
20392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20394 if ac_fn_c_try_link
"$LINENO"; then :
20395 ac_cv_search_buildSmbNtlmAuthRequest
=$ac_res
20397 rm -f core conftest.err conftest.
$ac_objext \
20399 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20403 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
20406 ac_cv_search_buildSmbNtlmAuthRequest
=no
20408 rm conftest.
$ac_ext
20409 LIBS
=$ac_func_search_save_LIBS
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_buildSmbNtlmAuthRequest" >&5
20412 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
20413 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
20414 if test "$ac_res" != no
; then :
20415 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20417 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
20418 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
20420 extra_auth_ntlm
=ntl
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
20422 $as_echo "$as_me: including NTLM support" >&6;}
20427 alpine_ntlm_none_reason
="header file ntlm.h not found"
20436 alpine_ntlm_none_reason
="ntlm library not found"
20440 if test -n "$alpine_ntlm_none_reason" ; then
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
20442 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
20446 if test -n "$WEB_BUILD" ; then
20447 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
20448 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
20449 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
20450 if test -n "$alpine_TCLINC" ; then
20451 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
20452 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
20453 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20462 if test -z "$WEB_BUILD" ; then
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
20464 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
20467 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
20468 if test "x$ac_cv_header_tcl_h" = xyes
; then :
20472 for base
in /usr
/usr
/local ; do
20473 for dir
in ${TCL_VERSIONS} ; do
20474 if test -f $base/include
/$dir/tcl.h
; then
20475 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
20480 if test "x$found" = "xyes" ; then
20484 if test "$found" != "yes" ; then
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
20487 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
20494 if test -n "$WEB_BUILD" ; then
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
20496 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
20497 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20498 $as_echo_n "(cached) " >&6
20500 ac_func_search_save_LIBS
=$LIBS
20501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20502 /* end confdefs.h. */
20504 /* Override any GCC internal prototype to avoid an error.
20505 Use char because int might match the return type of a GCC
20506 builtin and then its argument prototype would still apply. */
20514 return Tcl_Eval ();
20519 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
20520 if test -z "$ac_lib"; then
20521 ac_res
="none required"
20524 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20526 if ac_fn_c_try_link
"$LINENO"; then :
20527 ac_cv_search_Tcl_Eval
=$ac_res
20529 rm -f core conftest.err conftest.
$ac_objext \
20531 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20535 if ${ac_cv_search_Tcl_Eval+:} false
; then :
20538 ac_cv_search_Tcl_Eval
=no
20540 rm conftest.
$ac_ext
20541 LIBS
=$ac_func_search_save_LIBS
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
20544 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
20545 ac_res
=$ac_cv_search_Tcl_Eval
20546 if test "$ac_res" != no
; then :
20547 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20558 if test "x$alpine_REGEX" != "xyes" ; then
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
20560 $as_echo_n "checking for library containing regcomp... " >&6; }
20561 if ${ac_cv_search_regcomp+:} false
; then :
20562 $as_echo_n "(cached) " >&6
20564 ac_func_search_save_LIBS
=$LIBS
20565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20568 /* Override any GCC internal prototype to avoid an error.
20569 Use char because int might match the return type of a GCC
20570 builtin and then its argument prototype would still apply. */
20583 for ac_lib
in '' posix regexp regex re
; do
20584 if test -z "$ac_lib"; then
20585 ac_res
="none required"
20588 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20590 if ac_fn_c_try_link
"$LINENO"; then :
20591 ac_cv_search_regcomp
=$ac_res
20593 rm -f core conftest.err conftest.
$ac_objext \
20595 if ${ac_cv_search_regcomp+:} false
; then :
20599 if ${ac_cv_search_regcomp+:} false
; then :
20602 ac_cv_search_regcomp
=no
20604 rm conftest.
$ac_ext
20605 LIBS
=$ac_func_search_save_LIBS
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
20608 $as_echo "$ac_cv_search_regcomp" >&6; }
20609 ac_res
=$ac_cv_search_regcomp
20610 if test "$ac_res" != no
; then :
20611 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20615 if test x
$alpine_REGEX = "xno" ; then
20616 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
20624 if test "x$alpine_REGEX" != "xyes" ; then
20625 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
20626 if test "x$ac_cv_header_regex_h" = xyes
; then :
20630 if test x
$alpine_REGEX = "xno" ; then
20631 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
20641 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
20643 if test "x$alpine_REGEX" = "xyes" ; then
20644 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
20645 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
20647 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
20650 if test "x$with_pthread" != "xno" ; then
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
20652 $as_echo_n "checking for pthread support... " >&6; }
20657 ac_cpp
='$CPP $CPPFLAGS'
20658 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20659 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20660 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20664 # We used to check for pthread.h first, but this fails if pthread.h
20665 # requires special compiler flags (e.g. on True64 or Sequent).
20666 # It gets checked for in the link test anyway.
20668 # First of all, check if the user has set any of the PTHREAD_LIBS,
20669 # etcetera environment variables, and if threads linking works using
20671 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
20672 save_CFLAGS
="$CFLAGS"
20673 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20675 LIBS
="$PTHREAD_LIBS $LIBS"
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
20677 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
20678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20679 /* end confdefs.h. */
20681 /* Override any GCC internal prototype to avoid an error.
20682 Use char because int might match the return type of a GCC
20683 builtin and then its argument prototype would still apply. */
20687 char pthread_join ();
20691 return pthread_join ();
20696 if ac_fn_c_try_link
"$LINENO"; then :
20699 rm -f core conftest.err conftest.
$ac_objext \
20700 conftest
$ac_exeext conftest.
$ac_ext
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20702 $as_echo "$acx_pthread_ok" >&6; }
20703 if test x
"$acx_pthread_ok" = xno
; then
20708 CFLAGS
="$save_CFLAGS"
20711 # We must check for the threads library under a number of different
20712 # names; the ordering is very important because some systems
20713 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
20714 # libraries is broken (non-POSIX).
20716 # Create a list of thread flags to try. Items starting with a "-" are
20717 # C compiler flags, and other items are library names, except for "none"
20718 # which indicates that we try without any flags at all, and "pthread-config"
20719 # which is a program returning the flags for the Pth emulation library.
20721 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
20723 # The ordering *is* (sometimes) important. Some notes on the
20724 # individual items follow:
20726 # pthreads: AIX (must check this before -lpthread)
20727 # none: in case threads are in libc; should be tried before -Kthread and
20728 # other compiler flags to prevent continual compiler warnings
20729 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
20730 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
20731 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
20732 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
20733 # -pthreads: Solaris/gcc
20734 # -mthreads: Mingw32/gcc, Lynx/gcc
20735 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
20736 # doesn't hurt to check since this sometimes defines pthreads too;
20737 # also defines -D_REENTRANT)
20738 # ... -mt is also the pthreads flag for HP/aCC
20739 # pthread: Linux, etcetera
20740 # --thread-safe: KAI C++
20741 # pthread-config: use pthread-config program (for GNU Pth library)
20743 case "${host_cpu}-${host_os}" in
20746 # On Solaris (at least, for some versions), libc contains stubbed
20747 # (non-functional) versions of the pthreads routines, so link-based
20748 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
20749 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
20750 # a function called by this macro, so we could check for that, but
20751 # who knows whether they'll stub that too in a future libc.) So,
20752 # we'll just look for -pthreads and -lpthread first:
20754 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
20758 if test x
"$acx_pthread_ok" = xno
; then
20759 for flag
in $acx_pthread_flags; do
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
20764 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
20769 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
20770 PTHREAD_CFLAGS
="$flag"
20774 # Extract the first word of "pthread-config", so it can be a program name with args.
20775 set dummy pthread-config
; ac_word
=$2
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20777 $as_echo_n "checking for $ac_word... " >&6; }
20778 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
20779 $as_echo_n "(cached) " >&6
20781 if test -n "$acx_pthread_config"; then
20782 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
20784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20785 for as_dir
in $PATH
20788 test -z "$as_dir" && as_dir
=.
20789 for ac_exec_ext
in '' $ac_executable_extensions; do
20790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20791 ac_cv_prog_acx_pthread_config
="yes"
20792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20799 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
20802 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
20803 if test -n "$acx_pthread_config"; then
20804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
20805 $as_echo "$acx_pthread_config" >&6; }
20807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20808 $as_echo "no" >&6; }
20812 if test x
"$acx_pthread_config" = xno
; then continue; fi
20813 PTHREAD_CFLAGS
="`pthread-config --cflags`"
20814 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
20819 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
20820 PTHREAD_LIBS
="-l$flag"
20825 save_CFLAGS
="$CFLAGS"
20826 LIBS
="$PTHREAD_LIBS $LIBS"
20827 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20829 # Check for various functions. We must include pthread.h,
20830 # since some functions may be macros. (On the Sequent, we
20831 # need a special flag -Kthread to make this header compile.)
20832 # We check for pthread_join because it is in -lpthread on IRIX
20833 # while pthread_create is in libc. We check for pthread_attr_init
20834 # due to DEC craziness with -lpthreads. We check for
20835 # pthread_cleanup_push because it is one of the few pthread
20836 # functions on Solaris that doesn't have a non-functional libc stub.
20837 # We try pthread_create on general principles.
20838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20840 #include <pthread.h>
20844 pthread_t th; pthread_join(th, 0);
20845 pthread_attr_init(0); pthread_cleanup_push(0, 0);
20846 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
20851 if ac_fn_c_try_link
"$LINENO"; then :
20854 rm -f core conftest.err conftest.
$ac_objext \
20855 conftest
$ac_exeext conftest.
$ac_ext
20858 CFLAGS
="$save_CFLAGS"
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
20861 $as_echo "$acx_pthread_ok" >&6; }
20862 if test "x$acx_pthread_ok" = xyes
; then
20871 # Various other checks:
20872 if test "x$acx_pthread_ok" = xyes
; then
20874 LIBS
="$PTHREAD_LIBS $LIBS"
20875 save_CFLAGS
="$CFLAGS"
20876 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
20878 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
20880 $as_echo_n "checking for joinable pthread attribute... " >&6; }
20882 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
20883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20884 /* end confdefs.h. */
20885 #include <pthread.h>
20889 int attr=$attr; return attr;
20894 if ac_fn_c_try_link
"$LINENO"; then :
20895 attr_name
=$attr; break
20897 rm -f core conftest.err conftest.
$ac_objext \
20898 conftest
$ac_exeext conftest.
$ac_ext
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
20901 $as_echo "$attr_name" >&6; }
20902 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
20904 cat >>confdefs.h
<<_ACEOF
20905 #define PTHREAD_CREATE_JOINABLE $attr_name
20910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
20911 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
20913 case "${host_cpu}-${host_os}" in
20914 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
20915 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
20917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
20918 $as_echo "${flag}" >&6; }
20919 if test "x$flag" != xno
; then
20920 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
20924 CFLAGS
="$save_CFLAGS"
20926 # More AIX lossage: must compile with xlc_r or cc_r
20927 if test x
"$GCC" != xyes
; then
20928 for ac_prog
in xlc_r cc_r
20930 # Extract the first word of "$ac_prog", so it can be a program name with args.
20931 set dummy
$ac_prog; ac_word
=$2
20932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20933 $as_echo_n "checking for $ac_word... " >&6; }
20934 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
20935 $as_echo_n "(cached) " >&6
20937 if test -n "$PTHREAD_CC"; then
20938 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
20940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20941 for as_dir
in $PATH
20944 test -z "$as_dir" && as_dir
=.
20945 for ac_exec_ext
in '' $ac_executable_extensions; do
20946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
20947 ac_cv_prog_PTHREAD_CC
="$ac_prog"
20948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20957 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
20958 if test -n "$PTHREAD_CC"; then
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
20960 $as_echo "$PTHREAD_CC" >&6; }
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20963 $as_echo "no" >&6; }
20967 test -n "$PTHREAD_CC" && break
20969 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
20982 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
20983 if test x
"$acx_pthread_ok" = xyes
; then
20985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20986 $as_echo "yes" >&6; }
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
20990 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
20991 AM_CFLAGS
="$AM_CFLAGS -pthread"
20994 LIBS
="$PTHREAD_LIBS $LIBS"
20995 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
20998 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21006 $as_echo "no" >&6; }
21010 ac_cpp
='$CPP $CPPFLAGS'
21011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21018 $as_echo_n "checking for library containing nanosleep... " >&6; }
21019 if ${ac_cv_search_nanosleep+:} false
; then :
21020 $as_echo_n "(cached) " >&6
21022 ac_func_search_save_LIBS
=$LIBS
21023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21024 /* end confdefs.h. */
21026 /* Override any GCC internal prototype to avoid an error.
21027 Use char because int might match the return type of a GCC
21028 builtin and then its argument prototype would still apply. */
21036 return nanosleep ();
21041 for ac_lib
in '' rt posix4
; do
21042 if test -z "$ac_lib"; then
21043 ac_res
="none required"
21046 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21048 if ac_fn_c_try_link
"$LINENO"; then :
21049 ac_cv_search_nanosleep
=$ac_res
21051 rm -f core conftest.err conftest.
$ac_objext \
21053 if ${ac_cv_search_nanosleep+:} false
; then :
21057 if ${ac_cv_search_nanosleep+:} false
; then :
21060 ac_cv_search_nanosleep
=no
21062 rm conftest.
$ac_ext
21063 LIBS
=$ac_func_search_save_LIBS
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21066 $as_echo "$ac_cv_search_nanosleep" >&6; }
21067 ac_res
=$ac_cv_search_nanosleep
21068 if test "$ac_res" != no
; then :
21069 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21072 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21083 $as_echo_n "checking for ANSI C header files... " >&6; }
21084 if ${ac_cv_header_stdc+:} false
; then :
21085 $as_echo_n "(cached) " >&6
21087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h. */
21089 #include <stdlib.h>
21090 #include <stdarg.h>
21091 #include <string.h>
21102 if ac_fn_c_try_compile
"$LINENO"; then :
21103 ac_cv_header_stdc
=yes
21105 ac_cv_header_stdc
=no
21107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21109 if test $ac_cv_header_stdc = yes; then
21110 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21112 /* end confdefs.h. */
21113 #include <string.h>
21116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21117 $EGREP "memchr" >/dev
/null
2>&1; then :
21120 ac_cv_header_stdc
=no
21126 if test $ac_cv_header_stdc = yes; then
21127 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21130 #include <stdlib.h>
21133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21134 $EGREP "free" >/dev
/null
2>&1; then :
21137 ac_cv_header_stdc
=no
21143 if test $ac_cv_header_stdc = yes; then
21144 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21145 if test "$cross_compiling" = yes; then :
21148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h. */
21151 #include <stdlib.h>
21152 #if ((' ' & 0x0FF) == 0x020)
21153 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21154 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21156 # define ISLOWER(c) \
21157 (('a' <= (c) && (c) <= 'i') \
21158 || ('j' <= (c) && (c) <= 'r') \
21159 || ('s' <= (c) && (c) <= 'z'))
21160 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21163 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21168 for (i = 0; i < 256; i++)
21169 if (XOR (islower (i), ISLOWER (i))
21170 || toupper (i) != TOUPPER (i))
21175 if ac_fn_c_try_run
"$LINENO"; then :
21178 ac_cv_header_stdc
=no
21180 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21181 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
21187 $as_echo "$ac_cv_header_stdc" >&6; }
21188 if test $ac_cv_header_stdc = yes; then
21190 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
21194 ac_header_dirent
=no
21195 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
21196 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
21198 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
21199 if eval \
${$as_ac_Header+:} false
; then :
21200 $as_echo_n "(cached) " >&6
21202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21203 /* end confdefs.h. */
21204 #include <sys/types.h>
21216 if ac_fn_c_try_compile
"$LINENO"; then :
21217 eval "$as_ac_Header=yes"
21219 eval "$as_ac_Header=no"
21221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21223 eval ac_res
=\$
$as_ac_Header
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21225 $as_echo "$ac_res" >&6; }
21226 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21227 cat >>confdefs.h
<<_ACEOF
21228 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
21231 ac_header_dirent
=$ac_hdr; break
21235 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21236 if test $ac_header_dirent = dirent.h
; then
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
21238 $as_echo_n "checking for library containing opendir... " >&6; }
21239 if ${ac_cv_search_opendir+:} false
; then :
21240 $as_echo_n "(cached) " >&6
21242 ac_func_search_save_LIBS
=$LIBS
21243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21244 /* end confdefs.h. */
21246 /* Override any GCC internal prototype to avoid an error.
21247 Use char because int might match the return type of a GCC
21248 builtin and then its argument prototype would still apply. */
21261 for ac_lib
in '' dir
; do
21262 if test -z "$ac_lib"; then
21263 ac_res
="none required"
21266 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21268 if ac_fn_c_try_link
"$LINENO"; then :
21269 ac_cv_search_opendir
=$ac_res
21271 rm -f core conftest.err conftest.
$ac_objext \
21273 if ${ac_cv_search_opendir+:} false
; then :
21277 if ${ac_cv_search_opendir+:} false
; then :
21280 ac_cv_search_opendir
=no
21282 rm conftest.
$ac_ext
21283 LIBS
=$ac_func_search_save_LIBS
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21286 $as_echo "$ac_cv_search_opendir" >&6; }
21287 ac_res
=$ac_cv_search_opendir
21288 if test "$ac_res" != no
; then :
21289 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
21295 $as_echo_n "checking for library containing opendir... " >&6; }
21296 if ${ac_cv_search_opendir+:} false
; then :
21297 $as_echo_n "(cached) " >&6
21299 ac_func_search_save_LIBS
=$LIBS
21300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h. */
21303 /* Override any GCC internal prototype to avoid an error.
21304 Use char because int might match the return type of a GCC
21305 builtin and then its argument prototype would still apply. */
21318 for ac_lib
in '' x
; do
21319 if test -z "$ac_lib"; then
21320 ac_res
="none required"
21323 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21325 if ac_fn_c_try_link
"$LINENO"; then :
21326 ac_cv_search_opendir
=$ac_res
21328 rm -f core conftest.err conftest.
$ac_objext \
21330 if ${ac_cv_search_opendir+:} false
; then :
21334 if ${ac_cv_search_opendir+:} false
; then :
21337 ac_cv_search_opendir
=no
21339 rm conftest.
$ac_ext
21340 LIBS
=$ac_func_search_save_LIBS
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
21343 $as_echo "$ac_cv_search_opendir" >&6; }
21344 ac_res
=$ac_cv_search_opendir
21345 if test "$ac_res" != no
; then :
21346 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
21353 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
21354 if ${ac_cv_header_stat_broken+:} false
; then :
21355 $as_echo_n "(cached) " >&6
21357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21358 /* end confdefs.h. */
21359 #include <sys/types.h>
21360 #include <sys/stat.h>
21362 #if defined S_ISBLK && defined S_IFDIR
21363 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
21366 #if defined S_ISBLK && defined S_IFCHR
21367 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
21370 #if defined S_ISLNK && defined S_IFREG
21371 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
21374 #if defined S_ISSOCK && defined S_IFREG
21375 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
21379 if ac_fn_c_try_compile
"$LINENO"; then :
21380 ac_cv_header_stat_broken
=no
21382 ac_cv_header_stat_broken
=yes
21384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
21387 $as_echo "$ac_cv_header_stat_broken" >&6; }
21388 if test $ac_cv_header_stat_broken = yes; then
21390 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
21395 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
21396 if ${ac_cv_header_sys_wait_h+:} false
; then :
21397 $as_echo_n "(cached) " >&6
21399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21400 /* end confdefs.h. */
21401 #include <sys/types.h>
21402 #include <sys/wait.h>
21403 #ifndef WEXITSTATUS
21404 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
21407 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
21415 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
21420 if ac_fn_c_try_compile
"$LINENO"; then :
21421 ac_cv_header_sys_wait_h
=yes
21423 ac_cv_header_sys_wait_h
=no
21425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
21428 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
21429 if test $ac_cv_header_sys_wait_h = yes; then
21431 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
21436 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
21437 if ${ac_cv_header_time+:} false
; then :
21438 $as_echo_n "(cached) " >&6
21440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21441 /* end confdefs.h. */
21442 #include <sys/types.h>
21443 #include <sys/time.h>
21449 if ((struct tm *) 0)
21455 if ac_fn_c_try_compile
"$LINENO"; then :
21456 ac_cv_header_time
=yes
21458 ac_cv_header_time
=no
21460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
21463 $as_echo "$ac_cv_header_time" >&6; }
21464 if test $ac_cv_header_time = yes; then
21466 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
21471 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
21472 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
21473 $as_echo_n "(cached) " >&6
21475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21476 /* end confdefs.h. */
21477 #include <sys/types.h>
21478 #include <termios.h>
21484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21485 $EGREP "yes" >/dev
/null
2>&1; then :
21486 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
21488 ac_cv_sys_tiocgwinsz_in_termios_h
=no
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
21494 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
21496 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
21498 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
21499 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
21500 $as_echo_n "(cached) " >&6
21502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21503 /* end confdefs.h. */
21504 #include <sys/types.h>
21505 #include <sys/ioctl.h>
21511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21512 $EGREP "yes" >/dev
/null
2>&1; then :
21513 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
21515 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
21521 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
21523 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
21525 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
21531 for ac_header
in unistd.h
21533 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21534 if test "x$ac_cv_header_unistd_h" = xyes
; then :
21535 cat >>confdefs.h
<<_ACEOF
21536 #define HAVE_UNISTD_H 1
21544 for ac_header
in errno.h \
21570 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21571 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21572 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21573 cat >>confdefs.h
<<_ACEOF
21574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21582 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
21583 if test "x$ac_cv_header_termios_h" = xyes
; then :
21585 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
21589 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
21590 if test "x$ac_cv_header_termio_h" = xyes
; then :
21592 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
21596 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
21597 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
21599 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
21603 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
21620 $as_echo_n "checking return type of signal handlers... " >&6; }
21621 if ${ac_cv_type_signal+:} false
; then :
21622 $as_echo_n "(cached) " >&6
21624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21625 /* end confdefs.h. */
21626 #include <sys/types.h>
21627 #include <signal.h>
21632 return *(signal (0, 0)) (0) == 1;
21637 if ac_fn_c_try_compile
"$LINENO"; then :
21638 ac_cv_type_signal
=int
21640 ac_cv_type_signal
=void
21642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
21645 $as_echo "$ac_cv_type_signal" >&6; }
21647 cat >>confdefs.h
<<_ACEOF
21648 #define RETSIGTYPE $ac_cv_type_signal
21652 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
21653 if test "x$ac_cv_type_size_t" = xyes
; then :
21657 cat >>confdefs.h
<<_ACEOF
21658 #define size_t unsigned int
21663 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
21664 if test "x$ac_cv_type_mode_t" = xyes
; then :
21668 cat >>confdefs.h
<<_ACEOF
21674 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
21675 if test "x$ac_cv_type_pid_t" = xyes
; then :
21679 cat >>confdefs.h
<<_ACEOF
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
21686 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
21687 if ${ac_cv_type_uid_t+:} false
; then :
21688 $as_echo_n "(cached) " >&6
21690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21691 /* end confdefs.h. */
21692 #include <sys/types.h>
21695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21696 $EGREP "uid_t" >/dev
/null
2>&1; then :
21697 ac_cv_type_uid_t
=yes
21699 ac_cv_type_uid_t
=no
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
21705 $as_echo "$ac_cv_type_uid_t" >&6; }
21706 if test $ac_cv_type_uid_t = no
; then
21708 $as_echo "#define uid_t int" >>confdefs.h
21711 $as_echo "#define gid_t int" >>confdefs.h
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21716 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21717 if ${ac_cv_struct_tm+:} false
; then :
21718 $as_echo_n "(cached) " >&6
21720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21721 /* end confdefs.h. */
21722 #include <sys/types.h>
21729 int *p = &tm.tm_sec;
21735 if ac_fn_c_try_compile
"$LINENO"; then :
21736 ac_cv_struct_tm
=time.h
21738 ac_cv_struct_tm
=sys
/time.h
21740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21743 $as_echo "$ac_cv_struct_tm" >&6; }
21744 if test $ac_cv_struct_tm = sys
/time.h
; then
21746 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21751 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
21752 if test "x$ac_cv_type_union_wait" = xyes
; then :
21754 cat >>confdefs.h
<<_ACEOF
21755 #define HAVE_UNION_WAIT 1
21762 for ac_header
in stdint.h
21764 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21765 if test "x$ac_cv_header_stdint_h" = xyes
; then :
21766 cat >>confdefs.h
<<_ACEOF
21767 #define HAVE_STDINT_H 1
21772 for ac_header
in inttypes.h
21774 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
21775 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
21776 cat >>confdefs.h
<<_ACEOF
21777 #define HAVE_INTTYPES_H 1
21782 for ac_header
in sys
/types.h
21784 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
21785 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
21786 cat >>confdefs.h
<<_ACEOF
21787 #define HAVE_SYS_TYPES_H 1
21792 # The cast to long int works around a bug in the HP C Compiler
21793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21795 # This bug is HP SR number 8606223364.
21796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
21797 $as_echo_n "checking size of unsigned short... " >&6; }
21798 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
21799 $as_echo_n "(cached) " >&6
21801 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
21804 if test "$ac_cv_type_unsigned_short" = yes; then
21805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21807 as_fn_error
77 "cannot compute sizeof (unsigned short)
21808 See \`config.log' for more details" "$LINENO" 5; }
21810 ac_cv_sizeof_unsigned_short
=0
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
21816 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
21820 cat >>confdefs.h
<<_ACEOF
21821 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
21825 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
21826 uint16
="unsigned short"
21828 # The cast to long int works around a bug in the HP C Compiler
21829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21831 # This bug is HP SR number 8606223364.
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
21833 $as_echo_n "checking size of unsigned int... " >&6; }
21834 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
21835 $as_echo_n "(cached) " >&6
21837 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
21840 if test "$ac_cv_type_unsigned_int" = yes; then
21841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21843 as_fn_error
77 "cannot compute sizeof (unsigned int)
21844 See \`config.log' for more details" "$LINENO" 5; }
21846 ac_cv_sizeof_unsigned_int
=0
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
21852 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
21856 cat >>confdefs.h
<<_ACEOF
21857 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21861 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
21862 uint16
="unsigned int"
21864 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
21883 cat >>confdefs.h
<<_ACEOF
21884 #define UINT16 $uint16
21888 for ac_header
in stdint.h
21890 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
21891 if test "x$ac_cv_header_stdint_h" = xyes
; then :
21892 cat >>confdefs.h
<<_ACEOF
21893 #define HAVE_STDINT_H 1
21898 for ac_header
in inttypes.h
21900 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
21901 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
21902 cat >>confdefs.h
<<_ACEOF
21903 #define HAVE_INTTYPES_H 1
21908 for ac_header
in sys
/types.h
21910 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
21911 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
21912 cat >>confdefs.h
<<_ACEOF
21913 #define HAVE_SYS_TYPES_H 1
21918 # The cast to long int works around a bug in the HP C Compiler
21919 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21920 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21921 # This bug is HP SR number 8606223364.
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
21923 $as_echo_n "checking size of unsigned int... " >&6; }
21924 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
21925 $as_echo_n "(cached) " >&6
21927 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
21930 if test "$ac_cv_type_unsigned_int" = yes; then
21931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21933 as_fn_error
77 "cannot compute sizeof (unsigned int)
21934 See \`config.log' for more details" "$LINENO" 5; }
21936 ac_cv_sizeof_unsigned_int
=0
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
21942 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
21946 cat >>confdefs.h
<<_ACEOF
21947 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21951 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
21952 uint32
="unsigned int"
21954 # The cast to long int works around a bug in the HP C Compiler
21955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21957 # This bug is HP SR number 8606223364.
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
21959 $as_echo_n "checking size of unsigned long... " >&6; }
21960 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
21961 $as_echo_n "(cached) " >&6
21963 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
21966 if test "$ac_cv_type_unsigned_long" = yes; then
21967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21969 as_fn_error
77 "cannot compute sizeof (unsigned long)
21970 See \`config.log' for more details" "$LINENO" 5; }
21972 ac_cv_sizeof_unsigned_long
=0
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
21978 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
21982 cat >>confdefs.h
<<_ACEOF
21983 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
21987 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
21988 uint32
="unsigned long"
21990 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
22009 cat >>confdefs.h
<<_ACEOF
22010 #define UINT32 $uint32
22014 if test -z "$SUINT32" ; then
22019 cat >>confdefs.h
<<_ACEOF
22020 #define SUINT32 $SUINT32
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
22025 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
22026 if ${ac_cv_func_qsort_argtype+:} false
; then :
22027 $as_echo_n "(cached) " >&6
22029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22030 /* end confdefs.h. */
22033 #include "stdlib.h"
22037 extern sortf(const void *, const void *);
22040 const void *b; { return 0; }
22046 qsort(base, 2, sizeof(char *), sortf);
22052 if ac_fn_c_try_compile
"$LINENO"; then :
22053 ac_cv_func_qsort_argtype
=void
22055 ac_cv_func_qsort_argtype
=char
22057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
22061 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
22063 cat >>confdefs.h
<<_ACEOF
22064 #define qsort_t $ac_cv_func_qsort_argtype
22069 for ac_header
in sys
/select.h sys
/socket.h
22071 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22072 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22073 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22074 cat >>confdefs.h
<<_ACEOF
22075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
22083 $as_echo_n "checking types of arguments for select... " >&6; }
22084 if ${ac_cv_func_select_args+:} false
; then :
22085 $as_echo_n "(cached) " >&6
22087 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
22088 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
22089 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
22090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22091 /* end confdefs.h. */
22092 $ac_includes_default
22093 #ifdef HAVE_SYS_SELECT_H
22094 # include <sys/select.h>
22096 #ifdef HAVE_SYS_SOCKET_H
22097 # include <sys/socket.h>
22103 extern int select ($ac_arg1,
22104 $ac_arg234, $ac_arg234, $ac_arg234,
22110 if ac_fn_c_try_compile
"$LINENO"; then :
22111 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
22113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22117 # Provide a safe default value.
22118 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
22122 $as_echo "$ac_cv_func_select_args" >&6; }
22123 ac_save_IFS
=$IFS; IFS
=','
22124 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
22128 cat >>confdefs.h
<<_ACEOF
22129 #define SELECT_TYPE_ARG1 $1
22133 cat >>confdefs.h
<<_ACEOF
22134 #define SELECT_TYPE_ARG234 ($2)
22138 cat >>confdefs.h
<<_ACEOF
22139 #define SELECT_TYPE_ARG5 ($3)
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
22146 $as_echo_n "checking for working strcoll... " >&6; }
22147 if ${ac_cv_func_strcoll_works+:} false
; then :
22148 $as_echo_n "(cached) " >&6
22150 if test "$cross_compiling" = yes; then :
22151 ac_cv_func_strcoll_works
=no
22153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22154 /* end confdefs.h. */
22155 $ac_includes_default
22159 return (strcoll ("abc", "def") >= 0 ||
22160 strcoll ("ABC", "DEF") >= 0 ||
22161 strcoll ("123", "456") >= 0)
22166 if ac_fn_c_try_run
"$LINENO"; then :
22167 ac_cv_func_strcoll_works
=yes
22169 ac_cv_func_strcoll_works
=no
22171 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22172 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
22177 $as_echo "$ac_cv_func_strcoll_works" >&6; }
22178 if test $ac_cv_func_strcoll_works = yes; then
22180 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
22186 for ac_header
in vfork.h
22188 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
22189 if test "x$ac_cv_header_vfork_h" = xyes
; then :
22190 cat >>confdefs.h
<<_ACEOF
22191 #define HAVE_VFORK_H 1
22198 for ac_func
in fork vfork
22200 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22201 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22202 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22203 cat >>confdefs.h
<<_ACEOF
22204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22210 if test "x$ac_cv_func_fork" = xyes
; then
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
22212 $as_echo_n "checking for working fork... " >&6; }
22213 if ${ac_cv_func_fork_works+:} false
; then :
22214 $as_echo_n "(cached) " >&6
22216 if test "$cross_compiling" = yes; then :
22217 ac_cv_func_fork_works
=cross
22219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221 $ac_includes_default
22226 /* By Ruediger Kuhlmann. */
22227 return fork () < 0;
22233 if ac_fn_c_try_run
"$LINENO"; then :
22234 ac_cv_func_fork_works
=yes
22236 ac_cv_func_fork_works
=no
22238 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22239 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
22244 $as_echo "$ac_cv_func_fork_works" >&6; }
22247 ac_cv_func_fork_works
=$ac_cv_func_fork
22249 if test "x$ac_cv_func_fork_works" = xcross
; then
22251 *-*-amigaos* |
*-*-msdosdjgpp*)
22252 # Override, as these systems have only a dummy fork() stub
22253 ac_cv_func_fork_works
=no
22256 ac_cv_func_fork_works
=yes
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
22260 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
22262 ac_cv_func_vfork_works
=$ac_cv_func_vfork
22263 if test "x$ac_cv_func_vfork" = xyes
; then
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
22265 $as_echo_n "checking for working vfork... " >&6; }
22266 if ${ac_cv_func_vfork_works+:} false
; then :
22267 $as_echo_n "(cached) " >&6
22269 if test "$cross_compiling" = yes; then :
22270 ac_cv_func_vfork_works
=cross
22272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22273 /* end confdefs.h. */
22274 /* Thanks to Paul Eggert for this test. */
22275 $ac_includes_default
22276 #include <sys/wait.h>
22277 #ifdef HAVE_VFORK_H
22278 # include <vfork.h>
22280 /* On some sparc systems, changes by the child to local and incoming
22281 argument registers are propagated back to the parent. The compiler
22282 is told about this with #include <vfork.h>, but some compilers
22283 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
22284 static variable whose address is put into a register that is
22285 clobbered by the vfork. */
22288 sparc_address_test (int arg)
22290 sparc_address_test (arg) int arg;
22293 static pid_t child;
22311 pid_t parent = getpid ();
22314 sparc_address_test (0);
22319 /* Here is another test for sparc vfork register problems. This
22320 test uses lots of local variables, at least as many local
22321 variables as main has allocated so far including compiler
22322 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
22323 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
22324 reuse the register of parent for one of the local variables,
22325 since it will think that parent can't possibly be used any more
22326 in this routine. Assigning to the local variable will thus
22327 munge parent in the parent process. */
22329 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
22330 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
22331 /* Convince the compiler that p..p7 are live; otherwise, it might
22332 use the same hardware register for all 8 local variables. */
22333 if (p != p1 || p != p2 || p != p3 || p != p4
22334 || p != p5 || p != p6 || p != p7)
22337 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
22338 from child file descriptors. If the child closes a descriptor
22339 before it execs or exits, this munges the parent's descriptor
22340 as well. Test for this by closing stdout in the child. */
22341 _exit(close(fileno(stdout)) != 0);
22346 while (wait(&status) != child)
22349 /* Was there some problem with vforking? */
22352 /* Did the child fail? (This shouldn't happen.) */
22355 /* Did the vfork/compiler bug occur? */
22356 || parent != getpid()
22358 /* Did the file descriptor bug occur? */
22359 || fstat(fileno(stdout), &st) != 0
22364 if ac_fn_c_try_run
"$LINENO"; then :
22365 ac_cv_func_vfork_works
=yes
22367 ac_cv_func_vfork_works
=no
22369 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22370 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
22375 $as_echo "$ac_cv_func_vfork_works" >&6; }
22378 if test "x$ac_cv_func_fork_works" = xcross
; then
22379 ac_cv_func_vfork_works
=$ac_cv_func_vfork
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
22381 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
22384 if test "x$ac_cv_func_vfork_works" = xyes
; then
22386 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
22390 $as_echo "#define vfork fork" >>confdefs.h
22393 if test "x$ac_cv_func_fork_works" = xyes
; then
22395 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
22399 for ac_func
in strchr \
22433 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22434 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22435 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22436 cat >>confdefs.h
<<_ACEOF
22437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
22445 $as_echo_n "checking for library containing gethostname... " >&6; }
22446 if ${ac_cv_search_gethostname+:} false
; then :
22447 $as_echo_n "(cached) " >&6
22449 ac_func_search_save_LIBS
=$LIBS
22450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22451 /* end confdefs.h. */
22453 /* Override any GCC internal prototype to avoid an error.
22454 Use char because int might match the return type of a GCC
22455 builtin and then its argument prototype would still apply. */
22459 char gethostname ();
22463 return gethostname ();
22468 for ac_lib
in '' nsl
; do
22469 if test -z "$ac_lib"; then
22470 ac_res
="none required"
22473 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22475 if ac_fn_c_try_link
"$LINENO"; then :
22476 ac_cv_search_gethostname
=$ac_res
22478 rm -f core conftest.err conftest.
$ac_objext \
22480 if ${ac_cv_search_gethostname+:} false
; then :
22484 if ${ac_cv_search_gethostname+:} false
; then :
22487 ac_cv_search_gethostname
=no
22489 rm conftest.
$ac_ext
22490 LIBS
=$ac_func_search_save_LIBS
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
22493 $as_echo "$ac_cv_search_gethostname" >&6; }
22494 ac_res
=$ac_cv_search_gethostname
22495 if test "$ac_res" != no
; then :
22496 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
22502 $as_echo_n "checking for library containing socket... " >&6; }
22503 if ${ac_cv_search_socket+:} false
; then :
22504 $as_echo_n "(cached) " >&6
22506 ac_func_search_save_LIBS
=$LIBS
22507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22508 /* end confdefs.h. */
22510 /* Override any GCC internal prototype to avoid an error.
22511 Use char because int might match the return type of a GCC
22512 builtin and then its argument prototype would still apply. */
22525 for ac_lib
in '' socket
; do
22526 if test -z "$ac_lib"; then
22527 ac_res
="none required"
22530 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22532 if ac_fn_c_try_link
"$LINENO"; then :
22533 ac_cv_search_socket
=$ac_res
22535 rm -f core conftest.err conftest.
$ac_objext \
22537 if ${ac_cv_search_socket+:} false
; then :
22541 if ${ac_cv_search_socket+:} false
; then :
22544 ac_cv_search_socket
=no
22546 rm conftest.
$ac_ext
22547 LIBS
=$ac_func_search_save_LIBS
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
22550 $as_echo "$ac_cv_search_socket" >&6; }
22551 ac_res
=$ac_cv_search_socket
22552 if test "$ac_res" != no
; then :
22553 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
22563 $as_echo_n "checking for library containing bind... " >&6; }
22564 if ${ac_cv_search_bind+:} false
; then :
22565 $as_echo_n "(cached) " >&6
22567 ac_func_search_save_LIBS
=$LIBS
22568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22569 /* end confdefs.h. */
22571 /* Override any GCC internal prototype to avoid an error.
22572 Use char because int might match the return type of a GCC
22573 builtin and then its argument prototype would still apply. */
22586 for ac_lib
in '' bind; do
22587 if test -z "$ac_lib"; then
22588 ac_res
="none required"
22591 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22593 if ac_fn_c_try_link
"$LINENO"; then :
22594 ac_cv_search_bind
=$ac_res
22596 rm -f core conftest.err conftest.
$ac_objext \
22598 if ${ac_cv_search_bind+:} false
; then :
22602 if ${ac_cv_search_bind+:} false
; then :
22605 ac_cv_search_bind
=no
22607 rm conftest.
$ac_ext
22608 LIBS
=$ac_func_search_save_LIBS
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
22611 $as_echo "$ac_cv_search_bind" >&6; }
22612 ac_res
=$ac_cv_search_bind
22613 if test "$ac_res" != no
; then :
22614 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22623 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
22625 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22626 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22627 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22628 cat >>confdefs.h
<<_ACEOF
22629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22633 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
22638 for ac_func
in sigset sigrelse
22640 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22641 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22642 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22643 cat >>confdefs.h
<<_ACEOF
22644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22648 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
22660 $as_echo_n "checking for library containing syslog... " >&6; }
22661 if ${ac_cv_search_syslog+:} false
; then :
22662 $as_echo_n "(cached) " >&6
22664 ac_func_search_save_LIBS
=$LIBS
22665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h. */
22668 /* Override any GCC internal prototype to avoid an error.
22669 Use char because int might match the return type of a GCC
22670 builtin and then its argument prototype would still apply. */
22683 for ac_lib
in '' bsd socket inet
; do
22684 if test -z "$ac_lib"; then
22685 ac_res
="none required"
22688 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22690 if ac_fn_c_try_link
"$LINENO"; then :
22691 ac_cv_search_syslog
=$ac_res
22693 rm -f core conftest.err conftest.
$ac_objext \
22695 if ${ac_cv_search_syslog+:} false
; then :
22699 if ${ac_cv_search_syslog+:} false
; then :
22702 ac_cv_search_syslog
=no
22704 rm conftest.
$ac_ext
22705 LIBS
=$ac_func_search_save_LIBS
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
22708 $as_echo "$ac_cv_search_syslog" >&6; }
22709 ac_res
=$ac_cv_search_syslog
22710 if test "$ac_res" != no
; then :
22711 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22714 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
22721 if test -n "$alpine_with_local_maildir" ; then
22722 alpine_local_maildir
=$alpine_with_local_maildir
22723 elif test -d /var
/spool
/mail ; then
22724 alpine_local_maildir
="/var/spool/mail"
22725 elif test -d /var
/mail ; then
22726 alpine_local_maildir
="/var/mail"
22728 alpine_local_maildir
="/usr/spool/mail"
22731 if test -n "$alpine_with_c_client_target" ; then
22732 alpine_c_client_target
=$alpine_with_c_client_target
22736 cat >>confdefs.h
<<_ACEOF
22737 #define SYSTYPE "$systype"
22741 cat >>confdefs.h
<<_ACEOF
22742 #define C_FILESEP '$alpine_path_delim'
22746 cat >>confdefs.h
<<_ACEOF
22747 #define S_FILESEP "$alpine_path_delim"
22751 cat >>confdefs.h
<<_ACEOF
22752 #define MAILDIR "$alpine_local_maildir"
22756 cat >>confdefs.h
<<_ACEOF
22757 #define MODE_READONLY $alpine_mode_readonly
22761 cat >>confdefs.h
<<_ACEOF
22762 #define HTML_EXT "html"
22766 C_CLIENT_TARGET
=$alpine_c_client_target
22768 C_CLIENT_WITH_IPV6
=$c_client_ip6
22770 if test "x$alpine_SSLTYPE" = "xnone" ; then
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
22772 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
22773 c_client_specials
="${c_client_specials}SSLTYPE=none "
22776 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
22777 certdir
="$alpine_SSLCERTS"
22778 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
22779 certdir
="${alpine_SSLDIR}/certs"
22780 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
22781 certdir
="${alpine_SSLDIR}/ssl/certs"
22782 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
22783 certdir
="$alpine_SSLCERTS_ORIG"
22784 elif test -n "$alpine_SSLCERTS" ; then
22785 certdir
="$alpine_SSLCERTS"
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
22788 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
22791 if test "x$with_smime" != "xno" ; then
22792 if test -n "$certdir" ; then
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
22794 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
22796 $as_echo "#define SMIME /**/" >>confdefs.h
22799 cat >>confdefs.h
<<_ACEOF
22800 #define SMIME_SSLCERTS "$certdir"
22808 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
22809 SSL_BUNDLE_EXISTS
="no"
22810 SSL_PEM
="factory.pem ca-bundle.pem cert.pem ca-bundle.crt ca-root-nss.crt"
22811 for SSL_BUNDLE
in $SSL_PEM
22813 if test -f ${certdir}/${SSL_BUNDLE} ; then
22814 SSL_BUNDLE_EXISTS
="yes"
22818 SSL_CERT_LINK
="yes"
22821 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
22823 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
22825 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
22827 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
22829 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
22832 if test -n "$alpine_SSLINCLUDE" ; then
22833 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
22836 if test -n "$alpine_SSLLIB" ; then
22837 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
22840 if test -n "$alpine_SSLDIR" ; then
22841 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
22844 if test -n "$certdir" ; then
22845 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
22848 if test -n "$alpine_SSLKEYS" ; then
22849 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
22854 if test "x$alpine_GSSTYPE" != "xnone" ; then
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
22857 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
22861 if test "x$alpine_NTLM" != "xnone" ; then
22862 extra_auth_ntlm
=ntl
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
22864 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
22867 if test -n "$CPPFLAGS" ; then
22868 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
22870 if test -n "$CFLAGS" ; then
22871 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
22874 if test -n "$alpine_c_client_cflags" ; then
22875 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
22879 if test -n "$LDFLAGS" ; then
22880 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
22882 if test -n "$LIBS" ; then
22883 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
22886 if test -n "$alpine_c_client_ldflags" ; then
22887 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
22891 if test -n "$alpine_c_client_gccoptlevel" ; then
22892 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
22896 c_client_auths
="$extra_auth_gss $extra_auth_ntlm"
22897 C_CLIENT_AUTHS
=$c_client_auths
22900 C_CLIENT_SPECIALS
=$c_client_specials
22903 if test -z "$WEB_BUILD" ; then
22904 WEB_PUBCOOKIE_BUILD
=
22905 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
22906 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
22908 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
22910 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
22911 if test "x$alpine_GSSTYPE" = "xnone" ; then
22912 WEB_PUBCOOKIE_BUILD
=
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
22914 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
22916 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
22917 elif test -z "$WEB_BINDIR" ; then
22918 WEB_PUBCOOKIE_BUILD
=
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
22920 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
22921 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
22922 Please re-run configure with these options:
22923 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
22926 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
22928 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
22929 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
22945 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"
22947 cat >confcache
<<\_ACEOF
22948 # This file is a shell script that caches the results of configure
22949 # tests run on this system so they can be shared between configure
22950 # scripts and configure runs, see configure's option --config-cache.
22951 # It is not useful on other systems. If it contains results you don't
22952 # want to keep, you may remove or edit it.
22954 # config.status only pays attention to the cache file if you give it
22955 # the --recheck option to rerun configure.
22957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22959 # following values.
22963 # The following way of writing the cache mishandles newlines in values,
22964 # but we know of no workaround that is simple, portable, and efficient.
22965 # So, we kill variables containing newlines.
22966 # Ultrix sh set writes to stderr and can't be redirected directly,
22967 # and sets the high bit in the cache file unless we assign to the vars.
22969 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22970 eval ac_val
=\$
$ac_var
22974 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22975 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22978 _ | IFS | as_nl
) ;; #(
22979 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
22980 *) { eval $ac_var=; unset $ac_var;} ;;
22986 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22987 *${as_nl}ac_space
=\
*)
22988 # `set' does not quote correctly, so add quotes: double-quote
22989 # substitution turns \\\\ into \\, and sed turns \\ into \.
22992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22995 # `set' quotes correctly as required by POSIX, so do not add quotes.
22996 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23005 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23007 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23009 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23010 if test -w "$cache_file"; then
23011 if test "x$cache_file" != "x/dev/null"; then
23012 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23013 $as_echo "$as_me: updating cache $cache_file" >&6;}
23014 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
23015 cat confcache
>"$cache_file"
23017 case $cache_file in #(
23019 mv -f confcache
"$cache_file"$$
&&
23020 mv -f "$cache_file"$$
"$cache_file" ;; #(
23022 mv -f confcache
"$cache_file" ;;
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23028 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23033 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23034 # Let make expand exec_prefix.
23035 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23037 DEFS
=-DHAVE_CONFIG_H
23042 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23043 # 1. Remove the extension, and $U if already installed.
23044 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23045 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
23046 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23047 # will be set to the directory where LIBOBJS objects are built.
23048 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23049 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
23051 LIBOBJS
=$ac_libobjs
23053 LTLIBOBJS
=$ac_ltlibobjs
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
23057 $as_echo_n "checking that generated files are newer than configure... " >&6; }
23058 if test -n "$am_sleep_pid"; then
23059 # Hide warnings about reused PIDs.
23060 wait $am_sleep_pid 2>/dev
/null
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
23063 $as_echo "done" >&6; }
23064 if test -n "$EXEEXT"; then
23066 am__EXEEXT_FALSE
='#'
23068 am__EXEEXT_TRUE
='#'
23072 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23073 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
23074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23076 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23077 as_fn_error $?
"conditional \"AMDEP\" was never defined.
23078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23080 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23081 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
23082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23084 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23085 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
23086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
23089 : "${CONFIG_STATUS=./config.status}"
23091 ac_clean_files_save
=$ac_clean_files
23092 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23094 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23096 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23098 # Generated by $as_me.
23099 # Run this file to recreate the current configuration.
23100 # Compiler output produced by configure, useful for debugging
23101 # configure, is in config.log if it exists.
23104 ac_cs_recheck=false
23107 SHELL=\${CONFIG_SHELL-$SHELL}
23110 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
23111 ## -------------------- ##
23112 ## M4sh Initialization. ##
23113 ## -------------------- ##
23115 # Be more Bourne compatible
23116 DUALCASE
=1; export DUALCASE
# for MKS sh
23117 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23120 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23121 # is contrary to our usage. Disable this feature.
23122 alias -g '${1+"$@"}'='"$@"'
23123 setopt NO_GLOB_SUBST
23125 case `(set -o) 2>/dev/null` in #(
23137 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23138 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23139 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23140 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23141 # Prefer a ksh shell builtin over an external printf program on Solaris,
23142 # but without wasting forks for bash or zsh.
23143 if test -z "$BASH_VERSION$ZSH_VERSION" \
23144 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
23145 as_echo='print
-r --'
23146 as_echo_n='print
-rn --'
23147 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23148 as_echo='printf %s
\n'
23149 as_echo_n='printf %s
'
23151 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23152 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
23153 as_echo_n='/usr
/ucb
/echo -n'
23155 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23156 as_echo_n_body='eval
23160 expr "X$arg" : "X\\(.*\\)$as_nl";
23161 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23163 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
23165 export as_echo_n_body
23166 as_echo_n='sh
-c $as_echo_n_body as_echo
'
23168 export as_echo_body
23169 as_echo='sh
-c $as_echo_body as_echo
'
23172 # The user is always right.
23173 if test "${PATH_SEPARATOR+set}" != set; then
23175 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23176 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23183 # We need space, tab and new line, in precisely that order. Quoting is
23184 # there to prevent editors from complaining about space-tab.
23185 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23186 # splitting by setting IFS to empty value.)
23189 # Find who we are. Look in the path if we contain no directory separator.
23192 *[\\/]* ) as_myself=$0 ;;
23193 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23194 for as_dir in $PATH
23197 test -z "$as_dir" && as_dir=.
23198 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23204 # We did not find ourselves, most probably we were run as `sh COMMAND'
23205 # in which case we are not to be found in the path.
23206 if test "x$as_myself" = x
; then
23209 if test ! -f "$as_myself"; then
23210 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23214 # Unset variables that we do not need and which cause bugs (e.g. in
23215 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
23216 # suppresses any "Segmentation fault" message there. '((' could
23217 # trigger a bug in pdksh 5.2.14.
23218 for as_var
in BASH_ENV ENV MAIL MAILPATH
23219 do eval test x\
${$as_var+set} = xset \
23220 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
23233 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
23236 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23237 # ----------------------------------------
23238 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23239 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23240 # script with STATUS, using 1 if that was 0.
23243 as_status
=$1; test $as_status -eq 0 && as_status
=1
23245 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
23246 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23248 $as_echo "$as_me: error: $2" >&2
23249 as_fn_exit
$as_status
23253 # as_fn_set_status STATUS
23254 # -----------------------
23255 # Set $? to STATUS, without forking.
23256 as_fn_set_status
()
23259 } # as_fn_set_status
23261 # as_fn_exit STATUS
23262 # -----------------
23263 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23267 as_fn_set_status
$1
23273 # Portably unset VAR.
23276 { eval $1=; unset $1;}
23278 as_unset
=as_fn_unset
23279 # as_fn_append VAR VALUE
23280 # ----------------------
23281 # Append the text in VALUE to the end of the definition contained in VAR. Take
23282 # advantage of any shell optimizations that allow amortized linear growth over
23283 # repeated appends, instead of the typical quadratic growth present in naive
23285 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
23286 eval 'as_fn_append ()
23297 # as_fn_arith ARG...
23298 # ------------------
23299 # Perform arithmetic evaluation on the ARGs, and store the result in the
23300 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23301 # must be portable across $(()) and expr.
23302 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
23303 eval 'as_fn_arith ()
23310 as_val
=`expr "$@" || test $? -eq 1`
23315 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23316 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23322 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23323 as_basename
=basename
23328 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23334 as_me
=`$as_basename -- "$0" ||
23335 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23336 X"$0" : 'X\(//\)$' \| \
23337 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23339 sed '/^.*\/\([^/][^/]*\)\/*$/{
23353 # Avoid depending upon Character Ranges.
23354 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23355 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23356 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23357 as_cr_digits
='0123456789'
23358 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23360 ECHO_C
= ECHO_N
= ECHO_T
=
23361 case `echo -n x` in #(((((
23363 case `echo 'xy\c'` in
23364 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23366 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
23373 rm -f conf$$ conf$$.exe conf$$.
file
23374 if test -d conf$$.dir
; then
23375 rm -f conf$$.dir
/conf$$.
file
23378 mkdir conf$$.dir
2>/dev
/null
23380 if (echo >conf$$.
file) 2>/dev
/null
; then
23381 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23383 # ... but there are two gotchas:
23384 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23385 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23386 # In both cases, we have to default to `cp -pR'.
23387 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23389 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23397 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23398 rmdir conf$$.dir
2>/dev
/null
23403 # Create "$as_dir" as a directory, including parents if necessary.
23408 -*) as_dir
=.
/$as_dir;;
23410 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
23414 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23415 *) as_qdir
=$as_dir;;
23417 as_dirs
="'$as_qdir' $as_dirs"
23418 as_dir
=`$as_dirname -- "$as_dir" ||
23419 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23420 X"$as_dir" : 'X\(//\)[^/]' \| \
23421 X"$as_dir" : 'X\(//\)$' \| \
23422 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23423 $as_echo X"$as_dir" |
23424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23428 /^X\(\/\/\)[^/].*/{
23441 test -d "$as_dir" && break
23443 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23444 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
23448 if mkdir
-p .
2>/dev
/null
; then
23449 as_mkdir_p
='mkdir -p "$as_dir"'
23451 test -d .
/-p && rmdir .
/-p
23456 # as_fn_executable_p FILE
23457 # -----------------------
23458 # Test if FILE is an executable regular file.
23459 as_fn_executable_p
()
23461 test -f "$1" && test -x "$1"
23462 } # as_fn_executable_p
23463 as_test_x
='test -x'
23464 as_executable_p
=as_fn_executable_p
23466 # Sed expression to map a string onto a valid CPP name.
23467 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23469 # Sed expression to map a string onto a valid variable name.
23470 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23474 ## ----------------------------------- ##
23475 ## Main body of $CONFIG_STATUS script. ##
23476 ## ----------------------------------- ##
23478 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
23480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23481 # Save the log message, to keep $0 and so on meaningful, and to
23482 # report actual input values of CONFIG_FILES etc. instead of their
23483 # values after options handling.
23485 This file was extended by alpine $as_me 2.26, which was
23486 generated by GNU Autoconf 2.69. Invocation command line was
23488 CONFIG_FILES = $CONFIG_FILES
23489 CONFIG_HEADERS = $CONFIG_HEADERS
23490 CONFIG_LINKS = $CONFIG_LINKS
23491 CONFIG_COMMANDS = $CONFIG_COMMANDS
23494 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23499 case $ac_config_files in *"
23500 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
23503 case $ac_config_headers in *"
23504 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23509 # Files that config.status was made for.
23510 config_files="$ac_config_files"
23511 config_headers="$ac_config_headers"
23512 config_commands="$ac_config_commands"
23516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23518 \`$as_me' instantiates files and other configuration actions
23519 from templates according to the current configuration. Unless the files
23520 and actions are specified as TAGs, all are instantiated by default.
23522 Usage: $0 [OPTION]... [TAG]...
23524 -h, --help print this help, then exit
23525 -V, --version print version number and configuration settings, then exit
23526 --config print configuration, then exit
23527 -q, --quiet, --silent
23528 do not print progress messages
23529 -d, --debug don't remove temporary files
23530 --recheck update $as_me by reconfiguring in the same conditions
23531 --file=FILE[:TEMPLATE]
23532 instantiate the configuration file FILE
23533 --header=FILE[:TEMPLATE]
23534 instantiate the configuration header FILE
23536 Configuration files:
23539 Configuration headers:
23542 Configuration commands:
23545 Report bugs to <chappa@washington.edu>."
23548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23549 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23551 alpine config.status 2.26
23552 configured by $0, generated by GNU Autoconf 2.69,
23553 with options \\"\$ac_cs_config\\"
23555 Copyright (C) 2012 Free Software Foundation, Inc.
23556 This config.status script is free software; the Free Software Foundation
23557 gives unlimited permission to copy, distribute and modify it."
23564 test -n "\$AWK" || AWK=awk
23567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23568 # The default lists apply if the user does not specify any file.
23574 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23575 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23579 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23591 # Handling of the options.
23592 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23594 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23595 $as_echo "$ac_cs_version"; exit ;;
23596 --config |
--confi |
--conf |
--con |
--co |
--c )
23597 $as_echo "$ac_cs_config"; exit ;;
23598 --debug |
--debu |
--deb |
--de |
--d |
-d )
23600 --file |
--fil |
--fi |
--f )
23603 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23604 '') as_fn_error $?
"missing file argument" ;;
23606 as_fn_append CONFIG_FILES
" '$ac_optarg'"
23607 ac_need_defaults
=false
;;
23608 --header |
--heade |
--head |
--hea )
23611 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23613 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
23614 ac_need_defaults
=false
;;
23616 # Conflict between --help and --header
23617 as_fn_error $?
"ambiguous option: \`$1'
23618 Try \`$0 --help' for more information.";;
23619 --help |
--hel |
-h )
23620 $as_echo "$ac_cs_usage"; exit ;;
23621 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23622 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23625 # This is an error.
23626 -*) as_fn_error $?
"unrecognized option: \`$1'
23627 Try \`$0 --help' for more information." ;;
23629 *) as_fn_append ac_config_targets
" $1"
23630 ac_need_defaults
=false
;;
23636 ac_configure_extra_args
=
23638 if $ac_cs_silent; then
23640 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23645 if \$ac_cs_recheck; then
23646 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23648 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23649 CONFIG_SHELL='$SHELL'
23650 export CONFIG_SHELL
23655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23659 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23660 ## Running $as_me. ##
23666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23670 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23673 # The HP-UX ksh and POSIX shell print the target directory to stdout
23674 # if CDPATH is set.
23675 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
23677 sed_quote_subst='$sed_quote_subst'
23678 double_quote_subst='$double_quote_subst'
23679 delay_variable_subst='$delay_variable_subst'
23680 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
23681 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
23682 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
23683 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
23684 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
23685 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
23686 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
23687 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
23688 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
23689 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
23690 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
23691 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
23692 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
23693 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
23694 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
23695 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
23696 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
23697 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
23698 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
23699 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
23700 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
23701 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
23702 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
23703 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
23704 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
23705 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
23706 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
23707 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
23708 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
23709 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
23710 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
23711 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
23712 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
23713 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
23714 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
23715 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
23716 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
23717 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
23718 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
23719 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
23720 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
23721 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
23722 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
23723 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
23724 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
23725 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
23726 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23727 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23728 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
23729 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
23730 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
23731 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
23732 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
23733 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
23734 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
23735 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
23736 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
23737 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
23738 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"`'
23739 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
23740 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
23741 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
23742 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
23743 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
23744 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
23745 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
23746 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
23747 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
23748 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
23749 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
23750 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
23751 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
23752 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
23753 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
23754 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
23755 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
23756 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
23757 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
23758 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
23759 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23760 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
23761 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
23762 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
23763 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
23764 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
23765 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
23766 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
23767 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
23768 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23769 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
23770 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
23771 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
23772 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
23773 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
23774 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
23775 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
23776 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
23777 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
23778 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
23779 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
23780 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
23781 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
23782 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
23783 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
23784 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
23785 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
23786 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
23787 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
23788 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
23789 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
23790 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
23791 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
23792 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
23793 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
23794 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
23795 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
23796 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
23797 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
23798 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
23799 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
23800 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
23801 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
23802 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
23803 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
23804 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
23805 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
23806 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
23807 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
23808 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
23809 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
23810 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
23811 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
23812 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
23813 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
23814 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
23817 LTCFLAGS='$LTCFLAGS'
23818 compiler='$compiler_DEFAULT'
23820 # A function that is used when there is no print builtin or printf.
23821 func_fallback_echo ()
23823 eval 'cat <<_LTECHO_EOF
23828 # Quote evaled strings.
23843 deplibs_check_method \
23848 sharedlib_from_linklib_cmd \
23851 archiver_list_spec \
23857 lt_cv_sys_global_symbol_pipe \
23858 lt_cv_sys_global_symbol_to_cdecl \
23859 lt_cv_sys_global_symbol_to_import \
23860 lt_cv_sys_global_symbol_to_c_name_address \
23861 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
23862 lt_cv_nm_interface \
23863 nm_file_list_spec \
23864 lt_cv_truncate_bin \
23865 lt_prog_compiler_no_builtin_flag \
23866 lt_prog_compiler_pic \
23867 lt_prog_compiler_wl \
23868 lt_prog_compiler_static \
23869 lt_cv_prog_compiler_c_o \
23878 export_dynamic_flag_spec \
23879 whole_archive_flag_spec \
23880 compiler_needs_object \
23882 allow_undefined_flag \
23883 no_undefined_flag \
23884 hardcode_libdir_flag_spec \
23885 hardcode_libdir_separator \
23889 variables_saved_for_relink \
23891 library_names_spec \
23893 install_override_mode \
23897 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23898 *[\\\\\\\`\\"\\\$]*)
23899 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23902 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23907 # Double-quote double-evaled strings.
23908 for var in reload_cmds \
23909 old_postinstall_cmds \
23910 old_postuninstall_cmds \
23912 extract_expsyms_cmds \
23913 old_archive_from_new_cmds \
23914 old_archive_from_expsyms_cmds \
23916 archive_expsym_cmds \
23918 module_expsym_cmds \
23919 export_symbols_cmds \
23923 postuninstall_cmds \
23925 sys_lib_search_path_spec \
23926 configure_time_dlsearch_path \
23927 configure_time_lt_sys_library_path; do
23928 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23929 *[\\\\\\\`\\"\\\$]*)
23930 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
23933 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23938 ac_aux_dir='$ac_aux_dir'
23940 # See if we are running on zsh, and set the options that allow our
23941 # commands through without removal of \ escapes INIT.
23942 if test -n "\${ZSH_VERSION+set}"; then
23943 setopt NO_GLOB_SUBST
23954 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
23955 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
23956 # from automake < 1.5.
23957 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
23958 # Capture the value of LINGUAS because we need it to compute CATALOGS.
23959 LINGUAS="${LINGUAS-%UNSET%}"
23964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23966 # Handling of arguments.
23967 for ac_config_target
in $ac_config_targets
23969 case $ac_config_target in
23970 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23971 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23972 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
23973 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
23974 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
23975 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
23976 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
23977 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
23978 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
23979 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
23980 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
23981 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
23982 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
23983 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
23984 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
23985 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
23986 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
23987 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23989 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23994 # If the user did not use the arguments to specify the items to instantiate,
23995 # then the envvar interface is used. Set only those that are not.
23996 # We use the long form for the default assignment because of an extremely
23997 # bizarre bug on SunOS 4.1.3.
23998 if $ac_need_defaults; then
23999 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24000 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24001 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24004 # Have a temporary directory for convenience. Make it in the build tree
24005 # simply because there is no reason against having it here, and in addition,
24006 # creating and moving files from /tmp can sometimes cause problems.
24007 # Hook for its removal unless debugging.
24008 # Note that there is a small window in which the directory will not be cleaned:
24009 # after its creation but before its name has been assigned to `$tmp'.
24013 trap 'exit_status=$?
24014 : "${ac_tmp:=$tmp}"
24015 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24017 trap 'as_fn_exit 1' 1 2 13 15
24019 # Create a (secure) tmp directory for tmp files.
24022 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24026 tmp
=.
/conf$$
-$RANDOM
24027 (umask 077 && mkdir
"$tmp")
24028 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
24031 # Set up the scripts for CONFIG_FILES section.
24032 # No need to generate them if there are no CONFIG_FILES.
24033 # This happens for instance with `./config.status config.h'.
24034 if test -n "$CONFIG_FILES"; then
24037 ac_cr
=`echo X | tr X '\015'`
24038 # On cygwin, bash can eat \r inside `` if the user requested igncr.
24039 # But we know of no other shell where ac_cr would be empty at this
24040 # point, so we can use a bashism as a fallback.
24041 if test "x$ac_cr" = x
; then
24042 eval ac_cr
=\$
\'\\r
\'
24044 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24045 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24048 ac_cs_awk_cr
=$ac_cr
24051 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24056 echo "cat >conf$$subs.awk <<_ACEOF" &&
24057 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24059 } >conf$$subs.sh ||
24060 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24061 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
24063 for ac_last_try in false false false false false :; do
24064 . ./conf$$subs.sh ||
24065 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24067 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
24068 if test $ac_delim_n = $ac_delim_num; then
24070 elif $ac_last_try; then
24071 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
24073 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
24076 rm -f conf$$subs.sh
24078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24079 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
24083 s/^/S["/; s
/!.
*/"]=/
24093 s/\(.\{148\}\)..*/\1/
24095 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
24100 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
24107 s/\(.\{148\}\)..*/\1/
24109 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
24113 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
24118 ' <conf$$subs.awk | sed '
24123 ' >>$CONFIG_STATUS || ac_write_fail=1
24124 rm -f conf$$subs.awk
24125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24127 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
24128 for (key in S) S_is_set[key] = 1
24134 nfields = split(line, field, "@
")
24136 len = length(field[1])
24137 for (i = 2; i < nfields; i++) {
24139 keylen = length(key)
24140 if (S_is_set[key]) {
24142 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24143 len += length(value) + length(field[++i])
24154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24155 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24156 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
24159 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
24160 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
24163 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
24164 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
24165 # trailing colons and then remove the whole line if VPATH becomes empty
24166 # (actually we leave an empty line to preserve line numbers).
24167 if test "x
$srcdir" = x.; then
24168 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
24186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24187 fi # test -n "$CONFIG_FILES"
24189 # Set up the scripts for CONFIG_HEADERS section.
24190 # No need to generate them if there are no CONFIG_HEADERS.
24191 # This happens for instance with `./config.status Makefile'.
24192 if test -n "$CONFIG_HEADERS"; then
24193 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
24197 # Transform confdefs.h into an awk script `defines.awk', embedded as
24198 # here-document in config.status, that substitutes the proper values into
24199 # config.h.in to produce config.h.
24201 # Create a delimiter string that does not exist in confdefs.h, to ease
24202 # handling of long lines.
24204 for ac_last_try in false false :; do
24205 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
24206 if test -z "$ac_tt"; then
24208 elif $ac_last_try; then
24209 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
24211 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
24215 # For the awk script, D is an array of macro values keyed by name,
24216 # likewise P contains macro parameters if any. Preserve backslash
24217 # newline sequences.
24219 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24221 s/.\{148\}/&'"$ac_delim"'/g
24224 s/^[ ]*#[ ]*define[ ][ ]*/ /
24231 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
24233 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
24237 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
24238 D["\
1"]=" \
3\\\\\\n
"\\/p
24240 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
24245 s/.\{148\}/&'"$ac_delim"'/g
24250 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
24253 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
24255 ' <confdefs.h | sed '
24256 s/'"$ac_delim"'/"\\\
24257 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24260 for (key in D) D_is_set[key] = 1
24263 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24265 split(line, arg, " ")
24266 if (arg[1] == "#") {
24270 defundef
= substr
(arg
[1], 2)
24273 split(mac1
, mac2
, "(") #)
24275 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
24276 if (D_is_set
[macro
]) {
24277 # Preserve the white space surrounding the "#".
24278 print prefix
"define", macro P
[macro
] D
[macro
]
24281 # Replace #undef with comments. This is necessary, for example,
24282 # in the case of _POSIX_SOURCE, which is predefined and required
24283 # on some systems where configure will not decide to define it.
24284 if (defundef
== "undef") {
24285 print
"/*", prefix defundef
, macro
, "*/"
24293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24294 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
24295 fi # test -n "$CONFIG_HEADERS"
24298 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24303 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24305 case $ac_mode$ac_tag in
24307 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
24308 :[FH
]-) ac_tag
=-:-;;
24309 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24326 -) ac_f
="$ac_tmp/stdin";;
24327 *) # Look for the file first in the build tree, then in the source tree
24328 # (if the path is not absolute). The absolute path cannot be DOS-style,
24329 # because $ac_f cannot contain `:'.
24333 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24335 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24337 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24338 as_fn_append ac_file_inputs
" '$ac_f'"
24341 # Let's still pretend it is `configure' which instantiates (i.e., don't
24342 # use $as_me), people would be surprised to read:
24343 # /* config.h. Generated by config.status. */
24344 configure_input
='Generated from '`
24345 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24347 if test x
"$ac_file" != x-
; then
24348 configure_input
="$ac_file. $configure_input"
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24350 $as_echo "$as_me: creating $ac_file" >&6;}
24352 # Neutralize special characters interpreted by sed in replacement strings.
24353 case $configure_input in #(
24354 *\
&* |
*\|
* |
*\\* )
24355 ac_sed_conf_input
=`$as_echo "$configure_input" |
24356 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24357 *) ac_sed_conf_input
=$configure_input;;
24361 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
24362 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
24367 ac_dir
=`$as_dirname -- "$ac_file" ||
24368 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24369 X"$ac_file" : 'X\(//\)[^/]' \| \
24370 X"$ac_file" : 'X\(//\)$' \| \
24371 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24372 $as_echo X"$ac_file" |
24373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24377 /^X\(\/\/\)[^/].*/{
24390 as_dir
="$ac_dir"; as_fn_mkdir_p
24394 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24396 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24397 # A ".." for each directory in $ac_dir_suffix.
24398 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24399 case $ac_top_builddir_sub in
24400 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24401 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24404 ac_abs_top_builddir
=$ac_pwd
24405 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24406 # for backward compatibility:
24407 ac_top_builddir
=$ac_top_build_prefix
24410 .
) # We are building in place.
24412 ac_top_srcdir
=$ac_top_builddir_sub
24413 ac_abs_top_srcdir
=$ac_pwd ;;
24414 [\\/]* | ?
:[\\/]* ) # Absolute name.
24415 ac_srcdir
=$srcdir$ac_dir_suffix;
24416 ac_top_srcdir
=$srcdir
24417 ac_abs_top_srcdir
=$srcdir ;;
24418 *) # Relative name.
24419 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24420 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24421 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24423 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24433 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24434 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24436 ac_MKDIR_P
=$MKDIR_P
24438 [\\/$
]* | ?
:[\\/]* ) ;;
24439 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
24443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24444 # If the template does not know about datarootdir, expand it.
24445 # FIXME: This hack should be removed a few years after 2.60.
24446 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24457 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24458 *datarootdir
*) ac_datarootdir_seen
=yes;;
24459 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24461 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24464 ac_datarootdir_hack='
24465 s&@datadir@&$datadir&g
24466 s&@docdir@&$docdir&g
24467 s&@infodir@&$infodir&g
24468 s&@localedir@&$localedir&g
24469 s&@mandir@&$mandir&g
24470 s&\\\${datarootdir}&$datarootdir&g' ;;
24474 # Neutralize VPATH when `$srcdir' = `.'.
24475 # Shell code in configure.ac might set extrasub.
24476 # FIXME: do we really want to maintain this feature?
24477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24478 ac_sed_extra="$ac_vpsub
24481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24483 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24484 s|@configure_input@|
$ac_sed_conf_input|
;t t
24485 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24486 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
24487 s
&@srcdir@
&$ac_srcdir&;t t
24488 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24489 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24490 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24491 s
&@builddir@
&$ac_builddir&;t t
24492 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24493 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24494 s
&@INSTALL@
&$ac_INSTALL&;t t
24495 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24496 $ac_datarootdir_hack
24498 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
24499 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
24501 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24502 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
24503 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
24504 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
24505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24506 which seems to be undefined. Please make sure it is defined" >&5
24507 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24508 which seems to be undefined. Please make sure it is defined" >&2;}
24510 rm -f "$ac_tmp/stdin"
24512 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
24513 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24521 if test x"$ac_file" != x-; then
24523 $as_echo "/* $configure_input */" \
24524 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24525 } >"$ac_tmp/config.h" \
24526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24527 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24529 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24532 mv "$ac_tmp/config.h" "$ac_file" \
24533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24536 $as_echo "/* $configure_input */" \
24537 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24538 || as_fn_error $? "could not create -" "$LINENO" 5
24540 # Compute "$ac_file"'s index
in $config_headers.
24543 for _am_header
in $config_headers :; do
24544 case $_am_header in
24545 $_am_arg |
$_am_arg:* )
24548 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24551 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24552 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24553 X"$_am_arg" : 'X\(//\)[^/]' \| \
24554 X"$_am_arg" : 'X\(//\)$' \| \
24555 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24556 $as_echo X"$_am_arg" |
24557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24561 /^X\(\/\/\)[^/].*/{
24573 s/.*/./; q'`/stamp-h
$_am_stamp_count
24576 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24577 $as_echo "$as_me: executing $ac_file commands" >&6;}
24582 case $ac_file$ac_mode in
24583 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
24584 # Older Autoconf quotes --file arguments for eval, but not when files
24585 # are listed without --file. Let's play safe and only enable the eval
24586 # if we detect the quoting.
24587 case $CONFIG_FILES in
24588 *\'*) eval set x
"$CONFIG_FILES" ;;
24589 *) set x
$CONFIG_FILES ;;
24594 # Strip MF so we end up with the name of the file.
24595 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24596 # Check whether this is an Automake generated Makefile or not.
24597 # We used to match only the files named 'Makefile.in', but
24598 # some people rename them; so instead we look at the file content.
24599 # Grep'ing the first line is not enough: some people post-process
24600 # each Makefile.in and add a new line on top of each file to say so.
24601 # Grep'ing the whole file is not good either: AIX grep has a line
24602 # limit of 2048, but all sed's we know have understand at least 4000.
24603 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24604 dirpart
=`$as_dirname -- "$mf" ||
24605 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24606 X"$mf" : 'X\(//\)[^/]' \| \
24607 X"$mf" : 'X\(//\)$' \| \
24608 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24614 /^X\(\/\/\)[^/].*/{
24630 # Extract the definition of DEPDIR, am__include, and am__quote
24631 # from the Makefile without running 'make'.
24632 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24633 test -z "$DEPDIR" && continue
24634 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24635 test -z "$am__include" && continue
24636 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24637 # Find all dependency output files, they are included files with
24638 # $(DEPDIR) in their names. We invoke sed twice because it is the
24639 # simplest approach to changing $(DEPDIR) to its actual value in the
24641 for file in `sed -n "
24642 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24643 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
24644 # Make sure the directory exists.
24645 test -f "$dirpart/$file" && continue
24646 fdir
=`$as_dirname -- "$file" ||
24647 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24648 X"$file" : 'X\(//\)[^/]' \| \
24649 X"$file" : 'X\(//\)$' \| \
24650 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24651 $as_echo X"$file" |
24652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24656 /^X\(\/\/\)[^/].*/{
24669 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
24670 # echo "creating $dirpart/$file"
24671 echo '# dummy' > "$dirpart/$file"
24678 # See if we are running on zsh, and set the options that allow our
24679 # commands through without removal of \ escapes.
24680 if test -n "${ZSH_VERSION+set}"; then
24681 setopt NO_GLOB_SUBST
24685 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
24688 cat <<_LT_EOF >> "$cfgfile"
24690 # Generated automatically by $as_me ($PACKAGE) $VERSION
24691 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
24693 # Provide generalized library-building support services.
24694 # Written by Gordon Matzigkeit, 1996
24696 # Copyright (C) 2014 Free Software Foundation, Inc.
24697 # This is free software; see the source for copying conditions. There is NO
24698 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24700 # GNU Libtool is free software; you can redistribute it and/or modify
24701 # it under the terms of the GNU General Public License as published by
24702 # the Free Software Foundation; either version 2 of of the License, or
24703 # (at your option) any later version.
24705 # As a special exception to the GNU General Public License, if you
24706 # distribute this file as part of a program or library that is built
24707 # using GNU Libtool, you may include this file under the same
24708 # distribution terms that you use for the rest of that program.
24710 # GNU Libtool is distributed in the hope that it will be useful, but
24711 # WITHOUT ANY WARRANTY; without even the implied warranty of
24712 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24713 # GNU General Public License for more details.
24715 # You should have received a copy of the GNU General Public License
24716 # along with this program. If not, see <http://www.gnu.org/licenses/>.
24719 # The names of the tagged configurations supported by this script.
24722 # Configured defaults for sys_lib_dlsearch_path munging.
24723 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
24725 # ### BEGIN LIBTOOL CONFIG
24727 # Which release of libtool.m4 was used?
24728 macro_version=$macro_version
24729 macro_revision=$macro_revision
24731 # Whether or not to build shared libraries.
24732 build_libtool_libs=$enable_shared
24734 # Whether or not to build static libraries.
24735 build_old_libs=$enable_static
24737 # What type of objects to build.
24740 # Whether or not to optimize for fast installation.
24741 fast_install=$enable_fast_install
24743 # Shared archive member basename,for filename based shared library versioning on AIX.
24744 shared_archive_member_spec=$shared_archive_member_spec
24746 # Shell to use when invoking shell scripts.
24749 # An echo program that protects backslashes.
24752 # The PATH separator for the build system.
24753 PATH_SEPARATOR=$lt_PATH_SEPARATOR
24756 host_alias=$host_alias
24760 # The build system.
24761 build_alias=$build_alias
24765 # A sed program that does not truncate output.
24768 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
24769 Xsed="\$SED -e 1s/^X//"
24771 # A grep program that handles long lines.
24777 # A literal string matcher.
24780 # A BSD- or MS-compatible name lister.
24783 # Whether we need soft or hard links.
24786 # What is the maximum length of a command?
24787 max_cmd_len=$max_cmd_len
24789 # Object file suffix (normally "o").
24792 # Executable file suffix (normally "").
24795 # whether the shell understands "unset".
24798 # turn spaces into newlines.
24801 # turn newlines into spaces.
24804 # convert \$build file names to \$host format.
24805 to_host_file_cmd=$lt_cv_to_host_file_cmd
24807 # convert \$build files to toolchain format.
24808 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
24810 # An object symbol dumper.
24811 OBJDUMP=$lt_OBJDUMP
24813 # Method to check whether dependent libraries are shared objects.
24814 deplibs_check_method=$lt_deplibs_check_method
24816 # Command to use when deplibs_check_method = "file_magic".
24817 file_magic_cmd=$lt_file_magic_cmd
24819 # How to find potential files when deplibs_check_method = "file_magic".
24820 file_magic_glob=$lt_file_magic_glob
24822 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
24823 want_nocaseglob=$lt_want_nocaseglob
24825 # DLL creation program.
24826 DLLTOOL=$lt_DLLTOOL
24828 # Command to associate shared and link libraries.
24829 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
24834 # Flags to create an archive.
24835 AR_FLAGS=$lt_AR_FLAGS
24837 # How to feed a file listing to the archiver.
24838 archiver_list_spec=$lt_archiver_list_spec
24840 # A symbol stripping program.
24843 # Commands used to install an old-style archive.
24845 old_postinstall_cmds=$lt_old_postinstall_cmds
24846 old_postuninstall_cmds=$lt_old_postuninstall_cmds
24848 # Whether to use a lock for old archive extraction.
24849 lock_old_archive_extraction=$lock_old_archive_extraction
24854 # LTCC compiler flags.
24855 LTCFLAGS=$lt_CFLAGS
24857 # Take the output of nm and produce a listing of raw symbols and C names.
24858 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24860 # Transform the output of nm in a proper C declaration.
24861 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24863 # Transform the output of nm into a list of symbols to manually relocate.
24864 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
24866 # Transform the output of nm in a C name address pair.
24867 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24869 # Transform the output of nm in a C name address pair when lib prefix is needed.
24870 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24872 # The name lister interface.
24873 nm_interface=$lt_lt_cv_nm_interface
24875 # Specify filename containing input files for \$NM.
24876 nm_file_list_spec=$lt_nm_file_list_spec
24878 # The root where to search for dependent libraries,and where our libraries should be installed.
24879 lt_sysroot=$lt_sysroot
24881 # Command to truncate a binary pipe.
24882 lt_truncate_bin=$lt_lt_cv_truncate_bin
24884 # The name of the directory that contains temporary libtool files.
24887 # Used to examine libraries when file_magic_cmd begins with "file".
24888 MAGIC_CMD=$MAGIC_CMD
24890 # Must we lock files when doing compilation?
24891 need_locks=$lt_need_locks
24894 MANIFEST_TOOL=$lt_MANIFEST_TOOL
24896 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24897 DSYMUTIL=$lt_DSYMUTIL
24899 # Tool to change global to local symbols on Mac OS X.
24902 # Tool to manipulate fat objects and archives on Mac OS X.
24905 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
24908 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24909 OTOOL64=$lt_OTOOL64
24911 # Old archive suffix (normally "a").
24914 # Shared library suffix (normally ".so").
24915 shrext_cmds=$lt_shrext_cmds
24917 # The commands to extract the exported symbol list from a shared archive.
24918 extract_expsyms_cmds=$lt_extract_expsyms_cmds
24920 # Variables whose values should be saved in libtool wrapper scripts and
24921 # restored at link time.
24922 variables_saved_for_relink=$lt_variables_saved_for_relink
24924 # Do we need the "lib" prefix for modules?
24925 need_lib_prefix=$need_lib_prefix
24927 # Do we need a version for libraries?
24928 need_version=$need_version
24930 # Library versioning type.
24931 version_type=$version_type
24933 # Shared library runtime path variable.
24934 runpath_var=$runpath_var
24936 # Shared library path variable.
24937 shlibpath_var=$shlibpath_var
24939 # Is shlibpath searched before the hard-coded library search path?
24940 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24942 # Format of library name prefix.
24943 libname_spec=$lt_libname_spec
24945 # List of archive names. First name is the real one, the rest are links.
24946 # The last name is the one that the linker finds with -lNAME
24947 library_names_spec=$lt_library_names_spec
24949 # The coded name of the library, if different from the real name.
24950 soname_spec=$lt_soname_spec
24952 # Permission mode override for installation of shared libraries.
24953 install_override_mode=$lt_install_override_mode
24955 # Command to use after installation of a shared archive.
24956 postinstall_cmds=$lt_postinstall_cmds
24958 # Command to use after uninstallation of a shared archive.
24959 postuninstall_cmds=$lt_postuninstall_cmds
24961 # Commands used to finish a libtool library installation in a directory.
24962 finish_cmds=$lt_finish_cmds
24964 # As "finish_cmds", except a single script fragment to be evaled but
24966 finish_eval=$lt_finish_eval
24968 # Whether we should hardcode library paths into libraries.
24969 hardcode_into_libs=$hardcode_into_libs
24971 # Compile-time system search path for libraries.
24972 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24974 # Detected run-time system search path for libraries.
24975 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
24977 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
24978 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
24980 # Whether dlopen is supported.
24981 dlopen_support=$enable_dlopen
24983 # Whether dlopen of programs is supported.
24984 dlopen_self=$enable_dlopen_self
24986 # Whether dlopen of statically linked programs is supported.
24987 dlopen_self_static=$enable_dlopen_self_static
24989 # Commands to strip libraries.
24990 old_striplib=$lt_old_striplib
24991 striplib=$lt_striplib
24994 # The linker used to build libraries.
24997 # How to create reloadable object files.
24998 reload_flag=$lt_reload_flag
24999 reload_cmds=$lt_reload_cmds
25001 # Commands used to build an old-style archive.
25002 old_archive_cmds=$lt_old_archive_cmds
25004 # A language specific compiler.
25007 # Is the compiler the GNU compiler?
25010 # Compiler flag to turn off builtin functions.
25011 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25013 # Additional compiler flags for building library objects.
25014 pic_flag=$lt_lt_prog_compiler_pic
25016 # How to pass a linker flag through the compiler.
25017 wl=$lt_lt_prog_compiler_wl
25019 # Compiler flag to prevent dynamic linking.
25020 link_static_flag=$lt_lt_prog_compiler_static
25022 # Does compiler simultaneously support -c and -o options?
25023 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
25025 # Whether or not to add -lc for building shared libraries.
25026 build_libtool_need_lc=$archive_cmds_need_lc
25028 # Whether or not to disallow shared libs when runtime libs are static.
25029 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
25031 # Compiler flag to allow reflexive dlopens.
25032 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
25034 # Compiler flag to generate shared objects directly from archives.
25035 whole_archive_flag_spec=$lt_whole_archive_flag_spec
25037 # Whether the compiler copes with passing no objects directly.
25038 compiler_needs_object=$lt_compiler_needs_object
25040 # Create an old-style archive from a shared archive.
25041 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
25043 # Create a temporary old-style archive to link instead of a shared archive.
25044 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
25046 # Commands used to build a shared archive.
25047 archive_cmds=$lt_archive_cmds
25048 archive_expsym_cmds=$lt_archive_expsym_cmds
25050 # Commands used to build a loadable module if different from building
25051 # a shared archive.
25052 module_cmds=$lt_module_cmds
25053 module_expsym_cmds=$lt_module_expsym_cmds
25055 # Whether we are building with GNU ld or not.
25056 with_gnu_ld=$lt_with_gnu_ld
25058 # Flag that allows shared libraries with undefined symbols to be built.
25059 allow_undefined_flag=$lt_allow_undefined_flag
25061 # Flag that enforces no undefined symbols.
25062 no_undefined_flag=$lt_no_undefined_flag
25064 # Flag to hardcode \$libdir into a binary during linking.
25065 # This must work even if \$libdir does not exist
25066 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
25068 # Whether we need a single "-rpath" flag with a separated argument.
25069 hardcode_libdir_separator=$lt_hardcode_libdir_separator
25071 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25072 # DIR into the resulting binary.
25073 hardcode_direct=$hardcode_direct
25075 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
25076 # DIR into the resulting binary and the resulting library dependency is
25077 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
25078 # library is relocated.
25079 hardcode_direct_absolute=$hardcode_direct_absolute
25081 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
25082 # into the resulting binary.
25083 hardcode_minus_L=$hardcode_minus_L
25085 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
25086 # into the resulting binary.
25087 hardcode_shlibpath_var=$hardcode_shlibpath_var
25089 # Set to "yes" if building a shared library automatically hardcodes DIR
25090 # into the library and all subsequent libraries and executables linked
25092 hardcode_automatic=$hardcode_automatic
25094 # Set to yes if linker adds runtime paths of dependent libraries
25095 # to runtime path list.
25096 inherit_rpath=$inherit_rpath
25098 # Whether libtool must link a program against all its dependency libraries.
25099 link_all_deplibs=$link_all_deplibs
25101 # Set to "yes" if exported symbols are required.
25102 always_export_symbols=$always_export_symbols
25104 # The commands to list exported symbols.
25105 export_symbols_cmds=$lt_export_symbols_cmds
25107 # Symbols that should not be listed in the preloaded symbols.
25108 exclude_expsyms=$lt_exclude_expsyms
25110 # Symbols that must always be exported.
25111 include_expsyms=$lt_include_expsyms
25113 # Commands necessary for linking programs (against libraries) with templates.
25114 prelink_cmds=$lt_prelink_cmds
25116 # Commands necessary for finishing linking programs.
25117 postlink_cmds=$lt_postlink_cmds
25119 # Specify filename containing input files.
25120 file_list_spec=$lt_file_list_spec
25122 # How to hardcode a shared library path into an executable.
25123 hardcode_action=$hardcode_action
25125 # ### END LIBTOOL CONFIG
25129 cat <<'_LT_EOF' >> "$cfgfile"
25131 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
25133 # func_munge_path_list VARIABLE PATH
25134 # -----------------------------------
25135 # VARIABLE is name of variable containing _space_ separated list of
25136 # directories to be munged by the contents of PATH, which is string
25139 # string "DIR[ DIR]" will be prepended to VARIABLE
25141 # string "DIR[ DIR]" will be appended to VARIABLE
25142 # "DIRP[:DIRP]::[DIRA:]DIRA"
25143 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
25144 # "DIRA[ DIRA]" will be appended to VARIABLE
25146 # VARIABLE will be replaced by "DIR[ DIR]"
25147 func_munge_path_list ()
25153 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
25156 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
25159 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
25160 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
25163 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
25169 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
25170 func_cc_basename ()
25172 for cc_temp in $*""; do
25174 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
25175 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
25180 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
25184 # ### END FUNCTIONS SHARED WITH CONFIGURE
25190 cat <<\_LT_EOF
>> "$cfgfile"
25191 # AIX sometimes has problems with the GCC collect2 program. For some
25192 # reason, if we set the COLLECT_NAMES environment variable, the problems
25193 # vanish in a puff of smoke.
25194 if test set != "${COLLECT_NAMES+set}"; then
25196 export COLLECT_NAMES
25203 ltmain
=$ac_aux_dir/ltmain.sh
25206 # We use sed instead of cat because bash on DJGPP gets confused if
25207 # if finds mixed CR/LF and LF-only lines. Since sed operates in
25208 # text mode, it properly converts lines to CR/LF. This bash problem
25209 # is reportedly fixed, but why not run on old versions too?
25210 sed '$q' "$ltmain" >> "$cfgfile" \
25211 ||
(rm -f "$cfgfile"; exit 1)
25213 mv -f "$cfgfile" "$ofile" ||
25214 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25218 "po-directories":C
)
25219 for ac_file
in $CONFIG_FILES; do
25220 # Support "outfile[:infile[:infile...]]"
25222 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
25224 # PO directories have a Makefile.in generated from Makefile.in.in.
25225 case "$ac_file" in */Makefile.
in)
25226 # Adjust a relative srcdir.
25227 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
25228 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
25229 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
25230 # In autoconf-2.13 it is called $ac_given_srcdir.
25231 # In autoconf-2.50 it is called $srcdir.
25232 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
25233 case "$ac_given_srcdir" in
25234 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
25235 /*) top_srcdir
="$ac_given_srcdir" ;;
25236 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
25238 # Treat a directory as a PO directory if and only if it has a
25239 # POTFILES.in file. This allows packages to have multiple PO
25240 # directories under different names or in different locations.
25241 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
25242 rm -f "$ac_dir/POTFILES"
25243 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
25244 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
25245 POMAKEFILEDEPS
="POTFILES.in"
25246 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
25247 # on $ac_dir but don't depend on user-specified configuration
25249 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
25250 # The LINGUAS file contains the set of available languages.
25251 if test -n "$OBSOLETE_ALL_LINGUAS"; then
25252 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
25254 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
25255 # Hide the ALL_LINGUAS assigment from automake < 1.5.
25256 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
25257 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
25259 # The set of available languages was given in configure.in.
25260 # Hide the ALL_LINGUAS assigment from automake < 1.5.
25261 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
25264 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
25265 # Compute UPDATEPOFILES
25266 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
25267 # Compute DUMMYPOFILES
25268 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
25270 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
25271 case "$ac_given_srcdir" in
25273 *) srcdirpre
='$(srcdir)/' ;;
25279 for lang
in $ALL_LINGUAS; do
25280 POFILES
="$POFILES $srcdirpre$lang.po"
25281 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
25282 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
25283 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
25285 # CATALOGS depends on both $ac_dir and the user's LINGUAS
25286 # environment variable.
25288 if test -n "$ALL_LINGUAS"; then
25289 for presentlang
in $ALL_LINGUAS; do
25291 if test "%UNSET%" != "$LINGUAS"; then
25292 desiredlanguages
="$LINGUAS"
25294 desiredlanguages
="$ALL_LINGUAS"
25296 for desiredlang
in $desiredlanguages; do
25297 # Use the presentlang catalog if desiredlang is
25298 # a. equal to presentlang, or
25299 # b. a variant of presentlang (because in this case,
25300 # presentlang can be used as a fallback for messages
25301 # which are not translated in the desiredlang catalog).
25302 case "$desiredlang" in
25303 "$presentlang"*) useit
=yes;;
25306 if test $useit = yes; then
25307 INST_LINGUAS
="$INST_LINGUAS $presentlang"
25312 if test -n "$INST_LINGUAS"; then
25313 for lang
in $INST_LINGUAS; do
25314 CATALOGS
="$CATALOGS $lang.gmo"
25317 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
25318 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"
25319 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
25320 if test -f "$f"; then
25322 *.orig |
*.bak |
*~
) ;;
25323 *) cat "$f" >> "$ac_dir/Makefile" ;;
25338 ac_clean_files
=$ac_clean_files_save
25340 test $ac_write_fail = 0 ||
25341 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
25344 # configure is writing to config.log, and then calls config.status.
25345 # config.status does its own redirection, appending to config.log.
25346 # Unfortunately, on DOS this fails, as config.log is still kept open
25347 # by configure, so config.status won't be able to write to it; its
25348 # output is simply discarded. So we exec the FD to /dev/null,
25349 # effectively closing config.log, so it can be properly (re)opened and
25350 # appended to by config.status. When coming back to configure, we
25351 # need to make the FD available again.
25352 if test "$no_create" != yes; then
25354 ac_config_status_args
=
25355 test "$silent" = yes &&
25356 ac_config_status_args
="$ac_config_status_args --quiet"
25358 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25360 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25361 # would make configure fail if this is the last instruction.
25362 $ac_cs_success || as_fn_exit
1
25364 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
25366 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}