2 # From configure.ac Rev:21 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.21.1.
6 # Report bugs to <chappa@washington.edu>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210 test \$(( 1 + 1 )) = 2 || exit 1"
211 if (eval "$as_required") 2>/dev
/null
; then :
216 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 # Try only shells that exist, to save several forks.
230 as_shell
=$as_dir/$as_base
231 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$as_shell as_have_required
=yes
234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
242 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
243 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
244 CONFIG_SHELL
=$SHELL as_have_required
=yes
249 if test "x$CONFIG_SHELL" != x
; then :
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
257 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
259 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed `exec'.
267 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271 if test x
$as_have_required = xno
; then :
272 $as_echo "$0: This script requires a shell more modern than all"
273 $as_echo "$0: the shells that I found on your system."
274 if test x
${ZSH_VERSION+set} = xset
; then
275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 $0: chappa@washington.edu about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
592 PACKAGE_NAME
='alpine'
593 PACKAGE_TARNAME
='alpine'
594 PACKAGE_VERSION
='2.21.1'
595 PACKAGE_STRING
='alpine 2.21.1'
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
659 alpine_interactive_spellcheck
661 alpine_simple_spellcheck
736 MAINTAINER_MODE_FALSE
750 INSTALL_STRIP_PROGRAM
792 program_transform_name
805 enable_option_checking
807 enable_maintainer_mode
808 enable_dependency_tracking
825 enable_osx_universal_binaries
835 enable_background_post
843 with_simple_spellcheck
844 with_interactive_spellcheck
846 with_system_fixed_pinerc
847 with_local_support_info
848 with_mailcheck_interval
849 with_checkpoint_interval
850 with_checkpoint_frequency
853 with_max_display_rows
854 with_max_display_columns
860 with_forwarded_keyword
864 with_default_save_folder
865 with_default_legacy_postponed_folder
866 with_default_postponed_folder
867 with_default_trash_folder
868 with_default_interrupted_mail
869 with_default_dead_letter_folder
870 with_default_mail_directory
871 with_default_inbox_name
872 with_default_signature_file
873 with_default_elm_style_save
874 with_default_header_in_reply
875 with_default_old_style_reply
876 with_default_use_only_domain_name
877 with_default_save_by_sender
878 with_default_sort_key
879 with_default_addressbook_sort_rule
880 with_default_folder_sort_rule
881 with_default_saved_message_name_rule
882 with_default_fcc_rule
883 with_default_standard_printer
884 with_default_ansi_printer
885 with_default_addressbook
886 with_default_local_fullname
887 with_default_local_address
888 with_default_keyboard_lock_count
889 with_default_remote_addressbook_history
890 with_smime_public_cert_directory
891 with_smime_private_key_directory
892 with_smime_cacert_directory
895 with_local_password_cache
896 with_local_password_cache_method
906 with_krb5_include_dir
910 with_ldap_include_dir
918 with_system_mail_directory
922 ac_precious_vars
='build_alias
934 # Initialize some variables set by options.
936 ac_init_version
=false
937 ac_unrecognized_opts
=
939 # The variables have the same names as the options, with
940 # dashes changed to underlines.
948 program_transform_name
=s
,x
,x
,
956 # Installation directory options.
957 # These are left unexpanded so users can "make install exec_prefix=/foo"
958 # and all the variables that are supposed to be based on exec_prefix
959 # by default will actually change.
960 # Use braces instead of parens because sh, perl, etc. also accept them.
961 # (The list follows the same order as the GNU Coding Standards.)
962 bindir
='${exec_prefix}/bin'
963 sbindir
='${exec_prefix}/sbin'
964 libexecdir
='${exec_prefix}/libexec'
965 datarootdir
='${prefix}/share'
966 datadir
='${datarootdir}'
967 sysconfdir
='${prefix}/etc'
968 sharedstatedir
='${prefix}/com'
969 localstatedir
='${prefix}/var'
970 includedir
='${prefix}/include'
971 oldincludedir
='/usr/include'
972 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
973 infodir
='${datarootdir}/info'
978 libdir
='${exec_prefix}/lib'
979 localedir
='${datarootdir}/locale'
980 mandir
='${datarootdir}/man'
986 # If the previous option needs an argument, assign it.
987 if test -n "$ac_prev"; then
988 eval $ac_prev=\
$ac_option
994 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
999 # Accept the important Cygnus configure options, so we can diagnose typos.
1001 case $ac_dashdash$ac_option in
1005 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1007 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1008 bindir
=$ac_optarg ;;
1010 -build |
--build |
--buil |
--bui |
--bu)
1011 ac_prev
=build_alias
;;
1012 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1013 build_alias
=$ac_optarg ;;
1015 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1016 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1017 ac_prev
=cache_file
;;
1018 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1019 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1020 cache_file
=$ac_optarg ;;
1022 --config-cache |
-C)
1023 cache_file
=config.cache
;;
1025 -datadir |
--datadir |
--datadi |
--datad)
1027 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1028 datadir
=$ac_optarg ;;
1030 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1031 |
--dataroo |
--dataro |
--datar)
1032 ac_prev
=datarootdir
;;
1033 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1034 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1035 datarootdir
=$ac_optarg ;;
1037 -disable-* |
--disable-*)
1038 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1041 as_fn_error $?
"invalid feature name: $ac_useropt"
1042 ac_useropt_orig
=$ac_useropt
1043 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1046 "enable_
$ac_useropt"
1048 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1049 ac_unrecognized_sep
=', ';;
1051 eval enable_
$ac_useropt=no
;;
1053 -docdir |
--docdir |
--docdi |
--doc |
--do)
1055 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1056 docdir
=$ac_optarg ;;
1058 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1060 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1061 dvidir
=$ac_optarg ;;
1063 -enable-* |
--enable-*)
1064 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1067 as_fn_error $?
"invalid feature name: $ac_useropt"
1068 ac_useropt_orig
=$ac_useropt
1069 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1072 "enable_
$ac_useropt"
1074 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1075 ac_unrecognized_sep
=', ';;
1077 eval enable_
$ac_useropt=\
$ac_optarg ;;
1079 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1080 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1081 |
--exec |
--exe |
--ex)
1082 ac_prev
=exec_prefix
;;
1083 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1084 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1085 |
--exec=* |
--exe=* |
--ex=*)
1086 exec_prefix
=$ac_optarg ;;
1088 -gas |
--gas |
--ga |
--g)
1089 # Obsolete; use --with-gas.
1092 -help |
--help |
--hel |
--he |
-h)
1093 ac_init_help
=long
;;
1094 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1095 ac_init_help
=recursive
;;
1096 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1097 ac_init_help
=short
;;
1099 -host |
--host |
--hos |
--ho)
1100 ac_prev
=host_alias
;;
1101 -host=* |
--host=* |
--hos=* |
--ho=*)
1102 host_alias
=$ac_optarg ;;
1104 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1106 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1108 htmldir
=$ac_optarg ;;
1110 -includedir |
--includedir |
--includedi |
--included |
--include \
1111 |
--includ |
--inclu |
--incl |
--inc)
1112 ac_prev
=includedir
;;
1113 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1114 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1115 includedir
=$ac_optarg ;;
1117 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1119 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1120 infodir
=$ac_optarg ;;
1122 -libdir |
--libdir |
--libdi |
--libd)
1124 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1125 libdir
=$ac_optarg ;;
1127 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1128 |
--libexe |
--libex |
--libe)
1129 ac_prev
=libexecdir
;;
1130 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1131 |
--libexe=* |
--libex=* |
--libe=*)
1132 libexecdir
=$ac_optarg ;;
1134 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1135 ac_prev
=localedir
;;
1136 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1137 localedir
=$ac_optarg ;;
1139 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1140 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1141 ac_prev
=localstatedir
;;
1142 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1143 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1144 localstatedir
=$ac_optarg ;;
1146 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1148 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1149 mandir
=$ac_optarg ;;
1151 -nfp |
--nfp |
--nf)
1152 # Obsolete; use --without-fp.
1155 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1156 |
--no-cr |
--no-c |
-n)
1159 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1160 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1163 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1164 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1165 |
--oldin |
--oldi |
--old |
--ol |
--o)
1166 ac_prev
=oldincludedir
;;
1167 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1168 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1169 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1170 oldincludedir
=$ac_optarg ;;
1172 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1174 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1175 prefix
=$ac_optarg ;;
1177 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1178 |
--program-pre |
--program-pr |
--program-p)
1179 ac_prev
=program_prefix
;;
1180 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1181 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1182 program_prefix
=$ac_optarg ;;
1184 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1185 |
--program-suf |
--program-su |
--program-s)
1186 ac_prev
=program_suffix
;;
1187 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1188 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1189 program_suffix
=$ac_optarg ;;
1191 -program-transform-name |
--program-transform-name \
1192 |
--program-transform-nam |
--program-transform-na \
1193 |
--program-transform-n |
--program-transform- \
1194 |
--program-transform |
--program-transfor \
1195 |
--program-transfo |
--program-transf \
1196 |
--program-trans |
--program-tran \
1197 |
--progr-tra |
--program-tr |
--program-t)
1198 ac_prev
=program_transform_name
;;
1199 -program-transform-name=* |
--program-transform-name=* \
1200 |
--program-transform-nam=* |
--program-transform-na=* \
1201 |
--program-transform-n=* |
--program-transform-=* \
1202 |
--program-transform=* |
--program-transfor=* \
1203 |
--program-transfo=* |
--program-transf=* \
1204 |
--program-trans=* |
--program-tran=* \
1205 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1206 program_transform_name
=$ac_optarg ;;
1208 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1210 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1211 pdfdir
=$ac_optarg ;;
1213 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1215 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1218 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1219 |
-silent |
--silent |
--silen |
--sile |
--sil)
1222 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1224 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1226 sbindir
=$ac_optarg ;;
1228 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1229 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1230 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1232 ac_prev
=sharedstatedir
;;
1233 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1234 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1235 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1237 sharedstatedir
=$ac_optarg ;;
1239 -site |
--site |
--sit)
1241 -site=* |
--site=* |
--sit=*)
1244 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1246 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1247 srcdir
=$ac_optarg ;;
1249 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1250 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1251 ac_prev
=sysconfdir
;;
1252 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1253 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1254 sysconfdir
=$ac_optarg ;;
1256 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1257 ac_prev
=target_alias
;;
1258 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1259 target_alias
=$ac_optarg ;;
1261 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1264 -version |
--version |
--versio |
--versi |
--vers |
-V)
1265 ac_init_version
=: ;;
1268 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1271 as_fn_error $?
"invalid package name: $ac_useropt"
1272 ac_useropt_orig
=$ac_useropt
1273 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274 case $ac_user_opts in
1278 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1279 ac_unrecognized_sep
=', ';;
1281 eval with_
$ac_useropt=\
$ac_optarg ;;
1283 -without-* |
--without-*)
1284 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1285 # Reject names that are not valid shell variable names.
1286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1287 as_fn_error $?
"invalid package name: $ac_useropt"
1288 ac_useropt_orig
=$ac_useropt
1289 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1290 case $ac_user_opts in
1294 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1295 ac_unrecognized_sep
=', ';;
1297 eval with_
$ac_useropt=no
;;
1300 # Obsolete; use --with-x.
1303 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1304 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1305 ac_prev
=x_includes
;;
1306 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1307 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1308 x_includes
=$ac_optarg ;;
1310 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1311 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1312 ac_prev
=x_libraries
;;
1313 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1314 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1315 x_libraries
=$ac_optarg ;;
1317 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1318 Try \`$0 --help' for more information"
1322 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1323 # Reject names that are not valid shell variable names.
1324 case $ac_envvar in #(
1325 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1326 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1328 eval $ac_envvar=\
$ac_optarg
1329 export $ac_envvar ;;
1332 # FIXME: should be removed in autoconf 3.0.
1333 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1334 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1335 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1336 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1342 if test -n "$ac_prev"; then
1343 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1344 as_fn_error $?
"missing argument to $ac_option"
1347 if test -n "$ac_unrecognized_opts"; then
1348 case $enable_option_checking in
1350 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1351 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1355 # Check all directory arguments for consistency.
1356 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1357 datadir sysconfdir sharedstatedir localstatedir includedir \
1358 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1359 libdir localedir mandir
1361 eval ac_val
=\$
$ac_var
1362 # Remove trailing slashes.
1365 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1366 eval $ac_var=\
$ac_val;;
1368 # Be sure to have absolute directory names.
1370 [\\/$
]* | ?
:[\\/]* ) continue;;
1371 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1373 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1376 # There might be people who depend on the old broken behavior: `$host'
1377 # used to hold the argument of --host etc.
1378 # FIXME: To remove some day.
1381 target
=$target_alias
1383 # FIXME: To remove some day.
1384 if test "x$host_alias" != x
; then
1385 if test "x$build_alias" = x
; then
1386 cross_compiling
=maybe
1387 elif test "x$build_alias" != "x$host_alias"; then
1393 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1395 test "$silent" = yes && exec 6>/dev
/null
1398 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1399 ac_ls_di
=`ls -di .` &&
1400 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1401 as_fn_error $?
"working directory cannot be determined"
1402 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1403 as_fn_error $?
"pwd does not report name of working directory"
1406 # Find the source files, if location was not specified.
1407 if test -z "$srcdir"; then
1408 ac_srcdir_defaulted
=yes
1409 # Try the directory containing this script, then the parent directory.
1410 ac_confdir
=`$as_dirname -- "$as_myself" ||
1411 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1412 X"$as_myself" : 'X\(//\)[^/]' \| \
1413 X"$as_myself" : 'X\(//\)$' \| \
1414 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1415 $as_echo X"$as_myself" |
1416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1434 if test ! -r "$srcdir/$ac_unique_file"; then
1438 ac_srcdir_defaulted
=no
1440 if test ! -r "$srcdir/$ac_unique_file"; then
1441 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1442 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1444 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1446 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1448 # When building in place, set srcdir=.
1449 if test "$ac_abs_confdir" = "$ac_pwd"; then
1452 # Remove unnecessary trailing slashes from srcdir.
1453 # Double slashes in file names in object file debugging info
1454 # mess up M-x gdb in Emacs.
1456 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458 for ac_var
in $ac_precious_vars; do
1459 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1460 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1461 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1462 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1466 # Report the --help message.
1468 if test "$ac_init_help" = "long"; then
1469 # Omit some internal or obsolete options to make the list less imposing.
1470 # This message is too long to be a string in the A/UX 3.1 sh.
1472 \`configure' configures alpine 2.21.1 to adapt to many kinds of systems.
1474 Usage: $0 [OPTION]... [VAR=VALUE]...
1476 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477 VAR=VALUE. See below for descriptions of some of the useful variables.
1479 Defaults for the options are specified in brackets.
1482 -h, --help display this help and exit
1483 --help=short display options specific to this package
1484 --help=recursive display the short help of all the included packages
1485 -V, --version display version information and exit
1486 -q, --quiet, --silent do not print \`checking ...' messages
1487 --cache-file=FILE cache test results in FILE [disabled]
1488 -C, --config-cache alias for \`--cache-file=config.cache'
1489 -n, --no-create do not create output files
1490 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492 Installation directories:
1493 --prefix=PREFIX install architecture-independent files in PREFIX
1494 [$ac_default_prefix]
1495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498 By default, \`make install' will install all the files in
1499 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501 for instance \`--prefix=\$HOME'.
1503 For better control, use the options below.
1505 Fine tuning of the installation directories:
1506 --bindir=DIR user executables [EPREFIX/bin]
1507 --sbindir=DIR system admin executables [EPREFIX/sbin]
1508 --libexecdir=DIR program executables [EPREFIX/libexec]
1509 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512 --libdir=DIR object code libraries [EPREFIX/lib]
1513 --includedir=DIR C header files [PREFIX/include]
1514 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1515 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517 --infodir=DIR info documentation [DATAROOTDIR/info]
1518 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519 --mandir=DIR man documentation [DATAROOTDIR/man]
1520 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1521 --htmldir=DIR html documentation [DOCDIR]
1522 --dvidir=DIR dvi documentation [DOCDIR]
1523 --pdfdir=DIR pdf documentation [DOCDIR]
1524 --psdir=DIR ps documentation [DOCDIR]
1530 --program-prefix=PREFIX prepend PREFIX to installed program names
1531 --program-suffix=SUFFIX append SUFFIX to installed program names
1532 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1535 --build=BUILD configure
for building on BUILD
[guessed
]
1536 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1540 if test -n "$ac_init_help"; then
1541 case $ac_init_help in
1542 short | recursive
) echo "Configuration of alpine 2.21.1:";;
1547 --disable-option-checking ignore unrecognized
--enable/--with options
1548 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1549 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1550 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1551 --disable-silent-rules verbose build output
(undo
: "make V=0")
1552 --enable-maintainer-mode
1553 enable make rules and dependencies not useful
(and
1554 sometimes confusing
) to the casual installer
1555 --enable-dependency-tracking
1556 do not reject slow dependency extractors
1557 --disable-dependency-tracking
1558 speeds up one-time build
1559 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1560 --enable-static[=PKGS
] build static libraries
[default
=yes]
1561 --enable-fast-install[=PKGS
]
1562 optimize
for fast installation
[default
=yes]
1563 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1564 --disable-nls do not use Native Language Support
1565 --disable-rpath do not hardcode runtime library paths
1566 --enable-dmalloc Enable dmalloc debugging
1567 --enable-osx-universal-binaries
1568 Produce universal binaries under OS X
[[default
=no
]]
1569 --disable-debug Exclude debug messages from
source
1570 --disable-optimization Exclude optimizing compiler flags
1571 --disable-mouse Disable mouse support
1572 --enable-quotas Enable disk quota checking on startup
1573 --disable-from-changing Disallow users changing From addresss
1574 --disable-background-post
1575 Disable background posting
1576 --disable-keyboard-lock Disable keyboard locking
1577 --enable-from-encoding Enable From encoding
in sent messages
1580 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1581 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1582 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1584 --with-aix-soname=aix|svr4|both
1585 shared library versioning
(aka
"SONAME") variant to
1586 provide on AIX
, [default
=aix
].
1587 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1588 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1589 compiler
's sysroot if not specified).
1590 --with-gnu-ld assume the C compiler uses GNU ld default=no
1591 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1592 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1593 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1594 --without-libintl-prefix don
't search for libintl in includedir and libdir
1595 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1596 --with-ps-cmd="CMD" Use this command to check running commands. Default:
1598 --with-localedir=DIR Name of gettext locale directory
1599 --with-include-path=PATHS
1600 Colon-separated list of directories used for include
1602 --with-lib-path=PATHS Colon-separated list of directories used for library
1604 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1605 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1606 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1607 --with-smtp-msa-flags=FLAGS
1608 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1609 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1610 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1611 --with-password-prog=PATH
1612 Password change program (/bin/passwd)
1613 --with-simple-spellcheck=PROG
1614 Spellcheck program reads stdin, emits misspellings
1616 --with-interactive-spellcheck=PROG
1617 Interactive, filewise spell checker
1618 --with-system-pinerc=VALUE
1619 System pinerc (/usr/local/lib/pine.conf)
1620 --with-system-fixed-pinerc=VALUE
1621 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1622 --with-local-support-info=VALUE
1623 Local Support Info File (/usr/local/lib/pine.info)
1624 --with-mailcheck-interval=VALUE
1625 Specify default mail-check-interval (150)
1626 --with-checkpoint-interval=VALUE
1627 Specify default checkpoint-interval (420)
1628 --with-checkpoint-frequency=VALUE
1629 State change count before checkpoint (12)
1630 --with-display-rows=VALUE
1631 Initial rows on display (24)
1632 --with-display-columns=VALUE
1633 Initial columns on display (80)
1634 --with-max-display-rows=VALUE
1635 Maximum display rows (200)
1636 --with-max-display-columns=VALUE
1637 Maximum display columns (500)
1638 --with-fill-column=VALUE
1639 Default fill column (74)
1640 --with-max_fill-column=VALUE
1641 Maximum fill column (80)
1642 --with-debug-level=VALUE
1643 Specify default debug verbosity level (2)
1644 --with-debug-files=VALUE
1645 Specify number of debug files (4)
1646 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1647 --with-forwarded-keyword=VALUE
1648 IMAP (c-client) keyword to store forwarded status
1650 --with-display-overlap=VALUE
1651 Lines preserved while paging (2)
1652 --with-display-margin=VALUE
1653 Lines visible while scrolling (0)
1654 --with-default-fcc=VALUE
1655 Default sent mail folder (sent-mail)
1656 --with-default-save-folder=VALUE
1657 Default save folder (saved-messages)
1658 --with-default-legacy-postponed-folder=VALUE
1659 Pre Pine 3.90 postponed folder (postponed-mail)
1660 --with-default-postponed-folder=VALUE
1661 Default postponed folder (postponed-msgs)
1662 --with-default-trash-folder=VALUE
1663 Default Trash folder for Web Alpine (Trash)
1664 --with-default-interrupted-mail=VALUE
1665 Default folder for interrupted mail
1666 (.pine-interrupted-mail)
1667 --with-default-dead-letter-folder=VALUE
1668 Default dead letter folder (dead.letter)
1669 --with-default-mail-directory=VALUE
1670 Default mail directory (mail)
1671 --with-default-inbox-name=VALUE
1672 Default inbox name (INBOX)
1673 --with-default-signature-file=VALUE
1674 Default signature file (.signature)
1675 --with-default-elm-style-save=VALUE
1676 Default to Elm style save (no)
1677 --with-default-header-in-reply=VALUE
1678 Include header in reply (no)
1679 --with-default-old-style-reply=VALUE
1680 Default to old style reply (no)
1681 --with-default-use-only-domain-name=VALUE
1682 Default to using only the domain name (no)
1683 --with-default-save-by-sender=VALUE
1684 Default to save by sender (no)
1685 --with-default-sort-key=VALUE
1686 Default sort key (arrival)
1687 --with-default-addressbook-sort-rule=VALUE
1688 Default addressbook sort rule
1689 (fullname-with-lists-last)
1690 --with-default-folder-sort-rule=VALUE
1691 Default folder sort rule (alphabetical)
1692 --with-default-saved-message-name-rule=VALUE
1693 Default saved message name rule (default-folder)
1694 --with-default-fcc-rule=VALUE
1695 Default fcc rule (default-fcc)
1696 --with-default-standard-printer=VALUE
1697 Default standard printern (lpr)
1698 --with-default-ansi-printer=VALUE
1699 ANSI printer definition (attached-to-ansi)
1700 --with-default-addressbook=VALUE
1701 Default addressbook name (.addressbook)
1702 --with-default-local-fullname=VALUE
1703 Default local support fullname ("Local Support")
1704 --with-default-local-address=VALUE
1705 Default local support address (postmaster)
1706 --with-default-keyboard-lock-count=VALUE
1707 Default keyboard lock count (1)
1708 --with-default-remote-addressbook-history=VALUE
1709 Default address book history count (3)
1710 --with-smime-public-cert-directory=VALUE
1711 Default Public Cert Directory (.alpine-smime/public)
1712 --with-smime-private-key-directory=VALUE
1713 Default Private Key Directory
1714 (.alpine-smime/private)
1715 --with-smime-cacert-directory=VALUE
1716 Default Cert Authority Directory (.alpine-smime/ca)
1717 --with-default-printer=VALUE
1718 Default printer (ANSI_PRINTER)
1719 --with-passfile=FILENAME
1720 Password cache file (recommended when S/MIME is
1721 enabled and configured)
1722 --without-local-password-cache
1723 Disable OS-specific password cache, if supported
1724 --with-local-password-cache-method
1725 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1727 --with-default-sshpath=FILENAME
1728 set default value of ssh command path (defining
1729 should cause ssh to be preferred to rsh)
1730 --with-default-sshcmd=PERCENT_S_STRING
1731 set default value of ssh command string (usually "%s
1732 %s -l %s exec /etc/r%sd")
1733 --without-ssl Disable SSL support (OpenSSL)
1734 --with-ssl-dir=DIR Root of SSL lib/include path
1735 --with-ssl-certs-dir=DIR
1736 Path to SSL certificate directory
1737 --with-ssl-include-dir=DIR
1738 SSL include file path
1739 --with-ssl-lib-dir=DIR SSL library path
1740 --without-krb5 Disable Kerberos support
1741 --with-krb5-dir=DIR Root of Kerberos lib/include path
1742 --with-krb5-include-dir=DIR
1743 Kerberos include file path
1744 --with-krb5-lib-dir=DIR Kerberos library path
1745 --without-ldap Disable LDAP query support
1746 --with-ldap-dir=DIR Root of LDAP lib/include path
1747 --with-ldap-include-dir=DIR
1748 Directory containing LDAP include files
1749 --with-ldap-lib-dir=DIR LDAP library path
1750 --without-smime Disable S/MIME
1751 --without-tcl Disable TCL, thus Web Alpine support
1752 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1753 --with-tcl-include=DIR Directory containing TCL include files
1754 --with-supplied-regex Use regex library supplied with alpine
1755 --without-pthread Do NOT test for nor build with POSIX thread support
1756 --with-system-mail-directory=DIR
1757 Directory where local mail is delivered
1758 --with-c-client-target=TARGET
1759 IMAP build target (see imap/Makefile)
1760 --without-ipv6 Disable IPv6, primarily to work around resolver
1763 Some influential environment variables:
1764 CC C compiler command
1765 CFLAGS C compiler flags
1766 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1767 nonstandard directory <lib dir>
1768 LIBS libraries to pass to the linker, e.g. -l<library>
1769 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1770 you have headers in a nonstandard directory <include dir>
1772 User-defined run-time library search path.
1775 Use these variables to override the choices made by `configure' or to
help
1776 it to
find libraries and programs with nonstandard names
/locations.
1778 Report bugs to
<chappa@washington.edu
>.
1783 if test "$ac_init_help" = "recursive"; then
1784 # If there are subdirs, report their specific --help.
1785 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1786 test -d "$ac_dir" ||
1787 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1792 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1794 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1795 # A ".." for each directory in $ac_dir_suffix.
1796 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1797 case $ac_top_builddir_sub in
1798 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1799 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1802 ac_abs_top_builddir
=$ac_pwd
1803 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1804 # for backward compatibility:
1805 ac_top_builddir
=$ac_top_build_prefix
1808 .
) # We are building in place.
1810 ac_top_srcdir
=$ac_top_builddir_sub
1811 ac_abs_top_srcdir
=$ac_pwd ;;
1812 [\\/]* | ?
:[\\/]* ) # Absolute name.
1813 ac_srcdir
=$srcdir$ac_dir_suffix;
1814 ac_top_srcdir
=$srcdir
1815 ac_abs_top_srcdir
=$srcdir ;;
1817 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1818 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1819 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1821 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1823 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1824 # Check for guested configure.
1825 if test -f "$ac_srcdir/configure.gnu"; then
1827 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1828 elif test -f "$ac_srcdir/configure"; then
1830 $SHELL "$ac_srcdir/configure" --help=recursive
1832 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1834 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1838 test -n "$ac_init_help" && exit $ac_status
1839 if $ac_init_version; then
1841 alpine configure
2.21.1
1842 generated by GNU Autoconf
2.69
1844 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1845 This configure
script is free software
; the Free Software Foundation
1846 gives unlimited permission to copy
, distribute and modify it.
1851 ## ------------------------ ##
1852 ## Autoconf initialization. ##
1853 ## ------------------------ ##
1855 # ac_fn_c_try_compile LINENO
1856 # --------------------------
1857 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1858 ac_fn_c_try_compile
()
1860 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1861 rm -f conftest.
$ac_objext
1862 if { { ac_try
="$ac_compile"
1864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_compile") 2>conftest.err
1871 if test -s conftest.err; then
1872 grep -v '^ *+' conftest.err >conftest.er1
1873 cat conftest.er1 >&5
1874 mv -f conftest.er1 conftest.err
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && {
1878 test -z "$ac_c_werror_flag" ||
1879 test ! -s conftest.err
1880 } && test -s conftest.$ac_objext; then :
1883 $as_echo "$as_me: failed program was:" >&5
1884 sed 's/^/| /' conftest.$ac_ext >&5
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1889 as_fn_set_status $ac_retval
1891 } # ac_fn_c_try_compile
1893 # ac_fn_c_try_link LINENO
1894 # -----------------------
1895 # Try to link conftest.$ac_ext, and return whether this succeeded.
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 rm -f conftest.$ac_objext conftest$ac_exeext
1900 if { { ac_try="$ac_link"
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_link") 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_exeext && {
1919 test "$cross_compiling" = yes ||
1920 test -x conftest
$ac_exeext
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.
$ac_ext >&5
1929 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1930 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1931 # interfere with the next link command; also delete a directory that is
1932 # left behind by Apple's compiler. We do this before executing the actions.
1933 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 as_fn_set_status
$ac_retval
1937 } # ac_fn_c_try_link
1939 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1940 # -------------------------------------------------------
1941 # Tests whether HEADER exists and can be compiled using the include files in
1942 # INCLUDES, setting the cache variable VAR accordingly.
1943 ac_fn_c_check_header_compile
()
1945 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if eval \
${$3+:} false
; then :
1949 $as_echo_n "(cached) " >&6
1951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1956 if ac_fn_c_try_compile
"$LINENO"; then :
1961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 } # ac_fn_c_check_header_compile
1970 # ac_fn_c_try_cpp LINENO
1971 # ----------------------
1972 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1975 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1976 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1985 if test -s conftest.err; then
1986 grep -v '^ *+' conftest.err >conftest.er1
1987 cat conftest.er1 >&5
1988 mv -f conftest.er1 conftest.err
1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991 test $ac_status = 0; } > conftest.i && {
1992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1993 test ! -s conftest.err
1997 $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 as_fn_set_status $ac_retval
2007 # ac_fn_c_try_run LINENO
2008 # ----------------------
2009 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2010 # that executables *can* be run.
2013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2014 if { { ac_try="$ac_link"
2016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2017 *) ac_try_echo
=$ac_try;;
2019 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2020 $as_echo "$ac_try_echo"; } >&5
2021 (eval "$ac_link") 2>&5
2023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2024 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2025 { { case "(($ac_try" in
2026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2027 *) ac_try_echo=$ac_try;;
2029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2030 $as_echo "$ac_try_echo"; } >&5
2031 (eval "$ac_try") 2>&5
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; }; }; then :
2037 $as_echo "$as_me: program exited with status $ac_status" >&5
2038 $as_echo "$as_me: failed program was:" >&5
2039 sed 's/^/| /' conftest.$ac_ext >&5
2041 ac_retval=$ac_status
2043 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045 as_fn_set_status $ac_retval
2049 # ac_fn_c_check_func LINENO FUNC VAR
2050 # ----------------------------------
2051 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2052 ac_fn_c_check_func ()
2054 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval \${$3+:} false; then :
2058 $as_echo_n "(cached) " >&6
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2062 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2064 #define $2 innocuous_$2
2066 /* System header to define __stub macros and hopefully few prototypes,
2067 which can conflict with char $2 (); below.
2068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2069 <limits.h> exists even on freestanding compilers. */
2072 # include <limits.h>
2074 # include <assert.h>
2079 /* Override any GCC internal prototype to avoid an error.
2080 Use char because int might match the return type of a GCC
2081 builtin and then its argument prototype would still apply. */
2086 /* The GNU C library defines this for functions which it implements
2087 to always fail with ENOSYS. Some functions are actually named
2088 something starting with __ and the normal name is an alias. */
2089 #if defined __stub_$2 || defined __stub___$2
2101 if ac_fn_c_try_link "$LINENO"; then :
2106 rm -f core conftest.err conftest.$ac_objext \
2107 conftest$ac_exeext conftest.$ac_ext
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114 } # ac_fn_c_check_func
2116 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2117 # -------------------------------------------------------
2118 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2119 # the include files in INCLUDES and setting the cache variable VAR
2121 ac_fn_c_check_header_mongrel ()
2123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2124 if eval \${$3+:} false; then :
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2126 $as_echo_n "checking for $2... " >&6; }
2127 if eval \${$3+:} false; then :
2128 $as_echo_n "(cached) " >&6
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2134 # Is the header compilable?
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2136 $as_echo_n "checking $2 usability... " >&6; }
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2142 if ac_fn_c_try_compile "$LINENO"; then :
2143 ac_header_compiler=yes
2145 ac_header_compiler=no
2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2149 $as_echo "$ac_header_compiler" >&6; }
2151 # Is the header present?
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2153 $as_echo_n "checking $2 presence... " >&6; }
2154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2155 /* end confdefs.h. */
2158 if ac_fn_c_try_cpp "$LINENO"; then :
2159 ac_header_preproc=yes
2161 ac_header_preproc=no
2163 rm -f conftest.err conftest.i conftest.$ac_ext
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2165 $as_echo "$ac_header_preproc" >&6; }
2167 # So? What about this header?
2168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2171 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2173 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2177 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2179 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2181 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2183 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2185 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2186 ( $as_echo "## ------------------------------------ ##
2187 ## Report this to chappa@washington.edu ##
2188 ## ------------------------------------ ##"
2189 ) | sed "s/^/$as_me: WARNING: /" >&2
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if eval \${$3+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 eval "$3=\$ac_header_compiler"
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2201 $as_echo "$ac_res" >&6; }
2203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2205 } # ac_fn_c_check_header_mongrel
2207 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2208 # -------------------------------------------
2209 # Tests whether TYPE exists after having included INCLUDES, setting cache
2210 # variable VAR accordingly.
2211 ac_fn_c_check_type ()
2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2215 $as_echo_n "checking for $2... " >&6; }
2216 if eval \${$3+:} false; then :
2217 $as_echo_n "(cached) " >&6
2220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2221 /* end confdefs.h. */
2232 if ac_fn_c_try_compile "$LINENO"; then :
2233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2234 /* end confdefs.h. */
2245 if ac_fn_c_try_compile "$LINENO"; then :
2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2259 } # ac_fn_c_check_type
2261 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2262 # --------------------------------------------
2263 # Tries to find the compile-time value of EXPR in a program that includes
2264 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2266 ac_fn_c_compute_int ()
2268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2269 if test "$cross_compiling" = yes; then
2270 # Depending upon the size, compute the lo and hi bounds.
2271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2277 static int test_array [1 - 2 * !(($2) >= 0)];
2279 return test_array [0];
2285 if ac_fn_c_try_compile "$LINENO"; then :
2288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289 /* end confdefs.h. */
2294 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2296 return test_array [0];
2302 if ac_fn_c_try_compile "$LINENO"; then :
2303 ac_hi=$ac_mid; break
2305 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2306 if test $ac_lo -le $ac_mid; then
2310 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2316 /* end confdefs.h. */
2321 static int test_array [1 - 2 * !(($2) < 0)];
2323 return test_array [0];
2329 if ac_fn_c_try_compile "$LINENO"; then :
2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2333 /* end confdefs.h. */
2338 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2340 return test_array [0];
2346 if ac_fn_c_try_compile "$LINENO"; then :
2347 ac_lo=$ac_mid; break
2349 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2350 if test $ac_mid -le $ac_hi; then
2354 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 # Binary search between lo and hi bounds.
2365 while test "x$ac_lo" != "x$ac_hi"; do
2366 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2373 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2375 return test_array [0];
2381 if ac_fn_c_try_compile "$LINENO"; then :
2384 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2389 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394 /* end confdefs.h. */
2396 static long int longval () { return $2; }
2397 static unsigned long int ulongval () { return $2; }
2404 FILE *f = fopen ("conftest.val", "w");
2409 long int i = longval ();
2412 fprintf (f, "%ld", i);
2416 unsigned long int i = ulongval ();
2419 fprintf (f, "%lu", i);
2421 /* Do not output a trailing newline, as this causes \r\n confusion
2422 on some platforms. */
2423 return ferror (f) || fclose (f) != 0;
2429 if ac_fn_c_try_run "$LINENO"; then :
2430 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2435 conftest.$ac_objext conftest.beam conftest.$ac_ext
2439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2440 as_fn_set_status $ac_retval
2442 } # ac_fn_c_compute_int
2443 cat >config.log <<_ACEOF
2444 This file contains any messages produced by compilers while
2445 running configure, to aid debugging if configure makes a mistake.
2447 It was created by alpine $as_me 2.21.1, which was
2448 generated by GNU Autoconf 2.69. Invocation command line was
2460 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2461 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2462 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2463 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2464 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2466 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2467 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2469 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2470 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2471 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2472 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2473 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2474 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2475 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir=.
2484 $as_echo "PATH: $as_dir"
2500 # Keep a trace of the command line.
2501 # Strip out --no-create and --no-recursion so they do not pile up.
2502 # Strip out --silent because we don't want to record it for future runs.
2503 # Also quote any args containing shell meta-characters.
2504 # Make two passes to allow for proper duplicate-argument suppression.
2508 ac_must_keep_next=false
2514 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2515 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2516 | -silent | --silent | --silen | --sile | --sil)
2519 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2522 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2524 as_fn_append ac_configure_args1 " '$ac_arg'"
2525 if test $ac_must_keep_next = true; then
2526 ac_must_keep_next=false # Got value, back to normal.
2529 *=* | --config-cache | -C | -disable-* | --disable-* \
2530 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2531 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2532 | -with-* | --with-* | -without-* | --without-* | --x)
2533 case "$ac_configure_args0 " in
2534 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2537 -* ) ac_must_keep_next=true ;;
2540 as_fn_append ac_configure_args " '$ac_arg'"
2545 { ac_configure_args0=; unset ac_configure_args0;}
2546 { ac_configure_args1=; unset ac_configure_args1;}
2548 # When interrupted or exit'd, cleanup temporary files, and complete
2549 # config.log. We remove comments because anyway the quotes in there
2550 # would cause problems or look ugly.
2551 # WARNING: Use '\'' to represent an apostrophe within the trap.
2552 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2553 trap 'exit_status=$?
2554 # Save into config.log some information that might help in debugging.
2558 $as_echo "## ---------------- ##
2559 ## Cache variables. ##
2560 ## ---------------- ##"
2562 # The following way of writing the cache mishandles newlines in values,
2564 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2565 eval ac_val=\$$ac_var
2569 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2570 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2573 _ | IFS | as_nl) ;; #(
2574 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2575 *) { eval $ac_var=; unset $ac_var;} ;;
2580 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2581 *${as_nl}ac_space=\ *)
2583 "s/'\''/'\''\\\\'\'''\''/g;
2584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2594 $as_echo "## ----------------- ##
2595 ## Output variables. ##
2596 ## ----------------- ##"
2598 for ac_var in $ac_subst_vars
2600 eval ac_val=\$$ac_var
2602 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2604 $as_echo "$ac_var='\''$ac_val'\''"
2608 if test -n "$ac_subst_files"; then
2609 $as_echo "## ------------------- ##
2610 ## File substitutions. ##
2611 ## ------------------- ##"
2613 for ac_var in $ac_subst_files
2615 eval ac_val=\$$ac_var
2617 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2619 $as_echo "$ac_var='\''$ac_val'\''"
2624 if test -s confdefs.h; then
2625 $as_echo "## ----------- ##
2632 test "$ac_signal" != 0 &&
2633 $as_echo "$as_me: caught signal $ac_signal"
2634 $as_echo "$as_me: exit $exit_status"
2636 rm -f core *.core core.conftest.* &&
2637 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2640 for ac_signal in 1 2 13 15; do
2641 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2645 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2646 rm -f -r conftest* confdefs.h
2648 $as_echo "/* confdefs.h */" > confdefs.h
2650 # Predefined preprocessor variables.
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_NAME "$PACKAGE_NAME"
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_STRING "$PACKAGE_STRING"
2668 cat >>confdefs.h <<_ACEOF
2669 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2672 cat >>confdefs.h <<_ACEOF
2673 #define PACKAGE_URL "$PACKAGE_URL"
2677 # Let the site file select an alternate cache file if it wants to.
2678 # Prefer an explicitly selected file to automatically selected ones.
2681 if test -n "$CONFIG_SITE"; then
2682 # We do not want a PATH search for config.site.
2683 case $CONFIG_SITE in #((
2684 -*) ac_site_file1=./$CONFIG_SITE;;
2685 */*) ac_site_file1=$CONFIG_SITE;;
2686 *) ac_site_file1=./$CONFIG_SITE;;
2688 elif test "x$prefix" != xNONE; then
2689 ac_site_file1=$prefix/share/config.site
2690 ac_site_file2=$prefix/etc/config.site
2692 ac_site_file1=$ac_default_prefix/share/config.site
2693 ac_site_file2=$ac_default_prefix/etc/config.site
2695 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2697 test "x$ac_site_file" = xNONE && continue
2698 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2700 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2701 sed 's/^/| /' "$ac_site_file" >&5
2703 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2705 as_fn_error $? "failed to load site
script $ac_site_file
2706 See \
`config.log' for more details" "$LINENO" 5; }
2710 if test -r "$cache_file"; then
2711 # Some versions of bash will fail to source /dev/null (special files
2712 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2713 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2715 $as_echo "$as_me: loading cache $cache_file" >&6;}
2717 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2718 *) . "./$cache_file";;
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2723 $as_echo "$as_me: creating cache $cache_file" >&6;}
2727 gt_needs="$gt_needs "
2728 # Check that the precious variables saved in the cache have kept the same
2730 ac_cache_corrupted=false
2731 for ac_var in $ac_precious_vars; do
2732 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2733 eval ac_new_set=\$ac_env_${ac_var}_set
2734 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2735 eval ac_new_val=\$ac_env_${ac_var}_value
2736 case $ac_old_set,$ac_new_set in
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2739 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2740 ac_cache_corrupted=: ;;
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2743 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2744 ac_cache_corrupted=: ;;
2747 if test "x$ac_old_val" != "x$ac_new_val"; then
2748 # differences in whitespace do not lead to failure.
2749 ac_old_val_w=`echo x
$ac_old_val`
2750 ac_new_val_w=`echo x
$ac_new_val`
2751 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2753 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2754 ac_cache_corrupted=:
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2757 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2758 eval $ac_var=\$ac_old_val
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2761 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2763 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2766 # Pass precious variables to config.status.
2767 if test "$ac_new_set" = set; then
2769 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2770 *) ac_arg=$ac_var=$ac_new_val ;;
2772 case " $ac_configure_args " in
2773 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2774 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2778 if $ac_cache_corrupted; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2782 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2783 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2785 ## -------------------- ##
2786 ## Main body of script. ##
2787 ## -------------------- ##
2790 ac_cpp='$CPP $CPPFLAGS'
2791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2798 ac_config_headers="$ac_config_headers include/config.h"
2801 am__api_version='1.15'
2804 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2805 if test -f "$ac_dir/install-sh"; then
2807 ac_install_sh="$ac_aux_dir/install-sh -c"
2809 elif test -f "$ac_dir/install.sh"; then
2811 ac_install_sh="$ac_aux_dir/install.sh -c"
2813 elif test -f "$ac_dir/shtool"; then
2815 ac_install_sh="$ac_aux_dir/shtool install -c"
2819 if test -z "$ac_aux_dir"; then
2820 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2823 # These three variables are undocumented and unsupported,
2824 # and are intended to be withdrawn in a future Autoconf release.
2825 # They can cause serious problems if a builder's source tree is in a directory
2826 # whose full name contains unusual characters.
2827 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2828 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2829 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2832 # Find a good install program. We prefer a C program (faster),
2833 # so one script is as good as another. But avoid the broken or
2834 # incompatible versions:
2835 # SysV /etc/install, /usr/sbin/install
2836 # SunOS /usr/etc/install
2837 # IRIX /sbin/install
2839 # AmigaOS /C/install, which installs bootblocks on floppy discs
2840 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2841 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2842 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2843 # OS/2's system install, which has a completely different semantic
2844 # ./install, which can be erroneously created by make from ./install.sh.
2845 # Reject install programs that cannot install multiple files.
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2847 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2848 if test -z "$INSTALL"; then
2849 if ${ac_cv_path_install+:} false; then :
2850 $as_echo_n "(cached) " >&6
2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir=.
2857 # Account for people who put trailing slashes in PATH elements.
2858 case $as_dir/ in #((
2859 ./ | .// | /[cC]/* | \
2860 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2861 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2864 # OSF1 and SCO ODT 3.0 have their own names for install.
2865 # Don't use installbsd from OSF since it installs stuff as root
2867 for ac_prog in ginstall scoinst install; do
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2870 if test $ac_prog = install &&
2871 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2872 # AIX install. It has an incompatible calling convention.
2874 elif test $ac_prog = install &&
2875 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2876 # program-specific install script used by HP pwplus--don't use.
2879 rm -rf conftest.one conftest.two conftest.dir
2880 echo one > conftest.one
2881 echo two > conftest.two
2883 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2884 test -s conftest.one && test -s conftest.two &&
2885 test -s conftest.dir/conftest.one &&
2886 test -s conftest.dir/conftest.two
2888 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2901 rm -rf conftest.one conftest.two conftest.dir
2904 if test "${ac_cv_path_install+set}" = set; then
2905 INSTALL=$ac_cv_path_install
2907 # As a last resort, use the slow shell script. Don't cache a
2908 # value for INSTALL within a source directory, because that will
2909 # break other packages using the cache if that directory is
2910 # removed, or if the value is a relative name.
2911 INSTALL=$ac_install_sh
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2915 $as_echo "$INSTALL" >&6; }
2917 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2918 # It thinks the first close brace ends the variable substitution.
2919 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2921 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2923 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2926 $as_echo_n "checking whether build environment is sane... " >&6; }
2927 # Reject unsafe characters in $srcdir or the absolute working directory
2928 # name. Accept space and tab only in the latter.
2932 *[\\\"\#\$\&\'\`$am_lf]*)
2933 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2936 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2937 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2940 # Do 'set' in a subshell so we don't clobber the current shell's
2941 # arguments. Must try -L first in case configure is actually a
2942 # symlink; some systems play weird games with the mod time of symlinks
2943 # (eg FreeBSD returns the mod time of the symlink's containing
2947 for am_try
in 1 2; do
2948 echo "timestamp, slept: $am_has_slept" > conftest.
file
2949 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2950 if test "$*" = "X"; then
2952 set X
`ls -t "$srcdir/configure" conftest.file`
2954 if test "$*" != "X $srcdir/configure conftest.file" \
2955 && test "$*" != "X conftest.file $srcdir/configure"; then
2957 # If neither matched, then we have a broken ls. This can happen
2958 # if, for instance, CONFIG_SHELL is bash and it inherits a
2959 # broken ls alias from the environment. This has actually
2960 # happened. Such a system could not be considered "sane".
2961 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2962 alias in your environment" "$LINENO" 5
2964 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2971 test "$2" = conftest.
file
2977 as_fn_error $?
"newly created file is older than distributed files!
2978 Check your system clock" "$LINENO" 5
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2981 $as_echo "yes" >&6; }
2982 # If we didn't sleep, we still need to ensure time stamps of config.status and
2983 # generated files are strictly newer.
2985 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2992 test "$program_prefix" != NONE
&&
2993 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2994 # Use a double $ so make ignores it.
2995 test "$program_suffix" != NONE
&&
2996 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2997 # Double any \ or $.
2998 # By default was `s,x,x', remove it if useless.
2999 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3000 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3002 # Expand $ac_aux_dir to an absolute path.
3003 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3005 if test x
"${MISSING+set}" != xset
; then
3008 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3010 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3013 # Use eval to expand $SHELL
3014 if eval "$MISSING --is-lightweight"; then
3015 am_missing_run
="$MISSING "
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3019 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3022 if test x
"${install_sh+set}" != xset
; then
3025 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3027 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3031 # Installed binaries are usually stripped using 'strip' when the user
3032 # run "make install-strip". However 'strip' might not be the right
3033 # tool to use in cross-compilation environments, therefore Automake
3034 # will honor the 'STRIP' environment variable to overrule this program.
3035 if test "$cross_compiling" != no
; then
3036 if test -n "$ac_tool_prefix"; then
3037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3038 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3040 $as_echo_n "checking for $ac_word... " >&6; }
3041 if ${ac_cv_prog_STRIP+:} false
; then :
3042 $as_echo_n "(cached) " >&6
3044 if test -n "$STRIP"; then
3045 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3051 test -z "$as_dir" && as_dir
=.
3052 for ac_exec_ext
in '' $ac_executable_extensions; do
3053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3054 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 STRIP
=$ac_cv_prog_STRIP
3065 if test -n "$STRIP"; then
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3067 $as_echo "$STRIP" >&6; }
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 $as_echo "no" >&6; }
3075 if test -z "$ac_cv_prog_STRIP"; then
3077 # Extract the first word of "strip", so it can be a program name with args.
3078 set dummy strip
; ac_word
=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3082 $as_echo_n "(cached) " >&6
3084 if test -n "$ac_ct_STRIP"; then
3085 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3091 test -z "$as_dir" && as_dir
=.
3092 for ac_exec_ext
in '' $ac_executable_extensions; do
3093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3094 ac_cv_prog_ac_ct_STRIP
="strip"
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3105 if test -n "$ac_ct_STRIP"; then
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3107 $as_echo "$ac_ct_STRIP" >&6; }
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3113 if test "x$ac_ct_STRIP" = x
; then
3116 case $cross_compiling:$ac_tool_warned in
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3120 ac_tool_warned
=yes ;;
3125 STRIP
="$ac_cv_prog_STRIP"
3129 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3132 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3133 if test -z "$MKDIR_P"; then
3134 if ${ac_cv_path_mkdir+:} false
; then :
3135 $as_echo_n "(cached) " >&6
3137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3138 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3141 test -z "$as_dir" && as_dir
=.
3142 for ac_prog
in mkdir gmkdir
; do
3143 for ac_exec_ext
in '' $ac_executable_extensions; do
3144 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3145 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3146 'mkdir (GNU coreutils) '* | \
3147 'mkdir (coreutils) '* | \
3148 'mkdir (fileutils) '4.1*)
3149 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3159 test -d .
/--version && rmdir .
/--version
3160 if test "${ac_cv_path_mkdir+set}" = set; then
3161 MKDIR_P
="$ac_cv_path_mkdir -p"
3163 # As a last resort, use the slow shell script. Don't cache a
3164 # value for MKDIR_P within a source directory, because that will
3165 # break other packages using the cache if that directory is
3166 # removed, or if the value is a relative name.
3167 MKDIR_P
="$ac_install_sh -d"
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3171 $as_echo "$MKDIR_P" >&6; }
3173 for ac_prog
in gawk mawk nawk
awk
3175 # Extract the first word of "$ac_prog", so it can be a program name with args.
3176 set dummy
$ac_prog; ac_word
=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_AWK+:} false
; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$AWK"; then
3183 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_AWK
="$ac_prog"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3203 if test -n "$AWK"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3205 $as_echo "$AWK" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3212 test -n "$AWK" && break
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3216 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3218 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3219 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3220 $as_echo_n "(cached) " >&6
3222 cat >conftest.
make <<\_ACEOF
3225 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3227 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3228 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3230 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3232 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3236 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3243 SET_MAKE
="MAKE=${MAKE-make}"
3246 rm -rf .tst
2>/dev
/null
3247 mkdir .tst
2>/dev
/null
3248 if test -d .tst
; then
3253 rmdir .tst
2>/dev
/null
3255 # Check whether --enable-silent-rules was given.
3256 if test "${enable_silent_rules+set}" = set; then :
3257 enableval
=$enable_silent_rules;
3260 case $enable_silent_rules in # (((
3261 yes) AM_DEFAULT_VERBOSITY
=0;;
3262 no
) AM_DEFAULT_VERBOSITY
=1;;
3263 *) AM_DEFAULT_VERBOSITY
=1;;
3265 am_make
=${MAKE-make}
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3267 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3268 if ${am_cv_make_support_nested_variables+:} false
; then :
3269 $as_echo_n "(cached) " >&6
3271 if $as_echo 'TRUE=$(BAR$(V))
3277 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3278 am_cv_make_support_nested_variables
=yes
3280 am_cv_make_support_nested_variables
=no
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3284 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3285 if test $am_cv_make_support_nested_variables = yes; then
3287 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3289 AM_V
=$AM_DEFAULT_VERBOSITY
3290 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3294 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3295 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3296 # is not polluted with repeated "-I."
3297 am__isrc
=' -I$(srcdir)'
3298 # test to see if srcdir already configured
3299 if test -f $srcdir/config.status
; then
3300 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3304 # test whether we have cygpath
3305 if test -z "$CYGPATH_W"; then
3306 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3307 CYGPATH_W
='cygpath -w'
3314 # Define the identity of the package.
3319 cat >>confdefs.h
<<_ACEOF
3320 #define PACKAGE "$PACKAGE"
3324 cat >>confdefs.h
<<_ACEOF
3325 #define VERSION "$VERSION"
3328 # Some tools Automake needs.
3330 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3333 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3336 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3339 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3342 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3344 # For better backward compatibility. To be removed once Automake 1.9.x
3345 # dies out for good. For more background, see:
3346 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3347 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3348 mkdir_p
='$(MKDIR_P)'
3350 # We need awk for the "check" target (and possibly the TAP driver). The
3351 # system "awk" is bad on some platforms.
3352 # Always define AMTAR for backward compatibility. Yes, it's still used
3353 # in the wild :-( We should find a proper way to deprecate it ...
3357 # We'll loop over all known methods to create a tar archive until one works.
3358 _am_tools
='gnutar pax cpio none'
3360 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3367 # POSIX will say in a future version that running "rm -f" with no argument
3368 # is OK; and we want to be able to make that assumption in our Makefile
3369 # recipes. So use an aggressive probe to check that the usage we want is
3370 # actually supported "in the wild" to an acceptable degree.
3371 # See automake bug#10828.
3372 # To make any issue more visible, cause the running configure to be aborted
3373 # by default if the 'rm' program in use doesn't match our expectations; the
3374 # user can still override this though.
3375 if rm -f && rm -fr && rm -rf; then : OK
; else
3379 Your 'rm' program seems unable to run without file operands specified
3380 on the command line, even when the '-f' option is present. This is contrary
3381 to the behaviour of most rm programs out there, and not conforming with
3382 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3384 Please tell bug-automake@gnu.org about your system, including the value
3385 of your $PATH and any error possibly output before this message. This
3386 can help us improve future automake versions.
3389 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3390 echo 'Configuration will proceed anyway, since you have set the' >&2
3391 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3395 Aborting the configuration process, to ensure you take notice of the issue.
3397 You can download and install GNU coreutils to get an 'rm' implementation
3398 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3400 If you want to complete the configuration process using your problematic
3401 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3402 to "yes", and re-run configure.
3405 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3412 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3413 # Check whether --enable-maintainer-mode was given.
3414 if test "${enable_maintainer_mode+set}" = set; then :
3415 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3417 USE_MAINTAINER_MODE
=no
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3421 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3422 if test $USE_MAINTAINER_MODE = yes; then
3423 MAINTAINER_MODE_TRUE
=
3424 MAINTAINER_MODE_FALSE
='#'
3426 MAINTAINER_MODE_TRUE
='#'
3427 MAINTAINER_MODE_FALSE
=
3430 MAINT
=$MAINTAINER_MODE_TRUE
3434 # Make sure we can run config.sub.
3435 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3436 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3439 $as_echo_n "checking build system type... " >&6; }
3440 if ${ac_cv_build+:} false
; then :
3441 $as_echo_n "(cached) " >&6
3443 ac_build_alias
=$build_alias
3444 test "x$ac_build_alias" = x
&&
3445 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3446 test "x$ac_build_alias" = x
&&
3447 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3448 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3449 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3453 $as_echo "$ac_cv_build" >&6; }
3454 case $ac_cv_build in
3456 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3459 ac_save_IFS
=$IFS; IFS
='-'
3465 # Remember, the first character of IFS is used to create $*,
3466 # except with old shells:
3469 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3473 $as_echo_n "checking host system type... " >&6; }
3474 if ${ac_cv_host+:} false
; then :
3475 $as_echo_n "(cached) " >&6
3477 if test "x$host_alias" = x
; then
3478 ac_cv_host
=$ac_cv_build
3480 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3481 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3486 $as_echo "$ac_cv_host" >&6; }
3489 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3492 ac_save_IFS
=$IFS; IFS
='-'
3498 # Remember, the first character of IFS is used to create $*,
3499 # except with old shells:
3502 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3507 ac_cpp
='$CPP $CPPFLAGS'
3508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host))" >&5
3514 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host))" >&6;}
3516 # start out with intent to build Web Alpine
3517 WEB_BUILD
=web
/src
/alpined.d
3521 ac_cpp
='$CPP $CPPFLAGS'
3522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3525 if test -n "$ac_tool_prefix"; then
3526 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3527 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if ${ac_cv_prog_CC+:} false
; then :
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$CC"; then
3534 ac_cv_prog_CC
="$CC" # Let the user override the test.
3536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir
=.
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3543 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 if test -n "$CC"; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3556 $as_echo "$CC" >&6; }
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3564 if test -z "$ac_cv_prog_CC"; then
3566 # Extract the first word of "gcc", so it can be a program name with args.
3567 set dummy gcc
; ac_word
=$2
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3571 $as_echo_n "(cached) " >&6
3573 if test -n "$ac_ct_CC"; then
3574 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir
=.
3581 for ac_exec_ext
in '' $ac_executable_extensions; do
3582 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3583 ac_cv_prog_ac_ct_CC
="gcc"
3584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3594 if test -n "$ac_ct_CC"; then
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3596 $as_echo "$ac_ct_CC" >&6; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3602 if test "x$ac_ct_CC" = x
; then
3605 case $cross_compiling:$ac_tool_warned in
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3609 ac_tool_warned
=yes ;;
3617 if test -z "$CC"; then
3618 if test -n "$ac_tool_prefix"; then
3619 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3620 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_CC+:} false
; then :
3624 $as_echo_n "(cached) " >&6
3626 if test -n "$CC"; then
3627 ac_cv_prog_CC
="$CC" # Let the user override the test.
3629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir
=.
3634 for ac_exec_ext
in '' $ac_executable_extensions; do
3635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 if test -n "$CC"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3649 $as_echo "$CC" >&6; }
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3658 if test -z "$CC"; then
3659 # Extract the first word of "cc", so it can be a program name with args.
3660 set dummy cc
; ac_word
=$2
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3662 $as_echo_n "checking for $ac_word... " >&6; }
3663 if ${ac_cv_prog_CC+:} false
; then :
3664 $as_echo_n "(cached) " >&6
3666 if test -n "$CC"; then
3667 ac_cv_prog_CC
="$CC" # Let the user override the test.
3670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3674 test -z "$as_dir" && as_dir
=.
3675 for ac_exec_ext
in '' $ac_executable_extensions; do
3676 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3677 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3678 ac_prog_rejected
=yes
3682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 if test $ac_prog_rejected = yes; then
3690 # We found a bogon in the path, so make sure we never use it.
3691 set dummy
$ac_cv_prog_CC
3693 if test $# != 0; then
3694 # We chose a different compiler from the bogus one.
3695 # However, it has the same basename, so the bogon will be chosen
3696 # first if we set CC to just the basename; use the full file name.
3698 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3704 if test -n "$CC"; then
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3706 $as_echo "$CC" >&6; }
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3714 if test -z "$CC"; then
3715 if test -n "$ac_tool_prefix"; then
3716 for ac_prog
in cl.exe
3718 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3719 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3721 $as_echo_n "checking for $ac_word... " >&6; }
3722 if ${ac_cv_prog_CC+:} false
; then :
3723 $as_echo_n "(cached) " >&6
3725 if test -n "$CC"; then
3726 ac_cv_prog_CC
="$CC" # Let the user override the test.
3728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir
=.
3733 for ac_exec_ext
in '' $ac_executable_extensions; do
3734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 if test -n "$CC"; then
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3748 $as_echo "$CC" >&6; }
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3751 $as_echo "no" >&6; }
3755 test -n "$CC" && break
3758 if test -z "$CC"; then
3760 for ac_prog
in cl.exe
3762 # Extract the first word of "$ac_prog", so it can be a program name with args.
3763 set dummy
$ac_prog; ac_word
=$2
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3765 $as_echo_n "checking for $ac_word... " >&6; }
3766 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3767 $as_echo_n "(cached) " >&6
3769 if test -n "$ac_ct_CC"; then
3770 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir
=.
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3779 ac_cv_prog_ac_ct_CC
="$ac_prog"
3780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3790 if test -n "$ac_ct_CC"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3792 $as_echo "$ac_ct_CC" >&6; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3799 test -n "$ac_ct_CC" && break
3802 if test "x$ac_ct_CC" = x
; then
3805 case $cross_compiling:$ac_tool_warned in
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3809 ac_tool_warned
=yes ;;
3818 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3820 as_fn_error $?
"no acceptable C compiler found in \$PATH
3821 See \`config.log' for more details" "$LINENO" 5; }
3823 # Provide some information about the compiler.
3824 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3827 for ac_option
in --version -v -V -qversion; do
3828 { { ac_try
="$ac_compiler $ac_option >&5"
3830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3831 *) ac_try_echo=$ac_try;;
3833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3834 $as_echo "$ac_try_echo"; } >&5
3835 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3837 if test -s conftest.err; then
3839 ... rest of stderr output deleted ...
3840 10q' conftest.err >conftest.er1
3841 cat conftest.er1 >&5
3843 rm -f conftest.er1 conftest.err
3844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3845 test $ac_status = 0; }
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3859 ac_clean_files_save=$ac_clean_files
3860 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3861 # Try to create an executable without -o first, disregard a.out.
3862 # It will help us diagnose broken compilers, and finding out an intuition
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3865 $as_echo_n "checking whether the C compiler works... " >&6; }
3866 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3868 # The possible output files:
3869 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3872 for ac_file in $ac_files
3875 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3876 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3881 if { { ac_try="$ac_link_default"
3883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3884 *) ac_try_echo
=$ac_try;;
3886 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3887 $as_echo "$ac_try_echo"; } >&5
3888 (eval "$ac_link_default") 2>&5
3890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3891 test $ac_status = 0; }; then :
3892 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3893 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3894 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3895 # so that the user can short-circuit this test for compilers unknown to
3897 for ac_file
in $ac_files ''
3899 test -f "$ac_file" ||
continue
3901 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3904 # We found the default executable, but exeext='' is most
3908 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3910 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3912 # We set ac_cv_exeext here because the later test for it is not
3913 # safe: cross compilers may not add the suffix if given an `-o'
3914 # argument, so we may need to know it at that point already.
3915 # Even if this section looks crufty: it has the advantage of
3922 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3927 if test -z "$ac_file"; then :
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3930 $as_echo "$as_me: failed program was:" >&5
3931 sed 's/^/| /' conftest.
$ac_ext >&5
3933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3935 as_fn_error
77 "C compiler cannot create executables
3936 See \`config.log' for more details" "$LINENO" 5; }
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3939 $as_echo "yes" >&6; }
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3942 $as_echo_n "checking for C compiler default output file name... " >&6; }
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3944 $as_echo "$ac_file" >&6; }
3945 ac_exeext
=$ac_cv_exeext
3947 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3948 ac_clean_files
=$ac_clean_files_save
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3950 $as_echo_n "checking for suffix of executables... " >&6; }
3951 if { { ac_try
="$ac_link"
3953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957 $as_echo "$ac_try_echo"; } >&5
3958 (eval "$ac_link") 2>&5
3960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3961 test $ac_status = 0; }; then :
3962 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3963 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3964 # work properly (i.e., refer to `conftest.exe'), while it won't with
3966 for ac_file
in conftest.exe conftest conftest.
*; do
3967 test -f "$ac_file" ||
continue
3969 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3970 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3978 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3979 See \`config.log' for more details" "$LINENO" 5; }
3981 rm -f conftest conftest
$ac_cv_exeext
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3983 $as_echo "$ac_cv_exeext" >&6; }
3985 rm -f conftest.
$ac_ext
3986 EXEEXT
=$ac_cv_exeext
3988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3994 FILE *f = fopen ("conftest.out", "w");
3995 return ferror (f) || fclose (f) != 0;
4001 ac_clean_files
="$ac_clean_files conftest.out"
4002 # Check that the compiler produces executables we can run. If not, either
4003 # the compiler is broken, or we cross compile.
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4005 $as_echo_n "checking whether we are cross compiling... " >&6; }
4006 if test "$cross_compiling" != yes; then
4007 { { ac_try
="$ac_link"
4009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_link") 2>&5
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }
4018 if { ac_try='./conftest$ac_cv_exeext'
4019 { { case "(($ac_try" in
4020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4021 *) ac_try_echo
=$ac_try;;
4023 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_try") 2>&5
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; }; then
4031 if test "$cross_compiling" = maybe
; then
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error $?
"cannot run C compiled programs.
4037 If you meant to cross compile, use \`--host'.
4038 See \`config.log' for more details" "$LINENO" 5; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4043 $as_echo "$cross_compiling" >&6; }
4045 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4046 ac_clean_files
=$ac_clean_files_save
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4048 $as_echo_n "checking for suffix of object files... " >&6; }
4049 if ${ac_cv_objext+:} false
; then :
4050 $as_echo_n "(cached) " >&6
4052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4063 rm -f conftest.o conftest.obj
4064 if { { ac_try
="$ac_compile"
4066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4070 $as_echo "$ac_try_echo"; } >&5
4071 (eval "$ac_compile") 2>&5
4073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4074 test $ac_status = 0; }; then :
4075 for ac_file in conftest.o conftest.obj conftest.*; do
4076 test -f "$ac_file" || continue;
4078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4079 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4084 $as_echo "$as_me: failed program was:" >&5
4085 sed 's/^/| /' conftest.$ac_ext >&5
4087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4090 See \
`config.log' for more details" "$LINENO" 5; }
4092 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4095 $as_echo "$ac_cv_objext" >&6; }
4096 OBJEXT=$ac_cv_objext
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4099 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4100 if ${ac_cv_c_compiler_gnu+:} false; then :
4101 $as_echo_n "(cached) " >&6
4103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4117 if ac_fn_c_try_compile "$LINENO"; then :
4122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4123 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4127 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4128 if test $ac_compiler_gnu = yes; then
4133 ac_test_CFLAGS=${CFLAGS+set}
4134 ac_save_CFLAGS=$CFLAGS
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4136 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4137 if ${ac_cv_prog_cc_g+:} false; then :
4138 $as_echo_n "(cached) " >&6
4140 ac_save_c_werror_flag=$ac_c_werror_flag
4141 ac_c_werror_flag=yes
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4170 if ac_fn_c_try_compile "$LINENO"; then :
4173 ac_c_werror_flag=$ac_save_c_werror_flag
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4186 if ac_fn_c_try_compile "$LINENO"; then :
4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194 ac_c_werror_flag=$ac_save_c_werror_flag
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4197 $as_echo "$ac_cv_prog_cc_g" >&6; }
4198 if test "$ac_test_CFLAGS" = set; then
4199 CFLAGS=$ac_save_CFLAGS
4200 elif test $ac_cv_prog_cc_g = yes; then
4201 if test "$GCC" = yes; then
4207 if test "$GCC" = yes; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4214 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4215 if ${ac_cv_prog_cc_c89+:} false; then :
4216 $as_echo_n "(cached) " >&6
4218 ac_cv_prog_cc_c89=no
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4225 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4226 struct buf { int x; };
4227 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4228 static char *e (p, i)
4234 static char *f (char * (*g) (char **, int), char **p, ...)
4239 s = g (p, va_arg (v,int));
4244 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4245 function prototypes and stuff, but not '\xHH' hex character constants.
4246 These don't provoke an error unfortunately, instead are silently treated
4247 as 'x'. The following induces an error, until -std is added to get
4248 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4249 array size at least. It's necessary to write '\x00'==0 to get something
4250 that's true only with -std. */
4251 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4253 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4254 inside strings and character constants. */
4256 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4258 int test (int i, double x);
4259 struct s1 {int (*f) (int a);};
4260 struct s2 {int (*f) (double a);};
4261 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4267 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4272 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4273 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4275 CC="$ac_save_CC $ac_arg"
4276 if ac_fn_c_try_compile "$LINENO"; then :
4277 ac_cv_prog_cc_c89=$ac_arg
4279 rm -f core conftest.err conftest.$ac_objext
4280 test "x$ac_cv_prog_cc_c89" != "xno" && break
4282 rm -f conftest.$ac_ext
4287 case "x$ac_cv_prog_cc_c89" in
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4290 $as_echo "none needed" >&6; } ;;
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4293 $as_echo "unsupported" >&6; } ;;
4295 CC="$CC $ac_cv_prog_cc_c89"
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4297 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4299 if test "x$ac_cv_prog_cc_c89" != xno; then :
4304 ac_cpp='$CPP $CPPFLAGS'
4305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4310 ac_cpp='$CPP $CPPFLAGS'
4311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4315 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4316 if ${am_cv_prog_cc_c_o+:} false; then :
4317 $as_echo_n "(cached) " >&6
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4330 # Make sure it works both with $CC and with simple cc.
4331 # Following AC_PROG_CC_C_O, we do the test twice because some
4332 # compilers refuse to overwrite an existing .o file with -o,
4333 # though they will create one.
4334 am_cv_prog_cc_c_o=yes
4336 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4337 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); } \
4341 && test -f conftest2.$ac_objext; then
4344 am_cv_prog_cc_c_o=no
4348 rm -f core conftest*
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4352 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4353 if test "$am_cv_prog_cc_c_o" != yes; then
4354 # Losing compiler, so override with the script.
4355 # FIXME: It is wrong to rewrite CC.
4356 # But if we don't then we get into trouble of one sort or another.
4357 # A longer-term fix would be to have automake use am__CC in this case,
4358 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4359 CC="$am_aux_dir/compile $CC"
4362 ac_cpp='$CPP $CPPFLAGS'
4363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4367 DEPDIR="${am__leading_dot}deps"
4369 ac_config_commands="$ac_config_commands depfiles"
4372 am_make=${MAKE-make}
4373 cat > confinc << 'END'
4375 @echo this is the am__doit target
4378 # If we don't find an include directive, just comment out the code.
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4380 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4384 # First try GNU make style include.
4385 echo "include confinc" > confmf
4386 # Ignore all kinds of additional output from 'make'.
4387 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4388 *the\ am__doit\ target*)
4394 # Now try BSD make style include.
4395 if test "$am__include" = "#"; then
4396 echo '.include "confinc"' > confmf
4397 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4398 *the\ am__doit\ target*)
4399 am__include=.include
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4408 $as_echo "$_am_result" >&6; }
4409 rm -f confinc confmf
4411 # Check whether --enable-dependency-tracking was given.
4412 if test "${enable_dependency_tracking+set}" = set; then :
4413 enableval=$enable_dependency_tracking;
4416 if test "x$enable_dependency_tracking" != xno; then
4417 am_depcomp="$ac_aux_dir/depcomp"
4421 if test "x$enable_dependency_tracking" != xno; then
4431 depcc="$CC" am_compiler_list=
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4434 $as_echo_n "checking dependency style of $depcc... " >&6; }
4435 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4436 $as_echo_n "(cached) " >&6
4438 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4439 # We make a subdir and do the tests there. Otherwise we can end up
4440 # making bogus files that we don't know about and never remove. For
4441 # instance it was reported that on HP-UX the gcc test will end up
4442 # making a dummy file named 'D' -- because '-MD' means "put the output
4446 # Copy depcomp to subdir because otherwise we won't find it if we're
4447 # using a relative directory.
4448 cp "$am_depcomp" conftest.dir
4450 # We will build objects and dependencies in a subdirectory because
4451 # it helps to detect inapplicable dependency modes. For instance
4452 # both Tru64's cc and ICC support -MD to output dependencies as a
4453 # side effect of compilation, but ICC will put the dependencies in
4454 # the current directory while Tru64 will put them in the object
4458 am_cv_CC_dependencies_compiler_type=none
4459 if test "$am_compiler_list" = ""; then
4460 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4463 case " $depcc " in #(
4464 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4467 for depmode in $am_compiler_list; do
4468 # Setup a source with many dependencies, because some compilers
4469 # like to wrap large dependency lists on column 80 (with \), and
4470 # we should not choose a depcomp mode which is confused by this.
4472 # We need to recreate these files for each test, as the compiler may
4473 # overwrite some of them when testing with obscure command lines.
4474 # This happens at least with the AIX C compiler.
4476 for i in 1 2 3 4 5 6; do
4477 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4478 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4479 # Solaris 10 /bin/sh.
4480 echo '/* dummy */' > sub/conftst$i.h
4482 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4484 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4485 # mode. It turns out that the SunPro C++ compiler does not properly
4486 # handle '-M -o', and we need to detect this. Also, some Intel
4487 # versions had trouble with output in subdirs.
4488 am__obj=sub/conftest.${OBJEXT-o}
4489 am__minus_obj="-o $am__obj"
4492 # This depmode causes a compiler race in universal mode.
4493 test "$am__universal" = false || continue
4496 # After this tag, mechanisms are not by side-effect, so they'll
4497 # only be used when explicitly requested.
4498 if test "x$enable_dependency_tracking" = xyes; then
4504 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4505 # This compiler won't grok '-c -o', but also, the minuso test has
4506 # not run yet. These depmodes are late enough in the game, and
4507 # so weak that their functioning should not be impacted.
4508 am__obj=conftest.${OBJEXT-o}
4513 if depmode=$depmode \
4514 source=sub/conftest.c object=$am__obj \
4515 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4516 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4517 >/dev/null 2>conftest.err &&
4518 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4519 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4520 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4521 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4522 # icc doesn't choke on unknown options, it will just issue warnings
4523 # or remarks (even with -Werror). So we grep stderr for any message
4524 # that says an option was ignored or not supported.
4525 # When given -MP, icc 7.0 and 7.1 complain thusly:
4526 # icc: Command line warning: ignoring option '-M'; no argument required
4527 # The diagnosis changed in icc 8.0:
4528 # icc: Command line remark: option '-MP' not supported
4529 if (grep 'ignoring option' conftest.err ||
4530 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4531 am_cv_CC_dependencies_compiler_type=$depmode
4540 am_cv_CC_dependencies_compiler_type=none
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4545 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4546 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4549 test "x$enable_dependency_tracking" != xno \
4550 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4552 am__fastdepCC_FALSE='#'
4554 am__fastdepCC_TRUE='#'
4555 am__fastdepCC_FALSE=
4559 case $ac_cv_prog_cc_stdc in #(
4561 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4564 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4565 if ${ac_cv_prog_cc_c99+:} false; then :
4566 $as_echo_n "(cached) " >&6
4568 ac_cv_prog_cc_c99=no
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4573 #include <stdbool.h>
4578 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4579 #define debug(...) fprintf (stderr, __VA_ARGS__)
4580 #define showlist(...) puts (#__VA_ARGS__)
4581 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4583 test_varargs_macros (void)
4588 debug ("X = %d\n", x);
4589 showlist (The first, second, and third items.);
4590 report (x>y, "x is %d but y is %d", x, y);
4593 // Check long long types.
4594 #define BIG64 18446744073709551615ull
4595 #define BIG32 4294967295ul
4596 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4598 your preprocessor is broken;
4602 your preprocessor is broken;
4604 static long long int bignum = -9223372036854775807LL;
4605 static unsigned long long int ubignum = BIG64;
4607 struct incomplete_array
4615 const wchar_t *name;
4619 typedef const char *ccp;
4622 test_restrict (ccp restrict text)
4624 // See if C++-style comments work.
4625 // Iterate through items via the restricted pointer.
4626 // Also check for declarations in for loops.
4627 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4632 // Check varargs and va_copy.
4634 test_varargs (const char *format, ...)
4637 va_start (args, format);
4639 va_copy (args_copy, args);
4650 str = va_arg (args_copy, const char *);
4653 number = va_arg (args_copy, int);
4656 fnumber = va_arg (args_copy, double);
4671 _Bool success = false;
4674 if (test_restrict ("String literal") == 0)
4676 char *restrict newvar = "Another string";
4679 test_varargs ("s, d' f .", "string", 65, 34.234);
4680 test_varargs_macros ();
4682 // Check flexible array members.
4683 struct incomplete_array *ia =
4684 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4686 for (int i = 0; i < ia->datasize; ++i)
4687 ia->data[i] = i * 1.234;
4689 // Check named initializers.
4690 struct named_init ni = {
4692 .name = L"Test wide string",
4693 .average = 543.34343,
4698 int dynamic_array[ni.number];
4699 dynamic_array[ni.number - 1] = 543;
4701 // work around unused variable warnings
4702 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4703 || dynamic_array[ni.number - 1] != 543);
4709 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4711 CC="$ac_save_CC $ac_arg"
4712 if ac_fn_c_try_compile "$LINENO"; then :
4713 ac_cv_prog_cc_c99=$ac_arg
4715 rm -f core conftest.err conftest.$ac_objext
4716 test "x$ac_cv_prog_cc_c99" != "xno" && break
4718 rm -f conftest.$ac_ext
4723 case "x$ac_cv_prog_cc_c99" in
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4726 $as_echo "none needed" >&6; } ;;
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4729 $as_echo "unsupported" >&6; } ;;
4731 CC="$CC $ac_cv_prog_cc_c99"
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4733 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4735 if test "x$ac_cv_prog_cc_c99" != xno; then :
4736 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4739 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4740 if ${ac_cv_prog_cc_c89+:} false; then :
4741 $as_echo_n "(cached) " >&6
4743 ac_cv_prog_cc_c89=no
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4751 struct buf { int x; };
4752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4753 static char *e (p, i)
4759 static char *f (char * (*g) (char **, int), char **p, ...)
4764 s = g (p, va_arg (v,int));
4769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4770 function prototypes and stuff, but not '\xHH' hex character constants.
4771 These don't provoke an error unfortunately, instead are silently treated
4772 as 'x'. The following induces an error, until -std is added to get
4773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4774 array size at least. It's necessary to write '\x00'==0 to get something
4775 that's true only with -std. */
4776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4778 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4779 inside strings and character constants. */
4781 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4783 int test (int i, double x);
4784 struct s1 {int (*f) (int a);};
4785 struct s2 {int (*f) (double a);};
4786 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4792 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4797 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4798 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4800 CC="$ac_save_CC $ac_arg"
4801 if ac_fn_c_try_compile "$LINENO"; then :
4802 ac_cv_prog_cc_c89=$ac_arg
4804 rm -f core conftest.err conftest.$ac_objext
4805 test "x$ac_cv_prog_cc_c89" != "xno" && break
4807 rm -f conftest.$ac_ext
4812 case "x$ac_cv_prog_cc_c89" in
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4815 $as_echo "none needed" >&6; } ;;
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4818 $as_echo "unsupported" >&6; } ;;
4820 CC="$CC $ac_cv_prog_cc_c89"
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4824 if test "x$ac_cv_prog_cc_c89" != xno; then :
4825 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4827 ac_cv_prog_cc_stdc=no
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4834 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4835 if ${ac_cv_prog_cc_stdc+:} false; then :
4836 $as_echo_n "(cached) " >&6
4839 case $ac_cv_prog_cc_stdc in #(
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4842 $as_echo "unsupported" >&6; } ;; #(
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4845 $as_echo "none needed" >&6; } ;; #(
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4848 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4853 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4855 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4856 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4857 $as_echo_n "(cached) " >&6
4859 cat >conftest.make <<\_ACEOF
4862 @echo '@@@%%%=$(MAKE)=@@@%%%'
4864 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4865 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4867 eval ac_cv_prog_make_${ac_make}_set=yes;;
4869 eval ac_cv_prog_make_${ac_make}_set=no;;
4873 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4880 SET_MAKE="MAKE=${MAKE-make}"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4884 $as_echo_n "checking whether ln -s works... " >&6; }
4886 if test "$LN_S" = "ln -s"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4888 $as_echo "yes" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4891 $as_echo "no, using $LN_S" >&6; }
4894 for ac_prog in gawk mawk nawk awk
4896 # Extract the first word of "$ac_prog", so it can be a program name with args.
4897 set dummy $ac_prog; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if ${ac_cv_prog_AWK+:} false; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$AWK"; then
4904 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913 ac_cv_prog_AWK="$ac_prog"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 if test -n "$AWK"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4926 $as_echo "$AWK" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 test -n "$AWK" && break
4936 if test -n "$ac_tool_prefix"; then
4937 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4938 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_RANLIB+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$RANLIB"; then
4945 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 RANLIB=$ac_cv_prog_RANLIB
4965 if test -n "$RANLIB"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4967 $as_echo "$RANLIB" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4975 if test -z "$ac_cv_prog_RANLIB"; then
4976 ac_ct_RANLIB=$RANLIB
4977 # Extract the first word of "ranlib", so it can be a program name with args.
4978 set dummy ranlib; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4982 $as_echo_n "(cached) " >&6
4984 if test -n "$ac_ct_RANLIB"; then
4985 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_ac_ct_RANLIB="ranlib"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5005 if test -n "$ac_ct_RANLIB"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5007 $as_echo "$ac_ct_RANLIB" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5013 if test "x$ac_ct_RANLIB" = x; then
5016 case $cross_compiling:$ac_tool_warned in
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned=yes ;;
5022 RANLIB=$ac_ct_RANLIB
5025 RANLIB="$ac_cv_prog_RANLIB"
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5031 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5036 macro_version='2.4.6'
5037 macro_revision='2.4.6'
5051 ltmain=$ac_aux_dir/ltmain.sh
5053 # Backslashify metacharacters that are still active within
5054 # double-quoted strings.
5055 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
5057 # Same as above, but do not quote variable references.
5058 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
5060 # Sed substitution to delay expansion of an escaped shell variable in a
5061 # double_quote_subst'ed string.
5062 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5064 # Sed substitution to delay expansion of an escaped single quote.
5065 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5067 # Sed substitution to avoid accidental globbing in evaled expressions
5068 no_glob_subst='s/\*/\\\*/g'
5070 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5071 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5072 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
5075 $as_echo_n "checking how to print
strings...
" >&6; }
5076 # Test print first, because it will be a builtin if present.
5077 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
5078 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
5080 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
5083 # Use this function as a fallback that always works.
5084 func_fallback_echo ()
5086 eval 'cat <<_LTECHO_EOF
5090 ECHO='func_fallback_echo'
5093 # func_echo_all arg...
5094 # Invoke $ECHO with all args, space-separated.
5101 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
5102 $as_echo "printf" >&6; } ;;
5103 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
5104 $as_echo "print
-r" >&6; } ;;
5105 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
5106 $as_echo "cat" >&6; } ;;
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
5123 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
5124 if ${ac_cv_path_SED+:} false; then :
5125 $as_echo_n "(cached
) " >&6
5127 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5128 for ac_i in 1 2 3 4 5 6 7; do
5129 ac_script="$ac_script$as_nl$ac_script"
5131 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5132 { ac_script=; unset ac_script;}
5133 if test -z "$SED"; then
5134 ac_path_SED_found=false
5135 # Loop through the user's path and test for each of PROGNAME-LIST
5136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir=.
5141 for ac_prog in sed gsed; do
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5144 as_fn_executable_p "$ac_path_SED" || continue
5145 # Check for GNU ac_path_SED and select it if it is found.
5146 # Check for GNU $ac_path_SED
5147 case `"$ac_path_SED" --version 2>&1` in
5149 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5152 $as_echo_n 0123456789 >"conftest.
in"
5155 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5156 mv "conftest.tmp
" "conftest.
in"
5157 cp "conftest.
in" "conftest.
nl"
5158 $as_echo '' >> "conftest.
nl"
5159 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5160 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5161 as_fn_arith $ac_count + 1 && ac_count=$as_val
5162 if test $ac_count -gt ${ac_path_SED_max-0}; then
5163 # Best one so far, save it but keep looking for a better one
5164 ac_cv_path_SED="$ac_path_SED"
5165 ac_path_SED_max=$ac_count
5167 # 10*(2^10) chars as input seems more than enough
5168 test $ac_count -gt 10 && break
5170 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5173 $ac_path_SED_found && break 3
5178 if test -z "$ac_cv_path_SED"; then
5179 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
5187 $as_echo "$ac_cv_path_SED" >&6; }
5188 SED="$ac_cv_path_SED"
5191 test -z "$SED" && SED=sed
5192 Xsed="$SED -e 1s
/^X
//"
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5205 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5206 if ${ac_cv_path_GREP+:} false; then :
5207 $as_echo_n "(cached
) " >&6
5209 if test -z "$GREP"; then
5210 ac_path_GREP_found=false
5211 # Loop through the user's path and test for each of PROGNAME-LIST
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5216 test -z "$as_dir" && as_dir=.
5217 for ac_prog in grep ggrep; do
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5220 as_fn_executable_p "$ac_path_GREP" || continue
5221 # Check for GNU ac_path_GREP and select it if it is found.
5222 # Check for GNU $ac_path_GREP
5223 case `"$ac_path_GREP" --version 2>&1` in
5225 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5228 $as_echo_n 0123456789 >"conftest.
in"
5231 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5232 mv "conftest.tmp
" "conftest.
in"
5233 cp "conftest.
in" "conftest.
nl"
5234 $as_echo 'GREP' >> "conftest.
nl"
5235 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5236 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5237 as_fn_arith $ac_count + 1 && ac_count=$as_val
5238 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5239 # Best one so far, save it but keep looking for a better one
5240 ac_cv_path_GREP="$ac_path_GREP"
5241 ac_path_GREP_max=$ac_count
5243 # 10*(2^10) chars as input seems more than enough
5244 test $ac_count -gt 10 && break
5246 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5249 $ac_path_GREP_found && break 3
5254 if test -z "$ac_cv_path_GREP"; then
5255 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5258 ac_cv_path_GREP=$GREP
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5263 $as_echo "$ac_cv_path_GREP" >&6; }
5264 GREP="$ac_cv_path_GREP"
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5268 $as_echo_n "checking
for egrep...
" >&6; }
5269 if ${ac_cv_path_EGREP+:} false; then :
5270 $as_echo_n "(cached
) " >&6
5272 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5273 then ac_cv_path_EGREP="$GREP -E"
5275 if test -z "$EGREP"; then
5276 ac_path_EGREP_found=false
5277 # Loop through the user's path and test for each of PROGNAME-LIST
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5282 test -z "$as_dir" && as_dir=.
5283 for ac_prog in egrep; do
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5286 as_fn_executable_p "$ac_path_EGREP" || continue
5287 # Check for GNU ac_path_EGREP and select it if it is found.
5288 # Check for GNU $ac_path_EGREP
5289 case `"$ac_path_EGREP" --version 2>&1` in
5291 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5294 $as_echo_n 0123456789 >"conftest.
in"
5297 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5298 mv "conftest.tmp
" "conftest.
in"
5299 cp "conftest.
in" "conftest.
nl"
5300 $as_echo 'EGREP' >> "conftest.
nl"
5301 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5302 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5303 as_fn_arith $ac_count + 1 && ac_count=$as_val
5304 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5305 # Best one so far, save it but keep looking for a better one
5306 ac_cv_path_EGREP="$ac_path_EGREP"
5307 ac_path_EGREP_max=$ac_count
5309 # 10*(2^10) chars as input seems more than enough
5310 test $ac_count -gt 10 && break
5312 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5315 $ac_path_EGREP_found && break 3
5320 if test -z "$ac_cv_path_EGREP"; then
5321 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5324 ac_cv_path_EGREP=$EGREP
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5330 $as_echo "$ac_cv_path_EGREP" >&6; }
5331 EGREP="$ac_cv_path_EGREP"
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5335 $as_echo_n "checking
for fgrep...
" >&6; }
5336 if ${ac_cv_path_FGREP+:} false; then :
5337 $as_echo_n "(cached
) " >&6
5339 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5340 then ac_cv_path_FGREP="$GREP -F"
5342 if test -z "$FGREP"; then
5343 ac_path_FGREP_found=false
5344 # Loop through the user's path and test for each of PROGNAME-LIST
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5349 test -z "$as_dir" && as_dir=.
5350 for ac_prog in fgrep; do
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5353 as_fn_executable_p "$ac_path_FGREP" || continue
5354 # Check for GNU ac_path_FGREP and select it if it is found.
5355 # Check for GNU $ac_path_FGREP
5356 case `"$ac_path_FGREP" --version 2>&1` in
5358 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5361 $as_echo_n 0123456789 >"conftest.
in"
5364 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5365 mv "conftest.tmp
" "conftest.
in"
5366 cp "conftest.
in" "conftest.
nl"
5367 $as_echo 'FGREP' >> "conftest.
nl"
5368 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5369 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5370 as_fn_arith $ac_count + 1 && ac_count=$as_val
5371 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5372 # Best one so far, save it but keep looking for a better one
5373 ac_cv_path_FGREP="$ac_path_FGREP"
5374 ac_path_FGREP_max=$ac_count
5376 # 10*(2^10) chars as input seems more than enough
5377 test $ac_count -gt 10 && break
5379 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5382 $ac_path_FGREP_found && break 3
5387 if test -z "$ac_cv_path_FGREP"; then
5388 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5391 ac_cv_path_FGREP=$FGREP
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5397 $as_echo "$ac_cv_path_FGREP" >&6; }
5398 FGREP="$ac_cv_path_FGREP"
5401 test -z "$GREP" && GREP=grep
5421 # Check whether --with-gnu-ld was given.
5422 if test "${with_gnu_ld+set}" = set; then :
5423 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5429 if test yes = "$GCC"; then
5430 # Check if gcc -print-prog-name=ld gives a path.
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5432 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5435 # gcc leaves a trailing carriage return, which upsets mingw
5436 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5438 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5441 # Accept absolute paths.
5443 re_direlt='/[^/][^/]*/\.\./'
5444 # Canonicalize the pathname of ld
5445 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5446 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5447 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5449 test -z "$LD" && LD=$ac_prog
5452 # If it fails, then pretend we aren't using GCC.
5456 # If it is relative, then search for the first ld in PATH.
5460 elif test yes = "$with_gnu_ld"; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5462 $as_echo_n "checking
for GNU ld...
" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5465 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5467 if ${lt_cv_path_LD+:} false; then :
5468 $as_echo_n "(cached
) " >&6
5470 if test -z "$LD"; then
5471 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5472 for ac_dir in $PATH; do
5474 test -z "$ac_dir" && ac_dir=.
5475 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5476 lt_cv_path_LD=$ac_dir/$ac_prog
5477 # Check to see if the program is GNU ld. I'd rather use --version,
5478 # but apparently some variants of GNU ld only accept -v.
5479 # Break only if it was the GNU/non-GNU ld that we prefer.
5480 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5481 *GNU* | *'with BFD'*)
5482 test no != "$with_gnu_ld" && break
5485 test yes != "$with_gnu_ld" && break
5492 lt_cv_path_LD=$LD # Let the user override the test with a path.
5497 if test -n "$LD"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5499 $as_echo "$LD" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5502 $as_echo "no
" >&6; }
5504 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5506 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5507 if ${lt_cv_prog_gnu_ld+:} false; then :
5508 $as_echo_n "(cached
) " >&6
5510 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5511 case `$LD -v 2>&1 </dev/null` in
5512 *GNU* | *'with BFD'*)
5513 lt_cv_prog_gnu_ld=yes
5516 lt_cv_prog_gnu_ld=no
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5521 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5522 with_gnu_ld=$lt_cv_prog_gnu_ld
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5533 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5534 if ${lt_cv_path_NM+:} false; then :
5535 $as_echo_n "(cached
) " >&6
5537 if test -n "$NM"; then
5538 # Let the user override the test.
5541 lt_nm_to_check=${ac_tool_prefix}nm
5542 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5543 lt_nm_to_check="$lt_nm_to_check nm
"
5545 for lt_tmp_nm in $lt_nm_to_check; do
5546 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5547 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5549 test -z "$ac_dir" && ac_dir=.
5550 tmp_nm=$ac_dir/$lt_tmp_nm
5551 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5552 # Check to see if the nm accepts a BSD-compat flag.
5553 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5554 # nm: unknown option "B
" ignored
5555 # Tru64's nm complains that /dev/null is an invalid object file
5556 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5558 mingw*) lt_bad_file=conftest.nm/nofile ;;
5559 *) lt_bad_file=/dev/null ;;
5561 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5562 *$lt_bad_file* | *'Invalid file or object type'*)
5563 lt_cv_path_NM="$tmp_nm -B"
5567 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5569 lt_cv_path_NM="$tmp_nm -p"
5573 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5574 continue # so that we can try to find one that supports BSD flags
5583 : ${lt_cv_path_NM=no}
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5587 $as_echo "$lt_cv_path_NM" >&6; }
5588 if test no != "$lt_cv_path_NM"; then
5591 # Didn't find any BSD compatible name lister, look for dumpbin.
5592 if test -n "$DUMPBIN"; then :
5593 # Let the user override the test.
5595 if test -n "$ac_tool_prefix"; then
5596 for ac_prog in dumpbin "link
-dump"
5598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5601 $as_echo_n "checking
for $ac_word...
" >&6; }
5602 if ${ac_cv_prog_DUMPBIN+:} false; then :
5603 $as_echo_n "(cached
) " >&6
5605 if test -n "$DUMPBIN"; then
5606 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir=.
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5616 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5625 DUMPBIN=$ac_cv_prog_DUMPBIN
5626 if test -n "$DUMPBIN"; then
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5628 $as_echo "$DUMPBIN" >&6; }
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5631 $as_echo "no
" >&6; }
5635 test -n "$DUMPBIN" && break
5638 if test -z "$DUMPBIN"; then
5639 ac_ct_DUMPBIN=$DUMPBIN
5640 for ac_prog in dumpbin "link
-dump"
5642 # Extract the first word of "$ac_prog", so it can be a program name with args.
5643 set dummy $ac_prog; ac_word=$2
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5645 $as_echo_n "checking
for $ac_word...
" >&6; }
5646 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5647 $as_echo_n "(cached
) " >&6
5649 if test -n "$ac_ct_DUMPBIN"; then
5650 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5659 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5660 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5669 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5670 if test -n "$ac_ct_DUMPBIN"; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5672 $as_echo "$ac_ct_DUMPBIN" >&6; }
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5675 $as_echo "no
" >&6; }
5679 test -n "$ac_ct_DUMPBIN" && break
5682 if test "x
$ac_ct_DUMPBIN" = x; then
5685 case $cross_compiling:$ac_tool_warned in
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5688 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5689 ac_tool_warned=yes ;;
5691 DUMPBIN=$ac_ct_DUMPBIN
5695 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5697 DUMPBIN="$DUMPBIN -symbols -headers"
5705 if test : != "$DUMPBIN"; then
5709 test -z "$NM" && NM=nm
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5717 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5718 if ${lt_cv_nm_interface+:} false; then :
5719 $as_echo_n "(cached
) " >&6
5721 lt_cv_nm_interface="BSD nm
"
5722 echo "int some_variable
= 0;" > conftest.$ac_ext
5723 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5724 (eval "$ac_compile" 2>conftest.err)
5725 cat conftest.err >&5
5726 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5727 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5728 cat conftest.err >&5
5729 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5730 cat conftest.out >&5
5731 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5732 lt_cv_nm_interface="MS dumpbin
"
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5737 $as_echo "$lt_cv_nm_interface" >&6; }
5739 # find the maximum length of command line arguments
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5741 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5742 if ${lt_cv_sys_max_cmd_len+:} false; then :
5743 $as_echo_n "(cached
) " >&6
5750 # On DJGPP, this test can blow up pretty badly due to problems in libc
5751 # (any single argument exceeding 2000 bytes causes a buffer overrun
5752 # during glob expansion). Even if it were fixed, the result of this
5753 # check would be larger than it should be.
5754 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5758 # Under GNU Hurd, this test is not required because there is
5759 # no limit to the length of command line arguments.
5760 # Libtool will interpret -1 as no limit whatsoever
5761 lt_cv_sys_max_cmd_len=-1;
5764 cygwin* | mingw* | cegcc*)
5765 # On Win9x/ME, this test blows up -- it succeeds, but takes
5766 # about 5 minutes as the teststring grows exponentially.
5767 # Worse, since 9x/ME are not pre-emptively multitasking,
5768 # you end up with a "frozen
" computer, even though with patience
5769 # the test eventually succeeds (with a max line length of 256k).
5770 # Instead, let's just punt: use the minimum linelength reported by
5771 # all of the supported platforms: 8192 (on NT/2K/XP).
5772 lt_cv_sys_max_cmd_len=8192;
5776 # On MiNT this can take a long time and run out of memory.
5777 lt_cv_sys_max_cmd_len=8192;
5781 # On AmigaOS with pdksh, this test takes hours, literally.
5782 # So we just punt and use a minimum line length of 8192.
5783 lt_cv_sys_max_cmd_len=8192;
5786 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5787 # This has been around since 386BSD, at least. Likely further.
5788 if test -x /sbin/sysctl; then
5789 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5790 elif test -x /usr/sbin/sysctl; then
5791 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5793 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5795 # And add a safety zone
5796 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5797 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5801 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5802 lt_cv_sys_max_cmd_len=196608
5806 # The test takes a long time on OS/2.
5807 lt_cv_sys_max_cmd_len=8192
5811 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5812 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5813 # nice to cause kernel panics so lets avoid the loop below.
5814 # First set a reasonable default.
5815 lt_cv_sys_max_cmd_len=16384
5817 if test -x /sbin/sysconfig; then
5818 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5819 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5824 lt_cv_sys_max_cmd_len=102400
5826 sysv5* | sco5v6* | sysv4.2uw2*)
5827 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5828 if test -n "$kargmax"; then
5829 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5831 lt_cv_sys_max_cmd_len=32768
5835 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5836 if test -n "$lt_cv_sys_max_cmd_len" && \
5837 test undefined != "$lt_cv_sys_max_cmd_len"; then
5838 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5839 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5841 # Make teststring a little bigger before we do anything with it.
5842 # a 1K string should be a reasonable start.
5843 for i in 1 2 3 4 5 6 7 8; do
5844 teststring=$teststring$teststring
5846 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5847 # If test is not a shell built-in, we'll probably end up computing a
5848 # maximum length that is only half of the actual maximum length, but
5850 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5851 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5852 test 17 != "$i" # 1/2 MB should be enough
5855 teststring=$teststring$teststring
5857 # Only check the string length outside the loop.
5858 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5860 # Add a significant safety factor because C++ compilers can tack on
5861 # massive amounts of additional arguments before passing them to the
5862 # linker. It appears as though 1/2 is a usable value.
5863 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5870 if test -n "$lt_cv_sys_max_cmd_len"; then
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5872 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5875 $as_echo "none
" >&6; }
5877 max_cmd_len=$lt_cv_sys_max_cmd_len
5888 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5898 # test EBCDIC or ASCII
5899 case `echo X|tr X '\101'` in
5900 A) # ASCII based system
5901 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5902 lt_SP2NL='tr \040 \012'
5903 lt_NL2SP='tr \015\012 \040\040'
5905 *) # EBCDIC based system
5906 lt_SP2NL='tr \100 \n'
5907 lt_NL2SP='tr \r\n \100\100'
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5920 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5921 if ${lt_cv_to_host_file_cmd+:} false; then :
5922 $as_echo_n "(cached
) " >&6
5927 *-*-mingw* ) # actually msys
5928 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5931 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5933 * ) # otherwise, assume *nix
5934 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5940 *-*-mingw* ) # actually msys
5941 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5944 lt_cv_to_host_file_cmd=func_convert_file_noop
5946 * ) # otherwise, assume *nix
5947 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5951 * ) # unhandled hosts (and "normal
" native builds)
5952 lt_cv_to_host_file_cmd=func_convert_file_noop
5958 to_host_file_cmd=$lt_cv_to_host_file_cmd
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5960 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5967 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5968 if ${lt_cv_to_tool_file_cmd+:} false; then :
5969 $as_echo_n "(cached
) " >&6
5971 #assume ordinary cross tools, or native build.
5972 lt_cv_to_tool_file_cmd=func_convert_file_noop
5976 *-*-mingw* ) # actually msys
5977 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5985 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5987 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5994 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5995 if ${lt_cv_ld_reload_flag+:} false; then :
5996 $as_echo_n "(cached
) " >&6
5998 lt_cv_ld_reload_flag='-r'
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6001 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6002 reload_flag=$lt_cv_ld_reload_flag
6003 case $reload_flag in
6005 *) reload_flag=" $reload_flag" ;;
6007 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6009 cygwin* | mingw* | pw32* | cegcc*)
6010 if test yes != "$GCC"; then
6015 if test yes = "$GCC"; then
6016 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6018 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6031 if test -n "$ac_tool_prefix"; then
6032 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6033 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6035 $as_echo_n "checking
for $ac_word...
" >&6; }
6036 if ${ac_cv_prog_OBJDUMP+:} false; then :
6037 $as_echo_n "(cached
) " >&6
6039 if test -n "$OBJDUMP"; then
6040 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 test -z "$as_dir" && as_dir=.
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6049 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6059 OBJDUMP=$ac_cv_prog_OBJDUMP
6060 if test -n "$OBJDUMP"; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6062 $as_echo "$OBJDUMP" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6065 $as_echo "no
" >&6; }
6070 if test -z "$ac_cv_prog_OBJDUMP"; then
6071 ac_ct_OBJDUMP=$OBJDUMP
6072 # Extract the first word of "objdump
", so it can be a program name with args.
6073 set dummy objdump; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6075 $as_echo_n "checking
for $ac_word...
" >&6; }
6076 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6077 $as_echo_n "(cached
) " >&6
6079 if test -n "$ac_ct_OBJDUMP"; then
6080 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6099 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6100 if test -n "$ac_ct_OBJDUMP"; then
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6102 $as_echo "$ac_ct_OBJDUMP" >&6; }
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6105 $as_echo "no
" >&6; }
6108 if test "x
$ac_ct_OBJDUMP" = x; then
6111 case $cross_compiling:$ac_tool_warned in
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6114 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6115 ac_tool_warned=yes ;;
6117 OBJDUMP=$ac_ct_OBJDUMP
6120 OBJDUMP="$ac_cv_prog_OBJDUMP"
6123 test -z "$OBJDUMP" && OBJDUMP=objdump
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6134 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6135 if ${lt_cv_deplibs_check_method+:} false; then :
6136 $as_echo_n "(cached
) " >&6
6138 lt_cv_file_magic_cmd='$MAGIC_CMD'
6139 lt_cv_file_magic_test_file=
6140 lt_cv_deplibs_check_method='unknown'
6141 # Need to set the preceding variable on all platforms that support
6142 # interlibrary dependencies.
6143 # 'none' -- dependencies not supported.
6144 # 'unknown' -- same as none, but documents that we really don't know.
6145 # 'pass_all' -- all dependencies passed with no checks.
6146 # 'test_compile' -- check by making test program.
6147 # 'file_magic [[regex]]' -- check by looking for files in library path
6148 # that responds to the $file_magic_cmd with a given extended regex.
6149 # If you have 'file' or equivalent on your system and you're not sure
6150 # whether 'pass_all' will *always* work, you probably want this one.
6154 lt_cv_deplibs_check_method=pass_all
6158 lt_cv_deplibs_check_method=pass_all
6162 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6163 lt_cv_file_magic_cmd='/usr/bin/file -L'
6164 lt_cv_file_magic_test_file=/shlib/libc.so
6168 # func_win32_libid is a shell function defined in ltmain.sh
6169 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6170 lt_cv_file_magic_cmd='func_win32_libid'
6174 # Base MSYS/MinGW do not provide the 'file' command needed by
6175 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6176 # unless we find 'file', for example because we are cross-compiling.
6177 if ( file / ) >/dev/null 2>&1; then
6178 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6179 lt_cv_file_magic_cmd='func_win32_libid'
6181 # Keep this pattern in sync with the one in func_win32_libid.
6182 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6183 lt_cv_file_magic_cmd='$OBJDUMP -f'
6188 # use the weaker test based on 'objdump'. See mingw*.
6189 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6190 lt_cv_file_magic_cmd='$OBJDUMP -f'
6193 darwin* | rhapsody*)
6194 lt_cv_deplibs_check_method=pass_all
6197 freebsd* | dragonfly*)
6198 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6201 # Not sure whether the presence of OpenBSD here was a mistake.
6202 # Let's accept both of them until this is cleared up.
6203 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6204 lt_cv_file_magic_cmd=/usr/bin/file
6205 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6209 lt_cv_deplibs_check_method=pass_all
6214 lt_cv_deplibs_check_method=pass_all
6217 hpux10.20* | hpux11*)
6218 lt_cv_file_magic_cmd=/usr/bin/file
6221 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6222 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6225 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]'
6226 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6229 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6230 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6236 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6237 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6240 irix5* | irix6* | nonstopux*)
6242 *-32|*"-32 ") libmagic=32-bit;;
6243 *-n32|*"-n32 ") libmagic=N32;;
6244 *-64|*"-64 ") libmagic=64-bit;;
6245 *) libmagic=never-match;;
6247 lt_cv_deplibs_check_method=pass_all
6250 # This must be glibc/ELF.
6251 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6252 lt_cv_deplibs_check_method=pass_all
6256 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6257 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6259 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6264 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6265 lt_cv_file_magic_cmd=/usr/bin/file
6266 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6270 lt_cv_deplibs_check_method=pass_all
6274 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6281 osf3* | osf4* | osf5*)
6282 lt_cv_deplibs_check_method=pass_all
6286 lt_cv_deplibs_check_method=pass_all
6290 lt_cv_deplibs_check_method=pass_all
6293 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6294 lt_cv_deplibs_check_method=pass_all
6298 case $host_vendor in
6300 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]'
6301 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6304 lt_cv_deplibs_check_method=pass_all
6307 lt_cv_file_magic_cmd='/bin/file'
6308 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6311 lt_cv_file_magic_cmd='/bin/file'
6312 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6313 lt_cv_file_magic_test_file=/lib/libc.so
6316 lt_cv_deplibs_check_method=pass_all
6319 lt_cv_deplibs_check_method=pass_all
6325 lt_cv_deplibs_check_method=pass_all
6328 lt_cv_deplibs_check_method=pass_all
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6334 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6338 if test "$build" = "$host"; then
6341 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6344 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6350 file_magic_cmd=$lt_cv_file_magic_cmd
6351 deplibs_check_method=$lt_cv_deplibs_check_method
6352 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6375 if test -n "$ac_tool_prefix"; then
6376 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6377 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6379 $as_echo_n "checking
for $ac_word...
" >&6; }
6380 if ${ac_cv_prog_DLLTOOL+:} false; then :
6381 $as_echo_n "(cached
) " >&6
6383 if test -n "$DLLTOOL"; then
6384 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 test -z "$as_dir" && as_dir=.
6391 for ac_exec_ext in '' $ac_executable_extensions; do
6392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6393 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6403 DLLTOOL=$ac_cv_prog_DLLTOOL
6404 if test -n "$DLLTOOL"; then
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6406 $as_echo "$DLLTOOL" >&6; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6409 $as_echo "no
" >&6; }
6414 if test -z "$ac_cv_prog_DLLTOOL"; then
6415 ac_ct_DLLTOOL=$DLLTOOL
6416 # Extract the first word of "dlltool
", so it can be a program name with args.
6417 set dummy dlltool; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6419 $as_echo_n "checking
for $ac_word...
" >&6; }
6420 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6421 $as_echo_n "(cached
) " >&6
6423 if test -n "$ac_ct_DLLTOOL"; then
6424 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6433 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6443 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6444 if test -n "$ac_ct_DLLTOOL"; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6446 $as_echo "$ac_ct_DLLTOOL" >&6; }
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6449 $as_echo "no
" >&6; }
6452 if test "x
$ac_ct_DLLTOOL" = x; then
6455 case $cross_compiling:$ac_tool_warned in
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6458 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6459 ac_tool_warned=yes ;;
6461 DLLTOOL=$ac_ct_DLLTOOL
6464 DLLTOOL="$ac_cv_prog_DLLTOOL"
6467 test -z "$DLLTOOL" && DLLTOOL=dlltool
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6479 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
6480 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6481 $as_echo_n "(cached
) " >&6
6483 lt_cv_sharedlib_from_linklib_cmd='unknown'
6486 cygwin* | mingw* | pw32* | cegcc*)
6487 # two different shell functions defined in ltmain.sh;
6488 # decide which one to use based on capabilities of $DLLTOOL
6489 case `$DLLTOOL --help 2>&1` in
6490 *--identify-strict*)
6491 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6494 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6499 # fallback: assume linklib IS sharedlib
6500 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6506 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6507 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6508 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6517 if test -n "$ac_tool_prefix"; then
6520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6523 $as_echo_n "checking
for $ac_word...
" >&6; }
6524 if ${ac_cv_prog_AR+:} false; then :
6525 $as_echo_n "(cached
) " >&6
6527 if test -n "$AR"; then
6528 ac_cv_prog_AR="$AR" # Let the user override the test.
6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 test -z "$as_dir" && as_dir=.
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6537 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6548 if test -n "$AR"; then
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6550 $as_echo "$AR" >&6; }
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6553 $as_echo "no
" >&6; }
6557 test -n "$AR" && break
6560 if test -z "$AR"; then
6564 # Extract the first word of "$ac_prog", so it can be a program name with args.
6565 set dummy $ac_prog; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6567 $as_echo_n "checking
for $ac_word...
" >&6; }
6568 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6569 $as_echo_n "(cached
) " >&6
6571 if test -n "$ac_ct_AR"; then
6572 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 test -z "$as_dir" && as_dir=.
6579 for ac_exec_ext in '' $ac_executable_extensions; do
6580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6581 ac_cv_prog_ac_ct_AR="$ac_prog"
6582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6591 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6592 if test -n "$ac_ct_AR"; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6594 $as_echo "$ac_ct_AR" >&6; }
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6597 $as_echo "no
" >&6; }
6601 test -n "$ac_ct_AR" && break
6604 if test "x
$ac_ct_AR" = x; then
6607 case $cross_compiling:$ac_tool_warned in
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6610 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6611 ac_tool_warned=yes ;;
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6631 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
6632 if ${lt_cv_ar_at_file+:} false; then :
6633 $as_echo_n "(cached
) " >&6
6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6647 if ac_fn_c_try_compile "$LINENO"; then :
6648 echo conftest.$ac_objext > conftest.lst
6649 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6650 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6651 (eval $lt_ar_try) 2>&5
6653 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6654 test $ac_status = 0; }
6655 if test 0 -eq "$ac_status"; then
6656 # Ensure the archiver fails upon bogus file names.
6657 rm -f conftest.$ac_objext libconftest.a
6658 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6659 (eval $lt_ar_try) 2>&5
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6662 test $ac_status = 0; }
6663 if test 0 -ne "$ac_status"; then
6667 rm -f conftest.* libconftest.a
6670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6674 $as_echo "$lt_cv_ar_at_file" >&6; }
6676 if test no = "$lt_cv_ar_at_file"; then
6679 archiver_list_spec=$lt_cv_ar_at_file
6688 if test -n "$ac_tool_prefix"; then
6689 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6690 set dummy ${ac_tool_prefix}strip; ac_word=$2
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6692 $as_echo_n "checking
for $ac_word...
" >&6; }
6693 if ${ac_cv_prog_STRIP+:} false; then :
6694 $as_echo_n "(cached
) " >&6
6696 if test -n "$STRIP"; then
6697 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 test -z "$as_dir" && as_dir=.
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6716 STRIP=$ac_cv_prog_STRIP
6717 if test -n "$STRIP"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6719 $as_echo "$STRIP" >&6; }
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6722 $as_echo "no
" >&6; }
6727 if test -z "$ac_cv_prog_STRIP"; then
6729 # Extract the first word of "strip
", so it can be a program name with args.
6730 set dummy strip; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6732 $as_echo_n "checking
for $ac_word...
" >&6; }
6733 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6734 $as_echo_n "(cached
) " >&6
6736 if test -n "$ac_ct_STRIP"; then
6737 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_ac_ct_STRIP="strip
"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6756 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6757 if test -n "$ac_ct_STRIP"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6759 $as_echo "$ac_ct_STRIP" >&6; }
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6762 $as_echo "no
" >&6; }
6765 if test "x
$ac_ct_STRIP" = x; then
6768 case $cross_compiling:$ac_tool_warned in
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6771 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6772 ac_tool_warned=yes ;;
6777 STRIP="$ac_cv_prog_STRIP"
6780 test -z "$STRIP" && STRIP=:
6787 if test -n "$ac_tool_prefix"; then
6788 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6789 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6791 $as_echo_n "checking
for $ac_word...
" >&6; }
6792 if ${ac_cv_prog_RANLIB+:} false; then :
6793 $as_echo_n "(cached
) " >&6
6795 if test -n "$RANLIB"; then
6796 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 test -z "$as_dir" && as_dir=.
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6806 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6815 RANLIB=$ac_cv_prog_RANLIB
6816 if test -n "$RANLIB"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6818 $as_echo "$RANLIB" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6821 $as_echo "no
" >&6; }
6826 if test -z "$ac_cv_prog_RANLIB"; then
6827 ac_ct_RANLIB=$RANLIB
6828 # Extract the first word of "ranlib
", so it can be a program name with args.
6829 set dummy ranlib; ac_word=$2
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6831 $as_echo_n "checking
for $ac_word...
" >&6; }
6832 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6833 $as_echo_n "(cached
) " >&6
6835 if test -n "$ac_ct_RANLIB"; then
6836 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6842 test -z "$as_dir" && as_dir=.
6843 for ac_exec_ext in '' $ac_executable_extensions; do
6844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6845 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6855 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6856 if test -n "$ac_ct_RANLIB"; then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6858 $as_echo "$ac_ct_RANLIB" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6861 $as_echo "no
" >&6; }
6864 if test "x
$ac_ct_RANLIB" = x; then
6867 case $cross_compiling:$ac_tool_warned in
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6870 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6871 ac_tool_warned=yes ;;
6873 RANLIB=$ac_ct_RANLIB
6876 RANLIB="$ac_cv_prog_RANLIB"
6879 test -z "$RANLIB" && RANLIB=:
6886 # Determine commands to create old-style static archives.
6887 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6888 old_postinstall_cmds='chmod 644 $oldlib'
6889 old_postuninstall_cmds=
6891 if test -n "$RANLIB"; then
6894 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6897 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6900 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6905 lock_old_archive_extraction=yes ;;
6907 lock_old_archive_extraction=no ;;
6948 # If no C compiler was specified, use CC.
6951 # If no C compiler flags were specified, use CFLAGS.
6952 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6954 # Allow CC to be a program name with arguments.
6958 # Check for command to grab the raw symbol name followed by C symbol from nm.
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6960 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6961 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6962 $as_echo_n "(cached
) " >&6
6965 # These are sane defaults that work on at least a few old systems.
6966 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6968 # Character class describing NM global symbol codes.
6969 symcode='[BCDEGRST]'
6971 # Regexp to match symbols that can be accessed directly from C.
6972 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6974 # Define system-specific variables.
6979 cygwin* | mingw* | pw32* | cegcc*)
6980 symcode='[ABCDGISTW]'
6983 if test ia64 = "$host_cpu"; then
6984 symcode='[ABCDEGRST]'
6988 symcode='[BCDEGRST]'
6991 symcode='[BCDEGQRST]'
7002 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7010 # If we're using GNU nm, then use its standard symbol codes.
7011 case `$NM -V 2>&1` in
7012 *GNU* | *'with BFD'*)
7013 symcode='[ABCDGIRSTW]' ;;
7016 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7017 # Gets list of data symbols to import.
7018 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7019 # Adjust the below global symbol transforms to fixup imported variables.
7020 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7021 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
7022 lt_c_name_lib_hook="\
7023 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
7024 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
7026 # Disable hooks by default.
7027 lt_cv_sys_global_symbol_to_import=
7033 # Transform an extracted symbol line into a proper C declaration.
7034 # Some systems (esp. on ia64) link data and code symbols differently,
7035 # so use this general approach.
7036 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7038 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7039 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7041 # Transform an extracted symbol line into symbol name and symbol address
7042 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7044 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7045 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
7047 # Transform an extracted symbol line into symbol name with lib prefix and
7049 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7050 $lt_c_name_lib_hook\
7051 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
7052 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
7053 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
7055 # Handle CRLF in mingw tool chain
7059 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7063 # Try without a prefix underscore, then with it.
7064 for ac_symprfx in "" "_
"; do
7066 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7067 symxfrm="\\1 $ac_symprfx\\2 \\2"
7069 # Write the raw and C identifiers.
7070 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7071 # Fake it for dumpbin and say T for any non-static function,
7072 # D for any global variable and I for any imported variable.
7073 # Also find C++ and __fastcall symbols from MSVC++,
7074 # which start with @ or ?.
7075 lt_cv_sys_global_symbol_pipe="$AWK '"\
7076 " {last_section=section; section=\$ 3};"\
7077 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7078 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7079 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7080 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7081 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7082 " \$ 0!~/External *\|/{next};"\
7083 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7084 " {if(hide[section]) next};"\
7085 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7086 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7087 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7088 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7089 " ' prfx
=^
$ac_symprfx"
7091 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7093 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7095 # Check to see that the pipe works correctly.
7099 cat > conftest.$ac_ext <<_LT_EOF
7104 void nm_test_func(void);
7105 void nm_test_func(void){}
7109 int main(){nm_test_var='a';nm_test_func();return(0);}
7112 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7113 (eval $ac_compile) 2>&5
7115 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7116 test $ac_status = 0; }; then
7117 # Now try to grab the symbols.
7119 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7120 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7122 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7123 test $ac_status = 0; } && test -s "$nlist"; then
7124 # Try sorting and uniquifying the output.
7125 if sort "$nlist" | uniq > "$nlist"T; then
7126 mv -f "$nlist"T "$nlist"
7131 # Make sure that we snagged all the symbols we need.
7132 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7133 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7134 cat <<_LT_EOF > conftest.$ac_ext
7135 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7136 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7137 /* DATA imports from DLLs on WIN32 can't be const, because runtime
7138 relocations are performed -- see ld's documentation on pseudo-relocs. */
7139 # define LT_DLSYM_CONST
7140 #elif defined __osf__
7141 /* This system does not cope well with relocations in const data. */
7142 # define LT_DLSYM_CONST
7144 # define LT_DLSYM_CONST const
7152 # Now generate the symbol file.
7153 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7155 cat <<_LT_EOF >> conftest.$ac_ext
7157 /* The mapping between symbol names and symbols. */
7158 LT_DLSYM_CONST struct {
7162 lt__PROGRAM__LTX_preloaded_symbols[] =
7164 { "@PROGRAM@
", (void *) 0 },
7166 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7167 cat <<\_LT_EOF >> conftest.$ac_ext
7171 /* This works around a problem in FreeBSD linker */
7172 #ifdef FREEBSD_WORKAROUND
7173 static const void *lt_preloaded_setup() {
7174 return lt__PROGRAM__LTX_preloaded_symbols;
7182 # Now try linking the two files.
7183 mv conftest.$ac_objext conftstm.$ac_objext
7184 lt_globsym_save_LIBS=$LIBS
7185 lt_globsym_save_CFLAGS=$CFLAGS
7186 LIBS=conftstm.$ac_objext
7187 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7188 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7189 (eval $ac_link) 2>&5
7191 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7192 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7195 LIBS=$lt_globsym_save_LIBS
7196 CFLAGS=$lt_globsym_save_CFLAGS
7198 echo "cannot
find nm_test_func
in $nlist" >&5
7201 echo "cannot
find nm_test_var
in $nlist" >&5
7204 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7207 echo "$progname: failed program was
:" >&5
7208 cat conftest.$ac_ext >&5
7210 rm -rf conftest* conftst*
7212 # Do not use the global_symbol_pipe unless it works.
7213 if test yes = "$pipe_works"; then
7216 lt_cv_sys_global_symbol_pipe=
7222 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7223 lt_cv_sys_global_symbol_to_cdecl=
7225 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7227 $as_echo "failed
" >&6; }
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7230 $as_echo "ok
" >&6; }
7233 # Response file support.
7234 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7235 nm_file_list_spec='@'
7236 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7237 nm_file_list_spec='@'
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7277 $as_echo_n "checking
for sysroot...
" >&6; }
7279 # Check whether --with-sysroot was given.
7280 if test "${with_sysroot+set}" = set; then :
7281 withval=$with_sysroot;
7288 case $with_sysroot in #(
7290 if test yes = "$GCC"; then
7291 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7295 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7301 $as_echo "$with_sysroot" >&6; }
7302 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7307 $as_echo "${lt_sysroot:-no}" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7314 $as_echo_n "checking
for a working
dd...
" >&6; }
7315 if ${ac_cv_path_lt_DD+:} false; then :
7316 $as_echo_n "(cached
) " >&6
7318 printf 0123456789abcdef0123456789abcdef >conftest.i
7319 cat conftest.i conftest.i >conftest2.i
7321 if test -z "$lt_DD"; then
7322 ac_path_lt_DD_found=false
7323 # Loop through the user's path and test for each of PROGNAME-LIST
7324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 test -z "$as_dir" && as_dir=.
7329 for ac_prog in dd; do
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7332 as_fn_executable_p "$ac_path_lt_DD" || continue
7333 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7334 cmp -s conftest.i conftest.out \
7335 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7337 $ac_path_lt_DD_found && break 3
7342 if test -z "$ac_cv_path_lt_DD"; then
7346 ac_cv_path_lt_DD=$lt_DD
7349 rm -f conftest.i conftest2.i conftest.out
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7352 $as_echo "$ac_cv_path_lt_DD" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7356 $as_echo_n "checking how to truncate binary pipes...
" >&6; }
7357 if ${lt_cv_truncate_bin+:} false; then :
7358 $as_echo_n "(cached
) " >&6
7360 printf 0123456789abcdef0123456789abcdef >conftest.i
7361 cat conftest.i conftest.i >conftest2.i
7363 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7364 cmp -s conftest.i conftest.out \
7365 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7367 rm -f conftest.i conftest2.i conftest.out
7368 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7371 $as_echo "$lt_cv_truncate_bin" >&6; }
7379 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7382 for cc_temp in $*""; do
7384 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7385 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7390 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7393 # Check whether --enable-libtool-lock was given.
7394 if test "${enable_libtool_lock+set}" = set; then :
7395 enableval=$enable_libtool_lock;
7398 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7400 # Some flags need to be propagated to the compiler or linker for good
7404 # Find out what ABI is being produced by ac_compile, and set mode
7405 # options accordingly.
7406 echo 'int i;' > conftest.$ac_ext
7407 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7408 (eval $ac_compile) 2>&5
7410 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7411 test $ac_status = 0; }; then
7412 case `/usr/bin/file conftest.$ac_objext` in
7424 # Find out what ABI is being produced by ac_compile, and set linker
7425 # options accordingly.
7426 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7427 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7428 (eval $ac_compile) 2>&5
7430 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7431 test $ac_status = 0; }; then
7432 if test yes = "$lt_cv_prog_gnu_ld"; then
7433 case `/usr/bin/file conftest.$ac_objext` in
7435 LD="${LD-ld} -melf32bsmip"
7438 LD="${LD-ld} -melf32bmipn32"
7441 LD="${LD-ld} -melf64bmip"
7445 case `/usr/bin/file conftest.$ac_objext` in
7462 # Find out what ABI is being produced by ac_compile, and set linker
7463 # options accordingly.
7464 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7465 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7466 (eval $ac_compile) 2>&5
7468 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7469 test $ac_status = 0; }; then
7471 case `/usr/bin/file conftest.$ac_objext` in
7479 case `/usr/bin/file conftest.$ac_objext` in
7481 emul="${emul}btsmip
"
7484 emul="${emul}ltsmip
"
7487 case `/usr/bin/file conftest.$ac_objext` in
7492 LD="${LD-ld} -m $emul"
7497 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7498 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7499 # Find out what ABI is being produced by ac_compile, and set linker
7500 # options accordingly. Note that the listed cases only cover the
7501 # situations where additional linker options are needed (such as when
7502 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7503 # vice versa); the common cases where no linker options are needed do
7504 # not appear in the list.
7505 echo 'int i;' > conftest.$ac_ext
7506 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7507 (eval $ac_compile) 2>&5
7509 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7510 test $ac_status = 0; }; then
7511 case `/usr/bin/file conftest.o` in
7514 x86_64-*kfreebsd*-gnu)
7515 LD="${LD-ld} -m elf_i386_fbsd
"
7518 case `/usr/bin/file conftest.o` in
7520 LD="${LD-ld} -m elf32_x86_64
"
7523 LD="${LD-ld} -m elf_i386
"
7527 powerpc64le-*linux*)
7528 LD="${LD-ld} -m elf32lppclinux
"
7531 LD="${LD-ld} -m elf32ppclinux
"
7534 LD="${LD-ld} -m elf_s390
"
7537 LD="${LD-ld} -m elf32_sparc
"
7543 x86_64-*kfreebsd*-gnu)
7544 LD="${LD-ld} -m elf_x86_64_fbsd
"
7547 LD="${LD-ld} -m elf_x86_64
"
7550 LD="${LD-ld} -m elf64lppc
"
7553 LD="${LD-ld} -m elf64ppc
"
7555 s390*-*linux*|s390*-*tpf*)
7556 LD="${LD-ld} -m elf64_s390
"
7559 LD="${LD-ld} -m elf64_sparc
"
7569 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7571 CFLAGS="$CFLAGS -belf"
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7573 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7574 if ${lt_cv_cc_needs_belf+:} false; then :
7575 $as_echo_n "(cached
) " >&6
7578 ac_cpp='$CPP $CPPFLAGS'
7579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584 /* end confdefs.h. */
7594 if ac_fn_c_try_link "$LINENO"; then :
7595 lt_cv_cc_needs_belf=yes
7597 lt_cv_cc_needs_belf=no
7599 rm -f core conftest.err conftest.$ac_objext \
7600 conftest$ac_exeext conftest.$ac_ext
7602 ac_cpp='$CPP $CPPFLAGS'
7603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7609 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7610 if test yes != "$lt_cv_cc_needs_belf"; then
7611 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7616 # Find out what ABI is being produced by ac_compile, and set linker
7617 # options accordingly.
7618 echo 'int i;' > conftest.$ac_ext
7619 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7620 (eval $ac_compile) 2>&5
7622 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7623 test $ac_status = 0; }; then
7624 case `/usr/bin/file conftest.o` in
7626 case $lt_cv_prog_gnu_ld in
7629 i?86-*-solaris*|x86_64-*-solaris*)
7630 LD="${LD-ld} -m elf_x86_64
"
7633 LD="${LD-ld} -m elf64_sparc
"
7636 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7637 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7642 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7654 need_locks=$enable_libtool_lock
7656 if test -n "$ac_tool_prefix"; then
7657 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7658 set dummy ${ac_tool_prefix}mt; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7660 $as_echo_n "checking
for $ac_word...
" >&6; }
7661 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7662 $as_echo_n "(cached
) " >&6
7664 if test -n "$MANIFEST_TOOL"; then
7665 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir=.
7672 for ac_exec_ext in '' $ac_executable_extensions; do
7673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7674 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7684 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7685 if test -n "$MANIFEST_TOOL"; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7687 $as_echo "$MANIFEST_TOOL" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7690 $as_echo "no
" >&6; }
7695 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7696 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7697 # Extract the first word of "mt
", so it can be a program name with args.
7698 set dummy mt; ac_word=$2
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7700 $as_echo_n "checking
for $ac_word...
" >&6; }
7701 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7702 $as_echo_n "(cached
) " >&6
7704 if test -n "$ac_ct_MANIFEST_TOOL"; then
7705 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7711 test -z "$as_dir" && as_dir=.
7712 for ac_exec_ext in '' $ac_executable_extensions; do
7713 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7714 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7724 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7725 if test -n "$ac_ct_MANIFEST_TOOL"; then
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7727 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7730 $as_echo "no
" >&6; }
7733 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7736 case $cross_compiling:$ac_tool_warned in
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7739 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7740 ac_tool_warned=yes ;;
7742 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7745 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7748 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7750 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7751 if ${lt_cv_path_mainfest_tool+:} false; then :
7752 $as_echo_n "(cached
) " >&6
7754 lt_cv_path_mainfest_tool=no
7755 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7756 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7757 cat conftest.err >&5
7758 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7759 lt_cv_path_mainfest_tool=yes
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7764 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7765 if test yes != "$lt_cv_path_mainfest_tool"; then
7775 rhapsody* | darwin*)
7776 if test -n "$ac_tool_prefix"; then
7777 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7778 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7780 $as_echo_n "checking
for $ac_word...
" >&6; }
7781 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7782 $as_echo_n "(cached
) " >&6
7784 if test -n "$DSYMUTIL"; then
7785 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 test -z "$as_dir" && as_dir=.
7792 for ac_exec_ext in '' $ac_executable_extensions; do
7793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7794 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7804 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7805 if test -n "$DSYMUTIL"; then
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7807 $as_echo "$DSYMUTIL" >&6; }
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7810 $as_echo "no
" >&6; }
7815 if test -z "$ac_cv_prog_DSYMUTIL"; then
7816 ac_ct_DSYMUTIL=$DSYMUTIL
7817 # Extract the first word of "dsymutil
", so it can be a program name with args.
7818 set dummy dsymutil; ac_word=$2
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7820 $as_echo_n "checking
for $ac_word...
" >&6; }
7821 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7822 $as_echo_n "(cached
) " >&6
7824 if test -n "$ac_ct_DSYMUTIL"; then
7825 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7834 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7844 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7845 if test -n "$ac_ct_DSYMUTIL"; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7847 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7850 $as_echo "no
" >&6; }
7853 if test "x
$ac_ct_DSYMUTIL" = x; then
7856 case $cross_compiling:$ac_tool_warned in
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7859 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7860 ac_tool_warned=yes ;;
7862 DSYMUTIL=$ac_ct_DSYMUTIL
7865 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7868 if test -n "$ac_tool_prefix"; then
7869 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7870 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7872 $as_echo_n "checking
for $ac_word...
" >&6; }
7873 if ${ac_cv_prog_NMEDIT+:} false; then :
7874 $as_echo_n "(cached
) " >&6
7876 if test -n "$NMEDIT"; then
7877 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 test -z "$as_dir" && as_dir=.
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7896 NMEDIT=$ac_cv_prog_NMEDIT
7897 if test -n "$NMEDIT"; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7899 $as_echo "$NMEDIT" >&6; }
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7902 $as_echo "no
" >&6; }
7907 if test -z "$ac_cv_prog_NMEDIT"; then
7908 ac_ct_NMEDIT=$NMEDIT
7909 # Extract the first word of "nmedit
", so it can be a program name with args.
7910 set dummy nmedit; ac_word=$2
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7912 $as_echo_n "checking
for $ac_word...
" >&6; }
7913 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7914 $as_echo_n "(cached
) " >&6
7916 if test -n "$ac_ct_NMEDIT"; then
7917 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7926 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7936 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7937 if test -n "$ac_ct_NMEDIT"; then
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7939 $as_echo "$ac_ct_NMEDIT" >&6; }
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7942 $as_echo "no
" >&6; }
7945 if test "x
$ac_ct_NMEDIT" = x; then
7948 case $cross_compiling:$ac_tool_warned in
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7951 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7952 ac_tool_warned=yes ;;
7954 NMEDIT=$ac_ct_NMEDIT
7957 NMEDIT="$ac_cv_prog_NMEDIT"
7960 if test -n "$ac_tool_prefix"; then
7961 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7962 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7964 $as_echo_n "checking
for $ac_word...
" >&6; }
7965 if ${ac_cv_prog_LIPO+:} false; then :
7966 $as_echo_n "(cached
) " >&6
7968 if test -n "$LIPO"; then
7969 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir=.
7976 for ac_exec_ext in '' $ac_executable_extensions; do
7977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7978 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7988 LIPO=$ac_cv_prog_LIPO
7989 if test -n "$LIPO"; then
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7991 $as_echo "$LIPO" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7994 $as_echo "no
" >&6; }
7999 if test -z "$ac_cv_prog_LIPO"; then
8001 # Extract the first word of "lipo
", so it can be a program name with args.
8002 set dummy lipo; ac_word=$2
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8004 $as_echo_n "checking
for $ac_word...
" >&6; }
8005 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8006 $as_echo_n "(cached
) " >&6
8008 if test -n "$ac_ct_LIPO"; then
8009 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir=.
8016 for ac_exec_ext in '' $ac_executable_extensions; do
8017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_ac_ct_LIPO="lipo
"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8028 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8029 if test -n "$ac_ct_LIPO"; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8031 $as_echo "$ac_ct_LIPO" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8034 $as_echo "no
" >&6; }
8037 if test "x
$ac_ct_LIPO" = x; then
8040 case $cross_compiling:$ac_tool_warned in
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8043 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8044 ac_tool_warned=yes ;;
8049 LIPO="$ac_cv_prog_LIPO"
8052 if test -n "$ac_tool_prefix"; then
8053 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8054 set dummy ${ac_tool_prefix}otool; ac_word=$2
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8056 $as_echo_n "checking
for $ac_word...
" >&6; }
8057 if ${ac_cv_prog_OTOOL+:} false; then :
8058 $as_echo_n "(cached
) " >&6
8060 if test -n "$OTOOL"; then
8061 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8067 test -z "$as_dir" && as_dir=.
8068 for ac_exec_ext in '' $ac_executable_extensions; do
8069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8070 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8080 OTOOL=$ac_cv_prog_OTOOL
8081 if test -n "$OTOOL"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8083 $as_echo "$OTOOL" >&6; }
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8086 $as_echo "no
" >&6; }
8091 if test -z "$ac_cv_prog_OTOOL"; then
8093 # Extract the first word of "otool
", so it can be a program name with args.
8094 set dummy otool; ac_word=$2
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8096 $as_echo_n "checking
for $ac_word...
" >&6; }
8097 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8098 $as_echo_n "(cached
) " >&6
8100 if test -n "$ac_ct_OTOOL"; then
8101 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8107 test -z "$as_dir" && as_dir=.
8108 for ac_exec_ext in '' $ac_executable_extensions; do
8109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8110 ac_cv_prog_ac_ct_OTOOL="otool
"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8120 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8121 if test -n "$ac_ct_OTOOL"; then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8123 $as_echo "$ac_ct_OTOOL" >&6; }
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8126 $as_echo "no
" >&6; }
8129 if test "x
$ac_ct_OTOOL" = x; then
8132 case $cross_compiling:$ac_tool_warned in
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8135 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8136 ac_tool_warned=yes ;;
8141 OTOOL="$ac_cv_prog_OTOOL"
8144 if test -n "$ac_tool_prefix"; then
8145 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8146 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8148 $as_echo_n "checking
for $ac_word...
" >&6; }
8149 if ${ac_cv_prog_OTOOL64+:} false; then :
8150 $as_echo_n "(cached
) " >&6
8152 if test -n "$OTOOL64"; then
8153 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8172 OTOOL64=$ac_cv_prog_OTOOL64
8173 if test -n "$OTOOL64"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8175 $as_echo "$OTOOL64" >&6; }
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8178 $as_echo "no
" >&6; }
8183 if test -z "$ac_cv_prog_OTOOL64"; then
8184 ac_ct_OTOOL64=$OTOOL64
8185 # Extract the first word of "otool64
", so it can be a program name with args.
8186 set dummy otool64; ac_word=$2
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8188 $as_echo_n "checking
for $ac_word...
" >&6; }
8189 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8190 $as_echo_n "(cached
) " >&6
8192 if test -n "$ac_ct_OTOOL64"; then
8193 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8199 test -z "$as_dir" && as_dir=.
8200 for ac_exec_ext in '' $ac_executable_extensions; do
8201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8202 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8212 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8213 if test -n "$ac_ct_OTOOL64"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8215 $as_echo "$ac_ct_OTOOL64" >&6; }
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8218 $as_echo "no
" >&6; }
8221 if test "x
$ac_ct_OTOOL64" = x; then
8224 case $cross_compiling:$ac_tool_warned in
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8227 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8228 ac_tool_warned=yes ;;
8230 OTOOL64=$ac_ct_OTOOL64
8233 OTOOL64="$ac_cv_prog_OTOOL64"
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8263 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8264 if ${lt_cv_apple_cc_single_mod+:} false; then :
8265 $as_echo_n "(cached
) " >&6
8267 lt_cv_apple_cc_single_mod=no
8268 if test -z "$LT_MULTI_MODULE"; then
8269 # By default we will add the -single_module flag. You can override
8270 # by either setting the environment variable LT_MULTI_MODULE
8271 # non-empty at configure time, or by adding -multi_module to the
8273 rm -rf libconftest.dylib*
8274 echo "int foo
(void
){return 1;}" > conftest.c
8275 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8276 -dynamiclib -Wl,-single_module conftest.c
" >&5
8277 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8278 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8280 # If there is a non-empty error log, and "single_module
"
8281 # appears in it, assume the flag caused a linker warning
8282 if test -s conftest.err && $GREP single_module conftest.err; then
8283 cat conftest.err >&5
8284 # Otherwise, if the output was created with a 0 exit code from
8285 # the compiler, it worked.
8286 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8287 lt_cv_apple_cc_single_mod=yes
8289 cat conftest.err >&5
8291 rm -rf libconftest.dylib*
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8296 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8299 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8300 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8301 $as_echo_n "(cached
) " >&6
8303 lt_cv_ld_exported_symbols_list=no
8304 save_LDFLAGS=$LDFLAGS
8305 echo "_main
" > conftest.sym
8306 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8318 if ac_fn_c_try_link "$LINENO"; then :
8319 lt_cv_ld_exported_symbols_list=yes
8321 lt_cv_ld_exported_symbols_list=no
8323 rm -f core conftest.err conftest.$ac_objext \
8324 conftest$ac_exeext conftest.$ac_ext
8325 LDFLAGS=$save_LDFLAGS
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8329 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8332 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8333 if ${lt_cv_ld_force_load+:} false; then :
8334 $as_echo_n "(cached
) " >&6
8336 lt_cv_ld_force_load=no
8337 cat > conftest.c << _LT_EOF
8338 int forced_loaded() { return 2;}
8340 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8341 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8342 echo "$AR cru libconftest.a conftest.o
" >&5
8343 $AR cru libconftest.a conftest.o 2>&5
8344 echo "$RANLIB libconftest.a
" >&5
8345 $RANLIB libconftest.a 2>&5
8346 cat > conftest.c << _LT_EOF
8347 int main() { return 0;}
8349 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8350 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8352 if test -s conftest.err && $GREP force_load conftest.err; then
8353 cat conftest.err >&5
8354 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8355 lt_cv_ld_force_load=yes
8357 cat conftest.err >&5
8359 rm -f conftest.err libconftest.a conftest conftest.c
8360 rm -rf conftest.dSYM
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8364 $as_echo "$lt_cv_ld_force_load" >&6; }
8366 rhapsody* | darwin1.[012])
8367 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8369 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8370 darwin*) # darwin 5.x on
8371 # if running on 10.5 or later, the deployment target defaults
8372 # to the OS version, if on x86, and 10.4, the deployment
8373 # target defaults to 10.4. Don't you love it?
8374 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8375 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8376 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8378 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8380 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8384 if test yes = "$lt_cv_apple_cc_single_mod"; then
8385 _lt_dar_single_mod='$single_module'
8387 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8388 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8390 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8392 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8393 _lt_dsymutil='~$DSYMUTIL $lib || :'
8400 # func_munge_path_list VARIABLE PATH
8401 # -----------------------------------
8402 # VARIABLE is name of variable containing _space_ separated list of
8403 # directories to be munged by the contents of PATH, which is string
8406 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8408 # string "DIR
[ DIR
]" will be appended to VARIABLE
8409 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8410 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8411 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8413 # VARIABLE will be replaced by "DIR
[ DIR
]"
8414 func_munge_path_list ()
8420 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8423 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8426 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8427 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8430 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8436 ac_cpp='$CPP $CPPFLAGS'
8437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
8441 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
8442 # On Suns, sometimes $CPP names a directory.
8443 if test -n "$CPP" && test -d "$CPP"; then
8446 if test -z "$CPP"; then
8447 if ${ac_cv_prog_CPP+:} false; then :
8448 $as_echo_n "(cached
) " >&6
8450 # Double quotes because CPP needs to be expanded
8451 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
8454 for ac_c_preproc_warn_flag in '' yes
8456 # Use a header file that comes with gcc, so configuring glibc
8457 # with a fresh cross-compiler works.
8458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8459 # <limits.h> exists even on freestanding compilers.
8460 # On the NeXT, cc -E runs the code through the compiler's parser,
8461 # not just through cpp. "Syntax error
" is here to catch this case.
8462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8465 # include <limits.h>
8467 # include <assert.h>
8471 if ac_fn_c_try_cpp "$LINENO"; then :
8474 # Broken: fails on valid input.
8477 rm -f conftest.err conftest.i conftest.$ac_ext
8479 # OK, works on sane cases. Now check whether nonexistent headers
8480 # can be detected and how.
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 #include <ac_nonexistent.h>
8485 if ac_fn_c_try_cpp "$LINENO"; then :
8486 # Broken: success on invalid input.
8489 # Passes both tests.
8493 rm -f conftest.err conftest.i conftest.$ac_ext
8496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8497 rm -f conftest.i conftest.err conftest.$ac_ext
8498 if $ac_preproc_ok; then :
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
8511 $as_echo "$CPP" >&6; }
8513 for ac_c_preproc_warn_flag in '' yes
8515 # Use a header file that comes with gcc, so configuring glibc
8516 # with a fresh cross-compiler works.
8517 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8518 # <limits.h> exists even on freestanding compilers.
8519 # On the NeXT, cc -E runs the code through the compiler's parser,
8520 # not just through cpp. "Syntax error
" is here to catch this case.
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8524 # include <limits.h>
8526 # include <assert.h>
8530 if ac_fn_c_try_cpp "$LINENO"; then :
8533 # Broken: fails on valid input.
8536 rm -f conftest.err conftest.i conftest.$ac_ext
8538 # OK, works on sane cases. Now check whether nonexistent headers
8539 # can be detected and how.
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8542 #include <ac_nonexistent.h>
8544 if ac_fn_c_try_cpp "$LINENO"; then :
8545 # Broken: success on invalid input.
8548 # Passes both tests.
8552 rm -f conftest.err conftest.i conftest.$ac_ext
8555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8556 rm -f conftest.i conftest.err conftest.$ac_ext
8557 if $ac_preproc_ok; then :
8560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
8561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8562 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8563 See \`config.log' for more details
" "$LINENO" 5; }
8567 ac_cpp='$CPP $CPPFLAGS'
8568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8574 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8575 if ${ac_cv_header_stdc+:} false; then :
8576 $as_echo_n "(cached
) " >&6
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8593 if ac_fn_c_try_compile "$LINENO"; then :
8594 ac_cv_header_stdc=yes
8596 ac_cv_header_stdc=no
8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8600 if test $ac_cv_header_stdc = yes; then
8601 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 /* end confdefs.h. */
8607 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8608 $EGREP "memchr
" >/dev/null 2>&1; then :
8611 ac_cv_header_stdc=no
8617 if test $ac_cv_header_stdc = yes; then
8618 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8624 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8625 $EGREP "free
" >/dev/null 2>&1; then :
8628 ac_cv_header_stdc=no
8634 if test $ac_cv_header_stdc = yes; then
8635 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8636 if test "$cross_compiling" = yes; then :
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8640 /* end confdefs.h. */
8643 #if ((' ' & 0x0FF) == 0x020)
8644 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8645 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8647 # define ISLOWER(c) \
8648 (('a' <= (c) && (c) <= 'i') \
8649 || ('j' <= (c) && (c) <= 'r') \
8650 || ('s' <= (c) && (c) <= 'z'))
8651 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8654 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8659 for (i = 0; i < 256; i++)
8660 if (XOR (islower (i), ISLOWER (i))
8661 || toupper (i) != TOUPPER (i))
8666 if ac_fn_c_try_run "$LINENO"; then :
8669 ac_cv_header_stdc=no
8671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8672 conftest.$ac_objext conftest.beam conftest.$ac_ext
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8678 $as_echo "$ac_cv_header_stdc" >&6; }
8679 if test $ac_cv_header_stdc = yes; then
8681 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8685 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8686 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8687 inttypes.h stdint.h unistd.h
8689 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8690 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8692 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8693 cat >>confdefs.h
<<_ACEOF
8694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8702 for ac_header
in dlfcn.h
8704 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8706 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8707 cat >>confdefs.h
<<_ACEOF
8708 #define HAVE_DLFCN_H 1
8729 # Check whether --enable-shared was given.
8730 if test "${enable_shared+set}" = set; then :
8731 enableval
=$enable_shared; p
=${PACKAGE-default}
8733 yes) enable_shared
=yes ;;
8734 no
) enable_shared
=no
;;
8737 # Look at the argument we got. We use all the common list separators.
8738 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8739 for pkg
in $enableval; do
8741 if test "X$pkg" = "X$p"; then
8760 # Check whether --enable-static was given.
8761 if test "${enable_static+set}" = set; then :
8762 enableval
=$enable_static; p
=${PACKAGE-default}
8764 yes) enable_static
=yes ;;
8765 no
) enable_static
=no
;;
8768 # Look at the argument we got. We use all the common list separators.
8769 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8770 for pkg
in $enableval; do
8772 if test "X$pkg" = "X$p"; then
8792 # Check whether --with-pic was given.
8793 if test "${with_pic+set}" = set; then :
8794 withval
=$with_pic; lt_p
=${PACKAGE-default}
8796 yes|no
) pic_mode
=$withval ;;
8799 # Look at the argument we got. We use all the common list separators.
8800 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8801 for lt_pkg
in $withval; do
8803 if test "X$lt_pkg" = "X$lt_p"; then
8821 # Check whether --enable-fast-install was given.
8822 if test "${enable_fast_install+set}" = set; then :
8823 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8825 yes) enable_fast_install
=yes ;;
8826 no
) enable_fast_install
=no
;;
8828 enable_fast_install
=no
8829 # Look at the argument we got. We use all the common list separators.
8830 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8831 for pkg
in $enableval; do
8833 if test "X$pkg" = "X$p"; then
8834 enable_fast_install
=yes
8841 enable_fast_install
=yes
8851 shared_archive_member_spec
=
8852 case $host,$enable_shared in
8853 power
*-*-aix[5-9]*,yes)
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8855 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8857 # Check whether --with-aix-soname was given.
8858 if test "${with_aix_soname+set}" = set; then :
8859 withval
=$with_aix_soname; case $withval in
8863 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
8866 lt_cv_with_aix_soname
=$with_aix_soname
8868 if ${lt_cv_with_aix_soname+:} false
; then :
8869 $as_echo_n "(cached) " >&6
8871 lt_cv_with_aix_soname
=aix
8874 with_aix_soname
=$lt_cv_with_aix_soname
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8878 $as_echo "$with_aix_soname" >&6; }
8879 if test aix
!= "$with_aix_soname"; then
8880 # For the AIX way of multilib, we name the shared archive member
8881 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8882 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8883 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8884 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8885 if test 64 = "${OBJECT_MODE-32}"; then
8886 shared_archive_member_spec
=shr_64
8888 shared_archive_member_spec
=shr
8906 # This can be used to rebuild libtool when needed
8907 LIBTOOL_DEPS
=$ltmain
8909 # Always use our own libtool.
8910 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8941 test -z "$LN_S" && LN_S
="ln -s"
8956 if test -n "${ZSH_VERSION+set}"; then
8957 setopt NO_GLOB_SUBST
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8961 $as_echo_n "checking for objdir... " >&6; }
8962 if ${lt_cv_objdir+:} false
; then :
8963 $as_echo_n "(cached) " >&6
8965 rm -f .libs
2>/dev
/null
8966 mkdir .libs
2>/dev
/null
8967 if test -d .libs
; then
8970 # MS-DOS does not allow filenames that begin with a dot.
8973 rmdir .libs
2>/dev
/null
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8976 $as_echo "$lt_cv_objdir" >&6; }
8977 objdir
=$lt_cv_objdir
8983 cat >>confdefs.h
<<_ACEOF
8984 #define LT_OBJDIR "$lt_cv_objdir/"
8992 # AIX sometimes has problems with the GCC collect2 program. For some
8993 # reason, if we set the COLLECT_NAMES environment variable, the problems
8994 # vanish in a puff of smoke.
8995 if test set != "${COLLECT_NAMES+set}"; then
8997 export COLLECT_NAMES
9004 can_build_shared
=yes
9006 # All known linkers require a '.a' archive for static linking (except MSVC,
9007 # which needs '.lib').
9010 with_gnu_ld
=$lt_cv_prog_gnu_ld
9015 # Set sane defaults for various variables
9016 test -z "$CC" && CC
=cc
9017 test -z "$LTCC" && LTCC
=$CC
9018 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9019 test -z "$LD" && LD
=ld
9020 test -z "$ac_objext" && ac_objext
=o
9022 func_cc_basename
$compiler
9023 cc_basename
=$func_cc_basename_result
9026 # Only perform the check for file, if the check method requires it
9027 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9028 case $deplibs_check_method in
9030 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9032 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9033 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9034 $as_echo_n "(cached) " >&6
9038 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9041 lt_save_MAGIC_CMD
=$MAGIC_CMD
9042 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9043 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9044 for ac_dir
in $ac_dummy; do
9046 test -z "$ac_dir" && ac_dir
=.
9047 if test -f "$ac_dir/${ac_tool_prefix}file"; then
9048 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
9049 if test -n "$file_magic_test_file"; then
9050 case $deplibs_check_method in
9052 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9053 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9054 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9055 $EGREP "$file_magic_regex" > /dev
/null
; then
9060 *** Warning: the command libtool uses to detect shared libraries,
9061 *** $file_magic_cmd, produces output that libtool cannot recognize.
9062 *** The result is that libtool may fail to recognize shared libraries
9063 *** as such. This will affect the creation of libtool libraries that
9064 *** depend on shared libraries, but programs linked with such libtool
9065 *** libraries will work regardless of this problem. Nevertheless, you
9066 *** may want to report the problem to your system manager and/or to
9067 *** bug-libtool@gnu.org
9077 MAGIC_CMD
=$lt_save_MAGIC_CMD
9082 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9083 if test -n "$MAGIC_CMD"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9085 $as_echo "$MAGIC_CMD" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9088 $as_echo "no" >&6; }
9095 if test -z "$lt_cv_path_MAGIC_CMD"; then
9096 if test -n "$ac_tool_prefix"; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9098 $as_echo_n "checking for file... " >&6; }
9099 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9100 $as_echo_n "(cached) " >&6
9104 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
9107 lt_save_MAGIC_CMD
=$MAGIC_CMD
9108 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
9109 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9110 for ac_dir
in $ac_dummy; do
9112 test -z "$ac_dir" && ac_dir
=.
9113 if test -f "$ac_dir/file"; then
9114 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
9115 if test -n "$file_magic_test_file"; then
9116 case $deplibs_check_method in
9118 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9119 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9120 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9121 $EGREP "$file_magic_regex" > /dev
/null
; then
9126 *** Warning: the command libtool uses to detect shared libraries,
9127 *** $file_magic_cmd, produces output that libtool cannot recognize.
9128 *** The result is that libtool may fail to recognize shared libraries
9129 *** as such. This will affect the creation of libtool libraries that
9130 *** depend on shared libraries, but programs linked with such libtool
9131 *** libraries will work regardless of this problem. Nevertheless, you
9132 *** may want to report the problem to your system manager and/or to
9133 *** bug-libtool@gnu.org
9143 MAGIC_CMD
=$lt_save_MAGIC_CMD
9148 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
9149 if test -n "$MAGIC_CMD"; then
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9151 $as_echo "$MAGIC_CMD" >&6; }
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9154 $as_echo "no" >&6; }
9167 # Use C for the default configuration in the libtool script
9171 ac_cpp
='$CPP $CPPFLAGS'
9172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9177 # Source file extension for C test sources.
9180 # Object file extension for compiled C test sources.
9184 # Code to be used in simple compile tests
9185 lt_simple_compile_test_code
="int some_variable = 0;"
9187 # Code to be used in simple link tests
9188 lt_simple_link_test_code
='int main(){return(0);}'
9196 # If no C compiler was specified, use CC.
9199 # If no C compiler flags were specified, use CFLAGS.
9200 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9202 # Allow CC to be a program name with arguments.
9205 # Save the default compiler, since it gets overwritten when the other
9206 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9207 compiler_DEFAULT
=$CC
9209 # save warnings/boilerplate of simple test code
9210 ac_outfile
=conftest.
$ac_objext
9211 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9212 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9213 _lt_compiler_boilerplate
=`cat conftest.err`
9216 ac_outfile
=conftest.
$ac_objext
9217 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9218 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9219 _lt_linker_boilerplate
=`cat conftest.err`
9224 ## There is no encapsulation within the following macros, do not change
9225 ## the running order or otherwise move them around unless you know exactly
9226 ## what you are doing...
9227 if test -n "$compiler"; then
9229 lt_prog_compiler_no_builtin_flag
=
9231 if test yes = "$GCC"; then
9232 case $cc_basename in
9234 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9236 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9240 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9241 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9242 $as_echo_n "(cached) " >&6
9244 lt_cv_prog_compiler_rtti_exceptions
=no
9245 ac_outfile
=conftest.
$ac_objext
9246 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9247 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
9248 # Insert the option either (1) after the last *FLAGS variable, or
9249 # (2) before a word containing "conftest.", or (3) at the end.
9250 # Note that $ac_compile itself does not contain backslashes and begins
9251 # with a dollar sign (not a hyphen), so the echo should work correctly.
9252 # The option is referenced via a variable to avoid confusing sed.
9253 lt_compile
=`echo "$ac_compile" | $SED \
9254 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9256 -e 's:$: $lt_compiler_flag:'`
9257 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9258 (eval "$lt_compile" 2>conftest.err
)
9260 cat conftest.err
>&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 if (exit $ac_status) && test -s "$ac_outfile"; then
9263 # The compiler can only warn and ignore the option if not recognized
9264 # So say no if there are warnings other than the usual output.
9265 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9266 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9267 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9268 lt_cv_prog_compiler_rtti_exceptions
=yes
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9275 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9277 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9278 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9290 lt_prog_compiler_wl
=
9291 lt_prog_compiler_pic
=
9292 lt_prog_compiler_static
=
9295 if test yes = "$GCC"; then
9296 lt_prog_compiler_wl
='-Wl,'
9297 lt_prog_compiler_static
='-static'
9301 # All AIX code is PIC.
9302 if test ia64
= "$host_cpu"; then
9303 # AIX 5 now supports IA64 processor
9304 lt_prog_compiler_static
='-Bstatic'
9306 lt_prog_compiler_pic
='-fPIC'
9312 # see comment about AmigaOS4 .so support
9313 lt_prog_compiler_pic
='-fPIC'
9316 # FIXME: we need at least 68020 code to build shared libraries, but
9317 # adding the '-m68020' flag to GCC prevents building anything better,
9319 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9324 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9325 # PIC is the default for these OSes.
9328 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9329 # This hack is so that the source file can tell whether it is being
9330 # built for inclusion in a dll (and should export symbols for example).
9331 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9332 # (--disable-auto-import) libraries
9333 lt_prog_compiler_pic
='-DDLL_EXPORT'
9336 lt_prog_compiler_static
='$wl-static'
9341 darwin
* | rhapsody
*)
9342 # PIC is the default on this platform
9343 # Common symbols not allowed in MH_DYLIB files
9344 lt_prog_compiler_pic
='-fno-common'
9348 # PIC is the default for Haiku.
9349 # The "-static" flag exists, but is broken.
9350 lt_prog_compiler_static
=
9354 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9355 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9356 # sets the default TLS model and affects inlining.
9362 lt_prog_compiler_pic
='-fPIC'
9368 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9369 # Instead, we relocate shared libraries at runtime.
9373 # Just because we use GCC doesn't mean we suddenly get shared libraries
9374 # on systems that don't support them.
9375 lt_prog_compiler_can_build_shared
=no
9380 # QNX uses GNU C++, but need to define -shared option too, otherwise
9382 lt_prog_compiler_pic
='-fPIC -shared'
9386 if test -d /usr
/nec
; then
9387 lt_prog_compiler_pic
=-Kconform_pic
9392 lt_prog_compiler_pic
='-fPIC'
9396 case $cc_basename in
9397 nvcc
*) # Cuda Compiler Driver 2.2
9398 lt_prog_compiler_wl
='-Xlinker '
9399 if test -n "$lt_prog_compiler_pic"; then
9400 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9405 # PORTME Check for flag to pass linker flags through the system compiler.
9408 lt_prog_compiler_wl
='-Wl,'
9409 if test ia64
= "$host_cpu"; then
9410 # AIX 5 now supports IA64 processor
9411 lt_prog_compiler_static
='-Bstatic'
9413 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9417 darwin
* | rhapsody
*)
9418 # PIC is the default on this platform
9419 # Common symbols not allowed in MH_DYLIB files
9420 lt_prog_compiler_pic
='-fno-common'
9421 case $cc_basename in
9423 # NAG Fortran compiler
9424 lt_prog_compiler_wl
='-Wl,-Wl,,'
9425 lt_prog_compiler_pic
='-PIC'
9426 lt_prog_compiler_static
='-Bstatic'
9431 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9432 # This hack is so that the source file can tell whether it is being
9433 # built for inclusion in a dll (and should export symbols for example).
9434 lt_prog_compiler_pic
='-DDLL_EXPORT'
9437 lt_prog_compiler_static
='$wl-static'
9442 hpux9
* | hpux10
* | hpux11
*)
9443 lt_prog_compiler_wl
='-Wl,'
9444 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9451 lt_prog_compiler_pic
='+Z'
9454 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9455 lt_prog_compiler_static
='$wl-a ${wl}archive'
9458 irix5
* | irix6
* | nonstopux
*)
9459 lt_prog_compiler_wl
='-Wl,'
9460 # PIC (with -KPIC) is the default.
9461 lt_prog_compiler_static
='-non_shared'
9464 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9465 case $cc_basename in
9466 # old Intel for x86_64, which still supported -KPIC.
9468 lt_prog_compiler_wl
='-Wl,'
9469 lt_prog_compiler_pic
='-KPIC'
9470 lt_prog_compiler_static
='-static'
9472 # icc used to be incompatible with GCC.
9473 # ICC 10 doesn't accept -KPIC any more.
9475 lt_prog_compiler_wl
='-Wl,'
9476 lt_prog_compiler_pic
='-fPIC'
9477 lt_prog_compiler_static
='-static'
9479 # Lahey Fortran 8.1.
9481 lt_prog_compiler_wl
='-Wl,'
9482 lt_prog_compiler_pic
='--shared'
9483 lt_prog_compiler_static
='--static'
9486 # NAG Fortran compiler
9487 lt_prog_compiler_wl
='-Wl,-Wl,,'
9488 lt_prog_compiler_pic
='-PIC'
9489 lt_prog_compiler_static
='-Bstatic'
9492 # Fabrice Bellard et al's Tiny C Compiler
9493 lt_prog_compiler_wl
='-Wl,'
9494 lt_prog_compiler_pic
='-fPIC'
9495 lt_prog_compiler_static
='-static'
9497 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9498 # Portland Group compilers (*not* the Pentium gcc compiler,
9499 # which looks to be a dead project)
9500 lt_prog_compiler_wl
='-Wl,'
9501 lt_prog_compiler_pic
='-fpic'
9502 lt_prog_compiler_static
='-Bstatic'
9505 lt_prog_compiler_wl
='-Wl,'
9506 # All Alpha code is PIC.
9507 lt_prog_compiler_static
='-non_shared'
9509 xl
* | bgxl
* | bgf
* | mpixl
*)
9510 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9511 lt_prog_compiler_wl
='-Wl,'
9512 lt_prog_compiler_pic
='-qpic'
9513 lt_prog_compiler_static
='-qstaticlink'
9516 case `$CC -V 2>&1 | sed 5q` in
9517 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9518 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9519 lt_prog_compiler_pic
='-KPIC'
9520 lt_prog_compiler_static
='-Bstatic'
9521 lt_prog_compiler_wl
=''
9523 *Sun\ F
* |
*Sun
*Fortran
*)
9524 lt_prog_compiler_pic
='-KPIC'
9525 lt_prog_compiler_static
='-Bstatic'
9526 lt_prog_compiler_wl
='-Qoption ld '
9530 lt_prog_compiler_pic
='-KPIC'
9531 lt_prog_compiler_static
='-Bstatic'
9532 lt_prog_compiler_wl
='-Wl,'
9534 *Intel
*\
[CF
]*Compiler
*)
9535 lt_prog_compiler_wl
='-Wl,'
9536 lt_prog_compiler_pic
='-fPIC'
9537 lt_prog_compiler_static
='-static'
9540 lt_prog_compiler_wl
='-Wl,'
9541 lt_prog_compiler_pic
='-fpic'
9542 lt_prog_compiler_static
='-Bstatic'
9550 lt_prog_compiler_pic
='-KPIC'
9551 lt_prog_compiler_static
='-Bstatic'
9555 # QNX uses GNU C++, but need to define -shared option too, otherwise
9557 lt_prog_compiler_pic
='-fPIC -shared'
9560 osf3
* | osf4
* | osf5
*)
9561 lt_prog_compiler_wl
='-Wl,'
9562 # All OSF/1 code is PIC.
9563 lt_prog_compiler_static
='-non_shared'
9567 lt_prog_compiler_static
='-non_shared'
9571 lt_prog_compiler_pic
='-KPIC'
9572 lt_prog_compiler_static
='-Bstatic'
9573 case $cc_basename in
9574 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9575 lt_prog_compiler_wl
='-Qoption ld ';;
9577 lt_prog_compiler_wl
='-Wl,';;
9582 lt_prog_compiler_wl
='-Qoption ld '
9583 lt_prog_compiler_pic
='-PIC'
9584 lt_prog_compiler_static
='-Bstatic'
9587 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9588 lt_prog_compiler_wl
='-Wl,'
9589 lt_prog_compiler_pic
='-KPIC'
9590 lt_prog_compiler_static
='-Bstatic'
9594 if test -d /usr
/nec
; then
9595 lt_prog_compiler_pic
='-Kconform_pic'
9596 lt_prog_compiler_static
='-Bstatic'
9600 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9601 lt_prog_compiler_wl
='-Wl,'
9602 lt_prog_compiler_pic
='-KPIC'
9603 lt_prog_compiler_static
='-Bstatic'
9607 lt_prog_compiler_wl
='-Wl,'
9608 lt_prog_compiler_can_build_shared
=no
9612 lt_prog_compiler_pic
='-pic'
9613 lt_prog_compiler_static
='-Bstatic'
9617 lt_prog_compiler_can_build_shared
=no
9623 # For platforms that do not support PIC, -DPIC is meaningless:
9625 lt_prog_compiler_pic
=
9628 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9633 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9634 if ${lt_cv_prog_compiler_pic+:} false
; then :
9635 $as_echo_n "(cached) " >&6
9637 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9640 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9641 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9644 # Check to make sure the PIC flag actually works.
9646 if test -n "$lt_prog_compiler_pic"; then
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9649 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9650 $as_echo_n "(cached) " >&6
9652 lt_cv_prog_compiler_pic_works
=no
9653 ac_outfile
=conftest.
$ac_objext
9654 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9655 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9656 # Insert the option either (1) after the last *FLAGS variable, or
9657 # (2) before a word containing "conftest.", or (3) at the end.
9658 # Note that $ac_compile itself does not contain backslashes and begins
9659 # with a dollar sign (not a hyphen), so the echo should work correctly.
9660 # The option is referenced via a variable to avoid confusing sed.
9661 lt_compile
=`echo "$ac_compile" | $SED \
9662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9664 -e 's:$: $lt_compiler_flag:'`
9665 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9666 (eval "$lt_compile" 2>conftest.err
)
9668 cat conftest.err
>&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 if (exit $ac_status) && test -s "$ac_outfile"; then
9671 # The compiler can only warn and ignore the option if not recognized
9672 # So say no if there are warnings other than the usual output.
9673 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9674 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9675 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9676 lt_cv_prog_compiler_pic_works
=yes
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9683 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9685 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9686 case $lt_prog_compiler_pic in
9688 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9691 lt_prog_compiler_pic
=
9692 lt_prog_compiler_can_build_shared
=no
9708 # Check to make sure the static flag actually works.
9710 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9712 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9713 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9714 $as_echo_n "(cached) " >&6
9716 lt_cv_prog_compiler_static_works
=no
9717 save_LDFLAGS
=$LDFLAGS
9718 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9719 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9720 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9721 # The linker can only warn and ignore the option if not recognized
9722 # So say no if there are warnings
9723 if test -s conftest.err
; then
9724 # Append any errors to the config.log.
9725 cat conftest.err
1>&5
9726 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9727 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9728 if diff conftest.exp conftest.er2
>/dev
/null
; then
9729 lt_cv_prog_compiler_static_works
=yes
9732 lt_cv_prog_compiler_static_works
=yes
9736 LDFLAGS
=$save_LDFLAGS
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9740 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9742 if test yes = "$lt_cv_prog_compiler_static_works"; then
9745 lt_prog_compiler_static
=
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9756 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9757 $as_echo_n "(cached) " >&6
9759 lt_cv_prog_compiler_c_o
=no
9760 $RM -r conftest
2>/dev
/null
9764 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9766 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9767 # Insert the option either (1) after the last *FLAGS variable, or
9768 # (2) before a word containing "conftest.", or (3) at the end.
9769 # Note that $ac_compile itself does not contain backslashes and begins
9770 # with a dollar sign (not a hyphen), so the echo should work correctly.
9771 lt_compile
=`echo "$ac_compile" | $SED \
9772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9774 -e 's:$: $lt_compiler_flag:'`
9775 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9776 (eval "$lt_compile" 2>out
/conftest.err
)
9778 cat out
/conftest.err
>&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9782 # The compiler can only warn and ignore the option if not recognized
9783 # So say no if there are warnings
9784 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9785 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9786 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9787 lt_cv_prog_compiler_c_o
=yes
9792 # SGI C++ compiler will create directory out/ii_files/ for
9793 # template instantiation
9794 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9795 $RM out
/* && rmdir out
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9811 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9812 $as_echo_n "(cached) " >&6
9814 lt_cv_prog_compiler_c_o
=no
9815 $RM -r conftest
2>/dev
/null
9819 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9821 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9822 # Insert the option either (1) after the last *FLAGS variable, or
9823 # (2) before a word containing "conftest.", or (3) at the end.
9824 # Note that $ac_compile itself does not contain backslashes and begins
9825 # with a dollar sign (not a hyphen), so the echo should work correctly.
9826 lt_compile
=`echo "$ac_compile" | $SED \
9827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9829 -e 's:$: $lt_compiler_flag:'`
9830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9831 (eval "$lt_compile" 2>out
/conftest.err
)
9833 cat out
/conftest.err
>&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9837 # The compiler can only warn and ignore the option if not recognized
9838 # So say no if there are warnings
9839 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9840 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9841 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9842 lt_cv_prog_compiler_c_o
=yes
9847 # SGI C++ compiler will create directory out/ii_files/ for
9848 # template instantiation
9849 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9850 $RM out
/* && rmdir out
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9857 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9862 hard_links
=nottested
9863 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
9864 # do not overwrite the value of need_locks provided by the user
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9866 $as_echo_n "checking if we can lock with hard links... " >&6; }
9869 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9871 ln conftest.a conftest.b
2>&5 || hard_links
=no
9872 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9874 $as_echo "$hard_links" >&6; }
9875 if test no
= "$hard_links"; then
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9877 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9890 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9893 allow_undefined_flag
=
9894 always_export_symbols
=no
9896 archive_expsym_cmds
=
9897 compiler_needs_object
=no
9898 enable_shared_with_static_runtimes
=no
9899 export_dynamic_flag_spec
=
9900 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9901 hardcode_automatic
=no
9903 hardcode_direct_absolute
=no
9904 hardcode_libdir_flag_spec
=
9905 hardcode_libdir_separator
=
9907 hardcode_shlibpath_var
=unsupported
9909 link_all_deplibs
=unknown
9912 old_archive_from_new_cmds
=
9913 old_archive_from_expsyms_cmds
=
9914 thread_safe_flag_spec
=
9915 whole_archive_flag_spec
=
9916 # include_expsyms should be a list of space-separated symbols to be *always*
9917 # included in the symbol list
9919 # exclude_expsyms can be an extended regexp of symbols to exclude
9920 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9921 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9922 # as well as any symbol that contains 'd'.
9923 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9924 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9925 # platforms (ab)use it in PIC code, but their linkers get confused if
9926 # the symbol is explicitly referenced. Since portable code cannot
9927 # rely on this symbol name, it's probably fine to never include it in
9928 # preloaded symbol tables.
9929 # Exclude shared library initialization/finalization symbols.
9930 extract_expsyms_cmds
=
9933 cygwin
* | mingw
* | pw32
* | cegcc
*)
9934 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9935 # When not using gcc, we currently assume that we are using
9936 # Microsoft Visual C++.
9937 if test yes != "$GCC"; then
9942 # we just hope/assume this is gcc and not c89 (= MSVC++)
9952 # On some targets, GNU ld is compatible enough with the native linker
9953 # that we're better off using the native interface for both.
9954 lt_use_gnu_ld_interface
=no
9955 if test yes = "$with_gnu_ld"; then
9958 # The AIX port of GNU ld has always aspired to compatibility
9959 # with the native linker. However, as the warning in the GNU ld
9960 # block says, versions before 2.19.5* couldn't really create working
9961 # shared libraries, regardless of the interface used.
9962 case `$LD -v 2>&1` in
9963 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9964 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9965 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9967 lt_use_gnu_ld_interface
=yes
9972 lt_use_gnu_ld_interface
=yes
9977 if test yes = "$lt_use_gnu_ld_interface"; then
9978 # If archive_cmds runs LD, not CC, wlarc should be empty
9981 # Set some defaults for GNU ld with shared library support. These
9982 # are reset later if shared libraries are not supported. Putting them
9983 # here allows them to be overridden if necessary.
9984 runpath_var
=LD_RUN_PATH
9985 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9986 export_dynamic_flag_spec
='$wl--export-dynamic'
9987 # ancient GNU ld didn't support --whole-archive et. al.
9988 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9989 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9991 whole_archive_flag_spec
=
9993 supports_anon_versioning
=no
9994 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9995 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9996 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9997 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9998 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9999 *\
2.11.
*) ;; # other 2.11 versions
10000 *) supports_anon_versioning
=yes ;;
10003 # See if GNU ld supports shared libraries.
10006 # On AIX/PPC, the GNU linker is very broken
10007 if test ia64
!= "$host_cpu"; then
10011 *** Warning: the GNU linker, at least up to release 2.19, is reported
10012 *** to be unable to reliably create shared libraries on AIX.
10013 *** Therefore, libtool is disabling shared libraries support. If you
10014 *** really care for shared libraries, you may want to install binutils
10015 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10016 *** You will then need to restart the configuration process.
10025 # see comment about AmigaOS4 .so support
10026 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10027 archive_expsym_cmds
=''
10030 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)'
10031 hardcode_libdir_flag_spec
='-L$libdir'
10032 hardcode_minus_L
=yes
10038 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10039 allow_undefined_flag
=unsupported
10040 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10041 # support --undefined. This deserves some investigation. FIXME
10042 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10048 cygwin
* | mingw
* | pw32
* | cegcc
*)
10049 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10050 # as there is no search path for DLLs.
10051 hardcode_libdir_flag_spec
='-L$libdir'
10052 export_dynamic_flag_spec
='$wl--export-all-symbols'
10053 allow_undefined_flag
=unsupported
10054 always_export_symbols
=no
10055 enable_shared_with_static_runtimes
=yes
10056 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'
10057 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10059 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10060 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10061 # If the export-symbols file already is a .def file, use it as
10062 # is; otherwise, prepend EXPORTS...
10063 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10064 cp $export_symbols $output_objdir/$soname.def;
10066 echo EXPORTS > $output_objdir/$soname.def;
10067 cat $export_symbols >> $output_objdir/$soname.def;
10069 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10076 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10077 link_all_deplibs
=yes
10081 hardcode_libdir_flag_spec
='-L$libdir'
10082 hardcode_minus_L
=yes
10083 allow_undefined_flag
=unsupported
10085 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10086 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10087 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10088 $ECHO EXPORTS >> $output_objdir/$libname.def~
10089 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10090 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10091 emximp -o $lib $output_objdir/$libname.def'
10092 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10093 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10094 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10095 $ECHO EXPORTS >> $output_objdir/$libname.def~
10096 prefix_cmds="$SED"~
10097 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10098 prefix_cmds="$prefix_cmds -e 1d";
10100 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10101 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10102 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10103 emximp -o $lib $output_objdir/$libname.def'
10104 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10105 enable_shared_with_static_runtimes
=yes
10110 hardcode_shlibpath_var
=no
10111 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10112 export_dynamic_flag_spec
='$wl-E'
10113 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10114 # Instead, shared libraries are loaded at an image base (0x10000000 by
10115 # default) and relocated if they conflict, which is a slow very memory
10116 # consuming and fragmenting process. To avoid this, we pick a random,
10117 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10118 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10119 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10120 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'
10123 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10125 if test linux-dietlibc
= "$host_os"; then
10126 case $cc_basename in
10127 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10130 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10131 && test no
= "$tmp_diet"
10133 tmp_addflag
=' $pic_flag'
10134 tmp_sharedflag
='-shared'
10135 case $cc_basename,$host_cpu in
10136 pgcc
*) # Portland Group C compiler
10137 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'
10138 tmp_addflag
=' $pic_flag'
10140 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10141 # Portland Group f77 and f90 compilers
10142 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'
10143 tmp_addflag
=' $pic_flag -Mnomain' ;;
10144 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10145 tmp_addflag
=' -i_dynamic' ;;
10146 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10147 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10148 ifc
* | ifort
*) # Intel Fortran compiler
10149 tmp_addflag
=' -nofor_main' ;;
10150 lf95
*) # Lahey Fortran 8.1
10151 whole_archive_flag_spec
=
10152 tmp_sharedflag
='--shared' ;;
10153 nagfor
*) # NAGFOR 5.3
10154 tmp_sharedflag
='-Wl,-shared' ;;
10155 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10156 tmp_sharedflag
='-qmkshrobj'
10158 nvcc
*) # Cuda Compiler Driver 2.2
10159 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'
10160 compiler_needs_object
=yes
10163 case `$CC -V 2>&1 | sed 5q` in
10164 *Sun\ C
*) # Sun C 5.9
10165 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'
10166 compiler_needs_object
=yes
10167 tmp_sharedflag
='-G' ;;
10168 *Sun\ F
*) # Sun Fortran 8.3
10169 tmp_sharedflag
='-G' ;;
10171 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10173 if test yes = "$supports_anon_versioning"; then
10174 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10175 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10176 echo "local: *; };" >> $output_objdir/$libname.ver~
10177 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10180 case $cc_basename in
10182 export_dynamic_flag_spec
='-rdynamic'
10184 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10185 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10186 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10187 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10188 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10189 if test yes = "$supports_anon_versioning"; then
10190 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10191 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10192 echo "local: *; };" >> $output_objdir/$libname.ver~
10193 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10203 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10204 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10207 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10208 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10213 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10217 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10218 *** create shared libraries on Solaris systems. Therefore, libtool
10219 *** is disabling shared libraries support. We urge you to upgrade GNU
10220 *** binutils to release 2.9.1 or newer. Another option is to modify
10221 *** your PATH or compiler configuration so that the native linker is
10222 *** used, and then restart.
10225 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10226 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10227 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10233 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10234 case `$LD -v 2>&1` in
10235 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10239 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10240 *** reliably create shared libraries on SCO systems. Therefore, libtool
10241 *** is disabling shared libraries support. We urge you to upgrade GNU
10242 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10243 *** your PATH or compiler configuration so that the native linker is
10244 *** used, and then restart.
10249 # For security reasons, it is highly recommended that you always
10250 # use absolute paths for naming shared libraries, and exclude the
10251 # DT_RUNPATH tag from executables and libraries. But doing so
10252 # requires that you compile everything twice, which is a pain.
10253 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10254 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10255 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10256 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10265 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_direct
=yes
10268 hardcode_shlibpath_var
=no
10272 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10273 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10274 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10281 if test no
= "$ld_shlibs"; then
10283 hardcode_libdir_flag_spec
=
10284 export_dynamic_flag_spec
=
10285 whole_archive_flag_spec
=
10288 # PORTME fill in a description of your system's linker (not GNU ld)
10291 allow_undefined_flag
=unsupported
10292 always_export_symbols
=yes
10293 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'
10294 # Note: this linker hardcodes the directories in LIBPATH if there
10295 # are no directories specified by -L.
10296 hardcode_minus_L
=yes
10297 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10298 # Neither direct hardcoding nor static linking is supported with a
10300 hardcode_direct
=unsupported
10305 if test ia64
= "$host_cpu"; then
10306 # On IA64, the linker does run time linking by default, so we don't
10307 # have to do anything special.
10308 aix_use_runtimelinking
=no
10309 exp_sym_flag
='-Bexport'
10312 # If we're using GNU nm, then we don't want the "-C" option.
10313 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10314 # Without the "-l" option, or with the "-B" option, AIX nm treats
10315 # weak defined symbols like other global defined symbols, whereas
10316 # GNU nm marks them as "W".
10317 # While the 'weak' keyword is ignored in the Export File, we need
10318 # it in the Import File for the 'aix-soname' feature, so we have
10319 # to replace the "-B" option with "-P" for AIX nm.
10320 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10321 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'
10323 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'
10325 aix_use_runtimelinking
=no
10327 # Test if we are trying to use run time linking or normal
10328 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10329 # have runtime linking enabled, and use it for executables.
10330 # For shared libraries, we enable/disable runtime linking
10331 # depending on the kind of the shared library created -
10332 # when "with_aix_soname,aix_use_runtimelinking" is:
10333 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10334 # "aix,yes" lib.so shared, rtl:yes, for executables
10335 # lib.a static archive
10336 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10337 # lib.a(lib.so.V) shared, rtl:no, for executables
10338 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10339 # lib.a(lib.so.V) shared, rtl:no
10340 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10341 # lib.a static archive
10342 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10343 for ld_flag
in $LDFLAGS; do
10344 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
10345 aix_use_runtimelinking
=yes
10349 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
10350 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10351 # so we don't have lib.a shared libs to link our executables.
10352 # We have to force runtime linking in this case.
10353 aix_use_runtimelinking
=yes
10354 LDFLAGS
="$LDFLAGS -Wl,-brtl"
10359 exp_sym_flag
='-bexport'
10360 no_entry_flag
='-bnoentry'
10363 # When large executables or shared objects are built, AIX ld can
10364 # have problems creating the table of contents. If linking a library
10365 # or program results in "error TOC overflow" add -mminimal-toc to
10366 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10367 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10370 hardcode_direct
=yes
10371 hardcode_direct_absolute
=yes
10372 hardcode_libdir_separator
=':'
10373 link_all_deplibs
=yes
10374 file_list_spec
='$wl-f,'
10375 case $with_aix_soname,$aix_use_runtimelinking in
10376 aix
,*) ;; # traditional, no import file
10377 svr4
,* |
*,yes) # use import file
10378 # The Import File defines what to hardcode.
10380 hardcode_direct_absolute
=no
10384 if test yes = "$GCC"; then
10385 case $host_os in aix4.
[012]|aix4.
[012].
*)
10386 # We only want to do this on AIX 4.2 and lower, the check
10387 # below for broken collect2 doesn't work under 4.3+
10388 collect2name
=`$CC -print-prog-name=collect2`
10389 if test -f "$collect2name" &&
10390 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10392 # We have reworked collect2
10395 # We have old collect2
10396 hardcode_direct
=unsupported
10397 # It fails to find uninstalled libraries when the uninstalled
10398 # path is not listed in the libpath. Setting hardcode_minus_L
10399 # to unsupported forces relinking
10400 hardcode_minus_L
=yes
10401 hardcode_libdir_flag_spec
='-L$libdir'
10402 hardcode_libdir_separator
=
10406 shared_flag
='-shared'
10407 if test yes = "$aix_use_runtimelinking"; then
10408 shared_flag
="$shared_flag "'$wl-G'
10410 # Need to ensure runtime linking is disabled for the traditional
10411 # shared library, or the linker may eventually find shared libraries
10412 # /with/ Import File - we do not want to mix them.
10413 shared_flag_aix
='-shared'
10414 shared_flag_svr4
='-shared $wl-G'
10417 if test ia64
= "$host_cpu"; then
10418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10419 # chokes on -Wl,-G. The following line is correct:
10422 if test yes = "$aix_use_runtimelinking"; then
10423 shared_flag
='$wl-G'
10425 shared_flag
='$wl-bM:SRE'
10427 shared_flag_aix
='$wl-bM:SRE'
10428 shared_flag_svr4
='$wl-G'
10432 export_dynamic_flag_spec
='$wl-bexpall'
10433 # It seems that -bexpall does not export symbols beginning with
10434 # underscore (_), so it is better to generate a list of symbols to export.
10435 always_export_symbols
=yes
10436 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10437 # Warning - without using the other runtime loading flags (-brtl),
10438 # -berok will link without error, but may produce a broken library.
10439 allow_undefined_flag
='-berok'
10440 # Determine the default libpath from the value encoded in an
10441 # empty executable.
10442 if test set = "${lt_cv_aix_libpath+set}"; then
10443 aix_libpath
=$lt_cv_aix_libpath
10445 if ${lt_cv_aix_libpath_+:} false
; then :
10446 $as_echo_n "(cached) " >&6
10448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10459 if ac_fn_c_try_link
"$LINENO"; then :
10461 lt_aix_libpath_sed
='
10462 /Import File Strings/,/^$/ {
10464 s/^0 *\([^ ]*\) *$/\1/
10468 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10469 # Check for a 64-bit object if we didn't find anything.
10470 if test -z "$lt_cv_aix_libpath_"; then
10471 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10474 rm -f core conftest.err conftest.
$ac_objext \
10475 conftest
$ac_exeext conftest.
$ac_ext
10476 if test -z "$lt_cv_aix_libpath_"; then
10477 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10482 aix_libpath
=$lt_cv_aix_libpath_
10485 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10486 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
10488 if test ia64
= "$host_cpu"; then
10489 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10490 allow_undefined_flag
="-z nodefs"
10491 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"
10493 # Determine the default libpath from the value encoded in an
10494 # empty executable.
10495 if test set = "${lt_cv_aix_libpath+set}"; then
10496 aix_libpath
=$lt_cv_aix_libpath
10498 if ${lt_cv_aix_libpath_+:} false
; then :
10499 $as_echo_n "(cached) " >&6
10501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10512 if ac_fn_c_try_link
"$LINENO"; then :
10514 lt_aix_libpath_sed
='
10515 /Import File Strings/,/^$/ {
10517 s/^0 *\([^ ]*\) *$/\1/
10521 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10522 # Check for a 64-bit object if we didn't find anything.
10523 if test -z "$lt_cv_aix_libpath_"; then
10524 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10527 rm -f core conftest.err conftest.
$ac_objext \
10528 conftest
$ac_exeext conftest.
$ac_ext
10529 if test -z "$lt_cv_aix_libpath_"; then
10530 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10535 aix_libpath
=$lt_cv_aix_libpath_
10538 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10539 # Warning - without using the other run time loading flags,
10540 # -berok will link without error, but may produce a broken library.
10541 no_undefined_flag
=' $wl-bernotok'
10542 allow_undefined_flag
=' $wl-berok'
10543 if test yes = "$with_gnu_ld"; then
10544 # We only use this code for GNU lds that support --whole-archive.
10545 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10547 # Exported symbols can be pulled into shared objects from archives
10548 whole_archive_flag_spec
='$convenience'
10550 archive_cmds_need_lc
=yes
10551 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10552 # -brtl affects multiple linker settings, -berok does not and is overridden later
10553 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10554 if test svr4
!= "$with_aix_soname"; then
10555 # This is similar to how AIX traditionally builds its shared libraries.
10556 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'
10558 if test aix
!= "$with_aix_soname"; then
10559 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'
10561 # used by -dlpreopen to get the symbols
10562 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10564 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10572 # see comment about AmigaOS4 .so support
10573 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10574 archive_expsym_cmds
=''
10577 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)'
10578 hardcode_libdir_flag_spec
='-L$libdir'
10579 hardcode_minus_L
=yes
10585 export_dynamic_flag_spec
=-rdynamic
10588 cygwin
* | mingw
* | pw32
* | cegcc
*)
10589 # When not using gcc, we currently assume that we are using
10590 # Microsoft Visual C++.
10591 # hardcode_libdir_flag_spec is actually meaningless, as there is
10592 # no search path for DLLs.
10593 case $cc_basename in
10596 hardcode_libdir_flag_spec
=' '
10597 allow_undefined_flag
=unsupported
10598 always_export_symbols
=yes
10600 # Tell ltmain to make .lib files, not .a files.
10602 # Tell ltmain to make .dll files, not .so files.
10604 # FIXME: Setting linknames here is a bad hack.
10605 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10606 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10607 cp "$export_symbols" "$output_objdir/$soname.def";
10608 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10610 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10612 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10614 # The linker will not automatically build a static lib if we build a DLL.
10615 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10616 enable_shared_with_static_runtimes
=yes
10617 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10618 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10620 old_postinstall_cmds
='chmod 644 $oldlib'
10621 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10622 lt_tool_outputfile="@TOOL_OUTPUT@"~
10623 case $lt_outputfile in
10626 lt_outputfile=$lt_outputfile.exe
10627 lt_tool_outputfile=$lt_tool_outputfile.exe
10630 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10631 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10632 $RM "$lt_outputfile.manifest";
10636 # Assume MSVC wrapper
10637 hardcode_libdir_flag_spec
=' '
10638 allow_undefined_flag
=unsupported
10639 # Tell ltmain to make .lib files, not .a files.
10641 # Tell ltmain to make .dll files, not .so files.
10643 # FIXME: Setting linknames here is a bad hack.
10644 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10645 # The linker will automatically build a .lib file if we build a DLL.
10646 old_archive_from_new_cmds
='true'
10647 # FIXME: Should let the user specify the lib program.
10648 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10649 enable_shared_with_static_runtimes
=yes
10654 darwin
* | rhapsody
*)
10657 archive_cmds_need_lc
=no
10659 hardcode_automatic
=yes
10660 hardcode_shlibpath_var
=unsupported
10661 if test yes = "$lt_cv_ld_force_load"; then
10662 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\"`'
10665 whole_archive_flag_spec
=''
10667 link_all_deplibs
=yes
10668 allow_undefined_flag
=$_lt_dar_allow_undefined
10669 case $cc_basename in
10670 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10671 *) _lt_dar_can_shared
=$GCC ;;
10673 if test yes = "$_lt_dar_can_shared"; then
10674 output_verbose_link_cmd
=func_echo_all
10675 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10676 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10677 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"
10678 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"
10687 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10688 hardcode_libdir_flag_spec
='-L$libdir'
10689 hardcode_shlibpath_var
=no
10692 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10693 # support. Future versions do this automatically, but an explicit c++rt0.o
10694 # does not break anything, and helps significantly (at the cost of a little
10697 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10698 hardcode_libdir_flag_spec
='-R$libdir'
10699 hardcode_direct
=yes
10700 hardcode_shlibpath_var
=no
10703 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10705 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10706 hardcode_direct
=yes
10707 hardcode_minus_L
=yes
10708 hardcode_shlibpath_var
=no
10711 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10712 freebsd
* | dragonfly
*)
10713 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10714 hardcode_libdir_flag_spec
='-R$libdir'
10715 hardcode_direct
=yes
10716 hardcode_shlibpath_var
=no
10720 if test yes = "$GCC"; then
10721 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'
10723 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'
10725 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10726 hardcode_libdir_separator
=:
10727 hardcode_direct
=yes
10729 # hardcode_minus_L: Not really in the search PATH,
10730 # but as the default location of the library.
10731 hardcode_minus_L
=yes
10732 export_dynamic_flag_spec
='$wl-E'
10736 if test yes,no
= "$GCC,$with_gnu_ld"; then
10737 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10739 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10741 if test no
= "$with_gnu_ld"; then
10742 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10743 hardcode_libdir_separator
=:
10744 hardcode_direct
=yes
10745 hardcode_direct_absolute
=yes
10746 export_dynamic_flag_spec
='$wl-E'
10747 # hardcode_minus_L: Not really in the search PATH,
10748 # but as the default location of the library.
10749 hardcode_minus_L
=yes
10754 if test yes,no
= "$GCC,$with_gnu_ld"; then
10757 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10760 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10763 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10769 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10772 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10776 # Older versions of the 11.00 compiler do not understand -b yet
10777 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10779 $as_echo_n "checking if $CC understands -b... " >&6; }
10780 if ${lt_cv_prog_compiler__b+:} false
; then :
10781 $as_echo_n "(cached) " >&6
10783 lt_cv_prog_compiler__b
=no
10784 save_LDFLAGS
=$LDFLAGS
10785 LDFLAGS
="$LDFLAGS -b"
10786 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10787 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10788 # The linker can only warn and ignore the option if not recognized
10789 # So say no if there are warnings
10790 if test -s conftest.err
; then
10791 # Append any errors to the config.log.
10792 cat conftest.err
1>&5
10793 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10794 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10795 if diff conftest.exp conftest.er2
>/dev
/null
; then
10796 lt_cv_prog_compiler__b
=yes
10799 lt_cv_prog_compiler__b
=yes
10803 LDFLAGS
=$save_LDFLAGS
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10807 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10809 if test yes = "$lt_cv_prog_compiler__b"; then
10810 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10812 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10818 if test no
= "$with_gnu_ld"; then
10819 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10820 hardcode_libdir_separator
=:
10825 hardcode_shlibpath_var
=no
10828 hardcode_direct
=yes
10829 hardcode_direct_absolute
=yes
10830 export_dynamic_flag_spec
='$wl-E'
10832 # hardcode_minus_L: Not really in the search PATH,
10833 # but as the default location of the library.
10834 hardcode_minus_L
=yes
10840 irix5
* | irix6
* | nonstopux
*)
10841 if test yes = "$GCC"; then
10842 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'
10843 # Try to use the -exported_symbol ld option, if it does not
10844 # work, assume that -exports_file does not work either and
10845 # implicitly export all symbols.
10846 # This should be the same for all languages, so no per-tag cache variable.
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10848 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10849 if ${lt_cv_irix_exported_symbol+:} false
; then :
10850 $as_echo_n "(cached) " >&6
10852 save_LDFLAGS
=$LDFLAGS
10853 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10856 int foo (void) { return 0; }
10858 if ac_fn_c_try_link
"$LINENO"; then :
10859 lt_cv_irix_exported_symbol
=yes
10861 lt_cv_irix_exported_symbol
=no
10863 rm -f core conftest.err conftest.
$ac_objext \
10864 conftest
$ac_exeext conftest.
$ac_ext
10865 LDFLAGS
=$save_LDFLAGS
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10868 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10869 if test yes = "$lt_cv_irix_exported_symbol"; then
10870 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'
10873 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'
10874 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'
10876 archive_cmds_need_lc
='no'
10877 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10878 hardcode_libdir_separator
=:
10880 link_all_deplibs
=yes
10884 case $cc_basename in
10886 # Fabrice Bellard et al's Tiny C Compiler
10888 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10894 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10895 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10897 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10899 hardcode_libdir_flag_spec
='-R$libdir'
10900 hardcode_direct
=yes
10901 hardcode_shlibpath_var
=no
10905 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10906 hardcode_direct
=yes
10907 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10908 hardcode_libdir_separator
=:
10909 hardcode_shlibpath_var
=no
10915 openbsd
* | bitrig
*)
10916 if test -f /usr
/libexec
/ld.so
; then
10917 hardcode_direct
=yes
10918 hardcode_shlibpath_var
=no
10919 hardcode_direct_absolute
=yes
10920 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10921 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10922 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10923 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10924 export_dynamic_flag_spec
='$wl-E'
10926 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10927 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10935 hardcode_libdir_flag_spec
='-L$libdir'
10936 hardcode_minus_L
=yes
10937 allow_undefined_flag
=unsupported
10939 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10940 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10941 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10942 $ECHO EXPORTS >> $output_objdir/$libname.def~
10943 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10944 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10945 emximp -o $lib $output_objdir/$libname.def'
10946 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10947 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10948 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10949 $ECHO EXPORTS >> $output_objdir/$libname.def~
10950 prefix_cmds="$SED"~
10951 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10952 prefix_cmds="$prefix_cmds -e 1d";
10954 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10955 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10956 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10957 emximp -o $lib $output_objdir/$libname.def'
10958 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10959 enable_shared_with_static_runtimes
=yes
10963 if test yes = "$GCC"; then
10964 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10965 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'
10967 allow_undefined_flag
=' -expect_unresolved \*'
10968 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'
10970 archive_cmds_need_lc
='no'
10971 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10972 hardcode_libdir_separator
=:
10975 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10976 if test yes = "$GCC"; then
10977 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10978 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'
10979 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10981 allow_undefined_flag
=' -expect_unresolved \*'
10982 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'
10983 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~
10984 $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'
10986 # Both c and cxx compiler support -rpath directly
10987 hardcode_libdir_flag_spec
='-rpath $libdir'
10989 archive_cmds_need_lc
='no'
10990 hardcode_libdir_separator
=:
10994 no_undefined_flag
=' -z defs'
10995 if test yes = "$GCC"; then
10997 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10998 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10999 $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'
11001 case `$CC -V 2>&1` in
11004 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11005 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11006 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11010 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11011 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11012 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11016 hardcode_libdir_flag_spec
='-R$libdir'
11017 hardcode_shlibpath_var
=no
11019 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11021 # The compiler driver will combine and reorder linker options,
11022 # but understands '-z linker_flag'. GCC discards it without '$wl',
11023 # but is careful enough not to reorder.
11024 # Supported since Solaris 2.6 (maybe 2.5.1?)
11025 if test yes = "$GCC"; then
11026 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11028 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11032 link_all_deplibs
=yes
11036 if test sequent
= "$host_vendor"; then
11037 # Use $CC to link under sequent, because it throws in some extra .o
11038 # files that make .init and .fini sections work.
11039 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11041 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11043 hardcode_libdir_flag_spec
='-L$libdir'
11044 hardcode_direct
=yes
11045 hardcode_minus_L
=yes
11046 hardcode_shlibpath_var
=no
11050 case $host_vendor in
11052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11053 hardcode_direct
=yes # is this really true???
11056 ## LD is ld it makes a PLAMLIB
11057 ## CC just makes a GrossModule.
11058 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11059 reload_cmds
='$CC -r -o $output$reload_objs'
11063 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11064 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11067 runpath_var
='LD_RUN_PATH'
11068 hardcode_shlibpath_var
=no
11072 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11073 hardcode_shlibpath_var
=no
11074 export_dynamic_flag_spec
='-Bexport'
11078 if test -d /usr
/nec
; then
11079 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11080 hardcode_shlibpath_var
=no
11081 runpath_var
=LD_RUN_PATH
11082 hardcode_runpath_var
=yes
11087 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11088 no_undefined_flag
='$wl-z,text'
11089 archive_cmds_need_lc
=no
11090 hardcode_shlibpath_var
=no
11091 runpath_var
='LD_RUN_PATH'
11093 if test yes = "$GCC"; then
11094 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11095 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11097 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11098 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11102 sysv5
* | sco3.2v5
* | sco5v6
*)
11103 # Note: We CANNOT use -z defs as we might desire, because we do not
11104 # link with -lc, and that would cause any symbols used from libc to
11105 # always be unresolved, which means just about no library would
11106 # ever link correctly. If we're not using GNU ld we use -z text
11107 # though, which does catch some bad symbols but isn't as heavy-handed
11109 no_undefined_flag
='$wl-z,text'
11110 allow_undefined_flag
='$wl-z,nodefs'
11111 archive_cmds_need_lc
=no
11112 hardcode_shlibpath_var
=no
11113 hardcode_libdir_flag_spec
='$wl-R,$libdir'
11114 hardcode_libdir_separator
=':'
11115 link_all_deplibs
=yes
11116 export_dynamic_flag_spec
='$wl-Bexport'
11117 runpath_var
='LD_RUN_PATH'
11119 if test yes = "$GCC"; then
11120 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11121 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11123 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11124 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11129 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11130 hardcode_libdir_flag_spec
='-L$libdir'
11131 hardcode_shlibpath_var
=no
11139 if test sni
= "$host_vendor"; then
11141 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11142 export_dynamic_flag_spec
='$wl-Blargedynsym'
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11149 $as_echo "$ld_shlibs" >&6; }
11150 test no
= "$ld_shlibs" && can_build_shared
=no
11152 with_gnu_ld
=$with_gnu_ld
11169 # Do we need to explicitly link libc?
11171 case "x$archive_cmds_need_lc" in
11173 # Assume -lc should be added
11174 archive_cmds_need_lc
=yes
11176 if test yes,yes = "$GCC,$enable_shared"; then
11177 case $archive_cmds in
11179 # FIXME: we may have to deal with multi-command sequences.
11182 # Test whether the compiler implicitly links with -lc since on some
11183 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11184 # to ld, don't add -lc before -lgcc.
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11186 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11187 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11188 $as_echo_n "(cached) " >&6
11191 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11194 (eval $ac_compile) 2>&5
11196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11197 test $ac_status = 0; } 2>conftest.err
; then
11200 libobjs
=conftest.
$ac_objext
11202 wl
=$lt_prog_compiler_wl
11203 pic_flag
=$lt_prog_compiler_pic
11209 lt_save_allow_undefined_flag
=$allow_undefined_flag
11210 allow_undefined_flag
=
11211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11212 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11215 test $ac_status = 0; }
11217 lt_cv_archive_cmds_need_lc
=no
11219 lt_cv_archive_cmds_need_lc
=yes
11221 allow_undefined_flag
=$lt_save_allow_undefined_flag
11223 cat conftest.err
1>&5
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11229 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11230 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11391 if test yes = "$GCC"; then
11393 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11394 *) lt_awk_arg
='/^libraries:/' ;;
11397 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11398 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11400 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11401 case $lt_search_path_spec in
11403 # if the path contains ";" then we assume it to be the separator
11404 # otherwise default to the standard path separator (i.e. ":") - it is
11405 # assumed that no part of a normal pathname contains ";" but that should
11406 # okay in the real world where ";" in dirpaths is itself problematic.
11407 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11410 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11413 # Ok, now we have the path, separated by spaces, we can step through it
11414 # and add multilib dir if necessary...
11415 lt_tmp_lt_search_path_spec
=
11416 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11417 # ...but if some path component already ends with the multilib dir we assume
11418 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11419 case "$lt_multi_os_dir; $lt_search_path_spec " in
11420 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
11424 for lt_sys_path
in $lt_search_path_spec; do
11425 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11426 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11427 elif test -n "$lt_multi_os_dir"; then
11428 test -d "$lt_sys_path" && \
11429 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11432 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11433 BEGIN {RS = " "; FS = "/|\n";} {
11436 for (lt_i = NF; lt_i > 0; lt_i--) {
11437 if ($lt_i != "" && $lt_i != ".") {
11438 if ($lt_i == "..") {
11441 if (lt_count == 0) {
11442 lt_foo = "/" $lt_i lt_foo;
11449 if (lt_foo != "") { lt_freq[lt_foo]++; }
11450 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11452 # AWK program above erroneously prepends '/' to C:/dos/paths
11455 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11456 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11458 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11460 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11462 library_names_spec
=
11463 libname_spec
='lib$name'
11467 postuninstall_cmds
=
11471 shlibpath_overrides_runpath
=unknown
11473 dynamic_linker
="$host_os ld.so"
11474 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11475 need_lib_prefix
=unknown
11476 hardcode_into_libs
=no
11478 # when you set need_version to no, make sure it does not cause -set_version
11479 # flags to be left without arguments
11480 need_version
=unknown
11486 version_type
=linux
# correct to gnu/linux during the next big refactor
11487 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11488 shlibpath_var
=LIBPATH
11490 # AIX 3 has no versioning support, so we append a major version to the name.
11491 soname_spec
='$libname$release$shared_ext$major'
11495 version_type
=linux
# correct to gnu/linux during the next big refactor
11498 hardcode_into_libs
=yes
11499 if test ia64
= "$host_cpu"; then
11500 # AIX 5 supports IA64
11501 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11502 shlibpath_var
=LD_LIBRARY_PATH
11504 # With GCC up to 2.95.x, collect2 would create an import file
11505 # for dependence libraries. The import file would start with
11506 # the line '#! .'. This would cause the generated library to
11507 # depend on '.', always an invalid library. This was fixed in
11508 # development snapshots of GCC prior to 3.0.
11510 aix4 | aix4.
[01] | aix4.
[01].
*)
11511 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11513 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
11516 can_build_shared
=no
11520 # Using Import Files as archive members, it is possible to support
11521 # filename-based versioning of shared library archives on AIX. While
11522 # this would work for both with and without runtime linking, it will
11523 # prevent static linking of such archives. So we do filename-based
11524 # shared library versioning with .so extension only, which is used
11525 # when both runtime linking and shared linking is enabled.
11526 # Unfortunately, runtime linking may impact performance, so we do
11527 # not want this to be the default eventually. Also, we use the
11528 # versioned .so libs for executables only if there is the -brtl
11529 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11530 # To allow for filename-based versioning support, we need to create
11531 # libNAME.so.V as an archive file, containing:
11532 # *) an Import File, referring to the versioned filename of the
11533 # archive as well as the shared archive member, telling the
11534 # bitwidth (32 or 64) of that shared object, and providing the
11535 # list of exported symbols of that shared object, eventually
11536 # decorated with the 'weak' keyword
11537 # *) the shared object with the F_LOADONLY flag set, to really avoid
11538 # it being seen by the linker.
11539 # At run time we better use the real file rather than another symlink,
11540 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11542 case $with_aix_soname,$aix_use_runtimelinking in
11543 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11544 # soname into executable. Probably we can add versioning support to
11545 # collect2, so additional links can be useful in future.
11546 aix
,yes) # traditional libtool
11547 dynamic_linker
='AIX unversionable lib.so'
11548 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11549 # instead of lib<name>.a to let people know that these are not
11550 # typical AIX shared libraries.
11551 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11553 aix
,no
) # traditional AIX only
11554 dynamic_linker
='AIX lib.a(lib.so.V)'
11555 # We preserve .a as extension for shared libraries through AIX4.2
11556 # and later when we are not doing run time linking.
11557 library_names_spec
='$libname$release.a $libname.a'
11558 soname_spec
='$libname$release$shared_ext$major'
11560 svr4
,*) # full svr4 only
11561 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11562 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11563 # We do not specify a path in Import Files, so LIBPATH fires.
11564 shlibpath_overrides_runpath
=yes
11566 *,yes) # both, prefer svr4
11567 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11568 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11569 # unpreferred sharedlib libNAME.a needs extra handling
11570 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"'
11571 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"'
11572 # We do not specify a path in Import Files, so LIBPATH fires.
11573 shlibpath_overrides_runpath
=yes
11575 *,no
) # both, prefer aix
11576 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11577 library_names_spec
='$libname$release.a $libname.a'
11578 soname_spec
='$libname$release$shared_ext$major'
11579 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11580 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)'
11581 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"'
11584 shlibpath_var
=LIBPATH
11591 # Since July 2007 AmigaOS4 officially supports .so libraries.
11592 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11593 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11596 library_names_spec
='$libname.ixlibrary $libname.a'
11597 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11598 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'
11604 library_names_spec
='$libname$shared_ext'
11605 dynamic_linker
="$host_os ld.so"
11606 shlibpath_var
=LIBRARY_PATH
11610 version_type
=linux
# correct to gnu/linux during the next big refactor
11612 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11613 soname_spec
='$libname$release$shared_ext$major'
11614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11615 shlibpath_var
=LD_LIBRARY_PATH
11616 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11617 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11618 # the default ld.so.conf also contains /usr/contrib/lib and
11619 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11620 # libtool to hard-code these into programs
11623 cygwin
* | mingw
* | pw32
* | cegcc
*)
11624 version_type
=windows
11629 case $GCC,$cc_basename in
11632 library_names_spec
='$libname.dll.a'
11633 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11634 postinstall_cmds
='base_file=`basename \$file`~
11635 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11636 dldir=$destdir/`dirname \$dlpath`~
11637 test -d \$dldir || mkdir -p \$dldir~
11638 $install_prog $dir/$dlname \$dldir/$dlname~
11639 chmod a+x \$dldir/$dlname~
11640 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11641 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11643 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11644 dlpath=$dir/\$dldll~
11646 shlibpath_overrides_runpath
=yes
11650 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11651 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11653 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11656 # MinGW DLLs use traditional 'lib' prefix
11657 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11660 # pw32 DLLs use 'pw' prefix rather than 'lib'
11661 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11664 dynamic_linker
='Win32 ld.exe'
11669 libname_spec
='$name'
11670 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11671 library_names_spec
='$libname.dll.lib'
11675 sys_lib_search_path_spec
=
11678 for lt_path
in $LIB
11681 # Let DOS variable expansion print the short 8.3 style file name.
11682 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11683 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11686 # Convert to MSYS style.
11687 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11690 # Convert to unix form, then to dos form, then back to unix form
11691 # but this time dos style (no spaces!) so that the unix form looks
11692 # like /cygdrive/c/PROGRA~1:/cygdr...
11693 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11694 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11695 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11698 sys_lib_search_path_spec
=$LIB
11699 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11700 # It is most probably a Windows format PATH.
11701 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11703 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11705 # FIXME: find the short name or the path components, as spaces are
11706 # common. (e.g. "Program Files" -> "PROGRA~1")
11710 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11711 postinstall_cmds
='base_file=`basename \$file`~
11712 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11713 dldir=$destdir/`dirname \$dlpath`~
11714 test -d \$dldir || mkdir -p \$dldir~
11715 $install_prog $dir/$dlname \$dldir/$dlname'
11716 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11717 dlpath=$dir/\$dldll~
11719 shlibpath_overrides_runpath
=yes
11720 dynamic_linker
='Win32 link.exe'
11724 # Assume MSVC wrapper
11725 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11726 dynamic_linker
='Win32 ld.exe'
11729 # FIXME: first we should search . and the directory the executable is in
11733 darwin
* | rhapsody
*)
11734 dynamic_linker
="$host_os dyld"
11735 version_type
=darwin
11738 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11739 soname_spec
='$libname$release$major$shared_ext'
11740 shlibpath_overrides_runpath
=yes
11741 shlibpath_var
=DYLD_LIBRARY_PATH
11742 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11744 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11745 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11749 version_type
=linux
# correct to gnu/linux during the next big refactor
11752 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11753 soname_spec
='$libname$release$shared_ext$major'
11754 shlibpath_var
=LD_LIBRARY_PATH
11757 freebsd
* | dragonfly
*)
11758 # DragonFly does not have aout. When/if they implement a new
11759 # versioning mechanism, adjust this.
11760 if test -x /usr
/bin
/objformat
; then
11761 objformat
=`/usr/bin/objformat`
11764 freebsd
[23].
*) objformat
=aout
;;
11765 *) objformat
=elf
;;
11768 version_type
=freebsd-
$objformat
11769 case $version_type in
11771 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11772 soname_spec
='$libname$release$shared_ext$major'
11777 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11781 shlibpath_var
=LD_LIBRARY_PATH
11784 shlibpath_overrides_runpath
=yes
11786 freebsd3.
[01]* | freebsdelf3.
[01]*)
11787 shlibpath_overrides_runpath
=yes
11788 hardcode_into_libs
=yes
11790 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11791 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11792 shlibpath_overrides_runpath
=no
11793 hardcode_into_libs
=yes
11795 *) # from 4.6 on, and DragonFly
11796 shlibpath_overrides_runpath
=yes
11797 hardcode_into_libs
=yes
11803 version_type
=linux
# correct to gnu/linux during the next big refactor
11806 dynamic_linker
="$host_os runtime_loader"
11807 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11808 soname_spec
='$libname$release$shared_ext$major'
11809 shlibpath_var
=LIBRARY_PATH
11810 shlibpath_overrides_runpath
=no
11811 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11812 hardcode_into_libs
=yes
11815 hpux9
* | hpux10
* | hpux11
*)
11816 # Give a soname corresponding to the major version so that dld.sl refuses to
11817 # link against other versions.
11824 hardcode_into_libs
=yes
11825 dynamic_linker
="$host_os dld.so"
11826 shlibpath_var
=LD_LIBRARY_PATH
11827 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11828 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11829 soname_spec
='$libname$release$shared_ext$major'
11830 if test 32 = "$HPUX_IA64_MODE"; then
11831 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11832 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11834 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11835 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11840 hardcode_into_libs
=yes
11841 dynamic_linker
="$host_os dld.sl"
11842 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11843 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11844 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11845 soname_spec
='$libname$release$shared_ext$major'
11846 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11847 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11851 dynamic_linker
="$host_os dld.sl"
11852 shlibpath_var
=SHLIB_PATH
11853 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11854 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11855 soname_spec
='$libname$release$shared_ext$major'
11858 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11859 postinstall_cmds
='chmod 555 $lib'
11860 # or fails outright, so override atomically:
11861 install_override_mode
=555
11865 version_type
=linux
# correct to gnu/linux during the next big refactor
11868 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11869 soname_spec
='$libname$release$shared_ext$major'
11870 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11871 shlibpath_var
=LD_LIBRARY_PATH
11872 shlibpath_overrides_runpath
=no
11873 hardcode_into_libs
=yes
11876 irix5
* | irix6
* | nonstopux
*)
11878 nonstopux
*) version_type
=nonstopux
;;
11880 if test yes = "$lt_cv_prog_gnu_ld"; then
11881 version_type
=linux
# correct to gnu/linux during the next big refactor
11888 soname_spec
='$libname$release$shared_ext$major'
11889 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11891 irix5
* | nonstopux
*)
11892 libsuff
= shlibsuff
=
11895 case $LD in # libtool.m4 will add one of these switches to LD
11896 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11897 libsuff
= shlibsuff
= libmagic
=32-bit;;
11898 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11899 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11900 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11901 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11902 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11906 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11907 shlibpath_overrides_runpath
=no
11908 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11909 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11910 hardcode_into_libs
=yes
11913 # No shared lib support for Linux oldld, aout, or coff.
11914 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11919 version_type
=none
# Android doesn't support versioned libraries.
11922 library_names_spec
='$libname$release$shared_ext'
11923 soname_spec
='$libname$release$shared_ext'
11925 shlibpath_var
=LD_LIBRARY_PATH
11926 shlibpath_overrides_runpath
=yes
11928 # This implies no fast_install, which is unacceptable.
11929 # Some rework will be needed to allow for fast_install
11930 # before this can be enabled.
11931 hardcode_into_libs
=yes
11933 dynamic_linker
='Android linker'
11934 # Don't embed -rpath directories since the linker doesn't support them.
11935 hardcode_libdir_flag_spec
='-L$libdir'
11938 # This must be glibc/ELF.
11939 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11940 version_type
=linux
# correct to gnu/linux during the next big refactor
11943 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11944 soname_spec
='$libname$release$shared_ext$major'
11945 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11946 shlibpath_var
=LD_LIBRARY_PATH
11947 shlibpath_overrides_runpath
=no
11949 # Some binutils ld are patched to set DT_RUNPATH
11950 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11951 $as_echo_n "(cached) " >&6
11953 lt_cv_shlibpath_overrides_runpath
=no
11954 save_LDFLAGS
=$LDFLAGS
11955 save_libdir
=$libdir
11956 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11957 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11969 if ac_fn_c_try_link
"$LINENO"; then :
11970 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11971 lt_cv_shlibpath_overrides_runpath
=yes
11974 rm -f core conftest.err conftest.
$ac_objext \
11975 conftest
$ac_exeext conftest.
$ac_ext
11976 LDFLAGS
=$save_LDFLAGS
11977 libdir
=$save_libdir
11981 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11983 # This implies no fast_install, which is unacceptable.
11984 # Some rework will be needed to allow for fast_install
11985 # before this can be enabled.
11986 hardcode_into_libs
=yes
11988 # Ideally, we could use ldconfig to report *all* directores which are
11989 # searched for libraries, however this is still not possible. Aside from not
11990 # being certain /sbin/ldconfig is available, command
11991 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11992 # even though it is searched at run-time. Try to do the best guess by
11993 # appending ld.so.conf contents (and includes) to the search path.
11994 if test -f /etc
/ld.so.conf
; then
11995 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' ' '`
11996 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11999 # We used to test for /lib/ld.so.1 and disable shared libraries on
12000 # powerpc, because MkLinux only supported shared libraries with the
12001 # GNU dynamic linker. Since this was broken with cross compilers,
12002 # most powerpc-linux boxes support dynamic linking these days and
12003 # people can always --disable-shared, the test was removed, and we
12004 # assume the GNU/Linux dynamic linker is in use.
12005 dynamic_linker
='GNU/Linux ld.so'
12012 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12013 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12014 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12015 dynamic_linker
='NetBSD (a.out) ld.so'
12017 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12018 soname_spec
='$libname$release$shared_ext$major'
12019 dynamic_linker
='NetBSD ld.elf_so'
12021 shlibpath_var
=LD_LIBRARY_PATH
12022 shlibpath_overrides_runpath
=yes
12023 hardcode_into_libs
=yes
12027 version_type
=linux
# correct to gnu/linux during the next big refactor
12028 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12029 shlibpath_var
=LD_LIBRARY_PATH
12030 shlibpath_overrides_runpath
=yes
12037 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12038 soname_spec
='$libname$release$shared_ext$major'
12039 shlibpath_var
=LD_LIBRARY_PATH
12040 shlibpath_overrides_runpath
=no
12041 hardcode_into_libs
=yes
12042 dynamic_linker
='ldqnx.so'
12045 openbsd
* | bitrig
*)
12047 sys_lib_dlsearch_path_spec
=/usr
/lib
12049 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12054 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12055 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12056 shlibpath_var
=LD_LIBRARY_PATH
12057 shlibpath_overrides_runpath
=yes
12061 libname_spec
='$name'
12062 version_type
=windows
12066 # OS/2 can only load a DLL with a base name of 8 characters or less.
12067 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
12068 v=$($ECHO $release$versuffix | tr -d .-);
12069 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12070 $ECHO $n$v`$shared_ext'
12071 library_names_spec
='${libname}_dll.$libext'
12072 dynamic_linker
='OS/2 ld.exe'
12073 shlibpath_var
=BEGINLIBPATH
12074 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12075 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12076 postinstall_cmds
='base_file=`basename \$file`~
12077 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12078 dldir=$destdir/`dirname \$dlpath`~
12079 test -d \$dldir || mkdir -p \$dldir~
12080 $install_prog $dir/$dlname \$dldir/$dlname~
12081 chmod a+x \$dldir/$dlname~
12082 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12083 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12085 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12086 dlpath=$dir/\$dldll~
12090 osf3
* | osf4
* | osf5
*)
12094 soname_spec
='$libname$release$shared_ext$major'
12095 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12096 shlibpath_var
=LD_LIBRARY_PATH
12097 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12098 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12106 version_type
=linux
# correct to gnu/linux during the next big refactor
12109 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12110 soname_spec
='$libname$release$shared_ext$major'
12111 shlibpath_var
=LD_LIBRARY_PATH
12112 shlibpath_overrides_runpath
=yes
12113 hardcode_into_libs
=yes
12114 # ldd complains unless libraries are executable
12115 postinstall_cmds
='chmod +x $lib'
12120 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12121 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12122 shlibpath_var
=LD_LIBRARY_PATH
12123 shlibpath_overrides_runpath
=yes
12124 if test yes = "$with_gnu_ld"; then
12131 version_type
=linux
# correct to gnu/linux during the next big refactor
12132 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12133 soname_spec
='$libname$release$shared_ext$major'
12134 shlibpath_var
=LD_LIBRARY_PATH
12135 case $host_vendor in
12137 shlibpath_overrides_runpath
=no
12139 runpath_var
=LD_RUN_PATH
12147 shlibpath_overrides_runpath
=no
12148 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12154 if test -d /usr
/nec
; then
12155 version_type
=linux
# correct to gnu/linux during the next big refactor
12156 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12157 soname_spec
='$libname$shared_ext.$major'
12158 shlibpath_var
=LD_LIBRARY_PATH
12162 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12166 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12167 soname_spec
='$libname$release$shared_ext$major'
12168 shlibpath_var
=LD_LIBRARY_PATH
12169 shlibpath_overrides_runpath
=yes
12170 hardcode_into_libs
=yes
12171 if test yes = "$with_gnu_ld"; then
12172 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12174 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12177 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12181 sys_lib_dlsearch_path_spec
='/usr/lib'
12185 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12186 version_type
=linux
# correct to gnu/linux during the next big refactor
12189 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12190 shlibpath_var
=LD_LIBRARY_PATH
12191 shlibpath_overrides_runpath
=no
12192 hardcode_into_libs
=yes
12196 version_type
=linux
# correct to gnu/linux during the next big refactor
12197 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12198 soname_spec
='$libname$release$shared_ext$major'
12199 shlibpath_var
=LD_LIBRARY_PATH
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12207 $as_echo "$dynamic_linker" >&6; }
12208 test no
= "$dynamic_linker" && can_build_shared
=no
12210 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12211 if test yes = "$GCC"; then
12212 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12215 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12216 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
12219 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12220 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
12223 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12224 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
12226 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12227 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
12229 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12230 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12329 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12331 if test -n "$hardcode_libdir_flag_spec" ||
12332 test -n "$runpath_var" ||
12333 test yes = "$hardcode_automatic"; then
12335 # We can hardcode non-existent directories.
12336 if test no
!= "$hardcode_direct" &&
12337 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12338 # have to relink, otherwise we might link with an installed library
12339 # when we should be linking with a yet-to-be-installed one
12340 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12341 test no
!= "$hardcode_minus_L"; then
12342 # Linking always hardcodes the temporary library directory.
12343 hardcode_action
=relink
12345 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12346 hardcode_action
=immediate
12349 # We cannot hardcode anything, or else we can only hardcode existing
12351 hardcode_action
=unsupported
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12354 $as_echo "$hardcode_action" >&6; }
12356 if test relink
= "$hardcode_action" ||
12357 test yes = "$inherit_rpath"; then
12358 # Fast installation is not supported
12359 enable_fast_install
=no
12360 elif test yes = "$shlibpath_overrides_runpath" ||
12361 test no
= "$enable_shared"; then
12362 # Fast installation is not necessary
12363 enable_fast_install
=needless
12371 if test yes != "$enable_dlopen"; then
12372 enable_dlopen
=unknown
12373 enable_dlopen_self
=unknown
12374 enable_dlopen_self_static
=unknown
12381 lt_cv_dlopen
=load_add_on
12383 lt_cv_dlopen_self
=yes
12386 mingw
* | pw32
* | cegcc
*)
12387 lt_cv_dlopen
=LoadLibrary
12392 lt_cv_dlopen
=dlopen
12397 # if libdl is installed we need to link against it
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12399 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12400 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12401 $as_echo_n "(cached) " >&6
12403 ac_check_lib_save_LIBS
=$LIBS
12405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12423 if ac_fn_c_try_link
"$LINENO"; then :
12424 ac_cv_lib_dl_dlopen
=yes
12426 ac_cv_lib_dl_dlopen
=no
12428 rm -f core conftest.err conftest.
$ac_objext \
12429 conftest
$ac_exeext conftest.
$ac_ext
12430 LIBS
=$ac_check_lib_save_LIBS
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12433 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12434 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12435 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12440 lt_cv_dlopen_self
=yes
12447 # Don't try to run any link tests for TPF. We know it's impossible
12448 # because TPF is a cross-compiler, and we know how we open DSOs.
12449 lt_cv_dlopen
=dlopen
12451 lt_cv_dlopen_self
=no
12455 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12456 if test "x$ac_cv_func_shl_load" = xyes
; then :
12457 lt_cv_dlopen
=shl_load
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12460 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12461 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12462 $as_echo_n "(cached) " >&6
12464 ac_check_lib_save_LIBS
=$LIBS
12466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12479 return shl_load ();
12484 if ac_fn_c_try_link
"$LINENO"; then :
12485 ac_cv_lib_dld_shl_load
=yes
12487 ac_cv_lib_dld_shl_load
=no
12489 rm -f core conftest.err conftest.
$ac_objext \
12490 conftest
$ac_exeext conftest.
$ac_ext
12491 LIBS
=$ac_check_lib_save_LIBS
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12494 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12495 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12496 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12498 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12499 if test "x$ac_cv_func_dlopen" = xyes
; then :
12500 lt_cv_dlopen
=dlopen
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12503 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12504 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12505 $as_echo_n "(cached) " >&6
12507 ac_check_lib_save_LIBS
=$LIBS
12509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12512 /* Override any GCC internal prototype to avoid an error.
12513 Use char because int might match the return type of a GCC
12514 builtin and then its argument prototype would still apply. */
12527 if ac_fn_c_try_link
"$LINENO"; then :
12528 ac_cv_lib_dl_dlopen
=yes
12530 ac_cv_lib_dl_dlopen
=no
12532 rm -f core conftest.err conftest.
$ac_objext \
12533 conftest
$ac_exeext conftest.
$ac_ext
12534 LIBS
=$ac_check_lib_save_LIBS
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12537 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12538 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12539 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12542 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12543 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12544 $as_echo_n "(cached) " >&6
12546 ac_check_lib_save_LIBS
=$LIBS
12547 LIBS
="-lsvld $LIBS"
12548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12551 /* Override any GCC internal prototype to avoid an error.
12552 Use char because int might match the return type of a GCC
12553 builtin and then its argument prototype would still apply. */
12566 if ac_fn_c_try_link
"$LINENO"; then :
12567 ac_cv_lib_svld_dlopen
=yes
12569 ac_cv_lib_svld_dlopen
=no
12571 rm -f core conftest.err conftest.
$ac_objext \
12572 conftest
$ac_exeext conftest.
$ac_ext
12573 LIBS
=$ac_check_lib_save_LIBS
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12576 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12577 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12578 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12581 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12582 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12583 $as_echo_n "(cached) " >&6
12585 ac_check_lib_save_LIBS
=$LIBS
12587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12600 return dld_link ();
12605 if ac_fn_c_try_link
"$LINENO"; then :
12606 ac_cv_lib_dld_dld_link
=yes
12608 ac_cv_lib_dld_dld_link
=no
12610 rm -f core conftest.err conftest.
$ac_objext \
12611 conftest
$ac_exeext conftest.
$ac_ext
12612 LIBS
=$ac_check_lib_save_LIBS
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12615 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12616 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12617 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12638 if test no
= "$lt_cv_dlopen"; then
12644 case $lt_cv_dlopen in
12646 save_CPPFLAGS
=$CPPFLAGS
12647 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12649 save_LDFLAGS
=$LDFLAGS
12650 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12653 LIBS
="$lt_cv_dlopen_libs $LIBS"
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12656 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12657 if ${lt_cv_dlopen_self+:} false
; then :
12658 $as_echo_n "(cached) " >&6
12660 if test yes = "$cross_compiling"; then :
12661 lt_cv_dlopen_self
=cross
12663 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12664 lt_status
=$lt_dlunknown
12665 cat > conftest.
$ac_ext <<_LT_EOF
12666 #line $LINENO "configure"
12667 #include "confdefs.h"
12676 # define LT_DLGLOBAL RTLD_GLOBAL
12679 # define LT_DLGLOBAL DL_GLOBAL
12681 # define LT_DLGLOBAL 0
12685 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12686 find out it does not work in some platform. */
12687 #ifndef LT_DLLAZY_OR_NOW
12689 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12692 # define LT_DLLAZY_OR_NOW DL_LAZY
12695 # define LT_DLLAZY_OR_NOW RTLD_NOW
12698 # define LT_DLLAZY_OR_NOW DL_NOW
12700 # define LT_DLLAZY_OR_NOW 0
12707 /* When -fvisibility=hidden is used, assume the code has been annotated
12708 correspondingly for the symbols needed. */
12709 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12710 int fnord () __attribute__((visibility("default")));
12713 int fnord () { return 42; }
12716 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12717 int status = $lt_dlunknown;
12721 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12724 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12725 else puts (dlerror ());
12727 /* dlclose (self); */
12735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12736 (eval $ac_link) 2>&5
12738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12739 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12740 (.
/conftest
; exit; ) >&5 2>/dev
/null
12742 case x
$lt_status in
12743 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12744 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12745 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12748 # compilation failed
12749 lt_cv_dlopen_self
=no
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12757 $as_echo "$lt_cv_dlopen_self" >&6; }
12759 if test yes = "$lt_cv_dlopen_self"; then
12760 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12762 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12763 if ${lt_cv_dlopen_self_static+:} false
; then :
12764 $as_echo_n "(cached) " >&6
12766 if test yes = "$cross_compiling"; then :
12767 lt_cv_dlopen_self_static
=cross
12769 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12770 lt_status
=$lt_dlunknown
12771 cat > conftest.
$ac_ext <<_LT_EOF
12772 #line $LINENO "configure"
12773 #include "confdefs.h"
12782 # define LT_DLGLOBAL RTLD_GLOBAL
12785 # define LT_DLGLOBAL DL_GLOBAL
12787 # define LT_DLGLOBAL 0
12791 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12792 find out it does not work in some platform. */
12793 #ifndef LT_DLLAZY_OR_NOW
12795 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12798 # define LT_DLLAZY_OR_NOW DL_LAZY
12801 # define LT_DLLAZY_OR_NOW RTLD_NOW
12804 # define LT_DLLAZY_OR_NOW DL_NOW
12806 # define LT_DLLAZY_OR_NOW 0
12813 /* When -fvisibility=hidden is used, assume the code has been annotated
12814 correspondingly for the symbols needed. */
12815 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12816 int fnord () __attribute__((visibility("default")));
12819 int fnord () { return 42; }
12822 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12823 int status = $lt_dlunknown;
12827 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12830 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12831 else puts (dlerror ());
12833 /* dlclose (self); */
12841 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12842 (eval $ac_link) 2>&5
12844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12845 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12846 (.
/conftest
; exit; ) >&5 2>/dev
/null
12848 case x
$lt_status in
12849 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12850 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12851 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12854 # compilation failed
12855 lt_cv_dlopen_self_static
=no
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12863 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12866 CPPFLAGS
=$save_CPPFLAGS
12867 LDFLAGS
=$save_LDFLAGS
12872 case $lt_cv_dlopen_self in
12873 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12874 *) enable_dlopen_self
=unknown
;;
12877 case $lt_cv_dlopen_self_static in
12878 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12879 *) enable_dlopen_self_static
=unknown
;;
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12902 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12903 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12904 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12905 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12907 $as_echo "yes" >&6; }
12909 # FIXME - insert some real tests, host_os isn't really good enough
12912 if test -n "$STRIP"; then
12913 striplib
="$STRIP -x"
12914 old_striplib
="$STRIP -S"
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12916 $as_echo "yes" >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12919 $as_echo "no" >&6; }
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12924 $as_echo "no" >&6; }
12940 # Report what library types will actually be built
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12942 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12944 $as_echo "$can_build_shared" >&6; }
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12947 $as_echo_n "checking whether to build shared libraries... " >&6; }
12948 test no
= "$can_build_shared" && enable_shared
=no
12950 # On AIX, shared libraries and static libraries use the same namespace, and
12951 # are all built from PIC.
12954 test yes = "$enable_shared" && enable_static
=no
12955 if test -n "$RANLIB"; then
12956 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12957 postinstall_cmds
='$RANLIB $lib'
12962 if test ia64
!= "$host_cpu"; then
12963 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12964 yes,aix
,yes) ;; # shared object as lib.so file only
12965 yes,svr4
,*) ;; # shared object as lib.so archive member only
12966 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12972 $as_echo "$enable_shared" >&6; }
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12975 $as_echo_n "checking whether to build static libraries... " >&6; }
12976 # Make sure either enable_shared or enable_static is yes.
12977 test yes = "$enable_shared" || enable_static
=yes
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12979 $as_echo "$enable_static" >&6; }
12986 ac_cpp
='$CPP $CPPFLAGS'
12987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13007 ac_config_commands
="$ac_config_commands libtool"
13012 # Only expand once:
13017 # Extract the first word of "ar", so it can be a program name with args.
13018 set dummy
ar; ac_word
=$2
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13020 $as_echo_n "checking for $ac_word... " >&6; }
13021 if ${ac_cv_path_AR+:} false
; then :
13022 $as_echo_n "(cached) " >&6
13026 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
13029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13030 for as_dir
in $PATH
13033 test -z "$as_dir" && as_dir
=.
13034 for ac_exec_ext
in '' $ac_executable_extensions; do
13035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13036 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
13037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13044 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
13049 if test -n "$AR"; then
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13051 $as_echo "$AR" >&6; }
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13054 $as_echo "no" >&6; }
13058 # Extract the first word of "rm", so it can be a program name with args.
13059 set dummy
rm; ac_word
=$2
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13061 $as_echo_n "checking for $ac_word... " >&6; }
13062 if ${ac_cv_path_RM+:} false
; then :
13063 $as_echo_n "(cached) " >&6
13067 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
13070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13071 for as_dir
in $PATH
13074 test -z "$as_dir" && as_dir
=.
13075 for ac_exec_ext
in '' $ac_executable_extensions; do
13076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13077 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
13078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13085 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
13090 if test -n "$RM"; then
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
13092 $as_echo "$RM" >&6; }
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13095 $as_echo "no" >&6; }
13099 # Extract the first word of "cp", so it can be a program name with args.
13100 set dummy
cp; ac_word
=$2
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13102 $as_echo_n "checking for $ac_word... " >&6; }
13103 if ${ac_cv_path_CP+:} false
; then :
13104 $as_echo_n "(cached) " >&6
13108 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13112 for as_dir
in $PATH
13115 test -z "$as_dir" && as_dir
=.
13116 for ac_exec_ext
in '' $ac_executable_extensions; do
13117 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13118 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13126 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
13131 if test -n "$CP"; then
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
13133 $as_echo "$CP" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13136 $as_echo "no" >&6; }
13140 # Extract the first word of "ln", so it can be a program name with args.
13141 set dummy
ln; ac_word
=$2
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13143 $as_echo_n "checking for $ac_word... " >&6; }
13144 if ${ac_cv_path_LN+:} false
; then :
13145 $as_echo_n "(cached) " >&6
13149 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
13152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13153 for as_dir
in $PATH
13156 test -z "$as_dir" && as_dir
=.
13157 for ac_exec_ext
in '' $ac_executable_extensions; do
13158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13159 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
13160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13167 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
13172 if test -n "$LN"; then
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
13174 $as_echo "$LN" >&6; }
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13177 $as_echo "no" >&6; }
13181 # Extract the first word of "ls", so it can be a program name with args.
13182 set dummy
ls; ac_word
=$2
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13184 $as_echo_n "checking for $ac_word... " >&6; }
13185 if ${ac_cv_path_LS+:} false
; then :
13186 $as_echo_n "(cached) " >&6
13190 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
13193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13194 for as_dir
in $PATH
13197 test -z "$as_dir" && as_dir
=.
13198 for ac_exec_ext
in '' $ac_executable_extensions; do
13199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13200 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
13201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13208 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
13213 if test -n "$LS"; then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
13215 $as_echo "$LS" >&6; }
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13218 $as_echo "no" >&6; }
13222 # Extract the first word of "sed", so it can be a program name with args.
13223 set dummy
sed; ac_word
=$2
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13225 $as_echo_n "checking for $ac_word... " >&6; }
13226 if ${ac_cv_path_SED+:} false
; then :
13227 $as_echo_n "(cached) " >&6
13231 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
13234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13235 for as_dir
in $PATH
13238 test -z "$as_dir" && as_dir
=.
13239 for ac_exec_ext
in '' $ac_executable_extensions; do
13240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13241 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
13242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13249 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
13253 SED
=$ac_cv_path_SED
13254 if test -n "$SED"; then
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
13256 $as_echo "$SED" >&6; }
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13259 $as_echo "no" >&6; }
13263 # Extract the first word of "make", so it can be a program name with args.
13264 set dummy
make; ac_word
=$2
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13266 $as_echo_n "checking for $ac_word... " >&6; }
13267 if ${ac_cv_path_MAKE+:} false
; then :
13268 $as_echo_n "(cached) " >&6
13272 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
13275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13276 for as_dir
in $PATH
13279 test -z "$as_dir" && as_dir
=.
13280 for ac_exec_ext
in '' $ac_executable_extensions; do
13281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13282 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
13283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13293 MAKE
=$ac_cv_path_MAKE
13294 if test -n "$MAKE"; then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
13296 $as_echo "$MAKE" >&6; }
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13299 $as_echo "no" >&6; }
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13308 $as_echo_n "checking whether NLS is requested... " >&6; }
13309 # Check whether --enable-nls was given.
13310 if test "${enable_nls+set}" = set; then :
13311 enableval
=$enable_nls; USE_NLS
=$enableval
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13317 $as_echo "$USE_NLS" >&6; }
13324 # Prepare PATH_SEPARATOR.
13325 # The user is always right.
13326 if test "${PATH_SEPARATOR+set}" != set; then
13327 echo "#! /bin/sh" >conf$$.sh
13328 echo "exit 0" >>conf$$.sh
13330 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13338 # Find out how to test for executable files. Don't use a zero-byte file,
13339 # as systems may use methods other than mode bits to determine executability.
13340 cat >conf$$.
file <<_ASEOF
13344 chmod +x conf$$.
file
13345 if test -x conf$$.
file >/dev
/null
2>&1; then
13346 ac_executable_p
="test -x"
13348 ac_executable_p
="test -f"
13352 # Extract the first word of "msgfmt", so it can be a program name with args.
13353 set dummy msgfmt
; ac_word
=$2
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13355 $as_echo_n "checking for $ac_word... " >&6; }
13356 if ${ac_cv_path_MSGFMT+:} false
; then :
13357 $as_echo_n "(cached) " >&6
13361 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13364 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13365 for ac_dir
in $PATH; do
13367 test -z "$ac_dir" && ac_dir
=.
13368 for ac_exec_ext
in '' $ac_executable_extensions; do
13369 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13370 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13371 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
13372 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13373 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
13380 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
13384 MSGFMT
="$ac_cv_path_MSGFMT"
13385 if test "$MSGFMT" != ":"; then
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13387 $as_echo "$MSGFMT" >&6; }
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13390 $as_echo "no" >&6; }
13393 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13394 set dummy gmsgfmt
; ac_word
=$2
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13396 $as_echo_n "checking for $ac_word... " >&6; }
13397 if ${ac_cv_path_GMSGFMT+:} false
; then :
13398 $as_echo_n "(cached) " >&6
13402 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
13405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13406 for as_dir
in $PATH
13409 test -z "$as_dir" && as_dir
=.
13410 for ac_exec_ext
in '' $ac_executable_extensions; do
13411 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13412 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13420 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
13424 GMSGFMT
=$ac_cv_path_GMSGFMT
13425 if test -n "$GMSGFMT"; then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13427 $as_echo "$GMSGFMT" >&6; }
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13430 $as_echo "no" >&6; }
13435 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13436 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
13437 *) MSGFMT_015
=$MSGFMT ;;
13440 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13441 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
13442 *) GMSGFMT_015
=$GMSGFMT ;;
13447 # Prepare PATH_SEPARATOR.
13448 # The user is always right.
13449 if test "${PATH_SEPARATOR+set}" != set; then
13450 echo "#! /bin/sh" >conf$$.sh
13451 echo "exit 0" >>conf$$.sh
13453 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13461 # Find out how to test for executable files. Don't use a zero-byte file,
13462 # as systems may use methods other than mode bits to determine executability.
13463 cat >conf$$.
file <<_ASEOF
13467 chmod +x conf$$.
file
13468 if test -x conf$$.
file >/dev
/null
2>&1; then
13469 ac_executable_p
="test -x"
13471 ac_executable_p
="test -f"
13475 # Extract the first word of "xgettext", so it can be a program name with args.
13476 set dummy xgettext
; ac_word
=$2
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13478 $as_echo_n "checking for $ac_word... " >&6; }
13479 if ${ac_cv_path_XGETTEXT+:} false
; then :
13480 $as_echo_n "(cached) " >&6
13482 case "$XGETTEXT" in
13484 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
13487 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13488 for ac_dir
in $PATH; do
13490 test -z "$ac_dir" && ac_dir
=.
13491 for ac_exec_ext
in '' $ac_executable_extensions; do
13492 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13493 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13494 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
13495 (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
13496 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
13503 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
13507 XGETTEXT
="$ac_cv_path_XGETTEXT"
13508 if test "$XGETTEXT" != ":"; then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13510 $as_echo "$XGETTEXT" >&6; }
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13513 $as_echo "no" >&6; }
13518 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13519 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
13520 *) XGETTEXT_015
=$XGETTEXT ;;
13525 # Prepare PATH_SEPARATOR.
13526 # The user is always right.
13527 if test "${PATH_SEPARATOR+set}" != set; then
13528 echo "#! /bin/sh" >conf$$.sh
13529 echo "exit 0" >>conf$$.sh
13531 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13539 # Find out how to test for executable files. Don't use a zero-byte file,
13540 # as systems may use methods other than mode bits to determine executability.
13541 cat >conf$$.
file <<_ASEOF
13545 chmod +x conf$$.
file
13546 if test -x conf$$.
file >/dev
/null
2>&1; then
13547 ac_executable_p
="test -x"
13549 ac_executable_p
="test -f"
13553 # Extract the first word of "msgmerge", so it can be a program name with args.
13554 set dummy msgmerge
; ac_word
=$2
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13556 $as_echo_n "checking for $ac_word... " >&6; }
13557 if ${ac_cv_path_MSGMERGE+:} false
; then :
13558 $as_echo_n "(cached) " >&6
13560 case "$MSGMERGE" in
13562 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
13565 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13566 for ac_dir
in $PATH; do
13568 test -z "$ac_dir" && ac_dir
=.
13569 for ac_exec_ext
in '' $ac_executable_extensions; do
13570 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13571 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13572 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
13573 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
13580 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
13584 MSGMERGE
="$ac_cv_path_MSGMERGE"
13585 if test "$MSGMERGE" != ":"; then
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13587 $as_echo "$MSGMERGE" >&6; }
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13590 $as_echo "no" >&6; }
13594 test -n "$localedir" || localedir
='${datadir}/locale'
13597 ac_config_commands
="$ac_config_commands po-directories"
13601 if test "X$prefix" = "XNONE"; then
13602 acl_final_prefix
="$ac_default_prefix"
13604 acl_final_prefix
="$prefix"
13606 if test "X$exec_prefix" = "XNONE"; then
13607 acl_final_exec_prefix
='${prefix}'
13609 acl_final_exec_prefix
="$exec_prefix"
13611 acl_save_prefix
="$prefix"
13612 prefix
="$acl_final_prefix"
13613 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13614 prefix
="$acl_save_prefix"
13617 # Check whether --with-gnu-ld was given.
13618 if test "${with_gnu_ld+set}" = set; then :
13619 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13624 # Prepare PATH_SEPARATOR.
13625 # The user is always right.
13626 if test "${PATH_SEPARATOR+set}" != set; then
13627 echo "#! /bin/sh" >conf$$.sh
13628 echo "exit 0" >>conf$$.sh
13630 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13638 if test "$GCC" = yes; then
13639 # Check if gcc -print-prog-name=ld gives a path.
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13641 $as_echo_n "checking for ld used by GCC... " >&6; }
13644 # gcc leaves a trailing carriage return which upsets mingw
13645 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13647 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13650 # Accept absolute paths.
13651 [\\/]* |
[A-Za-z
]:[\\/]*)
13652 re_direlt
='/[^/][^/]*/\.\./'
13653 # Canonicalize the path of ld
13654 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13655 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13656 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13658 test -z "$LD" && LD
="$ac_prog"
13661 # If it fails, then pretend we aren't using GCC.
13665 # If it is relative, then search for the first ld in PATH.
13666 with_gnu_ld
=unknown
13669 elif test "$with_gnu_ld" = yes; then
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13671 $as_echo_n "checking for GNU ld... " >&6; }
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13674 $as_echo_n "checking for non-GNU ld... " >&6; }
13676 if ${acl_cv_path_LD+:} false
; then :
13677 $as_echo_n "(cached) " >&6
13679 if test -z "$LD"; then
13680 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13681 for ac_dir
in $PATH; do
13682 test -z "$ac_dir" && ac_dir
=.
13683 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13684 acl_cv_path_LD
="$ac_dir/$ac_prog"
13685 # Check to see if the program is GNU ld. I'd rather use --version,
13686 # but apparently some GNU ld's only accept -v.
13687 # Break only if it was the GNU/non-GNU ld that we prefer.
13688 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13689 *GNU
* |
*'with BFD'*)
13690 test "$with_gnu_ld" != no
&& break ;;
13692 test "$with_gnu_ld" != yes && break ;;
13698 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13702 LD
="$acl_cv_path_LD"
13703 if test -n "$LD"; then
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13705 $as_echo "$LD" >&6; }
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13708 $as_echo "no" >&6; }
13710 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13712 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13713 if ${acl_cv_prog_gnu_ld+:} false
; then :
13714 $as_echo_n "(cached) " >&6
13716 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13717 case `$LD -v 2>&1 </dev/null` in
13718 *GNU
* |
*'with BFD'*)
13719 acl_cv_prog_gnu_ld
=yes ;;
13721 acl_cv_prog_gnu_ld
=no
;;
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13725 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13726 with_gnu_ld
=$acl_cv_prog_gnu_ld
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13732 $as_echo_n "checking for shared library run path origin... " >&6; }
13733 if ${acl_cv_rpath+:} false
; then :
13734 $as_echo_n "(cached) " >&6
13737 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13738 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13740 rm -f .
/conftest.sh
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13745 $as_echo "$acl_cv_rpath" >&6; }
13747 libext
="$acl_cv_libext"
13748 shlibext
="$acl_cv_shlibext"
13749 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13750 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13751 hardcode_direct
="$acl_cv_hardcode_direct"
13752 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13753 # Check whether --enable-rpath was given.
13754 if test "${enable_rpath+set}" = set; then :
13755 enableval
=$enable_rpath; :
13763 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13764 if test -n "$searchpath"; then
13765 acl_save_IFS
="${IFS= }"; IFS
=":"
13766 for searchdir
in $searchpath; do
13767 if test -d "$searchdir"; then
13768 case "$searchdir" in
13769 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
13770 *) searchdir
=`cd "$searchdir" && pwd`
13771 case "$searchdir" in
13772 */lib64
) acl_libdirstem
=lib64
;;
13777 IFS
="$acl_save_IFS"
13789 acl_save_prefix
="$prefix"
13790 prefix
="$acl_final_prefix"
13791 acl_save_exec_prefix
="$exec_prefix"
13792 exec_prefix
="$acl_final_exec_prefix"
13794 eval additional_includedir
=\"$includedir\"
13795 eval additional_libdir
=\"$libdir\"
13797 exec_prefix
="$acl_save_exec_prefix"
13798 prefix
="$acl_save_prefix"
13801 # Check whether --with-libiconv-prefix was given.
13802 if test "${with_libiconv_prefix+set}" = set; then :
13803 withval
=$with_libiconv_prefix;
13804 if test "X$withval" = "Xno"; then
13807 if test "X$withval" = "X"; then
13809 acl_save_prefix
="$prefix"
13810 prefix
="$acl_final_prefix"
13811 acl_save_exec_prefix
="$exec_prefix"
13812 exec_prefix
="$acl_final_exec_prefix"
13814 eval additional_includedir
=\"$includedir\"
13815 eval additional_libdir
=\"$libdir\"
13817 exec_prefix
="$acl_save_exec_prefix"
13818 prefix
="$acl_save_prefix"
13821 additional_includedir
="$withval/include"
13822 additional_libdir
="$withval/$acl_libdirstem"
13833 names_already_handled
=
13834 names_next_round
='iconv '
13835 while test -n "$names_next_round"; do
13836 names_this_round
="$names_next_round"
13838 for name
in $names_this_round; do
13840 for n
in $names_already_handled; do
13841 if test "$n" = "$name"; then
13842 already_handled
=yes
13846 if test -z "$already_handled"; then
13847 names_already_handled
="$names_already_handled $name"
13848 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13849 eval value
=\"\
$HAVE_LIB$uppername\"
13850 if test -n "$value"; then
13851 if test "$value" = yes; then
13852 eval value
=\"\
$LIB$uppername\"
13853 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13854 eval value
=\"\
$LTLIB$uppername\"
13855 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13864 if test $use_additional = yes; then
13865 if test -n "$shlibext" \
13866 && { test -f "$additional_libdir/lib$name.$shlibext" \
13867 ||
{ test "$shlibext" = dll \
13868 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13869 found_dir
="$additional_libdir"
13870 if test -f "$additional_libdir/lib$name.$shlibext"; then
13871 found_so
="$additional_libdir/lib$name.$shlibext"
13873 found_so
="$additional_libdir/lib$name.dll.a"
13875 if test -f "$additional_libdir/lib$name.la"; then
13876 found_la
="$additional_libdir/lib$name.la"
13879 if test -f "$additional_libdir/lib$name.$libext"; then
13880 found_dir
="$additional_libdir"
13881 found_a
="$additional_libdir/lib$name.$libext"
13882 if test -f "$additional_libdir/lib$name.la"; then
13883 found_la
="$additional_libdir/lib$name.la"
13888 if test "X$found_dir" = "X"; then
13889 for x
in $LDFLAGS $LTLIBICONV; do
13891 acl_save_prefix
="$prefix"
13892 prefix
="$acl_final_prefix"
13893 acl_save_exec_prefix
="$exec_prefix"
13894 exec_prefix
="$acl_final_exec_prefix"
13896 exec_prefix
="$acl_save_exec_prefix"
13897 prefix
="$acl_save_prefix"
13901 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13902 if test -n "$shlibext" \
13903 && { test -f "$dir/lib$name.$shlibext" \
13904 ||
{ test "$shlibext" = dll \
13905 && test -f "$dir/lib$name.dll.a"; }; }; then
13907 if test -f "$dir/lib$name.$shlibext"; then
13908 found_so
="$dir/lib$name.$shlibext"
13910 found_so
="$dir/lib$name.dll.a"
13912 if test -f "$dir/lib$name.la"; then
13913 found_la
="$dir/lib$name.la"
13916 if test -f "$dir/lib$name.$libext"; then
13918 found_a
="$dir/lib$name.$libext"
13919 if test -f "$dir/lib$name.la"; then
13920 found_la
="$dir/lib$name.la"
13926 if test "X$found_dir" != "X"; then
13931 if test "X$found_dir" != "X"; then
13932 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13933 if test "X$found_so" != "X"; then
13934 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13935 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13938 for x
in $ltrpathdirs; do
13939 if test "X$x" = "X$found_dir"; then
13944 if test -z "$haveit"; then
13945 ltrpathdirs
="$ltrpathdirs $found_dir"
13947 if test "$hardcode_direct" = yes; then
13948 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13950 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13951 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13953 for x
in $rpathdirs; do
13954 if test "X$x" = "X$found_dir"; then
13959 if test -z "$haveit"; then
13960 rpathdirs
="$rpathdirs $found_dir"
13964 for x
in $LDFLAGS $LIBICONV; do
13966 acl_save_prefix
="$prefix"
13967 prefix
="$acl_final_prefix"
13968 acl_save_exec_prefix
="$exec_prefix"
13969 exec_prefix
="$acl_final_exec_prefix"
13971 exec_prefix
="$acl_save_exec_prefix"
13972 prefix
="$acl_save_prefix"
13974 if test "X$x" = "X-L$found_dir"; then
13979 if test -z "$haveit"; then
13980 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13982 if test "$hardcode_minus_L" != no
; then
13983 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13985 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13991 if test "X$found_a" != "X"; then
13992 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13994 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13997 additional_includedir
=
13998 case "$found_dir" in
13999 */$acl_libdirstem |
*/$acl_libdirstem/)
14000 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14001 additional_includedir
="$basedir/include"
14004 if test "X$additional_includedir" != "X"; then
14005 if test "X$additional_includedir" != "X/usr/include"; then
14007 if test "X$additional_includedir" = "X/usr/local/include"; then
14008 if test -n "$GCC"; then
14010 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14014 if test -z "$haveit"; then
14015 for x
in $CPPFLAGS $INCICONV; do
14017 acl_save_prefix
="$prefix"
14018 prefix
="$acl_final_prefix"
14019 acl_save_exec_prefix
="$exec_prefix"
14020 exec_prefix
="$acl_final_exec_prefix"
14022 exec_prefix
="$acl_save_exec_prefix"
14023 prefix
="$acl_save_prefix"
14025 if test "X$x" = "X-I$additional_includedir"; then
14030 if test -z "$haveit"; then
14031 if test -d "$additional_includedir"; then
14032 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14038 if test -n "$found_la"; then
14039 save_libdir
="$libdir"
14040 case "$found_la" in
14041 */* |
*\\*) .
"$found_la" ;;
14042 *) .
"./$found_la" ;;
14044 libdir
="$save_libdir"
14045 for dep
in $dependency_libs; do
14048 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14049 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14051 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14052 if test -n "$GCC"; then
14054 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14058 if test -z "$haveit"; then
14060 for x
in $LDFLAGS $LIBICONV; do
14062 acl_save_prefix
="$prefix"
14063 prefix
="$acl_final_prefix"
14064 acl_save_exec_prefix
="$exec_prefix"
14065 exec_prefix
="$acl_final_exec_prefix"
14067 exec_prefix
="$acl_save_exec_prefix"
14068 prefix
="$acl_save_prefix"
14070 if test "X$x" = "X-L$additional_libdir"; then
14075 if test -z "$haveit"; then
14076 if test -d "$additional_libdir"; then
14077 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14081 for x
in $LDFLAGS $LTLIBICONV; do
14083 acl_save_prefix
="$prefix"
14084 prefix
="$acl_final_prefix"
14085 acl_save_exec_prefix
="$exec_prefix"
14086 exec_prefix
="$acl_final_exec_prefix"
14088 exec_prefix
="$acl_save_exec_prefix"
14089 prefix
="$acl_save_prefix"
14091 if test "X$x" = "X-L$additional_libdir"; then
14096 if test -z "$haveit"; then
14097 if test -d "$additional_libdir"; then
14098 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14105 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14106 if test "$enable_rpath" != no
; then
14108 for x
in $rpathdirs; do
14109 if test "X$x" = "X$dir"; then
14114 if test -z "$haveit"; then
14115 rpathdirs
="$rpathdirs $dir"
14118 for x
in $ltrpathdirs; do
14119 if test "X$x" = "X$dir"; then
14124 if test -z "$haveit"; then
14125 ltrpathdirs
="$ltrpathdirs $dir"
14130 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14133 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14136 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14137 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14143 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14144 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14150 if test "X$rpathdirs" != "X"; then
14151 if test -n "$hardcode_libdir_separator"; then
14153 for found_dir
in $rpathdirs; do
14154 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14156 acl_save_libdir
="$libdir"
14158 eval flag
=\"$hardcode_libdir_flag_spec\"
14159 libdir
="$acl_save_libdir"
14160 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14162 for found_dir
in $rpathdirs; do
14163 acl_save_libdir
="$libdir"
14164 libdir
="$found_dir"
14165 eval flag
=\"$hardcode_libdir_flag_spec\"
14166 libdir
="$acl_save_libdir"
14167 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14171 if test "X$ltrpathdirs" != "X"; then
14172 for found_dir
in $ltrpathdirs; do
14173 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14202 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14203 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
14204 $as_echo_n "(cached) " >&6
14206 gt_save_LIBS
="$LIBS"
14207 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 #include <CoreFoundation/CFPreferences.h>
14214 CFPreferencesCopyAppValue(NULL, NULL)
14219 if ac_fn_c_try_link
"$LINENO"; then :
14220 gt_cv_func_CFPreferencesCopyAppValue
=yes
14222 gt_cv_func_CFPreferencesCopyAppValue
=no
14224 rm -f core conftest.err conftest.
$ac_objext \
14225 conftest
$ac_exeext conftest.
$ac_ext
14226 LIBS
="$gt_save_LIBS"
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14229 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14230 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14232 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14236 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14237 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
14238 $as_echo_n "(cached) " >&6
14240 gt_save_LIBS
="$LIBS"
14241 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14244 #include <CoreFoundation/CFLocale.h>
14248 CFLocaleCopyCurrent();
14253 if ac_fn_c_try_link
"$LINENO"; then :
14254 gt_cv_func_CFLocaleCopyCurrent
=yes
14256 gt_cv_func_CFLocaleCopyCurrent
=no
14258 rm -f core conftest.err conftest.
$ac_objext \
14259 conftest
$ac_exeext conftest.
$ac_ext
14260 LIBS
="$gt_save_LIBS"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14263 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14264 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14266 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14270 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14271 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
14283 case " $gt_needs " in
14284 *" need-formatstring-macros "*) gt_api_version
=3 ;;
14285 *" need-ngettext "*) gt_api_version
=2 ;;
14286 *) gt_api_version
=1 ;;
14288 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
14289 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
14291 if test "$USE_NLS" = "yes"; then
14292 gt_use_preinstalled_gnugettext
=no
14295 if test $gt_api_version -ge 3; then
14296 gt_revision_test_code
='
14297 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14298 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14300 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14303 gt_revision_test_code
=
14305 if test $gt_api_version -ge 2; then
14306 gt_expression_test_code
=' + * ngettext ("", "", 0)'
14308 gt_expression_test_code
=
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14312 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14313 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
14314 $as_echo_n "(cached) " >&6
14316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14318 #include <libintl.h>
14319 $gt_revision_test_code
14320 extern int _nl_msg_cat_cntr;
14321 extern int *_nl_domain_bindings;
14325 bindtextdomain ("", "");
14326 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14331 if ac_fn_c_try_link
"$LINENO"; then :
14332 eval "$gt_func_gnugettext_libc=yes"
14334 eval "$gt_func_gnugettext_libc=no"
14336 rm -f core conftest.err conftest.
$ac_objext \
14337 conftest
$ac_exeext conftest.
$ac_ext
14339 eval ac_res
=\$
$gt_func_gnugettext_libc
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14341 $as_echo "$ac_res" >&6; }
14343 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14349 am_save_CPPFLAGS
="$CPPFLAGS"
14351 for element
in $INCICONV; do
14353 for x
in $CPPFLAGS; do
14355 acl_save_prefix
="$prefix"
14356 prefix
="$acl_final_prefix"
14357 acl_save_exec_prefix
="$exec_prefix"
14358 exec_prefix
="$acl_final_exec_prefix"
14360 exec_prefix
="$acl_save_exec_prefix"
14361 prefix
="$acl_save_prefix"
14363 if test "X$x" = "X$element"; then
14368 if test -z "$haveit"; then
14369 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14375 $as_echo_n "checking for iconv... " >&6; }
14376 if ${am_cv_func_iconv+:} false
; then :
14377 $as_echo_n "(cached) " >&6
14380 am_cv_func_iconv
="no, consider installing GNU libiconv"
14382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14384 #include <stdlib.h>
14389 iconv_t cd = iconv_open("","");
14390 iconv(cd,NULL,NULL,NULL,NULL);
14396 if ac_fn_c_try_link
"$LINENO"; then :
14397 am_cv_func_iconv
=yes
14399 rm -f core conftest.err conftest.
$ac_objext \
14400 conftest
$ac_exeext conftest.
$ac_ext
14401 if test "$am_cv_func_iconv" != yes; then
14402 am_save_LIBS
="$LIBS"
14403 LIBS
="$LIBS $LIBICONV"
14404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14406 #include <stdlib.h>
14411 iconv_t cd = iconv_open("","");
14412 iconv(cd,NULL,NULL,NULL,NULL);
14418 if ac_fn_c_try_link
"$LINENO"; then :
14419 am_cv_lib_iconv
=yes
14420 am_cv_func_iconv
=yes
14422 rm -f core conftest.err conftest.
$ac_objext \
14423 conftest
$ac_exeext conftest.
$ac_ext
14424 LIBS
="$am_save_LIBS"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14429 $as_echo "$am_cv_func_iconv" >&6; }
14430 if test "$am_cv_func_iconv" = yes; then
14432 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14435 if test "$am_cv_lib_iconv" = yes; then
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14437 $as_echo_n "checking how to link with libiconv... " >&6; }
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14439 $as_echo "$LIBICONV" >&6; }
14441 CPPFLAGS
="$am_save_CPPFLAGS"
14454 acl_save_prefix
="$prefix"
14455 prefix
="$acl_final_prefix"
14456 acl_save_exec_prefix
="$exec_prefix"
14457 exec_prefix
="$acl_final_exec_prefix"
14459 eval additional_includedir
=\"$includedir\"
14460 eval additional_libdir
=\"$libdir\"
14462 exec_prefix
="$acl_save_exec_prefix"
14463 prefix
="$acl_save_prefix"
14466 # Check whether --with-libintl-prefix was given.
14467 if test "${with_libintl_prefix+set}" = set; then :
14468 withval
=$with_libintl_prefix;
14469 if test "X$withval" = "Xno"; then
14472 if test "X$withval" = "X"; then
14474 acl_save_prefix
="$prefix"
14475 prefix
="$acl_final_prefix"
14476 acl_save_exec_prefix
="$exec_prefix"
14477 exec_prefix
="$acl_final_exec_prefix"
14479 eval additional_includedir
=\"$includedir\"
14480 eval additional_libdir
=\"$libdir\"
14482 exec_prefix
="$acl_save_exec_prefix"
14483 prefix
="$acl_save_prefix"
14486 additional_includedir
="$withval/include"
14487 additional_libdir
="$withval/$acl_libdirstem"
14498 names_already_handled
=
14499 names_next_round
='intl '
14500 while test -n "$names_next_round"; do
14501 names_this_round
="$names_next_round"
14503 for name
in $names_this_round; do
14505 for n
in $names_already_handled; do
14506 if test "$n" = "$name"; then
14507 already_handled
=yes
14511 if test -z "$already_handled"; then
14512 names_already_handled
="$names_already_handled $name"
14513 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14514 eval value
=\"\
$HAVE_LIB$uppername\"
14515 if test -n "$value"; then
14516 if test "$value" = yes; then
14517 eval value
=\"\
$LIB$uppername\"
14518 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
14519 eval value
=\"\
$LTLIB$uppername\"
14520 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
14529 if test $use_additional = yes; then
14530 if test -n "$shlibext" \
14531 && { test -f "$additional_libdir/lib$name.$shlibext" \
14532 ||
{ test "$shlibext" = dll \
14533 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14534 found_dir
="$additional_libdir"
14535 if test -f "$additional_libdir/lib$name.$shlibext"; then
14536 found_so
="$additional_libdir/lib$name.$shlibext"
14538 found_so
="$additional_libdir/lib$name.dll.a"
14540 if test -f "$additional_libdir/lib$name.la"; then
14541 found_la
="$additional_libdir/lib$name.la"
14544 if test -f "$additional_libdir/lib$name.$libext"; then
14545 found_dir
="$additional_libdir"
14546 found_a
="$additional_libdir/lib$name.$libext"
14547 if test -f "$additional_libdir/lib$name.la"; then
14548 found_la
="$additional_libdir/lib$name.la"
14553 if test "X$found_dir" = "X"; then
14554 for x
in $LDFLAGS $LTLIBINTL; do
14556 acl_save_prefix
="$prefix"
14557 prefix
="$acl_final_prefix"
14558 acl_save_exec_prefix
="$exec_prefix"
14559 exec_prefix
="$acl_final_exec_prefix"
14561 exec_prefix
="$acl_save_exec_prefix"
14562 prefix
="$acl_save_prefix"
14566 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14567 if test -n "$shlibext" \
14568 && { test -f "$dir/lib$name.$shlibext" \
14569 ||
{ test "$shlibext" = dll \
14570 && test -f "$dir/lib$name.dll.a"; }; }; then
14572 if test -f "$dir/lib$name.$shlibext"; then
14573 found_so
="$dir/lib$name.$shlibext"
14575 found_so
="$dir/lib$name.dll.a"
14577 if test -f "$dir/lib$name.la"; then
14578 found_la
="$dir/lib$name.la"
14581 if test -f "$dir/lib$name.$libext"; then
14583 found_a
="$dir/lib$name.$libext"
14584 if test -f "$dir/lib$name.la"; then
14585 found_la
="$dir/lib$name.la"
14591 if test "X$found_dir" != "X"; then
14596 if test "X$found_dir" != "X"; then
14597 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14598 if test "X$found_so" != "X"; then
14599 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14600 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14603 for x
in $ltrpathdirs; do
14604 if test "X$x" = "X$found_dir"; then
14609 if test -z "$haveit"; then
14610 ltrpathdirs
="$ltrpathdirs $found_dir"
14612 if test "$hardcode_direct" = yes; then
14613 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14615 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14616 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14618 for x
in $rpathdirs; do
14619 if test "X$x" = "X$found_dir"; then
14624 if test -z "$haveit"; then
14625 rpathdirs
="$rpathdirs $found_dir"
14629 for x
in $LDFLAGS $LIBINTL; do
14631 acl_save_prefix
="$prefix"
14632 prefix
="$acl_final_prefix"
14633 acl_save_exec_prefix
="$exec_prefix"
14634 exec_prefix
="$acl_final_exec_prefix"
14636 exec_prefix
="$acl_save_exec_prefix"
14637 prefix
="$acl_save_prefix"
14639 if test "X$x" = "X-L$found_dir"; then
14644 if test -z "$haveit"; then
14645 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14647 if test "$hardcode_minus_L" != no
; then
14648 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14650 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14656 if test "X$found_a" != "X"; then
14657 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14659 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14662 additional_includedir
=
14663 case "$found_dir" in
14664 */$acl_libdirstem |
*/$acl_libdirstem/)
14665 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14666 additional_includedir
="$basedir/include"
14669 if test "X$additional_includedir" != "X"; then
14670 if test "X$additional_includedir" != "X/usr/include"; then
14672 if test "X$additional_includedir" = "X/usr/local/include"; then
14673 if test -n "$GCC"; then
14675 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14679 if test -z "$haveit"; then
14680 for x
in $CPPFLAGS $INCINTL; do
14682 acl_save_prefix
="$prefix"
14683 prefix
="$acl_final_prefix"
14684 acl_save_exec_prefix
="$exec_prefix"
14685 exec_prefix
="$acl_final_exec_prefix"
14687 exec_prefix
="$acl_save_exec_prefix"
14688 prefix
="$acl_save_prefix"
14690 if test "X$x" = "X-I$additional_includedir"; then
14695 if test -z "$haveit"; then
14696 if test -d "$additional_includedir"; then
14697 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14703 if test -n "$found_la"; then
14704 save_libdir
="$libdir"
14705 case "$found_la" in
14706 */* |
*\\*) .
"$found_la" ;;
14707 *) .
"./$found_la" ;;
14709 libdir
="$save_libdir"
14710 for dep
in $dependency_libs; do
14713 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14714 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14716 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14717 if test -n "$GCC"; then
14719 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14723 if test -z "$haveit"; then
14725 for x
in $LDFLAGS $LIBINTL; do
14727 acl_save_prefix
="$prefix"
14728 prefix
="$acl_final_prefix"
14729 acl_save_exec_prefix
="$exec_prefix"
14730 exec_prefix
="$acl_final_exec_prefix"
14732 exec_prefix
="$acl_save_exec_prefix"
14733 prefix
="$acl_save_prefix"
14735 if test "X$x" = "X-L$additional_libdir"; then
14740 if test -z "$haveit"; then
14741 if test -d "$additional_libdir"; then
14742 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14746 for x
in $LDFLAGS $LTLIBINTL; do
14748 acl_save_prefix
="$prefix"
14749 prefix
="$acl_final_prefix"
14750 acl_save_exec_prefix
="$exec_prefix"
14751 exec_prefix
="$acl_final_exec_prefix"
14753 exec_prefix
="$acl_save_exec_prefix"
14754 prefix
="$acl_save_prefix"
14756 if test "X$x" = "X-L$additional_libdir"; then
14761 if test -z "$haveit"; then
14762 if test -d "$additional_libdir"; then
14763 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14770 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14771 if test "$enable_rpath" != no
; then
14773 for x
in $rpathdirs; do
14774 if test "X$x" = "X$dir"; then
14779 if test -z "$haveit"; then
14780 rpathdirs
="$rpathdirs $dir"
14783 for x
in $ltrpathdirs; do
14784 if test "X$x" = "X$dir"; then
14789 if test -z "$haveit"; then
14790 ltrpathdirs
="$ltrpathdirs $dir"
14795 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14798 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14801 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14802 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14808 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14809 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14815 if test "X$rpathdirs" != "X"; then
14816 if test -n "$hardcode_libdir_separator"; then
14818 for found_dir
in $rpathdirs; do
14819 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14821 acl_save_libdir
="$libdir"
14823 eval flag
=\"$hardcode_libdir_flag_spec\"
14824 libdir
="$acl_save_libdir"
14825 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14827 for found_dir
in $rpathdirs; do
14828 acl_save_libdir
="$libdir"
14829 libdir
="$found_dir"
14830 eval flag
=\"$hardcode_libdir_flag_spec\"
14831 libdir
="$acl_save_libdir"
14832 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14836 if test "X$ltrpathdirs" != "X"; then
14837 for found_dir
in $ltrpathdirs; do
14838 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14843 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14844 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
14845 $as_echo_n "(cached) " >&6
14847 gt_save_CPPFLAGS
="$CPPFLAGS"
14848 CPPFLAGS
="$CPPFLAGS $INCINTL"
14849 gt_save_LIBS
="$LIBS"
14850 LIBS
="$LIBS $LIBINTL"
14851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14853 #include <libintl.h>
14854 $gt_revision_test_code
14855 extern int _nl_msg_cat_cntr;
14860 const char *_nl_expand_alias (const char *);
14864 bindtextdomain ("", "");
14865 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14870 if ac_fn_c_try_link
"$LINENO"; then :
14871 eval "$gt_func_gnugettext_libintl=yes"
14873 eval "$gt_func_gnugettext_libintl=no"
14875 rm -f core conftest.err conftest.
$ac_objext \
14876 conftest
$ac_exeext conftest.
$ac_ext
14877 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14878 LIBS
="$LIBS $LIBICONV"
14879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 #include <libintl.h>
14882 $gt_revision_test_code
14883 extern int _nl_msg_cat_cntr;
14888 const char *_nl_expand_alias (const char *);
14892 bindtextdomain ("", "");
14893 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14898 if ac_fn_c_try_link
"$LINENO"; then :
14899 LIBINTL
="$LIBINTL $LIBICONV"
14900 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
14901 eval "$gt_func_gnugettext_libintl=yes"
14904 rm -f core conftest.err conftest.
$ac_objext \
14905 conftest
$ac_exeext conftest.
$ac_ext
14907 CPPFLAGS
="$gt_save_CPPFLAGS"
14908 LIBS
="$gt_save_LIBS"
14910 eval ac_res
=\$
$gt_func_gnugettext_libintl
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14912 $as_echo "$ac_res" >&6; }
14915 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14916 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14917 && test "$PACKAGE" != gettext-runtime \
14918 && test "$PACKAGE" != gettext-tools
; }; then
14919 gt_use_preinstalled_gnugettext
=yes
14928 if test -n "$INTL_MACOSX_LIBS"; then
14929 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14930 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14931 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
14932 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
14936 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14937 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14939 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14947 $as_echo_n "checking whether to use NLS... " >&6; }
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14949 $as_echo "$USE_NLS" >&6; }
14950 if test "$USE_NLS" = "yes"; then
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14952 $as_echo_n "checking where the gettext function comes from... " >&6; }
14953 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14954 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14955 gt_source
="external libintl"
14960 gt_source
="included intl directory"
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14963 $as_echo "$gt_source" >&6; }
14966 if test "$USE_NLS" = "yes"; then
14968 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14969 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14971 $as_echo_n "checking how to link with libintl... " >&6; }
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14973 $as_echo "$LIBINTL" >&6; }
14975 for element
in $INCINTL; do
14977 for x
in $CPPFLAGS; do
14979 acl_save_prefix
="$prefix"
14980 prefix
="$acl_final_prefix"
14981 acl_save_exec_prefix
="$exec_prefix"
14982 exec_prefix
="$acl_final_exec_prefix"
14984 exec_prefix
="$acl_save_exec_prefix"
14985 prefix
="$acl_save_prefix"
14987 if test "X$x" = "X$element"; then
14992 if test -z "$haveit"; then
14993 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15000 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15003 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15012 INTLLIBS
="$LIBINTL"
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
15021 $as_echo_n "checking option: dmalloc enabled... " >&6; }
15022 # Check whether --enable-dmalloc was given.
15023 if test "${enable_dmalloc+set}" = set; then :
15024 enableval
=$enable_dmalloc;
15027 if test x
$enable_dmalloc = "xyes" ; then
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15029 $as_echo "yes" >&6; }
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15032 $as_echo "no" >&6; }
15036 # Check whether --with-dmalloc-dir was given.
15037 if test "${with_dmalloc_dir+set}" = set; then :
15038 withval
=$with_dmalloc_dir;
15039 if test "x$withval" != "xno" ; then
15040 enable_dmalloc
= "yes"
15041 CPPFLAGS
="$CPPFLAGS -I${withval}"
15042 LDFLAGS
="$LDFLAGS -L${withval}"
15048 if test x
$enable_dmalloc = "xyes" ; then
15050 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
15054 ALPINE_psefcmd
="/bin/ps auxww"
15055 ALPINE_psfailed
="0"
15058 # Check whether --with-ps-cmd was given.
15059 if test "${with_ps_cmd+set}" = set; then :
15060 withval
=$with_ps_cmd;
15061 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
15062 withval
=$ALPINE_psefcmd
15064 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15065 if test -n "$ALPINE_PSTEST" ; then
15066 ALPINE_psefcmd
="$withval"
15068 ALPINE_psfailed
="1"
15069 if test "x$ALPINE_psefcmd" != "x$withval" ; then
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
15071 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
15077 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
15078 withval
="$ALPINE_psefcmd"
15079 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15080 if test -z "$ALPINE_PSTEST" ; then
15081 ALPINE_psfailed
="1"
15083 ALPINE_psfailed
="0"
15086 if test "$ALPINE_psfailed" = "0" ; then
15088 cat >>confdefs.h
<<_ACEOF
15089 #define PSEFCMD "$ALPINE_psefcmd"
15096 if test -d /opt
/local ; then
15097 localedir
="/opt/local/share/locale"
15099 localedir
="\${datadir}/locale"
15103 localedir
="/usr/share"
15106 localedir
="\${datadir}/locale"
15111 # Check whether --with-localedir was given.
15112 if test "${with_localedir+set}" = set; then :
15113 withval
=$with_localedir;
15126 localedir
="$localedir"
15129 # Setup OS-Specific features
15132 # Check whether --enable-osx-universal-binaries was given.
15133 if test "${enable_osx_universal_binaries+set}" = set; then :
15134 enableval
=$enable_osx_universal_binaries;
15137 if test "x$enable_osx_universal_binaries" = "xyes" ; then
15138 if test "x$enable_dependency_tracking" != xno
; then
15139 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
15140 Please re-run configure with these options:
15141 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
15143 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
15144 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
15145 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
15146 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
15148 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
15150 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
15151 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
15152 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
15153 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
15154 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
15155 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
15161 # Check whether --with-include-path was given.
15162 if test "${with_include_path+set}" = set; then :
15163 withval
=$with_include_path;
15170 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
15171 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
15172 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
15180 # Check whether --with-lib-path was given.
15181 if test "${with_lib_path+set}" = set; then :
15182 withval
=$with_lib_path;
15189 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
15190 LDFLAGS
="$LDFLAGS $new_ldflags"
15191 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
15199 # Check whether --with-pubcookie was given.
15200 if test "${with_pubcookie+set}" = set; then :
15201 withval
=$with_pubcookie;
15202 if test "x$withval" != "xno" ; then
15203 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
15211 # Check whether --with-web-bin was given.
15212 if test "${with_web_bin+set}" = set; then :
15213 withval
=$with_web_bin;
15220 WEB_BINDIR
=$withval
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
15228 $as_echo_n "checking option: debugging is enabled... " >&6; }
15229 # Check whether --enable-debug was given.
15230 if test "${enable_debug+set}" = set; then :
15231 enableval
=$enable_debug;
15234 if test x
$enable_debug != "xno" ; then
15235 AM_CFLAGS
="$AM_CFLAGS -g"
15237 $as_echo "#define DEBUG 1" >>confdefs.h
15240 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15243 $as_echo "yes" >&6; }
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15246 $as_echo "no" >&6; }
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
15250 $as_echo_n "checking option: optimization is enabled... " >&6; }
15251 # Check whether --enable-optimization was given.
15252 if test "${enable_optimization+set}" = set; then :
15253 enableval
=$enable_optimization;
15256 if test x
$enable_optimization != "xno" ; then
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15258 $as_echo "yes" >&6; }
15260 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
15261 alpine_c_client_gccoptlevel
="-O0"
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15263 $as_echo "no" >&6; }
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
15267 $as_echo_n "checking option: mouse support enabled... " >&6; }
15268 # Check whether --enable-mouse was given.
15269 if test "${enable_mouse+set}" = set; then :
15270 enableval
=$enable_mouse;
15273 if test x
$enable_mouse != "xno" ; then
15275 $as_echo "#define MOUSE /**/" >>confdefs.h
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15278 $as_echo "yes" >&6; }
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15281 $as_echo "no" >&6; }
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
15285 $as_echo_n "checking option: quotas enabled... " >&6; }
15286 # Check whether --enable-quotas was given.
15287 if test "${enable_quotas+set}" = set; then :
15288 enableval
=$enable_quotas;
15291 if test x
$enable_quotas = "xyes" ; then
15293 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15296 $as_echo "yes" >&6; }
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15299 $as_echo "no" >&6; }
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
15303 $as_echo_n "checking option: From changing enabled... " >&6; }
15304 # Check whether --enable-from_changing was given.
15305 if test "${enable_from_changing+set}" = set; then :
15306 enableval
=$enable_from_changing;
15309 if test x
$enable_from_changing != "xno" ; then
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15311 $as_echo "yes" >&6; }
15314 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15317 $as_echo "no" >&6; }
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
15321 $as_echo_n "checking option: background post enabled... " >&6; }
15322 # Check whether --enable-background-post was given.
15323 if test "${enable_background_post+set}" = set; then :
15324 enableval
=$enable_background_post;
15327 if test x
$enable_background_post != "xno" ; then
15329 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15332 $as_echo "yes" >&6; }
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15335 $as_echo "no" >&6; }
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
15339 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
15340 # Check whether --enable-keyboard-lock was given.
15341 if test "${enable_keyboard_lock+set}" = set; then :
15342 enableval
=$enable_keyboard_lock;
15345 if test x
$enable_keyboard_lock != "xno" ; then
15347 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15350 $as_echo "yes" >&6; }
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15353 $as_echo "no" >&6; }
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
15357 $as_echo_n "checking option: from encoding enabled... " >&6; }
15358 # Check whether --enable-from-encoding was given.
15359 if test "${enable_from_encoding+set}" = set; then :
15360 enableval
=$enable_from_encoding;
15363 if test x
$enable_from_encoding = "xyes" ; then
15365 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15368 $as_echo "yes" >&6; }
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15371 $as_echo "no" >&6; }
15375 # Check whether --with-smtp-msa was given.
15376 if test "${with_smtp_msa+set}" = set; then :
15377 withval
=$with_smtp_msa;
15382 # Extract the first word of "sendmail", so it can be a program name with args.
15383 set dummy sendmail
; ac_word
=$2
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15385 $as_echo_n "checking for $ac_word... " >&6; }
15386 if ${ac_cv_path_SENDMAIL+:} false
; then :
15387 $as_echo_n "(cached) " >&6
15391 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15395 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15396 for as_dir
in $as_dummy
15399 test -z "$as_dir" && as_dir
=.
15400 for ac_exec_ext
in '' $ac_executable_extensions; do
15401 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15402 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15410 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15414 SENDMAIL
=$ac_cv_path_SENDMAIL
15415 if test -n "$SENDMAIL"; then
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15417 $as_echo "$SENDMAIL" >&6; }
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15420 $as_echo "no" >&6; }
15432 # Extract the first word of "sendmail", so it can be a program name with args.
15433 set dummy sendmail
; ac_word
=$2
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15435 $as_echo_n "checking for $ac_word... " >&6; }
15436 if ${ac_cv_path_SENDMAIL+:} false
; then :
15437 $as_echo_n "(cached) " >&6
15441 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15445 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15446 for as_dir
in $as_dummy
15449 test -z "$as_dir" && as_dir
=.
15450 for ac_exec_ext
in '' $ac_executable_extensions; do
15451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15452 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15460 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15464 SENDMAIL
=$ac_cv_path_SENDMAIL
15465 if test -n "$SENDMAIL"; then
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15467 $as_echo "$SENDMAIL" >&6; }
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15470 $as_echo "no" >&6; }
15477 if test -n "$SENDMAIL" ; then
15479 cat >>confdefs.h
<<_ACEOF
15480 #define SENDMAIL "$SENDMAIL"
15485 smtp_msa_flags
="-bs -odb -oem"
15487 # Check whether --with-smtp-msa-flags was given.
15488 if test "${with_smtp_msa_flags+set}" = set; then :
15489 withval
=$with_smtp_msa_flags;
15490 if test "x$withval" != "xno" ; then
15491 smtp_msa_flags
=$withval
15497 cat >>confdefs.h
<<_ACEOF
15498 #define SENDMAILFLAGS "$smtp_msa_flags"
15504 # Check whether --with-npa was given.
15505 if test "${with_npa+set}" = set; then :
15511 # Extract the first word of "inews", so it can be a program name with args.
15512 set dummy inews
; ac_word
=$2
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15514 $as_echo_n "checking for $ac_word... " >&6; }
15515 if ${ac_cv_path_NPA_PROG+:} false
; then :
15516 $as_echo_n "(cached) " >&6
15520 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15524 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15525 for as_dir
in $as_dummy
15528 test -z "$as_dir" && as_dir
=.
15529 for ac_exec_ext
in '' $ac_executable_extensions; do
15530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15531 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15539 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15543 NPA_PROG
=$ac_cv_path_NPA_PROG
15544 if test -n "$NPA_PROG"; then
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15546 $as_echo "$NPA_PROG" >&6; }
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15549 $as_echo "no" >&6; }
15561 # Extract the first word of "inews", so it can be a program name with args.
15562 set dummy inews
; ac_word
=$2
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15564 $as_echo_n "checking for $ac_word... " >&6; }
15565 if ${ac_cv_path_NPA_PROG+:} false
; then :
15566 $as_echo_n "(cached) " >&6
15570 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15574 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15575 for as_dir
in $as_dummy
15578 test -z "$as_dir" && as_dir
=.
15579 for ac_exec_ext
in '' $ac_executable_extensions; do
15580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15581 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15589 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15593 NPA_PROG
=$ac_cv_path_NPA_PROG
15594 if test -n "$NPA_PROG"; then
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15596 $as_echo "$NPA_PROG" >&6; }
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15599 $as_echo "no" >&6; }
15609 # Check whether --with-npa-flags was given.
15610 if test "${with_npa_flags+set}" = set; then :
15611 withval
=$with_npa_flags;
15612 if test "x$withval" != "xno" ; then
15618 if test -n "$NPA_PROG" ; then
15620 cat >>confdefs.h
<<_ACEOF
15621 #define SENDNEWS "$NPA_PROG $npa_flags"
15627 # Check whether --with-password-prog was given.
15628 if test "${with_password_prog+set}" = set; then :
15629 withval
=$with_password_prog;
15634 # Extract the first word of "passwd", so it can be a program name with args.
15635 set dummy passwd
; ac_word
=$2
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15637 $as_echo_n "checking for $ac_word... " >&6; }
15638 if ${ac_cv_path_PWPROG+:} false
; then :
15639 $as_echo_n "(cached) " >&6
15643 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15647 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15648 for as_dir
in $as_dummy
15651 test -z "$as_dir" && as_dir
=.
15652 for ac_exec_ext
in '' $ac_executable_extensions; do
15653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15654 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15662 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15666 PWPROG
=$ac_cv_path_PWPROG
15667 if test -n "$PWPROG"; then
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15669 $as_echo "$PWPROG" >&6; }
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15672 $as_echo "no" >&6; }
15678 # Extract the first word of "$withval", so it can be a program name with args.
15679 set dummy
$withval; ac_word
=$2
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15681 $as_echo_n "checking for $ac_word... " >&6; }
15682 if ${ac_cv_path_PWPROG+:} false
; then :
15683 $as_echo_n "(cached) " >&6
15687 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15691 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15692 for as_dir
in $as_dummy
15695 test -z "$as_dir" && as_dir
=.
15696 for ac_exec_ext
in '' $ac_executable_extensions; do
15697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15698 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15706 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15710 PWPROG
=$ac_cv_path_PWPROG
15711 if test -n "$PWPROG"; then
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15713 $as_echo "$PWPROG" >&6; }
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15716 $as_echo "no" >&6; }
15725 # Extract the first word of "passwd", so it can be a program name with args.
15726 set dummy passwd
; ac_word
=$2
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15728 $as_echo_n "checking for $ac_word... " >&6; }
15729 if ${ac_cv_path_PWPROG+:} false
; then :
15730 $as_echo_n "(cached) " >&6
15734 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15738 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15739 for as_dir
in $as_dummy
15742 test -z "$as_dir" && as_dir
=.
15743 for ac_exec_ext
in '' $ac_executable_extensions; do
15744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15745 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15753 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15757 PWPROG
=$ac_cv_path_PWPROG
15758 if test -n "$PWPROG"; then
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15760 $as_echo "$PWPROG" >&6; }
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15763 $as_echo "no" >&6; }
15770 if test -n "$PWPROG" ; then
15772 cat >>confdefs.h
<<_ACEOF
15773 #define PASSWD_PROG "$PWPROG"
15779 # Check whether --with-simple-spellcheck was given.
15780 if test "${with_simple_spellcheck+set}" = set; then :
15781 withval
=$with_simple_spellcheck;
15782 if test "x$withval" != "xno" ; then
15788 # Extract the first word of "hunspell", so it can be a program name with args.
15789 set dummy hunspell
; ac_word
=$2
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15791 $as_echo_n "checking for $ac_word... " >&6; }
15792 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15793 $as_echo_n "(cached) " >&6
15795 if test -n "$SPELLPROG"; then
15796 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15799 for as_dir
in $PATH
15802 test -z "$as_dir" && as_dir
=.
15803 for ac_exec_ext
in '' $ac_executable_extensions; do
15804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15805 ac_cv_prog_SPELLPROG
="hunspell"
15806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15815 SPELLPROG
=$ac_cv_prog_SPELLPROG
15816 if test -n "$SPELLPROG"; then
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15818 $as_echo "$SPELLPROG" >&6; }
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15821 $as_echo "no" >&6; }
15825 if test -z "$SPELLPROG" ; then
15826 # Extract the first word of "aspell", so it can be a program name with args.
15827 set dummy aspell
; ac_word
=$2
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15829 $as_echo_n "checking for $ac_word... " >&6; }
15830 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15831 $as_echo_n "(cached) " >&6
15833 if test -n "$SPELLPROG"; then
15834 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15837 for as_dir
in $PATH
15840 test -z "$as_dir" && as_dir
=.
15841 for ac_exec_ext
in '' $ac_executable_extensions; do
15842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15843 ac_cv_prog_SPELLPROG
="aspell"
15844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15853 SPELLPROG
=$ac_cv_prog_SPELLPROG
15854 if test -n "$SPELLPROG"; then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15856 $as_echo "$SPELLPROG" >&6; }
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15859 $as_echo "no" >&6; }
15863 if test -z "$SPELLPROG" ; then
15864 # Extract the first word of "ispell", so it can be a program name with args.
15865 set dummy ispell
; ac_word
=$2
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15867 $as_echo_n "checking for $ac_word... " >&6; }
15868 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15869 $as_echo_n "(cached) " >&6
15871 if test -n "$SPELLPROG"; then
15872 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15875 for as_dir
in $PATH
15878 test -z "$as_dir" && as_dir
=.
15879 for ac_exec_ext
in '' $ac_executable_extensions; do
15880 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15881 ac_cv_prog_SPELLPROG
="ispell"
15882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15891 SPELLPROG
=$ac_cv_prog_SPELLPROG
15892 if test -n "$SPELLPROG"; then
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15894 $as_echo "$SPELLPROG" >&6; }
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15897 $as_echo "no" >&6; }
15901 if test -z "$SPELLPROG" ; then
15910 if test "x$SPELLPROG" != "xno" ; then
15911 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
15912 set dummy
$SPELLPROG; ac_word
=$2
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15914 $as_echo_n "checking for $ac_word... " >&6; }
15915 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
15916 $as_echo_n "(cached) " >&6
15918 case $alpine_simple_spellcheck in
15920 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
15923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15924 for as_dir
in $PATH
15927 test -z "$as_dir" && as_dir
=.
15928 for ac_exec_ext
in '' $ac_executable_extensions; do
15929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15930 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
15931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15941 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
15942 if test -n "$alpine_simple_spellcheck"; then
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
15944 $as_echo "$alpine_simple_spellcheck" >&6; }
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15947 $as_echo "no" >&6; }
15951 if test -n "$alpine_simple_spellcheck" ; then
15952 case "$SPELLPROG" in
15954 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15957 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
15960 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15969 # Check whether --with-interactive-spellcheck was given.
15970 if test "${with_interactive_spellcheck+set}" = set; then :
15971 withval
=$with_interactive_spellcheck;
15972 if test "x$withval" != "xno" ; then
15973 ISPELLPROG
=$withval
15978 # Extract the first word of "hunspell", so it can be a program name with args.
15979 set dummy hunspell
; ac_word
=$2
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15981 $as_echo_n "checking for $ac_word... " >&6; }
15982 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
15983 $as_echo_n "(cached) " >&6
15985 if test -n "$ISPELLPROG"; then
15986 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
15988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15989 for as_dir
in $PATH
15992 test -z "$as_dir" && as_dir
=.
15993 for ac_exec_ext
in '' $ac_executable_extensions; do
15994 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15995 ac_cv_prog_ISPELLPROG
="hunspell"
15996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16006 if test -n "$ISPELLPROG"; then
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16008 $as_echo "$ISPELLPROG" >&6; }
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16011 $as_echo "no" >&6; }
16015 if test -z "$ISPELLPROG" ; then
16016 # Extract the first word of "aspell", so it can be a program name with args.
16017 set dummy aspell
; ac_word
=$2
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16019 $as_echo_n "checking for $ac_word... " >&6; }
16020 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16021 $as_echo_n "(cached) " >&6
16023 if test -n "$ISPELLPROG"; then
16024 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16027 for as_dir
in $PATH
16030 test -z "$as_dir" && as_dir
=.
16031 for ac_exec_ext
in '' $ac_executable_extensions; do
16032 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16033 ac_cv_prog_ISPELLPROG
="aspell"
16034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16043 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16044 if test -n "$ISPELLPROG"; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16046 $as_echo "$ISPELLPROG" >&6; }
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16049 $as_echo "no" >&6; }
16053 if test -z "$SPELLPROG" ; then
16054 ISPELLPROG
="ispell"
16061 if test "x$ISPELLPROG" != "xno" ; then
16062 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
16063 set dummy
$ISPELLPROG; ac_word
=$2
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16065 $as_echo_n "checking for $ac_word... " >&6; }
16066 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
16067 $as_echo_n "(cached) " >&6
16069 case $alpine_interactive_spellcheck in
16071 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
16074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16075 for as_dir
in $PATH
16078 test -z "$as_dir" && as_dir
=.
16079 for ac_exec_ext
in '' $ac_executable_extensions; do
16080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16081 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16092 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
16093 if test -n "$alpine_interactive_spellcheck"; then
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
16095 $as_echo "$alpine_interactive_spellcheck" >&6; }
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16098 $as_echo "no" >&6; }
16102 if test -n "$alpine_interactive_spellcheck" ; then
16103 case "$ISPELLPROG" in
16105 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
16113 if test -n "$alpine_interactive_spellcheck" ; then
16115 cat >>confdefs.h
<<_ACEOF
16116 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
16121 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
16122 alpine_simple_spellcheck
=test
16125 cat >>confdefs.h
<<_ACEOF
16126 #define SPELLER "$alpine_simple_spellcheck"
16131 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
16132 *) dpv
=${prefix}/lib
/pine.conf
;;
16135 # Check whether --with-system-pinerc was given.
16136 if test "${with_system_pinerc+set}" = set; then :
16137 withval
=$with_system_pinerc;
16151 cat >>confdefs.h
<<_ACEOF
16152 #define SYSTEM_PINERC "$dpv"
16157 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
16158 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
16161 # Check whether --with-system-fixed-pinerc was given.
16162 if test "${with_system_fixed_pinerc+set}" = set; then :
16163 withval
=$with_system_fixed_pinerc;
16177 cat >>confdefs.h
<<_ACEOF
16178 #define SYSTEM_PINERC_FIXED "$dpv"
16183 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
16184 *) dpv
=${prefix}/lib
/pine.info
;;
16187 # Check whether --with-local-support-info was given.
16188 if test "${with_local_support_info+set}" = set; then :
16189 withval
=$with_local_support_info;
16203 cat >>confdefs.h
<<_ACEOF
16204 #define SYSTEM_PINE_INFO_PATH "$dpv"
16215 # Check whether --with-mailcheck-interval was given.
16216 if test "${with_mailcheck_interval+set}" = set; then :
16217 withval
=$with_mailcheck_interval;
16218 if test "x$withval" != "xno" ; then
16225 cat >>confdefs.h
<<_ACEOF
16226 #define DF_MAILCHECK "$dpv"
16233 # Check whether --with-checkpoint-interval was given.
16234 if test "${with_checkpoint_interval+set}" = set; then :
16235 withval
=$with_checkpoint_interval;
16236 if test "x$withval" != "xno" ; then
16243 cat >>confdefs.h
<<_ACEOF
16244 #define CHECK_POINT_TIME $dpv
16251 # Check whether --with-checkpoint-frequency was given.
16252 if test "${with_checkpoint_frequency+set}" = set; then :
16253 withval
=$with_checkpoint_frequency;
16254 if test "x$withval" != "xno" ; then
16261 cat >>confdefs.h
<<_ACEOF
16262 #define CHECK_POINT_FREQ $dpv
16269 # Check whether --with-display-rows was given.
16270 if test "${with_display_rows+set}" = set; then :
16271 withval
=$with_display_rows;
16272 if test "x$withval" != "xno" ; then
16279 cat >>confdefs.h
<<_ACEOF
16280 #define DEFAULT_LINES_ON_TERMINAL $dpv
16287 # Check whether --with-display-columns was given.
16288 if test "${with_display_columns+set}" = set; then :
16289 withval
=$with_display_columns;
16290 if test "x$withval" != "xno" ; then
16297 cat >>confdefs.h
<<_ACEOF
16298 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
16305 # Check whether --with-max-display-rows was given.
16306 if test "${with_max_display_rows+set}" = set; then :
16307 withval
=$with_max_display_rows;
16308 if test "x$withval" != "xno" ; then
16315 cat >>confdefs.h
<<_ACEOF
16316 #define MAX_SCREEN_ROWS $dpv
16323 # Check whether --with-max-display-columns was given.
16324 if test "${with_max_display_columns+set}" = set; then :
16325 withval
=$with_max_display_columns;
16326 if test "x$withval" != "xno" ; then
16333 cat >>confdefs.h
<<_ACEOF
16334 #define MAX_SCREEN_COLS $dpv
16341 # Check whether --with-fill-column was given.
16342 if test "${with_fill_column+set}" = set; then :
16343 withval
=$with_fill_column;
16344 if test "x$withval" != "xno" ; then
16351 cat >>confdefs.h
<<_ACEOF
16352 #define DF_FILLCOL "$dpv"
16359 # Check whether --with-max_fill-column was given.
16360 if test "${with_max_fill_column+set}" = set; then :
16361 withval
=$with_max_fill_column;
16362 if test "x$withval" != "xno" ; then
16369 cat >>confdefs.h
<<_ACEOF
16370 #define MAX_FILLCOL $dpv
16377 # Check whether --with-debug-level was given.
16378 if test "${with_debug_level+set}" = set; then :
16379 withval
=$with_debug_level;
16380 if test "x$withval" != "xno" ; then
16387 cat >>confdefs.h
<<_ACEOF
16388 #define DEFAULT_DEBUG $dpv
16395 # Check whether --with-debug-files was given.
16396 if test "${with_debug_files+set}" = set; then :
16397 withval
=$with_debug_files;
16398 if test "x$withval" != "xno" ; then
16405 cat >>confdefs.h
<<_ACEOF
16406 #define NUMDEBUGFILES $dpv
16413 # Check whether --with-debug-file was given.
16414 if test "${with_debug_file+set}" = set; then :
16415 withval
=$with_debug_file;
16416 if test "x$withval" != "xno" ; then
16423 cat >>confdefs.h
<<_ACEOF
16424 #define DEBUGFILE "$dpv"
16431 # Check whether --with-forwarded-keyword was given.
16432 if test "${with_forwarded_keyword+set}" = set; then :
16433 withval
=$with_forwarded_keyword;
16434 if test "x$withval" != "xno" ; then
16441 cat >>confdefs.h
<<_ACEOF
16442 #define FORWARDED_FLAG "$dpv"
16449 # Check whether --with-display-overlap was given.
16450 if test "${with_display_overlap+set}" = set; then :
16451 withval
=$with_display_overlap;
16452 if test "x$withval" != "xno" ; then
16459 cat >>confdefs.h
<<_ACEOF
16460 #define DF_OVERLAP "$dpv"
16467 # Check whether --with-display-margin was given.
16468 if test "${with_display_margin+set}" = set; then :
16469 withval
=$with_display_margin;
16470 if test "x$withval" != "xno" ; then
16477 cat >>confdefs.h
<<_ACEOF
16478 #define DF_MARGIN "$dpv"
16485 # Check whether --with-default-fcc was given.
16486 if test "${with_default_fcc+set}" = set; then :
16487 withval
=$with_default_fcc;
16488 if test "x$withval" != "xno" ; then
16495 cat >>confdefs.h
<<_ACEOF
16496 #define DF_DEFAULT_FCC "$dpv"
16503 # Check whether --with-default-save-folder was given.
16504 if test "${with_default_save_folder+set}" = set; then :
16505 withval
=$with_default_save_folder;
16506 if test "x$withval" != "xno" ; then
16513 cat >>confdefs.h
<<_ACEOF
16514 #define DEFAULT_SAVE "$dpv"
16521 # Check whether --with-default-legacy-postponed-folder was given.
16522 if test "${with_default_legacy_postponed_folder+set}" = set; then :
16523 withval
=$with_default_legacy_postponed_folder;
16524 if test "x$withval" != "xno" ; then
16531 cat >>confdefs.h
<<_ACEOF
16532 #define POSTPONED_MAIL "$dpv"
16539 # Check whether --with-default-postponed-folder was given.
16540 if test "${with_default_postponed_folder+set}" = set; then :
16541 withval
=$with_default_postponed_folder;
16542 if test "x$withval" != "xno" ; then
16549 cat >>confdefs.h
<<_ACEOF
16550 #define POSTPONED_MSGS "$dpv"
16557 # Check whether --with-default-trash-folder was given.
16558 if test "${with_default_trash_folder+set}" = set; then :
16559 withval
=$with_default_trash_folder;
16560 if test "x$withval" != "xno" ; then
16567 cat >>confdefs.h
<<_ACEOF
16568 #define TRASH_FOLDER "$dpv"
16573 dpv
=.pine-interrupted-mail
16575 # Check whether --with-default-interrupted-mail was given.
16576 if test "${with_default_interrupted_mail+set}" = set; then :
16577 withval
=$with_default_interrupted_mail;
16578 if test "x$withval" != "xno" ; then
16585 cat >>confdefs.h
<<_ACEOF
16586 #define INTERRUPTED_MAIL "$dpv"
16593 # Check whether --with-default-dead-letter-folder was given.
16594 if test "${with_default_dead_letter_folder+set}" = set; then :
16595 withval
=$with_default_dead_letter_folder;
16596 if test "x$withval" != "xno" ; then
16603 cat >>confdefs.h
<<_ACEOF
16604 #define DEADLETTER "$dpv"
16611 # Check whether --with-default-mail-directory was given.
16612 if test "${with_default_mail_directory+set}" = set; then :
16613 withval
=$with_default_mail_directory;
16614 if test "x$withval" != "xno" ; then
16621 cat >>confdefs.h
<<_ACEOF
16622 #define DF_MAIL_DIRECTORY "$dpv"
16629 # Check whether --with-default-inbox-name was given.
16630 if test "${with_default_inbox_name+set}" = set; then :
16631 withval
=$with_default_inbox_name;
16632 if test "x$withval" != "xno" ; then
16639 cat >>confdefs.h
<<_ACEOF
16640 #define INBOX_NAME "$dpv"
16647 # Check whether --with-default-signature-file was given.
16648 if test "${with_default_signature_file+set}" = set; then :
16649 withval
=$with_default_signature_file;
16650 if test "x$withval" != "xno" ; then
16657 cat >>confdefs.h
<<_ACEOF
16658 #define DF_SIGNATURE_FILE "$dpv"
16665 # Check whether --with-default-elm-style-save was given.
16666 if test "${with_default_elm_style_save+set}" = set; then :
16667 withval
=$with_default_elm_style_save;
16668 if test "x$withval" != "xno" ; then
16675 cat >>confdefs.h
<<_ACEOF
16676 #define DF_ELM_STYLE_SAVE "$dpv"
16683 # Check whether --with-default-header-in-reply was given.
16684 if test "${with_default_header_in_reply+set}" = set; then :
16685 withval
=$with_default_header_in_reply;
16686 if test "x$withval" != "xno" ; then
16693 cat >>confdefs.h
<<_ACEOF
16694 #define DF_HEADER_IN_REPLY "$dpv"
16701 # Check whether --with-default-old-style-reply was given.
16702 if test "${with_default_old_style_reply+set}" = set; then :
16703 withval
=$with_default_old_style_reply;
16704 if test "x$withval" != "xno" ; then
16711 cat >>confdefs.h
<<_ACEOF
16712 #define DF_OLD_STYLE_REPLY "$dpv"
16719 # Check whether --with-default-use-only-domain-name was given.
16720 if test "${with_default_use_only_domain_name+set}" = set; then :
16721 withval
=$with_default_use_only_domain_name;
16722 if test "x$withval" != "xno" ; then
16729 cat >>confdefs.h
<<_ACEOF
16730 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
16737 # Check whether --with-default-save-by-sender was given.
16738 if test "${with_default_save_by_sender+set}" = set; then :
16739 withval
=$with_default_save_by_sender;
16740 if test "x$withval" != "xno" ; then
16747 cat >>confdefs.h
<<_ACEOF
16748 #define DF_SAVE_BY_SENDER "$dpv"
16755 # Check whether --with-default-sort-key was given.
16756 if test "${with_default_sort_key+set}" = set; then :
16757 withval
=$with_default_sort_key;
16758 if test "x$withval" != "xno" ; then
16765 cat >>confdefs.h
<<_ACEOF
16766 #define DF_SORT_KEY "$dpv"
16771 dpv
=fullname-with-lists-last
16773 # Check whether --with-default-addressbook-sort-rule was given.
16774 if test "${with_default_addressbook_sort_rule+set}" = set; then :
16775 withval
=$with_default_addressbook_sort_rule;
16776 if test "x$withval" != "xno" ; then
16783 cat >>confdefs.h
<<_ACEOF
16784 #define DF_AB_SORT_RULE "$dpv"
16791 # Check whether --with-default-folder-sort-rule was given.
16792 if test "${with_default_folder_sort_rule+set}" = set; then :
16793 withval
=$with_default_folder_sort_rule;
16794 if test "x$withval" != "xno" ; then
16801 cat >>confdefs.h
<<_ACEOF
16802 #define DF_FLD_SORT_RULE "$dpv"
16809 # Check whether --with-default-saved-message-name-rule was given.
16810 if test "${with_default_saved_message_name_rule+set}" = set; then :
16811 withval
=$with_default_saved_message_name_rule;
16812 if test "x$withval" != "xno" ; then
16819 cat >>confdefs.h
<<_ACEOF
16820 #define DF_SAVED_MSG_NAME_RULE "$dpv"
16827 # Check whether --with-default-fcc-rule was given.
16828 if test "${with_default_fcc_rule+set}" = set; then :
16829 withval
=$with_default_fcc_rule;
16830 if test "x$withval" != "xno" ; then
16837 cat >>confdefs.h
<<_ACEOF
16838 #define DF_FCC_RULE "$dpv"
16845 # Check whether --with-default-standard-printer was given.
16846 if test "${with_default_standard_printer+set}" = set; then :
16847 withval
=$with_default_standard_printer;
16848 if test "x$withval" != "xno" ; then
16855 cat >>confdefs.h
<<_ACEOF
16856 #define DF_STANDARD_PRINTER "$dpv"
16861 dpv
=attached-to-ansi
16863 # Check whether --with-default-ansi-printer was given.
16864 if test "${with_default_ansi_printer+set}" = set; then :
16865 withval
=$with_default_ansi_printer;
16866 if test "x$withval" != "xno" ; then
16873 cat >>confdefs.h
<<_ACEOF
16874 #define ANSI_PRINTER "$dpv"
16881 # Check whether --with-default-addressbook was given.
16882 if test "${with_default_addressbook+set}" = set; then :
16883 withval
=$with_default_addressbook;
16884 if test "x$withval" != "xno" ; then
16891 cat >>confdefs.h
<<_ACEOF
16892 #define DF_ADDRESSBOOK "$dpv"
16897 dpv
="Local Support"
16899 # Check whether --with-default-local-fullname was given.
16900 if test "${with_default_local_fullname+set}" = set; then :
16901 withval
=$with_default_local_fullname;
16902 if test "x$withval" != "xno" ; then
16909 cat >>confdefs.h
<<_ACEOF
16910 #define DF_LOCAL_FULLNAME "$dpv"
16917 # Check whether --with-default-local-address was given.
16918 if test "${with_default_local_address+set}" = set; then :
16919 withval
=$with_default_local_address;
16920 if test "x$withval" != "xno" ; then
16927 cat >>confdefs.h
<<_ACEOF
16928 #define DF_LOCAL_ADDRESS "$dpv"
16935 # Check whether --with-default-keyboard-lock-count was given.
16936 if test "${with_default_keyboard_lock_count+set}" = set; then :
16937 withval
=$with_default_keyboard_lock_count;
16938 if test "x$withval" != "xno" ; then
16945 cat >>confdefs.h
<<_ACEOF
16946 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
16953 # Check whether --with-default-remote-addressbook-history was given.
16954 if test "${with_default_remote_addressbook_history+set}" = set; then :
16955 withval
=$with_default_remote_addressbook_history;
16956 if test "x$withval" != "xno" ; then
16963 cat >>confdefs.h
<<_ACEOF
16964 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
16969 dpv
=.alpine-smime
/public
16971 # Check whether --with-smime-public-cert-directory was given.
16972 if test "${with_smime_public_cert_directory+set}" = set; then :
16973 withval
=$with_smime_public_cert_directory;
16974 if test "x$withval" != "xno" ; then
16981 cat >>confdefs.h
<<_ACEOF
16982 #define DF_PUBLICCERT_DIR "$dpv"
16987 dpv
=.alpine-smime
/private
16989 # Check whether --with-smime-private-key-directory was given.
16990 if test "${with_smime_private_key_directory+set}" = set; then :
16991 withval
=$with_smime_private_key_directory;
16992 if test "x$withval" != "xno" ; then
16999 cat >>confdefs.h
<<_ACEOF
17000 #define DF_PRIVATEKEY_DIR "$dpv"
17005 dpv
=.alpine-smime
/ca
17007 # Check whether --with-smime-cacert-directory was given.
17008 if test "${with_smime_cacert_directory+set}" = set; then :
17009 withval
=$with_smime_cacert_directory;
17010 if test "x$withval" != "xno" ; then
17017 cat >>confdefs.h
<<_ACEOF
17018 #define DF_CACERT_DIR "$dpv"
17025 # Check whether --with-default-printer was given.
17026 if test "${with_default_printer+set}" = set; then :
17027 withval
=$with_default_printer;
17028 if test "x$withval" != "xno" ; then
17035 cat >>confdefs.h
<<_ACEOF
17036 #define DF_DEFAULT_PRINTER $dpv
17042 cat >>confdefs.h
<<_ACEOF
17043 #define DF_PUBLIC_CONTAINER "PublicContainer"
17047 cat >>confdefs.h
<<_ACEOF
17048 #define DF_PRIVATE_CONTAINER "PrivateContainer"
17052 cat >>confdefs.h
<<_ACEOF
17053 #define DF_CA_CONTAINER "CAContainer"
17058 # Check whether --with-passfile was given.
17059 if test "${with_passfile+set}" = set; then :
17060 withval
=$with_passfile;
17067 alpine_PASSFILE
=$withval
17076 # Check whether --with-local-password-cache was given.
17077 if test "${with_local_password_cache+set}" = set; then :
17078 withval
=$with_local_password_cache;
17079 alpine_os_credential_cache
=$withval
17085 # Check whether --with-local-password-cache-method was given.
17086 if test "${with_local_password_cache_method+set}" = set; then :
17087 withval
=$with_local_password_cache_method;
17088 alpine_os_credential_cache_method
=$withval
17093 if test -n "$alpine_PASSFILE" ; then
17094 case $alpine_os_credential_cache in
17098 alpine_os_credential_cache
="no"
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
17100 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
17104 cat >>confdefs.h
<<_ACEOF
17105 #define PASSFILE "$alpine_PASSFILE"
17111 # Check whether --with-default-sshpath was given.
17112 if test "${with_default_sshpath+set}" = set; then :
17113 withval
=$with_default_sshpath;
17121 cat >>confdefs.h
<<_ACEOF
17122 #define DF_SSHPATH "$withval"
17132 # Check whether --with-default-sshcmd was given.
17133 if test "${with_default_sshcmd+set}" = set; then :
17134 withval
=$with_default_sshcmd;
17142 cat >>confdefs.h
<<_ACEOF
17143 #define DF_SSHCMD "$withval"
17153 # Check whether --with-ssl was given.
17154 if test "${with_ssl+set}" = set; then :
17155 withval
=$with_ssl; with_ssl
=$withval
17159 if test "x$with_ssl" = "xno" ; then
17160 alpine_SSLTYPE
="none"
17161 elif test -d /usr
/local
/ssl
; then
17162 alpine_SSLDIR
="/usr/local/ssl"
17163 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17164 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17167 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17168 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17169 alpine_SSLTYPE
="nopwd"
17170 if test -d /etc
/pki
/tls
; then
17171 alpine_SSLDIR
="/etc/pki/tls"
17173 alpine_SSLDIR
="/usr/share/ssl"
17175 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17176 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17177 alpine_SSLINCLUDE
="/usr/include/openssl"
17178 alpine_SSLLIB
="/usr/lib"
17179 elif test -f /etc
/mandrake-release
; then
17180 alpine_SSLDIR
="/usr/lib/ssl"
17181 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17182 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17183 alpine_SSLINCLUDE
="/usr/include/openssl"
17184 alpine_SSLLIB
="/usr/lib"
17185 elif test -f /etc
/SuSE-release
; then
17186 alpine_SSLTYPE
="nopwd"
17187 alpine_SSLDIR
="/etc/ssl"
17188 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17189 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17190 alpine_SSLINCLUDE
="/usr/include/openssl"
17191 alpine_SSLLIB
="/usr/lib"
17192 elif test -d /etc
/osso-af-init
; then
17193 alpine_SSLTYPE
="nopwd"
17194 alpine_SSLDIR
="/usr"
17195 alpine_SSLCERTS
="/usr/share/certs"
17196 alpine_SSLINCLUDE
="/usr/include/openssl"
17197 alpine_SSLLIB
="/usr/lib"
17198 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17199 if test ! -d /etc
/osso-af-init
; then
17200 alpine_SSLDIR
="/etc/ssl"
17201 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17202 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17203 alpine_SSLINCLUDE
="/usr/include/openssl"
17204 alpine_SSLLIB
="/usr/lib"
17206 elif test -f /etc
/manjaro-release
; then
17207 alpine_SSLDIR
="/etc/ssl"
17208 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17209 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17210 alpine_SSLINCLUDE
="/usr/include/openssl"
17211 alpine_SSLLIB
="/usr/lib"
17213 alpine_SSLTYPE
="nopwd"
17214 alpine_SSLDIR
="/usr"
17215 alpine_SSLCERTS
="/etc/ssl/certs"
17219 alpine_SSLTYPE
="nopwd"
17220 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
17221 if test -d /usr
/local
/opt
/openssl
; then
17222 alpine_SSLDIR
="/usr/local/opt/openssl"
17223 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17224 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17225 alpine_SSLCERTS
="/usr/local/etc/openssl"
17226 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17227 elif test -d /opt
/local
/etc
/openssl
; then
17228 alpine_SSLDIR
="/opt/local"
17229 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17230 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17231 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
17232 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
17233 elif test -d /sw
/etc
/ssl
; then
17234 alpine_SSLDIR
="/sw/etc/ssl"
17235 alpine_SSLINCLUDE
="/sw/include"
17236 alpine_SSLLIB
="/sw/lib"
17237 alpine_SSLCERTS
="/sw/etc/ssl/certs"
17238 alpine_SSLKEYS
="/sw/etc/ssl/private"
17239 elif test -d /usr
/local
/ssl
; then
17240 alpine_SSLDIR
="/usr/local/ssl"
17241 elif test -d /System
/Library
/OpenSSL
; then
17242 alpine_SSLDIR
="/System/Library/OpenSSL"
17243 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17244 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17245 alpine_SSLLIB
="/usr/lib"
17246 alpine_SSLINCLUDE
="/usr/include/openssl"
17250 alpine_SSLDIR
="/etc/openssl"
17251 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17252 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17253 alpine_SSLINCLUDE
="/usr/include/openssl"
17254 alpine_SSLLIB
="/usr/lib"
17257 alpine_SSLDIR
="/etc/openssl"
17258 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17259 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17260 alpine_SSLINCLUDE
="/usr/include/openssl"
17261 alpine_SSLLIB
="/usr/lib"
17264 alpine_SSLTYPE
="nopwd"
17265 alpine_SSLDIR
="/usr"
17266 alpine_SSLCERTS
="/etc/ssl/certs"
17269 alpine_SSLDIR
="/etc/ssl"
17270 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17271 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17272 if test -d /usr
/local
/include
/openssl
; then
17273 alpine_SSLINCLUDE
="/usr/local/include/openssl"
17274 alpine_SSLLIB
="/usr/local/lib"
17276 alpine_SSLINCLUDE
="/usr/include/openssl"
17277 alpine_SSLLIB
="/usr/lib"
17281 alpine_SSLDIR
="/etc/ssl"
17282 alpine_SSLINCLUDE
="/usr/include/openssl"
17283 alpine_SSLLIB
="/usr/lib"
17284 alpine_SSLCERTS
="/etc/ssl"
17285 alpine_SSLKEYS
="/etc/ssl/private"
17288 alpine_SSLDIR
="/usr/ssl"
17289 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17290 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
17291 alpine_SSLINCLUDE
="/usr/include/openssl"
17292 alpine_SSLLIB
="/usr/lib"
17294 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
17295 alpine_SSLTYPE
="sco.nopwd"
17296 alpine_SSLDIR
="/usr/local/ssl"
17299 if test -d /usr
/include
/openssl
; then
17300 alpine_SSLINCLUDE
="/usr/include/openssl"
17301 elif test -d /usr
/sfw
/include
/openssl
; then
17302 alpine_SSLDIR
="/usr/sfw"
17303 elif test -d /opt
/csw
/include
/openssl
; then
17304 alpine_SSLDIR
="/opt/csw"
17305 if test -d /opt
/csw
/ssl
/certs
; then
17306 alpine_SSLCERTS
="/opt/csw/ssl/certs"
17309 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
17310 alpine_SSLCERTS
="/etc/certs"
17314 alpine_SSLTYPE
="nopwd"
17315 alpine_SSLDIR
="/usr/local/ssl"
17320 if test "x$alpine_SSLTYPE" != "xnone" ; then
17322 # Check whether --with-ssl-dir was given.
17323 if test "${with_ssl_dir+set}" = set; then :
17324 withval
=$with_ssl_dir;
17325 if test "x$withval" != "xno" ; then
17326 alpine_SSLDIR
=$withval
17327 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
17328 alpine_SSLLIB
=$alpine_SSLDIR/lib
17335 # Check whether --with-ssl-certs-dir was given.
17336 if test "${with_ssl_certs_dir+set}" = set; then :
17337 withval
=$with_ssl_certs_dir;
17338 if test "x$withval" != "xno" ; then
17339 alpine_SSLCERTS
=$withval
17346 # Check whether --with-ssl-include-dir was given.
17347 if test "${with_ssl_include_dir+set}" = set; then :
17348 withval
=$with_ssl_include_dir;
17349 if test "x$withval" != "xno" ; then
17350 alpine_SSLINCLUDE
=$withval
17357 # Check whether --with-ssl-lib-dir was given.
17358 if test "${with_ssl_lib_dir+set}" = set; then :
17359 withval
=$with_ssl_lib_dir;
17360 if test "x$withval" != "xno" ; then
17361 alpine_SSLLIB
=$withval
17367 if test -n "$alpine_SSLINCLUDE" ; then
17368 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
17369 elif test -n "$alpine_SSLDIR" ; then
17370 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
17372 if test -n "$alpine_SSLLIB" ; then
17373 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
17374 elif test -n "$alpine_SSLDIR" ; then
17375 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
17381 # Check whether --with-krb5 was given.
17382 if test "${with_krb5+set}" = set; then :
17383 withval
=$with_krb5; with_krb5
=$withval
17387 if test "x$with_krb5" = "xno" ; then
17388 alpine_GSSTYPE
="none"
17393 # Check whether --with-krb5-dir was given.
17394 if test "${with_krb5_dir+set}" = set; then :
17395 withval
=$with_krb5_dir;
17396 if test "x$withval" != "xno" ; then
17397 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17398 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17405 # Check whether --with-krb5-include-dir was given.
17406 if test "${with_krb5_include_dir+set}" = set; then :
17407 withval
=$with_krb5_include_dir;
17408 if test "x$withval" != "xno" ; then
17409 CPPFLAGS
="$CPPFLAGS -I$withval"
17416 # Check whether --with-krb5-lib-dir was given.
17417 if test "${with_krb5_lib_dir+set}" = set; then :
17418 withval
=$with_krb5_lib_dir;
17419 if test "x$withval" != "xno" ; then
17420 LDFLAGS
="$LDFLAGS -L$withval"
17428 # Check whether --with-ldap was given.
17429 if test "${with_ldap+set}" = set; then :
17430 withval
=$with_ldap; with_ldap
=$withval
17434 if test "x$with_ldap" = "xno" ; then
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
17437 $as_echo "$as_me: Excluding LDAP Support" >&6;}
17440 alpine_with_ldap
=yes
17442 # Check whether --with-ldap-dir was given.
17443 if test "${with_ldap_dir+set}" = set; then :
17444 withval
=$with_ldap_dir;
17445 if test "x$withval" != "xno" ; then
17446 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17447 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17454 # Check whether --with-ldap-include-dir was given.
17455 if test "${with_ldap_include_dir+set}" = set; then :
17456 withval
=$with_ldap_include_dir;
17457 if test "x$withval" != "xno" ; then
17458 CPPFLAGS
="$CPPFLAGS -I$withval"
17465 # Check whether --with-ldap-lib-dir was given.
17466 if test "${with_ldap_lib_dir+set}" = set; then :
17467 withval
=$with_ldap_lib_dir;
17468 if test "x$withval" != "xno" ; then
17469 LDFLAGS
="$LDFLAGS -L$withval"
17477 # Check whether --with-smime was given.
17478 if test "${with_smime+set}" = set; then :
17479 withval
=$with_smime; with_smime
=$withval
17484 # Check whether --with-tcl was given.
17485 if test "${with_tcl+set}" = set; then :
17486 withval
=$with_tcl; with_tcl
=$withval
17490 if test "x$with_tcl" = "xno" ; then
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
17493 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
17496 # Check whether --with-tcl-lib was given.
17497 if test "${with_tcl_lib+set}" = set; then :
17498 withval
=$with_tcl_lib;
17499 if test "x$withval" != "xno" ; then
17500 alpine_TCLLIB
=$withval
17506 # Check whether --with-tcl-include was given.
17507 if test "${with_tcl_include+set}" = set; then :
17508 withval
=$with_tcl_include;
17509 if test "x$withval" != "xno" ; then
17510 CPPFLAGS
="$CPPFLAGS -I$withval"
17511 alpine_TCLINC
=$withval
17519 # Check whether --with-supplied-regex was given.
17520 if test "${with_supplied_regex+set}" = set; then :
17521 withval
=$with_supplied_regex; alpine_REGEX
=$withval
17526 # Check whether --with-pthread was given.
17527 if test "${with_pthread+set}" = set; then :
17528 withval
=$with_pthread; with_pthread
=$withval
17533 # Check whether --with-system-mail-directory was given.
17534 if test "${with_system_mail_directory+set}" = set; then :
17535 withval
=$with_system_mail_directory;
17536 if test "x$withval" != "xno" ; then
17537 alpine_with_local_maildir
="$withval"
17544 # Check whether --with-c-client-target was given.
17545 if test "${with_c_client_target+set}" = set; then :
17546 withval
=$with_c_client_target;
17547 if test "x$withval" != "xno" ;then
17548 alpine_with_c_client_target
="$withval"
17558 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17559 alpine_path_delim
="/"
17560 alpine_mode_readonly
="(0600)"
17561 if test -f /etc
/fedora-release
; then
17564 if test -d /etc
/pki
/tls
; then
17565 alpine_c_client_target
="lfd"
17567 alpine_c_client_target
="lrh"
17569 elif test -f /etc
/mandrake-release
; then
17571 alpine_c_client_target
="lmd"
17573 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17576 if test -d /etc
/pki
/tls
; then
17577 alpine_c_client_target
="lr5"
17579 alpine_c_client_target
="lrh"
17581 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17582 if test -d /etc
/osso-af-init
; then
17584 alpine_c_client_target
="ln8"
17587 alpine_c_client_target
="ldb"
17590 elif test -f /etc
/SuSE-release
; then
17592 alpine_c_client_target
="lsu"
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17597 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17598 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17599 $as_echo_n "(cached) " >&6
17601 ac_check_lib_save_LIBS
=$LIBS
17603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h. */
17606 /* Override any GCC internal prototype to avoid an error.
17607 Use char because int might match the return type of a GCC
17608 builtin and then its argument prototype would still apply. */
17616 return pam_start ();
17621 if ac_fn_c_try_link
"$LINENO"; then :
17622 ac_cv_lib_pam_pam_start
=yes
17624 ac_cv_lib_pam_pam_start
=no
17626 rm -f core conftest.err conftest.
$ac_objext \
17627 conftest
$ac_exeext conftest.
$ac_ext
17628 LIBS
=$ac_check_lib_save_LIBS
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17631 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17632 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17634 alpine_c_client_target
="lnp"
17639 if test -f /etc
/shadow
; then
17640 alpine_c_client_target
="slx"
17642 alpine_c_client_target
="lnx"
17651 alpine_path_delim
="/"
17652 alpine_mode_readonly
="(0600)"
17653 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
17654 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
17656 $as_echo "#define OSX_TARGET 1" >>confdefs.h
17658 case "$alpine_os_credential_cache" in
17663 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17668 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17669 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17670 $as_echo_n "(cached) " >&6
17672 ac_check_lib_save_LIBS
=$LIBS
17674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17677 /* Override any GCC internal prototype to avoid an error.
17678 Use char because int might match the return type of a GCC
17679 builtin and then its argument prototype would still apply. */
17687 return pam_start ();
17692 if ac_fn_c_try_link
"$LINENO"; then :
17693 ac_cv_lib_pam_pam_start
=yes
17695 ac_cv_lib_pam_pam_start
=no
17697 rm -f core conftest.err conftest.
$ac_objext \
17698 conftest
$ac_exeext conftest.
$ac_ext
17699 LIBS
=$ac_check_lib_save_LIBS
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17702 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17703 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17705 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17706 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
17709 alpine_c_client_target
="oxs"
17712 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17713 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
17716 alpine_c_client_target
="oxp"
17721 alpine_pam_none_reason
="header files not found"
17733 alpine_c_client_target
="osx"
17739 if test x
$GCC = "xyes" ; then
17741 alpine_c_client_target
="gso"
17742 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
17745 alpine_c_client_target
="soc"
17747 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
17750 alpine_path_delim
="/"
17751 alpine_mode_readonly
="(0600)"
17755 alpine_path_delim
="/"
17756 alpine_mode_readonly
="(0600)"
17757 alpine_c_client_target
="s40"
17760 if test x
$GCC = "xyes" ; then
17762 alpine_c_client_target
="go5"
17765 alpine_c_client_target
="sc5"
17767 alpine_path_delim
="/"
17768 alpine_mode_readonly
="(0600)"
17772 alpine_path_delim
="/"
17773 alpine_mode_readonly
="(0600)"
17774 alpine_c_client_target
="nx3"
17778 alpine_path_delim
="/"
17779 alpine_mode_readonly
="(0600)"
17780 alpine_c_client_target
="neb"
17784 alpine_path_delim
="/"
17785 alpine_mode_readonly
="(0600)"
17786 alpine_c_client_target
="neb"
17790 alpine_path_delim
="/"
17791 alpine_mode_readonly
="(0600)"
17792 alpine_c_client_target
="bsi"
17796 alpine_path_delim
="/"
17797 alpine_mode_readonly
="(0600)"
17798 alpine_c_client_target
="bsf"
17799 LIBS
="$LIBS $LIBINTL"
17803 alpine_path_delim
="/"
17804 alpine_mode_readonly
="(0600)"
17805 alpine_c_client_target
="bso"
17806 LIBS
="$LIBS $LIBINTL"
17810 alpine_path_delim
="/"
17811 alpine_mode_readonly
="(0600)"
17812 alpine_c_client_target
="a52"
17816 alpine_path_delim
="/"
17817 alpine_mode_readonly
="(0600)"
17818 alpine_c_client_target
="a41"
17822 alpine_path_delim
="/"
17823 alpine_mode_readonly
="(0600)"
17824 alpine_c_client_target
="a32"
17826 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
17828 alpine_path_delim
="/"
17829 alpine_mode_readonly
="(0600)"
17830 alpine_c_client_target
="uw2"
17834 alpine_path_delim
="/"
17835 alpine_mode_readonly
="(0600)"
17836 alpine_c_client_target
="osf"
17840 alpine_path_delim
="/"
17841 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17842 alpine_c_client_target
="cyg"
17843 LIBS
="$LIBS $LIBINTL"
17845 windows
* |
*-*-pw32*)
17847 alpine_path_delim
="\\"
17848 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17849 alpine_c_client_target
="wnt"
17851 $as_echo "#define _WINDOWS 1" >>confdefs.h
17855 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
17860 # Check whether --with-ipv6 was given.
17861 if test "${with_ipv6+set}" = set; then :
17862 withval
=$with_ipv6; with_ipv6
=$withval
17866 if test "x$with_ipv6" = "xno" ; then
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
17868 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
17869 c_client_specials
="${c_client_specials}IP6=4 "
17870 c_client_ip6
="true"
17872 c_client_ip6
="touch imap/ip6"
17877 if test x
$enable_dmalloc = "xyes" ; then
17878 if test "x$with_pthread" = "xyes" ; then
17879 dmalloc_lib
=dmallocth
17881 dmalloc_lib
=dmalloc
17884 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
17886 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
17887 if eval \
${$as_ac_Lib+:} false
; then :
17888 $as_echo_n "(cached) " >&6
17890 ac_check_lib_save_LIBS
=$LIBS
17891 LIBS
="-l$dmalloc_lib $LIBS"
17892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17895 /* Override any GCC internal prototype to avoid an error.
17896 Use char because int might match the return type of a GCC
17897 builtin and then its argument prototype would still apply. */
17901 char dmalloc_shutdown ();
17905 return dmalloc_shutdown ();
17910 if ac_fn_c_try_link
"$LINENO"; then :
17911 eval "$as_ac_Lib=yes"
17913 eval "$as_ac_Lib=no"
17915 rm -f core conftest.err conftest.
$ac_objext \
17916 conftest
$ac_exeext conftest.
$ac_ext
17917 LIBS
=$ac_check_lib_save_LIBS
17919 eval ac_res
=\$
$as_ac_Lib
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17921 $as_echo "$ac_res" >&6; }
17922 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
17923 cat >>confdefs.h
<<_ACEOF
17924 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
17927 LIBS
="-l$dmalloc_lib $LIBS"
17931 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
17938 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
17939 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
17940 $as_echo_n "(cached) " >&6
17942 ac_check_lib_save_LIBS
=$LIBS
17943 LIBS
="-ltinfo $LIBS"
17944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17947 /* Override any GCC internal prototype to avoid an error.
17948 Use char because int might match the return type of a GCC
17949 builtin and then its argument prototype would still apply. */
17957 return setupterm ();
17962 if ac_fn_c_try_link
"$LINENO"; then :
17963 ac_cv_lib_tinfo_setupterm
=yes
17965 ac_cv_lib_tinfo_setupterm
=no
17967 rm -f core conftest.err conftest.
$ac_objext \
17968 conftest
$ac_exeext conftest.
$ac_ext
17969 LIBS
=$ac_check_lib_save_LIBS
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
17972 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
17973 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
17975 alpine_termdata
=info
17976 LIBS
="$LIBS -ltinfo"
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
17981 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
17982 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
17983 $as_echo_n "(cached) " >&6
17985 ac_check_lib_save_LIBS
=$LIBS
17986 LIBS
="-lncurses $LIBS"
17987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17990 /* Override any GCC internal prototype to avoid an error.
17991 Use char because int might match the return type of a GCC
17992 builtin and then its argument prototype would still apply. */
18000 return setupterm ();
18005 if ac_fn_c_try_link
"$LINENO"; then :
18006 ac_cv_lib_ncurses_setupterm
=yes
18008 ac_cv_lib_ncurses_setupterm
=no
18010 rm -f core conftest.err conftest.
$ac_objext \
18011 conftest
$ac_exeext conftest.
$ac_ext
18012 LIBS
=$ac_check_lib_save_LIBS
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
18015 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
18016 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
18018 alpine_termdata
=info
18019 LIBS
="$LIBS -lncurses"
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
18024 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
18025 if ${ac_cv_lib_curses_setupterm+:} false
; then :
18026 $as_echo_n "(cached) " >&6
18028 ac_check_lib_save_LIBS
=$LIBS
18029 LIBS
="-lcurses $LIBS"
18030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18031 /* end confdefs.h. */
18033 /* Override any GCC internal prototype to avoid an error.
18034 Use char because int might match the return type of a GCC
18035 builtin and then its argument prototype would still apply. */
18043 return setupterm ();
18048 if ac_fn_c_try_link
"$LINENO"; then :
18049 ac_cv_lib_curses_setupterm
=yes
18051 ac_cv_lib_curses_setupterm
=no
18053 rm -f core conftest.err conftest.
$ac_objext \
18054 conftest
$ac_exeext conftest.
$ac_ext
18055 LIBS
=$ac_check_lib_save_LIBS
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
18058 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
18059 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
18061 alpine_termdata
=info
18062 LIBS
="$LIBS -lcurses"
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
18067 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
18068 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
18069 $as_echo_n "(cached) " >&6
18071 ac_check_lib_save_LIBS
=$LIBS
18072 LIBS
="-ltermlib $LIBS"
18073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18074 /* end confdefs.h. */
18076 /* Override any GCC internal prototype to avoid an error.
18077 Use char because int might match the return type of a GCC
18078 builtin and then its argument prototype would still apply. */
18091 if ac_fn_c_try_link
"$LINENO"; then :
18092 ac_cv_lib_termlib_tgetent
=yes
18094 ac_cv_lib_termlib_tgetent
=no
18096 rm -f core conftest.err conftest.
$ac_objext \
18097 conftest
$ac_exeext conftest.
$ac_ext
18098 LIBS
=$ac_check_lib_save_LIBS
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
18101 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
18102 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
18104 alpine_termdata
=cap
18105 LIBS
="$LIBS -ltermlib"
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
18110 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
18111 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
18112 $as_echo_n "(cached) " >&6
18114 ac_check_lib_save_LIBS
=$LIBS
18115 LIBS
="-ltermcap $LIBS"
18116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18119 /* Override any GCC internal prototype to avoid an error.
18120 Use char because int might match the return type of a GCC
18121 builtin and then its argument prototype would still apply. */
18134 if ac_fn_c_try_link
"$LINENO"; then :
18135 ac_cv_lib_termcap_tgetent
=yes
18137 ac_cv_lib_termcap_tgetent
=no
18139 rm -f core conftest.err conftest.
$ac_objext \
18140 conftest
$ac_exeext conftest.
$ac_ext
18141 LIBS
=$ac_check_lib_save_LIBS
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
18144 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
18145 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
18147 alpine_termdata
=cap
18148 LIBS
="$LIBS -ltermcap"
18152 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
18168 case $alpine_termdata in
18171 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
18176 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18182 $as_echo_n "checking for library containing dlopen... " >&6; }
18183 if ${ac_cv_search_dlopen+:} false
; then :
18184 $as_echo_n "(cached) " >&6
18186 ac_func_search_save_LIBS
=$LIBS
18187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18205 for ac_lib
in '' dl dld
; do
18206 if test -z "$ac_lib"; then
18207 ac_res
="none required"
18210 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18212 if ac_fn_c_try_link
"$LINENO"; then :
18213 ac_cv_search_dlopen
=$ac_res
18215 rm -f core conftest.err conftest.
$ac_objext \
18217 if ${ac_cv_search_dlopen+:} false
; then :
18221 if ${ac_cv_search_dlopen+:} false
; then :
18224 ac_cv_search_dlopen
=no
18226 rm conftest.
$ac_ext
18227 LIBS
=$ac_func_search_save_LIBS
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18230 $as_echo "$ac_cv_search_dlopen" >&6; }
18231 ac_res
=$ac_cv_search_dlopen
18232 if test "$ac_res" != no
; then :
18233 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18239 if test "x$alpine_DL" = "xnone" ; then
18240 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
18244 if test "x$alpine_SSLTYPE" != "xnone" ; then
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
18246 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
18247 if test "$cross_compiling" = yes; then :
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18249 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18255 #include <stdlib.h>
18257 #include <stdint.h>
18258 #endif /* HAVE_STDINT_H */
18259 #include <openssl/ssl.h>
18262 if (LIBRESSL_VERSION_NUMBER >= 0x20000000L)
18269 if ac_fn_c_try_run
"$LINENO"; then :
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18271 $as_echo "yes" >&6; }
18272 alpine_SSLPROVIDER
="libressl"
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18276 $as_echo "no" >&6; }
18279 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18280 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18285 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
18287 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
18288 if test "$cross_compiling" = yes; then :
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18290 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18296 #include <stdlib.h>
18298 #include <stdint.h>
18299 #endif /* HAVE_STDINT_H */
18300 #include <openssl/ssl.h>
18303 if (OPENSSL_VERSION_NUMBER >= 0x1000003fL)
18310 if ac_fn_c_try_run
"$LINENO"; then :
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18312 $as_echo "yes" >&6; }
18313 alpine_SSLPROVIDER
="openssl"
18316 alpine_SSLTYPE
="none"
18318 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18319 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18323 if test "x$alpine_SSLTYPE" = "xnone" ; then
18324 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
18329 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
18331 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
18332 if test "$cross_compiling" = yes; then :
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18334 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18337 /* end confdefs.h. */
18340 #include <stdlib.h>
18342 #include <stdint.h>
18343 #endif /* HAVE_STDINT_H */
18344 #include <openssl/ssl.h>
18347 if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
18354 if ac_fn_c_try_run
"$LINENO"; then :
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18356 $as_echo "yes" >&6; }
18357 alpine_SSLVERSION
="new"
18358 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18362 $as_echo "no" >&6; }
18363 alpine_SSLVERSION
="old"
18365 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18366 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18371 if test "x$alpine_SSLTYPE" != "xnone" ; then
18372 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
18374 $as_echo_n "checking for library containing SSLeay... " >&6; }
18375 if ${ac_cv_search_SSLeay+:} false
; then :
18376 $as_echo_n "(cached) " >&6
18378 ac_func_search_save_LIBS
=$LIBS
18379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18380 /* end confdefs.h. */
18382 /* Override any GCC internal prototype to avoid an error.
18383 Use char because int might match the return type of a GCC
18384 builtin and then its argument prototype would still apply. */
18397 for ac_lib
in '' crypto
; do
18398 if test -z "$ac_lib"; then
18399 ac_res
="none required"
18402 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18404 if ac_fn_c_try_link
"$LINENO"; then :
18405 ac_cv_search_SSLeay
=$ac_res
18407 rm -f core conftest.err conftest.
$ac_objext \
18409 if ${ac_cv_search_SSLeay+:} false
; then :
18413 if ${ac_cv_search_SSLeay+:} false
; then :
18416 ac_cv_search_SSLeay
=no
18418 rm conftest.
$ac_ext
18419 LIBS
=$ac_func_search_save_LIBS
18421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
18422 $as_echo "$ac_cv_search_SSLeay" >&6; }
18423 ac_res
=$ac_cv_search_SSLeay
18424 if test "$ac_res" != no
; then :
18425 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18428 alpine_CRYPTO
="none"
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
18433 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
18434 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18435 $as_echo_n "(cached) " >&6
18437 ac_func_search_save_LIBS
=$LIBS
18438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18441 /* Override any GCC internal prototype to avoid an error.
18442 Use char because int might match the return type of a GCC
18443 builtin and then its argument prototype would still apply. */
18447 char OpenSSL_version_num ();
18451 return OpenSSL_version_num ();
18456 for ac_lib
in '' crypto
; do
18457 if test -z "$ac_lib"; then
18458 ac_res
="none required"
18461 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18463 if ac_fn_c_try_link
"$LINENO"; then :
18464 ac_cv_search_OpenSSL_version_num
=$ac_res
18466 rm -f core conftest.err conftest.
$ac_objext \
18468 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18472 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18475 ac_cv_search_OpenSSL_version_num
=no
18477 rm conftest.
$ac_ext
18478 LIBS
=$ac_func_search_save_LIBS
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
18481 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
18482 ac_res
=$ac_cv_search_OpenSSL_version_num
18483 if test "$ac_res" != no
; then :
18484 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18487 alpine_CRYPTO
="none"
18491 if test "x$alpine_CRYPTO" = "xnone" ; then
18492 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
18497 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
18498 if test "x$ac_cv_header_crypto_h" = xyes
; then :
18501 alpine_CRYPTO_DEVEL
="none"
18505 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
18506 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
18514 if test "x$alpine_SSLTYPE" != "xnone" ; then
18515 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
18517 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
18518 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18519 $as_echo_n "(cached) " >&6
18521 ac_func_search_save_LIBS
=$LIBS
18522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18525 /* Override any GCC internal prototype to avoid an error.
18526 Use char because int might match the return type of a GCC
18527 builtin and then its argument prototype would still apply. */
18531 char TLSv1_2_client_method ();
18535 return TLSv1_2_client_method ();
18540 for ac_lib
in '' ssl
; do
18541 if test -z "$ac_lib"; then
18542 ac_res
="none required"
18545 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18547 if ac_fn_c_try_link
"$LINENO"; then :
18548 ac_cv_search_TLSv1_2_client_method
=$ac_res
18550 rm -f core conftest.err conftest.
$ac_objext \
18552 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18556 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18559 ac_cv_search_TLSv1_2_client_method
=no
18561 rm conftest.
$ac_ext
18562 LIBS
=$ac_func_search_save_LIBS
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
18565 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
18566 ac_res
=$ac_cv_search_TLSv1_2_client_method
18567 if test "$ac_res" != no
; then :
18568 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18569 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
18571 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLS_client_method" >&5
18578 $as_echo_n "checking for library containing TLS_client_method... " >&6; }
18579 if ${ac_cv_search_TLS_client_method+:} false
; then :
18580 $as_echo_n "(cached) " >&6
18582 ac_func_search_save_LIBS
=$LIBS
18583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18586 /* Override any GCC internal prototype to avoid an error.
18587 Use char because int might match the return type of a GCC
18588 builtin and then its argument prototype would still apply. */
18592 char TLS_client_method ();
18596 return TLS_client_method ();
18601 for ac_lib
in '' ssl
; do
18602 if test -z "$ac_lib"; then
18603 ac_res
="none required"
18606 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18608 if ac_fn_c_try_link
"$LINENO"; then :
18609 ac_cv_search_TLS_client_method
=$ac_res
18611 rm -f core conftest.err conftest.
$ac_objext \
18613 if ${ac_cv_search_TLS_client_method+:} false
; then :
18617 if ${ac_cv_search_TLS_client_method+:} false
; then :
18620 ac_cv_search_TLS_client_method
=no
18622 rm conftest.
$ac_ext
18623 LIBS
=$ac_func_search_save_LIBS
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLS_client_method" >&5
18626 $as_echo "$ac_cv_search_TLS_client_method" >&6; }
18627 ac_res
=$ac_cv_search_TLS_client_method
18628 if test "$ac_res" != no
; then :
18629 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18632 alpine_SSLTYPE
="none"
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DTLS_client_method" >&5
18636 $as_echo_n "checking for library containing DTLS_client_method... " >&6; }
18637 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18638 $as_echo_n "(cached) " >&6
18640 ac_func_search_save_LIBS
=$LIBS
18641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18644 /* Override any GCC internal prototype to avoid an error.
18645 Use char because int might match the return type of a GCC
18646 builtin and then its argument prototype would still apply. */
18650 char DTLS_client_method ();
18654 return DTLS_client_method ();
18659 for ac_lib
in '' ssl
; do
18660 if test -z "$ac_lib"; then
18661 ac_res
="none required"
18664 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18666 if ac_fn_c_try_link
"$LINENO"; then :
18667 ac_cv_search_DTLS_client_method
=$ac_res
18669 rm -f core conftest.err conftest.
$ac_objext \
18671 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18675 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18678 ac_cv_search_DTLS_client_method
=no
18680 rm conftest.
$ac_ext
18681 LIBS
=$ac_func_search_save_LIBS
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DTLS_client_method" >&5
18684 $as_echo "$ac_cv_search_DTLS_client_method" >&6; }
18685 ac_res
=$ac_cv_search_DTLS_client_method
18686 if test "$ac_res" != no
; then :
18687 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18690 alpine_SSLTYPE
="none"
18693 if test "x$alpine_SSLTYPE" != "xnone" ; then
18695 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18701 if test "x$alpine_SSLTYPE" != "xnone" ; then
18702 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
18704 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
18705 if ${ac_cv_search_SSL_library_init+:} false
; then :
18706 $as_echo_n "(cached) " >&6
18708 ac_func_search_save_LIBS
=$LIBS
18709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18710 /* end confdefs.h. */
18712 /* Override any GCC internal prototype to avoid an error.
18713 Use char because int might match the return type of a GCC
18714 builtin and then its argument prototype would still apply. */
18718 char SSL_library_init ();
18722 return SSL_library_init ();
18727 for ac_lib
in '' ssl
; do
18728 if test -z "$ac_lib"; then
18729 ac_res
="none required"
18732 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18734 if ac_fn_c_try_link
"$LINENO"; then :
18735 ac_cv_search_SSL_library_init
=$ac_res
18737 rm -f core conftest.err conftest.
$ac_objext \
18739 if ${ac_cv_search_SSL_library_init+:} false
; then :
18743 if ${ac_cv_search_SSL_library_init+:} false
; then :
18746 ac_cv_search_SSL_library_init
=no
18748 rm conftest.
$ac_ext
18749 LIBS
=$ac_func_search_save_LIBS
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
18752 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
18753 ac_res
=$ac_cv_search_SSL_library_init
18754 if test "$ac_res" != no
; then :
18755 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18758 alpine_SSLTYPE
="none"
18761 if test "x$alpine_SSLTYPE" = "xnone" ; then
18762 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
18767 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
18768 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18769 $as_echo_n "(cached) " >&6
18771 ac_func_search_save_LIBS
=$LIBS
18772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18775 /* Override any GCC internal prototype to avoid an error.
18776 Use char because int might match the return type of a GCC
18777 builtin and then its argument prototype would still apply. */
18781 char OPENSSL_init_ssl ();
18785 return OPENSSL_init_ssl ();
18790 for ac_lib
in '' ssl
; do
18791 if test -z "$ac_lib"; then
18792 ac_res
="none required"
18795 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18797 if ac_fn_c_try_link
"$LINENO"; then :
18798 ac_cv_search_OPENSSL_init_ssl
=$ac_res
18800 rm -f core conftest.err conftest.
$ac_objext \
18802 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18806 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18809 ac_cv_search_OPENSSL_init_ssl
=no
18811 rm conftest.
$ac_ext
18812 LIBS
=$ac_func_search_save_LIBS
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
18815 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
18816 ac_res
=$ac_cv_search_OPENSSL_init_ssl
18817 if test "$ac_res" != no
; then :
18818 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18821 alpine_SSLTYPE
="none"
18824 if test "x$alpine_SSLTYPE" = "xnone" ; then
18825 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
18831 if test "$alpine_with_ldap" = "yes" ; then
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
18834 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
18835 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
18836 $as_echo_n "(cached) " >&6
18838 ac_check_lib_save_LIBS
=$LIBS
18839 LIBS
="-llber $LIBS"
18840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18843 /* Override any GCC internal prototype to avoid an error.
18844 Use char because int might match the return type of a GCC
18845 builtin and then its argument prototype would still apply. */
18853 return ber_alloc ();
18858 if ac_fn_c_try_link
"$LINENO"; then :
18859 ac_cv_lib_lber_ber_alloc
=yes
18861 ac_cv_lib_lber_ber_alloc
=no
18863 rm -f core conftest.err conftest.
$ac_objext \
18864 conftest
$ac_exeext conftest.
$ac_ext
18865 LIBS
=$ac_check_lib_save_LIBS
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
18868 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
18869 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
18871 LIBS
="$LIBS -llber"
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
18876 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
18877 if ${ac_cv_search_ldap_initialize+:} false
; then :
18878 $as_echo_n "(cached) " >&6
18880 ac_func_search_save_LIBS
=$LIBS
18881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18882 /* end confdefs.h. */
18884 /* Override any GCC internal prototype to avoid an error.
18885 Use char because int might match the return type of a GCC
18886 builtin and then its argument prototype would still apply. */
18890 char ldap_initialize ();
18894 return ldap_initialize ();
18899 for ac_lib
in '' ldap
; do
18900 if test -z "$ac_lib"; then
18901 ac_res
="none required"
18904 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18906 if ac_fn_c_try_link
"$LINENO"; then :
18907 ac_cv_search_ldap_initialize
=$ac_res
18909 rm -f core conftest.err conftest.
$ac_objext \
18911 if ${ac_cv_search_ldap_initialize+:} false
; then :
18915 if ${ac_cv_search_ldap_initialize+:} false
; then :
18918 ac_cv_search_ldap_initialize
=no
18920 rm conftest.
$ac_ext
18921 LIBS
=$ac_func_search_save_LIBS
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
18924 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
18925 ac_res
=$ac_cv_search_ldap_initialize
18926 if test "$ac_res" != no
; then :
18927 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18929 alpine_has_ldap
=yes
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
18934 $as_echo_n "checking for library containing ldap_open... " >&6; }
18935 if ${ac_cv_search_ldap_open+:} false
; then :
18936 $as_echo_n "(cached) " >&6
18938 ac_func_search_save_LIBS
=$LIBS
18939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18942 /* Override any GCC internal prototype to avoid an error.
18943 Use char because int might match the return type of a GCC
18944 builtin and then its argument prototype would still apply. */
18952 return ldap_open ();
18957 for ac_lib
in '' ldap
; do
18958 if test -z "$ac_lib"; then
18959 ac_res
="none required"
18962 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18964 if ac_fn_c_try_link
"$LINENO"; then :
18965 ac_cv_search_ldap_open
=$ac_res
18967 rm -f core conftest.err conftest.
$ac_objext \
18969 if ${ac_cv_search_ldap_open+:} false
; then :
18973 if ${ac_cv_search_ldap_open+:} false
; then :
18976 ac_cv_search_ldap_open
=no
18978 rm conftest.
$ac_ext
18979 LIBS
=$ac_func_search_save_LIBS
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
18982 $as_echo "$ac_cv_search_ldap_open" >&6; }
18983 ac_res
=$ac_cv_search_ldap_open
18984 if test "$ac_res" != no
; then :
18985 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18987 alpine_has_ldap
=yes
18995 if test "$alpine_has_ldap" = "yes" ; then
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
18997 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
18999 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
19004 if test "x$alpine_PAM" != "xnone" ; then
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
19006 $as_echo_n "checking for library containing pam_start... " >&6; }
19007 if ${ac_cv_search_pam_start+:} false
; then :
19008 $as_echo_n "(cached) " >&6
19010 ac_func_search_save_LIBS
=$LIBS
19011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19014 /* Override any GCC internal prototype to avoid an error.
19015 Use char because int might match the return type of a GCC
19016 builtin and then its argument prototype would still apply. */
19024 return pam_start ();
19029 for ac_lib
in '' pam
; do
19030 if test -z "$ac_lib"; then
19031 ac_res
="none required"
19034 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19036 if ac_fn_c_try_link
"$LINENO"; then :
19037 ac_cv_search_pam_start
=$ac_res
19039 rm -f core conftest.err conftest.
$ac_objext \
19041 if ${ac_cv_search_pam_start+:} false
; then :
19045 if ${ac_cv_search_pam_start+:} false
; then :
19048 ac_cv_search_pam_start
=no
19050 rm conftest.
$ac_ext
19051 LIBS
=$ac_func_search_save_LIBS
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
19054 $as_echo "$ac_cv_search_pam_start" >&6; }
19055 ac_res
=$ac_cv_search_pam_start
19056 if test "$ac_res" != no
; then :
19057 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19060 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
19061 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
19066 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
19067 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
19070 if test "x$alpine_c_client_target" != "xoxp" ; then
19072 alpine_pam_none_reason
="header files not in security/ directory"
19078 alpine_pam_none_reason
="header files not found"
19091 alpine_pam_none_reason
="library files not found"
19095 if test -n "$alpine_pam_none_reason" ; then
19096 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
19101 if test "x$alpine_GSSTYPE" != "xnone" ; then
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
19103 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
19104 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19105 $as_echo_n "(cached) " >&6
19107 ac_func_search_save_LIBS
=$LIBS
19108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19111 /* Override any GCC internal prototype to avoid an error.
19112 Use char because int might match the return type of a GCC
19113 builtin and then its argument prototype would still apply. */
19117 char gss_init_sec_context ();
19121 return gss_init_sec_context ();
19126 for ac_lib
in '' gss gssapi gssapi_krb5
; do
19127 if test -z "$ac_lib"; then
19128 ac_res
="none required"
19131 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19133 if ac_fn_c_try_link
"$LINENO"; then :
19134 ac_cv_search_gss_init_sec_context
=$ac_res
19136 rm -f core conftest.err conftest.
$ac_objext \
19138 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19142 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19145 ac_cv_search_gss_init_sec_context
=no
19147 rm conftest.
$ac_ext
19148 LIBS
=$ac_func_search_save_LIBS
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
19151 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
19152 ac_res
=$ac_cv_search_gss_init_sec_context
19153 if test "$ac_res" != no
; then :
19154 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19156 LIBS
="$LIBS -lkrb5"
19157 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
19158 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
19162 if test ! -d /usr
/kerberos
/include
; then
19163 alpine_GSSTYPE
="none"
19164 alpine_gss_none_reason
="header files not found"
19173 alpine_GSSTYPE
="none"
19174 alpine_gss_none_reason
="libraries not found"
19178 if test -n "$alpine_gss_none_reason" ; then
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
19180 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
19184 if test -n "$WEB_BUILD" ; then
19185 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
19186 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
19187 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
19189 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
19190 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19191 $as_echo_n "(cached) " >&6
19193 ac_func_search_save_LIBS
=$LIBS
19194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19197 /* Override any GCC internal prototype to avoid an error.
19198 Use char because int might match the return type of a GCC
19199 builtin and then its argument prototype would still apply. */
19207 return Tcl_Eval ();
19212 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
19213 if test -z "$ac_lib"; then
19214 ac_res
="none required"
19217 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19219 if ac_fn_c_try_link
"$LINENO"; then :
19220 ac_cv_search_Tcl_Eval
=$ac_res
19222 rm -f core conftest.err conftest.
$ac_objext \
19224 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19228 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19231 ac_cv_search_Tcl_Eval
=no
19233 rm conftest.
$ac_ext
19234 LIBS
=$ac_func_search_save_LIBS
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
19237 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
19238 ac_res
=$ac_cv_search_Tcl_Eval
19239 if test "$ac_res" != no
; then :
19240 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19249 if test -n "$alpine_TCLINC" ; then
19250 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
19251 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
19252 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19261 if test -z "$WEB_BUILD" ; then
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
19263 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
19266 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
19267 if test "x$ac_cv_header_tcl_h" = xyes
; then :
19271 for base
in /usr
/usr
/local ; do
19272 for dir
in ${TCL_VERSIONS} ; do
19273 as_ac_File
=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
19275 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
19276 if eval \
${$as_ac_File+:} false
; then :
19277 $as_echo_n "(cached) " >&6
19279 test "$cross_compiling" = yes &&
19280 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
19281 if test -r "$base/include/$dir/tcl.h"; then
19282 eval "$as_ac_File=yes"
19284 eval "$as_ac_File=no"
19287 eval ac_res
=\$
$as_ac_File
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19289 $as_echo "$ac_res" >&6; }
19290 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
19296 if test "$found" = "yes" ; then
19297 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
19301 if test "$found" = "yes" ; then
19305 if test "$found" != "yes" ; then
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
19308 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
19317 if test "x$alpine_REGEX" != "xyes" ; then
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
19319 $as_echo_n "checking for library containing regcomp... " >&6; }
19320 if ${ac_cv_search_regcomp+:} false
; then :
19321 $as_echo_n "(cached) " >&6
19323 ac_func_search_save_LIBS
=$LIBS
19324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19325 /* end confdefs.h. */
19327 /* Override any GCC internal prototype to avoid an error.
19328 Use char because int might match the return type of a GCC
19329 builtin and then its argument prototype would still apply. */
19342 for ac_lib
in '' posix regexp regex re
; do
19343 if test -z "$ac_lib"; then
19344 ac_res
="none required"
19347 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19349 if ac_fn_c_try_link
"$LINENO"; then :
19350 ac_cv_search_regcomp
=$ac_res
19352 rm -f core conftest.err conftest.
$ac_objext \
19354 if ${ac_cv_search_regcomp+:} false
; then :
19358 if ${ac_cv_search_regcomp+:} false
; then :
19361 ac_cv_search_regcomp
=no
19363 rm conftest.
$ac_ext
19364 LIBS
=$ac_func_search_save_LIBS
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
19367 $as_echo "$ac_cv_search_regcomp" >&6; }
19368 ac_res
=$ac_cv_search_regcomp
19369 if test "$ac_res" != no
; then :
19370 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19374 if test x
$alpine_REGEX = "xno" ; then
19375 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
19383 if test "x$alpine_REGEX" != "xyes" ; then
19384 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
19385 if test "x$ac_cv_header_regex_h" = xyes
; then :
19389 if test x
$alpine_REGEX = "xno" ; then
19390 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
19400 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
19402 if test "x$alpine_REGEX" = "xyes" ; then
19403 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
19404 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
19406 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
19409 if test "x$with_pthread" != "xno" ; then
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
19411 $as_echo_n "checking for pthread support... " >&6; }
19416 ac_cpp
='$CPP $CPPFLAGS'
19417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19423 # We used to check for pthread.h first, but this fails if pthread.h
19424 # requires special compiler flags (e.g. on True64 or Sequent).
19425 # It gets checked for in the link test anyway.
19427 # First of all, check if the user has set any of the PTHREAD_LIBS,
19428 # etcetera environment variables, and if threads linking works using
19430 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19431 save_CFLAGS
="$CFLAGS"
19432 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19434 LIBS
="$PTHREAD_LIBS $LIBS"
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
19436 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
19437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19440 /* Override any GCC internal prototype to avoid an error.
19441 Use char because int might match the return type of a GCC
19442 builtin and then its argument prototype would still apply. */
19446 char pthread_join ();
19450 return pthread_join ();
19455 if ac_fn_c_try_link
"$LINENO"; then :
19458 rm -f core conftest.err conftest.
$ac_objext \
19459 conftest
$ac_exeext conftest.
$ac_ext
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19461 $as_echo "$acx_pthread_ok" >&6; }
19462 if test x
"$acx_pthread_ok" = xno
; then
19467 CFLAGS
="$save_CFLAGS"
19470 # We must check for the threads library under a number of different
19471 # names; the ordering is very important because some systems
19472 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19473 # libraries is broken (non-POSIX).
19475 # Create a list of thread flags to try. Items starting with a "-" are
19476 # C compiler flags, and other items are library names, except for "none"
19477 # which indicates that we try without any flags at all, and "pthread-config"
19478 # which is a program returning the flags for the Pth emulation library.
19480 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
19482 # The ordering *is* (sometimes) important. Some notes on the
19483 # individual items follow:
19485 # pthreads: AIX (must check this before -lpthread)
19486 # none: in case threads are in libc; should be tried before -Kthread and
19487 # other compiler flags to prevent continual compiler warnings
19488 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19489 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19490 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19491 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
19492 # -pthreads: Solaris/gcc
19493 # -mthreads: Mingw32/gcc, Lynx/gcc
19494 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19495 # doesn't hurt to check since this sometimes defines pthreads too;
19496 # also defines -D_REENTRANT)
19497 # ... -mt is also the pthreads flag for HP/aCC
19498 # pthread: Linux, etcetera
19499 # --thread-safe: KAI C++
19500 # pthread-config: use pthread-config program (for GNU Pth library)
19502 case "${host_cpu}-${host_os}" in
19505 # On Solaris (at least, for some versions), libc contains stubbed
19506 # (non-functional) versions of the pthreads routines, so link-based
19507 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19508 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19509 # a function called by this macro, so we could check for that, but
19510 # who knows whether they'll stub that too in a future libc.) So,
19511 # we'll just look for -pthreads and -lpthread first:
19513 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
19517 if test x
"$acx_pthread_ok" = xno
; then
19518 for flag
in $acx_pthread_flags; do
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19523 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19528 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19529 PTHREAD_CFLAGS
="$flag"
19533 # Extract the first word of "pthread-config", so it can be a program name with args.
19534 set dummy pthread-config
; ac_word
=$2
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19536 $as_echo_n "checking for $ac_word... " >&6; }
19537 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
19538 $as_echo_n "(cached) " >&6
19540 if test -n "$acx_pthread_config"; then
19541 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
19543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19544 for as_dir
in $PATH
19547 test -z "$as_dir" && as_dir
=.
19548 for ac_exec_ext
in '' $ac_executable_extensions; do
19549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19550 ac_cv_prog_acx_pthread_config
="yes"
19551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19558 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
19561 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
19562 if test -n "$acx_pthread_config"; then
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
19564 $as_echo "$acx_pthread_config" >&6; }
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19567 $as_echo "no" >&6; }
19571 if test x
"$acx_pthread_config" = xno
; then continue; fi
19572 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19573 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19578 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19579 PTHREAD_LIBS
="-l$flag"
19584 save_CFLAGS
="$CFLAGS"
19585 LIBS
="$PTHREAD_LIBS $LIBS"
19586 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19588 # Check for various functions. We must include pthread.h,
19589 # since some functions may be macros. (On the Sequent, we
19590 # need a special flag -Kthread to make this header compile.)
19591 # We check for pthread_join because it is in -lpthread on IRIX
19592 # while pthread_create is in libc. We check for pthread_attr_init
19593 # due to DEC craziness with -lpthreads. We check for
19594 # pthread_cleanup_push because it is one of the few pthread
19595 # functions on Solaris that doesn't have a non-functional libc stub.
19596 # We try pthread_create on general principles.
19597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19599 #include <pthread.h>
19603 pthread_t th; pthread_join(th, 0);
19604 pthread_attr_init(0); pthread_cleanup_push(0, 0);
19605 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
19610 if ac_fn_c_try_link
"$LINENO"; then :
19613 rm -f core conftest.err conftest.
$ac_objext \
19614 conftest
$ac_exeext conftest.
$ac_ext
19617 CFLAGS
="$save_CFLAGS"
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19620 $as_echo "$acx_pthread_ok" >&6; }
19621 if test "x$acx_pthread_ok" = xyes
; then
19630 # Various other checks:
19631 if test "x$acx_pthread_ok" = xyes
; then
19633 LIBS
="$PTHREAD_LIBS $LIBS"
19634 save_CFLAGS
="$CFLAGS"
19635 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19637 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19639 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19641 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19644 #include <pthread.h>
19648 int attr=$attr; return attr;
19653 if ac_fn_c_try_link
"$LINENO"; then :
19654 attr_name
=$attr; break
19656 rm -f core conftest.err conftest.
$ac_objext \
19657 conftest
$ac_exeext conftest.
$ac_ext
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19660 $as_echo "$attr_name" >&6; }
19661 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19663 cat >>confdefs.h
<<_ACEOF
19664 #define PTHREAD_CREATE_JOINABLE $attr_name
19669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19670 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19672 case "${host_cpu}-${host_os}" in
19673 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
19674 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19677 $as_echo "${flag}" >&6; }
19678 if test "x$flag" != xno
; then
19679 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19683 CFLAGS
="$save_CFLAGS"
19685 # More AIX lossage: must compile with xlc_r or cc_r
19686 if test x
"$GCC" != xyes
; then
19687 for ac_prog
in xlc_r cc_r
19689 # Extract the first word of "$ac_prog", so it can be a program name with args.
19690 set dummy
$ac_prog; ac_word
=$2
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19692 $as_echo_n "checking for $ac_word... " >&6; }
19693 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19694 $as_echo_n "(cached) " >&6
19696 if test -n "$PTHREAD_CC"; then
19697 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19700 for as_dir
in $PATH
19703 test -z "$as_dir" && as_dir
=.
19704 for ac_exec_ext
in '' $ac_executable_extensions; do
19705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19706 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19716 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19717 if test -n "$PTHREAD_CC"; then
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19719 $as_echo "$PTHREAD_CC" >&6; }
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19722 $as_echo "no" >&6; }
19726 test -n "$PTHREAD_CC" && break
19728 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19741 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19742 if test x
"$acx_pthread_ok" = xyes
; then
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19745 $as_echo "yes" >&6; }
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
19749 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
19750 AM_CFLAGS
="$AM_CFLAGS -pthread"
19753 LIBS
="$PTHREAD_LIBS $LIBS"
19754 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
19757 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19765 $as_echo "no" >&6; }
19769 ac_cpp
='$CPP $CPPFLAGS'
19770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19777 $as_echo_n "checking for library containing nanosleep... " >&6; }
19778 if ${ac_cv_search_nanosleep+:} false
; then :
19779 $as_echo_n "(cached) " >&6
19781 ac_func_search_save_LIBS
=$LIBS
19782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19785 /* Override any GCC internal prototype to avoid an error.
19786 Use char because int might match the return type of a GCC
19787 builtin and then its argument prototype would still apply. */
19795 return nanosleep ();
19800 for ac_lib
in '' rt posix4
; do
19801 if test -z "$ac_lib"; then
19802 ac_res
="none required"
19805 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19807 if ac_fn_c_try_link
"$LINENO"; then :
19808 ac_cv_search_nanosleep
=$ac_res
19810 rm -f core conftest.err conftest.
$ac_objext \
19812 if ${ac_cv_search_nanosleep+:} false
; then :
19816 if ${ac_cv_search_nanosleep+:} false
; then :
19819 ac_cv_search_nanosleep
=no
19821 rm conftest.
$ac_ext
19822 LIBS
=$ac_func_search_save_LIBS
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19825 $as_echo "$ac_cv_search_nanosleep" >&6; }
19826 ac_res
=$ac_cv_search_nanosleep
19827 if test "$ac_res" != no
; then :
19828 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19831 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19842 $as_echo_n "checking for ANSI C header files... " >&6; }
19843 if ${ac_cv_header_stdc+:} false
; then :
19844 $as_echo_n "(cached) " >&6
19846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19847 /* end confdefs.h. */
19848 #include <stdlib.h>
19849 #include <stdarg.h>
19850 #include <string.h>
19861 if ac_fn_c_try_compile
"$LINENO"; then :
19862 ac_cv_header_stdc
=yes
19864 ac_cv_header_stdc
=no
19866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19868 if test $ac_cv_header_stdc = yes; then
19869 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19871 /* end confdefs.h. */
19872 #include <string.h>
19875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19876 $EGREP "memchr" >/dev
/null
2>&1; then :
19879 ac_cv_header_stdc
=no
19885 if test $ac_cv_header_stdc = yes; then
19886 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19889 #include <stdlib.h>
19892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19893 $EGREP "free" >/dev
/null
2>&1; then :
19896 ac_cv_header_stdc
=no
19902 if test $ac_cv_header_stdc = yes; then
19903 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19904 if test "$cross_compiling" = yes; then :
19907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19910 #include <stdlib.h>
19911 #if ((' ' & 0x0FF) == 0x020)
19912 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19913 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19915 # define ISLOWER(c) \
19916 (('a' <= (c) && (c) <= 'i') \
19917 || ('j' <= (c) && (c) <= 'r') \
19918 || ('s' <= (c) && (c) <= 'z'))
19919 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19922 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19927 for (i = 0; i < 256; i++)
19928 if (XOR (islower (i), ISLOWER (i))
19929 || toupper (i) != TOUPPER (i))
19934 if ac_fn_c_try_run
"$LINENO"; then :
19937 ac_cv_header_stdc
=no
19939 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19940 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19946 $as_echo "$ac_cv_header_stdc" >&6; }
19947 if test $ac_cv_header_stdc = yes; then
19949 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19953 ac_header_dirent
=no
19954 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19955 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
19957 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
19958 if eval \
${$as_ac_Header+:} false
; then :
19959 $as_echo_n "(cached) " >&6
19961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19962 /* end confdefs.h. */
19963 #include <sys/types.h>
19975 if ac_fn_c_try_compile
"$LINENO"; then :
19976 eval "$as_ac_Header=yes"
19978 eval "$as_ac_Header=no"
19980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19982 eval ac_res
=\$
$as_ac_Header
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19984 $as_echo "$ac_res" >&6; }
19985 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19986 cat >>confdefs.h
<<_ACEOF
19987 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19990 ac_header_dirent
=$ac_hdr; break
19994 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19995 if test $ac_header_dirent = dirent.h
; then
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19997 $as_echo_n "checking for library containing opendir... " >&6; }
19998 if ${ac_cv_search_opendir+:} false
; then :
19999 $as_echo_n "(cached) " >&6
20001 ac_func_search_save_LIBS
=$LIBS
20002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20005 /* Override any GCC internal prototype to avoid an error.
20006 Use char because int might match the return type of a GCC
20007 builtin and then its argument prototype would still apply. */
20020 for ac_lib
in '' dir
; do
20021 if test -z "$ac_lib"; then
20022 ac_res
="none required"
20025 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20027 if ac_fn_c_try_link
"$LINENO"; then :
20028 ac_cv_search_opendir
=$ac_res
20030 rm -f core conftest.err conftest.
$ac_objext \
20032 if ${ac_cv_search_opendir+:} false
; then :
20036 if ${ac_cv_search_opendir+:} false
; then :
20039 ac_cv_search_opendir
=no
20041 rm conftest.
$ac_ext
20042 LIBS
=$ac_func_search_save_LIBS
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20045 $as_echo "$ac_cv_search_opendir" >&6; }
20046 ac_res
=$ac_cv_search_opendir
20047 if test "$ac_res" != no
; then :
20048 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20054 $as_echo_n "checking for library containing opendir... " >&6; }
20055 if ${ac_cv_search_opendir+:} false
; then :
20056 $as_echo_n "(cached) " >&6
20058 ac_func_search_save_LIBS
=$LIBS
20059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20062 /* Override any GCC internal prototype to avoid an error.
20063 Use char because int might match the return type of a GCC
20064 builtin and then its argument prototype would still apply. */
20077 for ac_lib
in '' x
; do
20078 if test -z "$ac_lib"; then
20079 ac_res
="none required"
20082 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20084 if ac_fn_c_try_link
"$LINENO"; then :
20085 ac_cv_search_opendir
=$ac_res
20087 rm -f core conftest.err conftest.
$ac_objext \
20089 if ${ac_cv_search_opendir+:} false
; then :
20093 if ${ac_cv_search_opendir+:} false
; then :
20096 ac_cv_search_opendir
=no
20098 rm conftest.
$ac_ext
20099 LIBS
=$ac_func_search_save_LIBS
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20102 $as_echo "$ac_cv_search_opendir" >&6; }
20103 ac_res
=$ac_cv_search_opendir
20104 if test "$ac_res" != no
; then :
20105 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
20112 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
20113 if ${ac_cv_header_stat_broken+:} false
; then :
20114 $as_echo_n "(cached) " >&6
20116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 #include <sys/types.h>
20119 #include <sys/stat.h>
20121 #if defined S_ISBLK && defined S_IFDIR
20122 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
20125 #if defined S_ISBLK && defined S_IFCHR
20126 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
20129 #if defined S_ISLNK && defined S_IFREG
20130 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
20133 #if defined S_ISSOCK && defined S_IFREG
20134 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20138 if ac_fn_c_try_compile
"$LINENO"; then :
20139 ac_cv_header_stat_broken
=no
20141 ac_cv_header_stat_broken
=yes
20143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
20146 $as_echo "$ac_cv_header_stat_broken" >&6; }
20147 if test $ac_cv_header_stat_broken = yes; then
20149 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
20154 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
20155 if ${ac_cv_header_sys_wait_h+:} false
; then :
20156 $as_echo_n "(cached) " >&6
20158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20159 /* end confdefs.h. */
20160 #include <sys/types.h>
20161 #include <sys/wait.h>
20162 #ifndef WEXITSTATUS
20163 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
20166 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
20174 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
20179 if ac_fn_c_try_compile
"$LINENO"; then :
20180 ac_cv_header_sys_wait_h
=yes
20182 ac_cv_header_sys_wait_h
=no
20184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
20187 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
20188 if test $ac_cv_header_sys_wait_h = yes; then
20190 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
20195 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
20196 if ${ac_cv_header_time+:} false
; then :
20197 $as_echo_n "(cached) " >&6
20199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20200 /* end confdefs.h. */
20201 #include <sys/types.h>
20202 #include <sys/time.h>
20208 if ((struct tm *) 0)
20214 if ac_fn_c_try_compile
"$LINENO"; then :
20215 ac_cv_header_time
=yes
20217 ac_cv_header_time
=no
20219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
20222 $as_echo "$ac_cv_header_time" >&6; }
20223 if test $ac_cv_header_time = yes; then
20225 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
20230 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
20231 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
20232 $as_echo_n "(cached) " >&6
20234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20235 /* end confdefs.h. */
20236 #include <sys/types.h>
20237 #include <termios.h>
20243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20244 $EGREP "yes" >/dev
/null
2>&1; then :
20245 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
20247 ac_cv_sys_tiocgwinsz_in_termios_h
=no
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
20253 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
20255 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
20257 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
20258 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
20259 $as_echo_n "(cached) " >&6
20261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20262 /* end confdefs.h. */
20263 #include <sys/types.h>
20264 #include <sys/ioctl.h>
20270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20271 $EGREP "yes" >/dev
/null
2>&1; then :
20272 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
20274 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
20280 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
20282 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
20284 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
20290 for ac_header
in unistd.h
20292 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20293 if test "x$ac_cv_header_unistd_h" = xyes
; then :
20294 cat >>confdefs.h
<<_ACEOF
20295 #define HAVE_UNISTD_H 1
20303 for ac_header
in errno.h \
20329 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20330 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20331 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20332 cat >>confdefs.h
<<_ACEOF
20333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20341 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
20342 if test "x$ac_cv_header_termios_h" = xyes
; then :
20344 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
20348 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
20349 if test "x$ac_cv_header_termio_h" = xyes
; then :
20351 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
20355 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
20356 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
20358 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
20362 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
20379 $as_echo_n "checking return type of signal handlers... " >&6; }
20380 if ${ac_cv_type_signal+:} false
; then :
20381 $as_echo_n "(cached) " >&6
20383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20385 #include <sys/types.h>
20386 #include <signal.h>
20391 return *(signal (0, 0)) (0) == 1;
20396 if ac_fn_c_try_compile
"$LINENO"; then :
20397 ac_cv_type_signal
=int
20399 ac_cv_type_signal
=void
20401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
20404 $as_echo "$ac_cv_type_signal" >&6; }
20406 cat >>confdefs.h
<<_ACEOF
20407 #define RETSIGTYPE $ac_cv_type_signal
20411 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20412 if test "x$ac_cv_type_size_t" = xyes
; then :
20416 cat >>confdefs.h
<<_ACEOF
20417 #define size_t unsigned int
20422 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
20423 if test "x$ac_cv_type_mode_t" = xyes
; then :
20427 cat >>confdefs.h
<<_ACEOF
20433 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
20434 if test "x$ac_cv_type_pid_t" = xyes
; then :
20438 cat >>confdefs.h
<<_ACEOF
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
20445 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
20446 if ${ac_cv_type_uid_t+:} false
; then :
20447 $as_echo_n "(cached) " >&6
20449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20450 /* end confdefs.h. */
20451 #include <sys/types.h>
20454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20455 $EGREP "uid_t" >/dev
/null
2>&1; then :
20456 ac_cv_type_uid_t
=yes
20458 ac_cv_type_uid_t
=no
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
20464 $as_echo "$ac_cv_type_uid_t" >&6; }
20465 if test $ac_cv_type_uid_t = no
; then
20467 $as_echo "#define uid_t int" >>confdefs.h
20470 $as_echo "#define gid_t int" >>confdefs.h
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
20475 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
20476 if ${ac_cv_struct_tm+:} false
; then :
20477 $as_echo_n "(cached) " >&6
20479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20480 /* end confdefs.h. */
20481 #include <sys/types.h>
20488 int *p = &tm.tm_sec;
20494 if ac_fn_c_try_compile
"$LINENO"; then :
20495 ac_cv_struct_tm
=time.h
20497 ac_cv_struct_tm
=sys
/time.h
20499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
20502 $as_echo "$ac_cv_struct_tm" >&6; }
20503 if test $ac_cv_struct_tm = sys
/time.h
; then
20505 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
20510 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
20511 if test "x$ac_cv_type_union_wait" = xyes
; then :
20513 cat >>confdefs.h
<<_ACEOF
20514 #define HAVE_UNION_WAIT 1
20521 for ac_header
in stdint.h
20523 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20524 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20525 cat >>confdefs.h
<<_ACEOF
20526 #define HAVE_STDINT_H 1
20531 for ac_header
in inttypes.h
20533 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20534 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20535 cat >>confdefs.h
<<_ACEOF
20536 #define HAVE_INTTYPES_H 1
20541 for ac_header
in sys
/types.h
20543 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20544 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20545 cat >>confdefs.h
<<_ACEOF
20546 #define HAVE_SYS_TYPES_H 1
20551 # The cast to long int works around a bug in the HP C Compiler
20552 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20553 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20554 # This bug is HP SR number 8606223364.
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
20556 $as_echo_n "checking size of unsigned short... " >&6; }
20557 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
20558 $as_echo_n "(cached) " >&6
20560 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
20563 if test "$ac_cv_type_unsigned_short" = yes; then
20564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20566 as_fn_error
77 "cannot compute sizeof (unsigned short)
20567 See \`config.log' for more details" "$LINENO" 5; }
20569 ac_cv_sizeof_unsigned_short
=0
20574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
20575 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
20579 cat >>confdefs.h
<<_ACEOF
20580 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20584 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
20585 uint16
="unsigned short"
20587 # The cast to long int works around a bug in the HP C Compiler
20588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20590 # This bug is HP SR number 8606223364.
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20592 $as_echo_n "checking size of unsigned int... " >&6; }
20593 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20594 $as_echo_n "(cached) " >&6
20596 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20599 if test "$ac_cv_type_unsigned_int" = yes; then
20600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20602 as_fn_error
77 "cannot compute sizeof (unsigned int)
20603 See \`config.log' for more details" "$LINENO" 5; }
20605 ac_cv_sizeof_unsigned_int
=0
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20611 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20615 cat >>confdefs.h
<<_ACEOF
20616 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20620 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
20621 uint16
="unsigned int"
20623 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
20642 cat >>confdefs.h
<<_ACEOF
20643 #define UINT16 $uint16
20647 for ac_header
in stdint.h
20649 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20650 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20651 cat >>confdefs.h
<<_ACEOF
20652 #define HAVE_STDINT_H 1
20657 for ac_header
in inttypes.h
20659 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20660 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20661 cat >>confdefs.h
<<_ACEOF
20662 #define HAVE_INTTYPES_H 1
20667 for ac_header
in sys
/types.h
20669 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20670 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20671 cat >>confdefs.h
<<_ACEOF
20672 #define HAVE_SYS_TYPES_H 1
20677 # The cast to long int works around a bug in the HP C Compiler
20678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20680 # This bug is HP SR number 8606223364.
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20682 $as_echo_n "checking size of unsigned int... " >&6; }
20683 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20684 $as_echo_n "(cached) " >&6
20686 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20689 if test "$ac_cv_type_unsigned_int" = yes; then
20690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20692 as_fn_error
77 "cannot compute sizeof (unsigned int)
20693 See \`config.log' for more details" "$LINENO" 5; }
20695 ac_cv_sizeof_unsigned_int
=0
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20701 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20705 cat >>confdefs.h
<<_ACEOF
20706 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20710 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
20711 uint32
="unsigned int"
20713 # The cast to long int works around a bug in the HP C Compiler
20714 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20715 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20716 # This bug is HP SR number 8606223364.
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
20718 $as_echo_n "checking size of unsigned long... " >&6; }
20719 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
20720 $as_echo_n "(cached) " >&6
20722 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
20725 if test "$ac_cv_type_unsigned_long" = yes; then
20726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20728 as_fn_error
77 "cannot compute sizeof (unsigned long)
20729 See \`config.log' for more details" "$LINENO" 5; }
20731 ac_cv_sizeof_unsigned_long
=0
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
20737 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
20741 cat >>confdefs.h
<<_ACEOF
20742 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20746 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
20747 uint32
="unsigned long"
20749 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
20768 cat >>confdefs.h
<<_ACEOF
20769 #define UINT32 $uint32
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
20774 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
20775 if ${ac_cv_func_qsort_argtype+:} false
; then :
20776 $as_echo_n "(cached) " >&6
20778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20779 /* end confdefs.h. */
20782 #include "stdlib.h"
20786 extern sortf(const void *, const void *);
20789 const void *b; { return 0; }
20795 qsort(base, 2, sizeof(char *), sortf);
20801 if ac_fn_c_try_compile
"$LINENO"; then :
20802 ac_cv_func_qsort_argtype
=void
20804 ac_cv_func_qsort_argtype
=char
20806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
20810 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
20812 cat >>confdefs.h
<<_ACEOF
20813 #define qsort_t $ac_cv_func_qsort_argtype
20818 for ac_header
in sys
/select.h sys
/socket.h
20820 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20821 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20822 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20823 cat >>confdefs.h
<<_ACEOF
20824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
20832 $as_echo_n "checking types of arguments for select... " >&6; }
20833 if ${ac_cv_func_select_args+:} false
; then :
20834 $as_echo_n "(cached) " >&6
20836 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
20837 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
20838 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
20839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20841 $ac_includes_default
20842 #ifdef HAVE_SYS_SELECT_H
20843 # include <sys/select.h>
20845 #ifdef HAVE_SYS_SOCKET_H
20846 # include <sys/socket.h>
20852 extern int select ($ac_arg1,
20853 $ac_arg234, $ac_arg234, $ac_arg234,
20859 if ac_fn_c_try_compile
"$LINENO"; then :
20860 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
20862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20866 # Provide a safe default value.
20867 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
20871 $as_echo "$ac_cv_func_select_args" >&6; }
20872 ac_save_IFS
=$IFS; IFS
=','
20873 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
20877 cat >>confdefs.h
<<_ACEOF
20878 #define SELECT_TYPE_ARG1 $1
20882 cat >>confdefs.h
<<_ACEOF
20883 #define SELECT_TYPE_ARG234 ($2)
20887 cat >>confdefs.h
<<_ACEOF
20888 #define SELECT_TYPE_ARG5 ($3)
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
20895 $as_echo_n "checking for working strcoll... " >&6; }
20896 if ${ac_cv_func_strcoll_works+:} false
; then :
20897 $as_echo_n "(cached) " >&6
20899 if test "$cross_compiling" = yes; then :
20900 ac_cv_func_strcoll_works
=no
20902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20903 /* end confdefs.h. */
20904 $ac_includes_default
20908 return (strcoll ("abc", "def") >= 0 ||
20909 strcoll ("ABC", "DEF") >= 0 ||
20910 strcoll ("123", "456") >= 0)
20915 if ac_fn_c_try_run
"$LINENO"; then :
20916 ac_cv_func_strcoll_works
=yes
20918 ac_cv_func_strcoll_works
=no
20920 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20921 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
20926 $as_echo "$ac_cv_func_strcoll_works" >&6; }
20927 if test $ac_cv_func_strcoll_works = yes; then
20929 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
20935 for ac_header
in vfork.h
20937 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
20938 if test "x$ac_cv_header_vfork_h" = xyes
; then :
20939 cat >>confdefs.h
<<_ACEOF
20940 #define HAVE_VFORK_H 1
20947 for ac_func
in fork vfork
20949 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20950 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20951 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20952 cat >>confdefs.h
<<_ACEOF
20953 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20959 if test "x$ac_cv_func_fork" = xyes
; then
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
20961 $as_echo_n "checking for working fork... " >&6; }
20962 if ${ac_cv_func_fork_works+:} false
; then :
20963 $as_echo_n "(cached) " >&6
20965 if test "$cross_compiling" = yes; then :
20966 ac_cv_func_fork_works
=cross
20968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20970 $ac_includes_default
20975 /* By Ruediger Kuhlmann. */
20976 return fork () < 0;
20982 if ac_fn_c_try_run
"$LINENO"; then :
20983 ac_cv_func_fork_works
=yes
20985 ac_cv_func_fork_works
=no
20987 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20988 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
20993 $as_echo "$ac_cv_func_fork_works" >&6; }
20996 ac_cv_func_fork_works
=$ac_cv_func_fork
20998 if test "x$ac_cv_func_fork_works" = xcross
; then
21000 *-*-amigaos* |
*-*-msdosdjgpp*)
21001 # Override, as these systems have only a dummy fork() stub
21002 ac_cv_func_fork_works
=no
21005 ac_cv_func_fork_works
=yes
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21009 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21011 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21012 if test "x$ac_cv_func_vfork" = xyes
; then
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
21014 $as_echo_n "checking for working vfork... " >&6; }
21015 if ${ac_cv_func_vfork_works+:} false
; then :
21016 $as_echo_n "(cached) " >&6
21018 if test "$cross_compiling" = yes; then :
21019 ac_cv_func_vfork_works
=cross
21021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21022 /* end confdefs.h. */
21023 /* Thanks to Paul Eggert for this test. */
21024 $ac_includes_default
21025 #include <sys/wait.h>
21026 #ifdef HAVE_VFORK_H
21027 # include <vfork.h>
21029 /* On some sparc systems, changes by the child to local and incoming
21030 argument registers are propagated back to the parent. The compiler
21031 is told about this with #include <vfork.h>, but some compilers
21032 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21033 static variable whose address is put into a register that is
21034 clobbered by the vfork. */
21037 sparc_address_test (int arg)
21039 sparc_address_test (arg) int arg;
21042 static pid_t child;
21060 pid_t parent = getpid ();
21063 sparc_address_test (0);
21068 /* Here is another test for sparc vfork register problems. This
21069 test uses lots of local variables, at least as many local
21070 variables as main has allocated so far including compiler
21071 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21072 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21073 reuse the register of parent for one of the local variables,
21074 since it will think that parent can't possibly be used any more
21075 in this routine. Assigning to the local variable will thus
21076 munge parent in the parent process. */
21078 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21079 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21080 /* Convince the compiler that p..p7 are live; otherwise, it might
21081 use the same hardware register for all 8 local variables. */
21082 if (p != p1 || p != p2 || p != p3 || p != p4
21083 || p != p5 || p != p6 || p != p7)
21086 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21087 from child file descriptors. If the child closes a descriptor
21088 before it execs or exits, this munges the parent's descriptor
21089 as well. Test for this by closing stdout in the child. */
21090 _exit(close(fileno(stdout)) != 0);
21095 while (wait(&status) != child)
21098 /* Was there some problem with vforking? */
21101 /* Did the child fail? (This shouldn't happen.) */
21104 /* Did the vfork/compiler bug occur? */
21105 || parent != getpid()
21107 /* Did the file descriptor bug occur? */
21108 || fstat(fileno(stdout), &st) != 0
21113 if ac_fn_c_try_run
"$LINENO"; then :
21114 ac_cv_func_vfork_works
=yes
21116 ac_cv_func_vfork_works
=no
21118 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21119 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
21124 $as_echo "$ac_cv_func_vfork_works" >&6; }
21127 if test "x$ac_cv_func_fork_works" = xcross
; then
21128 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21130 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21133 if test "x$ac_cv_func_vfork_works" = xyes
; then
21135 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
21139 $as_echo "#define vfork fork" >>confdefs.h
21142 if test "x$ac_cv_func_fork_works" = xyes
; then
21144 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
21148 for ac_func
in strchr \
21181 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21182 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21183 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21184 cat >>confdefs.h
<<_ACEOF
21185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
21193 $as_echo_n "checking for library containing gethostname... " >&6; }
21194 if ${ac_cv_search_gethostname+:} false
; then :
21195 $as_echo_n "(cached) " >&6
21197 ac_func_search_save_LIBS
=$LIBS
21198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21199 /* end confdefs.h. */
21201 /* Override any GCC internal prototype to avoid an error.
21202 Use char because int might match the return type of a GCC
21203 builtin and then its argument prototype would still apply. */
21207 char gethostname ();
21211 return gethostname ();
21216 for ac_lib
in '' nsl
; do
21217 if test -z "$ac_lib"; then
21218 ac_res
="none required"
21221 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21223 if ac_fn_c_try_link
"$LINENO"; then :
21224 ac_cv_search_gethostname
=$ac_res
21226 rm -f core conftest.err conftest.
$ac_objext \
21228 if ${ac_cv_search_gethostname+:} false
; then :
21232 if ${ac_cv_search_gethostname+:} false
; then :
21235 ac_cv_search_gethostname
=no
21237 rm conftest.
$ac_ext
21238 LIBS
=$ac_func_search_save_LIBS
21240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
21241 $as_echo "$ac_cv_search_gethostname" >&6; }
21242 ac_res
=$ac_cv_search_gethostname
21243 if test "$ac_res" != no
; then :
21244 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
21250 $as_echo_n "checking for library containing socket... " >&6; }
21251 if ${ac_cv_search_socket+:} false
; then :
21252 $as_echo_n "(cached) " >&6
21254 ac_func_search_save_LIBS
=$LIBS
21255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21258 /* Override any GCC internal prototype to avoid an error.
21259 Use char because int might match the return type of a GCC
21260 builtin and then its argument prototype would still apply. */
21273 for ac_lib
in '' socket
; do
21274 if test -z "$ac_lib"; then
21275 ac_res
="none required"
21278 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21280 if ac_fn_c_try_link
"$LINENO"; then :
21281 ac_cv_search_socket
=$ac_res
21283 rm -f core conftest.err conftest.
$ac_objext \
21285 if ${ac_cv_search_socket+:} false
; then :
21289 if ${ac_cv_search_socket+:} false
; then :
21292 ac_cv_search_socket
=no
21294 rm conftest.
$ac_ext
21295 LIBS
=$ac_func_search_save_LIBS
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
21298 $as_echo "$ac_cv_search_socket" >&6; }
21299 ac_res
=$ac_cv_search_socket
21300 if test "$ac_res" != no
; then :
21301 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
21311 $as_echo_n "checking for library containing bind... " >&6; }
21312 if ${ac_cv_search_bind+:} false
; then :
21313 $as_echo_n "(cached) " >&6
21315 ac_func_search_save_LIBS
=$LIBS
21316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h. */
21319 /* Override any GCC internal prototype to avoid an error.
21320 Use char because int might match the return type of a GCC
21321 builtin and then its argument prototype would still apply. */
21334 for ac_lib
in '' bind; do
21335 if test -z "$ac_lib"; then
21336 ac_res
="none required"
21339 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21341 if ac_fn_c_try_link
"$LINENO"; then :
21342 ac_cv_search_bind
=$ac_res
21344 rm -f core conftest.err conftest.
$ac_objext \
21346 if ${ac_cv_search_bind+:} false
; then :
21350 if ${ac_cv_search_bind+:} false
; then :
21353 ac_cv_search_bind
=no
21355 rm conftest.
$ac_ext
21356 LIBS
=$ac_func_search_save_LIBS
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
21359 $as_echo "$ac_cv_search_bind" >&6; }
21360 ac_res
=$ac_cv_search_bind
21361 if test "$ac_res" != no
; then :
21362 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21371 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
21373 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21374 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21375 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21376 cat >>confdefs.h
<<_ACEOF
21377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21381 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
21386 for ac_func
in sigset sigrelse
21388 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21389 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21390 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21391 cat >>confdefs.h
<<_ACEOF
21392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21396 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
21408 $as_echo_n "checking for library containing syslog... " >&6; }
21409 if ${ac_cv_search_syslog+:} false
; then :
21410 $as_echo_n "(cached) " >&6
21412 ac_func_search_save_LIBS
=$LIBS
21413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h. */
21416 /* Override any GCC internal prototype to avoid an error.
21417 Use char because int might match the return type of a GCC
21418 builtin and then its argument prototype would still apply. */
21431 for ac_lib
in '' bsd socket inet
; do
21432 if test -z "$ac_lib"; then
21433 ac_res
="none required"
21436 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21438 if ac_fn_c_try_link
"$LINENO"; then :
21439 ac_cv_search_syslog
=$ac_res
21441 rm -f core conftest.err conftest.
$ac_objext \
21443 if ${ac_cv_search_syslog+:} false
; then :
21447 if ${ac_cv_search_syslog+:} false
; then :
21450 ac_cv_search_syslog
=no
21452 rm conftest.
$ac_ext
21453 LIBS
=$ac_func_search_save_LIBS
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
21456 $as_echo "$ac_cv_search_syslog" >&6; }
21457 ac_res
=$ac_cv_search_syslog
21458 if test "$ac_res" != no
; then :
21459 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21462 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
21469 if test -n "$alpine_with_local_maildir" ; then
21470 alpine_local_maildir
=$alpine_with_local_maildir
21471 elif test -d /var
/spool
/mail ; then
21472 alpine_local_maildir
="/var/spool/mail"
21473 elif test -d /var
/mail ; then
21474 alpine_local_maildir
="/var/mail"
21476 alpine_local_maildir
="/usr/spool/mail"
21479 if test -n "$alpine_with_c_client_target" ; then
21480 alpine_c_client_target
=$alpine_with_c_client_target
21484 cat >>confdefs.h
<<_ACEOF
21485 #define SYSTYPE "$systype"
21489 cat >>confdefs.h
<<_ACEOF
21490 #define C_FILESEP '$alpine_path_delim'
21494 cat >>confdefs.h
<<_ACEOF
21495 #define S_FILESEP "$alpine_path_delim"
21499 cat >>confdefs.h
<<_ACEOF
21500 #define MAILDIR "$alpine_local_maildir"
21504 cat >>confdefs.h
<<_ACEOF
21505 #define MODE_READONLY $alpine_mode_readonly
21509 C_CLIENT_TARGET
=$alpine_c_client_target
21511 C_CLIENT_WITH_IPV6
=$c_client_ip6
21513 if test "x$alpine_SSLTYPE" = "xnone" ; then
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
21515 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
21516 c_client_specials
="${c_client_specials}SSLTYPE=none "
21519 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
21520 certdir
="$alpine_SSLCERTS"
21521 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
21522 certdir
="${alpine_SSLDIR}/certs"
21523 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
21524 certdir
="${alpine_SSLDIR}/ssl/certs"
21525 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
21526 certdir
="$alpine_SSLCERTS_ORIG"
21527 elif test -n "$alpine_SSLCERTS" ; then
21528 certdir
="$alpine_SSLCERTS"
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
21531 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
21534 if test "x$with_smime" != "xno" ; then
21535 if test -n "$certdir" ; then
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
21537 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
21539 $as_echo "#define SMIME /**/" >>confdefs.h
21542 cat >>confdefs.h
<<_ACEOF
21543 #define SMIME_SSLCERTS "$certdir"
21551 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
21552 SSL_BUNDLE_EXISTS
="no"
21553 SSL_PEM
="factory.pem ca-bundle.pem"
21554 for SSL_BUNDLE
in $SSL_PEM
21556 if test -f ${certdir}/${SSL_BUNDLE} ; then
21557 SSL_BUNDLE_EXISTS
="yes"
21561 SSL_CERT_LINK
="yes"
21564 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
21566 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
21568 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
21570 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
21572 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
21575 if test -n "$alpine_SSLINCLUDE" ; then
21576 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
21579 if test -n "$alpine_SSLLIB" ; then
21580 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
21583 if test -n "$alpine_SSLDIR" ; then
21584 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
21587 if test -n "$certdir" ; then
21588 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
21591 if test -n "$alpine_SSLKEYS" ; then
21592 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
21596 if test "x$alpine_GSSTYPE" != "xnone" ; then
21597 c_client_specials
="${c_client_specials}EXTRAAUTHENTICATORS=gss "
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
21599 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
21602 if test -n "$CPPFLAGS" ; then
21603 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
21605 if test -n "$CFLAGS" ; then
21606 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
21609 if test -n "$alpine_c_client_cflags" ; then
21610 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
21614 if test -n "$LDFLAGS" ; then
21615 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
21617 if test -n "$LIBS" ; then
21618 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
21621 if test -n "$alpine_c_client_ldflags" ; then
21622 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
21626 if test -n "$alpine_c_client_gccoptlevel" ; then
21627 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
21631 C_CLIENT_SPECIALS
=$c_client_specials
21634 if test -z "$WEB_BUILD" ; then
21635 WEB_PUBCOOKIE_BUILD
=
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
21637 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
21639 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
21641 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
21642 if test "x$alpine_GSSTYPE" = "xnone" ; then
21643 WEB_PUBCOOKIE_BUILD
=
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
21645 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
21647 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
21648 elif test -z "$WEB_BINDIR" ; then
21649 WEB_PUBCOOKIE_BUILD
=
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
21651 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
21652 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
21653 Please re-run configure with these options:
21654 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
21657 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
21659 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
21660 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
21676 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"
21678 cat >confcache
<<\_ACEOF
21679 # This file is a shell script that caches the results of configure
21680 # tests run on this system so they can be shared between configure
21681 # scripts and configure runs, see configure's option --config-cache.
21682 # It is not useful on other systems. If it contains results you don't
21683 # want to keep, you may remove or edit it.
21685 # config.status only pays attention to the cache file if you give it
21686 # the --recheck option to rerun configure.
21688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21690 # following values.
21694 # The following way of writing the cache mishandles newlines in values,
21695 # but we know of no workaround that is simple, portable, and efficient.
21696 # So, we kill variables containing newlines.
21697 # Ultrix sh set writes to stderr and can't be redirected directly,
21698 # and sets the high bit in the cache file unless we assign to the vars.
21700 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21701 eval ac_val
=\$
$ac_var
21705 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21709 _ | IFS | as_nl
) ;; #(
21710 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21711 *) { eval $ac_var=; unset $ac_var;} ;;
21717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21718 *${as_nl}ac_space
=\
*)
21719 # `set' does not quote correctly, so add quotes: double-quote
21720 # substitution turns \\\\ into \\, and sed turns \\ into \.
21723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21726 # `set' quotes correctly as required by POSIX, so do not add quotes.
21727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21740 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21741 if test -w "$cache_file"; then
21742 if test "x$cache_file" != "x/dev/null"; then
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21744 $as_echo "$as_me: updating cache $cache_file" >&6;}
21745 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
21746 cat confcache
>"$cache_file"
21748 case $cache_file in #(
21750 mv -f confcache
"$cache_file"$$
&&
21751 mv -f "$cache_file"$$
"$cache_file" ;; #(
21753 mv -f confcache
"$cache_file" ;;
21758 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21759 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21764 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21765 # Let make expand exec_prefix.
21766 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21768 DEFS
=-DHAVE_CONFIG_H
21773 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21774 # 1. Remove the extension, and $U if already installed.
21775 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21776 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21778 # will be set to the directory where LIBOBJS objects are built.
21779 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21780 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21782 LIBOBJS
=$ac_libobjs
21784 LTLIBOBJS
=$ac_ltlibobjs
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21788 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21789 if test -n "$am_sleep_pid"; then
21790 # Hide warnings about reused PIDs.
21791 wait $am_sleep_pid 2>/dev
/null
21793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21794 $as_echo "done" >&6; }
21795 if test -n "$EXEEXT"; then
21797 am__EXEEXT_FALSE
='#'
21799 am__EXEEXT_TRUE
='#'
21803 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21804 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21807 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21808 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21811 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21812 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21816 : "${CONFIG_STATUS=./config.status}"
21818 ac_clean_files_save
=$ac_clean_files
21819 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21821 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21823 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21825 # Generated by $as_me.
21826 # Run this file to recreate the current configuration.
21827 # Compiler output produced by configure, useful for debugging
21828 # configure, is in config.log if it exists.
21831 ac_cs_recheck=false
21834 SHELL=\${CONFIG_SHELL-$SHELL}
21837 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
21838 ## -------------------- ##
21839 ## M4sh Initialization. ##
21840 ## -------------------- ##
21842 # Be more Bourne compatible
21843 DUALCASE
=1; export DUALCASE
# for MKS sh
21844 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21847 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21848 # is contrary to our usage. Disable this feature.
21849 alias -g '${1+"$@"}'='"$@"'
21850 setopt NO_GLOB_SUBST
21852 case `(set -o) 2>/dev/null` in #(
21864 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21865 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21866 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21867 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21868 # Prefer a ksh shell builtin over an external printf program on Solaris,
21869 # but without wasting forks for bash or zsh.
21870 if test -z "$BASH_VERSION$ZSH_VERSION" \
21871 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21872 as_echo='print
-r --'
21873 as_echo_n='print
-rn --'
21874 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21875 as_echo='printf %s
\n'
21876 as_echo_n='printf %s
'
21878 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21879 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21880 as_echo_n='/usr
/ucb
/echo -n'
21882 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21883 as_echo_n_body='eval
21887 expr "X$arg" : "X\\(.*\\)$as_nl";
21888 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21890 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21892 export as_echo_n_body
21893 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21895 export as_echo_body
21896 as_echo='sh
-c $as_echo_body as_echo
'
21899 # The user is always right.
21900 if test "${PATH_SEPARATOR+set}" != set; then
21902 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21903 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21910 # We need space, tab and new line, in precisely that order. Quoting is
21911 # there to prevent editors from complaining about space-tab.
21912 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21913 # splitting by setting IFS to empty value.)
21916 # Find who we are. Look in the path if we contain no directory separator.
21919 *[\\/]* ) as_myself=$0 ;;
21920 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21921 for as_dir in $PATH
21924 test -z "$as_dir" && as_dir=.
21925 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21931 # We did not find ourselves, most probably we were run as `sh COMMAND'
21932 # in which case we are not to be found in the path.
21933 if test "x$as_myself" = x
; then
21936 if test ! -f "$as_myself"; then
21937 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21941 # Unset variables that we do not need and which cause bugs (e.g. in
21942 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21943 # suppresses any "Segmentation fault" message there. '((' could
21944 # trigger a bug in pdksh 5.2.14.
21945 for as_var
in BASH_ENV ENV MAIL MAILPATH
21946 do eval test x\
${$as_var+set} = xset \
21947 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
21960 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21963 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21964 # ----------------------------------------
21965 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21966 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21967 # script with STATUS, using 1 if that was 0.
21970 as_status
=$1; test $as_status -eq 0 && as_status
=1
21972 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21973 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21975 $as_echo "$as_me: error: $2" >&2
21976 as_fn_exit
$as_status
21980 # as_fn_set_status STATUS
21981 # -----------------------
21982 # Set $? to STATUS, without forking.
21983 as_fn_set_status
()
21986 } # as_fn_set_status
21988 # as_fn_exit STATUS
21989 # -----------------
21990 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21994 as_fn_set_status
$1
22000 # Portably unset VAR.
22003 { eval $1=; unset $1;}
22005 as_unset
=as_fn_unset
22006 # as_fn_append VAR VALUE
22007 # ----------------------
22008 # Append the text in VALUE to the end of the definition contained in VAR. Take
22009 # advantage of any shell optimizations that allow amortized linear growth over
22010 # repeated appends, instead of the typical quadratic growth present in naive
22012 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22013 eval 'as_fn_append ()
22024 # as_fn_arith ARG...
22025 # ------------------
22026 # Perform arithmetic evaluation on the ARGs, and store the result in the
22027 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22028 # must be portable across $(()) and expr.
22029 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22030 eval 'as_fn_arith ()
22037 as_val
=`expr "$@" || test $? -eq 1`
22042 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22043 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22049 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22050 as_basename
=basename
22055 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22061 as_me
=`$as_basename -- "$0" ||
22062 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22063 X"$0" : 'X\(//\)$' \| \
22064 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22066 sed '/^.*\/\([^/][^/]*\)\/*$/{
22080 # Avoid depending upon Character Ranges.
22081 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22082 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22083 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22084 as_cr_digits
='0123456789'
22085 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22087 ECHO_C
= ECHO_N
= ECHO_T
=
22088 case `echo -n x` in #(((((
22090 case `echo 'xy\c'` in
22091 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22093 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22100 rm -f conf$$ conf$$.exe conf$$.
file
22101 if test -d conf$$.dir
; then
22102 rm -f conf$$.dir
/conf$$.
file
22105 mkdir conf$$.dir
2>/dev
/null
22107 if (echo >conf$$.
file) 2>/dev
/null
; then
22108 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22110 # ... but there are two gotchas:
22111 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22112 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22113 # In both cases, we have to default to `cp -pR'.
22114 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22116 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22124 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22125 rmdir conf$$.dir
2>/dev
/null
22130 # Create "$as_dir" as a directory, including parents if necessary.
22135 -*) as_dir
=.
/$as_dir;;
22137 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22141 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22142 *) as_qdir
=$as_dir;;
22144 as_dirs
="'$as_qdir' $as_dirs"
22145 as_dir
=`$as_dirname -- "$as_dir" ||
22146 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22147 X"$as_dir" : 'X\(//\)[^/]' \| \
22148 X"$as_dir" : 'X\(//\)$' \| \
22149 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22150 $as_echo X"$as_dir" |
22151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22155 /^X\(\/\/\)[^/].*/{
22168 test -d "$as_dir" && break
22170 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22171 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22175 if mkdir
-p .
2>/dev
/null
; then
22176 as_mkdir_p
='mkdir -p "$as_dir"'
22178 test -d .
/-p && rmdir .
/-p
22183 # as_fn_executable_p FILE
22184 # -----------------------
22185 # Test if FILE is an executable regular file.
22186 as_fn_executable_p
()
22188 test -f "$1" && test -x "$1"
22189 } # as_fn_executable_p
22190 as_test_x
='test -x'
22191 as_executable_p
=as_fn_executable_p
22193 # Sed expression to map a string onto a valid CPP name.
22194 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22196 # Sed expression to map a string onto a valid variable name.
22197 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22201 ## ----------------------------------- ##
22202 ## Main body of $CONFIG_STATUS script. ##
22203 ## ----------------------------------- ##
22205 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22208 # Save the log message, to keep $0 and so on meaningful, and to
22209 # report actual input values of CONFIG_FILES etc. instead of their
22210 # values after options handling.
22212 This file was extended by alpine $as_me 2.21.1, which was
22213 generated by GNU Autoconf 2.69. Invocation command line was
22215 CONFIG_FILES = $CONFIG_FILES
22216 CONFIG_HEADERS = $CONFIG_HEADERS
22217 CONFIG_LINKS = $CONFIG_LINKS
22218 CONFIG_COMMANDS = $CONFIG_COMMANDS
22221 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22226 case $ac_config_files in *"
22227 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22230 case $ac_config_headers in *"
22231 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22236 # Files that config.status was made for.
22237 config_files="$ac_config_files"
22238 config_headers="$ac_config_headers"
22239 config_commands="$ac_config_commands"
22243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22245 \`$as_me' instantiates files and other configuration actions
22246 from templates according to the current configuration. Unless the files
22247 and actions are specified as TAGs, all are instantiated by default.
22249 Usage: $0 [OPTION]... [TAG]...
22251 -h, --help print this help, then exit
22252 -V, --version print version number and configuration settings, then exit
22253 --config print configuration, then exit
22254 -q, --quiet, --silent
22255 do not print progress messages
22256 -d, --debug don't remove temporary files
22257 --recheck update $as_me by reconfiguring in the same conditions
22258 --file=FILE[:TEMPLATE]
22259 instantiate the configuration file FILE
22260 --header=FILE[:TEMPLATE]
22261 instantiate the configuration header FILE
22263 Configuration files:
22266 Configuration headers:
22269 Configuration commands:
22272 Report bugs to <chappa@washington.edu>."
22275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22276 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22278 alpine config.status 2.21.1
22279 configured by $0, generated by GNU Autoconf 2.69,
22280 with options \\"\$ac_cs_config\\"
22282 Copyright (C) 2012 Free Software Foundation, Inc.
22283 This config.status script is free software; the Free Software Foundation
22284 gives unlimited permission to copy, distribute and modify it."
22291 test -n "\$AWK" || AWK=awk
22294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22295 # The default lists apply if the user does not specify any file.
22301 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22302 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22306 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22318 # Handling of the options.
22319 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22321 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22322 $as_echo "$ac_cs_version"; exit ;;
22323 --config |
--confi |
--conf |
--con |
--co |
--c )
22324 $as_echo "$ac_cs_config"; exit ;;
22325 --debug |
--debu |
--deb |
--de |
--d |
-d )
22327 --file |
--fil |
--fi |
--f )
22330 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22331 '') as_fn_error $?
"missing file argument" ;;
22333 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22334 ac_need_defaults
=false
;;
22335 --header |
--heade |
--head |
--hea )
22338 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22340 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22341 ac_need_defaults
=false
;;
22343 # Conflict between --help and --header
22344 as_fn_error $?
"ambiguous option: \`$1'
22345 Try \`$0 --help' for more information.";;
22346 --help |
--hel |
-h )
22347 $as_echo "$ac_cs_usage"; exit ;;
22348 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22349 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22352 # This is an error.
22353 -*) as_fn_error $?
"unrecognized option: \`$1'
22354 Try \`$0 --help' for more information." ;;
22356 *) as_fn_append ac_config_targets
" $1"
22357 ac_need_defaults
=false
;;
22363 ac_configure_extra_args
=
22365 if $ac_cs_silent; then
22367 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22372 if \$ac_cs_recheck; then
22373 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22375 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22376 CONFIG_SHELL='$SHELL'
22377 export CONFIG_SHELL
22382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22386 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22387 ## Running $as_me. ##
22393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22397 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22400 # The HP-UX ksh and POSIX shell print the target directory to stdout
22401 # if CDPATH is set.
22402 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22404 sed_quote_subst='$sed_quote_subst'
22405 double_quote_subst='$double_quote_subst'
22406 delay_variable_subst='$delay_variable_subst'
22407 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22408 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22409 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22410 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22411 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22412 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22413 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22414 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22415 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22416 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22417 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22418 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22419 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22420 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22421 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22422 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22423 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22424 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22425 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22426 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22427 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22428 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22429 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22430 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22431 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22432 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22433 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22434 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22435 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22436 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22437 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22438 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22439 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22440 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22441 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22442 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22443 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22444 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22445 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22446 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22447 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22448 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22449 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22450 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22451 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22452 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22453 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22454 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22455 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22456 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22457 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22458 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22459 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22460 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22461 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22462 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22463 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22464 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22465 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"`'
22466 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22467 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22468 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22469 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22470 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22471 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22472 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22473 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22474 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22475 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22476 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22477 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22478 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22479 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22480 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22481 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22482 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22483 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22484 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22485 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22486 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22487 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22488 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22489 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22490 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22491 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22492 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22493 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22494 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22495 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22496 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22497 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22498 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22499 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22500 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22501 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22502 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22503 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22504 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22505 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22506 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22507 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22508 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22509 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22510 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22511 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22512 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22513 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22514 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22515 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22516 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22517 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22518 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22519 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22520 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22521 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22522 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22523 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22524 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22525 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22526 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22527 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22528 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22529 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22530 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22531 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22532 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22533 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22534 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22535 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22536 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22537 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22538 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22539 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22540 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22541 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22544 LTCFLAGS='$LTCFLAGS'
22545 compiler='$compiler_DEFAULT'
22547 # A function that is used when there is no print builtin or printf.
22548 func_fallback_echo ()
22550 eval 'cat <<_LTECHO_EOF
22555 # Quote evaled strings.
22570 deplibs_check_method \
22575 sharedlib_from_linklib_cmd \
22578 archiver_list_spec \
22584 lt_cv_sys_global_symbol_pipe \
22585 lt_cv_sys_global_symbol_to_cdecl \
22586 lt_cv_sys_global_symbol_to_import \
22587 lt_cv_sys_global_symbol_to_c_name_address \
22588 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22589 lt_cv_nm_interface \
22590 nm_file_list_spec \
22591 lt_cv_truncate_bin \
22592 lt_prog_compiler_no_builtin_flag \
22593 lt_prog_compiler_pic \
22594 lt_prog_compiler_wl \
22595 lt_prog_compiler_static \
22596 lt_cv_prog_compiler_c_o \
22605 export_dynamic_flag_spec \
22606 whole_archive_flag_spec \
22607 compiler_needs_object \
22609 allow_undefined_flag \
22610 no_undefined_flag \
22611 hardcode_libdir_flag_spec \
22612 hardcode_libdir_separator \
22616 variables_saved_for_relink \
22618 library_names_spec \
22620 install_override_mode \
22624 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22625 *[\\\\\\\`\\"\\\$]*)
22626 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22629 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22634 # Double-quote double-evaled strings.
22635 for var in reload_cmds \
22636 old_postinstall_cmds \
22637 old_postuninstall_cmds \
22639 extract_expsyms_cmds \
22640 old_archive_from_new_cmds \
22641 old_archive_from_expsyms_cmds \
22643 archive_expsym_cmds \
22645 module_expsym_cmds \
22646 export_symbols_cmds \
22650 postuninstall_cmds \
22652 sys_lib_search_path_spec \
22653 configure_time_dlsearch_path \
22654 configure_time_lt_sys_library_path; do
22655 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22656 *[\\\\\\\`\\"\\\$]*)
22657 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22660 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22665 ac_aux_dir='$ac_aux_dir'
22667 # See if we are running on zsh, and set the options that allow our
22668 # commands through without removal of \ escapes INIT.
22669 if test -n "\${ZSH_VERSION+set}"; then
22670 setopt NO_GLOB_SUBST
22681 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
22682 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
22683 # from automake < 1.5.
22684 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
22685 # Capture the value of LINGUAS because we need it to compute CATALOGS.
22686 LINGUAS="${LINGUAS-%UNSET%}"
22691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22693 # Handling of arguments.
22694 for ac_config_target
in $ac_config_targets
22696 case $ac_config_target in
22697 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22698 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22699 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22700 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
22701 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
22702 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
22703 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
22704 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
22705 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
22706 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
22707 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
22708 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
22709 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
22710 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
22711 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
22712 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
22713 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
22714 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22716 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22721 # If the user did not use the arguments to specify the items to instantiate,
22722 # then the envvar interface is used. Set only those that are not.
22723 # We use the long form for the default assignment because of an extremely
22724 # bizarre bug on SunOS 4.1.3.
22725 if $ac_need_defaults; then
22726 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22727 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22728 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22731 # Have a temporary directory for convenience. Make it in the build tree
22732 # simply because there is no reason against having it here, and in addition,
22733 # creating and moving files from /tmp can sometimes cause problems.
22734 # Hook for its removal unless debugging.
22735 # Note that there is a small window in which the directory will not be cleaned:
22736 # after its creation but before its name has been assigned to `$tmp'.
22740 trap 'exit_status=$?
22741 : "${ac_tmp:=$tmp}"
22742 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22744 trap 'as_fn_exit 1' 1 2 13 15
22746 # Create a (secure) tmp directory for tmp files.
22749 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22753 tmp
=.
/conf$$
-$RANDOM
22754 (umask 077 && mkdir
"$tmp")
22755 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22758 # Set up the scripts for CONFIG_FILES section.
22759 # No need to generate them if there are no CONFIG_FILES.
22760 # This happens for instance with `./config.status config.h'.
22761 if test -n "$CONFIG_FILES"; then
22764 ac_cr
=`echo X | tr X '\015'`
22765 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22766 # But we know of no other shell where ac_cr would be empty at this
22767 # point, so we can use a bashism as a fallback.
22768 if test "x$ac_cr" = x
; then
22769 eval ac_cr
=\$
\'\\r
\'
22771 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22772 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22775 ac_cs_awk_cr
=$ac_cr
22778 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22783 echo "cat >conf$$subs.awk <<_ACEOF" &&
22784 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22786 } >conf$$subs.sh ||
22787 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22788 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22790 for ac_last_try in false false false false false :; do
22791 . ./conf$$subs.sh ||
22792 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22794 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22795 if test $ac_delim_n = $ac_delim_num; then
22797 elif $ac_last_try; then
22798 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22800 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22803 rm -f conf$$subs.sh
22805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22806 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22810 s/^/S["/; s
/!.
*/"]=/
22820 s/\(.\{148\}\)..*/\1/
22822 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22827 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22834 s/\(.\{148\}\)..*/\1/
22836 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22840 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22845 ' <conf$$subs.awk | sed '
22850 ' >>$CONFIG_STATUS || ac_write_fail=1
22851 rm -f conf$$subs.awk
22852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22854 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22855 for (key in S) S_is_set[key] = 1
22861 nfields = split(line, field, "@
")
22863 len = length(field[1])
22864 for (i = 2; i < nfields; i++) {
22866 keylen = length(key)
22867 if (S_is_set[key]) {
22869 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22870 len += length(value) + length(field[++i])
22881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22882 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22883 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22886 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22887 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22890 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22891 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22892 # trailing colons and then remove the whole line if VPATH becomes empty
22893 # (actually we leave an empty line to preserve line numbers).
22894 if test "x
$srcdir" = x.; then
22895 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22914 fi # test -n "$CONFIG_FILES"
22916 # Set up the scripts for CONFIG_HEADERS section.
22917 # No need to generate them if there are no CONFIG_HEADERS.
22918 # This happens for instance with `./config.status Makefile'.
22919 if test -n "$CONFIG_HEADERS"; then
22920 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22924 # Transform confdefs.h into an awk script `defines.awk', embedded as
22925 # here-document in config.status, that substitutes the proper values into
22926 # config.h.in to produce config.h.
22928 # Create a delimiter string that does not exist in confdefs.h, to ease
22929 # handling of long lines.
22931 for ac_last_try in false false :; do
22932 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22933 if test -z "$ac_tt"; then
22935 elif $ac_last_try; then
22936 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22938 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22942 # For the awk script, D is an array of macro values keyed by name,
22943 # likewise P contains macro parameters if any. Preserve backslash
22944 # newline sequences.
22946 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22948 s/.\{148\}/&'"$ac_delim"'/g
22951 s/^[ ]*#[ ]*define[ ][ ]*/ /
22958 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22960 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22964 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22965 D["\
1"]=" \
3\\\\\\n
"\\/p
22967 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22972 s/.\{148\}/&'"$ac_delim"'/g
22977 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22980 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22982 ' <confdefs.h | sed '
22983 s/'"$ac_delim"'/"\\\
22984 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22987 for (key in D) D_is_set[key] = 1
22990 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22992 split(line, arg, " ")
22993 if (arg[1] == "#") {
22997 defundef
= substr
(arg
[1], 2)
23000 split(mac1
, mac2
, "(") #)
23002 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23003 if (D_is_set
[macro
]) {
23004 # Preserve the white space surrounding the "#".
23005 print prefix
"define", macro P
[macro
] D
[macro
]
23008 # Replace #undef with comments. This is necessary, for example,
23009 # in the case of _POSIX_SOURCE, which is predefined and required
23010 # on some systems where configure will not decide to define it.
23011 if (defundef
== "undef") {
23012 print
"/*", prefix defundef
, macro
, "*/"
23020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23021 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23022 fi # test -n "$CONFIG_HEADERS"
23025 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23030 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23032 case $ac_mode$ac_tag in
23034 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23035 :[FH
]-) ac_tag
=-:-;;
23036 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23053 -) ac_f
="$ac_tmp/stdin";;
23054 *) # Look for the file first in the build tree, then in the source tree
23055 # (if the path is not absolute). The absolute path cannot be DOS-style,
23056 # because $ac_f cannot contain `:'.
23060 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23062 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23064 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23065 as_fn_append ac_file_inputs
" '$ac_f'"
23068 # Let's still pretend it is `configure' which instantiates (i.e., don't
23069 # use $as_me), people would be surprised to read:
23070 # /* config.h. Generated by config.status. */
23071 configure_input
='Generated from '`
23072 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23074 if test x
"$ac_file" != x-
; then
23075 configure_input
="$ac_file. $configure_input"
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23077 $as_echo "$as_me: creating $ac_file" >&6;}
23079 # Neutralize special characters interpreted by sed in replacement strings.
23080 case $configure_input in #(
23081 *\
&* |
*\|
* |
*\\* )
23082 ac_sed_conf_input
=`$as_echo "$configure_input" |
23083 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23084 *) ac_sed_conf_input
=$configure_input;;
23088 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23089 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23094 ac_dir
=`$as_dirname -- "$ac_file" ||
23095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23096 X"$ac_file" : 'X\(//\)[^/]' \| \
23097 X"$ac_file" : 'X\(//\)$' \| \
23098 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23099 $as_echo X"$ac_file" |
23100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23104 /^X\(\/\/\)[^/].*/{
23117 as_dir
="$ac_dir"; as_fn_mkdir_p
23121 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23123 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23124 # A ".." for each directory in $ac_dir_suffix.
23125 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23126 case $ac_top_builddir_sub in
23127 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23128 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23131 ac_abs_top_builddir
=$ac_pwd
23132 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23133 # for backward compatibility:
23134 ac_top_builddir
=$ac_top_build_prefix
23137 .
) # We are building in place.
23139 ac_top_srcdir
=$ac_top_builddir_sub
23140 ac_abs_top_srcdir
=$ac_pwd ;;
23141 [\\/]* | ?
:[\\/]* ) # Absolute name.
23142 ac_srcdir
=$srcdir$ac_dir_suffix;
23143 ac_top_srcdir
=$srcdir
23144 ac_abs_top_srcdir
=$srcdir ;;
23145 *) # Relative name.
23146 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23147 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23148 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23150 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23160 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23161 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23163 ac_MKDIR_P
=$MKDIR_P
23165 [\\/$
]* | ?
:[\\/]* ) ;;
23166 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23171 # If the template does not know about datarootdir, expand it.
23172 # FIXME: This hack should be removed a few years after 2.60.
23173 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23184 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23185 *datarootdir
*) ac_datarootdir_seen
=yes;;
23186 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23188 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23191 ac_datarootdir_hack='
23192 s&@datadir@&$datadir&g
23193 s&@docdir@&$docdir&g
23194 s&@infodir@&$infodir&g
23195 s&@localedir@&$localedir&g
23196 s&@mandir@&$mandir&g
23197 s&\\\${datarootdir}&$datarootdir&g' ;;
23201 # Neutralize VPATH when `$srcdir' = `.'.
23202 # Shell code in configure.ac might set extrasub.
23203 # FIXME: do we really want to maintain this feature?
23204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23205 ac_sed_extra="$ac_vpsub
23208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23210 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23211 s|@configure_input@|
$ac_sed_conf_input|
;t t
23212 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23213 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23214 s
&@srcdir@
&$ac_srcdir&;t t
23215 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23216 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23217 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23218 s
&@builddir@
&$ac_builddir&;t t
23219 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23220 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23221 s
&@INSTALL@
&$ac_INSTALL&;t t
23222 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23223 $ac_datarootdir_hack
23225 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23226 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23228 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23229 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23230 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23231 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23233 which seems to be undefined. Please make sure it is defined" >&5
23234 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23235 which seems to be undefined. Please make sure it is defined" >&2;}
23237 rm -f "$ac_tmp/stdin"
23239 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23240 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23242 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23248 if test x"$ac_file" != x-; then
23250 $as_echo "/* $configure_input */" \
23251 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23252 } >"$ac_tmp/config.h" \
23253 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23254 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23256 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23259 mv "$ac_tmp/config.h" "$ac_file" \
23260 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23263 $as_echo "/* $configure_input */" \
23264 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23265 || as_fn_error $? "could not create -" "$LINENO" 5
23267 # Compute "$ac_file"'s index
in $config_headers.
23270 for _am_header
in $config_headers :; do
23271 case $_am_header in
23272 $_am_arg |
$_am_arg:* )
23275 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23278 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23279 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23280 X"$_am_arg" : 'X\(//\)[^/]' \| \
23281 X"$_am_arg" : 'X\(//\)$' \| \
23282 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23283 $as_echo X"$_am_arg" |
23284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23288 /^X\(\/\/\)[^/].*/{
23300 s/.*/./; q'`/stamp-h
$_am_stamp_count
23303 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23304 $as_echo "$as_me: executing $ac_file commands" >&6;}
23309 case $ac_file$ac_mode in
23310 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23311 # Older Autoconf quotes --file arguments for eval, but not when files
23312 # are listed without --file. Let's play safe and only enable the eval
23313 # if we detect the quoting.
23314 case $CONFIG_FILES in
23315 *\'*) eval set x
"$CONFIG_FILES" ;;
23316 *) set x
$CONFIG_FILES ;;
23321 # Strip MF so we end up with the name of the file.
23322 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23323 # Check whether this is an Automake generated Makefile or not.
23324 # We used to match only the files named 'Makefile.in', but
23325 # some people rename them; so instead we look at the file content.
23326 # Grep'ing the first line is not enough: some people post-process
23327 # each Makefile.in and add a new line on top of each file to say so.
23328 # Grep'ing the whole file is not good either: AIX grep has a line
23329 # limit of 2048, but all sed's we know have understand at least 4000.
23330 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23331 dirpart
=`$as_dirname -- "$mf" ||
23332 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23333 X"$mf" : 'X\(//\)[^/]' \| \
23334 X"$mf" : 'X\(//\)$' \| \
23335 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23341 /^X\(\/\/\)[^/].*/{
23357 # Extract the definition of DEPDIR, am__include, and am__quote
23358 # from the Makefile without running 'make'.
23359 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23360 test -z "$DEPDIR" && continue
23361 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23362 test -z "$am__include" && continue
23363 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23364 # Find all dependency output files, they are included files with
23365 # $(DEPDIR) in their names. We invoke sed twice because it is the
23366 # simplest approach to changing $(DEPDIR) to its actual value in the
23368 for file in `sed -n "
23369 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23370 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23371 # Make sure the directory exists.
23372 test -f "$dirpart/$file" && continue
23373 fdir
=`$as_dirname -- "$file" ||
23374 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23375 X"$file" : 'X\(//\)[^/]' \| \
23376 X"$file" : 'X\(//\)$' \| \
23377 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23378 $as_echo X"$file" |
23379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23383 /^X\(\/\/\)[^/].*/{
23396 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23397 # echo "creating $dirpart/$file"
23398 echo '# dummy' > "$dirpart/$file"
23405 # See if we are running on zsh, and set the options that allow our
23406 # commands through without removal of \ escapes.
23407 if test -n "${ZSH_VERSION+set}"; then
23408 setopt NO_GLOB_SUBST
23412 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23415 cat <<_LT_EOF >> "$cfgfile"
23417 # Generated automatically by $as_me ($PACKAGE) $VERSION
23418 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23420 # Provide generalized library-building support services.
23421 # Written by Gordon Matzigkeit, 1996
23423 # Copyright (C) 2014 Free Software Foundation, Inc.
23424 # This is free software; see the source for copying conditions. There is NO
23425 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23427 # GNU Libtool is free software; you can redistribute it and/or modify
23428 # it under the terms of the GNU General Public License as published by
23429 # the Free Software Foundation; either version 2 of of the License, or
23430 # (at your option) any later version.
23432 # As a special exception to the GNU General Public License, if you
23433 # distribute this file as part of a program or library that is built
23434 # using GNU Libtool, you may include this file under the same
23435 # distribution terms that you use for the rest of that program.
23437 # GNU Libtool is distributed in the hope that it will be useful, but
23438 # WITHOUT ANY WARRANTY; without even the implied warranty of
23439 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23440 # GNU General Public License for more details.
23442 # You should have received a copy of the GNU General Public License
23443 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23446 # The names of the tagged configurations supported by this script.
23449 # Configured defaults for sys_lib_dlsearch_path munging.
23450 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23452 # ### BEGIN LIBTOOL CONFIG
23454 # Which release of libtool.m4 was used?
23455 macro_version=$macro_version
23456 macro_revision=$macro_revision
23458 # Whether or not to build shared libraries.
23459 build_libtool_libs=$enable_shared
23461 # Whether or not to build static libraries.
23462 build_old_libs=$enable_static
23464 # What type of objects to build.
23467 # Whether or not to optimize for fast installation.
23468 fast_install=$enable_fast_install
23470 # Shared archive member basename,for filename based shared library versioning on AIX.
23471 shared_archive_member_spec=$shared_archive_member_spec
23473 # Shell to use when invoking shell scripts.
23476 # An echo program that protects backslashes.
23479 # The PATH separator for the build system.
23480 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23483 host_alias=$host_alias
23487 # The build system.
23488 build_alias=$build_alias
23492 # A sed program that does not truncate output.
23495 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23496 Xsed="\$SED -e 1s/^X//"
23498 # A grep program that handles long lines.
23504 # A literal string matcher.
23507 # A BSD- or MS-compatible name lister.
23510 # Whether we need soft or hard links.
23513 # What is the maximum length of a command?
23514 max_cmd_len=$max_cmd_len
23516 # Object file suffix (normally "o").
23519 # Executable file suffix (normally "").
23522 # whether the shell understands "unset".
23525 # turn spaces into newlines.
23528 # turn newlines into spaces.
23531 # convert \$build file names to \$host format.
23532 to_host_file_cmd=$lt_cv_to_host_file_cmd
23534 # convert \$build files to toolchain format.
23535 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23537 # An object symbol dumper.
23538 OBJDUMP=$lt_OBJDUMP
23540 # Method to check whether dependent libraries are shared objects.
23541 deplibs_check_method=$lt_deplibs_check_method
23543 # Command to use when deplibs_check_method = "file_magic".
23544 file_magic_cmd=$lt_file_magic_cmd
23546 # How to find potential files when deplibs_check_method = "file_magic".
23547 file_magic_glob=$lt_file_magic_glob
23549 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23550 want_nocaseglob=$lt_want_nocaseglob
23552 # DLL creation program.
23553 DLLTOOL=$lt_DLLTOOL
23555 # Command to associate shared and link libraries.
23556 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23561 # Flags to create an archive.
23562 AR_FLAGS=$lt_AR_FLAGS
23564 # How to feed a file listing to the archiver.
23565 archiver_list_spec=$lt_archiver_list_spec
23567 # A symbol stripping program.
23570 # Commands used to install an old-style archive.
23572 old_postinstall_cmds=$lt_old_postinstall_cmds
23573 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23575 # Whether to use a lock for old archive extraction.
23576 lock_old_archive_extraction=$lock_old_archive_extraction
23581 # LTCC compiler flags.
23582 LTCFLAGS=$lt_CFLAGS
23584 # Take the output of nm and produce a listing of raw symbols and C names.
23585 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23587 # Transform the output of nm in a proper C declaration.
23588 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23590 # Transform the output of nm into a list of symbols to manually relocate.
23591 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23593 # Transform the output of nm in a C name address pair.
23594 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23596 # Transform the output of nm in a C name address pair when lib prefix is needed.
23597 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23599 # The name lister interface.
23600 nm_interface=$lt_lt_cv_nm_interface
23602 # Specify filename containing input files for \$NM.
23603 nm_file_list_spec=$lt_nm_file_list_spec
23605 # The root where to search for dependent libraries,and where our libraries should be installed.
23606 lt_sysroot=$lt_sysroot
23608 # Command to truncate a binary pipe.
23609 lt_truncate_bin=$lt_lt_cv_truncate_bin
23611 # The name of the directory that contains temporary libtool files.
23614 # Used to examine libraries when file_magic_cmd begins with "file".
23615 MAGIC_CMD=$MAGIC_CMD
23617 # Must we lock files when doing compilation?
23618 need_locks=$lt_need_locks
23621 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23623 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23624 DSYMUTIL=$lt_DSYMUTIL
23626 # Tool to change global to local symbols on Mac OS X.
23629 # Tool to manipulate fat objects and archives on Mac OS X.
23632 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23635 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23636 OTOOL64=$lt_OTOOL64
23638 # Old archive suffix (normally "a").
23641 # Shared library suffix (normally ".so").
23642 shrext_cmds=$lt_shrext_cmds
23644 # The commands to extract the exported symbol list from a shared archive.
23645 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23647 # Variables whose values should be saved in libtool wrapper scripts and
23648 # restored at link time.
23649 variables_saved_for_relink=$lt_variables_saved_for_relink
23651 # Do we need the "lib" prefix for modules?
23652 need_lib_prefix=$need_lib_prefix
23654 # Do we need a version for libraries?
23655 need_version=$need_version
23657 # Library versioning type.
23658 version_type=$version_type
23660 # Shared library runtime path variable.
23661 runpath_var=$runpath_var
23663 # Shared library path variable.
23664 shlibpath_var=$shlibpath_var
23666 # Is shlibpath searched before the hard-coded library search path?
23667 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23669 # Format of library name prefix.
23670 libname_spec=$lt_libname_spec
23672 # List of archive names. First name is the real one, the rest are links.
23673 # The last name is the one that the linker finds with -lNAME
23674 library_names_spec=$lt_library_names_spec
23676 # The coded name of the library, if different from the real name.
23677 soname_spec=$lt_soname_spec
23679 # Permission mode override for installation of shared libraries.
23680 install_override_mode=$lt_install_override_mode
23682 # Command to use after installation of a shared archive.
23683 postinstall_cmds=$lt_postinstall_cmds
23685 # Command to use after uninstallation of a shared archive.
23686 postuninstall_cmds=$lt_postuninstall_cmds
23688 # Commands used to finish a libtool library installation in a directory.
23689 finish_cmds=$lt_finish_cmds
23691 # As "finish_cmds", except a single script fragment to be evaled but
23693 finish_eval=$lt_finish_eval
23695 # Whether we should hardcode library paths into libraries.
23696 hardcode_into_libs=$hardcode_into_libs
23698 # Compile-time system search path for libraries.
23699 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23701 # Detected run-time system search path for libraries.
23702 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23704 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23705 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23707 # Whether dlopen is supported.
23708 dlopen_support=$enable_dlopen
23710 # Whether dlopen of programs is supported.
23711 dlopen_self=$enable_dlopen_self
23713 # Whether dlopen of statically linked programs is supported.
23714 dlopen_self_static=$enable_dlopen_self_static
23716 # Commands to strip libraries.
23717 old_striplib=$lt_old_striplib
23718 striplib=$lt_striplib
23721 # The linker used to build libraries.
23724 # How to create reloadable object files.
23725 reload_flag=$lt_reload_flag
23726 reload_cmds=$lt_reload_cmds
23728 # Commands used to build an old-style archive.
23729 old_archive_cmds=$lt_old_archive_cmds
23731 # A language specific compiler.
23734 # Is the compiler the GNU compiler?
23737 # Compiler flag to turn off builtin functions.
23738 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23740 # Additional compiler flags for building library objects.
23741 pic_flag=$lt_lt_prog_compiler_pic
23743 # How to pass a linker flag through the compiler.
23744 wl=$lt_lt_prog_compiler_wl
23746 # Compiler flag to prevent dynamic linking.
23747 link_static_flag=$lt_lt_prog_compiler_static
23749 # Does compiler simultaneously support -c and -o options?
23750 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23752 # Whether or not to add -lc for building shared libraries.
23753 build_libtool_need_lc=$archive_cmds_need_lc
23755 # Whether or not to disallow shared libs when runtime libs are static.
23756 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23758 # Compiler flag to allow reflexive dlopens.
23759 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23761 # Compiler flag to generate shared objects directly from archives.
23762 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23764 # Whether the compiler copes with passing no objects directly.
23765 compiler_needs_object=$lt_compiler_needs_object
23767 # Create an old-style archive from a shared archive.
23768 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23770 # Create a temporary old-style archive to link instead of a shared archive.
23771 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23773 # Commands used to build a shared archive.
23774 archive_cmds=$lt_archive_cmds
23775 archive_expsym_cmds=$lt_archive_expsym_cmds
23777 # Commands used to build a loadable module if different from building
23778 # a shared archive.
23779 module_cmds=$lt_module_cmds
23780 module_expsym_cmds=$lt_module_expsym_cmds
23782 # Whether we are building with GNU ld or not.
23783 with_gnu_ld=$lt_with_gnu_ld
23785 # Flag that allows shared libraries with undefined symbols to be built.
23786 allow_undefined_flag=$lt_allow_undefined_flag
23788 # Flag that enforces no undefined symbols.
23789 no_undefined_flag=$lt_no_undefined_flag
23791 # Flag to hardcode \$libdir into a binary during linking.
23792 # This must work even if \$libdir does not exist
23793 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23795 # Whether we need a single "-rpath" flag with a separated argument.
23796 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23798 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23799 # DIR into the resulting binary.
23800 hardcode_direct=$hardcode_direct
23802 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23803 # DIR into the resulting binary and the resulting library dependency is
23804 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23805 # library is relocated.
23806 hardcode_direct_absolute=$hardcode_direct_absolute
23808 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23809 # into the resulting binary.
23810 hardcode_minus_L=$hardcode_minus_L
23812 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23813 # into the resulting binary.
23814 hardcode_shlibpath_var=$hardcode_shlibpath_var
23816 # Set to "yes" if building a shared library automatically hardcodes DIR
23817 # into the library and all subsequent libraries and executables linked
23819 hardcode_automatic=$hardcode_automatic
23821 # Set to yes if linker adds runtime paths of dependent libraries
23822 # to runtime path list.
23823 inherit_rpath=$inherit_rpath
23825 # Whether libtool must link a program against all its dependency libraries.
23826 link_all_deplibs=$link_all_deplibs
23828 # Set to "yes" if exported symbols are required.
23829 always_export_symbols=$always_export_symbols
23831 # The commands to list exported symbols.
23832 export_symbols_cmds=$lt_export_symbols_cmds
23834 # Symbols that should not be listed in the preloaded symbols.
23835 exclude_expsyms=$lt_exclude_expsyms
23837 # Symbols that must always be exported.
23838 include_expsyms=$lt_include_expsyms
23840 # Commands necessary for linking programs (against libraries) with templates.
23841 prelink_cmds=$lt_prelink_cmds
23843 # Commands necessary for finishing linking programs.
23844 postlink_cmds=$lt_postlink_cmds
23846 # Specify filename containing input files.
23847 file_list_spec=$lt_file_list_spec
23849 # How to hardcode a shared library path into an executable.
23850 hardcode_action=$hardcode_action
23852 # ### END LIBTOOL CONFIG
23856 cat <<'_LT_EOF' >> "$cfgfile"
23858 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23860 # func_munge_path_list VARIABLE PATH
23861 # -----------------------------------
23862 # VARIABLE is name of variable containing _space_ separated list of
23863 # directories to be munged by the contents of PATH, which is string
23866 # string "DIR[ DIR]" will be prepended to VARIABLE
23868 # string "DIR[ DIR]" will be appended to VARIABLE
23869 # "DIRP[:DIRP]::[DIRA:]DIRA"
23870 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23871 # "DIRA[ DIRA]" will be appended to VARIABLE
23873 # VARIABLE will be replaced by "DIR[ DIR]"
23874 func_munge_path_list ()
23880 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23883 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23886 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23887 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23890 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23896 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23897 func_cc_basename ()
23899 for cc_temp in $*""; do
23901 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23902 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23907 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23911 # ### END FUNCTIONS SHARED WITH CONFIGURE
23917 cat <<\_LT_EOF
>> "$cfgfile"
23918 # AIX sometimes has problems with the GCC collect2 program. For some
23919 # reason, if we set the COLLECT_NAMES environment variable, the problems
23920 # vanish in a puff of smoke.
23921 if test set != "${COLLECT_NAMES+set}"; then
23923 export COLLECT_NAMES
23930 ltmain
=$ac_aux_dir/ltmain.sh
23933 # We use sed instead of cat because bash on DJGPP gets confused if
23934 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23935 # text mode, it properly converts lines to CR/LF. This bash problem
23936 # is reportedly fixed, but why not run on old versions too?
23937 sed '$q' "$ltmain" >> "$cfgfile" \
23938 ||
(rm -f "$cfgfile"; exit 1)
23940 mv -f "$cfgfile" "$ofile" ||
23941 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23945 "po-directories":C
)
23946 for ac_file
in $CONFIG_FILES; do
23947 # Support "outfile[:infile[:infile...]]"
23949 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
23951 # PO directories have a Makefile.in generated from Makefile.in.in.
23952 case "$ac_file" in */Makefile.
in)
23953 # Adjust a relative srcdir.
23954 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
23955 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
23956 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
23957 # In autoconf-2.13 it is called $ac_given_srcdir.
23958 # In autoconf-2.50 it is called $srcdir.
23959 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
23960 case "$ac_given_srcdir" in
23961 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
23962 /*) top_srcdir
="$ac_given_srcdir" ;;
23963 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
23965 # Treat a directory as a PO directory if and only if it has a
23966 # POTFILES.in file. This allows packages to have multiple PO
23967 # directories under different names or in different locations.
23968 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
23969 rm -f "$ac_dir/POTFILES"
23970 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
23971 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
23972 POMAKEFILEDEPS
="POTFILES.in"
23973 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
23974 # on $ac_dir but don't depend on user-specified configuration
23976 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
23977 # The LINGUAS file contains the set of available languages.
23978 if test -n "$OBSOLETE_ALL_LINGUAS"; then
23979 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
23981 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
23982 # Hide the ALL_LINGUAS assigment from automake < 1.5.
23983 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
23984 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
23986 # The set of available languages was given in configure.in.
23987 # Hide the ALL_LINGUAS assigment from automake < 1.5.
23988 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
23991 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
23992 # Compute UPDATEPOFILES
23993 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
23994 # Compute DUMMYPOFILES
23995 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
23997 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
23998 case "$ac_given_srcdir" in
24000 *) srcdirpre
='$(srcdir)/' ;;
24006 for lang
in $ALL_LINGUAS; do
24007 POFILES
="$POFILES $srcdirpre$lang.po"
24008 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24009 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24010 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24012 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24013 # environment variable.
24015 if test -n "$ALL_LINGUAS"; then
24016 for presentlang
in $ALL_LINGUAS; do
24018 if test "%UNSET%" != "$LINGUAS"; then
24019 desiredlanguages
="$LINGUAS"
24021 desiredlanguages
="$ALL_LINGUAS"
24023 for desiredlang
in $desiredlanguages; do
24024 # Use the presentlang catalog if desiredlang is
24025 # a. equal to presentlang, or
24026 # b. a variant of presentlang (because in this case,
24027 # presentlang can be used as a fallback for messages
24028 # which are not translated in the desiredlang catalog).
24029 case "$desiredlang" in
24030 "$presentlang"*) useit
=yes;;
24033 if test $useit = yes; then
24034 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24039 if test -n "$INST_LINGUAS"; then
24040 for lang
in $INST_LINGUAS; do
24041 CATALOGS
="$CATALOGS $lang.gmo"
24044 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24045 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"
24046 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24047 if test -f "$f"; then
24049 *.orig |
*.bak |
*~
) ;;
24050 *) cat "$f" >> "$ac_dir/Makefile" ;;
24065 ac_clean_files
=$ac_clean_files_save
24067 test $ac_write_fail = 0 ||
24068 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24071 # configure is writing to config.log, and then calls config.status.
24072 # config.status does its own redirection, appending to config.log.
24073 # Unfortunately, on DOS this fails, as config.log is still kept open
24074 # by configure, so config.status won't be able to write to it; its
24075 # output is simply discarded. So we exec the FD to /dev/null,
24076 # effectively closing config.log, so it can be properly (re)opened and
24077 # appended to by config.status. When coming back to configure, we
24078 # need to make the FD available again.
24079 if test "$no_create" != yes; then
24081 ac_config_status_args
=
24082 test "$silent" = yes &&
24083 ac_config_status_args
="$ac_config_status_args --quiet"
24085 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24087 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24088 # would make configure fail if this is the last instruction.
24089 $ac_cs_success || as_fn_exit
1
24091 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24093 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}