2 # From configure.ac Rev:18 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.20.99.
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.20.99'
595 PACKAGE_STRING
='alpine 2.20.99'
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.20.99 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.20.99:";;
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.20.99
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.20.99, 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"
15110 # Check whether --with-localedir was given.
15111 if test "${with_localedir+set}" = set; then :
15112 withval
=$with_localedir;
15125 localedir
="$localedir"
15128 # Setup OS-Specific features
15131 # Check whether --enable-osx-universal-binaries was given.
15132 if test "${enable_osx_universal_binaries+set}" = set; then :
15133 enableval
=$enable_osx_universal_binaries;
15136 if test "x$enable_osx_universal_binaries" = "xyes" ; then
15137 if test "x$enable_dependency_tracking" != xno
; then
15138 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
15139 Please re-run configure with these options:
15140 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
15142 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
15143 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
15144 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
15145 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
15147 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
15149 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
15150 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
15151 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
15152 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
15153 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
15154 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
15160 # Check whether --with-include-path was given.
15161 if test "${with_include_path+set}" = set; then :
15162 withval
=$with_include_path;
15169 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
15170 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
15171 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
15179 # Check whether --with-lib-path was given.
15180 if test "${with_lib_path+set}" = set; then :
15181 withval
=$with_lib_path;
15188 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
15189 LDFLAGS
="$LDFLAGS $new_ldflags"
15190 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
15198 # Check whether --with-pubcookie was given.
15199 if test "${with_pubcookie+set}" = set; then :
15200 withval
=$with_pubcookie;
15201 if test "x$withval" != "xno" ; then
15202 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
15210 # Check whether --with-web-bin was given.
15211 if test "${with_web_bin+set}" = set; then :
15212 withval
=$with_web_bin;
15219 WEB_BINDIR
=$withval
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
15227 $as_echo_n "checking option: debugging is enabled... " >&6; }
15228 # Check whether --enable-debug was given.
15229 if test "${enable_debug+set}" = set; then :
15230 enableval
=$enable_debug;
15233 if test x
$enable_debug != "xno" ; then
15234 AM_CFLAGS
="$AM_CFLAGS -g"
15236 $as_echo "#define DEBUG 1" >>confdefs.h
15239 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15242 $as_echo "yes" >&6; }
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15245 $as_echo "no" >&6; }
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
15249 $as_echo_n "checking option: optimization is enabled... " >&6; }
15250 # Check whether --enable-optimization was given.
15251 if test "${enable_optimization+set}" = set; then :
15252 enableval
=$enable_optimization;
15255 if test x
$enable_optimization != "xno" ; then
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15257 $as_echo "yes" >&6; }
15259 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
15260 alpine_c_client_gccoptlevel
="-O0"
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15262 $as_echo "no" >&6; }
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
15266 $as_echo_n "checking option: mouse support enabled... " >&6; }
15267 # Check whether --enable-mouse was given.
15268 if test "${enable_mouse+set}" = set; then :
15269 enableval
=$enable_mouse;
15272 if test x
$enable_mouse != "xno" ; then
15274 $as_echo "#define MOUSE /**/" >>confdefs.h
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15277 $as_echo "yes" >&6; }
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15280 $as_echo "no" >&6; }
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
15284 $as_echo_n "checking option: quotas enabled... " >&6; }
15285 # Check whether --enable-quotas was given.
15286 if test "${enable_quotas+set}" = set; then :
15287 enableval
=$enable_quotas;
15290 if test x
$enable_quotas = "xyes" ; then
15292 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15295 $as_echo "yes" >&6; }
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15298 $as_echo "no" >&6; }
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
15302 $as_echo_n "checking option: From changing enabled... " >&6; }
15303 # Check whether --enable-from_changing was given.
15304 if test "${enable_from_changing+set}" = set; then :
15305 enableval
=$enable_from_changing;
15308 if test x
$enable_from_changing != "xno" ; then
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15310 $as_echo "yes" >&6; }
15313 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15316 $as_echo "no" >&6; }
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
15320 $as_echo_n "checking option: background post enabled... " >&6; }
15321 # Check whether --enable-background-post was given.
15322 if test "${enable_background_post+set}" = set; then :
15323 enableval
=$enable_background_post;
15326 if test x
$enable_background_post != "xno" ; then
15328 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15331 $as_echo "yes" >&6; }
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15334 $as_echo "no" >&6; }
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
15338 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
15339 # Check whether --enable-keyboard-lock was given.
15340 if test "${enable_keyboard_lock+set}" = set; then :
15341 enableval
=$enable_keyboard_lock;
15344 if test x
$enable_keyboard_lock != "xno" ; then
15346 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15349 $as_echo "yes" >&6; }
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15352 $as_echo "no" >&6; }
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
15356 $as_echo_n "checking option: from encoding enabled... " >&6; }
15357 # Check whether --enable-from-encoding was given.
15358 if test "${enable_from_encoding+set}" = set; then :
15359 enableval
=$enable_from_encoding;
15362 if test x
$enable_from_encoding = "xyes" ; then
15364 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15367 $as_echo "yes" >&6; }
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15370 $as_echo "no" >&6; }
15374 # Check whether --with-smtp-msa was given.
15375 if test "${with_smtp_msa+set}" = set; then :
15376 withval
=$with_smtp_msa;
15381 # Extract the first word of "sendmail", so it can be a program name with args.
15382 set dummy sendmail
; ac_word
=$2
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15384 $as_echo_n "checking for $ac_word... " >&6; }
15385 if ${ac_cv_path_SENDMAIL+:} false
; then :
15386 $as_echo_n "(cached) " >&6
15390 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15394 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15395 for as_dir
in $as_dummy
15398 test -z "$as_dir" && as_dir
=.
15399 for ac_exec_ext
in '' $ac_executable_extensions; do
15400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15401 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15409 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15413 SENDMAIL
=$ac_cv_path_SENDMAIL
15414 if test -n "$SENDMAIL"; then
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15416 $as_echo "$SENDMAIL" >&6; }
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15419 $as_echo "no" >&6; }
15431 # Extract the first word of "sendmail", so it can be a program name with args.
15432 set dummy sendmail
; ac_word
=$2
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15434 $as_echo_n "checking for $ac_word... " >&6; }
15435 if ${ac_cv_path_SENDMAIL+:} false
; then :
15436 $as_echo_n "(cached) " >&6
15440 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15444 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15445 for as_dir
in $as_dummy
15448 test -z "$as_dir" && as_dir
=.
15449 for ac_exec_ext
in '' $ac_executable_extensions; do
15450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15451 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15459 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15463 SENDMAIL
=$ac_cv_path_SENDMAIL
15464 if test -n "$SENDMAIL"; then
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15466 $as_echo "$SENDMAIL" >&6; }
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15469 $as_echo "no" >&6; }
15476 if test -n "$SENDMAIL" ; then
15478 cat >>confdefs.h
<<_ACEOF
15479 #define SENDMAIL "$SENDMAIL"
15484 smtp_msa_flags
="-bs -odb -oem"
15486 # Check whether --with-smtp-msa-flags was given.
15487 if test "${with_smtp_msa_flags+set}" = set; then :
15488 withval
=$with_smtp_msa_flags;
15489 if test "x$withval" != "xno" ; then
15490 smtp_msa_flags
=$withval
15496 cat >>confdefs.h
<<_ACEOF
15497 #define SENDMAILFLAGS "$smtp_msa_flags"
15503 # Check whether --with-npa was given.
15504 if test "${with_npa+set}" = set; then :
15510 # Extract the first word of "inews", so it can be a program name with args.
15511 set dummy inews
; ac_word
=$2
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15513 $as_echo_n "checking for $ac_word... " >&6; }
15514 if ${ac_cv_path_NPA_PROG+:} false
; then :
15515 $as_echo_n "(cached) " >&6
15519 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15523 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15524 for as_dir
in $as_dummy
15527 test -z "$as_dir" && as_dir
=.
15528 for ac_exec_ext
in '' $ac_executable_extensions; do
15529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15530 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15538 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15542 NPA_PROG
=$ac_cv_path_NPA_PROG
15543 if test -n "$NPA_PROG"; then
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15545 $as_echo "$NPA_PROG" >&6; }
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15548 $as_echo "no" >&6; }
15560 # Extract the first word of "inews", so it can be a program name with args.
15561 set dummy inews
; ac_word
=$2
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15563 $as_echo_n "checking for $ac_word... " >&6; }
15564 if ${ac_cv_path_NPA_PROG+:} false
; then :
15565 $as_echo_n "(cached) " >&6
15569 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15573 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15574 for as_dir
in $as_dummy
15577 test -z "$as_dir" && as_dir
=.
15578 for ac_exec_ext
in '' $ac_executable_extensions; do
15579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15580 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15588 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15592 NPA_PROG
=$ac_cv_path_NPA_PROG
15593 if test -n "$NPA_PROG"; then
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15595 $as_echo "$NPA_PROG" >&6; }
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15598 $as_echo "no" >&6; }
15608 # Check whether --with-npa-flags was given.
15609 if test "${with_npa_flags+set}" = set; then :
15610 withval
=$with_npa_flags;
15611 if test "x$withval" != "xno" ; then
15617 if test -n "$NPA_PROG" ; then
15619 cat >>confdefs.h
<<_ACEOF
15620 #define SENDNEWS "$NPA_PROG $npa_flags"
15626 # Check whether --with-password-prog was given.
15627 if test "${with_password_prog+set}" = set; then :
15628 withval
=$with_password_prog;
15633 # Extract the first word of "passwd", so it can be a program name with args.
15634 set dummy passwd
; ac_word
=$2
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15636 $as_echo_n "checking for $ac_word... " >&6; }
15637 if ${ac_cv_path_PWPROG+:} false
; then :
15638 $as_echo_n "(cached) " >&6
15642 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15646 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15647 for as_dir
in $as_dummy
15650 test -z "$as_dir" && as_dir
=.
15651 for ac_exec_ext
in '' $ac_executable_extensions; do
15652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15653 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15661 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15665 PWPROG
=$ac_cv_path_PWPROG
15666 if test -n "$PWPROG"; then
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15668 $as_echo "$PWPROG" >&6; }
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15671 $as_echo "no" >&6; }
15677 # Extract the first word of "$withval", so it can be a program name with args.
15678 set dummy
$withval; ac_word
=$2
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15680 $as_echo_n "checking for $ac_word... " >&6; }
15681 if ${ac_cv_path_PWPROG+:} false
; then :
15682 $as_echo_n "(cached) " >&6
15686 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15690 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15691 for as_dir
in $as_dummy
15694 test -z "$as_dir" && as_dir
=.
15695 for ac_exec_ext
in '' $ac_executable_extensions; do
15696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15697 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15705 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15709 PWPROG
=$ac_cv_path_PWPROG
15710 if test -n "$PWPROG"; then
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15712 $as_echo "$PWPROG" >&6; }
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15715 $as_echo "no" >&6; }
15724 # Extract the first word of "passwd", so it can be a program name with args.
15725 set dummy passwd
; ac_word
=$2
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15727 $as_echo_n "checking for $ac_word... " >&6; }
15728 if ${ac_cv_path_PWPROG+:} false
; then :
15729 $as_echo_n "(cached) " >&6
15733 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15737 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15738 for as_dir
in $as_dummy
15741 test -z "$as_dir" && as_dir
=.
15742 for ac_exec_ext
in '' $ac_executable_extensions; do
15743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15744 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15752 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15756 PWPROG
=$ac_cv_path_PWPROG
15757 if test -n "$PWPROG"; then
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15759 $as_echo "$PWPROG" >&6; }
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15762 $as_echo "no" >&6; }
15769 if test -n "$PWPROG" ; then
15771 cat >>confdefs.h
<<_ACEOF
15772 #define PASSWD_PROG "$PWPROG"
15778 # Check whether --with-simple-spellcheck was given.
15779 if test "${with_simple_spellcheck+set}" = set; then :
15780 withval
=$with_simple_spellcheck;
15781 if test "x$withval" != "xno" ; then
15787 # Extract the first word of "hunspell", so it can be a program name with args.
15788 set dummy hunspell
; ac_word
=$2
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15790 $as_echo_n "checking for $ac_word... " >&6; }
15791 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15792 $as_echo_n "(cached) " >&6
15794 if test -n "$SPELLPROG"; then
15795 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15798 for as_dir
in $PATH
15801 test -z "$as_dir" && as_dir
=.
15802 for ac_exec_ext
in '' $ac_executable_extensions; do
15803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15804 ac_cv_prog_SPELLPROG
="hunspell"
15805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15814 SPELLPROG
=$ac_cv_prog_SPELLPROG
15815 if test -n "$SPELLPROG"; then
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15817 $as_echo "$SPELLPROG" >&6; }
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15820 $as_echo "no" >&6; }
15824 if test -z "$SPELLPROG" ; then
15825 # Extract the first word of "aspell", so it can be a program name with args.
15826 set dummy aspell
; ac_word
=$2
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15828 $as_echo_n "checking for $ac_word... " >&6; }
15829 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15830 $as_echo_n "(cached) " >&6
15832 if test -n "$SPELLPROG"; then
15833 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15836 for as_dir
in $PATH
15839 test -z "$as_dir" && as_dir
=.
15840 for ac_exec_ext
in '' $ac_executable_extensions; do
15841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15842 ac_cv_prog_SPELLPROG
="aspell"
15843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15852 SPELLPROG
=$ac_cv_prog_SPELLPROG
15853 if test -n "$SPELLPROG"; then
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15855 $as_echo "$SPELLPROG" >&6; }
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15858 $as_echo "no" >&6; }
15862 if test -z "$SPELLPROG" ; then
15863 # Extract the first word of "ispell", so it can be a program name with args.
15864 set dummy ispell
; ac_word
=$2
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15866 $as_echo_n "checking for $ac_word... " >&6; }
15867 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15868 $as_echo_n "(cached) " >&6
15870 if test -n "$SPELLPROG"; then
15871 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15874 for as_dir
in $PATH
15877 test -z "$as_dir" && as_dir
=.
15878 for ac_exec_ext
in '' $ac_executable_extensions; do
15879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15880 ac_cv_prog_SPELLPROG
="ispell"
15881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15890 SPELLPROG
=$ac_cv_prog_SPELLPROG
15891 if test -n "$SPELLPROG"; then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15893 $as_echo "$SPELLPROG" >&6; }
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15896 $as_echo "no" >&6; }
15900 if test -z "$SPELLPROG" ; then
15909 if test "x$SPELLPROG" != "xno" ; then
15910 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
15911 set dummy
$SPELLPROG; ac_word
=$2
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15913 $as_echo_n "checking for $ac_word... " >&6; }
15914 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
15915 $as_echo_n "(cached) " >&6
15917 case $alpine_simple_spellcheck in
15919 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
15922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15923 for as_dir
in $PATH
15926 test -z "$as_dir" && as_dir
=.
15927 for ac_exec_ext
in '' $ac_executable_extensions; do
15928 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15929 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
15930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15940 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
15941 if test -n "$alpine_simple_spellcheck"; then
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
15943 $as_echo "$alpine_simple_spellcheck" >&6; }
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15946 $as_echo "no" >&6; }
15950 if test -n "$alpine_simple_spellcheck" ; then
15951 case "$SPELLPROG" in
15953 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15956 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
15959 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15968 # Check whether --with-interactive-spellcheck was given.
15969 if test "${with_interactive_spellcheck+set}" = set; then :
15970 withval
=$with_interactive_spellcheck;
15971 if test "x$withval" != "xno" ; then
15972 ISPELLPROG
=$withval
15977 # Extract the first word of "hunspell", so it can be a program name with args.
15978 set dummy hunspell
; ac_word
=$2
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15980 $as_echo_n "checking for $ac_word... " >&6; }
15981 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
15982 $as_echo_n "(cached) " >&6
15984 if test -n "$ISPELLPROG"; then
15985 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
15987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15988 for as_dir
in $PATH
15991 test -z "$as_dir" && as_dir
=.
15992 for ac_exec_ext
in '' $ac_executable_extensions; do
15993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15994 ac_cv_prog_ISPELLPROG
="hunspell"
15995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16004 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16005 if test -n "$ISPELLPROG"; then
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16007 $as_echo "$ISPELLPROG" >&6; }
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16010 $as_echo "no" >&6; }
16014 if test -z "$ISPELLPROG" ; then
16015 # Extract the first word of "aspell", so it can be a program name with args.
16016 set dummy aspell
; ac_word
=$2
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16018 $as_echo_n "checking for $ac_word... " >&6; }
16019 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16020 $as_echo_n "(cached) " >&6
16022 if test -n "$ISPELLPROG"; then
16023 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16026 for as_dir
in $PATH
16029 test -z "$as_dir" && as_dir
=.
16030 for ac_exec_ext
in '' $ac_executable_extensions; do
16031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16032 ac_cv_prog_ISPELLPROG
="aspell"
16033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16042 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16043 if test -n "$ISPELLPROG"; then
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16045 $as_echo "$ISPELLPROG" >&6; }
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16048 $as_echo "no" >&6; }
16052 if test -z "$SPELLPROG" ; then
16053 ISPELLPROG
="ispell"
16060 if test "x$ISPELLPROG" != "xno" ; then
16061 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
16062 set dummy
$ISPELLPROG; ac_word
=$2
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16064 $as_echo_n "checking for $ac_word... " >&6; }
16065 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
16066 $as_echo_n "(cached) " >&6
16068 case $alpine_interactive_spellcheck in
16070 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
16073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16074 for as_dir
in $PATH
16077 test -z "$as_dir" && as_dir
=.
16078 for ac_exec_ext
in '' $ac_executable_extensions; do
16079 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16080 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16091 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
16092 if test -n "$alpine_interactive_spellcheck"; then
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
16094 $as_echo "$alpine_interactive_spellcheck" >&6; }
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16097 $as_echo "no" >&6; }
16101 if test -n "$alpine_interactive_spellcheck" ; then
16102 case "$ISPELLPROG" in
16104 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
16112 if test -n "$alpine_interactive_spellcheck" ; then
16114 cat >>confdefs.h
<<_ACEOF
16115 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
16120 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
16121 alpine_simple_spellcheck
=test
16124 cat >>confdefs.h
<<_ACEOF
16125 #define SPELLER "$alpine_simple_spellcheck"
16130 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
16131 *) dpv
=${prefix}/lib
/pine.conf
;;
16134 # Check whether --with-system-pinerc was given.
16135 if test "${with_system_pinerc+set}" = set; then :
16136 withval
=$with_system_pinerc;
16150 cat >>confdefs.h
<<_ACEOF
16151 #define SYSTEM_PINERC "$dpv"
16156 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
16157 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
16160 # Check whether --with-system-fixed-pinerc was given.
16161 if test "${with_system_fixed_pinerc+set}" = set; then :
16162 withval
=$with_system_fixed_pinerc;
16176 cat >>confdefs.h
<<_ACEOF
16177 #define SYSTEM_PINERC_FIXED "$dpv"
16182 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
16183 *) dpv
=${prefix}/lib
/pine.info
;;
16186 # Check whether --with-local-support-info was given.
16187 if test "${with_local_support_info+set}" = set; then :
16188 withval
=$with_local_support_info;
16202 cat >>confdefs.h
<<_ACEOF
16203 #define SYSTEM_PINE_INFO_PATH "$dpv"
16214 # Check whether --with-mailcheck-interval was given.
16215 if test "${with_mailcheck_interval+set}" = set; then :
16216 withval
=$with_mailcheck_interval;
16217 if test "x$withval" != "xno" ; then
16224 cat >>confdefs.h
<<_ACEOF
16225 #define DF_MAILCHECK "$dpv"
16232 # Check whether --with-checkpoint-interval was given.
16233 if test "${with_checkpoint_interval+set}" = set; then :
16234 withval
=$with_checkpoint_interval;
16235 if test "x$withval" != "xno" ; then
16242 cat >>confdefs.h
<<_ACEOF
16243 #define CHECK_POINT_TIME $dpv
16250 # Check whether --with-checkpoint-frequency was given.
16251 if test "${with_checkpoint_frequency+set}" = set; then :
16252 withval
=$with_checkpoint_frequency;
16253 if test "x$withval" != "xno" ; then
16260 cat >>confdefs.h
<<_ACEOF
16261 #define CHECK_POINT_FREQ $dpv
16268 # Check whether --with-display-rows was given.
16269 if test "${with_display_rows+set}" = set; then :
16270 withval
=$with_display_rows;
16271 if test "x$withval" != "xno" ; then
16278 cat >>confdefs.h
<<_ACEOF
16279 #define DEFAULT_LINES_ON_TERMINAL $dpv
16286 # Check whether --with-display-columns was given.
16287 if test "${with_display_columns+set}" = set; then :
16288 withval
=$with_display_columns;
16289 if test "x$withval" != "xno" ; then
16296 cat >>confdefs.h
<<_ACEOF
16297 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
16304 # Check whether --with-max-display-rows was given.
16305 if test "${with_max_display_rows+set}" = set; then :
16306 withval
=$with_max_display_rows;
16307 if test "x$withval" != "xno" ; then
16314 cat >>confdefs.h
<<_ACEOF
16315 #define MAX_SCREEN_ROWS $dpv
16322 # Check whether --with-max-display-columns was given.
16323 if test "${with_max_display_columns+set}" = set; then :
16324 withval
=$with_max_display_columns;
16325 if test "x$withval" != "xno" ; then
16332 cat >>confdefs.h
<<_ACEOF
16333 #define MAX_SCREEN_COLS $dpv
16340 # Check whether --with-fill-column was given.
16341 if test "${with_fill_column+set}" = set; then :
16342 withval
=$with_fill_column;
16343 if test "x$withval" != "xno" ; then
16350 cat >>confdefs.h
<<_ACEOF
16351 #define DF_FILLCOL "$dpv"
16358 # Check whether --with-max_fill-column was given.
16359 if test "${with_max_fill_column+set}" = set; then :
16360 withval
=$with_max_fill_column;
16361 if test "x$withval" != "xno" ; then
16368 cat >>confdefs.h
<<_ACEOF
16369 #define MAX_FILLCOL $dpv
16376 # Check whether --with-debug-level was given.
16377 if test "${with_debug_level+set}" = set; then :
16378 withval
=$with_debug_level;
16379 if test "x$withval" != "xno" ; then
16386 cat >>confdefs.h
<<_ACEOF
16387 #define DEFAULT_DEBUG $dpv
16394 # Check whether --with-debug-files was given.
16395 if test "${with_debug_files+set}" = set; then :
16396 withval
=$with_debug_files;
16397 if test "x$withval" != "xno" ; then
16404 cat >>confdefs.h
<<_ACEOF
16405 #define NUMDEBUGFILES $dpv
16412 # Check whether --with-debug-file was given.
16413 if test "${with_debug_file+set}" = set; then :
16414 withval
=$with_debug_file;
16415 if test "x$withval" != "xno" ; then
16422 cat >>confdefs.h
<<_ACEOF
16423 #define DEBUGFILE "$dpv"
16430 # Check whether --with-forwarded-keyword was given.
16431 if test "${with_forwarded_keyword+set}" = set; then :
16432 withval
=$with_forwarded_keyword;
16433 if test "x$withval" != "xno" ; then
16440 cat >>confdefs.h
<<_ACEOF
16441 #define FORWARDED_FLAG "$dpv"
16448 # Check whether --with-display-overlap was given.
16449 if test "${with_display_overlap+set}" = set; then :
16450 withval
=$with_display_overlap;
16451 if test "x$withval" != "xno" ; then
16458 cat >>confdefs.h
<<_ACEOF
16459 #define DF_OVERLAP "$dpv"
16466 # Check whether --with-display-margin was given.
16467 if test "${with_display_margin+set}" = set; then :
16468 withval
=$with_display_margin;
16469 if test "x$withval" != "xno" ; then
16476 cat >>confdefs.h
<<_ACEOF
16477 #define DF_MARGIN "$dpv"
16484 # Check whether --with-default-fcc was given.
16485 if test "${with_default_fcc+set}" = set; then :
16486 withval
=$with_default_fcc;
16487 if test "x$withval" != "xno" ; then
16494 cat >>confdefs.h
<<_ACEOF
16495 #define DF_DEFAULT_FCC "$dpv"
16502 # Check whether --with-default-save-folder was given.
16503 if test "${with_default_save_folder+set}" = set; then :
16504 withval
=$with_default_save_folder;
16505 if test "x$withval" != "xno" ; then
16512 cat >>confdefs.h
<<_ACEOF
16513 #define DEFAULT_SAVE "$dpv"
16520 # Check whether --with-default-legacy-postponed-folder was given.
16521 if test "${with_default_legacy_postponed_folder+set}" = set; then :
16522 withval
=$with_default_legacy_postponed_folder;
16523 if test "x$withval" != "xno" ; then
16530 cat >>confdefs.h
<<_ACEOF
16531 #define POSTPONED_MAIL "$dpv"
16538 # Check whether --with-default-postponed-folder was given.
16539 if test "${with_default_postponed_folder+set}" = set; then :
16540 withval
=$with_default_postponed_folder;
16541 if test "x$withval" != "xno" ; then
16548 cat >>confdefs.h
<<_ACEOF
16549 #define POSTPONED_MSGS "$dpv"
16556 # Check whether --with-default-trash-folder was given.
16557 if test "${with_default_trash_folder+set}" = set; then :
16558 withval
=$with_default_trash_folder;
16559 if test "x$withval" != "xno" ; then
16566 cat >>confdefs.h
<<_ACEOF
16567 #define TRASH_FOLDER "$dpv"
16572 dpv
=.pine-interrupted-mail
16574 # Check whether --with-default-interrupted-mail was given.
16575 if test "${with_default_interrupted_mail+set}" = set; then :
16576 withval
=$with_default_interrupted_mail;
16577 if test "x$withval" != "xno" ; then
16584 cat >>confdefs.h
<<_ACEOF
16585 #define INTERRUPTED_MAIL "$dpv"
16592 # Check whether --with-default-dead-letter-folder was given.
16593 if test "${with_default_dead_letter_folder+set}" = set; then :
16594 withval
=$with_default_dead_letter_folder;
16595 if test "x$withval" != "xno" ; then
16602 cat >>confdefs.h
<<_ACEOF
16603 #define DEADLETTER "$dpv"
16610 # Check whether --with-default-mail-directory was given.
16611 if test "${with_default_mail_directory+set}" = set; then :
16612 withval
=$with_default_mail_directory;
16613 if test "x$withval" != "xno" ; then
16620 cat >>confdefs.h
<<_ACEOF
16621 #define DF_MAIL_DIRECTORY "$dpv"
16628 # Check whether --with-default-inbox-name was given.
16629 if test "${with_default_inbox_name+set}" = set; then :
16630 withval
=$with_default_inbox_name;
16631 if test "x$withval" != "xno" ; then
16638 cat >>confdefs.h
<<_ACEOF
16639 #define INBOX_NAME "$dpv"
16646 # Check whether --with-default-signature-file was given.
16647 if test "${with_default_signature_file+set}" = set; then :
16648 withval
=$with_default_signature_file;
16649 if test "x$withval" != "xno" ; then
16656 cat >>confdefs.h
<<_ACEOF
16657 #define DF_SIGNATURE_FILE "$dpv"
16664 # Check whether --with-default-elm-style-save was given.
16665 if test "${with_default_elm_style_save+set}" = set; then :
16666 withval
=$with_default_elm_style_save;
16667 if test "x$withval" != "xno" ; then
16674 cat >>confdefs.h
<<_ACEOF
16675 #define DF_ELM_STYLE_SAVE "$dpv"
16682 # Check whether --with-default-header-in-reply was given.
16683 if test "${with_default_header_in_reply+set}" = set; then :
16684 withval
=$with_default_header_in_reply;
16685 if test "x$withval" != "xno" ; then
16692 cat >>confdefs.h
<<_ACEOF
16693 #define DF_HEADER_IN_REPLY "$dpv"
16700 # Check whether --with-default-old-style-reply was given.
16701 if test "${with_default_old_style_reply+set}" = set; then :
16702 withval
=$with_default_old_style_reply;
16703 if test "x$withval" != "xno" ; then
16710 cat >>confdefs.h
<<_ACEOF
16711 #define DF_OLD_STYLE_REPLY "$dpv"
16718 # Check whether --with-default-use-only-domain-name was given.
16719 if test "${with_default_use_only_domain_name+set}" = set; then :
16720 withval
=$with_default_use_only_domain_name;
16721 if test "x$withval" != "xno" ; then
16728 cat >>confdefs.h
<<_ACEOF
16729 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
16736 # Check whether --with-default-save-by-sender was given.
16737 if test "${with_default_save_by_sender+set}" = set; then :
16738 withval
=$with_default_save_by_sender;
16739 if test "x$withval" != "xno" ; then
16746 cat >>confdefs.h
<<_ACEOF
16747 #define DF_SAVE_BY_SENDER "$dpv"
16754 # Check whether --with-default-sort-key was given.
16755 if test "${with_default_sort_key+set}" = set; then :
16756 withval
=$with_default_sort_key;
16757 if test "x$withval" != "xno" ; then
16764 cat >>confdefs.h
<<_ACEOF
16765 #define DF_SORT_KEY "$dpv"
16770 dpv
=fullname-with-lists-last
16772 # Check whether --with-default-addressbook-sort-rule was given.
16773 if test "${with_default_addressbook_sort_rule+set}" = set; then :
16774 withval
=$with_default_addressbook_sort_rule;
16775 if test "x$withval" != "xno" ; then
16782 cat >>confdefs.h
<<_ACEOF
16783 #define DF_AB_SORT_RULE "$dpv"
16790 # Check whether --with-default-folder-sort-rule was given.
16791 if test "${with_default_folder_sort_rule+set}" = set; then :
16792 withval
=$with_default_folder_sort_rule;
16793 if test "x$withval" != "xno" ; then
16800 cat >>confdefs.h
<<_ACEOF
16801 #define DF_FLD_SORT_RULE "$dpv"
16808 # Check whether --with-default-saved-message-name-rule was given.
16809 if test "${with_default_saved_message_name_rule+set}" = set; then :
16810 withval
=$with_default_saved_message_name_rule;
16811 if test "x$withval" != "xno" ; then
16818 cat >>confdefs.h
<<_ACEOF
16819 #define DF_SAVED_MSG_NAME_RULE "$dpv"
16826 # Check whether --with-default-fcc-rule was given.
16827 if test "${with_default_fcc_rule+set}" = set; then :
16828 withval
=$with_default_fcc_rule;
16829 if test "x$withval" != "xno" ; then
16836 cat >>confdefs.h
<<_ACEOF
16837 #define DF_FCC_RULE "$dpv"
16844 # Check whether --with-default-standard-printer was given.
16845 if test "${with_default_standard_printer+set}" = set; then :
16846 withval
=$with_default_standard_printer;
16847 if test "x$withval" != "xno" ; then
16854 cat >>confdefs.h
<<_ACEOF
16855 #define DF_STANDARD_PRINTER "$dpv"
16860 dpv
=attached-to-ansi
16862 # Check whether --with-default-ansi-printer was given.
16863 if test "${with_default_ansi_printer+set}" = set; then :
16864 withval
=$with_default_ansi_printer;
16865 if test "x$withval" != "xno" ; then
16872 cat >>confdefs.h
<<_ACEOF
16873 #define ANSI_PRINTER "$dpv"
16880 # Check whether --with-default-addressbook was given.
16881 if test "${with_default_addressbook+set}" = set; then :
16882 withval
=$with_default_addressbook;
16883 if test "x$withval" != "xno" ; then
16890 cat >>confdefs.h
<<_ACEOF
16891 #define DF_ADDRESSBOOK "$dpv"
16896 dpv
="Local Support"
16898 # Check whether --with-default-local-fullname was given.
16899 if test "${with_default_local_fullname+set}" = set; then :
16900 withval
=$with_default_local_fullname;
16901 if test "x$withval" != "xno" ; then
16908 cat >>confdefs.h
<<_ACEOF
16909 #define DF_LOCAL_FULLNAME "$dpv"
16916 # Check whether --with-default-local-address was given.
16917 if test "${with_default_local_address+set}" = set; then :
16918 withval
=$with_default_local_address;
16919 if test "x$withval" != "xno" ; then
16926 cat >>confdefs.h
<<_ACEOF
16927 #define DF_LOCAL_ADDRESS "$dpv"
16934 # Check whether --with-default-keyboard-lock-count was given.
16935 if test "${with_default_keyboard_lock_count+set}" = set; then :
16936 withval
=$with_default_keyboard_lock_count;
16937 if test "x$withval" != "xno" ; then
16944 cat >>confdefs.h
<<_ACEOF
16945 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
16952 # Check whether --with-default-remote-addressbook-history was given.
16953 if test "${with_default_remote_addressbook_history+set}" = set; then :
16954 withval
=$with_default_remote_addressbook_history;
16955 if test "x$withval" != "xno" ; then
16962 cat >>confdefs.h
<<_ACEOF
16963 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
16968 dpv
=.alpine-smime
/public
16970 # Check whether --with-smime-public-cert-directory was given.
16971 if test "${with_smime_public_cert_directory+set}" = set; then :
16972 withval
=$with_smime_public_cert_directory;
16973 if test "x$withval" != "xno" ; then
16980 cat >>confdefs.h
<<_ACEOF
16981 #define DF_PUBLICCERT_DIR "$dpv"
16986 dpv
=.alpine-smime
/private
16988 # Check whether --with-smime-private-key-directory was given.
16989 if test "${with_smime_private_key_directory+set}" = set; then :
16990 withval
=$with_smime_private_key_directory;
16991 if test "x$withval" != "xno" ; then
16998 cat >>confdefs.h
<<_ACEOF
16999 #define DF_PRIVATEKEY_DIR "$dpv"
17004 dpv
=.alpine-smime
/ca
17006 # Check whether --with-smime-cacert-directory was given.
17007 if test "${with_smime_cacert_directory+set}" = set; then :
17008 withval
=$with_smime_cacert_directory;
17009 if test "x$withval" != "xno" ; then
17016 cat >>confdefs.h
<<_ACEOF
17017 #define DF_CACERT_DIR "$dpv"
17024 # Check whether --with-default-printer was given.
17025 if test "${with_default_printer+set}" = set; then :
17026 withval
=$with_default_printer;
17027 if test "x$withval" != "xno" ; then
17034 cat >>confdefs.h
<<_ACEOF
17035 #define DF_DEFAULT_PRINTER $dpv
17041 cat >>confdefs.h
<<_ACEOF
17042 #define DF_PUBLIC_CONTAINER "PublicContainer"
17046 cat >>confdefs.h
<<_ACEOF
17047 #define DF_PRIVATE_CONTAINER "PrivateContainer"
17051 cat >>confdefs.h
<<_ACEOF
17052 #define DF_CA_CONTAINER "CAContainer"
17057 # Check whether --with-passfile was given.
17058 if test "${with_passfile+set}" = set; then :
17059 withval
=$with_passfile;
17066 alpine_PASSFILE
=$withval
17075 # Check whether --with-local-password-cache was given.
17076 if test "${with_local_password_cache+set}" = set; then :
17077 withval
=$with_local_password_cache;
17078 alpine_os_credential_cache
=$withval
17084 # Check whether --with-local-password-cache-method was given.
17085 if test "${with_local_password_cache_method+set}" = set; then :
17086 withval
=$with_local_password_cache_method;
17087 alpine_os_credential_cache_method
=$withval
17092 if test -n "$alpine_PASSFILE" ; then
17093 case $alpine_os_credential_cache in
17097 alpine_os_credential_cache
="no"
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
17099 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
17103 cat >>confdefs.h
<<_ACEOF
17104 #define PASSFILE "$alpine_PASSFILE"
17110 # Check whether --with-default-sshpath was given.
17111 if test "${with_default_sshpath+set}" = set; then :
17112 withval
=$with_default_sshpath;
17120 cat >>confdefs.h
<<_ACEOF
17121 #define DF_SSHPATH "$withval"
17131 # Check whether --with-default-sshcmd was given.
17132 if test "${with_default_sshcmd+set}" = set; then :
17133 withval
=$with_default_sshcmd;
17141 cat >>confdefs.h
<<_ACEOF
17142 #define DF_SSHCMD "$withval"
17152 # Check whether --with-ssl was given.
17153 if test "${with_ssl+set}" = set; then :
17154 withval
=$with_ssl; with_ssl
=$withval
17158 if test "x$with_ssl" = "xno" ; then
17159 alpine_SSLTYPE
="none"
17160 elif test -d /usr
/local
/ssl
; then
17161 alpine_SSLDIR
="/usr/local/ssl"
17162 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17163 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17166 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17167 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17168 alpine_SSLTYPE
="nopwd"
17169 if test -d /etc
/pki
/tls
; then
17170 alpine_SSLDIR
="/etc/pki/tls"
17172 alpine_SSLDIR
="/usr/share/ssl"
17174 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17175 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17176 alpine_SSLINCLUDE
="/usr/include/openssl"
17177 alpine_SSLLIB
="/usr/lib"
17178 elif test -f /etc
/mandrake-release
; then
17179 alpine_SSLDIR
="/usr/lib/ssl"
17180 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17181 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17182 alpine_SSLINCLUDE
="/usr/include/openssl"
17183 alpine_SSLLIB
="/usr/lib"
17184 elif test -f /etc
/SuSE-release
; then
17185 alpine_SSLTYPE
="nopwd"
17186 alpine_SSLDIR
="/etc/ssl"
17187 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17188 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17189 alpine_SSLINCLUDE
="/usr/include/openssl"
17190 alpine_SSLLIB
="/usr/lib"
17191 elif test -d /etc
/osso-af-init
; then
17192 alpine_SSLTYPE
="nopwd"
17193 alpine_SSLDIR
="/usr"
17194 alpine_SSLCERTS
="/usr/share/certs"
17195 alpine_SSLINCLUDE
="/usr/include/openssl"
17196 alpine_SSLLIB
="/usr/lib"
17197 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17198 if test ! -d /etc
/osso-af-init
; then
17199 alpine_SSLDIR
="/etc/ssl"
17200 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17201 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17202 alpine_SSLINCLUDE
="/usr/include/openssl"
17203 alpine_SSLLIB
="/usr/lib"
17206 alpine_SSLTYPE
="nopwd"
17207 alpine_SSLDIR
="/usr"
17208 alpine_SSLCERTS
="/etc/ssl/certs"
17212 alpine_SSLTYPE
="nopwd"
17213 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
17214 if test -d /usr
/local
/opt
/openssl
; then
17215 alpine_SSLDIR
="/usr/local/opt/openssl"
17216 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17217 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17218 alpine_SSLCERTS
="/usr/local/etc/openssl"
17219 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17220 elif test -d /opt
/local
/etc
/openssl
; then
17221 alpine_SSLDIR
="/opt/local"
17222 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17223 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17224 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
17225 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
17226 elif test -d /sw
/etc
/ssl
; then
17227 alpine_SSLDIR
="/sw/etc/ssl"
17228 alpine_SSLINCLUDE
="/sw/include"
17229 alpine_SSLLIB
="/sw/lib"
17230 alpine_SSLCERTS
="/sw/etc/ssl/certs"
17231 alpine_SSLKEYS
="/sw/etc/ssl/private"
17232 elif test -d /usr
/local
/ssl
; then
17233 alpine_SSLDIR
="/usr/local/ssl"
17234 elif test -d /System
/Library
/OpenSSL
; then
17235 alpine_SSLDIR
="/System/Library/OpenSSL"
17236 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17237 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17238 alpine_SSLLIB
="/usr/lib"
17239 alpine_SSLINCLUDE
="/usr/include/openssl"
17243 alpine_SSLDIR
="/etc/openssl"
17244 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17245 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17246 alpine_SSLINCLUDE
="/usr/include/openssl"
17247 alpine_SSLLIB
="/usr/lib"
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_SSLTYPE
="nopwd"
17258 alpine_SSLDIR
="/usr"
17259 alpine_SSLCERTS
="/etc/ssl/certs"
17262 alpine_SSLDIR
="/etc/ssl"
17263 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17264 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17265 if test -d /usr
/local
/include
/openssl
; then
17266 alpine_SSLINCLUDE
="/usr/local/include/openssl"
17267 alpine_SSLLIB
="/usr/local/lib"
17269 alpine_SSLINCLUDE
="/usr/include/openssl"
17270 alpine_SSLLIB
="/usr/lib"
17274 alpine_SSLDIR
="/etc/ssl"
17275 alpine_SSLINCLUDE
="/usr/include/openssl"
17276 alpine_SSLLIB
="/usr/lib"
17277 alpine_SSLCERTS
="/etc/ssl"
17278 alpine_SSLKEYS
="/etc/ssl/private"
17281 alpine_SSLDIR
="/usr/ssl"
17282 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17283 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
17284 alpine_SSLINCLUDE
="/usr/include/openssl"
17285 alpine_SSLLIB
="/usr/lib"
17287 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
17288 alpine_SSLTYPE
="sco.nopwd"
17289 alpine_SSLDIR
="/usr/local/ssl"
17292 if test -d /usr
/include
/openssl
; then
17293 alpine_SSLINCLUDE
="/usr/include/openssl"
17294 elif test -d /usr
/sfw
/include
/openssl
; then
17295 alpine_SSLDIR
="/usr/sfw"
17296 elif test -d /opt
/csw
/include
/openssl
; then
17297 alpine_SSLDIR
="/opt/csw"
17298 if test -d /opt
/csw
/ssl
/certs
; then
17299 alpine_SSLCERTS
="/opt/csw/ssl/certs"
17302 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
17303 alpine_SSLCERTS
="/etc/certs"
17307 alpine_SSLTYPE
="nopwd"
17308 alpine_SSLDIR
="/usr/local/ssl"
17313 if test "x$alpine_SSLTYPE" != "xnone" ; then
17315 # Check whether --with-ssl-dir was given.
17316 if test "${with_ssl_dir+set}" = set; then :
17317 withval
=$with_ssl_dir;
17318 if test "x$withval" != "xno" ; then
17319 alpine_SSLDIR
=$withval
17320 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
17321 alpine_SSLLIB
=$alpine_SSLDIR/lib
17328 # Check whether --with-ssl-certs-dir was given.
17329 if test "${with_ssl_certs_dir+set}" = set; then :
17330 withval
=$with_ssl_certs_dir;
17331 if test "x$withval" != "xno" ; then
17332 alpine_SSLCERTS
=$withval
17339 # Check whether --with-ssl-include-dir was given.
17340 if test "${with_ssl_include_dir+set}" = set; then :
17341 withval
=$with_ssl_include_dir;
17342 if test "x$withval" != "xno" ; then
17343 alpine_SSLINCLUDE
=$withval
17350 # Check whether --with-ssl-lib-dir was given.
17351 if test "${with_ssl_lib_dir+set}" = set; then :
17352 withval
=$with_ssl_lib_dir;
17353 if test "x$withval" != "xno" ; then
17354 alpine_SSLLIB
=$withval
17360 if test -n "$alpine_SSLINCLUDE" ; then
17361 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
17362 elif test -n "$alpine_SSLDIR" ; then
17363 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
17365 if test -n "$alpine_SSLLIB" ; then
17366 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
17367 elif test -n "$alpine_SSLDIR" ; then
17368 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
17374 # Check whether --with-krb5 was given.
17375 if test "${with_krb5+set}" = set; then :
17376 withval
=$with_krb5; with_krb5
=$withval
17380 if test "x$with_krb5" = "xno" ; then
17381 alpine_GSSTYPE
="none"
17386 # Check whether --with-krb5-dir was given.
17387 if test "${with_krb5_dir+set}" = set; then :
17388 withval
=$with_krb5_dir;
17389 if test "x$withval" != "xno" ; then
17390 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17391 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17398 # Check whether --with-krb5-include-dir was given.
17399 if test "${with_krb5_include_dir+set}" = set; then :
17400 withval
=$with_krb5_include_dir;
17401 if test "x$withval" != "xno" ; then
17402 CPPFLAGS
="$CPPFLAGS -I$withval"
17409 # Check whether --with-krb5-lib-dir was given.
17410 if test "${with_krb5_lib_dir+set}" = set; then :
17411 withval
=$with_krb5_lib_dir;
17412 if test "x$withval" != "xno" ; then
17413 LDFLAGS
="$LDFLAGS -L$withval"
17421 # Check whether --with-ldap was given.
17422 if test "${with_ldap+set}" = set; then :
17423 withval
=$with_ldap; with_ldap
=$withval
17427 if test "x$with_ldap" = "xno" ; then
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
17430 $as_echo "$as_me: Excluding LDAP Support" >&6;}
17433 alpine_with_ldap
=yes
17435 # Check whether --with-ldap-dir was given.
17436 if test "${with_ldap_dir+set}" = set; then :
17437 withval
=$with_ldap_dir;
17438 if test "x$withval" != "xno" ; then
17439 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17440 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17447 # Check whether --with-ldap-include-dir was given.
17448 if test "${with_ldap_include_dir+set}" = set; then :
17449 withval
=$with_ldap_include_dir;
17450 if test "x$withval" != "xno" ; then
17451 CPPFLAGS
="$CPPFLAGS -I$withval"
17458 # Check whether --with-ldap-lib-dir was given.
17459 if test "${with_ldap_lib_dir+set}" = set; then :
17460 withval
=$with_ldap_lib_dir;
17461 if test "x$withval" != "xno" ; then
17462 LDFLAGS
="$LDFLAGS -L$withval"
17470 # Check whether --with-smime was given.
17471 if test "${with_smime+set}" = set; then :
17472 withval
=$with_smime; with_smime
=$withval
17477 # Check whether --with-tcl was given.
17478 if test "${with_tcl+set}" = set; then :
17479 withval
=$with_tcl; with_tcl
=$withval
17483 if test "x$with_tcl" = "xno" ; then
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
17486 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
17489 # Check whether --with-tcl-lib was given.
17490 if test "${with_tcl_lib+set}" = set; then :
17491 withval
=$with_tcl_lib;
17492 if test "x$withval" != "xno" ; then
17493 alpine_TCLLIB
=$withval
17499 # Check whether --with-tcl-include was given.
17500 if test "${with_tcl_include+set}" = set; then :
17501 withval
=$with_tcl_include;
17502 if test "x$withval" != "xno" ; then
17503 CPPFLAGS
="$CPPFLAGS -I$withval"
17504 alpine_TCLINC
=$withval
17512 # Check whether --with-supplied-regex was given.
17513 if test "${with_supplied_regex+set}" = set; then :
17514 withval
=$with_supplied_regex; alpine_REGEX
=$withval
17519 # Check whether --with-pthread was given.
17520 if test "${with_pthread+set}" = set; then :
17521 withval
=$with_pthread; with_pthread
=$withval
17526 # Check whether --with-system-mail-directory was given.
17527 if test "${with_system_mail_directory+set}" = set; then :
17528 withval
=$with_system_mail_directory;
17529 if test "x$withval" != "xno" ; then
17530 alpine_with_local_maildir
="$withval"
17537 # Check whether --with-c-client-target was given.
17538 if test "${with_c_client_target+set}" = set; then :
17539 withval
=$with_c_client_target;
17540 if test "x$withval" != "xno" ;then
17541 alpine_with_c_client_target
="$withval"
17551 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17552 alpine_path_delim
="/"
17553 alpine_mode_readonly
="(0600)"
17554 if test -f /etc
/fedora-release
; then
17557 if test -d /etc
/pki
/tls
; then
17558 alpine_c_client_target
="lfd"
17560 alpine_c_client_target
="lrh"
17562 elif test -f /etc
/mandrake-release
; then
17564 alpine_c_client_target
="lmd"
17566 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17569 if test -d /etc
/pki
/tls
; then
17570 alpine_c_client_target
="lr5"
17572 alpine_c_client_target
="lrh"
17574 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17575 if test -d /etc
/osso-af-init
; then
17577 alpine_c_client_target
="ln8"
17580 alpine_c_client_target
="ldb"
17583 elif test -f /etc
/SuSE-release
; then
17585 alpine_c_client_target
="lsu"
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17590 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17591 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17592 $as_echo_n "(cached) " >&6
17594 ac_check_lib_save_LIBS
=$LIBS
17596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17599 /* Override any GCC internal prototype to avoid an error.
17600 Use char because int might match the return type of a GCC
17601 builtin and then its argument prototype would still apply. */
17609 return pam_start ();
17614 if ac_fn_c_try_link
"$LINENO"; then :
17615 ac_cv_lib_pam_pam_start
=yes
17617 ac_cv_lib_pam_pam_start
=no
17619 rm -f core conftest.err conftest.
$ac_objext \
17620 conftest
$ac_exeext conftest.
$ac_ext
17621 LIBS
=$ac_check_lib_save_LIBS
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17624 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17625 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17627 alpine_c_client_target
="lnp"
17632 if test -f /etc
/shadow
; then
17633 alpine_c_client_target
="slx"
17635 alpine_c_client_target
="lnx"
17644 alpine_path_delim
="/"
17645 alpine_mode_readonly
="(0600)"
17646 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
17647 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
17649 $as_echo "#define OSX_TARGET 1" >>confdefs.h
17651 case "$alpine_os_credential_cache" in
17656 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17661 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17662 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17663 $as_echo_n "(cached) " >&6
17665 ac_check_lib_save_LIBS
=$LIBS
17667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17670 /* Override any GCC internal prototype to avoid an error.
17671 Use char because int might match the return type of a GCC
17672 builtin and then its argument prototype would still apply. */
17680 return pam_start ();
17685 if ac_fn_c_try_link
"$LINENO"; then :
17686 ac_cv_lib_pam_pam_start
=yes
17688 ac_cv_lib_pam_pam_start
=no
17690 rm -f core conftest.err conftest.
$ac_objext \
17691 conftest
$ac_exeext conftest.
$ac_ext
17692 LIBS
=$ac_check_lib_save_LIBS
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17695 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17696 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17698 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17699 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
17702 alpine_c_client_target
="oxs"
17705 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17706 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
17709 alpine_c_client_target
="oxp"
17714 alpine_pam_none_reason
="header files not found"
17726 alpine_c_client_target
="osx"
17732 if test x
$GCC = "xyes" ; then
17734 alpine_c_client_target
="gso"
17735 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
17738 alpine_c_client_target
="soc"
17740 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
17743 alpine_path_delim
="/"
17744 alpine_mode_readonly
="(0600)"
17748 alpine_path_delim
="/"
17749 alpine_mode_readonly
="(0600)"
17750 alpine_c_client_target
="s40"
17753 if test x
$GCC = "xyes" ; then
17755 alpine_c_client_target
="go5"
17758 alpine_c_client_target
="sc5"
17760 alpine_path_delim
="/"
17761 alpine_mode_readonly
="(0600)"
17765 alpine_path_delim
="/"
17766 alpine_mode_readonly
="(0600)"
17767 alpine_c_client_target
="nx3"
17771 alpine_path_delim
="/"
17772 alpine_mode_readonly
="(0600)"
17773 alpine_c_client_target
="neb"
17777 alpine_path_delim
="/"
17778 alpine_mode_readonly
="(0600)"
17779 alpine_c_client_target
="neb"
17783 alpine_path_delim
="/"
17784 alpine_mode_readonly
="(0600)"
17785 alpine_c_client_target
="bsi"
17789 alpine_path_delim
="/"
17790 alpine_mode_readonly
="(0600)"
17791 alpine_c_client_target
="bsf"
17792 LIBS
="$LIBS $LIBINTL"
17796 alpine_path_delim
="/"
17797 alpine_mode_readonly
="(0600)"
17798 alpine_c_client_target
="bso"
17799 LIBS
="$LIBS $LIBINTL"
17803 alpine_path_delim
="/"
17804 alpine_mode_readonly
="(0600)"
17805 alpine_c_client_target
="a52"
17809 alpine_path_delim
="/"
17810 alpine_mode_readonly
="(0600)"
17811 alpine_c_client_target
="a41"
17815 alpine_path_delim
="/"
17816 alpine_mode_readonly
="(0600)"
17817 alpine_c_client_target
="a32"
17819 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
17821 alpine_path_delim
="/"
17822 alpine_mode_readonly
="(0600)"
17823 alpine_c_client_target
="uw2"
17827 alpine_path_delim
="/"
17828 alpine_mode_readonly
="(0600)"
17829 alpine_c_client_target
="osf"
17833 alpine_path_delim
="/"
17834 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17835 alpine_c_client_target
="cyg"
17836 LIBS
="$LIBS $LIBINTL"
17838 windows
* |
*-*-pw32*)
17840 alpine_path_delim
="\\"
17841 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17842 alpine_c_client_target
="wnt"
17844 $as_echo "#define _WINDOWS 1" >>confdefs.h
17848 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
17853 # Check whether --with-ipv6 was given.
17854 if test "${with_ipv6+set}" = set; then :
17855 withval
=$with_ipv6; with_ipv6
=$withval
17859 if test "x$with_ipv6" = "xno" ; then
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
17861 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
17862 c_client_specials
="${c_client_specials}IP6=4 "
17863 c_client_ip6
="true"
17865 c_client_ip6
="touch imap/ip6"
17870 if test x
$enable_dmalloc = "xyes" ; then
17871 if test "x$with_pthread" = "xyes" ; then
17872 dmalloc_lib
=dmallocth
17874 dmalloc_lib
=dmalloc
17877 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
17879 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
17880 if eval \
${$as_ac_Lib+:} false
; then :
17881 $as_echo_n "(cached) " >&6
17883 ac_check_lib_save_LIBS
=$LIBS
17884 LIBS
="-l$dmalloc_lib $LIBS"
17885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17888 /* Override any GCC internal prototype to avoid an error.
17889 Use char because int might match the return type of a GCC
17890 builtin and then its argument prototype would still apply. */
17894 char dmalloc_shutdown ();
17898 return dmalloc_shutdown ();
17903 if ac_fn_c_try_link
"$LINENO"; then :
17904 eval "$as_ac_Lib=yes"
17906 eval "$as_ac_Lib=no"
17908 rm -f core conftest.err conftest.
$ac_objext \
17909 conftest
$ac_exeext conftest.
$ac_ext
17910 LIBS
=$ac_check_lib_save_LIBS
17912 eval ac_res
=\$
$as_ac_Lib
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17914 $as_echo "$ac_res" >&6; }
17915 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
17916 cat >>confdefs.h
<<_ACEOF
17917 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
17920 LIBS
="-l$dmalloc_lib $LIBS"
17924 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
17931 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
17932 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
17933 $as_echo_n "(cached) " >&6
17935 ac_check_lib_save_LIBS
=$LIBS
17936 LIBS
="-ltinfo $LIBS"
17937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17940 /* Override any GCC internal prototype to avoid an error.
17941 Use char because int might match the return type of a GCC
17942 builtin and then its argument prototype would still apply. */
17950 return setupterm ();
17955 if ac_fn_c_try_link
"$LINENO"; then :
17956 ac_cv_lib_tinfo_setupterm
=yes
17958 ac_cv_lib_tinfo_setupterm
=no
17960 rm -f core conftest.err conftest.
$ac_objext \
17961 conftest
$ac_exeext conftest.
$ac_ext
17962 LIBS
=$ac_check_lib_save_LIBS
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
17965 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
17966 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
17968 alpine_termdata
=info
17969 LIBS
="$LIBS -ltinfo"
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
17974 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
17975 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
17976 $as_echo_n "(cached) " >&6
17978 ac_check_lib_save_LIBS
=$LIBS
17979 LIBS
="-lncurses $LIBS"
17980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17983 /* Override any GCC internal prototype to avoid an error.
17984 Use char because int might match the return type of a GCC
17985 builtin and then its argument prototype would still apply. */
17993 return setupterm ();
17998 if ac_fn_c_try_link
"$LINENO"; then :
17999 ac_cv_lib_ncurses_setupterm
=yes
18001 ac_cv_lib_ncurses_setupterm
=no
18003 rm -f core conftest.err conftest.
$ac_objext \
18004 conftest
$ac_exeext conftest.
$ac_ext
18005 LIBS
=$ac_check_lib_save_LIBS
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
18008 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
18009 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
18011 alpine_termdata
=info
18012 LIBS
="$LIBS -lncurses"
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
18017 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
18018 if ${ac_cv_lib_curses_setupterm+:} false
; then :
18019 $as_echo_n "(cached) " >&6
18021 ac_check_lib_save_LIBS
=$LIBS
18022 LIBS
="-lcurses $LIBS"
18023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18026 /* Override any GCC internal prototype to avoid an error.
18027 Use char because int might match the return type of a GCC
18028 builtin and then its argument prototype would still apply. */
18036 return setupterm ();
18041 if ac_fn_c_try_link
"$LINENO"; then :
18042 ac_cv_lib_curses_setupterm
=yes
18044 ac_cv_lib_curses_setupterm
=no
18046 rm -f core conftest.err conftest.
$ac_objext \
18047 conftest
$ac_exeext conftest.
$ac_ext
18048 LIBS
=$ac_check_lib_save_LIBS
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
18051 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
18052 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
18054 alpine_termdata
=info
18055 LIBS
="$LIBS -lcurses"
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
18060 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
18061 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
18062 $as_echo_n "(cached) " >&6
18064 ac_check_lib_save_LIBS
=$LIBS
18065 LIBS
="-ltermlib $LIBS"
18066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18069 /* Override any GCC internal prototype to avoid an error.
18070 Use char because int might match the return type of a GCC
18071 builtin and then its argument prototype would still apply. */
18084 if ac_fn_c_try_link
"$LINENO"; then :
18085 ac_cv_lib_termlib_tgetent
=yes
18087 ac_cv_lib_termlib_tgetent
=no
18089 rm -f core conftest.err conftest.
$ac_objext \
18090 conftest
$ac_exeext conftest.
$ac_ext
18091 LIBS
=$ac_check_lib_save_LIBS
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
18094 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
18095 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
18097 alpine_termdata
=cap
18098 LIBS
="$LIBS -ltermlib"
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
18103 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
18104 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
18105 $as_echo_n "(cached) " >&6
18107 ac_check_lib_save_LIBS
=$LIBS
18108 LIBS
="-ltermcap $LIBS"
18109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18112 /* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18127 if ac_fn_c_try_link
"$LINENO"; then :
18128 ac_cv_lib_termcap_tgetent
=yes
18130 ac_cv_lib_termcap_tgetent
=no
18132 rm -f core conftest.err conftest.
$ac_objext \
18133 conftest
$ac_exeext conftest.
$ac_ext
18134 LIBS
=$ac_check_lib_save_LIBS
18136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
18137 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
18138 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
18140 alpine_termdata
=cap
18141 LIBS
="$LIBS -ltermcap"
18145 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
18161 case $alpine_termdata in
18164 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
18169 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18175 $as_echo_n "checking for library containing dlopen... " >&6; }
18176 if ${ac_cv_search_dlopen+:} false
; then :
18177 $as_echo_n "(cached) " >&6
18179 ac_func_search_save_LIBS
=$LIBS
18180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18181 /* end confdefs.h. */
18183 /* Override any GCC internal prototype to avoid an error.
18184 Use char because int might match the return type of a GCC
18185 builtin and then its argument prototype would still apply. */
18198 for ac_lib
in '' dl dld
; do
18199 if test -z "$ac_lib"; then
18200 ac_res
="none required"
18203 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18205 if ac_fn_c_try_link
"$LINENO"; then :
18206 ac_cv_search_dlopen
=$ac_res
18208 rm -f core conftest.err conftest.
$ac_objext \
18210 if ${ac_cv_search_dlopen+:} false
; then :
18214 if ${ac_cv_search_dlopen+:} false
; then :
18217 ac_cv_search_dlopen
=no
18219 rm conftest.
$ac_ext
18220 LIBS
=$ac_func_search_save_LIBS
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18223 $as_echo "$ac_cv_search_dlopen" >&6; }
18224 ac_res
=$ac_cv_search_dlopen
18225 if test "$ac_res" != no
; then :
18226 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18232 if test "x$alpine_DL" = "xnone" ; then
18233 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
18237 if test "x$alpine_SSLTYPE" != "xnone" ; then
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
18239 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
18240 if test "$cross_compiling" = yes; then :
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18242 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18248 #include <stdlib.h>
18250 #include <stdint.h>
18251 #endif /* HAVE_STDINT_H */
18252 #include <openssl/ssl.h>
18255 if (LIBRESSL_VERSION_NUMBER >= 0x20000000L)
18262 if ac_fn_c_try_run
"$LINENO"; then :
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18264 $as_echo "yes" >&6; }
18265 alpine_SSLPROVIDER
="libressl"
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18269 $as_echo "no" >&6; }
18272 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18273 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18278 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
18280 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
18281 if test "$cross_compiling" = yes; then :
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18283 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18289 #include <stdlib.h>
18291 #include <stdint.h>
18292 #endif /* HAVE_STDINT_H */
18293 #include <openssl/ssl.h>
18296 if (OPENSSL_VERSION_NUMBER >= 0x1000003fL)
18303 if ac_fn_c_try_run
"$LINENO"; then :
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18305 $as_echo "yes" >&6; }
18306 alpine_SSLPROVIDER
="openssl"
18309 alpine_SSLTYPE
="none"
18311 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18312 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18316 if test "x$alpine_SSLTYPE" = "xnone" ; then
18317 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
18322 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
18324 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
18325 if test "$cross_compiling" = yes; then :
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
18327 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
18329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18333 #include <stdlib.h>
18335 #include <stdint.h>
18336 #endif /* HAVE_STDINT_H */
18337 #include <openssl/ssl.h>
18340 if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
18347 if ac_fn_c_try_run
"$LINENO"; then :
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18349 $as_echo "yes" >&6; }
18350 alpine_SSLVERSION
="new"
18351 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18355 $as_echo "no" >&6; }
18356 alpine_SSLVERSION
="old"
18358 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18359 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18364 if test "x$alpine_SSLTYPE" != "xnone" ; then
18365 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
18367 $as_echo_n "checking for library containing SSLeay... " >&6; }
18368 if ${ac_cv_search_SSLeay+:} false
; then :
18369 $as_echo_n "(cached) " >&6
18371 ac_func_search_save_LIBS
=$LIBS
18372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18373 /* end confdefs.h. */
18375 /* Override any GCC internal prototype to avoid an error.
18376 Use char because int might match the return type of a GCC
18377 builtin and then its argument prototype would still apply. */
18390 for ac_lib
in '' crypto
; do
18391 if test -z "$ac_lib"; then
18392 ac_res
="none required"
18395 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18397 if ac_fn_c_try_link
"$LINENO"; then :
18398 ac_cv_search_SSLeay
=$ac_res
18400 rm -f core conftest.err conftest.
$ac_objext \
18402 if ${ac_cv_search_SSLeay+:} false
; then :
18406 if ${ac_cv_search_SSLeay+:} false
; then :
18409 ac_cv_search_SSLeay
=no
18411 rm conftest.
$ac_ext
18412 LIBS
=$ac_func_search_save_LIBS
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
18415 $as_echo "$ac_cv_search_SSLeay" >&6; }
18416 ac_res
=$ac_cv_search_SSLeay
18417 if test "$ac_res" != no
; then :
18418 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18421 alpine_CRYPTO
="none"
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
18426 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
18427 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18428 $as_echo_n "(cached) " >&6
18430 ac_func_search_save_LIBS
=$LIBS
18431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18434 /* Override any GCC internal prototype to avoid an error.
18435 Use char because int might match the return type of a GCC
18436 builtin and then its argument prototype would still apply. */
18440 char OpenSSL_version_num ();
18444 return OpenSSL_version_num ();
18449 for ac_lib
in '' crypto
; do
18450 if test -z "$ac_lib"; then
18451 ac_res
="none required"
18454 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18456 if ac_fn_c_try_link
"$LINENO"; then :
18457 ac_cv_search_OpenSSL_version_num
=$ac_res
18459 rm -f core conftest.err conftest.
$ac_objext \
18461 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18465 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18468 ac_cv_search_OpenSSL_version_num
=no
18470 rm conftest.
$ac_ext
18471 LIBS
=$ac_func_search_save_LIBS
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
18474 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
18475 ac_res
=$ac_cv_search_OpenSSL_version_num
18476 if test "$ac_res" != no
; then :
18477 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18480 alpine_CRYPTO
="none"
18484 if test "x$alpine_CRYPTO" = "xnone" ; then
18485 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
18490 if test "x$alpine_SSLTYPE" != "xnone" ; then
18491 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
18493 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
18494 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18495 $as_echo_n "(cached) " >&6
18497 ac_func_search_save_LIBS
=$LIBS
18498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18501 /* Override any GCC internal prototype to avoid an error.
18502 Use char because int might match the return type of a GCC
18503 builtin and then its argument prototype would still apply. */
18507 char TLSv1_2_client_method ();
18511 return TLSv1_2_client_method ();
18516 for ac_lib
in '' ssl
; do
18517 if test -z "$ac_lib"; then
18518 ac_res
="none required"
18521 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18523 if ac_fn_c_try_link
"$LINENO"; then :
18524 ac_cv_search_TLSv1_2_client_method
=$ac_res
18526 rm -f core conftest.err conftest.
$ac_objext \
18528 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18532 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
18535 ac_cv_search_TLSv1_2_client_method
=no
18537 rm conftest.
$ac_ext
18538 LIBS
=$ac_func_search_save_LIBS
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
18541 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
18542 ac_res
=$ac_cv_search_TLSv1_2_client_method
18543 if test "$ac_res" != no
; then :
18544 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18545 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
18547 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLS_client_method" >&5
18554 $as_echo_n "checking for library containing TLS_client_method... " >&6; }
18555 if ${ac_cv_search_TLS_client_method+:} false
; then :
18556 $as_echo_n "(cached) " >&6
18558 ac_func_search_save_LIBS
=$LIBS
18559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18562 /* Override any GCC internal prototype to avoid an error.
18563 Use char because int might match the return type of a GCC
18564 builtin and then its argument prototype would still apply. */
18568 char TLS_client_method ();
18572 return TLS_client_method ();
18577 for ac_lib
in '' ssl
; do
18578 if test -z "$ac_lib"; then
18579 ac_res
="none required"
18582 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18584 if ac_fn_c_try_link
"$LINENO"; then :
18585 ac_cv_search_TLS_client_method
=$ac_res
18587 rm -f core conftest.err conftest.
$ac_objext \
18589 if ${ac_cv_search_TLS_client_method+:} false
; then :
18593 if ${ac_cv_search_TLS_client_method+:} false
; then :
18596 ac_cv_search_TLS_client_method
=no
18598 rm conftest.
$ac_ext
18599 LIBS
=$ac_func_search_save_LIBS
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLS_client_method" >&5
18602 $as_echo "$ac_cv_search_TLS_client_method" >&6; }
18603 ac_res
=$ac_cv_search_TLS_client_method
18604 if test "$ac_res" != no
; then :
18605 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18608 alpine_SSLTYPE
="none"
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DTLS_client_method" >&5
18612 $as_echo_n "checking for library containing DTLS_client_method... " >&6; }
18613 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18614 $as_echo_n "(cached) " >&6
18616 ac_func_search_save_LIBS
=$LIBS
18617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18620 /* Override any GCC internal prototype to avoid an error.
18621 Use char because int might match the return type of a GCC
18622 builtin and then its argument prototype would still apply. */
18626 char DTLS_client_method ();
18630 return DTLS_client_method ();
18635 for ac_lib
in '' ssl
; do
18636 if test -z "$ac_lib"; then
18637 ac_res
="none required"
18640 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18642 if ac_fn_c_try_link
"$LINENO"; then :
18643 ac_cv_search_DTLS_client_method
=$ac_res
18645 rm -f core conftest.err conftest.
$ac_objext \
18647 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18651 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18654 ac_cv_search_DTLS_client_method
=no
18656 rm conftest.
$ac_ext
18657 LIBS
=$ac_func_search_save_LIBS
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DTLS_client_method" >&5
18660 $as_echo "$ac_cv_search_DTLS_client_method" >&6; }
18661 ac_res
=$ac_cv_search_DTLS_client_method
18662 if test "$ac_res" != no
; then :
18663 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18666 alpine_SSLTYPE
="none"
18669 if test "x$alpine_SSLTYPE" != "xnone" ; then
18671 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18677 if test "x$alpine_SSLTYPE" != "xnone" ; then
18678 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
18680 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
18681 if ${ac_cv_search_SSL_library_init+:} false
; then :
18682 $as_echo_n "(cached) " >&6
18684 ac_func_search_save_LIBS
=$LIBS
18685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18686 /* end confdefs.h. */
18688 /* Override any GCC internal prototype to avoid an error.
18689 Use char because int might match the return type of a GCC
18690 builtin and then its argument prototype would still apply. */
18694 char SSL_library_init ();
18698 return SSL_library_init ();
18703 for ac_lib
in '' ssl
; do
18704 if test -z "$ac_lib"; then
18705 ac_res
="none required"
18708 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18710 if ac_fn_c_try_link
"$LINENO"; then :
18711 ac_cv_search_SSL_library_init
=$ac_res
18713 rm -f core conftest.err conftest.
$ac_objext \
18715 if ${ac_cv_search_SSL_library_init+:} false
; then :
18719 if ${ac_cv_search_SSL_library_init+:} false
; then :
18722 ac_cv_search_SSL_library_init
=no
18724 rm conftest.
$ac_ext
18725 LIBS
=$ac_func_search_save_LIBS
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
18728 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
18729 ac_res
=$ac_cv_search_SSL_library_init
18730 if test "$ac_res" != no
; then :
18731 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18734 alpine_SSLTYPE
="none"
18737 if test "x$alpine_SSLTYPE" = "xnone" ; then
18738 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
18743 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
18744 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18745 $as_echo_n "(cached) " >&6
18747 ac_func_search_save_LIBS
=$LIBS
18748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18751 /* Override any GCC internal prototype to avoid an error.
18752 Use char because int might match the return type of a GCC
18753 builtin and then its argument prototype would still apply. */
18757 char OPENSSL_init_ssl ();
18761 return OPENSSL_init_ssl ();
18766 for ac_lib
in '' ssl
; do
18767 if test -z "$ac_lib"; then
18768 ac_res
="none required"
18771 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18773 if ac_fn_c_try_link
"$LINENO"; then :
18774 ac_cv_search_OPENSSL_init_ssl
=$ac_res
18776 rm -f core conftest.err conftest.
$ac_objext \
18778 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18782 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18785 ac_cv_search_OPENSSL_init_ssl
=no
18787 rm conftest.
$ac_ext
18788 LIBS
=$ac_func_search_save_LIBS
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
18791 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
18792 ac_res
=$ac_cv_search_OPENSSL_init_ssl
18793 if test "$ac_res" != no
; then :
18794 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18797 alpine_SSLTYPE
="none"
18800 if test "x$alpine_SSLTYPE" = "xnone" ; then
18801 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
18807 if test "$alpine_with_ldap" = "yes" ; then
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
18810 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
18811 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
18812 $as_echo_n "(cached) " >&6
18814 ac_check_lib_save_LIBS
=$LIBS
18815 LIBS
="-llber $LIBS"
18816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18819 /* Override any GCC internal prototype to avoid an error.
18820 Use char because int might match the return type of a GCC
18821 builtin and then its argument prototype would still apply. */
18829 return ber_alloc ();
18834 if ac_fn_c_try_link
"$LINENO"; then :
18835 ac_cv_lib_lber_ber_alloc
=yes
18837 ac_cv_lib_lber_ber_alloc
=no
18839 rm -f core conftest.err conftest.
$ac_objext \
18840 conftest
$ac_exeext conftest.
$ac_ext
18841 LIBS
=$ac_check_lib_save_LIBS
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
18844 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
18845 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
18847 LIBS
="$LIBS -llber"
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
18852 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
18853 if ${ac_cv_search_ldap_initialize+:} false
; then :
18854 $as_echo_n "(cached) " >&6
18856 ac_func_search_save_LIBS
=$LIBS
18857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18860 /* Override any GCC internal prototype to avoid an error.
18861 Use char because int might match the return type of a GCC
18862 builtin and then its argument prototype would still apply. */
18866 char ldap_initialize ();
18870 return ldap_initialize ();
18875 for ac_lib
in '' ldap
; do
18876 if test -z "$ac_lib"; then
18877 ac_res
="none required"
18880 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18882 if ac_fn_c_try_link
"$LINENO"; then :
18883 ac_cv_search_ldap_initialize
=$ac_res
18885 rm -f core conftest.err conftest.
$ac_objext \
18887 if ${ac_cv_search_ldap_initialize+:} false
; then :
18891 if ${ac_cv_search_ldap_initialize+:} false
; then :
18894 ac_cv_search_ldap_initialize
=no
18896 rm conftest.
$ac_ext
18897 LIBS
=$ac_func_search_save_LIBS
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
18900 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
18901 ac_res
=$ac_cv_search_ldap_initialize
18902 if test "$ac_res" != no
; then :
18903 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18905 alpine_has_ldap
=yes
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
18910 $as_echo_n "checking for library containing ldap_open... " >&6; }
18911 if ${ac_cv_search_ldap_open+:} false
; then :
18912 $as_echo_n "(cached) " >&6
18914 ac_func_search_save_LIBS
=$LIBS
18915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18918 /* Override any GCC internal prototype to avoid an error.
18919 Use char because int might match the return type of a GCC
18920 builtin and then its argument prototype would still apply. */
18928 return ldap_open ();
18933 for ac_lib
in '' ldap
; do
18934 if test -z "$ac_lib"; then
18935 ac_res
="none required"
18938 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18940 if ac_fn_c_try_link
"$LINENO"; then :
18941 ac_cv_search_ldap_open
=$ac_res
18943 rm -f core conftest.err conftest.
$ac_objext \
18945 if ${ac_cv_search_ldap_open+:} false
; then :
18949 if ${ac_cv_search_ldap_open+:} false
; then :
18952 ac_cv_search_ldap_open
=no
18954 rm conftest.
$ac_ext
18955 LIBS
=$ac_func_search_save_LIBS
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
18958 $as_echo "$ac_cv_search_ldap_open" >&6; }
18959 ac_res
=$ac_cv_search_ldap_open
18960 if test "$ac_res" != no
; then :
18961 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18963 alpine_has_ldap
=yes
18971 if test "$alpine_has_ldap" = "yes" ; then
18972 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
18973 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
18975 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
18980 if test "x$alpine_PAM" != "xnone" ; then
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
18982 $as_echo_n "checking for library containing pam_start... " >&6; }
18983 if ${ac_cv_search_pam_start+:} false
; then :
18984 $as_echo_n "(cached) " >&6
18986 ac_func_search_save_LIBS
=$LIBS
18987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18990 /* Override any GCC internal prototype to avoid an error.
18991 Use char because int might match the return type of a GCC
18992 builtin and then its argument prototype would still apply. */
19000 return pam_start ();
19005 for ac_lib
in '' pam
; do
19006 if test -z "$ac_lib"; then
19007 ac_res
="none required"
19010 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19012 if ac_fn_c_try_link
"$LINENO"; then :
19013 ac_cv_search_pam_start
=$ac_res
19015 rm -f core conftest.err conftest.
$ac_objext \
19017 if ${ac_cv_search_pam_start+:} false
; then :
19021 if ${ac_cv_search_pam_start+:} false
; then :
19024 ac_cv_search_pam_start
=no
19026 rm conftest.
$ac_ext
19027 LIBS
=$ac_func_search_save_LIBS
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
19030 $as_echo "$ac_cv_search_pam_start" >&6; }
19031 ac_res
=$ac_cv_search_pam_start
19032 if test "$ac_res" != no
; then :
19033 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19036 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
19037 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
19042 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
19043 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
19046 if test "x$alpine_c_client_target" != "xoxp" ; then
19048 alpine_pam_none_reason
="header files not in security/ directory"
19054 alpine_pam_none_reason
="header files not found"
19067 alpine_pam_none_reason
="library files not found"
19071 if test -n "$alpine_pam_none_reason" ; then
19072 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
19077 if test "x$alpine_GSSTYPE" != "xnone" ; then
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
19079 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
19080 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19081 $as_echo_n "(cached) " >&6
19083 ac_func_search_save_LIBS
=$LIBS
19084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h. */
19087 /* Override any GCC internal prototype to avoid an error.
19088 Use char because int might match the return type of a GCC
19089 builtin and then its argument prototype would still apply. */
19093 char gss_init_sec_context ();
19097 return gss_init_sec_context ();
19102 for ac_lib
in '' gss gssapi gssapi_krb5
; do
19103 if test -z "$ac_lib"; then
19104 ac_res
="none required"
19107 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19109 if ac_fn_c_try_link
"$LINENO"; then :
19110 ac_cv_search_gss_init_sec_context
=$ac_res
19112 rm -f core conftest.err conftest.
$ac_objext \
19114 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19118 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19121 ac_cv_search_gss_init_sec_context
=no
19123 rm conftest.
$ac_ext
19124 LIBS
=$ac_func_search_save_LIBS
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
19127 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
19128 ac_res
=$ac_cv_search_gss_init_sec_context
19129 if test "$ac_res" != no
; then :
19130 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19132 LIBS
="$LIBS -lkrb5"
19133 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
19134 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
19138 if test ! -d /usr
/kerberos
/include
; then
19139 alpine_GSSTYPE
="none"
19140 alpine_gss_none_reason
="header files not found"
19149 alpine_GSSTYPE
="none"
19150 alpine_gss_none_reason
="libraries not found"
19154 if test -n "$alpine_gss_none_reason" ; then
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
19156 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
19160 if test -n "$WEB_BUILD" ; then
19161 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
19162 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
19163 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
19165 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
19166 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19167 $as_echo_n "(cached) " >&6
19169 ac_func_search_save_LIBS
=$LIBS
19170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19171 /* end confdefs.h. */
19173 /* Override any GCC internal prototype to avoid an error.
19174 Use char because int might match the return type of a GCC
19175 builtin and then its argument prototype would still apply. */
19183 return Tcl_Eval ();
19188 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
19189 if test -z "$ac_lib"; then
19190 ac_res
="none required"
19193 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19195 if ac_fn_c_try_link
"$LINENO"; then :
19196 ac_cv_search_Tcl_Eval
=$ac_res
19198 rm -f core conftest.err conftest.
$ac_objext \
19200 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19204 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19207 ac_cv_search_Tcl_Eval
=no
19209 rm conftest.
$ac_ext
19210 LIBS
=$ac_func_search_save_LIBS
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
19213 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
19214 ac_res
=$ac_cv_search_Tcl_Eval
19215 if test "$ac_res" != no
; then :
19216 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19225 if test -n "$alpine_TCLINC" ; then
19226 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
19227 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
19228 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19237 if test -z "$WEB_BUILD" ; then
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
19239 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
19242 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
19243 if test "x$ac_cv_header_tcl_h" = xyes
; then :
19247 for base
in /usr
/usr
/local ; do
19248 for dir
in ${TCL_VERSIONS} ; do
19249 as_ac_File
=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
19250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
19251 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
19252 if eval \
${$as_ac_File+:} false
; then :
19253 $as_echo_n "(cached) " >&6
19255 test "$cross_compiling" = yes &&
19256 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
19257 if test -r "$base/include/$dir/tcl.h"; then
19258 eval "$as_ac_File=yes"
19260 eval "$as_ac_File=no"
19263 eval ac_res
=\$
$as_ac_File
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19265 $as_echo "$ac_res" >&6; }
19266 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
19272 if test "$found" = "yes" ; then
19273 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
19277 if test "$found" = "yes" ; then
19281 if test "$found" != "yes" ; then
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
19284 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
19293 if test "x$alpine_REGEX" != "xyes" ; then
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
19295 $as_echo_n "checking for library containing regcomp... " >&6; }
19296 if ${ac_cv_search_regcomp+:} false
; then :
19297 $as_echo_n "(cached) " >&6
19299 ac_func_search_save_LIBS
=$LIBS
19300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19303 /* Override any GCC internal prototype to avoid an error.
19304 Use char because int might match the return type of a GCC
19305 builtin and then its argument prototype would still apply. */
19318 for ac_lib
in '' posix regexp regex re
; do
19319 if test -z "$ac_lib"; then
19320 ac_res
="none required"
19323 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19325 if ac_fn_c_try_link
"$LINENO"; then :
19326 ac_cv_search_regcomp
=$ac_res
19328 rm -f core conftest.err conftest.
$ac_objext \
19330 if ${ac_cv_search_regcomp+:} false
; then :
19334 if ${ac_cv_search_regcomp+:} false
; then :
19337 ac_cv_search_regcomp
=no
19339 rm conftest.
$ac_ext
19340 LIBS
=$ac_func_search_save_LIBS
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
19343 $as_echo "$ac_cv_search_regcomp" >&6; }
19344 ac_res
=$ac_cv_search_regcomp
19345 if test "$ac_res" != no
; then :
19346 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19350 if test x
$alpine_REGEX = "xno" ; then
19351 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
19359 if test "x$alpine_REGEX" != "xyes" ; then
19360 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
19361 if test "x$ac_cv_header_regex_h" = xyes
; then :
19365 if test x
$alpine_REGEX = "xno" ; then
19366 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
19376 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
19378 if test "x$alpine_REGEX" = "xyes" ; then
19379 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
19380 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
19382 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
19385 if test "x$with_pthread" != "xno" ; then
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
19387 $as_echo_n "checking for pthread support... " >&6; }
19392 ac_cpp
='$CPP $CPPFLAGS'
19393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19399 # We used to check for pthread.h first, but this fails if pthread.h
19400 # requires special compiler flags (e.g. on True64 or Sequent).
19401 # It gets checked for in the link test anyway.
19403 # First of all, check if the user has set any of the PTHREAD_LIBS,
19404 # etcetera environment variables, and if threads linking works using
19406 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19407 save_CFLAGS
="$CFLAGS"
19408 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19410 LIBS
="$PTHREAD_LIBS $LIBS"
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
19412 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
19413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19416 /* Override any GCC internal prototype to avoid an error.
19417 Use char because int might match the return type of a GCC
19418 builtin and then its argument prototype would still apply. */
19422 char pthread_join ();
19426 return pthread_join ();
19431 if ac_fn_c_try_link
"$LINENO"; then :
19434 rm -f core conftest.err conftest.
$ac_objext \
19435 conftest
$ac_exeext conftest.
$ac_ext
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19437 $as_echo "$acx_pthread_ok" >&6; }
19438 if test x
"$acx_pthread_ok" = xno
; then
19443 CFLAGS
="$save_CFLAGS"
19446 # We must check for the threads library under a number of different
19447 # names; the ordering is very important because some systems
19448 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19449 # libraries is broken (non-POSIX).
19451 # Create a list of thread flags to try. Items starting with a "-" are
19452 # C compiler flags, and other items are library names, except for "none"
19453 # which indicates that we try without any flags at all, and "pthread-config"
19454 # which is a program returning the flags for the Pth emulation library.
19456 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
19458 # The ordering *is* (sometimes) important. Some notes on the
19459 # individual items follow:
19461 # pthreads: AIX (must check this before -lpthread)
19462 # none: in case threads are in libc; should be tried before -Kthread and
19463 # other compiler flags to prevent continual compiler warnings
19464 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19465 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19466 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19467 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
19468 # -pthreads: Solaris/gcc
19469 # -mthreads: Mingw32/gcc, Lynx/gcc
19470 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19471 # doesn't hurt to check since this sometimes defines pthreads too;
19472 # also defines -D_REENTRANT)
19473 # ... -mt is also the pthreads flag for HP/aCC
19474 # pthread: Linux, etcetera
19475 # --thread-safe: KAI C++
19476 # pthread-config: use pthread-config program (for GNU Pth library)
19478 case "${host_cpu}-${host_os}" in
19481 # On Solaris (at least, for some versions), libc contains stubbed
19482 # (non-functional) versions of the pthreads routines, so link-based
19483 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19484 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19485 # a function called by this macro, so we could check for that, but
19486 # who knows whether they'll stub that too in a future libc.) So,
19487 # we'll just look for -pthreads and -lpthread first:
19489 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
19493 if test x
"$acx_pthread_ok" = xno
; then
19494 for flag
in $acx_pthread_flags; do
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19499 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19504 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19505 PTHREAD_CFLAGS
="$flag"
19509 # Extract the first word of "pthread-config", so it can be a program name with args.
19510 set dummy pthread-config
; ac_word
=$2
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19512 $as_echo_n "checking for $ac_word... " >&6; }
19513 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
19514 $as_echo_n "(cached) " >&6
19516 if test -n "$acx_pthread_config"; then
19517 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
19519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19520 for as_dir
in $PATH
19523 test -z "$as_dir" && as_dir
=.
19524 for ac_exec_ext
in '' $ac_executable_extensions; do
19525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19526 ac_cv_prog_acx_pthread_config
="yes"
19527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19534 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
19537 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
19538 if test -n "$acx_pthread_config"; then
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
19540 $as_echo "$acx_pthread_config" >&6; }
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19543 $as_echo "no" >&6; }
19547 if test x
"$acx_pthread_config" = xno
; then continue; fi
19548 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19549 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19554 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19555 PTHREAD_LIBS
="-l$flag"
19560 save_CFLAGS
="$CFLAGS"
19561 LIBS
="$PTHREAD_LIBS $LIBS"
19562 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19564 # Check for various functions. We must include pthread.h,
19565 # since some functions may be macros. (On the Sequent, we
19566 # need a special flag -Kthread to make this header compile.)
19567 # We check for pthread_join because it is in -lpthread on IRIX
19568 # while pthread_create is in libc. We check for pthread_attr_init
19569 # due to DEC craziness with -lpthreads. We check for
19570 # pthread_cleanup_push because it is one of the few pthread
19571 # functions on Solaris that doesn't have a non-functional libc stub.
19572 # We try pthread_create on general principles.
19573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #include <pthread.h>
19579 pthread_t th; pthread_join(th, 0);
19580 pthread_attr_init(0); pthread_cleanup_push(0, 0);
19581 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
19586 if ac_fn_c_try_link
"$LINENO"; then :
19589 rm -f core conftest.err conftest.
$ac_objext \
19590 conftest
$ac_exeext conftest.
$ac_ext
19593 CFLAGS
="$save_CFLAGS"
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19596 $as_echo "$acx_pthread_ok" >&6; }
19597 if test "x$acx_pthread_ok" = xyes
; then
19606 # Various other checks:
19607 if test "x$acx_pthread_ok" = xyes
; then
19609 LIBS
="$PTHREAD_LIBS $LIBS"
19610 save_CFLAGS
="$CFLAGS"
19611 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19613 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19615 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19617 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19620 #include <pthread.h>
19624 int attr=$attr; return attr;
19629 if ac_fn_c_try_link
"$LINENO"; then :
19630 attr_name
=$attr; break
19632 rm -f core conftest.err conftest.
$ac_objext \
19633 conftest
$ac_exeext conftest.
$ac_ext
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19636 $as_echo "$attr_name" >&6; }
19637 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19639 cat >>confdefs.h
<<_ACEOF
19640 #define PTHREAD_CREATE_JOINABLE $attr_name
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19646 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19648 case "${host_cpu}-${host_os}" in
19649 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
19650 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19653 $as_echo "${flag}" >&6; }
19654 if test "x$flag" != xno
; then
19655 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19659 CFLAGS
="$save_CFLAGS"
19661 # More AIX lossage: must compile with xlc_r or cc_r
19662 if test x
"$GCC" != xyes
; then
19663 for ac_prog
in xlc_r cc_r
19665 # Extract the first word of "$ac_prog", so it can be a program name with args.
19666 set dummy
$ac_prog; ac_word
=$2
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19668 $as_echo_n "checking for $ac_word... " >&6; }
19669 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19670 $as_echo_n "(cached) " >&6
19672 if test -n "$PTHREAD_CC"; then
19673 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19676 for as_dir
in $PATH
19679 test -z "$as_dir" && as_dir
=.
19680 for ac_exec_ext
in '' $ac_executable_extensions; do
19681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19682 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19692 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19693 if test -n "$PTHREAD_CC"; then
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19695 $as_echo "$PTHREAD_CC" >&6; }
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19698 $as_echo "no" >&6; }
19702 test -n "$PTHREAD_CC" && break
19704 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19717 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19718 if test x
"$acx_pthread_ok" = xyes
; then
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19721 $as_echo "yes" >&6; }
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
19725 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
19726 AM_CFLAGS
="$AM_CFLAGS -pthread"
19729 LIBS
="$PTHREAD_LIBS $LIBS"
19730 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
19733 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19741 $as_echo "no" >&6; }
19745 ac_cpp
='$CPP $CPPFLAGS'
19746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19753 $as_echo_n "checking for library containing nanosleep... " >&6; }
19754 if ${ac_cv_search_nanosleep+:} false
; then :
19755 $as_echo_n "(cached) " >&6
19757 ac_func_search_save_LIBS
=$LIBS
19758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19761 /* Override any GCC internal prototype to avoid an error.
19762 Use char because int might match the return type of a GCC
19763 builtin and then its argument prototype would still apply. */
19771 return nanosleep ();
19776 for ac_lib
in '' rt posix4
; do
19777 if test -z "$ac_lib"; then
19778 ac_res
="none required"
19781 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19783 if ac_fn_c_try_link
"$LINENO"; then :
19784 ac_cv_search_nanosleep
=$ac_res
19786 rm -f core conftest.err conftest.
$ac_objext \
19788 if ${ac_cv_search_nanosleep+:} false
; then :
19792 if ${ac_cv_search_nanosleep+:} false
; then :
19795 ac_cv_search_nanosleep
=no
19797 rm conftest.
$ac_ext
19798 LIBS
=$ac_func_search_save_LIBS
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19801 $as_echo "$ac_cv_search_nanosleep" >&6; }
19802 ac_res
=$ac_cv_search_nanosleep
19803 if test "$ac_res" != no
; then :
19804 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19807 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19818 $as_echo_n "checking for ANSI C header files... " >&6; }
19819 if ${ac_cv_header_stdc+:} false
; then :
19820 $as_echo_n "(cached) " >&6
19822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19823 /* end confdefs.h. */
19824 #include <stdlib.h>
19825 #include <stdarg.h>
19826 #include <string.h>
19837 if ac_fn_c_try_compile
"$LINENO"; then :
19838 ac_cv_header_stdc
=yes
19840 ac_cv_header_stdc
=no
19842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19844 if test $ac_cv_header_stdc = yes; then
19845 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19847 /* end confdefs.h. */
19848 #include <string.h>
19851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19852 $EGREP "memchr" >/dev
/null
2>&1; then :
19855 ac_cv_header_stdc
=no
19861 if test $ac_cv_header_stdc = yes; then
19862 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19864 /* end confdefs.h. */
19865 #include <stdlib.h>
19868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19869 $EGREP "free" >/dev
/null
2>&1; then :
19872 ac_cv_header_stdc
=no
19878 if test $ac_cv_header_stdc = yes; then
19879 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19880 if test "$cross_compiling" = yes; then :
19883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19886 #include <stdlib.h>
19887 #if ((' ' & 0x0FF) == 0x020)
19888 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19889 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19891 # define ISLOWER(c) \
19892 (('a' <= (c) && (c) <= 'i') \
19893 || ('j' <= (c) && (c) <= 'r') \
19894 || ('s' <= (c) && (c) <= 'z'))
19895 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19903 for (i = 0; i < 256; i++)
19904 if (XOR (islower (i), ISLOWER (i))
19905 || toupper (i) != TOUPPER (i))
19910 if ac_fn_c_try_run
"$LINENO"; then :
19913 ac_cv_header_stdc
=no
19915 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19916 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19922 $as_echo "$ac_cv_header_stdc" >&6; }
19923 if test $ac_cv_header_stdc = yes; then
19925 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19929 ac_header_dirent
=no
19930 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19931 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
19933 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
19934 if eval \
${$as_ac_Header+:} false
; then :
19935 $as_echo_n "(cached) " >&6
19937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h. */
19939 #include <sys/types.h>
19951 if ac_fn_c_try_compile
"$LINENO"; then :
19952 eval "$as_ac_Header=yes"
19954 eval "$as_ac_Header=no"
19956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19958 eval ac_res
=\$
$as_ac_Header
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19960 $as_echo "$ac_res" >&6; }
19961 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19962 cat >>confdefs.h
<<_ACEOF
19963 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19966 ac_header_dirent
=$ac_hdr; break
19970 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19971 if test $ac_header_dirent = dirent.h
; then
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19973 $as_echo_n "checking for library containing opendir... " >&6; }
19974 if ${ac_cv_search_opendir+:} false
; then :
19975 $as_echo_n "(cached) " >&6
19977 ac_func_search_save_LIBS
=$LIBS
19978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19981 /* Override any GCC internal prototype to avoid an error.
19982 Use char because int might match the return type of a GCC
19983 builtin and then its argument prototype would still apply. */
19996 for ac_lib
in '' dir
; do
19997 if test -z "$ac_lib"; then
19998 ac_res
="none required"
20001 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20003 if ac_fn_c_try_link
"$LINENO"; then :
20004 ac_cv_search_opendir
=$ac_res
20006 rm -f core conftest.err conftest.
$ac_objext \
20008 if ${ac_cv_search_opendir+:} false
; then :
20012 if ${ac_cv_search_opendir+:} false
; then :
20015 ac_cv_search_opendir
=no
20017 rm conftest.
$ac_ext
20018 LIBS
=$ac_func_search_save_LIBS
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20021 $as_echo "$ac_cv_search_opendir" >&6; }
20022 ac_res
=$ac_cv_search_opendir
20023 if test "$ac_res" != no
; then :
20024 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20030 $as_echo_n "checking for library containing opendir... " >&6; }
20031 if ${ac_cv_search_opendir+:} false
; then :
20032 $as_echo_n "(cached) " >&6
20034 ac_func_search_save_LIBS
=$LIBS
20035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20036 /* end confdefs.h. */
20038 /* Override any GCC internal prototype to avoid an error.
20039 Use char because int might match the return type of a GCC
20040 builtin and then its argument prototype would still apply. */
20053 for ac_lib
in '' x
; do
20054 if test -z "$ac_lib"; then
20055 ac_res
="none required"
20058 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20060 if ac_fn_c_try_link
"$LINENO"; then :
20061 ac_cv_search_opendir
=$ac_res
20063 rm -f core conftest.err conftest.
$ac_objext \
20065 if ${ac_cv_search_opendir+:} false
; then :
20069 if ${ac_cv_search_opendir+:} false
; then :
20072 ac_cv_search_opendir
=no
20074 rm conftest.
$ac_ext
20075 LIBS
=$ac_func_search_save_LIBS
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20078 $as_echo "$ac_cv_search_opendir" >&6; }
20079 ac_res
=$ac_cv_search_opendir
20080 if test "$ac_res" != no
; then :
20081 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
20088 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
20089 if ${ac_cv_header_stat_broken+:} false
; then :
20090 $as_echo_n "(cached) " >&6
20092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20094 #include <sys/types.h>
20095 #include <sys/stat.h>
20097 #if defined S_ISBLK && defined S_IFDIR
20098 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
20101 #if defined S_ISBLK && defined S_IFCHR
20102 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
20105 #if defined S_ISLNK && defined S_IFREG
20106 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
20109 #if defined S_ISSOCK && defined S_IFREG
20110 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20114 if ac_fn_c_try_compile
"$LINENO"; then :
20115 ac_cv_header_stat_broken
=no
20117 ac_cv_header_stat_broken
=yes
20119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
20122 $as_echo "$ac_cv_header_stat_broken" >&6; }
20123 if test $ac_cv_header_stat_broken = yes; then
20125 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
20130 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
20131 if ${ac_cv_header_sys_wait_h+:} false
; then :
20132 $as_echo_n "(cached) " >&6
20134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h. */
20136 #include <sys/types.h>
20137 #include <sys/wait.h>
20138 #ifndef WEXITSTATUS
20139 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
20142 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
20150 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
20155 if ac_fn_c_try_compile
"$LINENO"; then :
20156 ac_cv_header_sys_wait_h
=yes
20158 ac_cv_header_sys_wait_h
=no
20160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
20163 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
20164 if test $ac_cv_header_sys_wait_h = yes; then
20166 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
20171 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
20172 if ${ac_cv_header_time+:} false
; then :
20173 $as_echo_n "(cached) " >&6
20175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20177 #include <sys/types.h>
20178 #include <sys/time.h>
20184 if ((struct tm *) 0)
20190 if ac_fn_c_try_compile
"$LINENO"; then :
20191 ac_cv_header_time
=yes
20193 ac_cv_header_time
=no
20195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
20198 $as_echo "$ac_cv_header_time" >&6; }
20199 if test $ac_cv_header_time = yes; then
20201 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
20206 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
20207 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
20208 $as_echo_n "(cached) " >&6
20210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20211 /* end confdefs.h. */
20212 #include <sys/types.h>
20213 #include <termios.h>
20219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20220 $EGREP "yes" >/dev
/null
2>&1; then :
20221 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
20223 ac_cv_sys_tiocgwinsz_in_termios_h
=no
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
20229 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
20231 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
20233 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
20234 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
20235 $as_echo_n "(cached) " >&6
20237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20238 /* end confdefs.h. */
20239 #include <sys/types.h>
20240 #include <sys/ioctl.h>
20246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20247 $EGREP "yes" >/dev
/null
2>&1; then :
20248 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
20250 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
20256 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
20258 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
20260 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
20266 for ac_header
in unistd.h
20268 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20269 if test "x$ac_cv_header_unistd_h" = xyes
; then :
20270 cat >>confdefs.h
<<_ACEOF
20271 #define HAVE_UNISTD_H 1
20279 for ac_header
in errno.h \
20305 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20306 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20307 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20308 cat >>confdefs.h
<<_ACEOF
20309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20317 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
20318 if test "x$ac_cv_header_termios_h" = xyes
; then :
20320 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
20324 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
20325 if test "x$ac_cv_header_termio_h" = xyes
; then :
20327 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
20331 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
20332 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
20334 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
20338 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
20355 $as_echo_n "checking return type of signal handlers... " >&6; }
20356 if ${ac_cv_type_signal+:} false
; then :
20357 $as_echo_n "(cached) " >&6
20359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h. */
20361 #include <sys/types.h>
20362 #include <signal.h>
20367 return *(signal (0, 0)) (0) == 1;
20372 if ac_fn_c_try_compile
"$LINENO"; then :
20373 ac_cv_type_signal
=int
20375 ac_cv_type_signal
=void
20377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
20380 $as_echo "$ac_cv_type_signal" >&6; }
20382 cat >>confdefs.h
<<_ACEOF
20383 #define RETSIGTYPE $ac_cv_type_signal
20387 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20388 if test "x$ac_cv_type_size_t" = xyes
; then :
20392 cat >>confdefs.h
<<_ACEOF
20393 #define size_t unsigned int
20398 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
20399 if test "x$ac_cv_type_mode_t" = xyes
; then :
20403 cat >>confdefs.h
<<_ACEOF
20409 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
20410 if test "x$ac_cv_type_pid_t" = xyes
; then :
20414 cat >>confdefs.h
<<_ACEOF
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
20421 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
20422 if ${ac_cv_type_uid_t+:} false
; then :
20423 $as_echo_n "(cached) " >&6
20425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20426 /* end confdefs.h. */
20427 #include <sys/types.h>
20430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20431 $EGREP "uid_t" >/dev
/null
2>&1; then :
20432 ac_cv_type_uid_t
=yes
20434 ac_cv_type_uid_t
=no
20439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
20440 $as_echo "$ac_cv_type_uid_t" >&6; }
20441 if test $ac_cv_type_uid_t = no
; then
20443 $as_echo "#define uid_t int" >>confdefs.h
20446 $as_echo "#define gid_t int" >>confdefs.h
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
20451 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
20452 if ${ac_cv_struct_tm+:} false
; then :
20453 $as_echo_n "(cached) " >&6
20455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20457 #include <sys/types.h>
20464 int *p = &tm.tm_sec;
20470 if ac_fn_c_try_compile
"$LINENO"; then :
20471 ac_cv_struct_tm
=time.h
20473 ac_cv_struct_tm
=sys
/time.h
20475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
20478 $as_echo "$ac_cv_struct_tm" >&6; }
20479 if test $ac_cv_struct_tm = sys
/time.h
; then
20481 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
20486 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
20487 if test "x$ac_cv_type_union_wait" = xyes
; then :
20489 cat >>confdefs.h
<<_ACEOF
20490 #define HAVE_UNION_WAIT 1
20497 for ac_header
in stdint.h
20499 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20500 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20501 cat >>confdefs.h
<<_ACEOF
20502 #define HAVE_STDINT_H 1
20507 for ac_header
in inttypes.h
20509 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20510 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20511 cat >>confdefs.h
<<_ACEOF
20512 #define HAVE_INTTYPES_H 1
20517 for ac_header
in sys
/types.h
20519 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20520 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20521 cat >>confdefs.h
<<_ACEOF
20522 #define HAVE_SYS_TYPES_H 1
20527 # The cast to long int works around a bug in the HP C Compiler
20528 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20529 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20530 # This bug is HP SR number 8606223364.
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
20532 $as_echo_n "checking size of unsigned short... " >&6; }
20533 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
20534 $as_echo_n "(cached) " >&6
20536 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
20539 if test "$ac_cv_type_unsigned_short" = yes; then
20540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20542 as_fn_error
77 "cannot compute sizeof (unsigned short)
20543 See \`config.log' for more details" "$LINENO" 5; }
20545 ac_cv_sizeof_unsigned_short
=0
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
20551 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
20555 cat >>confdefs.h
<<_ACEOF
20556 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20560 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
20561 uint16
="unsigned short"
20563 # The cast to long int works around a bug in the HP C Compiler
20564 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20565 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20566 # This bug is HP SR number 8606223364.
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20568 $as_echo_n "checking size of unsigned int... " >&6; }
20569 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20570 $as_echo_n "(cached) " >&6
20572 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20575 if test "$ac_cv_type_unsigned_int" = yes; then
20576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20578 as_fn_error
77 "cannot compute sizeof (unsigned int)
20579 See \`config.log' for more details" "$LINENO" 5; }
20581 ac_cv_sizeof_unsigned_int
=0
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20587 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20591 cat >>confdefs.h
<<_ACEOF
20592 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20596 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
20597 uint16
="unsigned int"
20599 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
20618 cat >>confdefs.h
<<_ACEOF
20619 #define UINT16 $uint16
20623 for ac_header
in stdint.h
20625 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20626 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20627 cat >>confdefs.h
<<_ACEOF
20628 #define HAVE_STDINT_H 1
20633 for ac_header
in inttypes.h
20635 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20636 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20637 cat >>confdefs.h
<<_ACEOF
20638 #define HAVE_INTTYPES_H 1
20643 for ac_header
in sys
/types.h
20645 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20646 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20647 cat >>confdefs.h
<<_ACEOF
20648 #define HAVE_SYS_TYPES_H 1
20653 # The cast to long int works around a bug in the HP C Compiler
20654 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20655 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20656 # This bug is HP SR number 8606223364.
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20658 $as_echo_n "checking size of unsigned int... " >&6; }
20659 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20660 $as_echo_n "(cached) " >&6
20662 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20665 if test "$ac_cv_type_unsigned_int" = yes; then
20666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20668 as_fn_error
77 "cannot compute sizeof (unsigned int)
20669 See \`config.log' for more details" "$LINENO" 5; }
20671 ac_cv_sizeof_unsigned_int
=0
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20677 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20681 cat >>confdefs.h
<<_ACEOF
20682 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20686 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
20687 uint32
="unsigned int"
20689 # The cast to long int works around a bug in the HP C Compiler
20690 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20691 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20692 # This bug is HP SR number 8606223364.
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
20694 $as_echo_n "checking size of unsigned long... " >&6; }
20695 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
20696 $as_echo_n "(cached) " >&6
20698 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
20701 if test "$ac_cv_type_unsigned_long" = yes; then
20702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20704 as_fn_error
77 "cannot compute sizeof (unsigned long)
20705 See \`config.log' for more details" "$LINENO" 5; }
20707 ac_cv_sizeof_unsigned_long
=0
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
20713 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
20717 cat >>confdefs.h
<<_ACEOF
20718 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20722 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
20723 uint32
="unsigned long"
20725 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
20744 cat >>confdefs.h
<<_ACEOF
20745 #define UINT32 $uint32
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
20750 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
20751 if ${ac_cv_func_qsort_argtype+:} false
; then :
20752 $as_echo_n "(cached) " >&6
20754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20755 /* end confdefs.h. */
20758 #include "stdlib.h"
20762 extern sortf(const void *, const void *);
20765 const void *b; { return 0; }
20771 qsort(base, 2, sizeof(char *), sortf);
20777 if ac_fn_c_try_compile
"$LINENO"; then :
20778 ac_cv_func_qsort_argtype
=void
20780 ac_cv_func_qsort_argtype
=char
20782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
20786 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
20788 cat >>confdefs.h
<<_ACEOF
20789 #define qsort_t $ac_cv_func_qsort_argtype
20794 for ac_header
in sys
/select.h sys
/socket.h
20796 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20797 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20798 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20799 cat >>confdefs.h
<<_ACEOF
20800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
20808 $as_echo_n "checking types of arguments for select... " >&6; }
20809 if ${ac_cv_func_select_args+:} false
; then :
20810 $as_echo_n "(cached) " >&6
20812 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
20813 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
20814 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
20815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 #ifdef HAVE_SYS_SELECT_H
20819 # include <sys/select.h>
20821 #ifdef HAVE_SYS_SOCKET_H
20822 # include <sys/socket.h>
20828 extern int select ($ac_arg1,
20829 $ac_arg234, $ac_arg234, $ac_arg234,
20835 if ac_fn_c_try_compile
"$LINENO"; then :
20836 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
20838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20842 # Provide a safe default value.
20843 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
20846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
20847 $as_echo "$ac_cv_func_select_args" >&6; }
20848 ac_save_IFS
=$IFS; IFS
=','
20849 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
20853 cat >>confdefs.h
<<_ACEOF
20854 #define SELECT_TYPE_ARG1 $1
20858 cat >>confdefs.h
<<_ACEOF
20859 #define SELECT_TYPE_ARG234 ($2)
20863 cat >>confdefs.h
<<_ACEOF
20864 #define SELECT_TYPE_ARG5 ($3)
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
20871 $as_echo_n "checking for working strcoll... " >&6; }
20872 if ${ac_cv_func_strcoll_works+:} false
; then :
20873 $as_echo_n "(cached) " >&6
20875 if test "$cross_compiling" = yes; then :
20876 ac_cv_func_strcoll_works
=no
20878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h. */
20880 $ac_includes_default
20884 return (strcoll ("abc", "def") >= 0 ||
20885 strcoll ("ABC", "DEF") >= 0 ||
20886 strcoll ("123", "456") >= 0)
20891 if ac_fn_c_try_run
"$LINENO"; then :
20892 ac_cv_func_strcoll_works
=yes
20894 ac_cv_func_strcoll_works
=no
20896 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20897 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
20902 $as_echo "$ac_cv_func_strcoll_works" >&6; }
20903 if test $ac_cv_func_strcoll_works = yes; then
20905 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
20911 for ac_header
in vfork.h
20913 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
20914 if test "x$ac_cv_header_vfork_h" = xyes
; then :
20915 cat >>confdefs.h
<<_ACEOF
20916 #define HAVE_VFORK_H 1
20923 for ac_func
in fork vfork
20925 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20926 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20927 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20928 cat >>confdefs.h
<<_ACEOF
20929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20935 if test "x$ac_cv_func_fork" = xyes
; then
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
20937 $as_echo_n "checking for working fork... " >&6; }
20938 if ${ac_cv_func_fork_works+:} false
; then :
20939 $as_echo_n "(cached) " >&6
20941 if test "$cross_compiling" = yes; then :
20942 ac_cv_func_fork_works
=cross
20944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20945 /* end confdefs.h. */
20946 $ac_includes_default
20951 /* By Ruediger Kuhlmann. */
20952 return fork () < 0;
20958 if ac_fn_c_try_run
"$LINENO"; then :
20959 ac_cv_func_fork_works
=yes
20961 ac_cv_func_fork_works
=no
20963 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20964 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
20969 $as_echo "$ac_cv_func_fork_works" >&6; }
20972 ac_cv_func_fork_works
=$ac_cv_func_fork
20974 if test "x$ac_cv_func_fork_works" = xcross
; then
20976 *-*-amigaos* |
*-*-msdosdjgpp*)
20977 # Override, as these systems have only a dummy fork() stub
20978 ac_cv_func_fork_works
=no
20981 ac_cv_func_fork_works
=yes
20984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
20985 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
20987 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20988 if test "x$ac_cv_func_vfork" = xyes
; then
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
20990 $as_echo_n "checking for working vfork... " >&6; }
20991 if ${ac_cv_func_vfork_works+:} false
; then :
20992 $as_echo_n "(cached) " >&6
20994 if test "$cross_compiling" = yes; then :
20995 ac_cv_func_vfork_works
=cross
20997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
20999 /* Thanks to Paul Eggert for this test. */
21000 $ac_includes_default
21001 #include <sys/wait.h>
21002 #ifdef HAVE_VFORK_H
21003 # include <vfork.h>
21005 /* On some sparc systems, changes by the child to local and incoming
21006 argument registers are propagated back to the parent. The compiler
21007 is told about this with #include <vfork.h>, but some compilers
21008 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21009 static variable whose address is put into a register that is
21010 clobbered by the vfork. */
21013 sparc_address_test (int arg)
21015 sparc_address_test (arg) int arg;
21018 static pid_t child;
21036 pid_t parent = getpid ();
21039 sparc_address_test (0);
21044 /* Here is another test for sparc vfork register problems. This
21045 test uses lots of local variables, at least as many local
21046 variables as main has allocated so far including compiler
21047 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21048 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21049 reuse the register of parent for one of the local variables,
21050 since it will think that parent can't possibly be used any more
21051 in this routine. Assigning to the local variable will thus
21052 munge parent in the parent process. */
21054 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21055 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21056 /* Convince the compiler that p..p7 are live; otherwise, it might
21057 use the same hardware register for all 8 local variables. */
21058 if (p != p1 || p != p2 || p != p3 || p != p4
21059 || p != p5 || p != p6 || p != p7)
21062 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21063 from child file descriptors. If the child closes a descriptor
21064 before it execs or exits, this munges the parent's descriptor
21065 as well. Test for this by closing stdout in the child. */
21066 _exit(close(fileno(stdout)) != 0);
21071 while (wait(&status) != child)
21074 /* Was there some problem with vforking? */
21077 /* Did the child fail? (This shouldn't happen.) */
21080 /* Did the vfork/compiler bug occur? */
21081 || parent != getpid()
21083 /* Did the file descriptor bug occur? */
21084 || fstat(fileno(stdout), &st) != 0
21089 if ac_fn_c_try_run
"$LINENO"; then :
21090 ac_cv_func_vfork_works
=yes
21092 ac_cv_func_vfork_works
=no
21094 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21095 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
21100 $as_echo "$ac_cv_func_vfork_works" >&6; }
21103 if test "x$ac_cv_func_fork_works" = xcross
; then
21104 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21106 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21109 if test "x$ac_cv_func_vfork_works" = xyes
; then
21111 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
21115 $as_echo "#define vfork fork" >>confdefs.h
21118 if test "x$ac_cv_func_fork_works" = xyes
; then
21120 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
21124 for ac_func
in strchr \
21157 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21158 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21159 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21160 cat >>confdefs.h
<<_ACEOF
21161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
21169 $as_echo_n "checking for library containing gethostname... " >&6; }
21170 if ${ac_cv_search_gethostname+:} false
; then :
21171 $as_echo_n "(cached) " >&6
21173 ac_func_search_save_LIBS
=$LIBS
21174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21177 /* Override any GCC internal prototype to avoid an error.
21178 Use char because int might match the return type of a GCC
21179 builtin and then its argument prototype would still apply. */
21183 char gethostname ();
21187 return gethostname ();
21192 for ac_lib
in '' nsl
; do
21193 if test -z "$ac_lib"; then
21194 ac_res
="none required"
21197 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21199 if ac_fn_c_try_link
"$LINENO"; then :
21200 ac_cv_search_gethostname
=$ac_res
21202 rm -f core conftest.err conftest.
$ac_objext \
21204 if ${ac_cv_search_gethostname+:} false
; then :
21208 if ${ac_cv_search_gethostname+:} false
; then :
21211 ac_cv_search_gethostname
=no
21213 rm conftest.
$ac_ext
21214 LIBS
=$ac_func_search_save_LIBS
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
21217 $as_echo "$ac_cv_search_gethostname" >&6; }
21218 ac_res
=$ac_cv_search_gethostname
21219 if test "$ac_res" != no
; then :
21220 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
21226 $as_echo_n "checking for library containing socket... " >&6; }
21227 if ${ac_cv_search_socket+:} false
; then :
21228 $as_echo_n "(cached) " >&6
21230 ac_func_search_save_LIBS
=$LIBS
21231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21232 /* end confdefs.h. */
21234 /* Override any GCC internal prototype to avoid an error.
21235 Use char because int might match the return type of a GCC
21236 builtin and then its argument prototype would still apply. */
21249 for ac_lib
in '' socket
; do
21250 if test -z "$ac_lib"; then
21251 ac_res
="none required"
21254 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21256 if ac_fn_c_try_link
"$LINENO"; then :
21257 ac_cv_search_socket
=$ac_res
21259 rm -f core conftest.err conftest.
$ac_objext \
21261 if ${ac_cv_search_socket+:} false
; then :
21265 if ${ac_cv_search_socket+:} false
; then :
21268 ac_cv_search_socket
=no
21270 rm conftest.
$ac_ext
21271 LIBS
=$ac_func_search_save_LIBS
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
21274 $as_echo "$ac_cv_search_socket" >&6; }
21275 ac_res
=$ac_cv_search_socket
21276 if test "$ac_res" != no
; then :
21277 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
21287 $as_echo_n "checking for library containing bind... " >&6; }
21288 if ${ac_cv_search_bind+:} false
; then :
21289 $as_echo_n "(cached) " >&6
21291 ac_func_search_save_LIBS
=$LIBS
21292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21293 /* end confdefs.h. */
21295 /* Override any GCC internal prototype to avoid an error.
21296 Use char because int might match the return type of a GCC
21297 builtin and then its argument prototype would still apply. */
21310 for ac_lib
in '' bind; do
21311 if test -z "$ac_lib"; then
21312 ac_res
="none required"
21315 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21317 if ac_fn_c_try_link
"$LINENO"; then :
21318 ac_cv_search_bind
=$ac_res
21320 rm -f core conftest.err conftest.
$ac_objext \
21322 if ${ac_cv_search_bind+:} false
; then :
21326 if ${ac_cv_search_bind+:} false
; then :
21329 ac_cv_search_bind
=no
21331 rm conftest.
$ac_ext
21332 LIBS
=$ac_func_search_save_LIBS
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
21335 $as_echo "$ac_cv_search_bind" >&6; }
21336 ac_res
=$ac_cv_search_bind
21337 if test "$ac_res" != no
; then :
21338 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21347 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
21349 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21350 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21351 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21352 cat >>confdefs.h
<<_ACEOF
21353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21357 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
21362 for ac_func
in sigset sigrelse
21364 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21365 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21366 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21367 cat >>confdefs.h
<<_ACEOF
21368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21372 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
21384 $as_echo_n "checking for library containing syslog... " >&6; }
21385 if ${ac_cv_search_syslog+:} false
; then :
21386 $as_echo_n "(cached) " >&6
21388 ac_func_search_save_LIBS
=$LIBS
21389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21390 /* end confdefs.h. */
21392 /* Override any GCC internal prototype to avoid an error.
21393 Use char because int might match the return type of a GCC
21394 builtin and then its argument prototype would still apply. */
21407 for ac_lib
in '' bsd socket inet
; do
21408 if test -z "$ac_lib"; then
21409 ac_res
="none required"
21412 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21414 if ac_fn_c_try_link
"$LINENO"; then :
21415 ac_cv_search_syslog
=$ac_res
21417 rm -f core conftest.err conftest.
$ac_objext \
21419 if ${ac_cv_search_syslog+:} false
; then :
21423 if ${ac_cv_search_syslog+:} false
; then :
21426 ac_cv_search_syslog
=no
21428 rm conftest.
$ac_ext
21429 LIBS
=$ac_func_search_save_LIBS
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
21432 $as_echo "$ac_cv_search_syslog" >&6; }
21433 ac_res
=$ac_cv_search_syslog
21434 if test "$ac_res" != no
; then :
21435 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21438 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
21445 if test -n "$alpine_with_local_maildir" ; then
21446 alpine_local_maildir
=$alpine_with_local_maildir
21447 elif test -d /var
/spool
/mail ; then
21448 alpine_local_maildir
="/var/spool/mail"
21449 elif test -d /var
/mail ; then
21450 alpine_local_maildir
="/var/mail"
21452 alpine_local_maildir
="/usr/spool/mail"
21455 if test -n "$alpine_with_c_client_target" ; then
21456 alpine_c_client_target
=$alpine_with_c_client_target
21460 cat >>confdefs.h
<<_ACEOF
21461 #define SYSTYPE "$systype"
21465 cat >>confdefs.h
<<_ACEOF
21466 #define C_FILESEP '$alpine_path_delim'
21470 cat >>confdefs.h
<<_ACEOF
21471 #define S_FILESEP "$alpine_path_delim"
21475 cat >>confdefs.h
<<_ACEOF
21476 #define MAILDIR "$alpine_local_maildir"
21480 cat >>confdefs.h
<<_ACEOF
21481 #define MODE_READONLY $alpine_mode_readonly
21485 C_CLIENT_TARGET
=$alpine_c_client_target
21487 C_CLIENT_WITH_IPV6
=$c_client_ip6
21489 if test "x$alpine_SSLTYPE" = "xnone" ; then
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
21491 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
21492 c_client_specials
="${c_client_specials}SSLTYPE=none "
21495 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
21496 certdir
="$alpine_SSLCERTS"
21497 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
21498 certdir
="${alpine_SSLDIR}/certs"
21499 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
21500 certdir
="${alpine_SSLDIR}/ssl/certs"
21501 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
21502 certdir
="$alpine_SSLCERTS_ORIG"
21503 elif test -n "$alpine_SSLCERTS" ; then
21504 certdir
="$alpine_SSLCERTS"
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
21507 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
21510 if test "x$with_smime" != "xno" ; then
21511 if test -n "$certdir" ; then
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
21513 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
21515 $as_echo "#define SMIME /**/" >>confdefs.h
21518 cat >>confdefs.h
<<_ACEOF
21519 #define SMIME_SSLCERTS "$certdir"
21527 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
21528 SSL_BUNDLE_EXISTS
="no"
21529 SSL_PEM
="factory.pem ca-bundle.pem"
21530 for SSL_BUNDLE
in $SSL_PEM
21532 if test -f ${certdir}/${SSL_BUNDLE} ; then
21533 SSL_BUNDLE_EXISTS
="yes"
21537 SSL_CERT_LINK
="yes"
21540 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
21542 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
21544 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
21546 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
21548 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
21551 if test -n "$alpine_SSLINCLUDE" ; then
21552 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
21555 if test -n "$alpine_SSLLIB" ; then
21556 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
21559 if test -n "$alpine_SSLDIR" ; then
21560 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
21563 if test -n "$certdir" ; then
21564 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
21567 if test -n "$alpine_SSLKEYS" ; then
21568 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
21572 if test "x$alpine_GSSTYPE" != "xnone" ; then
21573 c_client_specials
="${c_client_specials}EXTRAAUTHENTICATORS=gss "
21574 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
21575 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
21578 if test -n "$CPPFLAGS" ; then
21579 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
21581 if test -n "$CFLAGS" ; then
21582 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
21585 if test -n "$alpine_c_client_cflags" ; then
21586 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
21590 if test -n "$LDFLAGS" ; then
21591 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
21593 if test -n "$LIBS" ; then
21594 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
21597 if test -n "$alpine_c_client_ldflags" ; then
21598 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
21602 if test -n "$alpine_c_client_gccoptlevel" ; then
21603 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
21607 C_CLIENT_SPECIALS
=$c_client_specials
21610 if test -z "$WEB_BUILD" ; then
21611 WEB_PUBCOOKIE_BUILD
=
21612 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
21613 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
21615 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
21617 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
21618 if test "x$alpine_GSSTYPE" = "xnone" ; then
21619 WEB_PUBCOOKIE_BUILD
=
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
21621 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
21623 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
21624 elif test -z "$WEB_BINDIR" ; then
21625 WEB_PUBCOOKIE_BUILD
=
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
21627 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
21628 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
21629 Please re-run configure with these options:
21630 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
21633 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
21635 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
21636 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
21652 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"
21654 cat >confcache
<<\_ACEOF
21655 # This file is a shell script that caches the results of configure
21656 # tests run on this system so they can be shared between configure
21657 # scripts and configure runs, see configure's option --config-cache.
21658 # It is not useful on other systems. If it contains results you don't
21659 # want to keep, you may remove or edit it.
21661 # config.status only pays attention to the cache file if you give it
21662 # the --recheck option to rerun configure.
21664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21666 # following values.
21670 # The following way of writing the cache mishandles newlines in values,
21671 # but we know of no workaround that is simple, portable, and efficient.
21672 # So, we kill variables containing newlines.
21673 # Ultrix sh set writes to stderr and can't be redirected directly,
21674 # and sets the high bit in the cache file unless we assign to the vars.
21676 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21677 eval ac_val
=\$
$ac_var
21681 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21685 _ | IFS | as_nl
) ;; #(
21686 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21687 *) { eval $ac_var=; unset $ac_var;} ;;
21693 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21694 *${as_nl}ac_space
=\
*)
21695 # `set' does not quote correctly, so add quotes: double-quote
21696 # substitution turns \\\\ into \\, and sed turns \\ into \.
21699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21702 # `set' quotes correctly as required by POSIX, so do not add quotes.
21703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21712 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21714 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21716 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21717 if test -w "$cache_file"; then
21718 if test "x$cache_file" != "x/dev/null"; then
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21720 $as_echo "$as_me: updating cache $cache_file" >&6;}
21721 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
21722 cat confcache
>"$cache_file"
21724 case $cache_file in #(
21726 mv -f confcache
"$cache_file"$$
&&
21727 mv -f "$cache_file"$$
"$cache_file" ;; #(
21729 mv -f confcache
"$cache_file" ;;
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21735 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21740 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21741 # Let make expand exec_prefix.
21742 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21744 DEFS
=-DHAVE_CONFIG_H
21749 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21750 # 1. Remove the extension, and $U if already installed.
21751 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21752 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21754 # will be set to the directory where LIBOBJS objects are built.
21755 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21756 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21758 LIBOBJS
=$ac_libobjs
21760 LTLIBOBJS
=$ac_ltlibobjs
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21764 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21765 if test -n "$am_sleep_pid"; then
21766 # Hide warnings about reused PIDs.
21767 wait $am_sleep_pid 2>/dev
/null
21769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21770 $as_echo "done" >&6; }
21771 if test -n "$EXEEXT"; then
21773 am__EXEEXT_FALSE
='#'
21775 am__EXEEXT_TRUE
='#'
21779 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21780 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21783 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21784 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21787 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21788 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21792 : "${CONFIG_STATUS=./config.status}"
21794 ac_clean_files_save
=$ac_clean_files
21795 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21797 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21799 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21801 # Generated by $as_me.
21802 # Run this file to recreate the current configuration.
21803 # Compiler output produced by configure, useful for debugging
21804 # configure, is in config.log if it exists.
21807 ac_cs_recheck=false
21810 SHELL=\${CONFIG_SHELL-$SHELL}
21813 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
21814 ## -------------------- ##
21815 ## M4sh Initialization. ##
21816 ## -------------------- ##
21818 # Be more Bourne compatible
21819 DUALCASE
=1; export DUALCASE
# for MKS sh
21820 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21823 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21824 # is contrary to our usage. Disable this feature.
21825 alias -g '${1+"$@"}'='"$@"'
21826 setopt NO_GLOB_SUBST
21828 case `(set -o) 2>/dev/null` in #(
21840 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21841 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21842 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21843 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21844 # Prefer a ksh shell builtin over an external printf program on Solaris,
21845 # but without wasting forks for bash or zsh.
21846 if test -z "$BASH_VERSION$ZSH_VERSION" \
21847 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21848 as_echo='print
-r --'
21849 as_echo_n='print
-rn --'
21850 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21851 as_echo='printf %s
\n'
21852 as_echo_n='printf %s
'
21854 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21855 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21856 as_echo_n='/usr
/ucb
/echo -n'
21858 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21859 as_echo_n_body='eval
21863 expr "X$arg" : "X\\(.*\\)$as_nl";
21864 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21866 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21868 export as_echo_n_body
21869 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21871 export as_echo_body
21872 as_echo='sh
-c $as_echo_body as_echo
'
21875 # The user is always right.
21876 if test "${PATH_SEPARATOR+set}" != set; then
21878 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21879 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21886 # We need space, tab and new line, in precisely that order. Quoting is
21887 # there to prevent editors from complaining about space-tab.
21888 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21889 # splitting by setting IFS to empty value.)
21892 # Find who we are. Look in the path if we contain no directory separator.
21895 *[\\/]* ) as_myself=$0 ;;
21896 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21897 for as_dir in $PATH
21900 test -z "$as_dir" && as_dir=.
21901 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21907 # We did not find ourselves, most probably we were run as `sh COMMAND'
21908 # in which case we are not to be found in the path.
21909 if test "x$as_myself" = x
; then
21912 if test ! -f "$as_myself"; then
21913 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21917 # Unset variables that we do not need and which cause bugs (e.g. in
21918 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21919 # suppresses any "Segmentation fault" message there. '((' could
21920 # trigger a bug in pdksh 5.2.14.
21921 for as_var
in BASH_ENV ENV MAIL MAILPATH
21922 do eval test x\
${$as_var+set} = xset \
21923 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
21936 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21939 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21940 # ----------------------------------------
21941 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21942 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21943 # script with STATUS, using 1 if that was 0.
21946 as_status
=$1; test $as_status -eq 0 && as_status
=1
21948 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21949 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21951 $as_echo "$as_me: error: $2" >&2
21952 as_fn_exit
$as_status
21956 # as_fn_set_status STATUS
21957 # -----------------------
21958 # Set $? to STATUS, without forking.
21959 as_fn_set_status
()
21962 } # as_fn_set_status
21964 # as_fn_exit STATUS
21965 # -----------------
21966 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21970 as_fn_set_status
$1
21976 # Portably unset VAR.
21979 { eval $1=; unset $1;}
21981 as_unset
=as_fn_unset
21982 # as_fn_append VAR VALUE
21983 # ----------------------
21984 # Append the text in VALUE to the end of the definition contained in VAR. Take
21985 # advantage of any shell optimizations that allow amortized linear growth over
21986 # repeated appends, instead of the typical quadratic growth present in naive
21988 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21989 eval 'as_fn_append ()
22000 # as_fn_arith ARG...
22001 # ------------------
22002 # Perform arithmetic evaluation on the ARGs, and store the result in the
22003 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22004 # must be portable across $(()) and expr.
22005 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22006 eval 'as_fn_arith ()
22013 as_val
=`expr "$@" || test $? -eq 1`
22018 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22019 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22025 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22026 as_basename
=basename
22031 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22037 as_me
=`$as_basename -- "$0" ||
22038 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22039 X"$0" : 'X\(//\)$' \| \
22040 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22042 sed '/^.*\/\([^/][^/]*\)\/*$/{
22056 # Avoid depending upon Character Ranges.
22057 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22058 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22059 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22060 as_cr_digits
='0123456789'
22061 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22063 ECHO_C
= ECHO_N
= ECHO_T
=
22064 case `echo -n x` in #(((((
22066 case `echo 'xy\c'` in
22067 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22069 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22076 rm -f conf$$ conf$$.exe conf$$.
file
22077 if test -d conf$$.dir
; then
22078 rm -f conf$$.dir
/conf$$.
file
22081 mkdir conf$$.dir
2>/dev
/null
22083 if (echo >conf$$.
file) 2>/dev
/null
; then
22084 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22086 # ... but there are two gotchas:
22087 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22088 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22089 # In both cases, we have to default to `cp -pR'.
22090 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22092 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22100 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22101 rmdir conf$$.dir
2>/dev
/null
22106 # Create "$as_dir" as a directory, including parents if necessary.
22111 -*) as_dir
=.
/$as_dir;;
22113 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22117 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22118 *) as_qdir
=$as_dir;;
22120 as_dirs
="'$as_qdir' $as_dirs"
22121 as_dir
=`$as_dirname -- "$as_dir" ||
22122 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22123 X"$as_dir" : 'X\(//\)[^/]' \| \
22124 X"$as_dir" : 'X\(//\)$' \| \
22125 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22126 $as_echo X"$as_dir" |
22127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22131 /^X\(\/\/\)[^/].*/{
22144 test -d "$as_dir" && break
22146 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22147 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22151 if mkdir
-p .
2>/dev
/null
; then
22152 as_mkdir_p
='mkdir -p "$as_dir"'
22154 test -d .
/-p && rmdir .
/-p
22159 # as_fn_executable_p FILE
22160 # -----------------------
22161 # Test if FILE is an executable regular file.
22162 as_fn_executable_p
()
22164 test -f "$1" && test -x "$1"
22165 } # as_fn_executable_p
22166 as_test_x
='test -x'
22167 as_executable_p
=as_fn_executable_p
22169 # Sed expression to map a string onto a valid CPP name.
22170 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22172 # Sed expression to map a string onto a valid variable name.
22173 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22177 ## ----------------------------------- ##
22178 ## Main body of $CONFIG_STATUS script. ##
22179 ## ----------------------------------- ##
22181 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22184 # Save the log message, to keep $0 and so on meaningful, and to
22185 # report actual input values of CONFIG_FILES etc. instead of their
22186 # values after options handling.
22188 This file was extended by alpine $as_me 2.20.99, which was
22189 generated by GNU Autoconf 2.69. Invocation command line was
22191 CONFIG_FILES = $CONFIG_FILES
22192 CONFIG_HEADERS = $CONFIG_HEADERS
22193 CONFIG_LINKS = $CONFIG_LINKS
22194 CONFIG_COMMANDS = $CONFIG_COMMANDS
22197 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22202 case $ac_config_files in *"
22203 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22206 case $ac_config_headers in *"
22207 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22212 # Files that config.status was made for.
22213 config_files="$ac_config_files"
22214 config_headers="$ac_config_headers"
22215 config_commands="$ac_config_commands"
22219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22221 \`$as_me' instantiates files and other configuration actions
22222 from templates according to the current configuration. Unless the files
22223 and actions are specified as TAGs, all are instantiated by default.
22225 Usage: $0 [OPTION]... [TAG]...
22227 -h, --help print this help, then exit
22228 -V, --version print version number and configuration settings, then exit
22229 --config print configuration, then exit
22230 -q, --quiet, --silent
22231 do not print progress messages
22232 -d, --debug don't remove temporary files
22233 --recheck update $as_me by reconfiguring in the same conditions
22234 --file=FILE[:TEMPLATE]
22235 instantiate the configuration file FILE
22236 --header=FILE[:TEMPLATE]
22237 instantiate the configuration header FILE
22239 Configuration files:
22242 Configuration headers:
22245 Configuration commands:
22248 Report bugs to <chappa@washington.edu>."
22251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22252 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22254 alpine config.status 2.20.99
22255 configured by $0, generated by GNU Autoconf 2.69,
22256 with options \\"\$ac_cs_config\\"
22258 Copyright (C) 2012 Free Software Foundation, Inc.
22259 This config.status script is free software; the Free Software Foundation
22260 gives unlimited permission to copy, distribute and modify it."
22267 test -n "\$AWK" || AWK=awk
22270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22271 # The default lists apply if the user does not specify any file.
22277 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22278 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22282 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22294 # Handling of the options.
22295 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22297 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22298 $as_echo "$ac_cs_version"; exit ;;
22299 --config |
--confi |
--conf |
--con |
--co |
--c )
22300 $as_echo "$ac_cs_config"; exit ;;
22301 --debug |
--debu |
--deb |
--de |
--d |
-d )
22303 --file |
--fil |
--fi |
--f )
22306 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22307 '') as_fn_error $?
"missing file argument" ;;
22309 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22310 ac_need_defaults
=false
;;
22311 --header |
--heade |
--head |
--hea )
22314 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22316 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22317 ac_need_defaults
=false
;;
22319 # Conflict between --help and --header
22320 as_fn_error $?
"ambiguous option: \`$1'
22321 Try \`$0 --help' for more information.";;
22322 --help |
--hel |
-h )
22323 $as_echo "$ac_cs_usage"; exit ;;
22324 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22325 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22328 # This is an error.
22329 -*) as_fn_error $?
"unrecognized option: \`$1'
22330 Try \`$0 --help' for more information." ;;
22332 *) as_fn_append ac_config_targets
" $1"
22333 ac_need_defaults
=false
;;
22339 ac_configure_extra_args
=
22341 if $ac_cs_silent; then
22343 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22348 if \$ac_cs_recheck; then
22349 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22351 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22352 CONFIG_SHELL='$SHELL'
22353 export CONFIG_SHELL
22358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22363 ## Running $as_me. ##
22369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22373 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22376 # The HP-UX ksh and POSIX shell print the target directory to stdout
22377 # if CDPATH is set.
22378 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22380 sed_quote_subst='$sed_quote_subst'
22381 double_quote_subst='$double_quote_subst'
22382 delay_variable_subst='$delay_variable_subst'
22383 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22384 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22385 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22386 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22387 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22388 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22389 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22390 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22391 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22392 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22393 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22394 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22395 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22396 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22397 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22398 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22399 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22400 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22401 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22402 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22403 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22404 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22405 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22406 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22407 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22408 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22409 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22410 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22411 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22412 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22413 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22414 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22415 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22416 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22417 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22418 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22419 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22420 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22421 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22422 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22423 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22424 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22425 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22426 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22427 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22428 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22429 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22430 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22431 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22432 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22433 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22434 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22435 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22436 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22437 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22438 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22439 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22440 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22441 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"`'
22442 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22443 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22444 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22445 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22446 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22447 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22448 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22449 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22450 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22451 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22452 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22453 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22454 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22455 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22456 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22457 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22458 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22459 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22460 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22461 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22462 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22463 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22464 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22465 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22466 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22467 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22468 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22469 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22470 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22471 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22472 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22473 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22474 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22475 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22476 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22477 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22478 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22479 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22480 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22481 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22482 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22483 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22484 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22485 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22486 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22487 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22488 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22489 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22490 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22491 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22492 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22493 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22494 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22495 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22496 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22497 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22498 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22499 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22500 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22501 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22502 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22503 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22504 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22505 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22506 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22507 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22508 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22509 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22510 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22511 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22512 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22513 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22514 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22515 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22516 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22517 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22520 LTCFLAGS='$LTCFLAGS'
22521 compiler='$compiler_DEFAULT'
22523 # A function that is used when there is no print builtin or printf.
22524 func_fallback_echo ()
22526 eval 'cat <<_LTECHO_EOF
22531 # Quote evaled strings.
22546 deplibs_check_method \
22551 sharedlib_from_linklib_cmd \
22554 archiver_list_spec \
22560 lt_cv_sys_global_symbol_pipe \
22561 lt_cv_sys_global_symbol_to_cdecl \
22562 lt_cv_sys_global_symbol_to_import \
22563 lt_cv_sys_global_symbol_to_c_name_address \
22564 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22565 lt_cv_nm_interface \
22566 nm_file_list_spec \
22567 lt_cv_truncate_bin \
22568 lt_prog_compiler_no_builtin_flag \
22569 lt_prog_compiler_pic \
22570 lt_prog_compiler_wl \
22571 lt_prog_compiler_static \
22572 lt_cv_prog_compiler_c_o \
22581 export_dynamic_flag_spec \
22582 whole_archive_flag_spec \
22583 compiler_needs_object \
22585 allow_undefined_flag \
22586 no_undefined_flag \
22587 hardcode_libdir_flag_spec \
22588 hardcode_libdir_separator \
22592 variables_saved_for_relink \
22594 library_names_spec \
22596 install_override_mode \
22600 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22601 *[\\\\\\\`\\"\\\$]*)
22602 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22605 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22610 # Double-quote double-evaled strings.
22611 for var in reload_cmds \
22612 old_postinstall_cmds \
22613 old_postuninstall_cmds \
22615 extract_expsyms_cmds \
22616 old_archive_from_new_cmds \
22617 old_archive_from_expsyms_cmds \
22619 archive_expsym_cmds \
22621 module_expsym_cmds \
22622 export_symbols_cmds \
22626 postuninstall_cmds \
22628 sys_lib_search_path_spec \
22629 configure_time_dlsearch_path \
22630 configure_time_lt_sys_library_path; do
22631 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22632 *[\\\\\\\`\\"\\\$]*)
22633 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22636 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22641 ac_aux_dir='$ac_aux_dir'
22643 # See if we are running on zsh, and set the options that allow our
22644 # commands through without removal of \ escapes INIT.
22645 if test -n "\${ZSH_VERSION+set}"; then
22646 setopt NO_GLOB_SUBST
22657 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
22658 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
22659 # from automake < 1.5.
22660 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
22661 # Capture the value of LINGUAS because we need it to compute CATALOGS.
22662 LINGUAS="${LINGUAS-%UNSET%}"
22667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22669 # Handling of arguments.
22670 for ac_config_target
in $ac_config_targets
22672 case $ac_config_target in
22673 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22674 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22675 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22676 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
22677 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
22678 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
22679 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
22680 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
22681 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
22682 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
22683 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
22684 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
22685 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
22686 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
22687 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
22688 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
22689 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
22690 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22692 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22697 # If the user did not use the arguments to specify the items to instantiate,
22698 # then the envvar interface is used. Set only those that are not.
22699 # We use the long form for the default assignment because of an extremely
22700 # bizarre bug on SunOS 4.1.3.
22701 if $ac_need_defaults; then
22702 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22703 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22704 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22707 # Have a temporary directory for convenience. Make it in the build tree
22708 # simply because there is no reason against having it here, and in addition,
22709 # creating and moving files from /tmp can sometimes cause problems.
22710 # Hook for its removal unless debugging.
22711 # Note that there is a small window in which the directory will not be cleaned:
22712 # after its creation but before its name has been assigned to `$tmp'.
22716 trap 'exit_status=$?
22717 : "${ac_tmp:=$tmp}"
22718 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22720 trap 'as_fn_exit 1' 1 2 13 15
22722 # Create a (secure) tmp directory for tmp files.
22725 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22729 tmp
=.
/conf$$
-$RANDOM
22730 (umask 077 && mkdir
"$tmp")
22731 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22734 # Set up the scripts for CONFIG_FILES section.
22735 # No need to generate them if there are no CONFIG_FILES.
22736 # This happens for instance with `./config.status config.h'.
22737 if test -n "$CONFIG_FILES"; then
22740 ac_cr
=`echo X | tr X '\015'`
22741 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22742 # But we know of no other shell where ac_cr would be empty at this
22743 # point, so we can use a bashism as a fallback.
22744 if test "x$ac_cr" = x
; then
22745 eval ac_cr
=\$
\'\\r
\'
22747 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22748 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22751 ac_cs_awk_cr
=$ac_cr
22754 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22759 echo "cat >conf$$subs.awk <<_ACEOF" &&
22760 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22762 } >conf$$subs.sh ||
22763 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22764 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22766 for ac_last_try in false false false false false :; do
22767 . ./conf$$subs.sh ||
22768 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22770 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22771 if test $ac_delim_n = $ac_delim_num; then
22773 elif $ac_last_try; then
22774 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22776 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22779 rm -f conf$$subs.sh
22781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22782 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22786 s/^/S["/; s
/!.
*/"]=/
22796 s/\(.\{148\}\)..*/\1/
22798 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22803 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22810 s/\(.\{148\}\)..*/\1/
22812 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22816 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22821 ' <conf$$subs.awk | sed '
22826 ' >>$CONFIG_STATUS || ac_write_fail=1
22827 rm -f conf$$subs.awk
22828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22830 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22831 for (key in S) S_is_set[key] = 1
22837 nfields = split(line, field, "@
")
22839 len = length(field[1])
22840 for (i = 2; i < nfields; i++) {
22842 keylen = length(key)
22843 if (S_is_set[key]) {
22845 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22846 len += length(value) + length(field[++i])
22857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22858 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22859 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22862 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22863 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22866 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22867 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22868 # trailing colons and then remove the whole line if VPATH becomes empty
22869 # (actually we leave an empty line to preserve line numbers).
22870 if test "x
$srcdir" = x.; then
22871 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22890 fi # test -n "$CONFIG_FILES"
22892 # Set up the scripts for CONFIG_HEADERS section.
22893 # No need to generate them if there are no CONFIG_HEADERS.
22894 # This happens for instance with `./config.status Makefile'.
22895 if test -n "$CONFIG_HEADERS"; then
22896 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22900 # Transform confdefs.h into an awk script `defines.awk', embedded as
22901 # here-document in config.status, that substitutes the proper values into
22902 # config.h.in to produce config.h.
22904 # Create a delimiter string that does not exist in confdefs.h, to ease
22905 # handling of long lines.
22907 for ac_last_try in false false :; do
22908 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22909 if test -z "$ac_tt"; then
22911 elif $ac_last_try; then
22912 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22914 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22918 # For the awk script, D is an array of macro values keyed by name,
22919 # likewise P contains macro parameters if any. Preserve backslash
22920 # newline sequences.
22922 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22924 s/.\{148\}/&'"$ac_delim"'/g
22927 s/^[ ]*#[ ]*define[ ][ ]*/ /
22934 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22936 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22940 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22941 D["\
1"]=" \
3\\\\\\n
"\\/p
22943 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22948 s/.\{148\}/&'"$ac_delim"'/g
22953 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22956 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22958 ' <confdefs.h | sed '
22959 s/'"$ac_delim"'/"\\\
22960 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22963 for (key in D) D_is_set[key] = 1
22966 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22968 split(line, arg, " ")
22969 if (arg[1] == "#") {
22973 defundef
= substr
(arg
[1], 2)
22976 split(mac1
, mac2
, "(") #)
22978 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22979 if (D_is_set
[macro
]) {
22980 # Preserve the white space surrounding the "#".
22981 print prefix
"define", macro P
[macro
] D
[macro
]
22984 # Replace #undef with comments. This is necessary, for example,
22985 # in the case of _POSIX_SOURCE, which is predefined and required
22986 # on some systems where configure will not decide to define it.
22987 if (defundef
== "undef") {
22988 print
"/*", prefix defundef
, macro
, "*/"
22996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22997 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22998 fi # test -n "$CONFIG_HEADERS"
23001 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23006 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23008 case $ac_mode$ac_tag in
23010 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23011 :[FH
]-) ac_tag
=-:-;;
23012 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23029 -) ac_f
="$ac_tmp/stdin";;
23030 *) # Look for the file first in the build tree, then in the source tree
23031 # (if the path is not absolute). The absolute path cannot be DOS-style,
23032 # because $ac_f cannot contain `:'.
23036 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23038 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23040 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23041 as_fn_append ac_file_inputs
" '$ac_f'"
23044 # Let's still pretend it is `configure' which instantiates (i.e., don't
23045 # use $as_me), people would be surprised to read:
23046 # /* config.h. Generated by config.status. */
23047 configure_input
='Generated from '`
23048 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23050 if test x
"$ac_file" != x-
; then
23051 configure_input
="$ac_file. $configure_input"
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23053 $as_echo "$as_me: creating $ac_file" >&6;}
23055 # Neutralize special characters interpreted by sed in replacement strings.
23056 case $configure_input in #(
23057 *\
&* |
*\|
* |
*\\* )
23058 ac_sed_conf_input
=`$as_echo "$configure_input" |
23059 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23060 *) ac_sed_conf_input
=$configure_input;;
23064 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23065 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23070 ac_dir
=`$as_dirname -- "$ac_file" ||
23071 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23072 X"$ac_file" : 'X\(//\)[^/]' \| \
23073 X"$ac_file" : 'X\(//\)$' \| \
23074 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23075 $as_echo X"$ac_file" |
23076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23080 /^X\(\/\/\)[^/].*/{
23093 as_dir
="$ac_dir"; as_fn_mkdir_p
23097 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23099 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23100 # A ".." for each directory in $ac_dir_suffix.
23101 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23102 case $ac_top_builddir_sub in
23103 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23104 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23107 ac_abs_top_builddir
=$ac_pwd
23108 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23109 # for backward compatibility:
23110 ac_top_builddir
=$ac_top_build_prefix
23113 .
) # We are building in place.
23115 ac_top_srcdir
=$ac_top_builddir_sub
23116 ac_abs_top_srcdir
=$ac_pwd ;;
23117 [\\/]* | ?
:[\\/]* ) # Absolute name.
23118 ac_srcdir
=$srcdir$ac_dir_suffix;
23119 ac_top_srcdir
=$srcdir
23120 ac_abs_top_srcdir
=$srcdir ;;
23121 *) # Relative name.
23122 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23123 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23124 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23126 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23136 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23137 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23139 ac_MKDIR_P
=$MKDIR_P
23141 [\\/$
]* | ?
:[\\/]* ) ;;
23142 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23147 # If the template does not know about datarootdir, expand it.
23148 # FIXME: This hack should be removed a few years after 2.60.
23149 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23160 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23161 *datarootdir
*) ac_datarootdir_seen
=yes;;
23162 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23164 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23167 ac_datarootdir_hack='
23168 s&@datadir@&$datadir&g
23169 s&@docdir@&$docdir&g
23170 s&@infodir@&$infodir&g
23171 s&@localedir@&$localedir&g
23172 s&@mandir@&$mandir&g
23173 s&\\\${datarootdir}&$datarootdir&g' ;;
23177 # Neutralize VPATH when `$srcdir' = `.'.
23178 # Shell code in configure.ac might set extrasub.
23179 # FIXME: do we really want to maintain this feature?
23180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23181 ac_sed_extra="$ac_vpsub
23184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23186 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23187 s|@configure_input@|
$ac_sed_conf_input|
;t t
23188 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23189 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23190 s
&@srcdir@
&$ac_srcdir&;t t
23191 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23192 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23193 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23194 s
&@builddir@
&$ac_builddir&;t t
23195 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23196 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23197 s
&@INSTALL@
&$ac_INSTALL&;t t
23198 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23199 $ac_datarootdir_hack
23201 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23202 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23204 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23205 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23206 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23207 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23209 which seems to be undefined. Please make sure it is defined" >&5
23210 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23211 which seems to be undefined. Please make sure it is defined" >&2;}
23213 rm -f "$ac_tmp/stdin"
23215 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23216 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23218 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23224 if test x"$ac_file" != x-; then
23226 $as_echo "/* $configure_input */" \
23227 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23228 } >"$ac_tmp/config.h" \
23229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23230 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23231 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23232 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23235 mv "$ac_tmp/config.h" "$ac_file" \
23236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23239 $as_echo "/* $configure_input */" \
23240 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23241 || as_fn_error $? "could not create -" "$LINENO" 5
23243 # Compute "$ac_file"'s index
in $config_headers.
23246 for _am_header
in $config_headers :; do
23247 case $_am_header in
23248 $_am_arg |
$_am_arg:* )
23251 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23254 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23255 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23256 X"$_am_arg" : 'X\(//\)[^/]' \| \
23257 X"$_am_arg" : 'X\(//\)$' \| \
23258 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23259 $as_echo X"$_am_arg" |
23260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23264 /^X\(\/\/\)[^/].*/{
23276 s/.*/./; q'`/stamp-h
$_am_stamp_count
23279 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23280 $as_echo "$as_me: executing $ac_file commands" >&6;}
23285 case $ac_file$ac_mode in
23286 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23287 # Older Autoconf quotes --file arguments for eval, but not when files
23288 # are listed without --file. Let's play safe and only enable the eval
23289 # if we detect the quoting.
23290 case $CONFIG_FILES in
23291 *\'*) eval set x
"$CONFIG_FILES" ;;
23292 *) set x
$CONFIG_FILES ;;
23297 # Strip MF so we end up with the name of the file.
23298 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23299 # Check whether this is an Automake generated Makefile or not.
23300 # We used to match only the files named 'Makefile.in', but
23301 # some people rename them; so instead we look at the file content.
23302 # Grep'ing the first line is not enough: some people post-process
23303 # each Makefile.in and add a new line on top of each file to say so.
23304 # Grep'ing the whole file is not good either: AIX grep has a line
23305 # limit of 2048, but all sed's we know have understand at least 4000.
23306 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23307 dirpart
=`$as_dirname -- "$mf" ||
23308 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23309 X"$mf" : 'X\(//\)[^/]' \| \
23310 X"$mf" : 'X\(//\)$' \| \
23311 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23317 /^X\(\/\/\)[^/].*/{
23333 # Extract the definition of DEPDIR, am__include, and am__quote
23334 # from the Makefile without running 'make'.
23335 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23336 test -z "$DEPDIR" && continue
23337 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23338 test -z "$am__include" && continue
23339 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23340 # Find all dependency output files, they are included files with
23341 # $(DEPDIR) in their names. We invoke sed twice because it is the
23342 # simplest approach to changing $(DEPDIR) to its actual value in the
23344 for file in `sed -n "
23345 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23346 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23347 # Make sure the directory exists.
23348 test -f "$dirpart/$file" && continue
23349 fdir
=`$as_dirname -- "$file" ||
23350 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23351 X"$file" : 'X\(//\)[^/]' \| \
23352 X"$file" : 'X\(//\)$' \| \
23353 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23354 $as_echo X"$file" |
23355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23359 /^X\(\/\/\)[^/].*/{
23372 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23373 # echo "creating $dirpart/$file"
23374 echo '# dummy' > "$dirpart/$file"
23381 # See if we are running on zsh, and set the options that allow our
23382 # commands through without removal of \ escapes.
23383 if test -n "${ZSH_VERSION+set}"; then
23384 setopt NO_GLOB_SUBST
23388 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23391 cat <<_LT_EOF >> "$cfgfile"
23393 # Generated automatically by $as_me ($PACKAGE) $VERSION
23394 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23396 # Provide generalized library-building support services.
23397 # Written by Gordon Matzigkeit, 1996
23399 # Copyright (C) 2014 Free Software Foundation, Inc.
23400 # This is free software; see the source for copying conditions. There is NO
23401 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23403 # GNU Libtool is free software; you can redistribute it and/or modify
23404 # it under the terms of the GNU General Public License as published by
23405 # the Free Software Foundation; either version 2 of of the License, or
23406 # (at your option) any later version.
23408 # As a special exception to the GNU General Public License, if you
23409 # distribute this file as part of a program or library that is built
23410 # using GNU Libtool, you may include this file under the same
23411 # distribution terms that you use for the rest of that program.
23413 # GNU Libtool is distributed in the hope that it will be useful, but
23414 # WITHOUT ANY WARRANTY; without even the implied warranty of
23415 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23416 # GNU General Public License for more details.
23418 # You should have received a copy of the GNU General Public License
23419 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23422 # The names of the tagged configurations supported by this script.
23425 # Configured defaults for sys_lib_dlsearch_path munging.
23426 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23428 # ### BEGIN LIBTOOL CONFIG
23430 # Which release of libtool.m4 was used?
23431 macro_version=$macro_version
23432 macro_revision=$macro_revision
23434 # Whether or not to build shared libraries.
23435 build_libtool_libs=$enable_shared
23437 # Whether or not to build static libraries.
23438 build_old_libs=$enable_static
23440 # What type of objects to build.
23443 # Whether or not to optimize for fast installation.
23444 fast_install=$enable_fast_install
23446 # Shared archive member basename,for filename based shared library versioning on AIX.
23447 shared_archive_member_spec=$shared_archive_member_spec
23449 # Shell to use when invoking shell scripts.
23452 # An echo program that protects backslashes.
23455 # The PATH separator for the build system.
23456 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23459 host_alias=$host_alias
23463 # The build system.
23464 build_alias=$build_alias
23468 # A sed program that does not truncate output.
23471 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23472 Xsed="\$SED -e 1s/^X//"
23474 # A grep program that handles long lines.
23480 # A literal string matcher.
23483 # A BSD- or MS-compatible name lister.
23486 # Whether we need soft or hard links.
23489 # What is the maximum length of a command?
23490 max_cmd_len=$max_cmd_len
23492 # Object file suffix (normally "o").
23495 # Executable file suffix (normally "").
23498 # whether the shell understands "unset".
23501 # turn spaces into newlines.
23504 # turn newlines into spaces.
23507 # convert \$build file names to \$host format.
23508 to_host_file_cmd=$lt_cv_to_host_file_cmd
23510 # convert \$build files to toolchain format.
23511 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23513 # An object symbol dumper.
23514 OBJDUMP=$lt_OBJDUMP
23516 # Method to check whether dependent libraries are shared objects.
23517 deplibs_check_method=$lt_deplibs_check_method
23519 # Command to use when deplibs_check_method = "file_magic".
23520 file_magic_cmd=$lt_file_magic_cmd
23522 # How to find potential files when deplibs_check_method = "file_magic".
23523 file_magic_glob=$lt_file_magic_glob
23525 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23526 want_nocaseglob=$lt_want_nocaseglob
23528 # DLL creation program.
23529 DLLTOOL=$lt_DLLTOOL
23531 # Command to associate shared and link libraries.
23532 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23537 # Flags to create an archive.
23538 AR_FLAGS=$lt_AR_FLAGS
23540 # How to feed a file listing to the archiver.
23541 archiver_list_spec=$lt_archiver_list_spec
23543 # A symbol stripping program.
23546 # Commands used to install an old-style archive.
23548 old_postinstall_cmds=$lt_old_postinstall_cmds
23549 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23551 # Whether to use a lock for old archive extraction.
23552 lock_old_archive_extraction=$lock_old_archive_extraction
23557 # LTCC compiler flags.
23558 LTCFLAGS=$lt_CFLAGS
23560 # Take the output of nm and produce a listing of raw symbols and C names.
23561 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23563 # Transform the output of nm in a proper C declaration.
23564 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23566 # Transform the output of nm into a list of symbols to manually relocate.
23567 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23569 # Transform the output of nm in a C name address pair.
23570 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23572 # Transform the output of nm in a C name address pair when lib prefix is needed.
23573 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23575 # The name lister interface.
23576 nm_interface=$lt_lt_cv_nm_interface
23578 # Specify filename containing input files for \$NM.
23579 nm_file_list_spec=$lt_nm_file_list_spec
23581 # The root where to search for dependent libraries,and where our libraries should be installed.
23582 lt_sysroot=$lt_sysroot
23584 # Command to truncate a binary pipe.
23585 lt_truncate_bin=$lt_lt_cv_truncate_bin
23587 # The name of the directory that contains temporary libtool files.
23590 # Used to examine libraries when file_magic_cmd begins with "file".
23591 MAGIC_CMD=$MAGIC_CMD
23593 # Must we lock files when doing compilation?
23594 need_locks=$lt_need_locks
23597 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23599 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23600 DSYMUTIL=$lt_DSYMUTIL
23602 # Tool to change global to local symbols on Mac OS X.
23605 # Tool to manipulate fat objects and archives on Mac OS X.
23608 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23611 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23612 OTOOL64=$lt_OTOOL64
23614 # Old archive suffix (normally "a").
23617 # Shared library suffix (normally ".so").
23618 shrext_cmds=$lt_shrext_cmds
23620 # The commands to extract the exported symbol list from a shared archive.
23621 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23623 # Variables whose values should be saved in libtool wrapper scripts and
23624 # restored at link time.
23625 variables_saved_for_relink=$lt_variables_saved_for_relink
23627 # Do we need the "lib" prefix for modules?
23628 need_lib_prefix=$need_lib_prefix
23630 # Do we need a version for libraries?
23631 need_version=$need_version
23633 # Library versioning type.
23634 version_type=$version_type
23636 # Shared library runtime path variable.
23637 runpath_var=$runpath_var
23639 # Shared library path variable.
23640 shlibpath_var=$shlibpath_var
23642 # Is shlibpath searched before the hard-coded library search path?
23643 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23645 # Format of library name prefix.
23646 libname_spec=$lt_libname_spec
23648 # List of archive names. First name is the real one, the rest are links.
23649 # The last name is the one that the linker finds with -lNAME
23650 library_names_spec=$lt_library_names_spec
23652 # The coded name of the library, if different from the real name.
23653 soname_spec=$lt_soname_spec
23655 # Permission mode override for installation of shared libraries.
23656 install_override_mode=$lt_install_override_mode
23658 # Command to use after installation of a shared archive.
23659 postinstall_cmds=$lt_postinstall_cmds
23661 # Command to use after uninstallation of a shared archive.
23662 postuninstall_cmds=$lt_postuninstall_cmds
23664 # Commands used to finish a libtool library installation in a directory.
23665 finish_cmds=$lt_finish_cmds
23667 # As "finish_cmds", except a single script fragment to be evaled but
23669 finish_eval=$lt_finish_eval
23671 # Whether we should hardcode library paths into libraries.
23672 hardcode_into_libs=$hardcode_into_libs
23674 # Compile-time system search path for libraries.
23675 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23677 # Detected run-time system search path for libraries.
23678 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23680 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23681 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23683 # Whether dlopen is supported.
23684 dlopen_support=$enable_dlopen
23686 # Whether dlopen of programs is supported.
23687 dlopen_self=$enable_dlopen_self
23689 # Whether dlopen of statically linked programs is supported.
23690 dlopen_self_static=$enable_dlopen_self_static
23692 # Commands to strip libraries.
23693 old_striplib=$lt_old_striplib
23694 striplib=$lt_striplib
23697 # The linker used to build libraries.
23700 # How to create reloadable object files.
23701 reload_flag=$lt_reload_flag
23702 reload_cmds=$lt_reload_cmds
23704 # Commands used to build an old-style archive.
23705 old_archive_cmds=$lt_old_archive_cmds
23707 # A language specific compiler.
23710 # Is the compiler the GNU compiler?
23713 # Compiler flag to turn off builtin functions.
23714 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23716 # Additional compiler flags for building library objects.
23717 pic_flag=$lt_lt_prog_compiler_pic
23719 # How to pass a linker flag through the compiler.
23720 wl=$lt_lt_prog_compiler_wl
23722 # Compiler flag to prevent dynamic linking.
23723 link_static_flag=$lt_lt_prog_compiler_static
23725 # Does compiler simultaneously support -c and -o options?
23726 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23728 # Whether or not to add -lc for building shared libraries.
23729 build_libtool_need_lc=$archive_cmds_need_lc
23731 # Whether or not to disallow shared libs when runtime libs are static.
23732 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23734 # Compiler flag to allow reflexive dlopens.
23735 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23737 # Compiler flag to generate shared objects directly from archives.
23738 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23740 # Whether the compiler copes with passing no objects directly.
23741 compiler_needs_object=$lt_compiler_needs_object
23743 # Create an old-style archive from a shared archive.
23744 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23746 # Create a temporary old-style archive to link instead of a shared archive.
23747 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23749 # Commands used to build a shared archive.
23750 archive_cmds=$lt_archive_cmds
23751 archive_expsym_cmds=$lt_archive_expsym_cmds
23753 # Commands used to build a loadable module if different from building
23754 # a shared archive.
23755 module_cmds=$lt_module_cmds
23756 module_expsym_cmds=$lt_module_expsym_cmds
23758 # Whether we are building with GNU ld or not.
23759 with_gnu_ld=$lt_with_gnu_ld
23761 # Flag that allows shared libraries with undefined symbols to be built.
23762 allow_undefined_flag=$lt_allow_undefined_flag
23764 # Flag that enforces no undefined symbols.
23765 no_undefined_flag=$lt_no_undefined_flag
23767 # Flag to hardcode \$libdir into a binary during linking.
23768 # This must work even if \$libdir does not exist
23769 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23771 # Whether we need a single "-rpath" flag with a separated argument.
23772 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23774 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23775 # DIR into the resulting binary.
23776 hardcode_direct=$hardcode_direct
23778 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23779 # DIR into the resulting binary and the resulting library dependency is
23780 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
23781 # library is relocated.
23782 hardcode_direct_absolute=$hardcode_direct_absolute
23784 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23785 # into the resulting binary.
23786 hardcode_minus_L=$hardcode_minus_L
23788 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23789 # into the resulting binary.
23790 hardcode_shlibpath_var=$hardcode_shlibpath_var
23792 # Set to "yes" if building a shared library automatically hardcodes DIR
23793 # into the library and all subsequent libraries and executables linked
23795 hardcode_automatic=$hardcode_automatic
23797 # Set to yes if linker adds runtime paths of dependent libraries
23798 # to runtime path list.
23799 inherit_rpath=$inherit_rpath
23801 # Whether libtool must link a program against all its dependency libraries.
23802 link_all_deplibs=$link_all_deplibs
23804 # Set to "yes" if exported symbols are required.
23805 always_export_symbols=$always_export_symbols
23807 # The commands to list exported symbols.
23808 export_symbols_cmds=$lt_export_symbols_cmds
23810 # Symbols that should not be listed in the preloaded symbols.
23811 exclude_expsyms=$lt_exclude_expsyms
23813 # Symbols that must always be exported.
23814 include_expsyms=$lt_include_expsyms
23816 # Commands necessary for linking programs (against libraries) with templates.
23817 prelink_cmds=$lt_prelink_cmds
23819 # Commands necessary for finishing linking programs.
23820 postlink_cmds=$lt_postlink_cmds
23822 # Specify filename containing input files.
23823 file_list_spec=$lt_file_list_spec
23825 # How to hardcode a shared library path into an executable.
23826 hardcode_action=$hardcode_action
23828 # ### END LIBTOOL CONFIG
23832 cat <<'_LT_EOF' >> "$cfgfile"
23834 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23836 # func_munge_path_list VARIABLE PATH
23837 # -----------------------------------
23838 # VARIABLE is name of variable containing _space_ separated list of
23839 # directories to be munged by the contents of PATH, which is string
23842 # string "DIR[ DIR]" will be prepended to VARIABLE
23844 # string "DIR[ DIR]" will be appended to VARIABLE
23845 # "DIRP[:DIRP]::[DIRA:]DIRA"
23846 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23847 # "DIRA[ DIRA]" will be appended to VARIABLE
23849 # VARIABLE will be replaced by "DIR[ DIR]"
23850 func_munge_path_list ()
23856 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23859 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23862 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23863 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23866 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23872 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
23873 func_cc_basename ()
23875 for cc_temp in $*""; do
23877 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23878 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23883 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23887 # ### END FUNCTIONS SHARED WITH CONFIGURE
23893 cat <<\_LT_EOF
>> "$cfgfile"
23894 # AIX sometimes has problems with the GCC collect2 program. For some
23895 # reason, if we set the COLLECT_NAMES environment variable, the problems
23896 # vanish in a puff of smoke.
23897 if test set != "${COLLECT_NAMES+set}"; then
23899 export COLLECT_NAMES
23906 ltmain
=$ac_aux_dir/ltmain.sh
23909 # We use sed instead of cat because bash on DJGPP gets confused if
23910 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23911 # text mode, it properly converts lines to CR/LF. This bash problem
23912 # is reportedly fixed, but why not run on old versions too?
23913 sed '$q' "$ltmain" >> "$cfgfile" \
23914 ||
(rm -f "$cfgfile"; exit 1)
23916 mv -f "$cfgfile" "$ofile" ||
23917 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23921 "po-directories":C
)
23922 for ac_file
in $CONFIG_FILES; do
23923 # Support "outfile[:infile[:infile...]]"
23925 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
23927 # PO directories have a Makefile.in generated from Makefile.in.in.
23928 case "$ac_file" in */Makefile.
in)
23929 # Adjust a relative srcdir.
23930 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
23931 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
23932 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
23933 # In autoconf-2.13 it is called $ac_given_srcdir.
23934 # In autoconf-2.50 it is called $srcdir.
23935 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
23936 case "$ac_given_srcdir" in
23937 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
23938 /*) top_srcdir
="$ac_given_srcdir" ;;
23939 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
23941 # Treat a directory as a PO directory if and only if it has a
23942 # POTFILES.in file. This allows packages to have multiple PO
23943 # directories under different names or in different locations.
23944 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
23945 rm -f "$ac_dir/POTFILES"
23946 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
23947 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
23948 POMAKEFILEDEPS
="POTFILES.in"
23949 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
23950 # on $ac_dir but don't depend on user-specified configuration
23952 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
23953 # The LINGUAS file contains the set of available languages.
23954 if test -n "$OBSOLETE_ALL_LINGUAS"; then
23955 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
23957 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
23958 # Hide the ALL_LINGUAS assigment from automake < 1.5.
23959 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
23960 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
23962 # The set of available languages was given in configure.in.
23963 # Hide the ALL_LINGUAS assigment from automake < 1.5.
23964 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
23967 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
23968 # Compute UPDATEPOFILES
23969 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
23970 # Compute DUMMYPOFILES
23971 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
23973 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
23974 case "$ac_given_srcdir" in
23976 *) srcdirpre
='$(srcdir)/' ;;
23982 for lang
in $ALL_LINGUAS; do
23983 POFILES
="$POFILES $srcdirpre$lang.po"
23984 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
23985 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
23986 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
23988 # CATALOGS depends on both $ac_dir and the user's LINGUAS
23989 # environment variable.
23991 if test -n "$ALL_LINGUAS"; then
23992 for presentlang
in $ALL_LINGUAS; do
23994 if test "%UNSET%" != "$LINGUAS"; then
23995 desiredlanguages
="$LINGUAS"
23997 desiredlanguages
="$ALL_LINGUAS"
23999 for desiredlang
in $desiredlanguages; do
24000 # Use the presentlang catalog if desiredlang is
24001 # a. equal to presentlang, or
24002 # b. a variant of presentlang (because in this case,
24003 # presentlang can be used as a fallback for messages
24004 # which are not translated in the desiredlang catalog).
24005 case "$desiredlang" in
24006 "$presentlang"*) useit
=yes;;
24009 if test $useit = yes; then
24010 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24015 if test -n "$INST_LINGUAS"; then
24016 for lang
in $INST_LINGUAS; do
24017 CATALOGS
="$CATALOGS $lang.gmo"
24020 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24021 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"
24022 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24023 if test -f "$f"; then
24025 *.orig |
*.bak |
*~
) ;;
24026 *) cat "$f" >> "$ac_dir/Makefile" ;;
24041 ac_clean_files
=$ac_clean_files_save
24043 test $ac_write_fail = 0 ||
24044 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24047 # configure is writing to config.log, and then calls config.status.
24048 # config.status does its own redirection, appending to config.log.
24049 # Unfortunately, on DOS this fails, as config.log is still kept open
24050 # by configure, so config.status won't be able to write to it; its
24051 # output is simply discarded. So we exec the FD to /dev/null,
24052 # effectively closing config.log, so it can be properly (re)opened and
24053 # appended to by config.status. When coming back to configure, we
24054 # need to make the FD available again.
24055 if test "$no_create" != yes; then
24057 ac_config_status_args
=
24058 test "$silent" = yes &&
24059 ac_config_status_args
="$ac_config_status_args --quiet"
24061 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24063 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24064 # would make configure fail if this is the last instruction.
24065 $ac_cs_success || as_fn_exit
1
24067 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24069 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}