2 # From configure.ac Rev:2 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.11.
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
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev
/null
; then :
208 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
213 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir
=.
220 for as_base
in sh bash ksh sh5
; do
221 # Try only shells that exist, to save several forks.
222 as_shell
=$as_dir/$as_base
223 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
225 CONFIG_SHELL
=$as_shell as_have_required
=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
236 CONFIG_SHELL
=$SHELL as_have_required
=yes
241 if test "x$CONFIG_SHELL" != x
; then :
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
249 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
251 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 if test x
$as_have_required = xno
; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x
${ZSH_VERSION+set} = xset
; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: chappa@washington.edu about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
359 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir
-p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
562 # Check that we are running under the correct shell.
563 SHELL
=${CONFIG_SHELL-/bin/sh}
567 # Remove one level of quotation (which was required for Make).
568 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
573 if test "X$1" = X--no-reexec
; then
574 # Discard the --no-reexec flag, and continue.
576 elif test "X$1" = X--fallback-echo
; then
577 # Avoid inline document here, it may be left over
579 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
580 # Yippee, $ECHO works!
583 # Restart under the correct shell.
584 exec $SHELL "$0" --no-reexec ${1+"$@"}
587 if test "X$1" = X--fallback-echo
; then
588 # used as fallback echo
596 # The HP-UX ksh and POSIX shell print the target directory to stdout
598 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
600 if test -z "$lt_ECHO"; then
601 if test "X${echo_test_string+set}" != Xset
; then
602 # find a string as large as possible, as long as the shell can cope with it
603 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
604 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
605 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
606 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
613 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
614 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
615 test "X$echo_testing_string" = "X$echo_test_string"; then
618 # The Solaris, AIX, and Digital Unix default echo programs unquote
619 # backslashes. This makes it impossible to quote backslashes using
620 # echo "$something" | sed 's/\\/\\\\/g'
622 # So, first we look for a working echo in the user's PATH.
624 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
625 for dir
in $PATH /usr
/ucb
; do
627 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
628 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
637 if test "X$ECHO" = Xecho
; then
638 # We didn't find a better echo, so look for alternatives.
639 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
640 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
641 test "X$echo_testing_string" = "X$echo_test_string"; then
642 # This shell has a builtin print -r that does the trick.
644 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
645 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
646 # If we have ksh, try running configure again with it.
647 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
648 export ORIGINAL_CONFIG_SHELL
649 CONFIG_SHELL
=/bin
/ksh
651 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
655 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
656 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
660 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
666 SHELL
="$CONFIG_SHELL"
668 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
669 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
670 test "X$echo_testing_string" = 'X\t' &&
671 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
673 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
675 # maybe with a smaller string...
678 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
679 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
686 if test "$prev" != 'sed 50q "$0"'; then
687 echo_test_string
=`eval $prev`
688 export echo_test_string
689 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
691 # Oops. We lost completely, so just stick with echo.
700 # Copy echo and quote the copy suitably for passing to libtool from
701 # the Makefile, instead of quoting the original, which is used later.
703 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
704 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
710 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
714 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
715 # so uname gets run too.
716 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
721 ac_default_prefix
=/usr
/local
723 ac_config_libobj_dir
=.
730 # Identity of this package.
731 PACKAGE_NAME
='alpine'
732 PACKAGE_TARNAME
='alpine'
733 PACKAGE_VERSION
='2.11'
734 PACKAGE_STRING
='alpine 2.11'
735 PACKAGE_BUGREPORT
='chappa@washington.edu'
738 ac_unique_file
="include/system.h"
739 # Factoring default headers for most tests.
740 ac_includes_default
="\
742 #ifdef HAVE_SYS_TYPES_H
743 # include <sys/types.h>
745 #ifdef HAVE_SYS_STAT_H
746 # include <sys/stat.h>
752 # ifdef HAVE_STDLIB_H
757 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
762 #ifdef HAVE_STRINGS_H
763 # include <strings.h>
765 #ifdef HAVE_INTTYPES_H
766 # include <inttypes.h>
776 ac_subst_vars
='am__EXEEXT_FALSE
798 alpine_interactive_spellcheck
800 alpine_simple_spellcheck
869 MAINTAINER_MODE_FALSE
879 INSTALL_STRIP_PROGRAM
921 program_transform_name
934 enable_option_checking
935 enable_maintainer_mode
936 enable_dependency_tracking
950 enable_osx_universal_binaries
960 enable_background_post
968 with_simple_spellcheck
969 with_interactive_spellcheck
971 with_system_fixed_pinerc
972 with_local_support_info
973 with_mailcheck_interval
974 with_checkpoint_interval
975 with_checkpoint_frequency
978 with_max_display_rows
979 with_max_display_columns
985 with_forwarded_keyword
989 with_default_save_folder
990 with_default_legacy_postponed_folder
991 with_default_postponed_folder
992 with_default_trash_folder
993 with_default_interrupted_mail
994 with_default_dead_letter_folder
995 with_default_mail_directory
996 with_default_inbox_name
997 with_default_signature_file
998 with_default_elm_style_save
999 with_default_header_in_reply
1000 with_default_old_style_reply
1001 with_default_use_only_domain_name
1002 with_default_save_by_sender
1003 with_default_sort_key
1004 with_default_addressbook_sort_rule
1005 with_default_folder_sort_rule
1006 with_default_saved_message_name_rule
1007 with_default_fcc_rule
1008 with_default_standard_printer
1009 with_default_ansi_printer
1010 with_default_addressbook
1011 with_default_local_fullname
1012 with_default_local_address
1013 with_default_keyboard_lock_count
1014 with_default_remote_addressbook_history
1015 with_smime_public_cert_directory
1016 with_smime_private_key_directory
1017 with_smime_cacert_directory
1018 with_default_printer
1020 with_local_password_cache
1021 with_local_password_cache_method
1022 with_default_sshpath
1027 with_ssl_include_dir
1031 with_krb5_include_dir
1035 with_ldap_include_dir
1043 with_system_mail_directory
1044 with_c_client_target
1047 ac_precious_vars
='build_alias
1058 # Initialize some variables set by options.
1060 ac_init_version
=false
1061 ac_unrecognized_opts
=
1062 ac_unrecognized_sep
=
1063 # The variables have the same names as the options, with
1064 # dashes changed to underlines.
1065 cache_file
=/dev
/null
1072 program_transform_name
=s
,x
,x
,
1080 # Installation directory options.
1081 # These are left unexpanded so users can "make install exec_prefix=/foo"
1082 # and all the variables that are supposed to be based on exec_prefix
1083 # by default will actually change.
1084 # Use braces instead of parens because sh, perl, etc. also accept them.
1085 # (The list follows the same order as the GNU Coding Standards.)
1086 bindir
='${exec_prefix}/bin'
1087 sbindir
='${exec_prefix}/sbin'
1088 libexecdir
='${exec_prefix}/libexec'
1089 datarootdir
='${prefix}/share'
1090 datadir
='${datarootdir}'
1091 sysconfdir
='${prefix}/etc'
1092 sharedstatedir
='${prefix}/com'
1093 localstatedir
='${prefix}/var'
1094 includedir
='${prefix}/include'
1095 oldincludedir
='/usr/include'
1096 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1097 infodir
='${datarootdir}/info'
1102 libdir
='${exec_prefix}/lib'
1103 localedir
='${datarootdir}/locale'
1104 mandir
='${datarootdir}/man'
1110 # If the previous option needs an argument, assign it.
1111 if test -n "$ac_prev"; then
1112 eval $ac_prev=\
$ac_option
1118 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1123 # Accept the important Cygnus configure options, so we can diagnose typos.
1125 case $ac_dashdash$ac_option in
1129 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1131 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1132 bindir
=$ac_optarg ;;
1134 -build |
--build |
--buil |
--bui |
--bu)
1135 ac_prev
=build_alias
;;
1136 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1137 build_alias
=$ac_optarg ;;
1139 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1140 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1141 ac_prev
=cache_file
;;
1142 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1143 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1144 cache_file
=$ac_optarg ;;
1146 --config-cache |
-C)
1147 cache_file
=config.cache
;;
1149 -datadir |
--datadir |
--datadi |
--datad)
1151 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1152 datadir
=$ac_optarg ;;
1154 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1155 |
--dataroo |
--dataro |
--datar)
1156 ac_prev
=datarootdir
;;
1157 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1158 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1159 datarootdir
=$ac_optarg ;;
1161 -disable-* |
--disable-*)
1162 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1165 as_fn_error $?
"invalid feature name: $ac_useropt"
1166 ac_useropt_orig
=$ac_useropt
1167 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168 case $ac_user_opts in
1170 "enable_
$ac_useropt"
1172 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1173 ac_unrecognized_sep
=', ';;
1175 eval enable_
$ac_useropt=no
;;
1177 -docdir |
--docdir |
--docdi |
--doc |
--do)
1179 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1180 docdir
=$ac_optarg ;;
1182 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1184 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1185 dvidir
=$ac_optarg ;;
1187 -enable-* |
--enable-*)
1188 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1191 as_fn_error $?
"invalid feature name: $ac_useropt"
1192 ac_useropt_orig
=$ac_useropt
1193 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1196 "enable_
$ac_useropt"
1198 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1199 ac_unrecognized_sep
=', ';;
1201 eval enable_
$ac_useropt=\
$ac_optarg ;;
1203 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1204 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1205 |
--exec |
--exe |
--ex)
1206 ac_prev
=exec_prefix
;;
1207 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1208 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1209 |
--exec=* |
--exe=* |
--ex=*)
1210 exec_prefix
=$ac_optarg ;;
1212 -gas |
--gas |
--ga |
--g)
1213 # Obsolete; use --with-gas.
1216 -help |
--help |
--hel |
--he |
-h)
1217 ac_init_help
=long
;;
1218 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1219 ac_init_help
=recursive
;;
1220 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1221 ac_init_help
=short
;;
1223 -host |
--host |
--hos |
--ho)
1224 ac_prev
=host_alias
;;
1225 -host=* |
--host=* |
--hos=* |
--ho=*)
1226 host_alias
=$ac_optarg ;;
1228 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1230 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1232 htmldir
=$ac_optarg ;;
1234 -includedir |
--includedir |
--includedi |
--included |
--include \
1235 |
--includ |
--inclu |
--incl |
--inc)
1236 ac_prev
=includedir
;;
1237 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1238 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1239 includedir
=$ac_optarg ;;
1241 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1243 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1244 infodir
=$ac_optarg ;;
1246 -libdir |
--libdir |
--libdi |
--libd)
1248 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1249 libdir
=$ac_optarg ;;
1251 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1252 |
--libexe |
--libex |
--libe)
1253 ac_prev
=libexecdir
;;
1254 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1255 |
--libexe=* |
--libex=* |
--libe=*)
1256 libexecdir
=$ac_optarg ;;
1258 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1259 ac_prev
=localedir
;;
1260 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1261 localedir
=$ac_optarg ;;
1263 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1264 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1265 ac_prev
=localstatedir
;;
1266 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1267 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1268 localstatedir
=$ac_optarg ;;
1270 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1272 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1273 mandir
=$ac_optarg ;;
1275 -nfp |
--nfp |
--nf)
1276 # Obsolete; use --without-fp.
1279 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1280 |
--no-cr |
--no-c |
-n)
1283 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1284 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1287 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1288 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1289 |
--oldin |
--oldi |
--old |
--ol |
--o)
1290 ac_prev
=oldincludedir
;;
1291 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1292 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1293 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1294 oldincludedir
=$ac_optarg ;;
1296 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1298 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1299 prefix
=$ac_optarg ;;
1301 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1302 |
--program-pre |
--program-pr |
--program-p)
1303 ac_prev
=program_prefix
;;
1304 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1305 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1306 program_prefix
=$ac_optarg ;;
1308 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1309 |
--program-suf |
--program-su |
--program-s)
1310 ac_prev
=program_suffix
;;
1311 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1312 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1313 program_suffix
=$ac_optarg ;;
1315 -program-transform-name |
--program-transform-name \
1316 |
--program-transform-nam |
--program-transform-na \
1317 |
--program-transform-n |
--program-transform- \
1318 |
--program-transform |
--program-transfor \
1319 |
--program-transfo |
--program-transf \
1320 |
--program-trans |
--program-tran \
1321 |
--progr-tra |
--program-tr |
--program-t)
1322 ac_prev
=program_transform_name
;;
1323 -program-transform-name=* |
--program-transform-name=* \
1324 |
--program-transform-nam=* |
--program-transform-na=* \
1325 |
--program-transform-n=* |
--program-transform-=* \
1326 |
--program-transform=* |
--program-transfor=* \
1327 |
--program-transfo=* |
--program-transf=* \
1328 |
--program-trans=* |
--program-tran=* \
1329 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1330 program_transform_name
=$ac_optarg ;;
1332 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1334 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1335 pdfdir
=$ac_optarg ;;
1337 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1339 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1342 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1343 |
-silent |
--silent |
--silen |
--sile |
--sil)
1346 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1348 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1350 sbindir
=$ac_optarg ;;
1352 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1353 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1354 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1356 ac_prev
=sharedstatedir
;;
1357 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1358 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1359 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1361 sharedstatedir
=$ac_optarg ;;
1363 -site |
--site |
--sit)
1365 -site=* |
--site=* |
--sit=*)
1368 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1370 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1371 srcdir
=$ac_optarg ;;
1373 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1374 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1375 ac_prev
=sysconfdir
;;
1376 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1377 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1378 sysconfdir
=$ac_optarg ;;
1380 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1381 ac_prev
=target_alias
;;
1382 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1383 target_alias
=$ac_optarg ;;
1385 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1388 -version |
--version |
--versio |
--versi |
--vers |
-V)
1389 ac_init_version
=: ;;
1392 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1393 # Reject names that are not valid shell variable names.
1394 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1395 as_fn_error $?
"invalid package name: $ac_useropt"
1396 ac_useropt_orig
=$ac_useropt
1397 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1398 case $ac_user_opts in
1402 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1403 ac_unrecognized_sep
=', ';;
1405 eval with_
$ac_useropt=\
$ac_optarg ;;
1407 -without-* |
--without-*)
1408 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1409 # Reject names that are not valid shell variable names.
1410 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1411 as_fn_error $?
"invalid package name: $ac_useropt"
1412 ac_useropt_orig
=$ac_useropt
1413 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1414 case $ac_user_opts in
1418 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1419 ac_unrecognized_sep
=', ';;
1421 eval with_
$ac_useropt=no
;;
1424 # Obsolete; use --with-x.
1427 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1428 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1429 ac_prev
=x_includes
;;
1430 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1431 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1432 x_includes
=$ac_optarg ;;
1434 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1435 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1436 ac_prev
=x_libraries
;;
1437 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1438 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1439 x_libraries
=$ac_optarg ;;
1441 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1442 Try \`$0 --help' for more information"
1446 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1447 # Reject names that are not valid shell variable names.
1448 case $ac_envvar in #(
1449 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1450 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1452 eval $ac_envvar=\
$ac_optarg
1453 export $ac_envvar ;;
1456 # FIXME: should be removed in autoconf 3.0.
1457 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1458 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1459 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1460 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1466 if test -n "$ac_prev"; then
1467 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1468 as_fn_error $?
"missing argument to $ac_option"
1471 if test -n "$ac_unrecognized_opts"; then
1472 case $enable_option_checking in
1474 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1475 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1479 # Check all directory arguments for consistency.
1480 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1481 datadir sysconfdir sharedstatedir localstatedir includedir \
1482 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1483 libdir localedir mandir
1485 eval ac_val
=\$
$ac_var
1486 # Remove trailing slashes.
1489 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1490 eval $ac_var=\
$ac_val;;
1492 # Be sure to have absolute directory names.
1494 [\\/$
]* | ?
:[\\/]* ) continue;;
1495 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1497 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1500 # There might be people who depend on the old broken behavior: `$host'
1501 # used to hold the argument of --host etc.
1502 # FIXME: To remove some day.
1505 target
=$target_alias
1507 # FIXME: To remove some day.
1508 if test "x$host_alias" != x
; then
1509 if test "x$build_alias" = x
; then
1510 cross_compiling
=maybe
1511 elif test "x$build_alias" != "x$host_alias"; then
1517 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1519 test "$silent" = yes && exec 6>/dev
/null
1522 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1523 ac_ls_di
=`ls -di .` &&
1524 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1525 as_fn_error $?
"working directory cannot be determined"
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 as_fn_error $?
"pwd does not report name of working directory"
1530 # Find the source files, if location was not specified.
1531 if test -z "$srcdir"; then
1532 ac_srcdir_defaulted
=yes
1533 # Try the directory containing this script, then the parent directory.
1534 ac_confdir
=`$as_dirname -- "$as_myself" ||
1535 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1536 X"$as_myself" : 'X\(//\)[^/]' \| \
1537 X"$as_myself" : 'X\(//\)$' \| \
1538 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1539 $as_echo X"$as_myself" |
1540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1558 if test ! -r "$srcdir/$ac_unique_file"; then
1562 ac_srcdir_defaulted
=no
1564 if test ! -r "$srcdir/$ac_unique_file"; then
1565 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1566 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1568 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1570 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1572 # When building in place, set srcdir=.
1573 if test "$ac_abs_confdir" = "$ac_pwd"; then
1576 # Remove unnecessary trailing slashes from srcdir.
1577 # Double slashes in file names in object file debugging info
1578 # mess up M-x gdb in Emacs.
1580 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1582 for ac_var
in $ac_precious_vars; do
1583 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1584 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1585 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1586 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1590 # Report the --help message.
1592 if test "$ac_init_help" = "long"; then
1593 # Omit some internal or obsolete options to make the list less imposing.
1594 # This message is too long to be a string in the A/UX 3.1 sh.
1596 \`configure' configures alpine 2.11 to adapt to many kinds of systems.
1598 Usage: $0 [OPTION]... [VAR=VALUE]...
1600 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1601 VAR=VALUE. See below for descriptions of some of the useful variables.
1603 Defaults for the options are specified in brackets.
1606 -h, --help display this help and exit
1607 --help=short display options specific to this package
1608 --help=recursive display the short help of all the included packages
1609 -V, --version display version information and exit
1610 -q, --quiet, --silent do not print \`checking ...' messages
1611 --cache-file=FILE cache test results in FILE [disabled]
1612 -C, --config-cache alias for \`--cache-file=config.cache'
1613 -n, --no-create do not create output files
1614 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1616 Installation directories:
1617 --prefix=PREFIX install architecture-independent files in PREFIX
1618 [$ac_default_prefix]
1619 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1622 By default, \`make install' will install all the files in
1623 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1624 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1625 for instance \`--prefix=\$HOME'.
1627 For better control, use the options below.
1629 Fine tuning of the installation directories:
1630 --bindir=DIR user executables [EPREFIX/bin]
1631 --sbindir=DIR system admin executables [EPREFIX/sbin]
1632 --libexecdir=DIR program executables [EPREFIX/libexec]
1633 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1634 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1635 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1636 --libdir=DIR object code libraries [EPREFIX/lib]
1637 --includedir=DIR C header files [PREFIX/include]
1638 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1639 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1640 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1641 --infodir=DIR info documentation [DATAROOTDIR/info]
1642 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1643 --mandir=DIR man documentation [DATAROOTDIR/man]
1644 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1645 --htmldir=DIR html documentation [DOCDIR]
1646 --dvidir=DIR dvi documentation [DOCDIR]
1647 --pdfdir=DIR pdf documentation [DOCDIR]
1648 --psdir=DIR ps documentation [DOCDIR]
1654 --program-prefix=PREFIX prepend PREFIX to installed program names
1655 --program-suffix=SUFFIX append SUFFIX to installed program names
1656 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1659 --build=BUILD configure
for building on BUILD
[guessed
]
1660 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1664 if test -n "$ac_init_help"; then
1665 case $ac_init_help in
1666 short | recursive
) echo "Configuration of alpine 2.11:";;
1671 --disable-option-checking ignore unrecognized
--enable/--with options
1672 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1673 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1674 --enable-maintainer-mode enable make rules and dependencies not useful
1675 (and sometimes confusing
) to the casual installer
1676 --disable-dependency-tracking speeds up one-time build
1677 --enable-dependency-tracking do not reject slow dependency extractors
1678 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1679 --enable-static[=PKGS
] build static libraries
[default
=yes]
1680 --enable-fast-install[=PKGS
]
1681 optimize
for fast installation
[default
=yes]
1682 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1683 --disable-nls do not use Native Language Support
1684 --disable-rpath do not hardcode runtime library paths
1685 --enable-dmalloc Enable dmalloc debugging
1686 --enable-osx-universal-binaries
1687 Produce universal binaries under OS X
[[default
=no
]]
1688 --disable-debug Exclude debug messages from
source
1689 --disable-optimization Exclude optimizing compiler flags
1690 --disable-mouse Disable mouse support
1691 --enable-quotas Enable disk quota checking on startup
1692 --disable-from-changing Disallow users changing From addresss
1693 --disable-background-post
1694 Disable background posting
1695 --disable-keyboard-lock Disable keyboard locking
1696 --enable-from-encoding Enable From encoding
in sent messages
1699 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1700 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1701 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1703 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1704 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1705 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1706 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1707 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1708 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1709 --with-dmalloc-dir=DIR Root of dmalloc lib
/include path
1710 --with-localedir=DIR Name of
gettext locale directory
1711 --with-include-path=PATHS
1712 Colon-separated list of directories used
for include
1714 --with-lib-path=PATHS Colon-separated list of directories used
for library
1716 --with-pubcookie Include support
for UW-Pubcookie Web Authentication
1717 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1718 --with-smtp-msa=PATH Local Mail Submission Agent
(sendmail
)
1719 --with-smtp-msa-flags=FLAGS
1720 MSA flags
for SMTP on stdin
/stdout
(-bs -odb -oem)
1721 --with-npa=PATH Posting agent when no nntp-servers defined
(inews
)
1722 --with-npa-flags=FLAGS Flags to allow posting via
local agent
(-h)
1723 --with-password-prog=PATH
1724 Password change program
(/bin
/passwd
)
1725 --with-simple-spellcheck=PROG
1726 Spellcheck program reads stdin
, emits misspellings
1728 --with-interactive-spellcheck=PROG
1729 Interactive
, filewise spell checker
1730 --with-system-pinerc=VALUE
1731 System pinerc
(/usr
/local
/lib
/pine.conf
)
1732 --with-system-fixed-pinerc=VALUE
1733 System fixed pinerc
(/usr
/local
/lib
/pine.conf.fixed
)
1734 --with-local-support-info=VALUE
1735 Local Support Info File
(/usr
/local
/lib
/pine.info
)
1736 --with-mailcheck-interval=VALUE
1737 Specify default mail-check-interval
(150)
1738 --with-checkpoint-interval=VALUE
1739 Specify default checkpoint-interval
(420)
1740 --with-checkpoint-frequency=VALUE
1741 State change count before checkpoint
(12)
1742 --with-display-rows=VALUE
1743 Initial rows on display
(24)
1744 --with-display-columns=VALUE
1745 Initial columns on display
(80)
1746 --with-max-display-rows=VALUE
1747 Maximum display rows
(200)
1748 --with-max-display-columns=VALUE
1749 Maximum display columns
(500)
1750 --with-fill-column=VALUE
1751 Default fill
column (74)
1752 --with-max_fill-column=VALUE
1753 Maximum fill
column (80)
1754 --with-debug-level=VALUE
1755 Specify default debug verbosity level
(2)
1756 --with-debug-files=VALUE
1757 Specify number of debug files
(4)
1758 --with-debug-file=VALUE Specify debug
file name
(.pine-debug
)
1759 --with-forwarded-keyword=VALUE
1760 IMAP
(c-client
) keyword to store forwarded status
1762 --with-display-overlap=VALUE
1763 Lines preserved
while paging
(2)
1764 --with-display-margin=VALUE
1765 Lines visible
while scrolling
(0)
1766 --with-default-fcc=VALUE
1767 Default sent
mail folder
(sent-mail
)
1768 --with-default-save-folder=VALUE
1769 Default save folder
(saved-messages
)
1770 --with-default-legacy-postponed-folder=VALUE
1771 Pre Pine
3.90 postponed folder
(postponed-mail
)
1772 --with-default-postponed-folder=VALUE
1773 Default postponed folder
(postponed-msgs
)
1774 --with-default-trash-folder=VALUE
1775 Default Trash folder
for Web Alpine
(Trash
)
1776 --with-default-interrupted-mail=VALUE
1777 Default folder
for interrupted
mail
1778 (.pine-interrupted-mail
)
1779 --with-default-dead-letter-folder=VALUE
1780 Default dead letter folder
(dead.letter
)
1781 --with-default-mail-directory=VALUE
1782 Default
mail directory
(mail)
1783 --with-default-inbox-name=VALUE
1784 Default inbox name
(INBOX
)
1785 --with-default-signature-file=VALUE
1786 Default signature
file (.signature
)
1787 --with-default-elm-style-save=VALUE
1788 Default to Elm style save
(no
)
1789 --with-default-header-in-reply=VALUE
1790 Include header
in reply
(no
)
1791 --with-default-old-style-reply=VALUE
1792 Default to old style reply
(no
)
1793 --with-default-use-only-domain-name=VALUE
1794 Default to using only the domain name
(no
)
1795 --with-default-save-by-sender=VALUE
1796 Default to save by sender
(no
)
1797 --with-default-sort-key=VALUE
1798 Default
sort key
(arrival
)
1799 --with-default-addressbook-sort-rule=VALUE
1800 Default addressbook
sort rule
1801 (fullname-with-lists-last
)
1802 --with-default-folder-sort-rule=VALUE
1803 Default folder
sort rule
(alphabetical
)
1804 --with-default-saved-message-name-rule=VALUE
1805 Default saved message name rule
(default-folder
)
1806 --with-default-fcc-rule=VALUE
1807 Default fcc rule
(default-fcc
)
1808 --with-default-standard-printer=VALUE
1809 Default standard printern
(lpr
)
1810 --with-default-ansi-printer=VALUE
1811 ANSI printer definition
(attached-to-ansi
)
1812 --with-default-addressbook=VALUE
1813 Default addressbook name
(.addressbook
)
1814 --with-default-local-fullname=VALUE
1815 Default
local support fullname
("Local Support")
1816 --with-default-local-address=VALUE
1817 Default
local support address
(postmaster
)
1818 --with-default-keyboard-lock-count=VALUE
1819 Default keyboard lock count
(1)
1820 --with-default-remote-addressbook-history=VALUE
1821 Default address book
history count
(3)
1822 --with-smime-public-cert-directory=VALUE
1823 Default Public Cert Directory
(.alpine-smime
/public
)
1824 --with-smime-private-key-directory=VALUE
1825 Default Private Key Directory
1826 (.alpine-smime
/private
)
1827 --with-smime-cacert-directory=VALUE
1828 Default Cert Authority Directory
(.alpine-smime
/ca
)
1829 --with-default-printer=VALUE
1830 Default printer
(ANSI_PRINTER
)
1831 --with-passfile=FILENAME
1832 Password cache
file (NOT secure
, NOT recommended
)
1833 --without-local-password-cache
1834 Disable OS-specific password cache
, if supported
1835 --with-local-password-cache-method
1836 OS-specific credential cache
(OSX
=APPLEKEYCHAIN
,
1838 --with-default-sshpath=FILENAME
1839 set default value of
ssh command path
(defining
1840 should cause
ssh to be preferred to
rsh)
1841 --with-default-sshcmd=PERCENT_S_STRING
1842 set default value of
ssh command string
(usually
"%s
1843 %s -l %s exec /etc/r%sd")
1844 --without-ssl Disable SSL support
(OpenSSL
)
1845 --with-ssl-dir=DIR Root of SSL lib
/include path
1846 --with-ssl-certs-dir=DIR
1847 Path to SSL certificate directory
1848 --with-ssl-include-dir=DIR
1849 SSL include
file path
1850 --with-ssl-lib-dir=DIR SSL library path
1851 --without-krb5 Disable Kerberos support
1852 --with-krb5-dir=DIR Root of Kerberos lib
/include path
1853 --with-krb5-include-dir=DIR
1854 Kerberos include
file path
1855 --with-krb5-lib-dir=DIR Kerberos library path
1856 --without-ldap Disable LDAP query support
1857 --with-ldap-dir=DIR Root of LDAP lib
/include path
1858 --with-ldap-include-dir=DIR
1859 Directory containing LDAP include files
1860 --with-ldap-lib-dir=DIR LDAP library path
1861 --without-smime Disable S
/MIME
1862 --without-tcl Disable TCL
, thus Web Alpine support
1863 --with-tcl-lib=LIBRARY Specific TCL Library
, like
\"tcl8.5
\"
1864 --with-tcl-include=DIR Directory containing TCL include files
1865 --with-supplied-regex Use regex library supplied with alpine
1866 --without-pthread Do NOT
test for nor build with POSIX thread support
1867 --with-system-mail-directory=DIR
1868 Directory where
local mail is delivered
1869 --with-c-client-target=TARGET
1870 IMAP build target
(see imap
/Makefile
)
1871 --without-ipv6 Disable IPv6
, primarily to work around resolver
1874 Some influential environment variables
:
1875 CC C compiler
command
1876 CFLAGS C compiler flags
1877 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1878 nonstandard directory
<lib dir
>
1879 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1880 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1881 you have headers
in a nonstandard directory
<include dir
>
1884 Use these variables to override the choices made by
`configure' or to help
1885 it to find libraries and programs with nonstandard names/locations.
1887 Report bugs to <chappa@washington.edu>.
1892 if test "$ac_init_help" = "recursive"; then
1893 # If there are subdirs, report their specific --help.
1894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1895 test -d "$ac_dir" ||
1896 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1901 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1903 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1904 # A ".." for each directory in $ac_dir_suffix.
1905 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1906 case $ac_top_builddir_sub in
1907 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1908 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1911 ac_abs_top_builddir=$ac_pwd
1912 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1913 # for backward compatibility:
1914 ac_top_builddir=$ac_top_build_prefix
1917 .) # We are building in place.
1919 ac_top_srcdir=$ac_top_builddir_sub
1920 ac_abs_top_srcdir=$ac_pwd ;;
1921 [\\/]* | ?:[\\/]* ) # Absolute name.
1922 ac_srcdir=$srcdir$ac_dir_suffix;
1923 ac_top_srcdir=$srcdir
1924 ac_abs_top_srcdir=$srcdir ;;
1926 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1927 ac_top_srcdir=$ac_top_build_prefix$srcdir
1928 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1930 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1932 cd "$ac_dir" || { ac_status=$?; continue; }
1933 # Check for guested configure.
1934 if test -f "$ac_srcdir/configure.gnu"; then
1936 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1937 elif test -f "$ac_srcdir/configure"; then
1939 $SHELL "$ac_srcdir/configure" --help=recursive
1941 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1943 cd "$ac_pwd" || { ac_status=$?; break; }
1947 test -n "$ac_init_help" && exit $ac_status
1948 if $ac_init_version; then
1950 alpine configure 2.11
1951 generated by GNU Autoconf 2.69
1953 Copyright (C) 2012 Free Software Foundation, Inc.
1954 This configure script is free software; the Free Software Foundation
1955 gives unlimited permission to copy, distribute and modify it.
1960 ## ------------------------ ##
1961 ## Autoconf initialization. ##
1962 ## ------------------------ ##
1964 # ac_fn_c_try_compile LINENO
1965 # --------------------------
1966 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1967 ac_fn_c_try_compile ()
1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970 rm -f conftest.$ac_objext
1971 if { { ac_try="$ac_compile"
1973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1974 *) ac_try_echo
=$ac_try;;
1976 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977 $as_echo "$ac_try_echo"; } >&5
1978 (eval "$ac_compile") 2>conftest.err
1980 if test -s conftest.err
; then
1981 grep -v '^ *+' conftest.err
>conftest.er1
1982 cat conftest.er1
>&5
1983 mv -f conftest.er1 conftest.err
1985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986 test $ac_status = 0; } && {
1987 test -z "$ac_c_werror_flag" ||
1988 test ! -s conftest.err
1989 } && test -s conftest.
$ac_objext; then :
1992 $as_echo "$as_me: failed program was:" >&5
1993 sed 's/^/| /' conftest.
$ac_ext >&5
1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 as_fn_set_status
$ac_retval
2000 } # ac_fn_c_try_compile
2002 # ac_fn_c_try_link LINENO
2003 # -----------------------
2004 # Try to link conftest.$ac_ext, and return whether this succeeded.
2007 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2008 rm -f conftest.
$ac_objext conftest
$ac_exeext
2009 if { { ac_try
="$ac_link"
2011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2012 *) ac_try_echo=$ac_try;;
2014 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2015 $as_echo "$ac_try_echo"; } >&5
2016 (eval "$ac_link") 2>conftest.err
2018 if test -s conftest.err; then
2019 grep -v '^ *+' conftest.err >conftest.er1
2020 cat conftest.er1 >&5
2021 mv -f conftest.er1 conftest.err
2023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2024 test $ac_status = 0; } && {
2025 test -z "$ac_c_werror_flag" ||
2026 test ! -s conftest.err
2027 } && test -s conftest$ac_exeext && {
2028 test "$cross_compiling" = yes ||
2029 test -x conftest$ac_exeext
2033 $as_echo "$as_me: failed program was:" >&5
2034 sed 's/^/| /' conftest.$ac_ext >&5
2038 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2039 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2040 # interfere with the next link command; also delete a directory that is
2041 # left behind by Apple's compiler. We do this before executing the actions.
2042 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044 as_fn_set_status $ac_retval
2046 } # ac_fn_c_try_link
2048 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2049 # -------------------------------------------------------
2050 # Tests whether HEADER exists and can be compiled using the include files in
2051 # INCLUDES, setting the cache variable VAR accordingly.
2052 ac_fn_c_check_header_compile ()
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. */
2065 if ac_fn_c_try_compile "$LINENO"; then :
2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 } # ac_fn_c_check_header_compile
2079 # ac_fn_c_try_cpp LINENO
2080 # ----------------------
2081 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085 if { { ac_try="$ac_cpp conftest.$ac_ext"
2087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2088 *) ac_try_echo
=$ac_try;;
2090 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 $as_echo "$ac_try_echo"; } >&5
2092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2094 if test -s conftest.err
; then
2095 grep -v '^ *+' conftest.err
>conftest.er1
2096 cat conftest.er1
>&5
2097 mv -f conftest.er1 conftest.err
2099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2100 test $ac_status = 0; } > conftest.i
&& {
2101 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2102 test ! -s conftest.err
2106 $as_echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.
$ac_ext >&5
2111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112 as_fn_set_status
$ac_retval
2116 # ac_fn_c_try_run LINENO
2117 # ----------------------
2118 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2119 # that executables *can* be run.
2122 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2123 if { { ac_try
="$ac_link"
2125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_link") 2>&5
2132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2133 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2134 { { case "(($ac_try" in
2135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2136 *) ac_try_echo
=$ac_try;;
2138 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2139 $as_echo "$ac_try_echo"; } >&5
2140 (eval "$ac_try") 2>&5
2142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2143 test $ac_status = 0; }; }; then :
2146 $as_echo "$as_me: program exited with status $ac_status" >&5
2147 $as_echo "$as_me: failed program was:" >&5
2148 sed 's/^/| /' conftest.
$ac_ext >&5
2150 ac_retval
=$ac_status
2152 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2153 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2154 as_fn_set_status
$ac_retval
2158 # ac_fn_c_check_func LINENO FUNC VAR
2159 # ----------------------------------
2160 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2161 ac_fn_c_check_func
()
2163 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2165 $as_echo_n "checking for $2... " >&6; }
2166 if eval \
${$3+:} false
; then :
2167 $as_echo_n "(cached) " >&6
2169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h. */
2171 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2173 #define $2 innocuous_$2
2175 /* System header to define __stub macros and hopefully few prototypes,
2176 which can conflict with char $2 (); below.
2177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2178 <limits.h> exists even on freestanding compilers. */
2181 # include <limits.h>
2183 # include <assert.h>
2188 /* Override any GCC internal prototype to avoid an error.
2189 Use char because int might match the return type of a GCC
2190 builtin and then its argument prototype would still apply. */
2195 /* The GNU C library defines this for functions which it implements
2196 to always fail with ENOSYS. Some functions are actually named
2197 something starting with __ and the normal name is an alias. */
2198 #if defined __stub_$2 || defined __stub___$2
2210 if ac_fn_c_try_link
"$LINENO"; then :
2215 rm -f core conftest.err conftest.
$ac_objext \
2216 conftest
$ac_exeext conftest.
$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2223 } # ac_fn_c_check_func
2225 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2226 # -------------------------------------------------------
2227 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2228 # the include files in INCLUDES and setting the cache variable VAR
2230 ac_fn_c_check_header_mongrel
()
2232 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2233 if eval \
${$3+:} false
; then :
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2235 $as_echo_n "checking for $2... " >&6; }
2236 if eval \
${$3+:} false
; then :
2237 $as_echo_n "(cached) " >&6
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2241 $as_echo "$ac_res" >&6; }
2243 # Is the header compilable?
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2245 $as_echo_n "checking $2 usability... " >&6; }
2246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2247 /* end confdefs.h. */
2251 if ac_fn_c_try_compile
"$LINENO"; then :
2252 ac_header_compiler
=yes
2254 ac_header_compiler
=no
2256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2258 $as_echo "$ac_header_compiler" >&6; }
2260 # Is the header present?
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2262 $as_echo_n "checking $2 presence... " >&6; }
2263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2264 /* end confdefs.h. */
2267 if ac_fn_c_try_cpp
"$LINENO"; then :
2268 ac_header_preproc
=yes
2270 ac_header_preproc
=no
2272 rm -f conftest.err conftest.i conftest.
$ac_ext
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2274 $as_echo "$ac_header_preproc" >&6; }
2276 # So? What about this header?
2277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2280 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2282 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2286 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2288 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2290 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2292 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2294 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2295 ( $as_echo "## ------------------------------------ ##
2296 ## Report this to chappa@washington.edu ##
2297 ## ------------------------------------ ##"
2298 ) |
sed "s/^/$as_me: WARNING: /" >&2
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2302 $as_echo_n "checking for $2... " >&6; }
2303 if eval \
${$3+:} false
; then :
2304 $as_echo_n "(cached) " >&6
2306 eval "$3=\$ac_header_compiler"
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2310 $as_echo "$ac_res" >&6; }
2312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2314 } # ac_fn_c_check_header_mongrel
2316 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2317 # -------------------------------------------
2318 # Tests whether TYPE exists after having included INCLUDES, setting cache
2319 # variable VAR accordingly.
2320 ac_fn_c_check_type
()
2322 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2324 $as_echo_n "checking for $2... " >&6; }
2325 if eval \
${$3+:} false
; then :
2326 $as_echo_n "(cached) " >&6
2329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h. */
2341 if ac_fn_c_try_compile
"$LINENO"; then :
2342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2343 /* end confdefs.h. */
2354 if ac_fn_c_try_compile
"$LINENO"; then :
2359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2365 $as_echo "$ac_res" >&6; }
2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2368 } # ac_fn_c_check_type
2370 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2371 # --------------------------------------------
2372 # Tries to find the compile-time value of EXPR in a program that includes
2373 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2375 ac_fn_c_compute_int
()
2377 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2378 if test "$cross_compiling" = yes; then
2379 # Depending upon the size, compute the lo and hi bounds.
2380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2381 /* end confdefs.h. */
2386 static int test_array [1 - 2 * !(($2) >= 0)];
2388 return test_array [0];
2394 if ac_fn_c_try_compile
"$LINENO"; then :
2397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2403 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2405 return test_array [0];
2411 if ac_fn_c_try_compile
"$LINENO"; then :
2412 ac_hi
=$ac_mid; break
2414 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2415 if test $ac_lo -le $ac_mid; then
2419 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2430 static int test_array [1 - 2 * !(($2) < 0)];
2432 return test_array [0];
2438 if ac_fn_c_try_compile
"$LINENO"; then :
2441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2447 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2449 return test_array [0];
2455 if ac_fn_c_try_compile
"$LINENO"; then :
2456 ac_lo
=$ac_mid; break
2458 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2459 if test $ac_mid -le $ac_hi; then
2463 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2473 # Binary search between lo and hi bounds.
2474 while test "x$ac_lo" != "x$ac_hi"; do
2475 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2482 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2484 return test_array [0];
2490 if ac_fn_c_try_compile
"$LINENO"; then :
2493 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2498 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2503 /* end confdefs.h. */
2505 static long int longval () { return $2; }
2506 static unsigned long int ulongval () { return $2; }
2513 FILE *f = fopen ("conftest.val", "w");
2518 long int i = longval ();
2521 fprintf (f, "%ld", i);
2525 unsigned long int i = ulongval ();
2528 fprintf (f, "%lu", i);
2530 /* Do not output a trailing newline, as this causes \r\n confusion
2531 on some platforms. */
2532 return ferror (f) || fclose (f) != 0;
2538 if ac_fn_c_try_run
"$LINENO"; then :
2539 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2543 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2544 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2549 as_fn_set_status
$ac_retval
2551 } # ac_fn_c_compute_int
2552 cat >config.log
<<_ACEOF
2553 This file contains any messages produced by compilers while
2554 running configure, to aid debugging if configure makes a mistake.
2556 It was created by alpine $as_me 2.11, which was
2557 generated by GNU Autoconf 2.69. Invocation command line was
2569 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2570 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2571 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2572 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2573 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2575 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2576 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2578 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2579 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2580 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2581 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2582 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2583 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2584 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir
=.
2593 $as_echo "PATH: $as_dir"
2609 # Keep a trace of the command line.
2610 # Strip out --no-create and --no-recursion so they do not pile up.
2611 # Strip out --silent because we don't want to record it for future runs.
2612 # Also quote any args containing shell meta-characters.
2613 # Make two passes to allow for proper duplicate-argument suppression.
2617 ac_must_keep_next
=false
2623 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2624 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2625 |
-silent |
--silent |
--silen |
--sile |
--sil)
2628 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2631 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2633 as_fn_append ac_configure_args1
" '$ac_arg'"
2634 if test $ac_must_keep_next = true
; then
2635 ac_must_keep_next
=false
# Got value, back to normal.
2638 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2639 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2640 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2641 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2642 case "$ac_configure_args0 " in
2643 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2646 -* ) ac_must_keep_next
=true
;;
2649 as_fn_append ac_configure_args
" '$ac_arg'"
2654 { ac_configure_args0
=; unset ac_configure_args0
;}
2655 { ac_configure_args1
=; unset ac_configure_args1
;}
2657 # When interrupted or exit'd, cleanup temporary files, and complete
2658 # config.log. We remove comments because anyway the quotes in there
2659 # would cause problems or look ugly.
2660 # WARNING: Use '\'' to represent an apostrophe within the trap.
2661 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2662 trap 'exit_status=$?
2663 # Save into config.log some information that might help in debugging.
2667 $as_echo "## ---------------- ##
2668 ## Cache variables. ##
2669 ## ---------------- ##"
2671 # The following way of writing the cache mishandles newlines in values,
2673 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2674 eval ac_val=\$$ac_var
2678 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2682 _ | IFS | as_nl) ;; #(
2683 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2684 *) { eval $ac_var=; unset $ac_var;} ;;
2689 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2690 *${as_nl}ac_space=\ *)
2692 "s/'\''/'\''\\\\'\'''\''/g;
2693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2696 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2703 $as_echo "## ----------------- ##
2704 ## Output variables. ##
2705 ## ----------------- ##"
2707 for ac_var in $ac_subst_vars
2709 eval ac_val=\$$ac_var
2711 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2713 $as_echo "$ac_var='\''$ac_val'\''"
2717 if test -n "$ac_subst_files"; then
2718 $as_echo "## ------------------- ##
2719 ## File substitutions. ##
2720 ## ------------------- ##"
2722 for ac_var
in $ac_subst_files
2724 eval ac_val
=\$
$ac_var
2726 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2728 $as_echo "$ac_var='\''$ac_val'\''"
2733 if test -s confdefs.h; then
2734 $as_echo "## ----------- ##
2741 test "$ac_signal" != 0 &&
2742 $as_echo "$as_me: caught signal $ac_signal"
2743 $as_echo "$as_me: exit $exit_status"
2745 rm -f core *.core core.conftest.* &&
2746 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2749 for ac_signal
in 1 2 13 15; do
2750 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2754 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2755 rm -f -r conftest
* confdefs.h
2757 $as_echo "/* confdefs.h */" > confdefs.h
2759 # Predefined preprocessor variables.
2761 cat >>confdefs.h
<<_ACEOF
2762 #define PACKAGE_NAME "$PACKAGE_NAME"
2765 cat >>confdefs.h
<<_ACEOF
2766 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2769 cat >>confdefs.h
<<_ACEOF
2770 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2773 cat >>confdefs.h
<<_ACEOF
2774 #define PACKAGE_STRING "$PACKAGE_STRING"
2777 cat >>confdefs.h
<<_ACEOF
2778 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2781 cat >>confdefs.h
<<_ACEOF
2782 #define PACKAGE_URL "$PACKAGE_URL"
2786 # Let the site file select an alternate cache file if it wants to.
2787 # Prefer an explicitly selected file to automatically selected ones.
2790 if test -n "$CONFIG_SITE"; then
2791 # We do not want a PATH search for config.site.
2792 case $CONFIG_SITE in #((
2793 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2794 */*) ac_site_file1
=$CONFIG_SITE;;
2795 *) ac_site_file1
=.
/$CONFIG_SITE;;
2797 elif test "x$prefix" != xNONE
; then
2798 ac_site_file1
=$prefix/share
/config.site
2799 ac_site_file2
=$prefix/etc
/config.site
2801 ac_site_file1
=$ac_default_prefix/share
/config.site
2802 ac_site_file2
=$ac_default_prefix/etc
/config.site
2804 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2806 test "x$ac_site_file" = xNONE
&& continue
2807 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2809 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2810 sed 's/^/| /' "$ac_site_file" >&5
2812 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814 as_fn_error $?
"failed to load site script $ac_site_file
2815 See \`config.log' for more details" "$LINENO" 5; }
2819 if test -r "$cache_file"; then
2820 # Some versions of bash will fail to source /dev/null (special files
2821 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2822 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2824 $as_echo "$as_me: loading cache $cache_file" >&6;}
2826 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2827 *) .
"./$cache_file";;
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2832 $as_echo "$as_me: creating cache $cache_file" >&6;}
2836 gt_needs
="$gt_needs "
2837 # Check that the precious variables saved in the cache have kept the same
2839 ac_cache_corrupted
=false
2840 for ac_var
in $ac_precious_vars; do
2841 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2842 eval ac_new_set
=\
$ac_env_${ac_var}_set
2843 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2844 eval ac_new_val
=\
$ac_env_${ac_var}_value
2845 case $ac_old_set,$ac_new_set in
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2848 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2849 ac_cache_corrupted
=: ;;
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2852 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2853 ac_cache_corrupted
=: ;;
2856 if test "x$ac_old_val" != "x$ac_new_val"; then
2857 # differences in whitespace do not lead to failure.
2858 ac_old_val_w
=`echo x $ac_old_val`
2859 ac_new_val_w
=`echo x $ac_new_val`
2860 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2862 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2863 ac_cache_corrupted
=:
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2866 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2867 eval $ac_var=\
$ac_old_val
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2870 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2872 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2875 # Pass precious variables to config.status.
2876 if test "$ac_new_set" = set; then
2878 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2879 *) ac_arg
=$ac_var=$ac_new_val ;;
2881 case " $ac_configure_args " in
2882 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2883 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2887 if $ac_cache_corrupted; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2891 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2892 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2894 ## -------------------- ##
2895 ## Main body of script. ##
2896 ## -------------------- ##
2899 ac_cpp
='$CPP $CPPFLAGS'
2900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2907 ac_config_headers
="$ac_config_headers include/config.h"
2910 am__api_version
='1.11'
2913 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2914 if test -f "$ac_dir/install-sh"; then
2916 ac_install_sh
="$ac_aux_dir/install-sh -c"
2918 elif test -f "$ac_dir/install.sh"; then
2920 ac_install_sh
="$ac_aux_dir/install.sh -c"
2922 elif test -f "$ac_dir/shtool"; then
2924 ac_install_sh
="$ac_aux_dir/shtool install -c"
2928 if test -z "$ac_aux_dir"; then
2929 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2932 # These three variables are undocumented and unsupported,
2933 # and are intended to be withdrawn in a future Autoconf release.
2934 # They can cause serious problems if a builder's source tree is in a directory
2935 # whose full name contains unusual characters.
2936 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2937 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2938 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2941 # Find a good install program. We prefer a C program (faster),
2942 # so one script is as good as another. But avoid the broken or
2943 # incompatible versions:
2944 # SysV /etc/install, /usr/sbin/install
2945 # SunOS /usr/etc/install
2946 # IRIX /sbin/install
2948 # AmigaOS /C/install, which installs bootblocks on floppy discs
2949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2952 # OS/2's system install, which has a completely different semantic
2953 # ./install, which can be erroneously created by make from ./install.sh.
2954 # Reject install programs that cannot install multiple files.
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2956 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2957 if test -z "$INSTALL"; then
2958 if ${ac_cv_path_install+:} false
; then :
2959 $as_echo_n "(cached) " >&6
2961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir
=.
2966 # Account for people who put trailing slashes in PATH elements.
2967 case $as_dir/ in #((
2968 .
/ | .
// |
/[cC
]/* | \
2969 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2970 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2973 # OSF1 and SCO ODT 3.0 have their own names for install.
2974 # Don't use installbsd from OSF since it installs stuff as root
2976 for ac_prog
in ginstall scoinst
install; do
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2979 if test $ac_prog = install &&
2980 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2981 # AIX install. It has an incompatible calling convention.
2983 elif test $ac_prog = install &&
2984 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2985 # program-specific install script used by HP pwplus--don't use.
2988 rm -rf conftest.one conftest.two conftest.dir
2989 echo one
> conftest.one
2990 echo two
> conftest.two
2992 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2993 test -s conftest.one
&& test -s conftest.two
&&
2994 test -s conftest.dir
/conftest.one
&&
2995 test -s conftest.dir
/conftest.two
2997 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3010 rm -rf conftest.one conftest.two conftest.dir
3013 if test "${ac_cv_path_install+set}" = set; then
3014 INSTALL
=$ac_cv_path_install
3016 # As a last resort, use the slow shell script. Don't cache a
3017 # value for INSTALL within a source directory, because that will
3018 # break other packages using the cache if that directory is
3019 # removed, or if the value is a relative name.
3020 INSTALL
=$ac_install_sh
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3024 $as_echo "$INSTALL" >&6; }
3026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3027 # It thinks the first close brace ends the variable substitution.
3028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3032 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3035 $as_echo_n "checking whether build environment is sane... " >&6; }
3038 echo timestamp
> conftest.
file
3039 # Reject unsafe characters in $srcdir or the absolute working directory
3040 # name. Accept space and tab only in the latter.
3044 *[\\\"\
#\$\&\'\`$am_lf]*)
3045 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3048 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3049 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3052 # Do `set' in a subshell so we don't clobber the current shell's
3053 # arguments. Must try -L first in case configure is actually a
3054 # symlink; some systems play weird games with the mod time of symlinks
3055 # (eg FreeBSD returns the mod time of the symlink's containing
3058 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3059 if test "$*" = "X"; then
3061 set X
`ls -t "$srcdir/configure" conftest.file`
3064 if test "$*" != "X $srcdir/configure conftest.file" \
3065 && test "$*" != "X conftest.file $srcdir/configure"; then
3067 # If neither matched, then we have a broken ls. This can happen
3068 # if, for instance, CONFIG_SHELL is bash and it inherits a
3069 # broken ls alias from the environment. This has actually
3070 # happened. Such a system could not be considered "sane".
3071 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3072 alias in your environment" "$LINENO" 5
3075 test "$2" = conftest.
file
3081 as_fn_error $?
"newly created file is older than distributed files!
3082 Check your system clock" "$LINENO" 5
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3085 $as_echo "yes" >&6; }
3086 test "$program_prefix" != NONE
&&
3087 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3088 # Use a double $ so make ignores it.
3089 test "$program_suffix" != NONE
&&
3090 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3091 # Double any \ or $.
3092 # By default was `s,x,x', remove it if useless.
3093 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3094 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3096 # expand $ac_aux_dir to an absolute path
3097 am_aux_dir
=`cd $ac_aux_dir && pwd`
3099 if test x
"${MISSING+set}" != xset
; then
3102 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3104 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3107 # Use eval to expand $SHELL
3108 if eval "$MISSING --run true"; then
3109 am_missing_run
="$MISSING --run "
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3113 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3116 if test x
"${install_sh}" != xset
; then
3119 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3121 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3125 # Installed binaries are usually stripped using `strip' when the user
3126 # run `make install-strip'. However `strip' might not be the right
3127 # tool to use in cross-compilation environments, therefore Automake
3128 # will honor the `STRIP' environment variable to overrule this program.
3129 if test "$cross_compiling" != no
; then
3130 if test -n "$ac_tool_prefix"; then
3131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3132 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_STRIP+:} false
; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$STRIP"; then
3139 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 STRIP
=$ac_cv_prog_STRIP
3159 if test -n "$STRIP"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3161 $as_echo "$STRIP" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3169 if test -z "$ac_cv_prog_STRIP"; then
3171 # Extract the first word of "strip", so it can be a program name with args.
3172 set dummy strip
; ac_word
=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$ac_ct_STRIP"; then
3179 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3188 ac_cv_prog_ac_ct_STRIP
="strip"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3199 if test -n "$ac_ct_STRIP"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3201 $as_echo "$ac_ct_STRIP" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3207 if test "x$ac_ct_STRIP" = x
; then
3210 case $cross_compiling:$ac_tool_warned in
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3214 ac_tool_warned
=yes ;;
3219 STRIP
="$ac_cv_prog_STRIP"
3223 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3226 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3227 if test -z "$MKDIR_P"; then
3228 if ${ac_cv_path_mkdir+:} false
; then :
3229 $as_echo_n "(cached) " >&6
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3232 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_prog
in mkdir gmkdir
; do
3237 for ac_exec_ext
in '' $ac_executable_extensions; do
3238 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3239 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3240 'mkdir (GNU coreutils) '* | \
3241 'mkdir (coreutils) '* | \
3242 'mkdir (fileutils) '4.1*)
3243 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3253 test -d .
/--version && rmdir .
/--version
3254 if test "${ac_cv_path_mkdir+set}" = set; then
3255 MKDIR_P
="$ac_cv_path_mkdir -p"
3257 # As a last resort, use the slow shell script. Don't cache a
3258 # value for MKDIR_P within a source directory, because that will
3259 # break other packages using the cache if that directory is
3260 # removed, or if the value is a relative name.
3261 MKDIR_P
="$ac_install_sh -d"
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3265 $as_echo "$MKDIR_P" >&6; }
3269 [\\/$
]* | ?
:[\\/]*) ;;
3270 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3273 for ac_prog
in gawk mawk nawk
awk
3275 # Extract the first word of "$ac_prog", so it can be a program name with args.
3276 set dummy
$ac_prog; ac_word
=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if ${ac_cv_prog_AWK+:} false
; then :
3280 $as_echo_n "(cached) " >&6
3282 if test -n "$AWK"; then
3283 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir
=.
3290 for ac_exec_ext
in '' $ac_executable_extensions; do
3291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3292 ac_cv_prog_AWK
="$ac_prog"
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test -n "$AWK"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3305 $as_echo "$AWK" >&6; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3312 test -n "$AWK" && break
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3316 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3318 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3319 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3320 $as_echo_n "(cached) " >&6
3322 cat >conftest.
make <<\_ACEOF
3325 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3327 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3328 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3330 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3332 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3336 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3338 $as_echo "yes" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 SET_MAKE
="MAKE=${MAKE-make}"
3346 rm -rf .tst
2>/dev
/null
3347 mkdir .tst
2>/dev
/null
3348 if test -d .tst
; then
3353 rmdir .tst
2>/dev
/null
3355 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3356 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3357 # is not polluted with repeated "-I."
3358 am__isrc
=' -I$(srcdir)'
3359 # test to see if srcdir already configured
3360 if test -f $srcdir/config.status
; then
3361 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3365 # test whether we have cygpath
3366 if test -z "$CYGPATH_W"; then
3367 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3368 CYGPATH_W
='cygpath -w'
3375 # Define the identity of the package.
3380 cat >>confdefs.h
<<_ACEOF
3381 #define PACKAGE "$PACKAGE"
3385 cat >>confdefs.h
<<_ACEOF
3386 #define VERSION "$VERSION"
3389 # Some tools Automake needs.
3391 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3394 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3397 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3400 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3403 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3405 # We need awk for the "check" target. The system "awk" is bad on
3407 # Always define AMTAR for backward compatibility.
3409 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3411 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3420 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3421 # Check whether --enable-maintainer-mode was given.
3422 if test "${enable_maintainer_mode+set}" = set; then :
3423 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3425 USE_MAINTAINER_MODE
=no
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3429 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3430 if test $USE_MAINTAINER_MODE = yes; then
3431 MAINTAINER_MODE_TRUE
=
3432 MAINTAINER_MODE_FALSE
='#'
3434 MAINTAINER_MODE_TRUE
='#'
3435 MAINTAINER_MODE_FALSE
=
3438 MAINT
=$MAINTAINER_MODE_TRUE
3442 # Make sure we can run config.sub.
3443 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3444 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3447 $as_echo_n "checking build system type... " >&6; }
3448 if ${ac_cv_build+:} false
; then :
3449 $as_echo_n "(cached) " >&6
3451 ac_build_alias
=$build_alias
3452 test "x$ac_build_alias" = x
&&
3453 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3454 test "x$ac_build_alias" = x
&&
3455 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3456 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3457 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3461 $as_echo "$ac_cv_build" >&6; }
3462 case $ac_cv_build in
3464 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3467 ac_save_IFS
=$IFS; IFS
='-'
3473 # Remember, the first character of IFS is used to create $*,
3474 # except with old shells:
3477 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3481 $as_echo_n "checking host system type... " >&6; }
3482 if ${ac_cv_host+:} false
; then :
3483 $as_echo_n "(cached) " >&6
3485 if test "x$host_alias" = x
; then
3486 ac_cv_host
=$ac_cv_build
3488 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3489 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3494 $as_echo "$ac_cv_host" >&6; }
3497 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3500 ac_save_IFS
=$IFS; IFS
='-'
3506 # Remember, the first character of IFS is used to create $*,
3507 # except with old shells:
3510 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3515 ac_cpp
='$CPP $CPPFLAGS'
3516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host))" >&5
3522 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host))" >&6;}
3524 # start out with intent to build Web Alpine
3525 WEB_BUILD
=web
/src
/alpined.d
3529 ac_cpp
='$CPP $CPPFLAGS'
3530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3533 if test -n "$ac_tool_prefix"; then
3534 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3535 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3537 $as_echo_n "checking for $ac_word... " >&6; }
3538 if ${ac_cv_prog_CC+:} false
; then :
3539 $as_echo_n "(cached) " >&6
3541 if test -n "$CC"; then
3542 ac_cv_prog_CC
="$CC" # Let the user override the test.
3544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3548 test -z "$as_dir" && as_dir
=.
3549 for ac_exec_ext
in '' $ac_executable_extensions; do
3550 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3551 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 if test -n "$CC"; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3564 $as_echo "$CC" >&6; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3572 if test -z "$ac_cv_prog_CC"; then
3574 # Extract the first word of "gcc", so it can be a program name with args.
3575 set dummy gcc
; ac_word
=$2
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577 $as_echo_n "checking for $ac_word... " >&6; }
3578 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3579 $as_echo_n "(cached) " >&6
3581 if test -n "$ac_ct_CC"; then
3582 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3588 test -z "$as_dir" && as_dir
=.
3589 for ac_exec_ext
in '' $ac_executable_extensions; do
3590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3591 ac_cv_prog_ac_ct_CC
="gcc"
3592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3602 if test -n "$ac_ct_CC"; then
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3604 $as_echo "$ac_ct_CC" >&6; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3610 if test "x$ac_ct_CC" = x
; then
3613 case $cross_compiling:$ac_tool_warned in
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3617 ac_tool_warned
=yes ;;
3625 if test -z "$CC"; then
3626 if test -n "$ac_tool_prefix"; then
3627 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3628 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630 $as_echo_n "checking for $ac_word... " >&6; }
3631 if ${ac_cv_prog_CC+:} false
; then :
3632 $as_echo_n "(cached) " >&6
3634 if test -n "$CC"; then
3635 ac_cv_prog_CC
="$CC" # Let the user override the test.
3637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir
=.
3642 for ac_exec_ext
in '' $ac_executable_extensions; do
3643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3644 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 if test -n "$CC"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3657 $as_echo "$CC" >&6; }
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660 $as_echo "no" >&6; }
3666 if test -z "$CC"; then
3667 # Extract the first word of "cc", so it can be a program name with args.
3668 set dummy cc
; ac_word
=$2
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3670 $as_echo_n "checking for $ac_word... " >&6; }
3671 if ${ac_cv_prog_CC+:} false
; then :
3672 $as_echo_n "(cached) " >&6
3674 if test -n "$CC"; then
3675 ac_cv_prog_CC
="$CC" # Let the user override the test.
3678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir
=.
3683 for ac_exec_ext
in '' $ac_executable_extensions; do
3684 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3685 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3686 ac_prog_rejected
=yes
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 if test $ac_prog_rejected = yes; then
3698 # We found a bogon in the path, so make sure we never use it.
3699 set dummy
$ac_cv_prog_CC
3701 if test $# != 0; then
3702 # We chose a different compiler from the bogus one.
3703 # However, it has the same basename, so the bogon will be chosen
3704 # first if we set CC to just the basename; use the full file name.
3706 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3712 if test -n "$CC"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3714 $as_echo "$CC" >&6; }
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 $as_echo "no" >&6; }
3722 if test -z "$CC"; then
3723 if test -n "$ac_tool_prefix"; then
3724 for ac_prog
in cl.exe
3726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3727 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_CC+:} false
; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$CC"; then
3734 ac_cv_prog_CC
="$CC" # Let the user override the test.
3736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir
=.
3741 for ac_exec_ext
in '' $ac_executable_extensions; do
3742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3743 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 if test -n "$CC"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756 $as_echo "$CC" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3763 test -n "$CC" && break
3766 if test -z "$CC"; then
3768 for ac_prog
in cl.exe
3770 # Extract the first word of "$ac_prog", so it can be a program name with args.
3771 set dummy
$ac_prog; ac_word
=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$ac_ct_CC"; then
3778 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir
=.
3785 for ac_exec_ext
in '' $ac_executable_extensions; do
3786 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_ac_ct_CC
="$ac_prog"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3798 if test -n "$ac_ct_CC"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3800 $as_echo "$ac_ct_CC" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3807 test -n "$ac_ct_CC" && break
3810 if test "x$ac_ct_CC" = x
; then
3813 case $cross_compiling:$ac_tool_warned in
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3817 ac_tool_warned
=yes ;;
3826 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3828 as_fn_error $?
"no acceptable C compiler found in \$PATH
3829 See \`config.log' for more details" "$LINENO" 5; }
3831 # Provide some information about the compiler.
3832 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3835 for ac_option
in --version -v -V -qversion; do
3836 { { ac_try
="$ac_compiler $ac_option >&5"
3838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3839 *) ac_try_echo=$ac_try;;
3841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3842 $as_echo "$ac_try_echo"; } >&5
3843 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3845 if test -s conftest.err; then
3847 ... rest of stderr output deleted ...
3848 10q' conftest.err >conftest.er1
3849 cat conftest.er1 >&5
3851 rm -f conftest.er1 conftest.err
3852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3853 test $ac_status = 0; }
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3867 ac_clean_files_save=$ac_clean_files
3868 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3869 # Try to create an executable without -o first, disregard a.out.
3870 # It will help us diagnose broken compilers, and finding out an intuition
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3873 $as_echo_n "checking whether the C compiler works... " >&6; }
3874 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3876 # The possible output files:
3877 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3880 for ac_file in $ac_files
3883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3884 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3889 if { { ac_try="$ac_link_default"
3891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3892 *) ac_try_echo
=$ac_try;;
3894 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896 (eval "$ac_link_default") 2>&5
3898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899 test $ac_status = 0; }; then :
3900 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3901 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3902 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3903 # so that the user can short-circuit this test for compilers unknown to
3905 for ac_file
in $ac_files ''
3907 test -f "$ac_file" ||
continue
3909 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3912 # We found the default executable, but exeext='' is most
3916 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3918 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3920 # We set ac_cv_exeext here because the later test for it is not
3921 # safe: cross compilers may not add the suffix if given an `-o'
3922 # argument, so we may need to know it at that point already.
3923 # Even if this section looks crufty: it has the advantage of
3930 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3935 if test -z "$ac_file"; then :
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3938 $as_echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.
$ac_ext >&5
3941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3943 as_fn_error
77 "C compiler cannot create executables
3944 See \`config.log' for more details" "$LINENO" 5; }
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3947 $as_echo "yes" >&6; }
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3950 $as_echo_n "checking for C compiler default output file name... " >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3952 $as_echo "$ac_file" >&6; }
3953 ac_exeext
=$ac_cv_exeext
3955 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3956 ac_clean_files
=$ac_clean_files_save
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3958 $as_echo_n "checking for suffix of executables... " >&6; }
3959 if { { ac_try
="$ac_link"
3961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
3966 (eval "$ac_link") 2>&5
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969 test $ac_status = 0; }; then :
3970 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3971 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3972 # work properly (i.e., refer to `conftest.exe'), while it won't with
3974 for ac_file
in conftest.exe conftest conftest.
*; do
3975 test -f "$ac_file" ||
continue
3977 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3978 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3986 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3987 See \`config.log' for more details" "$LINENO" 5; }
3989 rm -f conftest conftest
$ac_cv_exeext
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3991 $as_echo "$ac_cv_exeext" >&6; }
3993 rm -f conftest.
$ac_ext
3994 EXEEXT
=$ac_cv_exeext
3996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4002 FILE *f = fopen ("conftest.out", "w");
4003 return ferror (f) || fclose (f) != 0;
4009 ac_clean_files
="$ac_clean_files conftest.out"
4010 # Check that the compiler produces executables we can run. If not, either
4011 # the compiler is broken, or we cross compile.
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4013 $as_echo_n "checking whether we are cross compiling... " >&6; }
4014 if test "$cross_compiling" != yes; then
4015 { { ac_try
="$ac_link"
4017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_link") 2>&5
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }
4026 if { ac_try='./conftest$ac_cv_exeext'
4027 { { case "(($ac_try" in
4028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4029 *) ac_try_echo
=$ac_try;;
4031 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_try") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; }; then
4039 if test "$cross_compiling" = maybe
; then
4042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044 as_fn_error $?
"cannot run C compiled programs.
4045 If you meant to cross compile, use \`--host'.
4046 See \`config.log' for more details" "$LINENO" 5; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4051 $as_echo "$cross_compiling" >&6; }
4053 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4054 ac_clean_files
=$ac_clean_files_save
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4056 $as_echo_n "checking for suffix of object files... " >&6; }
4057 if ${ac_cv_objext+:} false
; then :
4058 $as_echo_n "(cached) " >&6
4060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4061 /* end confdefs.h. */
4071 rm -f conftest.o conftest.obj
4072 if { { ac_try
="$ac_compile"
4074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4078 $as_echo "$ac_try_echo"; } >&5
4079 (eval "$ac_compile") 2>&5
4081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4082 test $ac_status = 0; }; then :
4083 for ac_file in conftest.o conftest.obj conftest.*; do
4084 test -f "$ac_file" || continue;
4086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4087 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4092 $as_echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4097 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4098 See \
`config.log' for more details" "$LINENO" 5; }
4100 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4103 $as_echo "$ac_cv_objext" >&6; }
4104 OBJEXT=$ac_cv_objext
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4107 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4108 if ${ac_cv_c_compiler_gnu+:} false; then :
4109 $as_echo_n "(cached) " >&6
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4125 if ac_fn_c_try_compile "$LINENO"; then :
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4135 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4136 if test $ac_compiler_gnu = yes; then
4141 ac_test_CFLAGS=${CFLAGS+set}
4142 ac_save_CFLAGS=$CFLAGS
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4144 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4145 if ${ac_cv_prog_cc_g+:} false; then :
4146 $as_echo_n "(cached) " >&6
4148 ac_save_c_werror_flag=$ac_c_werror_flag
4149 ac_c_werror_flag=yes
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4163 if ac_fn_c_try_compile "$LINENO"; then :
4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4178 if ac_fn_c_try_compile "$LINENO"; then :
4181 ac_c_werror_flag=$ac_save_c_werror_flag
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4194 if ac_fn_c_try_compile "$LINENO"; then :
4197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 ac_c_werror_flag=$ac_save_c_werror_flag
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4205 $as_echo "$ac_cv_prog_cc_g" >&6; }
4206 if test "$ac_test_CFLAGS" = set; then
4207 CFLAGS=$ac_save_CFLAGS
4208 elif test $ac_cv_prog_cc_g = yes; then
4209 if test "$GCC" = yes; then
4215 if test "$GCC" = yes; then
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4222 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4223 if ${ac_cv_prog_cc_c89+:} false; then :
4224 $as_echo_n "(cached) " >&6
4226 ac_cv_prog_cc_c89=no
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4234 struct buf { int x; };
4235 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4236 static char *e (p, i)
4242 static char *f (char * (*g) (char **, int), char **p, ...)
4247 s = g (p, va_arg (v,int));
4252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4253 function prototypes and stuff, but not '\xHH' hex character constants.
4254 These don't provoke an error unfortunately, instead are silently treated
4255 as 'x'. The following induces an error, until -std is added to get
4256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4257 array size at least. It's necessary to write '\x00'==0 to get something
4258 that's true only with -std. */
4259 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4262 inside strings and character constants. */
4264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4266 int test (int i, double x);
4267 struct s1 {int (*f) (int a);};
4268 struct s2 {int (*f) (double a);};
4269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4275 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4283 CC="$ac_save_CC $ac_arg"
4284 if ac_fn_c_try_compile "$LINENO"; then :
4285 ac_cv_prog_cc_c89=$ac_arg
4287 rm -f core conftest.err conftest.$ac_objext
4288 test "x$ac_cv_prog_cc_c89" != "xno" && break
4290 rm -f conftest.$ac_ext
4295 case "x$ac_cv_prog_cc_c89" in
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4298 $as_echo "none needed" >&6; } ;;
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4301 $as_echo "unsupported" >&6; } ;;
4303 CC="$CC $ac_cv_prog_cc_c89"
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4305 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4307 if test "x$ac_cv_prog_cc_c89" != xno; then :
4312 ac_cpp='$CPP $CPPFLAGS'
4313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4316 DEPDIR="${am__leading_dot}deps"
4318 ac_config_commands="$ac_config_commands depfiles"
4321 am_make=${MAKE-make}
4322 cat > confinc << 'END'
4324 @echo this is the am__doit target
4327 # If we don't find an include directive, just comment out the code.
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4329 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4333 # First try GNU make style include.
4334 echo "include confinc" > confmf
4335 # Ignore all kinds of additional output from `make'.
4336 case `$am_make -s -f confmf 2> /dev/null` in #(
4337 *the\ am__doit\ target*)
4343 # Now try BSD make style include.
4344 if test "$am__include" = "#"; then
4345 echo '.include
"confinc"' > confmf
4346 case `$am_make -s -f confmf 2> /dev/null` in #(
4347 *the\ am__doit\ target*)
4348 am__include=.include
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4357 $as_echo "$_am_result" >&6; }
4358 rm -f confinc confmf
4360 # Check whether --enable-dependency-tracking was given.
4361 if test "${enable_dependency_tracking+set}" = set; then :
4362 enableval=$enable_dependency_tracking;
4365 if test "x$enable_dependency_tracking" != xno; then
4366 am_depcomp="$ac_aux_dir/depcomp"
4369 if test "x$enable_dependency_tracking" != xno
; then
4379 depcc
="$CC" am_compiler_list
=
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4382 $as_echo_n "checking dependency style of $depcc... " >&6; }
4383 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4384 $as_echo_n "(cached) " >&6
4386 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4387 # We make a subdir and do the tests there. Otherwise we can end up
4388 # making bogus files that we don't know about and never remove. For
4389 # instance it was reported that on HP-UX the gcc test will end up
4390 # making a dummy file named `D' -- because `-MD' means `put the output
4393 # Copy depcomp to subdir because otherwise we won't find it if we're
4394 # using a relative directory.
4395 cp "$am_depcomp" conftest.dir
4397 # We will build objects and dependencies in a subdirectory because
4398 # it helps to detect inapplicable dependency modes. For instance
4399 # both Tru64's cc and ICC support -MD to output dependencies as a
4400 # side effect of compilation, but ICC will put the dependencies in
4401 # the current directory while Tru64 will put them in the object
4405 am_cv_CC_dependencies_compiler_type
=none
4406 if test "$am_compiler_list" = ""; then
4407 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4410 case " $depcc " in #(
4411 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4414 for depmode
in $am_compiler_list; do
4415 # Setup a source with many dependencies, because some compilers
4416 # like to wrap large dependency lists on column 80 (with \), and
4417 # we should not choose a depcomp mode which is confused by this.
4419 # We need to recreate these files for each test, as the compiler may
4420 # overwrite some of them when testing with obscure command lines.
4421 # This happens at least with the AIX C compiler.
4423 for i
in 1 2 3 4 5 6; do
4424 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4425 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4426 # Solaris 8's {/usr,}/bin/sh.
4427 touch sub
/conftst
$i.h
4429 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4431 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4432 # mode. It turns out that the SunPro C++ compiler does not properly
4433 # handle `-M -o', and we need to detect this. Also, some Intel
4434 # versions had trouble with output in subdirs
4435 am__obj
=sub
/conftest.
${OBJEXT-o}
4436 am__minus_obj
="-o $am__obj"
4439 # This depmode causes a compiler race in universal mode.
4440 test "$am__universal" = false ||
continue
4443 # after this tag, mechanisms are not by side-effect, so they'll
4444 # only be used when explicitly requested
4445 if test "x$enable_dependency_tracking" = xyes
; then
4451 msvisualcpp | msvcmsys
)
4452 # This compiler won't grok `-c -o', but also, the minuso test has
4453 # not run yet. These depmodes are late enough in the game, and
4454 # so weak that their functioning should not be impacted.
4455 am__obj
=conftest.
${OBJEXT-o}
4460 if depmode
=$depmode \
4461 source=sub
/conftest.c object
=$am__obj \
4462 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4463 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4464 >/dev
/null
2>conftest.err
&&
4465 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4466 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4467 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4468 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4469 # icc doesn't choke on unknown options, it will just issue warnings
4470 # or remarks (even with -Werror). So we grep stderr for any message
4471 # that says an option was ignored or not supported.
4472 # When given -MP, icc 7.0 and 7.1 complain thusly:
4473 # icc: Command line warning: ignoring option '-M'; no argument required
4474 # The diagnosis changed in icc 8.0:
4475 # icc: Command line remark: option '-MP' not supported
4476 if (grep 'ignoring option' conftest.err ||
4477 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4478 am_cv_CC_dependencies_compiler_type
=$depmode
4487 am_cv_CC_dependencies_compiler_type
=none
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4492 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4493 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4496 test "x$enable_dependency_tracking" != xno \
4497 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4499 am__fastdepCC_FALSE
='#'
4501 am__fastdepCC_TRUE
='#'
4502 am__fastdepCC_FALSE
=
4506 case $ac_cv_prog_cc_stdc in #(
4508 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4511 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4512 if ${ac_cv_prog_cc_c99+:} false
; then :
4513 $as_echo_n "(cached) " >&6
4515 ac_cv_prog_cc_c99
=no
4517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4520 #include <stdbool.h>
4525 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4526 #define debug(...) fprintf (stderr, __VA_ARGS__)
4527 #define showlist(...) puts (#__VA_ARGS__)
4528 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4530 test_varargs_macros (void)
4535 debug ("X = %d\n", x);
4536 showlist (The first, second, and third items.);
4537 report (x>y, "x is %d but y is %d", x, y);
4540 // Check long long types.
4541 #define BIG64 18446744073709551615ull
4542 #define BIG32 4294967295ul
4543 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4545 your preprocessor is broken;
4549 your preprocessor is broken;
4551 static long long int bignum = -9223372036854775807LL;
4552 static unsigned long long int ubignum = BIG64;
4554 struct incomplete_array
4562 const wchar_t *name;
4566 typedef const char *ccp;
4569 test_restrict (ccp restrict text)
4571 // See if C++-style comments work.
4572 // Iterate through items via the restricted pointer.
4573 // Also check for declarations in for loops.
4574 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4579 // Check varargs and va_copy.
4581 test_varargs (const char *format, ...)
4584 va_start (args, format);
4586 va_copy (args_copy, args);
4597 str = va_arg (args_copy, const char *);
4600 number = va_arg (args_copy, int);
4603 fnumber = va_arg (args_copy, double);
4618 _Bool success = false;
4621 if (test_restrict ("String literal") == 0)
4623 char *restrict newvar = "Another string";
4626 test_varargs ("s, d' f .", "string", 65, 34.234);
4627 test_varargs_macros ();
4629 // Check flexible array members.
4630 struct incomplete_array *ia =
4631 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4633 for (int i = 0; i < ia->datasize; ++i)
4634 ia->data[i] = i * 1.234;
4636 // Check named initializers.
4637 struct named_init ni = {
4639 .name = L"Test wide string",
4640 .average = 543.34343,
4645 int dynamic_array[ni.number];
4646 dynamic_array[ni.number - 1] = 543;
4648 // work around unused variable warnings
4649 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4650 || dynamic_array[ni.number - 1] != 543);
4656 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4658 CC
="$ac_save_CC $ac_arg"
4659 if ac_fn_c_try_compile
"$LINENO"; then :
4660 ac_cv_prog_cc_c99
=$ac_arg
4662 rm -f core conftest.err conftest.
$ac_objext
4663 test "x$ac_cv_prog_cc_c99" != "xno" && break
4665 rm -f conftest.
$ac_ext
4670 case "x$ac_cv_prog_cc_c99" in
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4673 $as_echo "none needed" >&6; } ;;
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4676 $as_echo "unsupported" >&6; } ;;
4678 CC
="$CC $ac_cv_prog_cc_c99"
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4680 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4682 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4683 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4686 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4687 if ${ac_cv_prog_cc_c89+:} false
; then :
4688 $as_echo_n "(cached) " >&6
4690 ac_cv_prog_cc_c89
=no
4692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4697 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4698 struct buf { int x; };
4699 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4700 static char *e (p, i)
4706 static char *f (char * (*g) (char **, int), char **p, ...)
4711 s = g (p, va_arg (v,int));
4716 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4717 function prototypes and stuff, but not '\xHH' hex character constants.
4718 These don't provoke an error unfortunately, instead are silently treated
4719 as 'x'. The following induces an error, until -std is added to get
4720 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4721 array size at least. It's necessary to write '\x00'==0 to get something
4722 that's true only with -std. */
4723 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4725 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4726 inside strings and character constants. */
4728 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4730 int test (int i, double x);
4731 struct s1 {int (*f) (int a);};
4732 struct s2 {int (*f) (double a);};
4733 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4739 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4744 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4745 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4747 CC
="$ac_save_CC $ac_arg"
4748 if ac_fn_c_try_compile
"$LINENO"; then :
4749 ac_cv_prog_cc_c89
=$ac_arg
4751 rm -f core conftest.err conftest.
$ac_objext
4752 test "x$ac_cv_prog_cc_c89" != "xno" && break
4754 rm -f conftest.
$ac_ext
4759 case "x$ac_cv_prog_cc_c89" in
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4762 $as_echo "none needed" >&6; } ;;
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4765 $as_echo "unsupported" >&6; } ;;
4767 CC
="$CC $ac_cv_prog_cc_c89"
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4769 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4771 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4772 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4774 ac_cv_prog_cc_stdc
=no
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4781 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4782 if ${ac_cv_prog_cc_stdc+:} false
; then :
4783 $as_echo_n "(cached) " >&6
4786 case $ac_cv_prog_cc_stdc in #(
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4789 $as_echo "unsupported" >&6; } ;; #(
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4792 $as_echo "none needed" >&6; } ;; #(
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4795 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4800 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4802 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4803 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4804 $as_echo_n "(cached) " >&6
4806 cat >conftest.
make <<\_ACEOF
4809 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4811 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4812 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4814 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4816 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4820 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4822 $as_echo "yes" >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4827 SET_MAKE
="MAKE=${MAKE-make}"
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4831 $as_echo_n "checking whether ln -s works... " >&6; }
4833 if test "$LN_S" = "ln -s"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4835 $as_echo "yes" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4838 $as_echo "no, using $LN_S" >&6; }
4841 for ac_prog
in gawk mawk nawk
awk
4843 # Extract the first word of "$ac_prog", so it can be a program name with args.
4844 set dummy
$ac_prog; ac_word
=$2
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846 $as_echo_n "checking for $ac_word... " >&6; }
4847 if ${ac_cv_prog_AWK+:} false
; then :
4848 $as_echo_n "(cached) " >&6
4850 if test -n "$AWK"; then
4851 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4857 test -z "$as_dir" && as_dir
=.
4858 for ac_exec_ext
in '' $ac_executable_extensions; do
4859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4860 ac_cv_prog_AWK
="$ac_prog"
4861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 if test -n "$AWK"; then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4873 $as_echo "$AWK" >&6; }
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4876 $as_echo "no" >&6; }
4880 test -n "$AWK" && break
4883 if test -n "$ac_tool_prefix"; then
4884 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4885 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_RANLIB+:} false
; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$RANLIB"; then
4892 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir
=.
4899 for ac_exec_ext
in '' $ac_executable_extensions; do
4900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 RANLIB
=$ac_cv_prog_RANLIB
4912 if test -n "$RANLIB"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4914 $as_echo "$RANLIB" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4922 if test -z "$ac_cv_prog_RANLIB"; then
4923 ac_ct_RANLIB
=$RANLIB
4924 # Extract the first word of "ranlib", so it can be a program name with args.
4925 set dummy ranlib
; ac_word
=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$ac_ct_RANLIB"; then
4932 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4952 if test -n "$ac_ct_RANLIB"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4954 $as_echo "$ac_ct_RANLIB" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4960 if test "x$ac_ct_RANLIB" = x
; then
4963 case $cross_compiling:$ac_tool_warned in
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned
=yes ;;
4969 RANLIB
=$ac_ct_RANLIB
4972 RANLIB
="$ac_cv_prog_RANLIB"
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4978 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4983 macro_version
='2.2.6b'
4984 macro_revision
='1.3018'
4998 ltmain
="$ac_aux_dir/ltmain.sh"
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5001 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5002 if ${ac_cv_path_SED+:} false
; then :
5003 $as_echo_n "(cached) " >&6
5005 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5006 for ac_i
in 1 2 3 4 5 6 7; do
5007 ac_script
="$ac_script$as_nl$ac_script"
5009 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5010 { ac_script
=; unset ac_script
;}
5011 if test -z "$SED"; then
5012 ac_path_SED_found
=false
5013 # Loop through the user's path and test for each of PROGNAME-LIST
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_prog
in sed gsed
; do
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5022 as_fn_executable_p
"$ac_path_SED" ||
continue
5023 # Check for GNU ac_path_SED and select it if it is found.
5024 # Check for GNU $ac_path_SED
5025 case `"$ac_path_SED" --version 2>&1` in
5027 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5030 $as_echo_n 0123456789 >"conftest.in"
5033 cat "conftest.in" "conftest.in" >"conftest.tmp"
5034 mv "conftest.tmp" "conftest.in"
5035 cp "conftest.in" "conftest.nl"
5036 $as_echo '' >> "conftest.nl"
5037 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5038 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5039 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5040 if test $ac_count -gt ${ac_path_SED_max-0}; then
5041 # Best one so far, save it but keep looking for a better one
5042 ac_cv_path_SED
="$ac_path_SED"
5043 ac_path_SED_max
=$ac_count
5045 # 10*(2^10) chars as input seems more than enough
5046 test $ac_count -gt 10 && break
5048 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5051 $ac_path_SED_found && break 3
5056 if test -z "$ac_cv_path_SED"; then
5057 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5065 $as_echo "$ac_cv_path_SED" >&6; }
5066 SED
="$ac_cv_path_SED"
5069 test -z "$SED" && SED
=sed
5070 Xsed
="$SED -e 1s/^X//"
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5083 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5084 if ${ac_cv_path_GREP+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -z "$GREP"; then
5088 ac_path_GREP_found
=false
5089 # Loop through the user's path and test for each of PROGNAME-LIST
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5091 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_prog
in grep ggrep
; do
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5098 as_fn_executable_p
"$ac_path_GREP" ||
continue
5099 # Check for GNU ac_path_GREP and select it if it is found.
5100 # Check for GNU $ac_path_GREP
5101 case `"$ac_path_GREP" --version 2>&1` in
5103 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5106 $as_echo_n 0123456789 >"conftest.in"
5109 cat "conftest.in" "conftest.in" >"conftest.tmp"
5110 mv "conftest.tmp" "conftest.in"
5111 cp "conftest.in" "conftest.nl"
5112 $as_echo 'GREP' >> "conftest.nl"
5113 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5114 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5115 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5116 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5117 # Best one so far, save it but keep looking for a better one
5118 ac_cv_path_GREP
="$ac_path_GREP"
5119 ac_path_GREP_max
=$ac_count
5121 # 10*(2^10) chars as input seems more than enough
5122 test $ac_count -gt 10 && break
5124 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5127 $ac_path_GREP_found && break 3
5132 if test -z "$ac_cv_path_GREP"; then
5133 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5136 ac_cv_path_GREP
=$GREP
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5141 $as_echo "$ac_cv_path_GREP" >&6; }
5142 GREP
="$ac_cv_path_GREP"
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5146 $as_echo_n "checking for egrep... " >&6; }
5147 if ${ac_cv_path_EGREP+:} false
; then :
5148 $as_echo_n "(cached) " >&6
5150 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5151 then ac_cv_path_EGREP
="$GREP -E"
5153 if test -z "$EGREP"; then
5154 ac_path_EGREP_found
=false
5155 # Loop through the user's path and test for each of PROGNAME-LIST
5156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5160 test -z "$as_dir" && as_dir
=.
5161 for ac_prog
in egrep; do
5162 for ac_exec_ext
in '' $ac_executable_extensions; do
5163 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5164 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5165 # Check for GNU ac_path_EGREP and select it if it is found.
5166 # Check for GNU $ac_path_EGREP
5167 case `"$ac_path_EGREP" --version 2>&1` in
5169 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5172 $as_echo_n 0123456789 >"conftest.in"
5175 cat "conftest.in" "conftest.in" >"conftest.tmp"
5176 mv "conftest.tmp" "conftest.in"
5177 cp "conftest.in" "conftest.nl"
5178 $as_echo 'EGREP' >> "conftest.nl"
5179 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5180 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5181 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5182 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5183 # Best one so far, save it but keep looking for a better one
5184 ac_cv_path_EGREP
="$ac_path_EGREP"
5185 ac_path_EGREP_max
=$ac_count
5187 # 10*(2^10) chars as input seems more than enough
5188 test $ac_count -gt 10 && break
5190 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5193 $ac_path_EGREP_found && break 3
5198 if test -z "$ac_cv_path_EGREP"; then
5199 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5202 ac_cv_path_EGREP
=$EGREP
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5208 $as_echo "$ac_cv_path_EGREP" >&6; }
5209 EGREP
="$ac_cv_path_EGREP"
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5213 $as_echo_n "checking for fgrep... " >&6; }
5214 if ${ac_cv_path_FGREP+:} false
; then :
5215 $as_echo_n "(cached) " >&6
5217 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5218 then ac_cv_path_FGREP
="$GREP -F"
5220 if test -z "$FGREP"; then
5221 ac_path_FGREP_found
=false
5222 # Loop through the user's path and test for each of PROGNAME-LIST
5223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5224 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5227 test -z "$as_dir" && as_dir
=.
5228 for ac_prog
in fgrep
; do
5229 for ac_exec_ext
in '' $ac_executable_extensions; do
5230 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5231 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5232 # Check for GNU ac_path_FGREP and select it if it is found.
5233 # Check for GNU $ac_path_FGREP
5234 case `"$ac_path_FGREP" --version 2>&1` in
5236 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5239 $as_echo_n 0123456789 >"conftest.in"
5242 cat "conftest.in" "conftest.in" >"conftest.tmp"
5243 mv "conftest.tmp" "conftest.in"
5244 cp "conftest.in" "conftest.nl"
5245 $as_echo 'FGREP' >> "conftest.nl"
5246 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5247 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5248 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5249 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5250 # Best one so far, save it but keep looking for a better one
5251 ac_cv_path_FGREP
="$ac_path_FGREP"
5252 ac_path_FGREP_max
=$ac_count
5254 # 10*(2^10) chars as input seems more than enough
5255 test $ac_count -gt 10 && break
5257 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5260 $ac_path_FGREP_found && break 3
5265 if test -z "$ac_cv_path_FGREP"; then
5266 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5269 ac_cv_path_FGREP
=$FGREP
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5275 $as_echo "$ac_cv_path_FGREP" >&6; }
5276 FGREP
="$ac_cv_path_FGREP"
5279 test -z "$GREP" && GREP
=grep
5299 # Check whether --with-gnu-ld was given.
5300 if test "${with_gnu_ld+set}" = set; then :
5301 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5307 if test "$GCC" = yes; then
5308 # Check if gcc -print-prog-name=ld gives a path.
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5310 $as_echo_n "checking for ld used by $CC... " >&6; }
5313 # gcc leaves a trailing carriage return which upsets mingw
5314 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5316 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5319 # Accept absolute paths.
5321 re_direlt
='/[^/][^/]*/\.\./'
5322 # Canonicalize the pathname of ld
5323 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5324 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5325 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5327 test -z "$LD" && LD
="$ac_prog"
5330 # If it fails, then pretend we aren't using GCC.
5334 # If it is relative, then search for the first ld in PATH.
5338 elif test "$with_gnu_ld" = yes; then
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5340 $as_echo_n "checking for GNU ld... " >&6; }
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5343 $as_echo_n "checking for non-GNU ld... " >&6; }
5345 if ${lt_cv_path_LD+:} false
; then :
5346 $as_echo_n "(cached) " >&6
5348 if test -z "$LD"; then
5349 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5350 for ac_dir
in $PATH; do
5352 test -z "$ac_dir" && ac_dir
=.
5353 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5354 lt_cv_path_LD
="$ac_dir/$ac_prog"
5355 # Check to see if the program is GNU ld. I'd rather use --version,
5356 # but apparently some variants of GNU ld only accept -v.
5357 # Break only if it was the GNU/non-GNU ld that we prefer.
5358 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5359 *GNU
* |
*'with BFD'*)
5360 test "$with_gnu_ld" != no
&& break
5363 test "$with_gnu_ld" != yes && break
5370 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5375 if test -n "$LD"; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5377 $as_echo "$LD" >&6; }
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380 $as_echo "no" >&6; }
5382 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5384 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5385 if ${lt_cv_prog_gnu_ld+:} false
; then :
5386 $as_echo_n "(cached) " >&6
5388 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5389 case `$LD -v 2>&1 </dev/null` in
5390 *GNU
* |
*'with BFD'*)
5391 lt_cv_prog_gnu_ld
=yes
5394 lt_cv_prog_gnu_ld
=no
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5399 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5400 with_gnu_ld
=$lt_cv_prog_gnu_ld
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5411 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5412 if ${lt_cv_path_NM+:} false
; then :
5413 $as_echo_n "(cached) " >&6
5415 if test -n "$NM"; then
5416 # Let the user override the test.
5419 lt_nm_to_check
="${ac_tool_prefix}nm"
5420 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5421 lt_nm_to_check
="$lt_nm_to_check nm"
5423 for lt_tmp_nm
in $lt_nm_to_check; do
5424 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5425 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5427 test -z "$ac_dir" && ac_dir
=.
5428 tmp_nm
="$ac_dir/$lt_tmp_nm"
5429 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5430 # Check to see if the nm accepts a BSD-compat flag.
5431 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5432 # nm: unknown option "B" ignored
5433 # Tru64's nm complains that /dev/null is an invalid object file
5434 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5435 */dev
/null
* |
*'Invalid file or object type'*)
5436 lt_cv_path_NM
="$tmp_nm -B"
5440 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5442 lt_cv_path_NM
="$tmp_nm -p"
5446 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5447 continue # so that we can try to find one that supports BSD flags
5456 : ${lt_cv_path_NM=no}
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5460 $as_echo "$lt_cv_path_NM" >&6; }
5461 if test "$lt_cv_path_NM" != "no"; then
5464 # Didn't find any BSD compatible name lister, look for dumpbin.
5465 if test -n "$ac_tool_prefix"; then
5466 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5469 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5473 $as_echo_n "(cached) " >&6
5475 if test -n "$DUMPBIN"; then
5476 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5482 test -z "$as_dir" && as_dir
=.
5483 for ac_exec_ext
in '' $ac_executable_extensions; do
5484 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 DUMPBIN
=$ac_cv_prog_DUMPBIN
5496 if test -n "$DUMPBIN"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5498 $as_echo "$DUMPBIN" >&6; }
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5505 test -n "$DUMPBIN" && break
5508 if test -z "$DUMPBIN"; then
5509 ac_ct_DUMPBIN
=$DUMPBIN
5510 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5512 # Extract the first word of "$ac_prog", so it can be a program name with args.
5513 set dummy
$ac_prog; ac_word
=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5517 $as_echo_n "(cached) " >&6
5519 if test -n "$ac_ct_DUMPBIN"; then
5520 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5526 test -z "$as_dir" && as_dir
=.
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5540 if test -n "$ac_ct_DUMPBIN"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5542 $as_echo "$ac_ct_DUMPBIN" >&6; }
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5549 test -n "$ac_ct_DUMPBIN" && break
5552 if test "x$ac_ct_DUMPBIN" = x
; then
5555 case $cross_compiling:$ac_tool_warned in
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5559 ac_tool_warned
=yes ;;
5561 DUMPBIN
=$ac_ct_DUMPBIN
5566 if test "$DUMPBIN" != ":"; then
5570 test -z "$NM" && NM
=nm
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5578 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5579 if ${lt_cv_nm_interface+:} false
; then :
5580 $as_echo_n "(cached) " >&6
5582 lt_cv_nm_interface
="BSD nm"
5583 echo "int some_variable = 0;" > conftest.
$ac_ext
5584 (eval echo "\"\$as_me:5584: $ac_compile\"" >&5)
5585 (eval "$ac_compile" 2>conftest.err
)
5586 cat conftest.err
>&5
5587 (eval echo "\"\$as_me:5587: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5588 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5589 cat conftest.err
>&5
5590 (eval echo "\"\$as_me:5590: output\"" >&5)
5591 cat conftest.out
>&5
5592 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5593 lt_cv_nm_interface
="MS dumpbin"
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5598 $as_echo "$lt_cv_nm_interface" >&6; }
5600 # find the maximum length of command line arguments
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5602 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5603 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5604 $as_echo_n "(cached) " >&6
5611 # On DJGPP, this test can blow up pretty badly due to problems in libc
5612 # (any single argument exceeding 2000 bytes causes a buffer overrun
5613 # during glob expansion). Even if it were fixed, the result of this
5614 # check would be larger than it should be.
5615 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5619 # Under GNU Hurd, this test is not required because there is
5620 # no limit to the length of command line arguments.
5621 # Libtool will interpret -1 as no limit whatsoever
5622 lt_cv_sys_max_cmd_len
=-1;
5625 cygwin
* | mingw
* | cegcc
*)
5626 # On Win9x/ME, this test blows up -- it succeeds, but takes
5627 # about 5 minutes as the teststring grows exponentially.
5628 # Worse, since 9x/ME are not pre-emptively multitasking,
5629 # you end up with a "frozen" computer, even though with patience
5630 # the test eventually succeeds (with a max line length of 256k).
5631 # Instead, let's just punt: use the minimum linelength reported by
5632 # all of the supported platforms: 8192 (on NT/2K/XP).
5633 lt_cv_sys_max_cmd_len
=8192;
5637 # On AmigaOS with pdksh, this test takes hours, literally.
5638 # So we just punt and use a minimum line length of 8192.
5639 lt_cv_sys_max_cmd_len
=8192;
5642 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5643 # This has been around since 386BSD, at least. Likely further.
5644 if test -x /sbin
/sysctl
; then
5645 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5646 elif test -x /usr
/sbin
/sysctl
; then
5647 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5649 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5651 # And add a safety zone
5652 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5653 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5657 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5658 lt_cv_sys_max_cmd_len
=196608
5662 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5663 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5664 # nice to cause kernel panics so lets avoid the loop below.
5665 # First set a reasonable default.
5666 lt_cv_sys_max_cmd_len
=16384
5668 if test -x /sbin
/sysconfig
; then
5669 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5670 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5675 lt_cv_sys_max_cmd_len
=102400
5677 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5678 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5679 if test -n "$kargmax"; then
5680 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5682 lt_cv_sys_max_cmd_len
=32768
5686 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5687 if test -n "$lt_cv_sys_max_cmd_len"; then
5688 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5689 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5691 # Make teststring a little bigger before we do anything with it.
5692 # a 1K string should be a reasonable start.
5693 for i
in 1 2 3 4 5 6 7 8 ; do
5694 teststring
=$teststring$teststring
5696 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5697 # If test is not a shell built-in, we'll probably end up computing a
5698 # maximum length that is only half of the actual maximum length, but
5700 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5701 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5702 test $i != 17 # 1/2 MB should be enough
5705 teststring
=$teststring$teststring
5707 # Only check the string length outside the loop.
5708 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5710 # Add a significant safety factor because C++ compilers can tack on
5711 # massive amounts of additional arguments before passing them to the
5712 # linker. It appears as though 1/2 is a usable value.
5713 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5720 if test -n $lt_cv_sys_max_cmd_len ; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5722 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5725 $as_echo "none" >&6; }
5727 max_cmd_len
=$lt_cv_sys_max_cmd_len
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5739 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5740 # Try some XSI features
5743 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5745 && eval 'test $(( 1 + 1 )) -eq 2 \
5746 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5749 $as_echo "$xsi_shell" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5753 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5755 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5757 && lt_shell_append=yes
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5759 $as_echo "$lt_shell_append" >&6; }
5762 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5772 # test EBCDIC or ASCII
5773 case `echo X|tr X '\101'` in
5774 A) # ASCII based system
5775 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5776 lt_SP2NL='tr \040 \012'
5777 lt_NL2SP='tr \015\012 \040\040'
5779 *) # EBCDIC based system
5780 lt_SP2NL='tr \100 \n'
5781 lt_NL2SP='tr \r\n \100\100'
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5794 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5795 if ${lt_cv_ld_reload_flag+:} false; then :
5796 $as_echo_n "(cached
) " >&6
5798 lt_cv_ld_reload_flag='-r'
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5801 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5802 reload_flag=$lt_cv_ld_reload_flag
5803 case $reload_flag in
5805 *) reload_flag=" $reload_flag" ;;
5807 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5810 if test "$GCC" = yes; then
5811 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5813 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5826 if test -n "$ac_tool_prefix"; then
5827 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5828 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5830 $as_echo_n "checking
for $ac_word...
" >&6; }
5831 if ${ac_cv_prog_OBJDUMP+:} false; then :
5832 $as_echo_n "(cached
) " >&6
5834 if test -n "$OBJDUMP"; then
5835 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5854 OBJDUMP=$ac_cv_prog_OBJDUMP
5855 if test -n "$OBJDUMP"; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5857 $as_echo "$OBJDUMP" >&6; }
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5860 $as_echo "no
" >&6; }
5865 if test -z "$ac_cv_prog_OBJDUMP"; then
5866 ac_ct_OBJDUMP=$OBJDUMP
5867 # Extract the first word of "objdump
", so it can be a program name with args.
5868 set dummy objdump; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5870 $as_echo_n "checking
for $ac_word...
" >&6; }
5871 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5872 $as_echo_n "(cached
) " >&6
5874 if test -n "$ac_ct_OBJDUMP"; then
5875 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 test -z "$as_dir" && as_dir=.
5882 for ac_exec_ext in '' $ac_executable_extensions; do
5883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5884 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5894 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5895 if test -n "$ac_ct_OBJDUMP"; then
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5897 $as_echo "$ac_ct_OBJDUMP" >&6; }
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5900 $as_echo "no
" >&6; }
5903 if test "x
$ac_ct_OBJDUMP" = x; then
5906 case $cross_compiling:$ac_tool_warned in
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5909 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5910 ac_tool_warned=yes ;;
5912 OBJDUMP=$ac_ct_OBJDUMP
5915 OBJDUMP="$ac_cv_prog_OBJDUMP"
5918 test -z "$OBJDUMP" && OBJDUMP=objdump
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5929 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5930 if ${lt_cv_deplibs_check_method+:} false; then :
5931 $as_echo_n "(cached
) " >&6
5933 lt_cv_file_magic_cmd='$MAGIC_CMD'
5934 lt_cv_file_magic_test_file=
5935 lt_cv_deplibs_check_method='unknown'
5936 # Need to set the preceding variable on all platforms that support
5937 # interlibrary dependencies.
5938 # 'none' -- dependencies not supported.
5939 # `unknown' -- same as none, but documents that we really don't know.
5940 # 'pass_all' -- all dependencies passed with no checks.
5941 # 'test_compile' -- check by making test program.
5942 # 'file_magic [[regex]]' -- check by looking for files in library path
5943 # which responds to the $file_magic_cmd with a given extended regex.
5944 # If you have `file' or equivalent on your system and you're not sure
5945 # whether `pass_all' will *always* work, you probably want this one.
5949 lt_cv_deplibs_check_method=pass_all
5953 lt_cv_deplibs_check_method=pass_all
5957 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5958 lt_cv_file_magic_cmd='/usr/bin/file -L'
5959 lt_cv_file_magic_test_file=/shlib/libc.so
5963 # func_win32_libid is a shell function defined in ltmain.sh
5964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5965 lt_cv_file_magic_cmd='func_win32_libid'
5969 # Base MSYS/MinGW do not provide the 'file' command needed by
5970 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5971 # unless we find 'file', for example because we are cross-compiling.
5972 if ( file / ) >/dev/null 2>&1; then
5973 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5974 lt_cv_file_magic_cmd='func_win32_libid'
5976 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5977 lt_cv_file_magic_cmd='$OBJDUMP -f'
5982 # use the weaker test based on 'objdump'. See mingw*.
5983 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5984 lt_cv_file_magic_cmd='$OBJDUMP -f'
5987 darwin* | rhapsody*)
5988 lt_cv_deplibs_check_method=pass_all
5991 freebsd* | dragonfly*)
5992 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5995 # Not sure whether the presence of OpenBSD here was a mistake.
5996 # Let's accept both of them until this is cleared up.
5997 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5998 lt_cv_file_magic_cmd=/usr/bin/file
5999 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6003 lt_cv_deplibs_check_method=pass_all
6008 lt_cv_deplibs_check_method=pass_all
6011 hpux10.20* | hpux11*)
6012 lt_cv_file_magic_cmd=/usr/bin/file
6015 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6016 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6019 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6020 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6023 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6024 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6030 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6031 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6034 irix5* | irix6* | nonstopux*)
6036 *-32|*"-32 ") libmagic=32-bit;;
6037 *-n32|*"-n32 ") libmagic=N32;;
6038 *-64|*"-64 ") libmagic=64-bit;;
6039 *) libmagic=never-match;;
6041 lt_cv_deplibs_check_method=pass_all
6044 # This must be Linux ELF.
6045 linux* | k*bsd*-gnu)
6046 lt_cv_deplibs_check_method=pass_all
6050 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6051 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6053 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6058 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6059 lt_cv_file_magic_cmd=/usr/bin/file
6060 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6064 lt_cv_deplibs_check_method=pass_all
6068 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6069 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6071 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6075 osf3* | osf4* | osf5*)
6076 lt_cv_deplibs_check_method=pass_all
6080 lt_cv_deplibs_check_method=pass_all
6084 lt_cv_deplibs_check_method=pass_all
6087 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6088 lt_cv_deplibs_check_method=pass_all
6092 case $host_vendor in
6094 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]'
6095 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6098 lt_cv_deplibs_check_method=pass_all
6101 lt_cv_file_magic_cmd='/bin/file'
6102 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6105 lt_cv_file_magic_cmd='/bin/file'
6106 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6107 lt_cv_file_magic_test_file=/lib/libc.so
6110 lt_cv_deplibs_check_method=pass_all
6113 lt_cv_deplibs_check_method=pass_all
6119 lt_cv_deplibs_check_method=pass_all
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6125 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6126 file_magic_cmd=$lt_cv_file_magic_cmd
6127 deplibs_check_method=$lt_cv_deplibs_check_method
6128 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6141 if test -n "$ac_tool_prefix"; then
6142 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6143 set dummy ${ac_tool_prefix}ar; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6145 $as_echo_n "checking
for $ac_word...
" >&6; }
6146 if ${ac_cv_prog_AR+:} false; then :
6147 $as_echo_n "(cached
) " >&6
6149 if test -n "$AR"; then
6150 ac_cv_prog_AR="$AR" # Let the user override the test.
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6159 ac_cv_prog_AR="${ac_tool_prefix}ar"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6170 if test -n "$AR"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6172 $as_echo "$AR" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6175 $as_echo "no
" >&6; }
6180 if test -z "$ac_cv_prog_AR"; then
6182 # Extract the first word of "ar", so it can be a program name with args.
6183 set dummy ar; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6185 $as_echo_n "checking
for $ac_word...
" >&6; }
6186 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6187 $as_echo_n "(cached
) " >&6
6189 if test -n "$ac_ct_AR"; then
6190 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6199 ac_cv_prog_ac_ct_AR="ar"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6209 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6210 if test -n "$ac_ct_AR"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6212 $as_echo "$ac_ct_AR" >&6; }
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6215 $as_echo "no
" >&6; }
6218 if test "x
$ac_ct_AR" = x; then
6221 case $cross_compiling:$ac_tool_warned in
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6224 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6225 ac_tool_warned=yes ;;
6233 test -z "$AR" && AR=ar
6234 test -z "$AR_FLAGS" && AR_FLAGS=cru
6246 if test -n "$ac_tool_prefix"; then
6247 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6248 set dummy ${ac_tool_prefix}strip; ac_word=$2
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6250 $as_echo_n "checking
for $ac_word...
" >&6; }
6251 if ${ac_cv_prog_STRIP+:} false; then :
6252 $as_echo_n "(cached
) " >&6
6254 if test -n "$STRIP"; then
6255 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 test -z "$as_dir" && as_dir=.
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6264 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6274 STRIP=$ac_cv_prog_STRIP
6275 if test -n "$STRIP"; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6277 $as_echo "$STRIP" >&6; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6280 $as_echo "no
" >&6; }
6285 if test -z "$ac_cv_prog_STRIP"; then
6287 # Extract the first word of "strip
", so it can be a program name with args.
6288 set dummy strip; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6290 $as_echo_n "checking
for $ac_word...
" >&6; }
6291 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6292 $as_echo_n "(cached
) " >&6
6294 if test -n "$ac_ct_STRIP"; then
6295 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6304 ac_cv_prog_ac_ct_STRIP="strip
"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6314 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6315 if test -n "$ac_ct_STRIP"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6317 $as_echo "$ac_ct_STRIP" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6320 $as_echo "no
" >&6; }
6323 if test "x
$ac_ct_STRIP" = x; then
6326 case $cross_compiling:$ac_tool_warned in
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6329 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6330 ac_tool_warned=yes ;;
6335 STRIP="$ac_cv_prog_STRIP"
6338 test -z "$STRIP" && STRIP=:
6345 if test -n "$ac_tool_prefix"; then
6346 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6347 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6349 $as_echo_n "checking
for $ac_word...
" >&6; }
6350 if ${ac_cv_prog_RANLIB+:} false; then :
6351 $as_echo_n "(cached
) " >&6
6353 if test -n "$RANLIB"; then
6354 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6363 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6373 RANLIB=$ac_cv_prog_RANLIB
6374 if test -n "$RANLIB"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6376 $as_echo "$RANLIB" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6379 $as_echo "no
" >&6; }
6384 if test -z "$ac_cv_prog_RANLIB"; then
6385 ac_ct_RANLIB=$RANLIB
6386 # Extract the first word of "ranlib
", so it can be a program name with args.
6387 set dummy ranlib; ac_word=$2
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6389 $as_echo_n "checking
for $ac_word...
" >&6; }
6390 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6391 $as_echo_n "(cached
) " >&6
6393 if test -n "$ac_ct_RANLIB"; then
6394 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6400 test -z "$as_dir" && as_dir=.
6401 for ac_exec_ext in '' $ac_executable_extensions; do
6402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6403 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6413 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6414 if test -n "$ac_ct_RANLIB"; then
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6416 $as_echo "$ac_ct_RANLIB" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6419 $as_echo "no
" >&6; }
6422 if test "x
$ac_ct_RANLIB" = x; then
6425 case $cross_compiling:$ac_tool_warned in
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6428 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6429 ac_tool_warned=yes ;;
6431 RANLIB=$ac_ct_RANLIB
6434 RANLIB="$ac_cv_prog_RANLIB"
6437 test -z "$RANLIB" && RANLIB=:
6444 # Determine commands to create old-style static archives.
6445 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6446 old_postinstall_cmds='chmod 644 $oldlib'
6447 old_postuninstall_cmds=
6449 if test -n "$RANLIB"; then
6452 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6455 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6458 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6494 # If no C compiler was specified, use CC.
6497 # If no C compiler flags were specified, use CFLAGS.
6498 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6500 # Allow CC to be a program name with arguments.
6504 # Check for command to grab the raw symbol name followed by C symbol from nm.
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6506 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6507 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6508 $as_echo_n "(cached
) " >&6
6511 # These are sane defaults that work on at least a few old systems.
6512 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6514 # Character class describing NM global symbol codes.
6515 symcode='[BCDEGRST]'
6517 # Regexp to match symbols that can be accessed directly from C.
6518 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6520 # Define system-specific variables.
6525 cygwin* | mingw* | pw32* | cegcc*)
6526 symcode='[ABCDGISTW]'
6529 if test "$host_cpu" = ia64; then
6530 symcode='[ABCDEGRST]'
6534 symcode='[BCDEGRST]'
6537 symcode='[BCDEGQRST]'
6548 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6556 # If we're using GNU nm, then use its standard symbol codes.
6557 case `$NM -V 2>&1` in
6558 *GNU* | *'with BFD'*)
6559 symcode='[ABCDGIRSTW]' ;;
6562 # Transform an extracted symbol line into a proper C declaration.
6563 # Some systems (esp. on ia64) link data and code symbols differently,
6564 # so use this general approach.
6565 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6567 # Transform an extracted symbol line into symbol name and symbol address
6568 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6569 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6571 # Handle CRLF in mingw tool chain
6575 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6579 # Try without a prefix underscore, then with it.
6580 for ac_symprfx in "" "_
"; do
6582 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6583 symxfrm="\\1 $ac_symprfx\\2 \\2"
6585 # Write the raw and C identifiers.
6586 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6587 # Fake it for dumpbin and say T for any non-static function
6588 # and D for any global variable.
6589 # Also find C++ and __fastcall symbols from MSVC++,
6590 # which start with @ or ?.
6591 lt_cv_sys_global_symbol_pipe="$AWK '"\
6592 " {last_section=section; section=\$ 3};"\
6593 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6594 " \$ 0!~/External *\|/{next};"\
6595 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6596 " {if(hide[section]) next};"\
6597 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6598 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6599 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6600 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6601 " ' prfx
=^
$ac_symprfx"
6603 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6606 # Check to see that the pipe works correctly.
6610 cat > conftest.$ac_ext <<_LT_EOF
6615 void nm_test_func(void);
6616 void nm_test_func(void){}
6620 int main(){nm_test_var='a';nm_test_func();return(0);}
6623 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6624 (eval $ac_compile) 2>&5
6626 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6627 test $ac_status = 0; }; then
6628 # Now try to grab the symbols.
6630 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6631 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6633 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6634 test $ac_status = 0; } && test -s "$nlist"; then
6635 # Try sorting and uniquifying the output.
6636 if sort "$nlist" | uniq > "$nlist"T; then
6637 mv -f "$nlist"T "$nlist"
6642 # Make sure that we snagged all the symbols we need.
6643 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6644 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6645 cat <<_LT_EOF > conftest.$ac_ext
6651 # Now generate the symbol file.
6652 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6654 cat <<_LT_EOF >> conftest.$ac_ext
6656 /* The mapping between symbol names and symbols. */
6661 lt__PROGRAM__LTX_preloaded_symbols[] =
6663 { "@PROGRAM@
", (void *) 0 },
6665 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6666 cat <<\_LT_EOF >> conftest.$ac_ext
6670 /* This works around a problem in FreeBSD linker */
6671 #ifdef FREEBSD_WORKAROUND
6672 static const void *lt_preloaded_setup() {
6673 return lt__PROGRAM__LTX_preloaded_symbols;
6681 # Now try linking the two files.
6682 mv conftest.$ac_objext conftstm.$ac_objext
6683 lt_save_LIBS="$LIBS"
6684 lt_save_CFLAGS="$CFLAGS"
6685 LIBS="conftstm.
$ac_objext"
6686 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6687 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6688 (eval $ac_link) 2>&5
6690 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6691 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6694 LIBS="$lt_save_LIBS"
6695 CFLAGS="$lt_save_CFLAGS"
6697 echo "cannot
find nm_test_func
in $nlist" >&5
6700 echo "cannot
find nm_test_var
in $nlist" >&5
6703 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6706 echo "$progname: failed program was
:" >&5
6707 cat conftest.$ac_ext >&5
6709 rm -rf conftest* conftst*
6711 # Do not use the global_symbol_pipe unless it works.
6712 if test "$pipe_works" = yes; then
6715 lt_cv_sys_global_symbol_pipe=
6721 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6722 lt_cv_sys_global_symbol_to_cdecl=
6724 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6726 $as_echo "failed
" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6729 $as_echo "ok
" >&6; }
6754 # Check whether --enable-libtool-lock was given.
6755 if test "${enable_libtool_lock+set}" = set; then :
6756 enableval=$enable_libtool_lock;
6759 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6761 # Some flags need to be propagated to the compiler or linker for good
6765 # Find out which ABI we are using.
6766 echo 'int i;' > conftest.$ac_ext
6767 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6768 (eval $ac_compile) 2>&5
6770 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6771 test $ac_status = 0; }; then
6772 case `/usr/bin/file conftest.$ac_objext` in
6784 # Find out which ABI we are using.
6785 echo '#line 6785 "configure
"' > conftest.$ac_ext
6786 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6787 (eval $ac_compile) 2>&5
6789 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6790 test $ac_status = 0; }; then
6791 if test "$lt_cv_prog_gnu_ld" = yes; then
6792 case `/usr/bin/file conftest.$ac_objext` in
6794 LD="${LD-ld} -melf32bsmip"
6797 LD="${LD-ld} -melf32bmipn32"
6800 LD="${LD-ld} -melf64bmip"
6804 case `/usr/bin/file conftest.$ac_objext` in
6820 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6821 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6822 # Find out which ABI we are using.
6823 echo 'int i;' > conftest.$ac_ext
6824 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6825 (eval $ac_compile) 2>&5
6827 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6828 test $ac_status = 0; }; then
6829 case `/usr/bin/file conftest.o` in
6832 x86_64-*kfreebsd*-gnu)
6833 LD="${LD-ld} -m elf_i386_fbsd
"
6836 LD="${LD-ld} -m elf_i386
"
6838 ppc64-*linux*|powerpc64-*linux*)
6839 LD="${LD-ld} -m elf32ppclinux
"
6842 LD="${LD-ld} -m elf_s390
"
6845 LD="${LD-ld} -m elf32_sparc
"
6851 x86_64-*kfreebsd*-gnu)
6852 LD="${LD-ld} -m elf_x86_64_fbsd
"
6855 LD="${LD-ld} -m elf_x86_64
"
6857 ppc*-*linux*|powerpc*-*linux*)
6858 LD="${LD-ld} -m elf64ppc
"
6860 s390*-*linux*|s390*-*tpf*)
6861 LD="${LD-ld} -m elf64_s390
"
6864 LD="${LD-ld} -m elf64_sparc
"
6874 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6875 SAVE_CFLAGS="$CFLAGS"
6876 CFLAGS="$CFLAGS -belf"
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6878 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6879 if ${lt_cv_cc_needs_belf+:} false; then :
6880 $as_echo_n "(cached
) " >&6
6883 ac_cpp='$CPP $CPPFLAGS'
6884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6899 if ac_fn_c_try_link "$LINENO"; then :
6900 lt_cv_cc_needs_belf=yes
6902 lt_cv_cc_needs_belf=no
6904 rm -f core conftest.err conftest.$ac_objext \
6905 conftest$ac_exeext conftest.$ac_ext
6907 ac_cpp='$CPP $CPPFLAGS'
6908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6914 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6915 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6916 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6917 CFLAGS="$SAVE_CFLAGS"
6921 # Find out which ABI we are using.
6922 echo 'int i;' > conftest.$ac_ext
6923 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6924 (eval $ac_compile) 2>&5
6926 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6927 test $ac_status = 0; }; then
6928 case `/usr/bin/file conftest.o` in
6930 case $lt_cv_prog_gnu_ld in
6931 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6933 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6945 need_locks="$enable_libtool_lock"
6949 rhapsody* | darwin*)
6950 if test -n "$ac_tool_prefix"; then
6951 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6952 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6954 $as_echo_n "checking
for $ac_word...
" >&6; }
6955 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6956 $as_echo_n "(cached
) " >&6
6958 if test -n "$DSYMUTIL"; then
6959 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir=.
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6978 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6979 if test -n "$DSYMUTIL"; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6981 $as_echo "$DSYMUTIL" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6984 $as_echo "no
" >&6; }
6989 if test -z "$ac_cv_prog_DSYMUTIL"; then
6990 ac_ct_DSYMUTIL=$DSYMUTIL
6991 # Extract the first word of "dsymutil
", so it can be a program name with args.
6992 set dummy dsymutil; ac_word=$2
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6994 $as_echo_n "checking
for $ac_word...
" >&6; }
6995 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6996 $as_echo_n "(cached
) " >&6
6998 if test -n "$ac_ct_DSYMUTIL"; then
6999 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7008 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7018 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7019 if test -n "$ac_ct_DSYMUTIL"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7021 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7024 $as_echo "no
" >&6; }
7027 if test "x
$ac_ct_DSYMUTIL" = x; then
7030 case $cross_compiling:$ac_tool_warned in
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7033 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7034 ac_tool_warned=yes ;;
7036 DSYMUTIL=$ac_ct_DSYMUTIL
7039 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7042 if test -n "$ac_tool_prefix"; then
7043 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7044 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7046 $as_echo_n "checking
for $ac_word...
" >&6; }
7047 if ${ac_cv_prog_NMEDIT+:} false; then :
7048 $as_echo_n "(cached
) " >&6
7050 if test -n "$NMEDIT"; then
7051 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057 test -z "$as_dir" && as_dir=.
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7060 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7070 NMEDIT=$ac_cv_prog_NMEDIT
7071 if test -n "$NMEDIT"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7073 $as_echo "$NMEDIT" >&6; }
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7076 $as_echo "no
" >&6; }
7081 if test -z "$ac_cv_prog_NMEDIT"; then
7082 ac_ct_NMEDIT=$NMEDIT
7083 # Extract the first word of "nmedit
", so it can be a program name with args.
7084 set dummy nmedit; ac_word=$2
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7086 $as_echo_n "checking
for $ac_word...
" >&6; }
7087 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7088 $as_echo_n "(cached
) " >&6
7090 if test -n "$ac_ct_NMEDIT"; then
7091 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097 test -z "$as_dir" && as_dir=.
7098 for ac_exec_ext in '' $ac_executable_extensions; do
7099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7100 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7101 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7110 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7111 if test -n "$ac_ct_NMEDIT"; then
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7113 $as_echo "$ac_ct_NMEDIT" >&6; }
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7116 $as_echo "no
" >&6; }
7119 if test "x
$ac_ct_NMEDIT" = x; then
7122 case $cross_compiling:$ac_tool_warned in
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7125 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7126 ac_tool_warned=yes ;;
7128 NMEDIT=$ac_ct_NMEDIT
7131 NMEDIT="$ac_cv_prog_NMEDIT"
7134 if test -n "$ac_tool_prefix"; then
7135 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7136 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7138 $as_echo_n "checking
for $ac_word...
" >&6; }
7139 if ${ac_cv_prog_LIPO+:} false; then :
7140 $as_echo_n "(cached
) " >&6
7142 if test -n "$LIPO"; then
7143 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7152 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7162 LIPO=$ac_cv_prog_LIPO
7163 if test -n "$LIPO"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7165 $as_echo "$LIPO" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7168 $as_echo "no
" >&6; }
7173 if test -z "$ac_cv_prog_LIPO"; then
7175 # Extract the first word of "lipo
", so it can be a program name with args.
7176 set dummy lipo; ac_word=$2
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7178 $as_echo_n "checking
for $ac_word...
" >&6; }
7179 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7180 $as_echo_n "(cached
) " >&6
7182 if test -n "$ac_ct_LIPO"; then
7183 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7189 test -z "$as_dir" && as_dir=.
7190 for ac_exec_ext in '' $ac_executable_extensions; do
7191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7192 ac_cv_prog_ac_ct_LIPO="lipo
"
7193 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7202 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7203 if test -n "$ac_ct_LIPO"; then
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7205 $as_echo "$ac_ct_LIPO" >&6; }
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7208 $as_echo "no
" >&6; }
7211 if test "x
$ac_ct_LIPO" = x; then
7214 case $cross_compiling:$ac_tool_warned in
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7217 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7218 ac_tool_warned=yes ;;
7223 LIPO="$ac_cv_prog_LIPO"
7226 if test -n "$ac_tool_prefix"; then
7227 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7228 set dummy ${ac_tool_prefix}otool; ac_word=$2
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7230 $as_echo_n "checking
for $ac_word...
" >&6; }
7231 if ${ac_cv_prog_OTOOL+:} false; then :
7232 $as_echo_n "(cached
) " >&6
7234 if test -n "$OTOOL"; then
7235 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 test -z "$as_dir" && as_dir=.
7242 for ac_exec_ext in '' $ac_executable_extensions; do
7243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7244 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7254 OTOOL=$ac_cv_prog_OTOOL
7255 if test -n "$OTOOL"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7257 $as_echo "$OTOOL" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7260 $as_echo "no
" >&6; }
7265 if test -z "$ac_cv_prog_OTOOL"; then
7267 # Extract the first word of "otool
", so it can be a program name with args.
7268 set dummy otool; ac_word=$2
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7270 $as_echo_n "checking
for $ac_word...
" >&6; }
7271 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7272 $as_echo_n "(cached
) " >&6
7274 if test -n "$ac_ct_OTOOL"; then
7275 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 test -z "$as_dir" && as_dir=.
7282 for ac_exec_ext in '' $ac_executable_extensions; do
7283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7284 ac_cv_prog_ac_ct_OTOOL="otool
"
7285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7294 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7295 if test -n "$ac_ct_OTOOL"; then
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7297 $as_echo "$ac_ct_OTOOL" >&6; }
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7300 $as_echo "no
" >&6; }
7303 if test "x
$ac_ct_OTOOL" = x; then
7306 case $cross_compiling:$ac_tool_warned in
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7309 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7310 ac_tool_warned=yes ;;
7315 OTOOL="$ac_cv_prog_OTOOL"
7318 if test -n "$ac_tool_prefix"; then
7319 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7320 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7322 $as_echo_n "checking
for $ac_word...
" >&6; }
7323 if ${ac_cv_prog_OTOOL64+:} false; then :
7324 $as_echo_n "(cached
) " >&6
7326 if test -n "$OTOOL64"; then
7327 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 test -z "$as_dir" && as_dir=.
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7336 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7346 OTOOL64=$ac_cv_prog_OTOOL64
7347 if test -n "$OTOOL64"; then
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7349 $as_echo "$OTOOL64" >&6; }
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7352 $as_echo "no
" >&6; }
7357 if test -z "$ac_cv_prog_OTOOL64"; then
7358 ac_ct_OTOOL64=$OTOOL64
7359 # Extract the first word of "otool64
", so it can be a program name with args.
7360 set dummy otool64; ac_word=$2
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7362 $as_echo_n "checking
for $ac_word...
" >&6; }
7363 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7364 $as_echo_n "(cached
) " >&6
7366 if test -n "$ac_ct_OTOOL64"; then
7367 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 test -z "$as_dir" && as_dir=.
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7386 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7387 if test -n "$ac_ct_OTOOL64"; then
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7389 $as_echo "$ac_ct_OTOOL64" >&6; }
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7392 $as_echo "no
" >&6; }
7395 if test "x
$ac_ct_OTOOL64" = x; then
7398 case $cross_compiling:$ac_tool_warned in
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7401 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7402 ac_tool_warned=yes ;;
7404 OTOOL64=$ac_ct_OTOOL64
7407 OTOOL64="$ac_cv_prog_OTOOL64"
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7437 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7438 if ${lt_cv_apple_cc_single_mod+:} false; then :
7439 $as_echo_n "(cached
) " >&6
7441 lt_cv_apple_cc_single_mod=no
7442 if test -z "${LT_MULTI_MODULE}"; then
7443 # By default we will add the -single_module flag. You can override
7444 # by either setting the environment variable LT_MULTI_MODULE
7445 # non-empty at configure time, or by adding -multi_module to the
7447 rm -rf libconftest.dylib*
7448 echo "int foo
(void
){return 1;}" > conftest.c
7449 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7450 -dynamiclib -Wl,-single_module conftest.c
" >&5
7451 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7452 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7454 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7455 lt_cv_apple_cc_single_mod=yes
7457 cat conftest.err >&5
7459 rm -rf libconftest.dylib*
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7464 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7466 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7467 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7468 $as_echo_n "(cached
) " >&6
7470 lt_cv_ld_exported_symbols_list=no
7471 save_LDFLAGS=$LDFLAGS
7472 echo "_main
" > conftest.sym
7473 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h. */
7485 if ac_fn_c_try_link "$LINENO"; then :
7486 lt_cv_ld_exported_symbols_list=yes
7488 lt_cv_ld_exported_symbols_list=no
7490 rm -f core conftest.err conftest.$ac_objext \
7491 conftest$ac_exeext conftest.$ac_ext
7492 LDFLAGS="$save_LDFLAGS"
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7496 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7498 rhapsody* | darwin1.[012])
7499 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7501 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7502 darwin*) # darwin 5.x on
7503 # if running on 10.5 or later, the deployment target defaults
7504 # to the OS version, if on x86, and 10.4, the deployment
7505 # target defaults to 10.4. Don't you love it?
7506 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7507 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7508 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7510 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7512 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7516 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7517 _lt_dar_single_mod='$single_module'
7519 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7520 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7522 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7524 if test "$DSYMUTIL" != ":"; then
7525 _lt_dsymutil='~$DSYMUTIL $lib || :'
7533 ac_cpp='$CPP $CPPFLAGS'
7534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7538 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7539 # On Suns, sometimes $CPP names a directory.
7540 if test -n "$CPP" && test -d "$CPP"; then
7543 if test -z "$CPP"; then
7544 if ${ac_cv_prog_CPP+:} false; then :
7545 $as_echo_n "(cached
) " >&6
7547 # Double quotes because CPP needs to be expanded
7548 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7551 for ac_c_preproc_warn_flag in '' yes
7553 # Use a header file that comes with gcc, so configuring glibc
7554 # with a fresh cross-compiler works.
7555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7556 # <limits.h> exists even on freestanding compilers.
7557 # On the NeXT, cc -E runs the code through the compiler's parser,
7558 # not just through cpp. "Syntax error
" is here to catch this case.
7559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */
7562 # include <limits.h>
7564 # include <assert.h>
7568 if ac_fn_c_try_cpp "$LINENO"; then :
7571 # Broken: fails on valid input.
7574 rm -f conftest.err conftest.i conftest.$ac_ext
7576 # OK, works on sane cases. Now check whether nonexistent headers
7577 # can be detected and how.
7578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7579 /* end confdefs.h. */
7580 #include <ac_nonexistent.h>
7582 if ac_fn_c_try_cpp "$LINENO"; then :
7583 # Broken: success on invalid input.
7586 # Passes both tests.
7590 rm -f conftest.err conftest.i conftest.$ac_ext
7593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7594 rm -f conftest.i conftest.err conftest.$ac_ext
7595 if $ac_preproc_ok; then :
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7608 $as_echo "$CPP" >&6; }
7610 for ac_c_preproc_warn_flag in '' yes
7612 # Use a header file that comes with gcc, so configuring glibc
7613 # with a fresh cross-compiler works.
7614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7615 # <limits.h> exists even on freestanding compilers.
7616 # On the NeXT, cc -E runs the code through the compiler's parser,
7617 # not just through cpp. "Syntax error
" is here to catch this case.
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7621 # include <limits.h>
7623 # include <assert.h>
7627 if ac_fn_c_try_cpp "$LINENO"; then :
7630 # Broken: fails on valid input.
7633 rm -f conftest.err conftest.i conftest.$ac_ext
7635 # OK, works on sane cases. Now check whether nonexistent headers
7636 # can be detected and how.
7637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7639 #include <ac_nonexistent.h>
7641 if ac_fn_c_try_cpp "$LINENO"; then :
7642 # Broken: success on invalid input.
7645 # Passes both tests.
7649 rm -f conftest.err conftest.i conftest.$ac_ext
7652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7653 rm -f conftest.i conftest.err conftest.$ac_ext
7654 if $ac_preproc_ok; then :
7657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7659 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7660 See \`config.log' for more details
" "$LINENO" 5; }
7664 ac_cpp='$CPP $CPPFLAGS'
7665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7671 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7672 if ${ac_cv_header_stdc+:} false; then :
7673 $as_echo_n "(cached
) " >&6
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7690 if ac_fn_c_try_compile "$LINENO"; then :
7691 ac_cv_header_stdc=yes
7693 ac_cv_header_stdc=no
7695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7697 if test $ac_cv_header_stdc = yes; then
7698 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h. */
7704 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7705 $EGREP "memchr
" >/dev/null 2>&1; then :
7708 ac_cv_header_stdc=no
7714 if test $ac_cv_header_stdc = yes; then
7715 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h. */
7721 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7722 $EGREP "free
" >/dev/null 2>&1; then :
7725 ac_cv_header_stdc=no
7731 if test $ac_cv_header_stdc = yes; then
7732 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7733 if test "$cross_compiling" = yes; then :
7736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7737 /* end confdefs.h. */
7740 #if ((' ' & 0x0FF) == 0x020)
7741 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7742 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7744 # define ISLOWER(c) \
7745 (('a' <= (c) && (c) <= 'i') \
7746 || ('j' <= (c) && (c) <= 'r') \
7747 || ('s' <= (c) && (c) <= 'z'))
7748 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7751 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7756 for (i = 0; i < 256; i++)
7757 if (XOR (islower (i), ISLOWER (i))
7758 || toupper (i) != TOUPPER (i))
7763 if ac_fn_c_try_run "$LINENO"; then :
7766 ac_cv_header_stdc=no
7768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7769 conftest.$ac_objext conftest.beam conftest.$ac_ext
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7775 $as_echo "$ac_cv_header_stdc" >&6; }
7776 if test $ac_cv_header_stdc = yes; then
7778 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7782 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7783 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7784 inttypes.h stdint.h unistd.h
7786 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7787 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7789 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7790 cat >>confdefs.h
<<_ACEOF
7791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7799 for ac_header
in dlfcn.h
7801 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7803 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7804 cat >>confdefs.h
<<_ACEOF
7805 #define HAVE_DLFCN_H 1
7824 # Check whether --enable-shared was given.
7825 if test "${enable_shared+set}" = set; then :
7826 enableval
=$enable_shared; p
=${PACKAGE-default}
7828 yes) enable_shared
=yes ;;
7829 no
) enable_shared
=no
;;
7832 # Look at the argument we got. We use all the common list separators.
7833 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7834 for pkg
in $enableval; do
7836 if test "X$pkg" = "X$p"; then
7855 # Check whether --enable-static was given.
7856 if test "${enable_static+set}" = set; then :
7857 enableval
=$enable_static; p
=${PACKAGE-default}
7859 yes) enable_static
=yes ;;
7860 no
) enable_static
=no
;;
7863 # Look at the argument we got. We use all the common list separators.
7864 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7865 for pkg
in $enableval; do
7867 if test "X$pkg" = "X$p"; then
7887 # Check whether --with-pic was given.
7888 if test "${with_pic+set}" = set; then :
7889 withval
=$with_pic; pic_mode
="$withval"
7895 test -z "$pic_mode" && pic_mode
=default
7903 # Check whether --enable-fast-install was given.
7904 if test "${enable_fast_install+set}" = set; then :
7905 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7907 yes) enable_fast_install
=yes ;;
7908 no
) enable_fast_install
=no
;;
7910 enable_fast_install
=no
7911 # Look at the argument we got. We use all the common list separators.
7912 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7913 for pkg
in $enableval; do
7915 if test "X$pkg" = "X$p"; then
7916 enable_fast_install
=yes
7923 enable_fast_install
=yes
7936 # This can be used to rebuild libtool when needed
7937 LIBTOOL_DEPS
="$ltmain"
7939 # Always use our own libtool.
7940 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7966 test -z "$LN_S" && LN_S
="ln -s"
7981 if test -n "${ZSH_VERSION+set}" ; then
7982 setopt NO_GLOB_SUBST
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7986 $as_echo_n "checking for objdir... " >&6; }
7987 if ${lt_cv_objdir+:} false
; then :
7988 $as_echo_n "(cached) " >&6
7990 rm -f .libs
2>/dev
/null
7991 mkdir .libs
2>/dev
/null
7992 if test -d .libs
; then
7995 # MS-DOS does not allow filenames that begin with a dot.
7998 rmdir .libs
2>/dev
/null
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8001 $as_echo "$lt_cv_objdir" >&6; }
8002 objdir
=$lt_cv_objdir
8008 cat >>confdefs.h
<<_ACEOF
8009 #define LT_OBJDIR "$lt_cv_objdir/"
8030 # AIX sometimes has problems with the GCC collect2 program. For some
8031 # reason, if we set the COLLECT_NAMES environment variable, the problems
8032 # vanish in a puff of smoke.
8033 if test "X${COLLECT_NAMES+set}" != Xset
; then
8035 export COLLECT_NAMES
8040 # Sed substitution that helps us do robust quoting. It backslashifies
8041 # metacharacters that are still active within double-quoted strings.
8042 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8044 # Same as above, but do not quote variable references.
8045 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8047 # Sed substitution to delay expansion of an escaped shell variable in a
8048 # double_quote_subst'ed string.
8049 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8051 # Sed substitution to delay expansion of an escaped single quote.
8052 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8054 # Sed substitution to avoid accidental globbing in evaled expressions
8055 no_glob_subst
='s/\*/\\\*/g'
8059 can_build_shared
=yes
8061 # All known linkers require a `.a' archive for static linking (except MSVC,
8062 # which needs '.lib').
8065 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8068 old_CFLAGS
="$CFLAGS"
8070 # Set sane defaults for various variables
8071 test -z "$CC" && CC
=cc
8072 test -z "$LTCC" && LTCC
=$CC
8073 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8074 test -z "$LD" && LD
=ld
8075 test -z "$ac_objext" && ac_objext
=o
8077 for cc_temp
in $compiler""; do
8079 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8080 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8085 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8088 # Only perform the check for file, if the check method requires it
8089 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8090 case $deplibs_check_method in
8092 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8094 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8095 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8096 $as_echo_n "(cached) " >&6
8100 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8103 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8104 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8105 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8106 for ac_dir
in $ac_dummy; do
8108 test -z "$ac_dir" && ac_dir
=.
8109 if test -f $ac_dir/${ac_tool_prefix}file; then
8110 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8111 if test -n "$file_magic_test_file"; then
8112 case $deplibs_check_method in
8114 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8115 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8116 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8117 $EGREP "$file_magic_regex" > /dev
/null
; then
8122 *** Warning: the command libtool uses to detect shared libraries,
8123 *** $file_magic_cmd, produces output that libtool cannot recognize.
8124 *** The result is that libtool may fail to recognize shared libraries
8125 *** as such. This will affect the creation of libtool libraries that
8126 *** depend on shared libraries, but programs linked with such libtool
8127 *** libraries will work regardless of this problem. Nevertheless, you
8128 *** may want to report the problem to your system manager and/or to
8129 *** bug-libtool@gnu.org
8139 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8144 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8145 if test -n "$MAGIC_CMD"; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8147 $as_echo "$MAGIC_CMD" >&6; }
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8150 $as_echo "no" >&6; }
8157 if test -z "$lt_cv_path_MAGIC_CMD"; then
8158 if test -n "$ac_tool_prefix"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8160 $as_echo_n "checking for file... " >&6; }
8161 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8162 $as_echo_n "(cached) " >&6
8166 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8169 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8170 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8171 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8172 for ac_dir
in $ac_dummy; do
8174 test -z "$ac_dir" && ac_dir
=.
8175 if test -f $ac_dir/file; then
8176 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8177 if test -n "$file_magic_test_file"; then
8178 case $deplibs_check_method in
8180 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8181 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8182 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8183 $EGREP "$file_magic_regex" > /dev
/null
; then
8188 *** Warning: the command libtool uses to detect shared libraries,
8189 *** $file_magic_cmd, produces output that libtool cannot recognize.
8190 *** The result is that libtool may fail to recognize shared libraries
8191 *** as such. This will affect the creation of libtool libraries that
8192 *** depend on shared libraries, but programs linked with such libtool
8193 *** libraries will work regardless of this problem. Nevertheless, you
8194 *** may want to report the problem to your system manager and/or to
8195 *** bug-libtool@gnu.org
8205 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8210 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8211 if test -n "$MAGIC_CMD"; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8213 $as_echo "$MAGIC_CMD" >&6; }
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8216 $as_echo "no" >&6; }
8229 # Use C for the default configuration in the libtool script
8233 ac_cpp
='$CPP $CPPFLAGS'
8234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8239 # Source file extension for C test sources.
8242 # Object file extension for compiled C test sources.
8246 # Code to be used in simple compile tests
8247 lt_simple_compile_test_code
="int some_variable = 0;"
8249 # Code to be used in simple link tests
8250 lt_simple_link_test_code
='int main(){return(0);}'
8258 # If no C compiler was specified, use CC.
8261 # If no C compiler flags were specified, use CFLAGS.
8262 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8264 # Allow CC to be a program name with arguments.
8267 # Save the default compiler, since it gets overwritten when the other
8268 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8269 compiler_DEFAULT
=$CC
8271 # save warnings/boilerplate of simple test code
8272 ac_outfile
=conftest.
$ac_objext
8273 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8274 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8275 _lt_compiler_boilerplate
=`cat conftest.err`
8278 ac_outfile
=conftest.
$ac_objext
8279 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8280 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8281 _lt_linker_boilerplate
=`cat conftest.err`
8286 ## There is no encapsulation within the following macros, do not change
8287 ## the running order or otherwise move them around unless you know exactly
8288 ## what you are doing...
8289 if test -n "$compiler"; then
8291 lt_prog_compiler_no_builtin_flag
=
8293 if test "$GCC" = yes; then
8294 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8297 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8298 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8299 $as_echo_n "(cached) " >&6
8301 lt_cv_prog_compiler_rtti_exceptions
=no
8302 ac_outfile
=conftest.
$ac_objext
8303 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8304 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8305 # Insert the option either (1) after the last *FLAGS variable, or
8306 # (2) before a word containing "conftest.", or (3) at the end.
8307 # Note that $ac_compile itself does not contain backslashes and begins
8308 # with a dollar sign (not a hyphen), so the echo should work correctly.
8309 # The option is referenced via a variable to avoid confusing sed.
8310 lt_compile
=`echo "$ac_compile" | $SED \
8311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8313 -e 's:$: $lt_compiler_flag:'`
8314 (eval echo "\"\$as_me:8314: $lt_compile\"" >&5)
8315 (eval "$lt_compile" 2>conftest.err
)
8317 cat conftest.err
>&5
8318 echo "$as_me:8318: \$? = $ac_status" >&5
8319 if (exit $ac_status) && test -s "$ac_outfile"; then
8320 # The compiler can only warn and ignore the option if not recognized
8321 # So say no if there are warnings other than the usual output.
8322 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8323 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8324 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8325 lt_cv_prog_compiler_rtti_exceptions
=yes
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8332 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8334 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8335 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8347 lt_prog_compiler_wl
=
8348 lt_prog_compiler_pic
=
8349 lt_prog_compiler_static
=
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8352 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8354 if test "$GCC" = yes; then
8355 lt_prog_compiler_wl
='-Wl,'
8356 lt_prog_compiler_static
='-static'
8360 # All AIX code is PIC.
8361 if test "$host_cpu" = ia64
; then
8362 # AIX 5 now supports IA64 processor
8363 lt_prog_compiler_static
='-Bstatic'
8370 # see comment about AmigaOS4 .so support
8371 lt_prog_compiler_pic
='-fPIC'
8374 # FIXME: we need at least 68020 code to build shared libraries, but
8375 # adding the `-m68020' flag to GCC prevents building anything better,
8377 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8382 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8383 # PIC is the default for these OSes.
8386 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8387 # This hack is so that the source file can tell whether it is being
8388 # built for inclusion in a dll (and should export symbols for example).
8389 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8390 # (--disable-auto-import) libraries
8391 lt_prog_compiler_pic
='-DDLL_EXPORT'
8394 darwin
* | rhapsody
*)
8395 # PIC is the default on this platform
8396 # Common symbols not allowed in MH_DYLIB files
8397 lt_prog_compiler_pic
='-fno-common'
8401 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8402 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8403 # sets the default TLS model and affects inlining.
8409 lt_prog_compiler_pic
='-fPIC'
8415 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8416 # Instead, we relocate shared libraries at runtime.
8420 # Just because we use GCC doesn't mean we suddenly get shared libraries
8421 # on systems that don't support them.
8422 lt_prog_compiler_can_build_shared
=no
8427 # QNX uses GNU C++, but need to define -shared option too, otherwise
8429 lt_prog_compiler_pic
='-fPIC -shared'
8433 if test -d /usr
/nec
; then
8434 lt_prog_compiler_pic
=-Kconform_pic
8439 lt_prog_compiler_pic
='-fPIC'
8443 # PORTME Check for flag to pass linker flags through the system compiler.
8446 lt_prog_compiler_wl
='-Wl,'
8447 if test "$host_cpu" = ia64
; then
8448 # AIX 5 now supports IA64 processor
8449 lt_prog_compiler_static
='-Bstatic'
8451 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8455 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8456 # This hack is so that the source file can tell whether it is being
8457 # built for inclusion in a dll (and should export symbols for example).
8458 lt_prog_compiler_pic
='-DDLL_EXPORT'
8461 hpux9
* | hpux10
* | hpux11
*)
8462 lt_prog_compiler_wl
='-Wl,'
8463 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8470 lt_prog_compiler_pic
='+Z'
8473 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8474 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8477 irix5
* | irix6
* | nonstopux
*)
8478 lt_prog_compiler_wl
='-Wl,'
8479 # PIC (with -KPIC) is the default.
8480 lt_prog_compiler_static
='-non_shared'
8483 linux
* | k
*bsd
*-gnu)
8484 case $cc_basename in
8485 # old Intel for x86_64 which still supported -KPIC.
8487 lt_prog_compiler_wl
='-Wl,'
8488 lt_prog_compiler_pic
='-KPIC'
8489 lt_prog_compiler_static
='-static'
8491 # icc used to be incompatible with GCC.
8492 # ICC 10 doesn't accept -KPIC any more.
8494 lt_prog_compiler_wl
='-Wl,'
8495 lt_prog_compiler_pic
='-fPIC'
8496 lt_prog_compiler_static
='-static'
8498 # Lahey Fortran 8.1.
8500 lt_prog_compiler_wl
='-Wl,'
8501 lt_prog_compiler_pic
='--shared'
8502 lt_prog_compiler_static
='--static'
8504 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8505 # Portland Group compilers (*not* the Pentium gcc compiler,
8506 # which looks to be a dead project)
8507 lt_prog_compiler_wl
='-Wl,'
8508 lt_prog_compiler_pic
='-fpic'
8509 lt_prog_compiler_static
='-Bstatic'
8512 lt_prog_compiler_wl
='-Wl,'
8513 # All Alpha code is PIC.
8514 lt_prog_compiler_static
='-non_shared'
8517 # IBM XL C 8.0/Fortran 10.1 on PPC
8518 lt_prog_compiler_wl
='-Wl,'
8519 lt_prog_compiler_pic
='-qpic'
8520 lt_prog_compiler_static
='-qstaticlink'
8523 case `$CC -V 2>&1 | sed 5q` in
8526 lt_prog_compiler_pic
='-KPIC'
8527 lt_prog_compiler_static
='-Bstatic'
8528 lt_prog_compiler_wl
='-Wl,'
8531 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8532 lt_prog_compiler_pic
='-KPIC'
8533 lt_prog_compiler_static
='-Bstatic'
8534 lt_prog_compiler_wl
=''
8542 lt_prog_compiler_pic
='-KPIC'
8543 lt_prog_compiler_static
='-Bstatic'
8547 # QNX uses GNU C++, but need to define -shared option too, otherwise
8549 lt_prog_compiler_pic
='-fPIC -shared'
8552 osf3
* | osf4
* | osf5
*)
8553 lt_prog_compiler_wl
='-Wl,'
8554 # All OSF/1 code is PIC.
8555 lt_prog_compiler_static
='-non_shared'
8559 lt_prog_compiler_static
='-non_shared'
8563 lt_prog_compiler_pic
='-KPIC'
8564 lt_prog_compiler_static
='-Bstatic'
8565 case $cc_basename in
8567 lt_prog_compiler_wl
='-Qoption ld ';;
8569 lt_prog_compiler_wl
='-Wl,';;
8574 lt_prog_compiler_wl
='-Qoption ld '
8575 lt_prog_compiler_pic
='-PIC'
8576 lt_prog_compiler_static
='-Bstatic'
8579 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8580 lt_prog_compiler_wl
='-Wl,'
8581 lt_prog_compiler_pic
='-KPIC'
8582 lt_prog_compiler_static
='-Bstatic'
8586 if test -d /usr
/nec
;then
8587 lt_prog_compiler_pic
='-Kconform_pic'
8588 lt_prog_compiler_static
='-Bstatic'
8592 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8593 lt_prog_compiler_wl
='-Wl,'
8594 lt_prog_compiler_pic
='-KPIC'
8595 lt_prog_compiler_static
='-Bstatic'
8599 lt_prog_compiler_wl
='-Wl,'
8600 lt_prog_compiler_can_build_shared
=no
8604 lt_prog_compiler_pic
='-pic'
8605 lt_prog_compiler_static
='-Bstatic'
8609 lt_prog_compiler_can_build_shared
=no
8615 # For platforms which do not support PIC, -DPIC is meaningless:
8617 lt_prog_compiler_pic
=
8620 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8624 $as_echo "$lt_prog_compiler_pic" >&6; }
8632 # Check to make sure the PIC flag actually works.
8634 if test -n "$lt_prog_compiler_pic"; then
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8636 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8637 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8638 $as_echo_n "(cached) " >&6
8640 lt_cv_prog_compiler_pic_works
=no
8641 ac_outfile
=conftest.
$ac_objext
8642 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8643 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8644 # Insert the option either (1) after the last *FLAGS variable, or
8645 # (2) before a word containing "conftest.", or (3) at the end.
8646 # Note that $ac_compile itself does not contain backslashes and begins
8647 # with a dollar sign (not a hyphen), so the echo should work correctly.
8648 # The option is referenced via a variable to avoid confusing sed.
8649 lt_compile
=`echo "$ac_compile" | $SED \
8650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8652 -e 's:$: $lt_compiler_flag:'`
8653 (eval echo "\"\$as_me:8653: $lt_compile\"" >&5)
8654 (eval "$lt_compile" 2>conftest.err
)
8656 cat conftest.err
>&5
8657 echo "$as_me:8657: \$? = $ac_status" >&5
8658 if (exit $ac_status) && test -s "$ac_outfile"; then
8659 # The compiler can only warn and ignore the option if not recognized
8660 # So say no if there are warnings other than the usual output.
8661 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8662 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8663 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8664 lt_cv_prog_compiler_pic_works
=yes
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8671 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8673 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8674 case $lt_prog_compiler_pic in
8676 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8679 lt_prog_compiler_pic
=
8680 lt_prog_compiler_can_build_shared
=no
8691 # Check to make sure the static flag actually works.
8693 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8695 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8696 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8697 $as_echo_n "(cached) " >&6
8699 lt_cv_prog_compiler_static_works
=no
8700 save_LDFLAGS
="$LDFLAGS"
8701 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8702 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8703 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8704 # The linker can only warn and ignore the option if not recognized
8705 # So say no if there are warnings
8706 if test -s conftest.err
; then
8707 # Append any errors to the config.log.
8708 cat conftest.err
1>&5
8709 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8710 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8711 if diff conftest.exp conftest.er2
>/dev
/null
; then
8712 lt_cv_prog_compiler_static_works
=yes
8715 lt_cv_prog_compiler_static_works
=yes
8719 LDFLAGS
="$save_LDFLAGS"
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8723 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8725 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8728 lt_prog_compiler_static
=
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8738 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8739 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8740 $as_echo_n "(cached) " >&6
8742 lt_cv_prog_compiler_c_o
=no
8743 $RM -r conftest
2>/dev
/null
8747 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8749 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8750 # Insert the option either (1) after the last *FLAGS variable, or
8751 # (2) before a word containing "conftest.", or (3) at the end.
8752 # Note that $ac_compile itself does not contain backslashes and begins
8753 # with a dollar sign (not a hyphen), so the echo should work correctly.
8754 lt_compile
=`echo "$ac_compile" | $SED \
8755 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8756 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8757 -e 's:$: $lt_compiler_flag:'`
8758 (eval echo "\"\$as_me:8758: $lt_compile\"" >&5)
8759 (eval "$lt_compile" 2>out
/conftest.err
)
8761 cat out
/conftest.err
>&5
8762 echo "$as_me:8762: \$? = $ac_status" >&5
8763 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8765 # The compiler can only warn and ignore the option if not recognized
8766 # So say no if there are warnings
8767 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8768 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8769 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8770 lt_cv_prog_compiler_c_o
=yes
8775 # SGI C++ compiler will create directory out/ii_files/ for
8776 # template instantiation
8777 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8778 $RM out
/* && rmdir out
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8785 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8793 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8794 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8795 $as_echo_n "(cached) " >&6
8797 lt_cv_prog_compiler_c_o
=no
8798 $RM -r conftest
2>/dev
/null
8802 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8804 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8805 # Insert the option either (1) after the last *FLAGS variable, or
8806 # (2) before a word containing "conftest.", or (3) at the end.
8807 # Note that $ac_compile itself does not contain backslashes and begins
8808 # with a dollar sign (not a hyphen), so the echo should work correctly.
8809 lt_compile
=`echo "$ac_compile" | $SED \
8810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8812 -e 's:$: $lt_compiler_flag:'`
8813 (eval echo "\"\$as_me:8813: $lt_compile\"" >&5)
8814 (eval "$lt_compile" 2>out
/conftest.err
)
8816 cat out
/conftest.err
>&5
8817 echo "$as_me:8817: \$? = $ac_status" >&5
8818 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8820 # The compiler can only warn and ignore the option if not recognized
8821 # So say no if there are warnings
8822 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8823 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8824 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8825 lt_cv_prog_compiler_c_o
=yes
8830 # SGI C++ compiler will create directory out/ii_files/ for
8831 # template instantiation
8832 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8833 $RM out
/* && rmdir out
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8840 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8845 hard_links
="nottested"
8846 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8847 # do not overwrite the value of need_locks provided by the user
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8849 $as_echo_n "checking if we can lock with hard links... " >&6; }
8852 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8854 ln conftest.a conftest.b
2>&5 || hard_links
=no
8855 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8857 $as_echo "$hard_links" >&6; }
8858 if test "$hard_links" = no
; then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8860 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8873 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8876 allow_undefined_flag
=
8877 always_export_symbols
=no
8879 archive_expsym_cmds
=
8880 compiler_needs_object
=no
8881 enable_shared_with_static_runtimes
=no
8882 export_dynamic_flag_spec
=
8883 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8884 hardcode_automatic
=no
8886 hardcode_direct_absolute
=no
8887 hardcode_libdir_flag_spec
=
8888 hardcode_libdir_flag_spec_ld
=
8889 hardcode_libdir_separator
=
8891 hardcode_shlibpath_var
=unsupported
8893 link_all_deplibs
=unknown
8896 old_archive_from_new_cmds
=
8897 old_archive_from_expsyms_cmds
=
8898 thread_safe_flag_spec
=
8899 whole_archive_flag_spec
=
8900 # include_expsyms should be a list of space-separated symbols to be *always*
8901 # included in the symbol list
8903 # exclude_expsyms can be an extended regexp of symbols to exclude
8904 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8905 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8906 # as well as any symbol that contains `d'.
8907 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8908 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8909 # platforms (ab)use it in PIC code, but their linkers get confused if
8910 # the symbol is explicitly referenced. Since portable code cannot
8911 # rely on this symbol name, it's probably fine to never include it in
8912 # preloaded symbol tables.
8913 # Exclude shared library initialization/finalization symbols.
8914 extract_expsyms_cmds
=
8917 cygwin
* | mingw
* | pw32
* | cegcc
*)
8918 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8919 # When not using gcc, we currently assume that we are using
8920 # Microsoft Visual C++.
8921 if test "$GCC" != yes; then
8926 # we just hope/assume this is gcc and not c89 (= MSVC++)
8935 if test "$with_gnu_ld" = yes; then
8936 # If archive_cmds runs LD, not CC, wlarc should be empty
8939 # Set some defaults for GNU ld with shared library support. These
8940 # are reset later if shared libraries are not supported. Putting them
8941 # here allows them to be overridden if necessary.
8942 runpath_var
=LD_RUN_PATH
8943 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8944 export_dynamic_flag_spec
='${wl}--export-dynamic'
8945 # ancient GNU ld didn't support --whole-archive et. al.
8946 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8947 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8949 whole_archive_flag_spec
=
8951 supports_anon_versioning
=no
8952 case `$LD -v 2>&1` in
8953 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8954 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8955 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8956 *\
2.11.
*) ;; # other 2.11 versions
8957 *) supports_anon_versioning
=yes ;;
8960 # See if GNU ld supports shared libraries.
8963 # On AIX/PPC, the GNU linker is very broken
8964 if test "$host_cpu" != ia64
; then
8968 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8969 *** to be unable to reliably create shared libraries on AIX.
8970 *** Therefore, libtool is disabling shared libraries support. If you
8971 *** really care for shared libraries, you may want to modify your PATH
8972 *** so that a non-GNU linker is found, and then restart.
8981 # see comment about AmigaOS4 .so support
8982 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8983 archive_expsym_cmds
=''
8986 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)'
8987 hardcode_libdir_flag_spec
='-L$libdir'
8988 hardcode_minus_L
=yes
8994 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8995 allow_undefined_flag
=unsupported
8996 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8997 # support --undefined. This deserves some investigation. FIXME
8998 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9004 cygwin
* | mingw
* | pw32
* | cegcc
*)
9005 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9006 # as there is no search path for DLLs.
9007 hardcode_libdir_flag_spec
='-L$libdir'
9008 allow_undefined_flag
=unsupported
9009 always_export_symbols
=no
9010 enable_shared_with_static_runtimes
=yes
9011 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9013 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9014 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9015 # If the export-symbols file already is a .def file (1st line
9016 # is EXPORTS), use it as is; otherwise, prepend...
9017 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9018 cp $export_symbols $output_objdir/$soname.def;
9020 echo EXPORTS > $output_objdir/$soname.def;
9021 cat $export_symbols >> $output_objdir/$soname.def;
9023 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9031 hardcode_shlibpath_var
=no
9032 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9033 export_dynamic_flag_spec
='${wl}-E'
9034 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9035 # Instead, shared libraries are loaded at an image base (0x10000000 by
9036 # default) and relocated if they conflict, which is a slow very memory
9037 # consuming and fragmenting process. To avoid this, we pick a random,
9038 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9039 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9040 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9041 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'
9044 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9046 if test "$host_os" = linux-dietlibc
; then
9047 case $cc_basename in
9048 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9051 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9052 && test "$tmp_diet" = no
9055 tmp_sharedflag
='-shared'
9056 case $cc_basename,$host_cpu in
9057 pgcc
*) # Portland Group C compiler
9058 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9059 tmp_addflag
=' $pic_flag'
9061 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9062 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9063 tmp_addflag
=' $pic_flag -Mnomain' ;;
9064 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9065 tmp_addflag
=' -i_dynamic' ;;
9066 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9067 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9068 ifc
* | ifort
*) # Intel Fortran compiler
9069 tmp_addflag
=' -nofor_main' ;;
9070 lf95
*) # Lahey Fortran 8.1
9071 whole_archive_flag_spec
=
9072 tmp_sharedflag
='--shared' ;;
9073 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9074 tmp_sharedflag
='-qmkshrobj'
9077 case `$CC -V 2>&1 | sed 5q` in
9078 *Sun\ C
*) # Sun C 5.9
9079 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9080 compiler_needs_object
=yes
9081 tmp_sharedflag
='-G' ;;
9082 *Sun\ F
*) # Sun Fortran 8.3
9083 tmp_sharedflag
='-G' ;;
9085 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087 if test "x$supports_anon_versioning" = xyes
; then
9088 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9089 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9090 echo "local: *; };" >> $output_objdir/$libname.ver~
9091 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9094 case $cc_basename in
9096 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9097 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9098 hardcode_libdir_flag_spec
=
9099 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9100 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9101 if test "x$supports_anon_versioning" = xyes
; then
9102 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9103 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9104 echo "local: *; };" >> $output_objdir/$libname.ver~
9105 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9115 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9116 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9119 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9120 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9125 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9129 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9130 *** create shared libraries on Solaris systems. Therefore, libtool
9131 *** is disabling shared libraries support. We urge you to upgrade GNU
9132 *** binutils to release 2.9.1 or newer. Another option is to modify
9133 *** your PATH or compiler configuration so that the native linker is
9134 *** used, and then restart.
9137 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9138 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9139 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9145 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9146 case `$LD -v 2>&1` in
9147 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9151 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9152 *** reliably create shared libraries on SCO systems. Therefore, libtool
9153 *** is disabling shared libraries support. We urge you to upgrade GNU
9154 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9155 *** your PATH or compiler configuration so that the native linker is
9156 *** used, and then restart.
9161 # For security reasons, it is highly recommended that you always
9162 # use absolute paths for naming shared libraries, and exclude the
9163 # DT_RUNPATH tag from executables and libraries. But doing so
9164 # requires that you compile everything twice, which is a pain.
9165 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9166 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9167 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9168 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9177 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9180 hardcode_shlibpath_var
=no
9184 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9185 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9193 if test "$ld_shlibs" = no
; then
9195 hardcode_libdir_flag_spec
=
9196 export_dynamic_flag_spec
=
9197 whole_archive_flag_spec
=
9200 # PORTME fill in a description of your system's linker (not GNU ld)
9203 allow_undefined_flag
=unsupported
9204 always_export_symbols
=yes
9205 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'
9206 # Note: this linker hardcodes the directories in LIBPATH if there
9207 # are no directories specified by -L.
9208 hardcode_minus_L
=yes
9209 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9210 # Neither direct hardcoding nor static linking is supported with a
9212 hardcode_direct
=unsupported
9217 if test "$host_cpu" = ia64
; then
9218 # On IA64, the linker does run time linking by default, so we don't
9219 # have to do anything special.
9220 aix_use_runtimelinking
=no
9221 exp_sym_flag
='-Bexport'
9224 # If we're using GNU nm, then we don't want the "-C" option.
9225 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9226 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9227 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9229 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9231 aix_use_runtimelinking
=no
9233 # Test if we are trying to use run time linking or normal
9234 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9235 # need to do runtime linking.
9236 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9237 for ld_flag
in $LDFLAGS; do
9238 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9239 aix_use_runtimelinking
=yes
9246 exp_sym_flag
='-bexport'
9247 no_entry_flag
='-bnoentry'
9250 # When large executables or shared objects are built, AIX ld can
9251 # have problems creating the table of contents. If linking a library
9252 # or program results in "error TOC overflow" add -mminimal-toc to
9253 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9254 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9258 hardcode_direct_absolute
=yes
9259 hardcode_libdir_separator
=':'
9260 link_all_deplibs
=yes
9261 file_list_spec
='${wl}-f,'
9263 if test "$GCC" = yes; then
9264 case $host_os in aix4.
[012]|aix4.
[012].
*)
9265 # We only want to do this on AIX 4.2 and lower, the check
9266 # below for broken collect2 doesn't work under 4.3+
9267 collect2name
=`${CC} -print-prog-name=collect2`
9268 if test -f "$collect2name" &&
9269 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9271 # We have reworked collect2
9274 # We have old collect2
9275 hardcode_direct
=unsupported
9276 # It fails to find uninstalled libraries when the uninstalled
9277 # path is not listed in the libpath. Setting hardcode_minus_L
9278 # to unsupported forces relinking
9279 hardcode_minus_L
=yes
9280 hardcode_libdir_flag_spec
='-L$libdir'
9281 hardcode_libdir_separator
=
9285 shared_flag
='-shared'
9286 if test "$aix_use_runtimelinking" = yes; then
9287 shared_flag
="$shared_flag "'${wl}-G'
9291 if test "$host_cpu" = ia64
; then
9292 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9293 # chokes on -Wl,-G. The following line is correct:
9296 if test "$aix_use_runtimelinking" = yes; then
9297 shared_flag
='${wl}-G'
9299 shared_flag
='${wl}-bM:SRE'
9304 export_dynamic_flag_spec
='${wl}-bexpall'
9305 # It seems that -bexpall does not export symbols beginning with
9306 # underscore (_), so it is better to generate a list of symbols to export.
9307 always_export_symbols
=yes
9308 if test "$aix_use_runtimelinking" = yes; then
9309 # Warning - without using the other runtime loading flags (-brtl),
9310 # -berok will link without error, but may produce a broken library.
9311 allow_undefined_flag
='-berok'
9312 # Determine the default libpath from the value encoded in an
9314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9325 if ac_fn_c_try_link
"$LINENO"; then :
9327 lt_aix_libpath_sed
='
9328 /Import File Strings/,/^$/ {
9334 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9335 # Check for a 64-bit object if we didn't find anything.
9336 if test -z "$aix_libpath"; then
9337 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9340 rm -f core conftest.err conftest.
$ac_objext \
9341 conftest
$ac_exeext conftest.
$ac_ext
9342 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9344 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9345 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9347 if test "$host_cpu" = ia64
; then
9348 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9349 allow_undefined_flag
="-z nodefs"
9350 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"
9352 # Determine the default libpath from the value encoded in an
9354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9365 if ac_fn_c_try_link
"$LINENO"; then :
9367 lt_aix_libpath_sed
='
9368 /Import File Strings/,/^$/ {
9374 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9375 # Check for a 64-bit object if we didn't find anything.
9376 if test -z "$aix_libpath"; then
9377 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9380 rm -f core conftest.err conftest.
$ac_objext \
9381 conftest
$ac_exeext conftest.
$ac_ext
9382 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9384 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9385 # Warning - without using the other run time loading flags,
9386 # -berok will link without error, but may produce a broken library.
9387 no_undefined_flag
=' ${wl}-bernotok'
9388 allow_undefined_flag
=' ${wl}-berok'
9389 # Exported symbols can be pulled into shared objects from archives
9390 whole_archive_flag_spec
='$convenience'
9391 archive_cmds_need_lc
=yes
9392 # This is similar to how AIX traditionally builds its shared libraries.
9393 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9401 # see comment about AmigaOS4 .so support
9402 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9403 archive_expsym_cmds
=''
9406 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)'
9407 hardcode_libdir_flag_spec
='-L$libdir'
9408 hardcode_minus_L
=yes
9414 export_dynamic_flag_spec
=-rdynamic
9417 cygwin
* | mingw
* | pw32
* | cegcc
*)
9418 # When not using gcc, we currently assume that we are using
9419 # Microsoft Visual C++.
9420 # hardcode_libdir_flag_spec is actually meaningless, as there is
9421 # no search path for DLLs.
9422 hardcode_libdir_flag_spec
=' '
9423 allow_undefined_flag
=unsupported
9424 # Tell ltmain to make .lib files, not .a files.
9426 # Tell ltmain to make .dll files, not .so files.
9428 # FIXME: Setting linknames here is a bad hack.
9429 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9430 # The linker will automatically build a .lib file if we build a DLL.
9431 old_archive_from_new_cmds
='true'
9432 # FIXME: Should let the user specify the lib program.
9433 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9434 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9435 enable_shared_with_static_runtimes
=yes
9438 darwin
* | rhapsody
*)
9441 archive_cmds_need_lc
=no
9443 hardcode_automatic
=yes
9444 hardcode_shlibpath_var
=unsupported
9445 whole_archive_flag_spec
=''
9446 link_all_deplibs
=yes
9447 allow_undefined_flag
="$_lt_dar_allow_undefined"
9448 case $cc_basename in
9449 ifort
*) _lt_dar_can_shared
=yes ;;
9450 *) _lt_dar_can_shared
=$GCC ;;
9452 if test "$_lt_dar_can_shared" = "yes"; then
9453 output_verbose_link_cmd
=echo
9454 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9455 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9456 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}"
9457 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}"
9466 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9467 hardcode_libdir_flag_spec
='-L$libdir'
9468 hardcode_shlibpath_var
=no
9475 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9476 # support. Future versions do this automatically, but an explicit c++rt0.o
9477 # does not break anything, and helps significantly (at the cost of a little
9480 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9481 hardcode_libdir_flag_spec
='-R$libdir'
9483 hardcode_shlibpath_var
=no
9486 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9488 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9490 hardcode_minus_L
=yes
9491 hardcode_shlibpath_var
=no
9494 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9495 freebsd
* | dragonfly
*)
9496 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9497 hardcode_libdir_flag_spec
='-R$libdir'
9499 hardcode_shlibpath_var
=no
9503 if test "$GCC" = yes; then
9504 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9506 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9508 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9509 hardcode_libdir_separator
=:
9512 # hardcode_minus_L: Not really in the search PATH,
9513 # but as the default location of the library.
9514 hardcode_minus_L
=yes
9515 export_dynamic_flag_spec
='${wl}-E'
9519 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9520 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9522 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9524 if test "$with_gnu_ld" = no
; then
9525 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9526 hardcode_libdir_flag_spec_ld
='+b $libdir'
9527 hardcode_libdir_separator
=:
9529 hardcode_direct_absolute
=yes
9530 export_dynamic_flag_spec
='${wl}-E'
9531 # hardcode_minus_L: Not really in the search PATH,
9532 # but as the default location of the library.
9533 hardcode_minus_L
=yes
9538 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9541 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9544 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9547 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9556 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9559 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9563 if test "$with_gnu_ld" = no
; then
9564 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9565 hardcode_libdir_separator
=:
9570 hardcode_shlibpath_var
=no
9574 hardcode_direct_absolute
=yes
9575 export_dynamic_flag_spec
='${wl}-E'
9577 # hardcode_minus_L: Not really in the search PATH,
9578 # but as the default location of the library.
9579 hardcode_minus_L
=yes
9585 irix5
* | irix6
* | nonstopux
*)
9586 if test "$GCC" = yes; then
9587 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9588 # Try to use the -exported_symbol ld option, if it does not
9589 # work, assume that -exports_file does not work either and
9590 # implicitly export all symbols.
9591 save_LDFLAGS
="$LDFLAGS"
9592 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9595 int foo (void) { return 0; }
9597 if ac_fn_c_try_link
"$LINENO"; then :
9599 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9602 rm -f core conftest.err conftest.
$ac_objext \
9603 conftest
$ac_exeext conftest.
$ac_ext
9604 LDFLAGS
="$save_LDFLAGS"
9606 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9607 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9609 archive_cmds_need_lc
='no'
9610 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9611 hardcode_libdir_separator
=:
9613 link_all_deplibs
=yes
9617 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9618 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9620 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9622 hardcode_libdir_flag_spec
='-R$libdir'
9624 hardcode_shlibpath_var
=no
9628 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9630 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9631 hardcode_libdir_separator
=:
9632 hardcode_shlibpath_var
=no
9639 if test -f /usr
/libexec
/ld.so
; then
9641 hardcode_shlibpath_var
=no
9642 hardcode_direct_absolute
=yes
9643 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9644 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9645 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9646 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9647 export_dynamic_flag_spec
='${wl}-E'
9650 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9651 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9652 hardcode_libdir_flag_spec
='-R$libdir'
9655 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9656 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9666 hardcode_libdir_flag_spec
='-L$libdir'
9667 hardcode_minus_L
=yes
9668 allow_undefined_flag
=unsupported
9669 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9670 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9674 if test "$GCC" = yes; then
9675 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9676 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9678 allow_undefined_flag
=' -expect_unresolved \*'
9679 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9681 archive_cmds_need_lc
='no'
9682 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9683 hardcode_libdir_separator
=:
9686 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9687 if test "$GCC" = yes; then
9688 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9689 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9690 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9692 allow_undefined_flag
=' -expect_unresolved \*'
9693 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9694 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~
9695 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9697 # Both c and cxx compiler support -rpath directly
9698 hardcode_libdir_flag_spec
='-rpath $libdir'
9700 archive_cmds_need_lc
='no'
9701 hardcode_libdir_separator
=:
9705 no_undefined_flag
=' -z defs'
9706 if test "$GCC" = yes; then
9708 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9709 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9710 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9712 case `$CC -V 2>&1` in
9715 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9716 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9717 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9721 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9722 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9723 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9727 hardcode_libdir_flag_spec
='-R$libdir'
9728 hardcode_shlibpath_var
=no
9730 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9732 # The compiler driver will combine and reorder linker options,
9733 # but understands `-z linker_flag'. GCC discards it without `$wl',
9734 # but is careful enough not to reorder.
9735 # Supported since Solaris 2.6 (maybe 2.5.1?)
9736 if test "$GCC" = yes; then
9737 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9739 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9743 link_all_deplibs
=yes
9747 if test "x$host_vendor" = xsequent
; then
9748 # Use $CC to link under sequent, because it throws in some extra .o
9749 # files that make .init and .fini sections work.
9750 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9752 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9754 hardcode_libdir_flag_spec
='-L$libdir'
9756 hardcode_minus_L
=yes
9757 hardcode_shlibpath_var
=no
9761 case $host_vendor in
9763 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9764 hardcode_direct
=yes # is this really true???
9767 ## LD is ld it makes a PLAMLIB
9768 ## CC just makes a GrossModule.
9769 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9770 reload_cmds
='$CC -r -o $output$reload_objs'
9774 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9775 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9778 runpath_var
='LD_RUN_PATH'
9779 hardcode_shlibpath_var
=no
9783 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9784 hardcode_shlibpath_var
=no
9785 export_dynamic_flag_spec
='-Bexport'
9789 if test -d /usr
/nec
; then
9790 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9791 hardcode_shlibpath_var
=no
9792 runpath_var
=LD_RUN_PATH
9793 hardcode_runpath_var
=yes
9798 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9799 no_undefined_flag
='${wl}-z,text'
9800 archive_cmds_need_lc
=no
9801 hardcode_shlibpath_var
=no
9802 runpath_var
='LD_RUN_PATH'
9804 if test "$GCC" = yes; then
9805 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9813 sysv5
* | sco3.2v5
* | sco5v6
*)
9814 # Note: We can NOT use -z defs as we might desire, because we do not
9815 # link with -lc, and that would cause any symbols used from libc to
9816 # always be unresolved, which means just about no library would
9817 # ever link correctly. If we're not using GNU ld we use -z text
9818 # though, which does catch some bad symbols but isn't as heavy-handed
9820 no_undefined_flag
='${wl}-z,text'
9821 allow_undefined_flag
='${wl}-z,nodefs'
9822 archive_cmds_need_lc
=no
9823 hardcode_shlibpath_var
=no
9824 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9825 hardcode_libdir_separator
=':'
9826 link_all_deplibs
=yes
9827 export_dynamic_flag_spec
='${wl}-Bexport'
9828 runpath_var
='LD_RUN_PATH'
9830 if test "$GCC" = yes; then
9831 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9832 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9834 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9841 hardcode_libdir_flag_spec
='-L$libdir'
9842 hardcode_shlibpath_var
=no
9850 if test x
$host_vendor = xsni
; then
9852 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9853 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9860 $as_echo "$ld_shlibs" >&6; }
9861 test "$ld_shlibs" = no
&& can_build_shared
=no
9863 with_gnu_ld
=$with_gnu_ld
9880 # Do we need to explicitly link libc?
9882 case "x$archive_cmds_need_lc" in
9884 # Assume -lc should be added
9885 archive_cmds_need_lc
=yes
9887 if test "$enable_shared" = yes && test "$GCC" = yes; then
9888 case $archive_cmds in
9890 # FIXME: we may have to deal with multi-command sequences.
9893 # Test whether the compiler implicitly links with -lc since on some
9894 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9895 # to ld, don't add -lc before -lgcc.
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9897 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9899 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9902 (eval $ac_compile) 2>&5
9904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9905 test $ac_status = 0; } 2>conftest.err
; then
9908 libobjs
=conftest.
$ac_objext
9910 wl
=$lt_prog_compiler_wl
9911 pic_flag
=$lt_prog_compiler_pic
9917 lt_save_allow_undefined_flag
=$allow_undefined_flag
9918 allow_undefined_flag
=
9919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9920 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9923 test $ac_status = 0; }
9925 archive_cmds_need_lc
=no
9927 archive_cmds_need_lc
=yes
9929 allow_undefined_flag
=$lt_save_allow_undefined_flag
9931 cat conftest.err
1>&5
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9935 $as_echo "$archive_cmds_need_lc" >&6; }
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10099 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10101 if test "$GCC" = yes; then
10103 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10104 *) lt_awk_arg
="/^libraries:/" ;;
10106 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10107 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10108 # if the path contains ";" then we assume it to be the separator
10109 # otherwise default to the standard path separator (i.e. ":") - it is
10110 # assumed that no part of a normal pathname contains ";" but that should
10111 # okay in the real world where ";" in dirpaths is itself problematic.
10112 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10114 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10116 # Ok, now we have the path, separated by spaces, we can step through it
10117 # and add multilib dir if necessary.
10118 lt_tmp_lt_search_path_spec
=
10119 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10120 for lt_sys_path
in $lt_search_path_spec; do
10121 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10122 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10124 test -d "$lt_sys_path" && \
10125 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10128 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10129 BEGIN {RS=" "; FS="/|\n";} {
10132 for (lt_i = NF; lt_i > 0; lt_i--) {
10133 if ($lt_i != "" && $lt_i != ".") {
10134 if ($lt_i == "..") {
10137 if (lt_count == 0) {
10138 lt_foo="/" $lt_i lt_foo;
10145 if (lt_foo != "") { lt_freq[lt_foo]++; }
10146 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10148 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10150 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10152 library_names_spec
=
10153 libname_spec
='lib$name'
10157 postuninstall_cmds
=
10161 shlibpath_overrides_runpath
=unknown
10163 dynamic_linker
="$host_os ld.so"
10164 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10165 need_lib_prefix
=unknown
10166 hardcode_into_libs
=no
10168 # when you set need_version to no, make sure it does not cause -set_version
10169 # flags to be left without arguments
10170 need_version
=unknown
10175 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10176 shlibpath_var
=LIBPATH
10178 # AIX 3 has no versioning support, so we append a major version to the name.
10179 soname_spec
='${libname}${release}${shared_ext}$major'
10186 hardcode_into_libs
=yes
10187 if test "$host_cpu" = ia64
; then
10188 # AIX 5 supports IA64
10189 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10190 shlibpath_var
=LD_LIBRARY_PATH
10192 # With GCC up to 2.95.x, collect2 would create an import file
10193 # for dependence libraries. The import file would start with
10194 # the line `#! .'. This would cause the generated library to
10195 # depend on `.', always an invalid library. This was fixed in
10196 # development snapshots of GCC prior to 3.0.
10198 aix4 | aix4.
[01] | aix4.
[01].
*)
10199 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10201 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10204 can_build_shared
=no
10208 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10209 # soname into executable. Probably we can add versioning support to
10210 # collect2, so additional links can be useful in future.
10211 if test "$aix_use_runtimelinking" = yes; then
10212 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10213 # instead of lib<name>.a to let people know that these are not
10214 # typical AIX shared libraries.
10215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10217 # We preserve .a as extension for shared libraries through AIX4.2
10218 # and later when we are not doing run time linking.
10219 library_names_spec
='${libname}${release}.a $libname.a'
10220 soname_spec
='${libname}${release}${shared_ext}$major'
10222 shlibpath_var
=LIBPATH
10229 # Since July 2007 AmigaOS4 officially supports .so libraries.
10230 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234 library_names_spec
='$libname.ixlibrary $libname.a'
10235 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10236 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10242 library_names_spec
='${libname}${shared_ext}'
10243 dynamic_linker
="$host_os ld.so"
10244 shlibpath_var
=LIBRARY_PATH
10250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10251 soname_spec
='${libname}${release}${shared_ext}$major'
10252 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10253 shlibpath_var
=LD_LIBRARY_PATH
10254 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10255 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10256 # the default ld.so.conf also contains /usr/contrib/lib and
10257 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10258 # libtool to hard-code these into programs
10261 cygwin
* | mingw
* | pw32
* | cegcc
*)
10262 version_type
=windows
10267 case $GCC,$host_os in
10268 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10269 library_names_spec
='$libname.dll.a'
10270 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10271 postinstall_cmds
='base_file=`basename \${file}`~
10272 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10273 dldir=$destdir/`dirname \$dlpath`~
10274 test -d \$dldir || mkdir -p \$dldir~
10275 $install_prog $dir/$dlname \$dldir/$dlname~
10276 chmod a+x \$dldir/$dlname~
10277 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10278 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10280 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10281 dlpath=$dir/\$dldll~
10283 shlibpath_overrides_runpath
=yes
10287 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10288 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10289 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10292 # MinGW DLLs use traditional 'lib' prefix
10293 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10294 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10295 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10296 # It is most probably a Windows format PATH printed by
10297 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10298 # path with ; separators, and with drive letters. We can handle the
10299 # drive letters (cygwin fileutils understands them), so leave them,
10300 # especially as we might pass files found there to a mingw objdump,
10301 # which wouldn't understand a cygwinified path. Ahh.
10302 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10304 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10308 # pw32 DLLs use 'pw' prefix rather than 'lib'
10309 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10315 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10318 dynamic_linker
='Win32 ld.exe'
10319 # FIXME: first we should search . and the directory the executable is in
10323 darwin
* | rhapsody
*)
10324 dynamic_linker
="$host_os dyld"
10325 version_type
=darwin
10328 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10329 soname_spec
='${libname}${release}${major}$shared_ext'
10330 shlibpath_overrides_runpath
=yes
10331 shlibpath_var
=DYLD_LIBRARY_PATH
10332 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10334 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10335 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10343 soname_spec
='${libname}${release}${shared_ext}$major'
10344 shlibpath_var
=LD_LIBRARY_PATH
10351 freebsd
* | dragonfly
*)
10352 # DragonFly does not have aout. When/if they implement a new
10353 # versioning mechanism, adjust this.
10354 if test -x /usr
/bin
/objformat
; then
10355 objformat
=`/usr/bin/objformat`
10358 freebsd
[123]*) objformat
=aout
;;
10359 *) objformat
=elf
;;
10362 version_type
=freebsd-
$objformat
10363 case $version_type in
10365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10370 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10374 shlibpath_var
=LD_LIBRARY_PATH
10377 shlibpath_overrides_runpath
=yes
10379 freebsd3.
[01]* | freebsdelf3.
[01]*)
10380 shlibpath_overrides_runpath
=yes
10381 hardcode_into_libs
=yes
10383 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10384 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10385 shlibpath_overrides_runpath
=no
10386 hardcode_into_libs
=yes
10388 *) # from 4.6 on, and DragonFly
10389 shlibpath_overrides_runpath
=yes
10390 hardcode_into_libs
=yes
10399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10400 soname_spec
='${libname}${release}${shared_ext}$major'
10401 shlibpath_var
=LD_LIBRARY_PATH
10402 hardcode_into_libs
=yes
10405 hpux9
* | hpux10
* | hpux11
*)
10406 # Give a soname corresponding to the major version so that dld.sl refuses to
10407 # link against other versions.
10414 hardcode_into_libs
=yes
10415 dynamic_linker
="$host_os dld.so"
10416 shlibpath_var
=LD_LIBRARY_PATH
10417 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10419 soname_spec
='${libname}${release}${shared_ext}$major'
10420 if test "X$HPUX_IA64_MODE" = X32
; then
10421 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10423 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10425 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10429 hardcode_into_libs
=yes
10430 dynamic_linker
="$host_os dld.sl"
10431 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10432 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434 soname_spec
='${libname}${release}${shared_ext}$major'
10435 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10436 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10440 dynamic_linker
="$host_os dld.sl"
10441 shlibpath_var
=SHLIB_PATH
10442 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10444 soname_spec
='${libname}${release}${shared_ext}$major'
10447 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10448 postinstall_cmds
='chmod 555 $lib'
10455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10456 soname_spec
='${libname}${release}${shared_ext}$major'
10457 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10458 shlibpath_var
=LD_LIBRARY_PATH
10459 shlibpath_overrides_runpath
=no
10460 hardcode_into_libs
=yes
10463 irix5
* | irix6
* | nonstopux
*)
10465 nonstopux
*) version_type
=nonstopux
;;
10467 if test "$lt_cv_prog_gnu_ld" = yes; then
10475 soname_spec
='${libname}${release}${shared_ext}$major'
10476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10478 irix5
* | nonstopux
*)
10479 libsuff
= shlibsuff
=
10482 case $LD in # libtool.m4 will add one of these switches to LD
10483 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10484 libsuff
= shlibsuff
= libmagic
=32-bit;;
10485 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10486 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10487 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10488 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10489 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10493 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10494 shlibpath_overrides_runpath
=no
10495 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10496 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10497 hardcode_into_libs
=yes
10500 # No shared lib support for Linux oldld, aout, or coff.
10501 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10505 # This must be Linux ELF.
10506 linux
* | k
*bsd
*-gnu)
10510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511 soname_spec
='${libname}${release}${shared_ext}$major'
10512 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10513 shlibpath_var
=LD_LIBRARY_PATH
10514 shlibpath_overrides_runpath
=no
10515 # Some binutils ld are patched to set DT_RUNPATH
10516 save_LDFLAGS
=$LDFLAGS
10517 save_libdir
=$libdir
10518 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10519 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10531 if ac_fn_c_try_link
"$LINENO"; then :
10532 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10533 shlibpath_overrides_runpath
=yes
10536 rm -f core conftest.err conftest.
$ac_objext \
10537 conftest
$ac_exeext conftest.
$ac_ext
10538 LDFLAGS
=$save_LDFLAGS
10539 libdir
=$save_libdir
10541 # This implies no fast_install, which is unacceptable.
10542 # Some rework will be needed to allow for fast_install
10543 # before this can be enabled.
10544 hardcode_into_libs
=yes
10546 # Append ld.so.conf contents to the search path
10547 if test -f /etc
/ld.so.conf
; then
10548 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;/^$/d' | tr '\n' ' '`
10549 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10552 # We used to test for /lib/ld.so.1 and disable shared libraries on
10553 # powerpc, because MkLinux only supported shared libraries with the
10554 # GNU dynamic linker. Since this was broken with cross compilers,
10555 # most powerpc-linux boxes support dynamic linking these days and
10556 # people can always --disable-shared, the test was removed, and we
10557 # assume the GNU/Linux dynamic linker is in use.
10558 dynamic_linker
='GNU/Linux ld.so'
10565 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10567 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10568 dynamic_linker
='NetBSD (a.out) ld.so'
10570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10571 soname_spec
='${libname}${release}${shared_ext}$major'
10572 dynamic_linker
='NetBSD ld.elf_so'
10574 shlibpath_var
=LD_LIBRARY_PATH
10575 shlibpath_overrides_runpath
=yes
10576 hardcode_into_libs
=yes
10581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582 shlibpath_var
=LD_LIBRARY_PATH
10583 shlibpath_overrides_runpath
=yes
10590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591 soname_spec
='${libname}${release}${shared_ext}$major'
10592 shlibpath_var
=LD_LIBRARY_PATH
10593 shlibpath_overrides_runpath
=no
10594 hardcode_into_libs
=yes
10595 dynamic_linker
='ldqnx.so'
10600 sys_lib_dlsearch_path_spec
="/usr/lib"
10602 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10604 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10605 *) need_version
=no
;;
10607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10608 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10609 shlibpath_var
=LD_LIBRARY_PATH
10610 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10612 openbsd2.
[89] | openbsd2.
[89].
*)
10613 shlibpath_overrides_runpath
=no
10616 shlibpath_overrides_runpath
=yes
10620 shlibpath_overrides_runpath
=yes
10625 libname_spec
='$name'
10628 library_names_spec
='$libname${shared_ext} $libname.a'
10629 dynamic_linker
='OS/2 ld.exe'
10630 shlibpath_var
=LIBPATH
10633 osf3
* | osf4
* | osf5
*)
10637 soname_spec
='${libname}${release}${shared_ext}$major'
10638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639 shlibpath_var
=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10641 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10653 soname_spec
='${libname}${release}${shared_ext}$major'
10654 shlibpath_var
=LD_LIBRARY_PATH
10655 shlibpath_overrides_runpath
=yes
10656 hardcode_into_libs
=yes
10657 # ldd complains unless libraries are executable
10658 postinstall_cmds
='chmod +x $lib'
10663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10664 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10665 shlibpath_var
=LD_LIBRARY_PATH
10666 shlibpath_overrides_runpath
=yes
10667 if test "$with_gnu_ld" = yes; then
10675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec
='${libname}${release}${shared_ext}$major'
10677 shlibpath_var
=LD_LIBRARY_PATH
10678 case $host_vendor in
10680 shlibpath_overrides_runpath
=no
10682 runpath_var
=LD_RUN_PATH
10690 shlibpath_overrides_runpath
=no
10691 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10697 if test -d /usr
/nec
;then
10699 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10700 soname_spec
='$libname${shared_ext}.$major'
10701 shlibpath_var
=LD_LIBRARY_PATH
10705 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10706 version_type
=freebsd-elf
10709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10710 soname_spec
='${libname}${release}${shared_ext}$major'
10711 shlibpath_var
=LD_LIBRARY_PATH
10712 shlibpath_overrides_runpath
=yes
10713 hardcode_into_libs
=yes
10714 if test "$with_gnu_ld" = yes; then
10715 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10717 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10720 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10724 sys_lib_dlsearch_path_spec
='/usr/lib'
10728 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 shlibpath_var
=LD_LIBRARY_PATH
10734 shlibpath_overrides_runpath
=no
10735 hardcode_into_libs
=yes
10740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10741 soname_spec
='${libname}${release}${shared_ext}$major'
10742 shlibpath_var
=LD_LIBRARY_PATH
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10750 $as_echo "$dynamic_linker" >&6; }
10751 test "$dynamic_linker" = no
&& can_build_shared
=no
10753 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10754 if test "$GCC" = yes; then
10755 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10758 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10759 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10761 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10762 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10852 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10854 if test -n "$hardcode_libdir_flag_spec" ||
10855 test -n "$runpath_var" ||
10856 test "X$hardcode_automatic" = "Xyes" ; then
10858 # We can hardcode non-existent directories.
10859 if test "$hardcode_direct" != no
&&
10860 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10861 # have to relink, otherwise we might link with an installed library
10862 # when we should be linking with a yet-to-be-installed one
10863 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10864 test "$hardcode_minus_L" != no
; then
10865 # Linking always hardcodes the temporary library directory.
10866 hardcode_action
=relink
10868 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10869 hardcode_action
=immediate
10872 # We cannot hardcode anything, or else we can only hardcode existing
10874 hardcode_action
=unsupported
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10877 $as_echo "$hardcode_action" >&6; }
10879 if test "$hardcode_action" = relink ||
10880 test "$inherit_rpath" = yes; then
10881 # Fast installation is not supported
10882 enable_fast_install
=no
10883 elif test "$shlibpath_overrides_runpath" = yes ||
10884 test "$enable_shared" = no
; then
10885 # Fast installation is not necessary
10886 enable_fast_install
=needless
10894 if test "x$enable_dlopen" != xyes
; then
10895 enable_dlopen
=unknown
10896 enable_dlopen_self
=unknown
10897 enable_dlopen_self_static
=unknown
10904 lt_cv_dlopen
="load_add_on"
10906 lt_cv_dlopen_self
=yes
10909 mingw
* | pw32
* | cegcc
*)
10910 lt_cv_dlopen
="LoadLibrary"
10915 lt_cv_dlopen
="dlopen"
10920 # if libdl is installed we need to link against it
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10922 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10923 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10924 $as_echo_n "(cached) " >&6
10926 ac_check_lib_save_LIBS
=$LIBS
10928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10946 if ac_fn_c_try_link
"$LINENO"; then :
10947 ac_cv_lib_dl_dlopen
=yes
10949 ac_cv_lib_dl_dlopen
=no
10951 rm -f core conftest.err conftest.
$ac_objext \
10952 conftest
$ac_exeext conftest.
$ac_ext
10953 LIBS
=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10956 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10957 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10958 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10961 lt_cv_dlopen
="dyld"
10963 lt_cv_dlopen_self
=yes
10970 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10971 if test "x$ac_cv_func_shl_load" = xyes
; then :
10972 lt_cv_dlopen
="shl_load"
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10975 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10976 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10977 $as_echo_n "(cached) " >&6
10979 ac_check_lib_save_LIBS
=$LIBS
10981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10984 /* Override any GCC internal prototype to avoid an error.
10985 Use char because int might match the return type of a GCC
10986 builtin and then its argument prototype would still apply. */
10994 return shl_load ();
10999 if ac_fn_c_try_link
"$LINENO"; then :
11000 ac_cv_lib_dld_shl_load
=yes
11002 ac_cv_lib_dld_shl_load
=no
11004 rm -f core conftest.err conftest.
$ac_objext \
11005 conftest
$ac_exeext conftest.
$ac_ext
11006 LIBS
=$ac_check_lib_save_LIBS
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11009 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11010 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11011 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11013 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11014 if test "x$ac_cv_func_dlopen" = xyes
; then :
11015 lt_cv_dlopen
="dlopen"
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11018 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11019 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11020 $as_echo_n "(cached) " >&6
11022 ac_check_lib_save_LIBS
=$LIBS
11024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11042 if ac_fn_c_try_link
"$LINENO"; then :
11043 ac_cv_lib_dl_dlopen
=yes
11045 ac_cv_lib_dl_dlopen
=no
11047 rm -f core conftest.err conftest.
$ac_objext \
11048 conftest
$ac_exeext conftest.
$ac_ext
11049 LIBS
=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11052 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11053 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11054 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11057 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11058 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11059 $as_echo_n "(cached) " >&6
11061 ac_check_lib_save_LIBS
=$LIBS
11062 LIBS
="-lsvld $LIBS"
11063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11081 if ac_fn_c_try_link
"$LINENO"; then :
11082 ac_cv_lib_svld_dlopen
=yes
11084 ac_cv_lib_svld_dlopen
=no
11086 rm -f core conftest.err conftest.
$ac_objext \
11087 conftest
$ac_exeext conftest.
$ac_ext
11088 LIBS
=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11091 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11092 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11093 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11096 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11097 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11098 $as_echo_n "(cached) " >&6
11100 ac_check_lib_save_LIBS
=$LIBS
11102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11115 return dld_link ();
11120 if ac_fn_c_try_link
"$LINENO"; then :
11121 ac_cv_lib_dld_dld_link
=yes
11123 ac_cv_lib_dld_dld_link
=no
11125 rm -f core conftest.err conftest.
$ac_objext \
11126 conftest
$ac_exeext conftest.
$ac_ext
11127 LIBS
=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11130 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11131 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11132 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11153 if test "x$lt_cv_dlopen" != xno
; then
11159 case $lt_cv_dlopen in
11161 save_CPPFLAGS
="$CPPFLAGS"
11162 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11164 save_LDFLAGS
="$LDFLAGS"
11165 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11168 LIBS
="$lt_cv_dlopen_libs $LIBS"
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11171 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11172 if ${lt_cv_dlopen_self+:} false
; then :
11173 $as_echo_n "(cached) " >&6
11175 if test "$cross_compiling" = yes; then :
11176 lt_cv_dlopen_self
=cross
11178 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11179 lt_status
=$lt_dlunknown
11180 cat > conftest.
$ac_ext <<_LT_EOF
11181 #line 11181 "configure"
11182 #include "confdefs.h"
11191 # define LT_DLGLOBAL RTLD_GLOBAL
11194 # define LT_DLGLOBAL DL_GLOBAL
11196 # define LT_DLGLOBAL 0
11200 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11201 find out it does not work in some platform. */
11202 #ifndef LT_DLLAZY_OR_NOW
11204 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11207 # define LT_DLLAZY_OR_NOW DL_LAZY
11210 # define LT_DLLAZY_OR_NOW RTLD_NOW
11213 # define LT_DLLAZY_OR_NOW DL_NOW
11215 # define LT_DLLAZY_OR_NOW 0
11222 void fnord() { int i=42;}
11225 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11226 int status = $lt_dlunknown;
11230 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11231 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11232 /* dlclose (self); */
11240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11241 (eval $ac_link) 2>&5
11243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11244 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11245 (.
/conftest
; exit; ) >&5 2>/dev
/null
11247 case x
$lt_status in
11248 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11249 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11250 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11253 # compilation failed
11254 lt_cv_dlopen_self
=no
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11262 $as_echo "$lt_cv_dlopen_self" >&6; }
11264 if test "x$lt_cv_dlopen_self" = xyes
; then
11265 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11267 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11268 if ${lt_cv_dlopen_self_static+:} false
; then :
11269 $as_echo_n "(cached) " >&6
11271 if test "$cross_compiling" = yes; then :
11272 lt_cv_dlopen_self_static
=cross
11274 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11275 lt_status
=$lt_dlunknown
11276 cat > conftest.
$ac_ext <<_LT_EOF
11277 #line 11277 "configure"
11278 #include "confdefs.h"
11287 # define LT_DLGLOBAL RTLD_GLOBAL
11290 # define LT_DLGLOBAL DL_GLOBAL
11292 # define LT_DLGLOBAL 0
11296 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11297 find out it does not work in some platform. */
11298 #ifndef LT_DLLAZY_OR_NOW
11300 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11303 # define LT_DLLAZY_OR_NOW DL_LAZY
11306 # define LT_DLLAZY_OR_NOW RTLD_NOW
11309 # define LT_DLLAZY_OR_NOW DL_NOW
11311 # define LT_DLLAZY_OR_NOW 0
11318 void fnord() { int i=42;}
11321 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11322 int status = $lt_dlunknown;
11326 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11327 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11328 /* dlclose (self); */
11336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11337 (eval $ac_link) 2>&5
11339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11340 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11341 (.
/conftest
; exit; ) >&5 2>/dev
/null
11343 case x
$lt_status in
11344 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11345 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11346 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11349 # compilation failed
11350 lt_cv_dlopen_self_static
=no
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11358 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11361 CPPFLAGS
="$save_CPPFLAGS"
11362 LDFLAGS
="$save_LDFLAGS"
11367 case $lt_cv_dlopen_self in
11368 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11369 *) enable_dlopen_self
=unknown
;;
11372 case $lt_cv_dlopen_self_static in
11373 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11374 *) enable_dlopen_self_static
=unknown
;;
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11397 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11398 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11399 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11400 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11402 $as_echo "yes" >&6; }
11404 # FIXME - insert some real tests, host_os isn't really good enough
11407 if test -n "$STRIP" ; then
11408 striplib
="$STRIP -x"
11409 old_striplib
="$STRIP -S"
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11411 $as_echo "yes" >&6; }
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11414 $as_echo "no" >&6; }
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11419 $as_echo "no" >&6; }
11435 # Report which library types will actually be built
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11437 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11439 $as_echo "$can_build_shared" >&6; }
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11442 $as_echo_n "checking whether to build shared libraries... " >&6; }
11443 test "$can_build_shared" = "no" && enable_shared
=no
11445 # On AIX, shared libraries and static libraries use the same namespace, and
11446 # are all built from PIC.
11449 test "$enable_shared" = yes && enable_static
=no
11450 if test -n "$RANLIB"; then
11451 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11452 postinstall_cmds
='$RANLIB $lib'
11457 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11458 test "$enable_shared" = yes && enable_static
=no
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11463 $as_echo "$enable_shared" >&6; }
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11466 $as_echo_n "checking whether to build static libraries... " >&6; }
11467 # Make sure either enable_shared or enable_static is yes.
11468 test "$enable_shared" = yes || enable_static
=yes
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11470 $as_echo "$enable_static" >&6; }
11477 ac_cpp
='$CPP $CPPFLAGS'
11478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11496 ac_config_commands
="$ac_config_commands libtool"
11501 # Only expand once:
11505 # Extract the first word of "ar", so it can be a program name with args.
11506 set dummy
ar; ac_word
=$2
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11508 $as_echo_n "checking for $ac_word... " >&6; }
11509 if ${ac_cv_path_AR+:} false
; then :
11510 $as_echo_n "(cached) " >&6
11514 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
11517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11518 for as_dir
in $PATH
11521 test -z "$as_dir" && as_dir
=.
11522 for ac_exec_ext
in '' $ac_executable_extensions; do
11523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11524 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
11525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
11537 if test -n "$AR"; then
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11539 $as_echo "$AR" >&6; }
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11542 $as_echo "no" >&6; }
11546 # Extract the first word of "rm", so it can be a program name with args.
11547 set dummy
rm; ac_word
=$2
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11549 $as_echo_n "checking for $ac_word... " >&6; }
11550 if ${ac_cv_path_RM+:} false
; then :
11551 $as_echo_n "(cached) " >&6
11555 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
11558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11559 for as_dir
in $PATH
11562 test -z "$as_dir" && as_dir
=.
11563 for ac_exec_ext
in '' $ac_executable_extensions; do
11564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
11566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11573 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
11578 if test -n "$RM"; then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
11580 $as_echo "$RM" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11583 $as_echo "no" >&6; }
11587 # Extract the first word of "cp", so it can be a program name with args.
11588 set dummy
cp; ac_word
=$2
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11590 $as_echo_n "checking for $ac_word... " >&6; }
11591 if ${ac_cv_path_CP+:} false
; then :
11592 $as_echo_n "(cached) " >&6
11596 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
11599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11600 for as_dir
in $PATH
11603 test -z "$as_dir" && as_dir
=.
11604 for ac_exec_ext
in '' $ac_executable_extensions; do
11605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11606 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
11607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11614 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
11619 if test -n "$CP"; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
11621 $as_echo "$CP" >&6; }
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11624 $as_echo "no" >&6; }
11628 # Extract the first word of "ln", so it can be a program name with args.
11629 set dummy
ln; ac_word
=$2
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11631 $as_echo_n "checking for $ac_word... " >&6; }
11632 if ${ac_cv_path_LN+:} false
; then :
11633 $as_echo_n "(cached) " >&6
11637 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
11640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11641 for as_dir
in $PATH
11644 test -z "$as_dir" && as_dir
=.
11645 for ac_exec_ext
in '' $ac_executable_extensions; do
11646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11647 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
11648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11655 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
11660 if test -n "$LN"; then
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
11662 $as_echo "$LN" >&6; }
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11665 $as_echo "no" >&6; }
11669 # Extract the first word of "sed", so it can be a program name with args.
11670 set dummy
sed; ac_word
=$2
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11672 $as_echo_n "checking for $ac_word... " >&6; }
11673 if ${ac_cv_path_SED+:} false
; then :
11674 $as_echo_n "(cached) " >&6
11678 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
11681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11682 for as_dir
in $PATH
11685 test -z "$as_dir" && as_dir
=.
11686 for ac_exec_ext
in '' $ac_executable_extensions; do
11687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11688 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
11689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11696 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
11700 SED
=$ac_cv_path_SED
11701 if test -n "$SED"; then
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11703 $as_echo "$SED" >&6; }
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11706 $as_echo "no" >&6; }
11710 # Extract the first word of "make", so it can be a program name with args.
11711 set dummy
make; ac_word
=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; }
11714 if ${ac_cv_path_MAKE+:} false
; then :
11715 $as_echo_n "(cached) " >&6
11719 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
11722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11723 for as_dir
in $PATH
11726 test -z "$as_dir" && as_dir
=.
11727 for ac_exec_ext
in '' $ac_executable_extensions; do
11728 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11729 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
11730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11740 MAKE
=$ac_cv_path_MAKE
11741 if test -n "$MAKE"; then
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
11743 $as_echo "$MAKE" >&6; }
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11755 $as_echo_n "checking whether NLS is requested... " >&6; }
11756 # Check whether --enable-nls was given.
11757 if test "${enable_nls+set}" = set; then :
11758 enableval
=$enable_nls; USE_NLS
=$enableval
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11764 $as_echo "$USE_NLS" >&6; }
11771 # Prepare PATH_SEPARATOR.
11772 # The user is always right.
11773 if test "${PATH_SEPARATOR+set}" != set; then
11774 echo "#! /bin/sh" >conf$$.sh
11775 echo "exit 0" >>conf$$.sh
11777 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11785 # Find out how to test for executable files. Don't use a zero-byte file,
11786 # as systems may use methods other than mode bits to determine executability.
11787 cat >conf$$.
file <<_ASEOF
11791 chmod +x conf$$.
file
11792 if test -x conf$$.
file >/dev
/null
2>&1; then
11793 ac_executable_p
="test -x"
11795 ac_executable_p
="test -f"
11799 # Extract the first word of "msgfmt", so it can be a program name with args.
11800 set dummy msgfmt
; ac_word
=$2
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11802 $as_echo_n "checking for $ac_word... " >&6; }
11803 if ${ac_cv_path_MSGFMT+:} false
; then :
11804 $as_echo_n "(cached) " >&6
11808 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11811 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11812 for ac_dir
in $PATH; do
11814 test -z "$ac_dir" && ac_dir
=.
11815 for ac_exec_ext
in '' $ac_executable_extensions; do
11816 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11817 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11818 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
11819 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11820 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11827 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11831 MSGFMT
="$ac_cv_path_MSGFMT"
11832 if test "$MSGFMT" != ":"; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11834 $as_echo "$MSGFMT" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837 $as_echo "no" >&6; }
11840 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11841 set dummy gmsgfmt
; ac_word
=$2
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11843 $as_echo_n "checking for $ac_word... " >&6; }
11844 if ${ac_cv_path_GMSGFMT+:} false
; then :
11845 $as_echo_n "(cached) " >&6
11849 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11853 for as_dir
in $PATH
11856 test -z "$as_dir" && as_dir
=.
11857 for ac_exec_ext
in '' $ac_executable_extensions; do
11858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11859 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11867 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11871 GMSGFMT
=$ac_cv_path_GMSGFMT
11872 if test -n "$GMSGFMT"; then
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11874 $as_echo "$GMSGFMT" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11877 $as_echo "no" >&6; }
11882 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11883 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
11884 *) MSGFMT_015
=$MSGFMT ;;
11887 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11888 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
11889 *) GMSGFMT_015
=$GMSGFMT ;;
11894 # Prepare PATH_SEPARATOR.
11895 # The user is always right.
11896 if test "${PATH_SEPARATOR+set}" != set; then
11897 echo "#! /bin/sh" >conf$$.sh
11898 echo "exit 0" >>conf$$.sh
11900 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11908 # Find out how to test for executable files. Don't use a zero-byte file,
11909 # as systems may use methods other than mode bits to determine executability.
11910 cat >conf$$.
file <<_ASEOF
11914 chmod +x conf$$.
file
11915 if test -x conf$$.
file >/dev
/null
2>&1; then
11916 ac_executable_p
="test -x"
11918 ac_executable_p
="test -f"
11922 # Extract the first word of "xgettext", so it can be a program name with args.
11923 set dummy xgettext
; ac_word
=$2
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11925 $as_echo_n "checking for $ac_word... " >&6; }
11926 if ${ac_cv_path_XGETTEXT+:} false
; then :
11927 $as_echo_n "(cached) " >&6
11929 case "$XGETTEXT" in
11931 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11934 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11935 for ac_dir
in $PATH; do
11937 test -z "$ac_dir" && ac_dir
=.
11938 for ac_exec_ext
in '' $ac_executable_extensions; do
11939 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11940 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11941 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
11942 (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
11943 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11950 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11954 XGETTEXT
="$ac_cv_path_XGETTEXT"
11955 if test "$XGETTEXT" != ":"; then
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11957 $as_echo "$XGETTEXT" >&6; }
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 $as_echo "no" >&6; }
11965 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11966 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
11967 *) XGETTEXT_015
=$XGETTEXT ;;
11972 # Prepare PATH_SEPARATOR.
11973 # The user is always right.
11974 if test "${PATH_SEPARATOR+set}" != set; then
11975 echo "#! /bin/sh" >conf$$.sh
11976 echo "exit 0" >>conf$$.sh
11978 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11986 # Find out how to test for executable files. Don't use a zero-byte file,
11987 # as systems may use methods other than mode bits to determine executability.
11988 cat >conf$$.
file <<_ASEOF
11992 chmod +x conf$$.
file
11993 if test -x conf$$.
file >/dev
/null
2>&1; then
11994 ac_executable_p
="test -x"
11996 ac_executable_p
="test -f"
12000 # Extract the first word of "msgmerge", so it can be a program name with args.
12001 set dummy msgmerge
; ac_word
=$2
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12003 $as_echo_n "checking for $ac_word... " >&6; }
12004 if ${ac_cv_path_MSGMERGE+:} false
; then :
12005 $as_echo_n "(cached) " >&6
12007 case "$MSGMERGE" in
12009 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12012 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12013 for ac_dir
in $PATH; do
12015 test -z "$ac_dir" && ac_dir
=.
12016 for ac_exec_ext
in '' $ac_executable_extensions; do
12017 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12018 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12019 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
12020 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12027 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12031 MSGMERGE
="$ac_cv_path_MSGMERGE"
12032 if test "$MSGMERGE" != ":"; then
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12034 $as_echo "$MSGMERGE" >&6; }
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12037 $as_echo "no" >&6; }
12041 test -n "$localedir" || localedir
='${datadir}/locale'
12044 ac_config_commands
="$ac_config_commands po-directories"
12048 if test "X$prefix" = "XNONE"; then
12049 acl_final_prefix
="$ac_default_prefix"
12051 acl_final_prefix
="$prefix"
12053 if test "X$exec_prefix" = "XNONE"; then
12054 acl_final_exec_prefix
='${prefix}'
12056 acl_final_exec_prefix
="$exec_prefix"
12058 acl_save_prefix
="$prefix"
12059 prefix
="$acl_final_prefix"
12060 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12061 prefix
="$acl_save_prefix"
12064 # Check whether --with-gnu-ld was given.
12065 if test "${with_gnu_ld+set}" = set; then :
12066 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12071 # Prepare PATH_SEPARATOR.
12072 # The user is always right.
12073 if test "${PATH_SEPARATOR+set}" != set; then
12074 echo "#! /bin/sh" >conf$$.sh
12075 echo "exit 0" >>conf$$.sh
12077 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12085 if test "$GCC" = yes; then
12086 # Check if gcc -print-prog-name=ld gives a path.
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12088 $as_echo_n "checking for ld used by GCC... " >&6; }
12091 # gcc leaves a trailing carriage return which upsets mingw
12092 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12094 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12097 # Accept absolute paths.
12098 [\\/]* |
[A-Za-z
]:[\\/]*)
12099 re_direlt
='/[^/][^/]*/\.\./'
12100 # Canonicalize the path of ld
12101 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12102 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12103 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12105 test -z "$LD" && LD
="$ac_prog"
12108 # If it fails, then pretend we aren't using GCC.
12112 # If it is relative, then search for the first ld in PATH.
12113 with_gnu_ld
=unknown
12116 elif test "$with_gnu_ld" = yes; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12118 $as_echo_n "checking for GNU ld... " >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12121 $as_echo_n "checking for non-GNU ld... " >&6; }
12123 if ${acl_cv_path_LD+:} false
; then :
12124 $as_echo_n "(cached) " >&6
12126 if test -z "$LD"; then
12127 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12128 for ac_dir
in $PATH; do
12129 test -z "$ac_dir" && ac_dir
=.
12130 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12131 acl_cv_path_LD
="$ac_dir/$ac_prog"
12132 # Check to see if the program is GNU ld. I'd rather use --version,
12133 # but apparently some GNU ld's only accept -v.
12134 # Break only if it was the GNU/non-GNU ld that we prefer.
12135 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12136 *GNU
* |
*'with BFD'*)
12137 test "$with_gnu_ld" != no
&& break ;;
12139 test "$with_gnu_ld" != yes && break ;;
12145 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12149 LD
="$acl_cv_path_LD"
12150 if test -n "$LD"; then
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12152 $as_echo "$LD" >&6; }
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12155 $as_echo "no" >&6; }
12157 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12159 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12160 if ${acl_cv_prog_gnu_ld+:} false
; then :
12161 $as_echo_n "(cached) " >&6
12163 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12164 case `$LD -v 2>&1 </dev/null` in
12165 *GNU
* |
*'with BFD'*)
12166 acl_cv_prog_gnu_ld
=yes ;;
12168 acl_cv_prog_gnu_ld
=no
;;
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12172 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12173 with_gnu_ld
=$acl_cv_prog_gnu_ld
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12179 $as_echo_n "checking for shared library run path origin... " >&6; }
12180 if ${acl_cv_rpath+:} false
; then :
12181 $as_echo_n "(cached) " >&6
12184 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12185 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12187 rm -f .
/conftest.sh
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12192 $as_echo "$acl_cv_rpath" >&6; }
12194 libext
="$acl_cv_libext"
12195 shlibext
="$acl_cv_shlibext"
12196 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12197 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12198 hardcode_direct
="$acl_cv_hardcode_direct"
12199 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12200 # Check whether --enable-rpath was given.
12201 if test "${enable_rpath+set}" = set; then :
12202 enableval
=$enable_rpath; :
12210 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12211 if test -n "$searchpath"; then
12212 acl_save_IFS
="${IFS= }"; IFS
=":"
12213 for searchdir
in $searchpath; do
12214 if test -d "$searchdir"; then
12215 case "$searchdir" in
12216 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
12217 *) searchdir
=`cd "$searchdir" && pwd`
12218 case "$searchdir" in
12219 */lib64
) acl_libdirstem
=lib64
;;
12224 IFS
="$acl_save_IFS"
12236 acl_save_prefix
="$prefix"
12237 prefix
="$acl_final_prefix"
12238 acl_save_exec_prefix
="$exec_prefix"
12239 exec_prefix
="$acl_final_exec_prefix"
12241 eval additional_includedir
=\"$includedir\"
12242 eval additional_libdir
=\"$libdir\"
12244 exec_prefix
="$acl_save_exec_prefix"
12245 prefix
="$acl_save_prefix"
12248 # Check whether --with-libiconv-prefix was given.
12249 if test "${with_libiconv_prefix+set}" = set; then :
12250 withval
=$with_libiconv_prefix;
12251 if test "X$withval" = "Xno"; then
12254 if test "X$withval" = "X"; then
12256 acl_save_prefix
="$prefix"
12257 prefix
="$acl_final_prefix"
12258 acl_save_exec_prefix
="$exec_prefix"
12259 exec_prefix
="$acl_final_exec_prefix"
12261 eval additional_includedir
=\"$includedir\"
12262 eval additional_libdir
=\"$libdir\"
12264 exec_prefix
="$acl_save_exec_prefix"
12265 prefix
="$acl_save_prefix"
12268 additional_includedir
="$withval/include"
12269 additional_libdir
="$withval/$acl_libdirstem"
12280 names_already_handled
=
12281 names_next_round
='iconv '
12282 while test -n "$names_next_round"; do
12283 names_this_round
="$names_next_round"
12285 for name
in $names_this_round; do
12287 for n
in $names_already_handled; do
12288 if test "$n" = "$name"; then
12289 already_handled
=yes
12293 if test -z "$already_handled"; then
12294 names_already_handled
="$names_already_handled $name"
12295 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12296 eval value
=\"\
$HAVE_LIB$uppername\"
12297 if test -n "$value"; then
12298 if test "$value" = yes; then
12299 eval value
=\"\
$LIB$uppername\"
12300 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12301 eval value
=\"\
$LTLIB$uppername\"
12302 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12311 if test $use_additional = yes; then
12312 if test -n "$shlibext" \
12313 && { test -f "$additional_libdir/lib$name.$shlibext" \
12314 ||
{ test "$shlibext" = dll \
12315 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12316 found_dir
="$additional_libdir"
12317 if test -f "$additional_libdir/lib$name.$shlibext"; then
12318 found_so
="$additional_libdir/lib$name.$shlibext"
12320 found_so
="$additional_libdir/lib$name.dll.a"
12322 if test -f "$additional_libdir/lib$name.la"; then
12323 found_la
="$additional_libdir/lib$name.la"
12326 if test -f "$additional_libdir/lib$name.$libext"; then
12327 found_dir
="$additional_libdir"
12328 found_a
="$additional_libdir/lib$name.$libext"
12329 if test -f "$additional_libdir/lib$name.la"; then
12330 found_la
="$additional_libdir/lib$name.la"
12335 if test "X$found_dir" = "X"; then
12336 for x
in $LDFLAGS $LTLIBICONV; do
12338 acl_save_prefix
="$prefix"
12339 prefix
="$acl_final_prefix"
12340 acl_save_exec_prefix
="$exec_prefix"
12341 exec_prefix
="$acl_final_exec_prefix"
12343 exec_prefix
="$acl_save_exec_prefix"
12344 prefix
="$acl_save_prefix"
12348 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12349 if test -n "$shlibext" \
12350 && { test -f "$dir/lib$name.$shlibext" \
12351 ||
{ test "$shlibext" = dll \
12352 && test -f "$dir/lib$name.dll.a"; }; }; then
12354 if test -f "$dir/lib$name.$shlibext"; then
12355 found_so
="$dir/lib$name.$shlibext"
12357 found_so
="$dir/lib$name.dll.a"
12359 if test -f "$dir/lib$name.la"; then
12360 found_la
="$dir/lib$name.la"
12363 if test -f "$dir/lib$name.$libext"; then
12365 found_a
="$dir/lib$name.$libext"
12366 if test -f "$dir/lib$name.la"; then
12367 found_la
="$dir/lib$name.la"
12373 if test "X$found_dir" != "X"; then
12378 if test "X$found_dir" != "X"; then
12379 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12380 if test "X$found_so" != "X"; then
12381 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12382 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12385 for x
in $ltrpathdirs; do
12386 if test "X$x" = "X$found_dir"; then
12391 if test -z "$haveit"; then
12392 ltrpathdirs
="$ltrpathdirs $found_dir"
12394 if test "$hardcode_direct" = yes; then
12395 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12397 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12398 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12400 for x
in $rpathdirs; do
12401 if test "X$x" = "X$found_dir"; then
12406 if test -z "$haveit"; then
12407 rpathdirs
="$rpathdirs $found_dir"
12411 for x
in $LDFLAGS $LIBICONV; do
12413 acl_save_prefix
="$prefix"
12414 prefix
="$acl_final_prefix"
12415 acl_save_exec_prefix
="$exec_prefix"
12416 exec_prefix
="$acl_final_exec_prefix"
12418 exec_prefix
="$acl_save_exec_prefix"
12419 prefix
="$acl_save_prefix"
12421 if test "X$x" = "X-L$found_dir"; then
12426 if test -z "$haveit"; then
12427 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12429 if test "$hardcode_minus_L" != no
; then
12430 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12432 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12438 if test "X$found_a" != "X"; then
12439 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12441 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12444 additional_includedir
=
12445 case "$found_dir" in
12446 */$acl_libdirstem |
*/$acl_libdirstem/)
12447 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12448 additional_includedir
="$basedir/include"
12451 if test "X$additional_includedir" != "X"; then
12452 if test "X$additional_includedir" != "X/usr/include"; then
12454 if test "X$additional_includedir" = "X/usr/local/include"; then
12455 if test -n "$GCC"; then
12457 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
12461 if test -z "$haveit"; then
12462 for x
in $CPPFLAGS $INCICONV; do
12464 acl_save_prefix
="$prefix"
12465 prefix
="$acl_final_prefix"
12466 acl_save_exec_prefix
="$exec_prefix"
12467 exec_prefix
="$acl_final_exec_prefix"
12469 exec_prefix
="$acl_save_exec_prefix"
12470 prefix
="$acl_save_prefix"
12472 if test "X$x" = "X-I$additional_includedir"; then
12477 if test -z "$haveit"; then
12478 if test -d "$additional_includedir"; then
12479 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12485 if test -n "$found_la"; then
12486 save_libdir
="$libdir"
12487 case "$found_la" in
12488 */* |
*\\*) .
"$found_la" ;;
12489 *) .
"./$found_la" ;;
12491 libdir
="$save_libdir"
12492 for dep
in $dependency_libs; do
12495 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12496 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12498 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12499 if test -n "$GCC"; then
12501 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
12505 if test -z "$haveit"; then
12507 for x
in $LDFLAGS $LIBICONV; do
12509 acl_save_prefix
="$prefix"
12510 prefix
="$acl_final_prefix"
12511 acl_save_exec_prefix
="$exec_prefix"
12512 exec_prefix
="$acl_final_exec_prefix"
12514 exec_prefix
="$acl_save_exec_prefix"
12515 prefix
="$acl_save_prefix"
12517 if test "X$x" = "X-L$additional_libdir"; then
12522 if test -z "$haveit"; then
12523 if test -d "$additional_libdir"; then
12524 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12528 for x
in $LDFLAGS $LTLIBICONV; do
12530 acl_save_prefix
="$prefix"
12531 prefix
="$acl_final_prefix"
12532 acl_save_exec_prefix
="$exec_prefix"
12533 exec_prefix
="$acl_final_exec_prefix"
12535 exec_prefix
="$acl_save_exec_prefix"
12536 prefix
="$acl_save_prefix"
12538 if test "X$x" = "X-L$additional_libdir"; then
12543 if test -z "$haveit"; then
12544 if test -d "$additional_libdir"; then
12545 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12552 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12553 if test "$enable_rpath" != no
; then
12555 for x
in $rpathdirs; do
12556 if test "X$x" = "X$dir"; then
12561 if test -z "$haveit"; then
12562 rpathdirs
="$rpathdirs $dir"
12565 for x
in $ltrpathdirs; do
12566 if test "X$x" = "X$dir"; then
12571 if test -z "$haveit"; then
12572 ltrpathdirs
="$ltrpathdirs $dir"
12577 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12580 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12583 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12584 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12590 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12591 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12597 if test "X$rpathdirs" != "X"; then
12598 if test -n "$hardcode_libdir_separator"; then
12600 for found_dir
in $rpathdirs; do
12601 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12603 acl_save_libdir
="$libdir"
12605 eval flag
=\"$hardcode_libdir_flag_spec\"
12606 libdir
="$acl_save_libdir"
12607 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12609 for found_dir
in $rpathdirs; do
12610 acl_save_libdir
="$libdir"
12611 libdir
="$found_dir"
12612 eval flag
=\"$hardcode_libdir_flag_spec\"
12613 libdir
="$acl_save_libdir"
12614 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12618 if test "X$ltrpathdirs" != "X"; then
12619 for found_dir
in $ltrpathdirs; do
12620 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12649 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12650 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
12651 $as_echo_n "(cached) " >&6
12653 gt_save_LIBS
="$LIBS"
12654 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12657 #include <CoreFoundation/CFPreferences.h>
12661 CFPreferencesCopyAppValue(NULL, NULL)
12666 if ac_fn_c_try_link
"$LINENO"; then :
12667 gt_cv_func_CFPreferencesCopyAppValue
=yes
12669 gt_cv_func_CFPreferencesCopyAppValue
=no
12671 rm -f core conftest.err conftest.
$ac_objext \
12672 conftest
$ac_exeext conftest.
$ac_ext
12673 LIBS
="$gt_save_LIBS"
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12676 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12677 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12679 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12683 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12684 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
12685 $as_echo_n "(cached) " >&6
12687 gt_save_LIBS
="$LIBS"
12688 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12691 #include <CoreFoundation/CFLocale.h>
12695 CFLocaleCopyCurrent();
12700 if ac_fn_c_try_link
"$LINENO"; then :
12701 gt_cv_func_CFLocaleCopyCurrent
=yes
12703 gt_cv_func_CFLocaleCopyCurrent
=no
12705 rm -f core conftest.err conftest.
$ac_objext \
12706 conftest
$ac_exeext conftest.
$ac_ext
12707 LIBS
="$gt_save_LIBS"
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12710 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12711 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12713 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12717 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12718 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
12730 case " $gt_needs " in
12731 *" need-formatstring-macros "*) gt_api_version
=3 ;;
12732 *" need-ngettext "*) gt_api_version
=2 ;;
12733 *) gt_api_version
=1 ;;
12735 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
12736 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
12738 if test "$USE_NLS" = "yes"; then
12739 gt_use_preinstalled_gnugettext
=no
12742 if test $gt_api_version -ge 3; then
12743 gt_revision_test_code
='
12744 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12745 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12747 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12750 gt_revision_test_code
=
12752 if test $gt_api_version -ge 2; then
12753 gt_expression_test_code
=' + * ngettext ("", "", 0)'
12755 gt_expression_test_code
=
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12759 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12760 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
12761 $as_echo_n "(cached) " >&6
12763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12765 #include <libintl.h>
12766 $gt_revision_test_code
12767 extern int _nl_msg_cat_cntr;
12768 extern int *_nl_domain_bindings;
12772 bindtextdomain ("", "");
12773 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12778 if ac_fn_c_try_link
"$LINENO"; then :
12779 eval "$gt_func_gnugettext_libc=yes"
12781 eval "$gt_func_gnugettext_libc=no"
12783 rm -f core conftest.err conftest.
$ac_objext \
12784 conftest
$ac_exeext conftest.
$ac_ext
12786 eval ac_res
=\$
$gt_func_gnugettext_libc
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12788 $as_echo "$ac_res" >&6; }
12790 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12796 am_save_CPPFLAGS
="$CPPFLAGS"
12798 for element
in $INCICONV; do
12800 for x
in $CPPFLAGS; do
12802 acl_save_prefix
="$prefix"
12803 prefix
="$acl_final_prefix"
12804 acl_save_exec_prefix
="$exec_prefix"
12805 exec_prefix
="$acl_final_exec_prefix"
12807 exec_prefix
="$acl_save_exec_prefix"
12808 prefix
="$acl_save_prefix"
12810 if test "X$x" = "X$element"; then
12815 if test -z "$haveit"; then
12816 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12822 $as_echo_n "checking for iconv... " >&6; }
12823 if ${am_cv_func_iconv+:} false
; then :
12824 $as_echo_n "(cached) " >&6
12827 am_cv_func_iconv
="no, consider installing GNU libiconv"
12829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12831 #include <stdlib.h>
12836 iconv_t cd = iconv_open("","");
12837 iconv(cd,NULL,NULL,NULL,NULL);
12843 if ac_fn_c_try_link
"$LINENO"; then :
12844 am_cv_func_iconv
=yes
12846 rm -f core conftest.err conftest.
$ac_objext \
12847 conftest
$ac_exeext conftest.
$ac_ext
12848 if test "$am_cv_func_iconv" != yes; then
12849 am_save_LIBS
="$LIBS"
12850 LIBS
="$LIBS $LIBICONV"
12851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12853 #include <stdlib.h>
12858 iconv_t cd = iconv_open("","");
12859 iconv(cd,NULL,NULL,NULL,NULL);
12865 if ac_fn_c_try_link
"$LINENO"; then :
12866 am_cv_lib_iconv
=yes
12867 am_cv_func_iconv
=yes
12869 rm -f core conftest.err conftest.
$ac_objext \
12870 conftest
$ac_exeext conftest.
$ac_ext
12871 LIBS
="$am_save_LIBS"
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12876 $as_echo "$am_cv_func_iconv" >&6; }
12877 if test "$am_cv_func_iconv" = yes; then
12879 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12882 if test "$am_cv_lib_iconv" = yes; then
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12884 $as_echo_n "checking how to link with libiconv... " >&6; }
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12886 $as_echo "$LIBICONV" >&6; }
12888 CPPFLAGS
="$am_save_CPPFLAGS"
12901 acl_save_prefix
="$prefix"
12902 prefix
="$acl_final_prefix"
12903 acl_save_exec_prefix
="$exec_prefix"
12904 exec_prefix
="$acl_final_exec_prefix"
12906 eval additional_includedir
=\"$includedir\"
12907 eval additional_libdir
=\"$libdir\"
12909 exec_prefix
="$acl_save_exec_prefix"
12910 prefix
="$acl_save_prefix"
12913 # Check whether --with-libintl-prefix was given.
12914 if test "${with_libintl_prefix+set}" = set; then :
12915 withval
=$with_libintl_prefix;
12916 if test "X$withval" = "Xno"; then
12919 if test "X$withval" = "X"; then
12921 acl_save_prefix
="$prefix"
12922 prefix
="$acl_final_prefix"
12923 acl_save_exec_prefix
="$exec_prefix"
12924 exec_prefix
="$acl_final_exec_prefix"
12926 eval additional_includedir
=\"$includedir\"
12927 eval additional_libdir
=\"$libdir\"
12929 exec_prefix
="$acl_save_exec_prefix"
12930 prefix
="$acl_save_prefix"
12933 additional_includedir
="$withval/include"
12934 additional_libdir
="$withval/$acl_libdirstem"
12945 names_already_handled
=
12946 names_next_round
='intl '
12947 while test -n "$names_next_round"; do
12948 names_this_round
="$names_next_round"
12950 for name
in $names_this_round; do
12952 for n
in $names_already_handled; do
12953 if test "$n" = "$name"; then
12954 already_handled
=yes
12958 if test -z "$already_handled"; then
12959 names_already_handled
="$names_already_handled $name"
12960 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12961 eval value
=\"\
$HAVE_LIB$uppername\"
12962 if test -n "$value"; then
12963 if test "$value" = yes; then
12964 eval value
=\"\
$LIB$uppername\"
12965 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
12966 eval value
=\"\
$LTLIB$uppername\"
12967 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
12976 if test $use_additional = yes; then
12977 if test -n "$shlibext" \
12978 && { test -f "$additional_libdir/lib$name.$shlibext" \
12979 ||
{ test "$shlibext" = dll \
12980 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12981 found_dir
="$additional_libdir"
12982 if test -f "$additional_libdir/lib$name.$shlibext"; then
12983 found_so
="$additional_libdir/lib$name.$shlibext"
12985 found_so
="$additional_libdir/lib$name.dll.a"
12987 if test -f "$additional_libdir/lib$name.la"; then
12988 found_la
="$additional_libdir/lib$name.la"
12991 if test -f "$additional_libdir/lib$name.$libext"; then
12992 found_dir
="$additional_libdir"
12993 found_a
="$additional_libdir/lib$name.$libext"
12994 if test -f "$additional_libdir/lib$name.la"; then
12995 found_la
="$additional_libdir/lib$name.la"
13000 if test "X$found_dir" = "X"; then
13001 for x
in $LDFLAGS $LTLIBINTL; do
13003 acl_save_prefix
="$prefix"
13004 prefix
="$acl_final_prefix"
13005 acl_save_exec_prefix
="$exec_prefix"
13006 exec_prefix
="$acl_final_exec_prefix"
13008 exec_prefix
="$acl_save_exec_prefix"
13009 prefix
="$acl_save_prefix"
13013 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13014 if test -n "$shlibext" \
13015 && { test -f "$dir/lib$name.$shlibext" \
13016 ||
{ test "$shlibext" = dll \
13017 && test -f "$dir/lib$name.dll.a"; }; }; then
13019 if test -f "$dir/lib$name.$shlibext"; then
13020 found_so
="$dir/lib$name.$shlibext"
13022 found_so
="$dir/lib$name.dll.a"
13024 if test -f "$dir/lib$name.la"; then
13025 found_la
="$dir/lib$name.la"
13028 if test -f "$dir/lib$name.$libext"; then
13030 found_a
="$dir/lib$name.$libext"
13031 if test -f "$dir/lib$name.la"; then
13032 found_la
="$dir/lib$name.la"
13038 if test "X$found_dir" != "X"; then
13043 if test "X$found_dir" != "X"; then
13044 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13045 if test "X$found_so" != "X"; then
13046 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13047 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13050 for x
in $ltrpathdirs; do
13051 if test "X$x" = "X$found_dir"; then
13056 if test -z "$haveit"; then
13057 ltrpathdirs
="$ltrpathdirs $found_dir"
13059 if test "$hardcode_direct" = yes; then
13060 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13062 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13063 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13065 for x
in $rpathdirs; do
13066 if test "X$x" = "X$found_dir"; then
13071 if test -z "$haveit"; then
13072 rpathdirs
="$rpathdirs $found_dir"
13076 for x
in $LDFLAGS $LIBINTL; do
13078 acl_save_prefix
="$prefix"
13079 prefix
="$acl_final_prefix"
13080 acl_save_exec_prefix
="$exec_prefix"
13081 exec_prefix
="$acl_final_exec_prefix"
13083 exec_prefix
="$acl_save_exec_prefix"
13084 prefix
="$acl_save_prefix"
13086 if test "X$x" = "X-L$found_dir"; then
13091 if test -z "$haveit"; then
13092 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13094 if test "$hardcode_minus_L" != no
; then
13095 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13097 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13103 if test "X$found_a" != "X"; then
13104 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13106 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13109 additional_includedir
=
13110 case "$found_dir" in
13111 */$acl_libdirstem |
*/$acl_libdirstem/)
13112 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13113 additional_includedir
="$basedir/include"
13116 if test "X$additional_includedir" != "X"; then
13117 if test "X$additional_includedir" != "X/usr/include"; then
13119 if test "X$additional_includedir" = "X/usr/local/include"; then
13120 if test -n "$GCC"; then
13122 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13126 if test -z "$haveit"; then
13127 for x
in $CPPFLAGS $INCINTL; do
13129 acl_save_prefix
="$prefix"
13130 prefix
="$acl_final_prefix"
13131 acl_save_exec_prefix
="$exec_prefix"
13132 exec_prefix
="$acl_final_exec_prefix"
13134 exec_prefix
="$acl_save_exec_prefix"
13135 prefix
="$acl_save_prefix"
13137 if test "X$x" = "X-I$additional_includedir"; then
13142 if test -z "$haveit"; then
13143 if test -d "$additional_includedir"; then
13144 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13150 if test -n "$found_la"; then
13151 save_libdir
="$libdir"
13152 case "$found_la" in
13153 */* |
*\\*) .
"$found_la" ;;
13154 *) .
"./$found_la" ;;
13156 libdir
="$save_libdir"
13157 for dep
in $dependency_libs; do
13160 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13161 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13163 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13164 if test -n "$GCC"; then
13166 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13170 if test -z "$haveit"; then
13172 for x
in $LDFLAGS $LIBINTL; do
13174 acl_save_prefix
="$prefix"
13175 prefix
="$acl_final_prefix"
13176 acl_save_exec_prefix
="$exec_prefix"
13177 exec_prefix
="$acl_final_exec_prefix"
13179 exec_prefix
="$acl_save_exec_prefix"
13180 prefix
="$acl_save_prefix"
13182 if test "X$x" = "X-L$additional_libdir"; then
13187 if test -z "$haveit"; then
13188 if test -d "$additional_libdir"; then
13189 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13193 for x
in $LDFLAGS $LTLIBINTL; do
13195 acl_save_prefix
="$prefix"
13196 prefix
="$acl_final_prefix"
13197 acl_save_exec_prefix
="$exec_prefix"
13198 exec_prefix
="$acl_final_exec_prefix"
13200 exec_prefix
="$acl_save_exec_prefix"
13201 prefix
="$acl_save_prefix"
13203 if test "X$x" = "X-L$additional_libdir"; then
13208 if test -z "$haveit"; then
13209 if test -d "$additional_libdir"; then
13210 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13217 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13218 if test "$enable_rpath" != no
; then
13220 for x
in $rpathdirs; do
13221 if test "X$x" = "X$dir"; then
13226 if test -z "$haveit"; then
13227 rpathdirs
="$rpathdirs $dir"
13230 for x
in $ltrpathdirs; do
13231 if test "X$x" = "X$dir"; then
13236 if test -z "$haveit"; then
13237 ltrpathdirs
="$ltrpathdirs $dir"
13242 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13245 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13248 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13249 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13255 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13256 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13262 if test "X$rpathdirs" != "X"; then
13263 if test -n "$hardcode_libdir_separator"; then
13265 for found_dir
in $rpathdirs; do
13266 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13268 acl_save_libdir
="$libdir"
13270 eval flag
=\"$hardcode_libdir_flag_spec\"
13271 libdir
="$acl_save_libdir"
13272 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13274 for found_dir
in $rpathdirs; do
13275 acl_save_libdir
="$libdir"
13276 libdir
="$found_dir"
13277 eval flag
=\"$hardcode_libdir_flag_spec\"
13278 libdir
="$acl_save_libdir"
13279 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13283 if test "X$ltrpathdirs" != "X"; then
13284 for found_dir
in $ltrpathdirs; do
13285 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13290 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13291 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
13292 $as_echo_n "(cached) " >&6
13294 gt_save_CPPFLAGS
="$CPPFLAGS"
13295 CPPFLAGS
="$CPPFLAGS $INCINTL"
13296 gt_save_LIBS
="$LIBS"
13297 LIBS
="$LIBS $LIBINTL"
13298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13300 #include <libintl.h>
13301 $gt_revision_test_code
13302 extern int _nl_msg_cat_cntr;
13307 const char *_nl_expand_alias (const char *);
13311 bindtextdomain ("", "");
13312 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13317 if ac_fn_c_try_link
"$LINENO"; then :
13318 eval "$gt_func_gnugettext_libintl=yes"
13320 eval "$gt_func_gnugettext_libintl=no"
13322 rm -f core conftest.err conftest.
$ac_objext \
13323 conftest
$ac_exeext conftest.
$ac_ext
13324 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13325 LIBS
="$LIBS $LIBICONV"
13326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13328 #include <libintl.h>
13329 $gt_revision_test_code
13330 extern int _nl_msg_cat_cntr;
13335 const char *_nl_expand_alias (const char *);
13339 bindtextdomain ("", "");
13340 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13345 if ac_fn_c_try_link
"$LINENO"; then :
13346 LIBINTL
="$LIBINTL $LIBICONV"
13347 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13348 eval "$gt_func_gnugettext_libintl=yes"
13351 rm -f core conftest.err conftest.
$ac_objext \
13352 conftest
$ac_exeext conftest.
$ac_ext
13354 CPPFLAGS
="$gt_save_CPPFLAGS"
13355 LIBS
="$gt_save_LIBS"
13357 eval ac_res
=\$
$gt_func_gnugettext_libintl
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13359 $as_echo "$ac_res" >&6; }
13362 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13363 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13364 && test "$PACKAGE" != gettext-runtime \
13365 && test "$PACKAGE" != gettext-tools
; }; then
13366 gt_use_preinstalled_gnugettext
=yes
13375 if test -n "$INTL_MACOSX_LIBS"; then
13376 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13377 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13378 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
13379 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
13383 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13384 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13386 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13394 $as_echo_n "checking whether to use NLS... " >&6; }
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13396 $as_echo "$USE_NLS" >&6; }
13397 if test "$USE_NLS" = "yes"; then
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13399 $as_echo_n "checking where the gettext function comes from... " >&6; }
13400 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13401 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13402 gt_source
="external libintl"
13407 gt_source
="included intl directory"
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13410 $as_echo "$gt_source" >&6; }
13413 if test "$USE_NLS" = "yes"; then
13415 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13416 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13418 $as_echo_n "checking how to link with libintl... " >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13420 $as_echo "$LIBINTL" >&6; }
13422 for element
in $INCINTL; do
13424 for x
in $CPPFLAGS; do
13426 acl_save_prefix
="$prefix"
13427 prefix
="$acl_final_prefix"
13428 acl_save_exec_prefix
="$exec_prefix"
13429 exec_prefix
="$acl_final_exec_prefix"
13431 exec_prefix
="$acl_save_exec_prefix"
13432 prefix
="$acl_save_prefix"
13434 if test "X$x" = "X$element"; then
13439 if test -z "$haveit"; then
13440 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13447 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13450 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13459 INTLLIBS
="$LIBINTL"
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
13468 $as_echo_n "checking option: dmalloc enabled... " >&6; }
13469 # Check whether --enable-dmalloc was given.
13470 if test "${enable_dmalloc+set}" = set; then :
13471 enableval
=$enable_dmalloc;
13474 if test x
$enable_dmalloc = "xyes" ; then
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13476 $as_echo "yes" >&6; }
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13479 $as_echo "no" >&6; }
13483 # Check whether --with-dmalloc-dir was given.
13484 if test "${with_dmalloc_dir+set}" = set; then :
13485 withval
=$with_dmalloc_dir;
13486 if test "x$withval" != "xno" ; then
13487 enable_dmalloc
= "yes"
13488 CPPFLAGS
="$CPPCFLAGS -I${withval}"
13489 LDFLAGS
="$LDFLAGS -L${withval}"
13495 if test x
$enable_dmalloc = "xyes" ; then
13497 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
13501 localedir
="\${datadir}/locale"
13503 # Check whether --with-localedir was given.
13504 if test "${with_localedir+set}" = set; then :
13505 withval
=$with_localedir;
13518 localedir
="$localedir"
13521 # Setup OS-Specific features
13524 # Check whether --enable-osx-universal-binaries was given.
13525 if test "${enable_osx_universal_binaries+set}" = set; then :
13526 enableval
=$enable_osx_universal_binaries;
13529 if test "x$enable_osx_universal_binaries" = "xyes" ; then
13530 if test "x$enable_dependency_tracking" != xno
; then
13531 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
13532 Please re-run configure with these options:
13533 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
13535 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
13536 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
13537 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
13538 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
13540 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
13542 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
13543 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
13544 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
13545 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
13546 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
13547 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
13553 # Check whether --with-include-path was given.
13554 if test "${with_include_path+set}" = set; then :
13555 withval
=$with_include_path;
13562 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
13563 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
13564 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
13572 # Check whether --with-lib-path was given.
13573 if test "${with_lib_path+set}" = set; then :
13574 withval
=$with_lib_path;
13581 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
13582 LDFLAGS
="$LDFLAGS $new_ldflags"
13583 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
13591 # Check whether --with-pubcookie was given.
13592 if test "${with_pubcookie+set}" = set; then :
13593 withval
=$with_pubcookie;
13594 if test "x$withval" != "xno" ; then
13595 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
13603 # Check whether --with-web-bin was given.
13604 if test "${with_web_bin+set}" = set; then :
13605 withval
=$with_web_bin;
13612 WEB_BINDIR
=$withval
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
13620 $as_echo_n "checking option: debugging is enabled... " >&6; }
13621 # Check whether --enable-debug was given.
13622 if test "${enable_debug+set}" = set; then :
13623 enableval
=$enable_debug;
13626 if test x
$enable_debug != "xno" ; then
13627 AM_CFLAGS
="$AM_CFLAGS -g"
13629 $as_echo "#define DEBUG 1" >>confdefs.h
13632 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13635 $as_echo "yes" >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13638 $as_echo "no" >&6; }
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
13642 $as_echo_n "checking option: optimization is enabled... " >&6; }
13643 # Check whether --enable-optimization was given.
13644 if test "${enable_optimization+set}" = set; then :
13645 enableval
=$enable_optimization;
13648 if test x
$enable_optimization != "xno" ; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13650 $as_echo "yes" >&6; }
13652 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
13653 alpine_c_client_gccoptlevel
="-O0"
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13655 $as_echo "no" >&6; }
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
13659 $as_echo_n "checking option: mouse support enabled... " >&6; }
13660 # Check whether --enable-mouse was given.
13661 if test "${enable_mouse+set}" = set; then :
13662 enableval
=$enable_mouse;
13665 if test x
$enable_mouse != "xno" ; then
13667 $as_echo "#define MOUSE /**/" >>confdefs.h
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13670 $as_echo "yes" >&6; }
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13673 $as_echo "no" >&6; }
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
13677 $as_echo_n "checking option: quotas enabled... " >&6; }
13678 # Check whether --enable-quotas was given.
13679 if test "${enable_quotas+set}" = set; then :
13680 enableval
=$enable_quotas;
13683 if test x
$enable_quotas = "xyes" ; then
13685 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13688 $as_echo "yes" >&6; }
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13691 $as_echo "no" >&6; }
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
13695 $as_echo_n "checking option: From changing enabled... " >&6; }
13696 # Check whether --enable-from_changing was given.
13697 if test "${enable_from_changing+set}" = set; then :
13698 enableval
=$enable_from_changing;
13701 if test x
$enable_from_changing != "xno" ; then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13703 $as_echo "yes" >&6; }
13706 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13709 $as_echo "no" >&6; }
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
13713 $as_echo_n "checking option: background post enabled... " >&6; }
13714 # Check whether --enable-background-post was given.
13715 if test "${enable_background_post+set}" = set; then :
13716 enableval
=$enable_background_post;
13719 if test x
$enable_background_post != "xno" ; then
13721 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13724 $as_echo "yes" >&6; }
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13727 $as_echo "no" >&6; }
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
13731 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
13732 # Check whether --enable-keyboard-lock was given.
13733 if test "${enable_keyboard_lock+set}" = set; then :
13734 enableval
=$enable_keyboard_lock;
13737 if test x
$enable_keyboard_lock != "xno" ; then
13739 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13742 $as_echo "yes" >&6; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13745 $as_echo "no" >&6; }
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
13749 $as_echo_n "checking option: from encoding enabled... " >&6; }
13750 # Check whether --enable-from-encoding was given.
13751 if test "${enable_from_encoding+set}" = set; then :
13752 enableval
=$enable_from_encoding;
13755 if test x
$enable_from_encoding = "xyes" ; then
13757 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13760 $as_echo "yes" >&6; }
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13763 $as_echo "no" >&6; }
13767 # Check whether --with-smtp-msa was given.
13768 if test "${with_smtp_msa+set}" = set; then :
13769 withval
=$with_smtp_msa;
13774 # Extract the first word of "sendmail", so it can be a program name with args.
13775 set dummy sendmail
; ac_word
=$2
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13777 $as_echo_n "checking for $ac_word... " >&6; }
13778 if ${ac_cv_path_SENDMAIL+:} false
; then :
13779 $as_echo_n "(cached) " >&6
13783 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
13786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13787 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13788 for as_dir
in $as_dummy
13791 test -z "$as_dir" && as_dir
=.
13792 for ac_exec_ext
in '' $ac_executable_extensions; do
13793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13794 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
13795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13802 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
13806 SENDMAIL
=$ac_cv_path_SENDMAIL
13807 if test -n "$SENDMAIL"; then
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13809 $as_echo "$SENDMAIL" >&6; }
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13812 $as_echo "no" >&6; }
13824 # Extract the first word of "sendmail", so it can be a program name with args.
13825 set dummy sendmail
; ac_word
=$2
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13827 $as_echo_n "checking for $ac_word... " >&6; }
13828 if ${ac_cv_path_SENDMAIL+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13833 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
13836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13837 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13838 for as_dir
in $as_dummy
13841 test -z "$as_dir" && as_dir
=.
13842 for ac_exec_ext
in '' $ac_executable_extensions; do
13843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13844 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
13845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13852 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
13856 SENDMAIL
=$ac_cv_path_SENDMAIL
13857 if test -n "$SENDMAIL"; then
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13859 $as_echo "$SENDMAIL" >&6; }
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13862 $as_echo "no" >&6; }
13869 if test -n "$SENDMAIL" ; then
13871 cat >>confdefs.h
<<_ACEOF
13872 #define SENDMAIL "$SENDMAIL"
13877 smtp_msa_flags
="-bs -odb -oem"
13879 # Check whether --with-smtp-msa-flags was given.
13880 if test "${with_smtp_msa_flags+set}" = set; then :
13881 withval
=$with_smtp_msa_flags;
13882 if test "x$withval" != "xno" ; then
13883 smtp_msa_flags
=$withval
13889 cat >>confdefs.h
<<_ACEOF
13890 #define SENDMAILFLAGS "$smtp_msa_flags"
13896 # Check whether --with-npa was given.
13897 if test "${with_npa+set}" = set; then :
13903 # Extract the first word of "inews", so it can be a program name with args.
13904 set dummy inews
; ac_word
=$2
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13906 $as_echo_n "checking for $ac_word... " >&6; }
13907 if ${ac_cv_path_NPA_PROG+:} false
; then :
13908 $as_echo_n "(cached) " >&6
13912 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
13915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13916 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13917 for as_dir
in $as_dummy
13920 test -z "$as_dir" && as_dir
=.
13921 for ac_exec_ext
in '' $ac_executable_extensions; do
13922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13923 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
13924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13931 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
13935 NPA_PROG
=$ac_cv_path_NPA_PROG
13936 if test -n "$NPA_PROG"; then
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
13938 $as_echo "$NPA_PROG" >&6; }
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13941 $as_echo "no" >&6; }
13953 # Extract the first word of "inews", so it can be a program name with args.
13954 set dummy inews
; ac_word
=$2
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13956 $as_echo_n "checking for $ac_word... " >&6; }
13957 if ${ac_cv_path_NPA_PROG+:} false
; then :
13958 $as_echo_n "(cached) " >&6
13962 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
13965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13966 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13967 for as_dir
in $as_dummy
13970 test -z "$as_dir" && as_dir
=.
13971 for ac_exec_ext
in '' $ac_executable_extensions; do
13972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13973 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
13974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13981 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
13985 NPA_PROG
=$ac_cv_path_NPA_PROG
13986 if test -n "$NPA_PROG"; then
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
13988 $as_echo "$NPA_PROG" >&6; }
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13991 $as_echo "no" >&6; }
14001 # Check whether --with-npa-flags was given.
14002 if test "${with_npa_flags+set}" = set; then :
14003 withval
=$with_npa_flags;
14004 if test "x$withval" != "xno" ; then
14010 if test -n "$NPA_PROG" ; then
14012 cat >>confdefs.h
<<_ACEOF
14013 #define SENDNEWS "$NPA_PROG $npa_flags"
14019 # Check whether --with-password-prog was given.
14020 if test "${with_password_prog+set}" = set; then :
14021 withval
=$with_password_prog;
14026 # Extract the first word of "passwd", so it can be a program name with args.
14027 set dummy passwd
; ac_word
=$2
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14029 $as_echo_n "checking for $ac_word... " >&6; }
14030 if ${ac_cv_path_PWPROG+:} false
; then :
14031 $as_echo_n "(cached) " >&6
14035 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14039 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14040 for as_dir
in $as_dummy
14043 test -z "$as_dir" && as_dir
=.
14044 for ac_exec_ext
in '' $ac_executable_extensions; do
14045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14046 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14054 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14058 PWPROG
=$ac_cv_path_PWPROG
14059 if test -n "$PWPROG"; then
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14061 $as_echo "$PWPROG" >&6; }
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14064 $as_echo "no" >&6; }
14070 # Extract the first word of "$withval", so it can be a program name with args.
14071 set dummy
$withval; ac_word
=$2
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14073 $as_echo_n "checking for $ac_word... " >&6; }
14074 if ${ac_cv_path_PWPROG+:} false
; then :
14075 $as_echo_n "(cached) " >&6
14079 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14083 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14084 for as_dir
in $as_dummy
14087 test -z "$as_dir" && as_dir
=.
14088 for ac_exec_ext
in '' $ac_executable_extensions; do
14089 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14090 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14098 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14102 PWPROG
=$ac_cv_path_PWPROG
14103 if test -n "$PWPROG"; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14105 $as_echo "$PWPROG" >&6; }
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14108 $as_echo "no" >&6; }
14117 # Extract the first word of "passwd", so it can be a program name with args.
14118 set dummy passwd
; ac_word
=$2
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14120 $as_echo_n "checking for $ac_word... " >&6; }
14121 if ${ac_cv_path_PWPROG+:} false
; then :
14122 $as_echo_n "(cached) " >&6
14126 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14130 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14131 for as_dir
in $as_dummy
14134 test -z "$as_dir" && as_dir
=.
14135 for ac_exec_ext
in '' $ac_executable_extensions; do
14136 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14137 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14145 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14149 PWPROG
=$ac_cv_path_PWPROG
14150 if test -n "$PWPROG"; then
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14152 $as_echo "$PWPROG" >&6; }
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14155 $as_echo "no" >&6; }
14162 if test -n "$PWPROG" ; then
14164 cat >>confdefs.h
<<_ACEOF
14165 #define PASSWD_PROG "$PWPROG"
14171 # Check whether --with-simple-spellcheck was given.
14172 if test "${with_simple_spellcheck+set}" = set; then :
14173 withval
=$with_simple_spellcheck;
14174 if test "x$withval" != "xno" ; then
14180 # Extract the first word of "hunspell", so it can be a program name with args.
14181 set dummy hunspell
; ac_word
=$2
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14183 $as_echo_n "checking for $ac_word... " >&6; }
14184 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14185 $as_echo_n "(cached) " >&6
14187 if test -n "$SPELLPROG"; then
14188 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14191 for as_dir
in $PATH
14194 test -z "$as_dir" && as_dir
=.
14195 for ac_exec_ext
in '' $ac_executable_extensions; do
14196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14197 ac_cv_prog_SPELLPROG
="hunspell"
14198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14207 SPELLPROG
=$ac_cv_prog_SPELLPROG
14208 if test -n "$SPELLPROG"; then
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14210 $as_echo "$SPELLPROG" >&6; }
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14213 $as_echo "no" >&6; }
14217 if test -z "$SPELLPROG" ; then
14218 # Extract the first word of "aspell", so it can be a program name with args.
14219 set dummy aspell
; ac_word
=$2
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14221 $as_echo_n "checking for $ac_word... " >&6; }
14222 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14223 $as_echo_n "(cached) " >&6
14225 if test -n "$SPELLPROG"; then
14226 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14229 for as_dir
in $PATH
14232 test -z "$as_dir" && as_dir
=.
14233 for ac_exec_ext
in '' $ac_executable_extensions; do
14234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14235 ac_cv_prog_SPELLPROG
="aspell"
14236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14245 SPELLPROG
=$ac_cv_prog_SPELLPROG
14246 if test -n "$SPELLPROG"; then
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14248 $as_echo "$SPELLPROG" >&6; }
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 $as_echo "no" >&6; }
14255 if test -z "$SPELLPROG" ; then
14256 # Extract the first word of "ispell", so it can be a program name with args.
14257 set dummy ispell
; ac_word
=$2
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14259 $as_echo_n "checking for $ac_word... " >&6; }
14260 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14261 $as_echo_n "(cached) " >&6
14263 if test -n "$SPELLPROG"; then
14264 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14267 for as_dir
in $PATH
14270 test -z "$as_dir" && as_dir
=.
14271 for ac_exec_ext
in '' $ac_executable_extensions; do
14272 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14273 ac_cv_prog_SPELLPROG
="ispell"
14274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14283 SPELLPROG
=$ac_cv_prog_SPELLPROG
14284 if test -n "$SPELLPROG"; then
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14286 $as_echo "$SPELLPROG" >&6; }
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14289 $as_echo "no" >&6; }
14293 if test -z "$SPELLPROG" ; then
14302 if test "x$SPELLPROG" != "xno" ; then
14303 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
14304 set dummy
$SPELLPROG; ac_word
=$2
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14306 $as_echo_n "checking for $ac_word... " >&6; }
14307 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
14308 $as_echo_n "(cached) " >&6
14310 case $alpine_simple_spellcheck in
14312 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
14315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14316 for as_dir
in $PATH
14319 test -z "$as_dir" && as_dir
=.
14320 for ac_exec_ext
in '' $ac_executable_extensions; do
14321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14322 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
14323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14333 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
14334 if test -n "$alpine_simple_spellcheck"; then
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
14336 $as_echo "$alpine_simple_spellcheck" >&6; }
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14339 $as_echo "no" >&6; }
14343 if test -n "$alpine_simple_spellcheck" ; then
14344 case "$SPELLPROG" in
14346 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
14349 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
14352 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
14361 # Check whether --with-interactive-spellcheck was given.
14362 if test "${with_interactive_spellcheck+set}" = set; then :
14363 withval
=$with_interactive_spellcheck;
14364 if test "x$withval" != "xno" ; then
14365 ISPELLPROG
=$withval
14370 # Extract the first word of "hunspell", so it can be a program name with args.
14371 set dummy hunspell
; ac_word
=$2
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14373 $as_echo_n "checking for $ac_word... " >&6; }
14374 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
14375 $as_echo_n "(cached) " >&6
14377 if test -n "$ISPELLPROG"; then
14378 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
14380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14381 for as_dir
in $PATH
14384 test -z "$as_dir" && as_dir
=.
14385 for ac_exec_ext
in '' $ac_executable_extensions; do
14386 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14387 ac_cv_prog_ISPELLPROG
="hunspell"
14388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14397 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
14398 if test -n "$ISPELLPROG"; then
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14400 $as_echo "$ISPELLPROG" >&6; }
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14403 $as_echo "no" >&6; }
14407 if test -z "$ISPELLPROG" ; then
14408 # Extract the first word of "aspell", so it can be a program name with args.
14409 set dummy aspell
; ac_word
=$2
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14411 $as_echo_n "checking for $ac_word... " >&6; }
14412 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
14413 $as_echo_n "(cached) " >&6
14415 if test -n "$ISPELLPROG"; then
14416 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
14418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14419 for as_dir
in $PATH
14422 test -z "$as_dir" && as_dir
=.
14423 for ac_exec_ext
in '' $ac_executable_extensions; do
14424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14425 ac_cv_prog_ISPELLPROG
="aspell"
14426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14435 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
14436 if test -n "$ISPELLPROG"; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14438 $as_echo "$ISPELLPROG" >&6; }
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14441 $as_echo "no" >&6; }
14445 if test -z "$SPELLPROG" ; then
14446 ISPELLPROG
="ispell"
14453 if test "x$ISPELLPROG" != "xno" ; then
14454 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
14455 set dummy
$ISPELLPROG; ac_word
=$2
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14457 $as_echo_n "checking for $ac_word... " >&6; }
14458 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
14459 $as_echo_n "(cached) " >&6
14461 case $alpine_interactive_spellcheck in
14463 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
14466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14467 for as_dir
in $PATH
14470 test -z "$as_dir" && as_dir
=.
14471 for ac_exec_ext
in '' $ac_executable_extensions; do
14472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14473 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
14474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14484 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
14485 if test -n "$alpine_interactive_spellcheck"; then
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
14487 $as_echo "$alpine_interactive_spellcheck" >&6; }
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14490 $as_echo "no" >&6; }
14494 if test -n "$alpine_interactive_spellcheck" ; then
14495 case "$ISPELLPROG" in
14497 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
14505 if test -n "$alpine_interactive_spellcheck" ; then
14507 cat >>confdefs.h
<<_ACEOF
14508 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
14513 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
14514 alpine_simple_spellcheck
=test
14517 cat >>confdefs.h
<<_ACEOF
14518 #define SPELLER "$alpine_simple_spellcheck"
14523 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
14524 *) dpv
=${prefix}/lib
/pine.conf
;;
14527 # Check whether --with-system-pinerc was given.
14528 if test "${with_system_pinerc+set}" = set; then :
14529 withval
=$with_system_pinerc;
14543 cat >>confdefs.h
<<_ACEOF
14544 #define SYSTEM_PINERC "$dpv"
14549 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
14550 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
14553 # Check whether --with-system-fixed-pinerc was given.
14554 if test "${with_system_fixed_pinerc+set}" = set; then :
14555 withval
=$with_system_fixed_pinerc;
14569 cat >>confdefs.h
<<_ACEOF
14570 #define SYSTEM_PINERC_FIXED "$dpv"
14575 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
14576 *) dpv
=${prefix}/lib
/pine.info
;;
14579 # Check whether --with-local-support-info was given.
14580 if test "${with_local_support_info+set}" = set; then :
14581 withval
=$with_local_support_info;
14595 cat >>confdefs.h
<<_ACEOF
14596 #define SYSTEM_PINE_INFO_PATH "$dpv"
14607 # Check whether --with-mailcheck-interval was given.
14608 if test "${with_mailcheck_interval+set}" = set; then :
14609 withval
=$with_mailcheck_interval;
14610 if test "x$withval" != "xno" ; then
14617 cat >>confdefs.h
<<_ACEOF
14618 #define DF_MAILCHECK "$dpv"
14625 # Check whether --with-checkpoint-interval was given.
14626 if test "${with_checkpoint_interval+set}" = set; then :
14627 withval
=$with_checkpoint_interval;
14628 if test "x$withval" != "xno" ; then
14635 cat >>confdefs.h
<<_ACEOF
14636 #define CHECK_POINT_TIME $dpv
14643 # Check whether --with-checkpoint-frequency was given.
14644 if test "${with_checkpoint_frequency+set}" = set; then :
14645 withval
=$with_checkpoint_frequency;
14646 if test "x$withval" != "xno" ; then
14653 cat >>confdefs.h
<<_ACEOF
14654 #define CHECK_POINT_FREQ $dpv
14661 # Check whether --with-display-rows was given.
14662 if test "${with_display_rows+set}" = set; then :
14663 withval
=$with_display_rows;
14664 if test "x$withval" != "xno" ; then
14671 cat >>confdefs.h
<<_ACEOF
14672 #define DEFAULT_LINES_ON_TERMINAL $dpv
14679 # Check whether --with-display-columns was given.
14680 if test "${with_display_columns+set}" = set; then :
14681 withval
=$with_display_columns;
14682 if test "x$withval" != "xno" ; then
14689 cat >>confdefs.h
<<_ACEOF
14690 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
14697 # Check whether --with-max-display-rows was given.
14698 if test "${with_max_display_rows+set}" = set; then :
14699 withval
=$with_max_display_rows;
14700 if test "x$withval" != "xno" ; then
14707 cat >>confdefs.h
<<_ACEOF
14708 #define MAX_SCREEN_ROWS $dpv
14715 # Check whether --with-max-display-columns was given.
14716 if test "${with_max_display_columns+set}" = set; then :
14717 withval
=$with_max_display_columns;
14718 if test "x$withval" != "xno" ; then
14725 cat >>confdefs.h
<<_ACEOF
14726 #define MAX_SCREEN_COLS $dpv
14733 # Check whether --with-fill-column was given.
14734 if test "${with_fill_column+set}" = set; then :
14735 withval
=$with_fill_column;
14736 if test "x$withval" != "xno" ; then
14743 cat >>confdefs.h
<<_ACEOF
14744 #define DF_FILLCOL "$dpv"
14751 # Check whether --with-max_fill-column was given.
14752 if test "${with_max_fill_column+set}" = set; then :
14753 withval
=$with_max_fill_column;
14754 if test "x$withval" != "xno" ; then
14761 cat >>confdefs.h
<<_ACEOF
14762 #define MAX_FILLCOL $dpv
14769 # Check whether --with-debug-level was given.
14770 if test "${with_debug_level+set}" = set; then :
14771 withval
=$with_debug_level;
14772 if test "x$withval" != "xno" ; then
14779 cat >>confdefs.h
<<_ACEOF
14780 #define DEFAULT_DEBUG $dpv
14787 # Check whether --with-debug-files was given.
14788 if test "${with_debug_files+set}" = set; then :
14789 withval
=$with_debug_files;
14790 if test "x$withval" != "xno" ; then
14797 cat >>confdefs.h
<<_ACEOF
14798 #define NUMDEBUGFILES $dpv
14805 # Check whether --with-debug-file was given.
14806 if test "${with_debug_file+set}" = set; then :
14807 withval
=$with_debug_file;
14808 if test "x$withval" != "xno" ; then
14815 cat >>confdefs.h
<<_ACEOF
14816 #define DEBUGFILE "$dpv"
14823 # Check whether --with-forwarded-keyword was given.
14824 if test "${with_forwarded_keyword+set}" = set; then :
14825 withval
=$with_forwarded_keyword;
14826 if test "x$withval" != "xno" ; then
14833 cat >>confdefs.h
<<_ACEOF
14834 #define FORWARDED_FLAG "$dpv"
14841 # Check whether --with-display-overlap was given.
14842 if test "${with_display_overlap+set}" = set; then :
14843 withval
=$with_display_overlap;
14844 if test "x$withval" != "xno" ; then
14851 cat >>confdefs.h
<<_ACEOF
14852 #define DF_OVERLAP "$dpv"
14859 # Check whether --with-display-margin was given.
14860 if test "${with_display_margin+set}" = set; then :
14861 withval
=$with_display_margin;
14862 if test "x$withval" != "xno" ; then
14869 cat >>confdefs.h
<<_ACEOF
14870 #define DF_MARGIN "$dpv"
14877 # Check whether --with-default-fcc was given.
14878 if test "${with_default_fcc+set}" = set; then :
14879 withval
=$with_default_fcc;
14880 if test "x$withval" != "xno" ; then
14887 cat >>confdefs.h
<<_ACEOF
14888 #define DF_DEFAULT_FCC "$dpv"
14895 # Check whether --with-default-save-folder was given.
14896 if test "${with_default_save_folder+set}" = set; then :
14897 withval
=$with_default_save_folder;
14898 if test "x$withval" != "xno" ; then
14905 cat >>confdefs.h
<<_ACEOF
14906 #define DEFAULT_SAVE "$dpv"
14913 # Check whether --with-default-legacy-postponed-folder was given.
14914 if test "${with_default_legacy_postponed_folder+set}" = set; then :
14915 withval
=$with_default_legacy_postponed_folder;
14916 if test "x$withval" != "xno" ; then
14923 cat >>confdefs.h
<<_ACEOF
14924 #define POSTPONED_MAIL "$dpv"
14931 # Check whether --with-default-postponed-folder was given.
14932 if test "${with_default_postponed_folder+set}" = set; then :
14933 withval
=$with_default_postponed_folder;
14934 if test "x$withval" != "xno" ; then
14941 cat >>confdefs.h
<<_ACEOF
14942 #define POSTPONED_MSGS "$dpv"
14949 # Check whether --with-default-trash-folder was given.
14950 if test "${with_default_trash_folder+set}" = set; then :
14951 withval
=$with_default_trash_folder;
14952 if test "x$withval" != "xno" ; then
14959 cat >>confdefs.h
<<_ACEOF
14960 #define TRASH_FOLDER "$dpv"
14965 dpv
=.pine-interrupted-mail
14967 # Check whether --with-default-interrupted-mail was given.
14968 if test "${with_default_interrupted_mail+set}" = set; then :
14969 withval
=$with_default_interrupted_mail;
14970 if test "x$withval" != "xno" ; then
14977 cat >>confdefs.h
<<_ACEOF
14978 #define INTERRUPTED_MAIL "$dpv"
14985 # Check whether --with-default-dead-letter-folder was given.
14986 if test "${with_default_dead_letter_folder+set}" = set; then :
14987 withval
=$with_default_dead_letter_folder;
14988 if test "x$withval" != "xno" ; then
14995 cat >>confdefs.h
<<_ACEOF
14996 #define DEADLETTER "$dpv"
15003 # Check whether --with-default-mail-directory was given.
15004 if test "${with_default_mail_directory+set}" = set; then :
15005 withval
=$with_default_mail_directory;
15006 if test "x$withval" != "xno" ; then
15013 cat >>confdefs.h
<<_ACEOF
15014 #define DF_MAIL_DIRECTORY "$dpv"
15021 # Check whether --with-default-inbox-name was given.
15022 if test "${with_default_inbox_name+set}" = set; then :
15023 withval
=$with_default_inbox_name;
15024 if test "x$withval" != "xno" ; then
15031 cat >>confdefs.h
<<_ACEOF
15032 #define INBOX_NAME "$dpv"
15039 # Check whether --with-default-signature-file was given.
15040 if test "${with_default_signature_file+set}" = set; then :
15041 withval
=$with_default_signature_file;
15042 if test "x$withval" != "xno" ; then
15049 cat >>confdefs.h
<<_ACEOF
15050 #define DF_SIGNATURE_FILE "$dpv"
15057 # Check whether --with-default-elm-style-save was given.
15058 if test "${with_default_elm_style_save+set}" = set; then :
15059 withval
=$with_default_elm_style_save;
15060 if test "x$withval" != "xno" ; then
15067 cat >>confdefs.h
<<_ACEOF
15068 #define DF_ELM_STYLE_SAVE "$dpv"
15075 # Check whether --with-default-header-in-reply was given.
15076 if test "${with_default_header_in_reply+set}" = set; then :
15077 withval
=$with_default_header_in_reply;
15078 if test "x$withval" != "xno" ; then
15085 cat >>confdefs.h
<<_ACEOF
15086 #define DF_HEADER_IN_REPLY "$dpv"
15093 # Check whether --with-default-old-style-reply was given.
15094 if test "${with_default_old_style_reply+set}" = set; then :
15095 withval
=$with_default_old_style_reply;
15096 if test "x$withval" != "xno" ; then
15103 cat >>confdefs.h
<<_ACEOF
15104 #define DF_OLD_STYLE_REPLY "$dpv"
15111 # Check whether --with-default-use-only-domain-name was given.
15112 if test "${with_default_use_only_domain_name+set}" = set; then :
15113 withval
=$with_default_use_only_domain_name;
15114 if test "x$withval" != "xno" ; then
15121 cat >>confdefs.h
<<_ACEOF
15122 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
15129 # Check whether --with-default-save-by-sender was given.
15130 if test "${with_default_save_by_sender+set}" = set; then :
15131 withval
=$with_default_save_by_sender;
15132 if test "x$withval" != "xno" ; then
15139 cat >>confdefs.h
<<_ACEOF
15140 #define DF_SAVE_BY_SENDER "$dpv"
15147 # Check whether --with-default-sort-key was given.
15148 if test "${with_default_sort_key+set}" = set; then :
15149 withval
=$with_default_sort_key;
15150 if test "x$withval" != "xno" ; then
15157 cat >>confdefs.h
<<_ACEOF
15158 #define DF_SORT_KEY "$dpv"
15163 dpv
=fullname-with-lists-last
15165 # Check whether --with-default-addressbook-sort-rule was given.
15166 if test "${with_default_addressbook_sort_rule+set}" = set; then :
15167 withval
=$with_default_addressbook_sort_rule;
15168 if test "x$withval" != "xno" ; then
15175 cat >>confdefs.h
<<_ACEOF
15176 #define DF_AB_SORT_RULE "$dpv"
15183 # Check whether --with-default-folder-sort-rule was given.
15184 if test "${with_default_folder_sort_rule+set}" = set; then :
15185 withval
=$with_default_folder_sort_rule;
15186 if test "x$withval" != "xno" ; then
15193 cat >>confdefs.h
<<_ACEOF
15194 #define DF_FLD_SORT_RULE "$dpv"
15201 # Check whether --with-default-saved-message-name-rule was given.
15202 if test "${with_default_saved_message_name_rule+set}" = set; then :
15203 withval
=$with_default_saved_message_name_rule;
15204 if test "x$withval" != "xno" ; then
15211 cat >>confdefs.h
<<_ACEOF
15212 #define DF_SAVED_MSG_NAME_RULE "$dpv"
15219 # Check whether --with-default-fcc-rule was given.
15220 if test "${with_default_fcc_rule+set}" = set; then :
15221 withval
=$with_default_fcc_rule;
15222 if test "x$withval" != "xno" ; then
15229 cat >>confdefs.h
<<_ACEOF
15230 #define DF_FCC_RULE "$dpv"
15237 # Check whether --with-default-standard-printer was given.
15238 if test "${with_default_standard_printer+set}" = set; then :
15239 withval
=$with_default_standard_printer;
15240 if test "x$withval" != "xno" ; then
15247 cat >>confdefs.h
<<_ACEOF
15248 #define DF_STANDARD_PRINTER "$dpv"
15253 dpv
=attached-to-ansi
15255 # Check whether --with-default-ansi-printer was given.
15256 if test "${with_default_ansi_printer+set}" = set; then :
15257 withval
=$with_default_ansi_printer;
15258 if test "x$withval" != "xno" ; then
15265 cat >>confdefs.h
<<_ACEOF
15266 #define ANSI_PRINTER "$dpv"
15273 # Check whether --with-default-addressbook was given.
15274 if test "${with_default_addressbook+set}" = set; then :
15275 withval
=$with_default_addressbook;
15276 if test "x$withval" != "xno" ; then
15283 cat >>confdefs.h
<<_ACEOF
15284 #define DF_ADDRESSBOOK "$dpv"
15289 dpv
="Local Support"
15291 # Check whether --with-default-local-fullname was given.
15292 if test "${with_default_local_fullname+set}" = set; then :
15293 withval
=$with_default_local_fullname;
15294 if test "x$withval" != "xno" ; then
15301 cat >>confdefs.h
<<_ACEOF
15302 #define DF_LOCAL_FULLNAME "$dpv"
15309 # Check whether --with-default-local-address was given.
15310 if test "${with_default_local_address+set}" = set; then :
15311 withval
=$with_default_local_address;
15312 if test "x$withval" != "xno" ; then
15319 cat >>confdefs.h
<<_ACEOF
15320 #define DF_LOCAL_ADDRESS "$dpv"
15327 # Check whether --with-default-keyboard-lock-count was given.
15328 if test "${with_default_keyboard_lock_count+set}" = set; then :
15329 withval
=$with_default_keyboard_lock_count;
15330 if test "x$withval" != "xno" ; then
15337 cat >>confdefs.h
<<_ACEOF
15338 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
15345 # Check whether --with-default-remote-addressbook-history was given.
15346 if test "${with_default_remote_addressbook_history+set}" = set; then :
15347 withval
=$with_default_remote_addressbook_history;
15348 if test "x$withval" != "xno" ; then
15355 cat >>confdefs.h
<<_ACEOF
15356 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
15361 dpv
=.alpine-smime
/public
15363 # Check whether --with-smime-public-cert-directory was given.
15364 if test "${with_smime_public_cert_directory+set}" = set; then :
15365 withval
=$with_smime_public_cert_directory;
15366 if test "x$withval" != "xno" ; then
15373 cat >>confdefs.h
<<_ACEOF
15374 #define DF_PUBLICCERT_DIR "$dpv"
15379 dpv
=.alpine-smime
/private
15381 # Check whether --with-smime-private-key-directory was given.
15382 if test "${with_smime_private_key_directory+set}" = set; then :
15383 withval
=$with_smime_private_key_directory;
15384 if test "x$withval" != "xno" ; then
15391 cat >>confdefs.h
<<_ACEOF
15392 #define DF_PRIVATEKEY_DIR "$dpv"
15397 dpv
=.alpine-smime
/ca
15399 # Check whether --with-smime-cacert-directory was given.
15400 if test "${with_smime_cacert_directory+set}" = set; then :
15401 withval
=$with_smime_cacert_directory;
15402 if test "x$withval" != "xno" ; then
15409 cat >>confdefs.h
<<_ACEOF
15410 #define DF_CACERT_DIR "$dpv"
15417 # Check whether --with-default-printer was given.
15418 if test "${with_default_printer+set}" = set; then :
15419 withval
=$with_default_printer;
15420 if test "x$withval" != "xno" ; then
15427 cat >>confdefs.h
<<_ACEOF
15428 #define DF_DEFAULT_PRINTER $dpv
15434 # Check whether --with-passfile was given.
15435 if test "${with_passfile+set}" = set; then :
15436 withval
=$with_passfile;
15443 alpine_PASSFILE
=$withval
15451 # Check whether --with-local-password-cache was given.
15452 if test "${with_local_password_cache+set}" = set; then :
15453 withval
=$with_local_password_cache;
15454 alpine_os_credential_cache
=$withval
15460 # Check whether --with-local-password-cache-method was given.
15461 if test "${with_local_password_cache_method+set}" = set; then :
15462 withval
=$with_local_password_cache_method;
15463 alpine_os_credential_cache_method
=$withval
15468 if test -n "$alpine_PASSFILE" ; then
15469 case $alpine_os_credential_cache in
15473 alpine_os_credential_cache
="no"
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
15475 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
15479 cat >>confdefs.h
<<_ACEOF
15480 #define PASSFILE "$alpine_PASSFILE"
15486 # Check whether --with-default-sshpath was given.
15487 if test "${with_default_sshpath+set}" = set; then :
15488 withval
=$with_default_sshpath;
15496 cat >>confdefs.h
<<_ACEOF
15497 #define DF_SSHPATH "$withval"
15507 # Check whether --with-default-sshcmd was given.
15508 if test "${with_default_sshcmd+set}" = set; then :
15509 withval
=$with_default_sshcmd;
15517 cat >>confdefs.h
<<_ACEOF
15518 #define DF_SSHCMD "$withval"
15528 # Check whether --with-ssl was given.
15529 if test "${with_ssl+set}" = set; then :
15530 withval
=$with_ssl; with_ssl
=$withval
15534 if test "x$with_ssl" = "xno" ; then
15535 alpine_SSLTYPE
="none"
15539 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
15540 alpine_SSLTYPE
="nopwd"
15541 if test -d /etc
/pki
/tls
; then
15542 alpine_SSLDIR
="/etc/pki/tls"
15544 alpine_SSLDIR
="/usr/share/ssl"
15546 elif test -f /etc
/SuSE-release
; then
15547 alpine_SSLTYPE
="nopwd"
15548 alpine_SSLDIR
="/usr/share/ssl"
15549 alpine_SSLCERTS
="/etc/ssl/certs"
15550 elif test -d /etc
/osso-af-init
; then
15551 alpine_SSLTYPE
="nopwd"
15552 alpine_SSLDIR
="/usr"
15553 alpine_SSLCERTS
="/usr/share/certs"
15555 alpine_SSLTYPE
="nopwd"
15556 alpine_SSLDIR
="/usr"
15557 alpine_SSLCERTS
="/etc/ssl/certs"
15561 alpine_SSLTYPE
="nopwd"
15562 alpine_SSLCERTS
="/System/Library/OpenSSL/certs"
15565 alpine_SSLTYPE
="nopwd"
15566 alpine_SSLDIR
="/usr"
15567 alpine_SSLCERTS
="/etc/ssl/certs"
15569 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
15570 alpine_SSLTYPE
="sco.nopwd"
15571 alpine_SSLDIR
=/usr
/local
/ssl
15574 if test -d /usr
/sfw
/include
/openssl
; then
15575 alpine_SSLDIR
="/usr/sfw"
15576 elif test -d /opt
/csw
/include
/openssl
; then
15577 alpine_SSLDIR
="/opt/csw"
15578 if test -d /opt
/csw
/ssl
/certs
; then
15579 alpine_SSLCERTS
="/opt/csw/ssl/certs"
15582 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
15583 alpine_SSLCERTS
="/etc/certs"
15587 alpine_SSLTYPE
="nopwd"
15588 alpine_SSLDIR
=/usr
/local
/ssl
15593 # Check whether --with-ssl-dir was given.
15594 if test "${with_ssl_dir+set}" = set; then :
15595 withval
=$with_ssl_dir;
15596 if test "x$withval" != "xno" ; then
15597 alpine_SSLDIR
=$withval
15604 # Check whether --with-ssl-certs-dir was given.
15605 if test "${with_ssl_certs_dir+set}" = set; then :
15606 withval
=$with_ssl_certs_dir;
15607 if test "x$withval" != "xno" ; then
15608 alpine_SSLCERTS
=$withval
15615 # Check whether --with-ssl-include-dir was given.
15616 if test "${with_ssl_include_dir+set}" = set; then :
15617 withval
=$with_ssl_include_dir;
15618 if test "x$withval" != "xno" ; then
15619 alpine_SSLINCLUDE
=$withval
15626 # Check whether --with-ssl-lib-dir was given.
15627 if test "${with_ssl_lib_dir+set}" = set; then :
15628 withval
=$with_ssl_lib_dir;
15629 if test "x$withval" != "xno" ; then
15630 alpine_SSLLIB
=$withval
15635 if test -n "$alpine_SSLINCLUDE" ; then
15636 CPPCFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
15637 elif test -n "$alpine_SSLDIR" ; then
15638 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
15640 if test -n "$alpine_SSLLIB" ; then
15641 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
15642 elif test -n "$alpine_SSLDIR" ; then
15643 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
15648 # Check whether --with-krb5 was given.
15649 if test "${with_krb5+set}" = set; then :
15650 withval
=$with_krb5; with_krb5
=$withval
15654 if test "x$with_krb5" = "xno" ; then
15655 alpine_GSSTYPE
="none"
15660 # Check whether --with-krb5-dir was given.
15661 if test "${with_krb5_dir+set}" = set; then :
15662 withval
=$with_krb5_dir;
15663 if test "x$withval" != "xno" ; then
15664 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
15665 LDFLAGS
="$LDFLAGS -L${withval}/lib"
15672 # Check whether --with-krb5-include-dir was given.
15673 if test "${with_krb5_include_dir+set}" = set; then :
15674 withval
=$with_krb5_include_dir;
15675 if test "x$withval" != "xno" ; then
15676 CPPFLAGS
="$CPPFLAGS -I$withval"
15683 # Check whether --with-krb5-lib-dir was given.
15684 if test "${with_krb5_lib_dir+set}" = set; then :
15685 withval
=$with_krb5_lib_dir;
15686 if test "x$withval" != "xno" ; then
15687 LDFLAGS
="$LDFLAGS -L$withval"
15695 # Check whether --with-ldap was given.
15696 if test "${with_ldap+set}" = set; then :
15697 withval
=$with_ldap; with_ldap
=$withval
15701 if test "x$with_ldap" = "xno" ; then
15703 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
15704 $as_echo "$as_me: Excluding LDAP Support" >&6;}
15707 alpine_with_ldap
=yes
15709 # Check whether --with-ldap-dir was given.
15710 if test "${with_ldap_dir+set}" = set; then :
15711 withval
=$with_ldap_dir;
15712 if test "x$withval" != "xno" ; then
15713 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
15714 LDFLAGS
="$LDFLAGS -L${withval}/lib"
15721 # Check whether --with-ldap-include-dir was given.
15722 if test "${with_ldap_include_dir+set}" = set; then :
15723 withval
=$with_ldap_include_dir;
15724 if test "x$withval" != "xno" ; then
15725 CPPFLAGS
="$CPPFLAGS -I$withval"
15732 # Check whether --with-ldap-lib-dir was given.
15733 if test "${with_ldap_lib_dir+set}" = set; then :
15734 withval
=$with_ldap_lib_dir;
15735 if test "x$withval" != "xno" ; then
15736 LDFLAGS
="$LDFLAGS -L$withval"
15744 # Check whether --with-smime was given.
15745 if test "${with_smime+set}" = set; then :
15746 withval
=$with_smime; with_smime
=$withval
15751 # Check whether --with-tcl was given.
15752 if test "${with_tcl+set}" = set; then :
15753 withval
=$with_tcl; with_tcl
=$withval
15757 if test "x$with_tcl" = "xno" ; then
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
15760 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
15763 # Check whether --with-tcl-lib was given.
15764 if test "${with_tcl_lib+set}" = set; then :
15765 withval
=$with_tcl_lib;
15766 if test "x$withval" != "xno" ; then
15767 alpine_TCLLIB
=$withval
15773 # Check whether --with-tcl-include was given.
15774 if test "${with_tcl_include+set}" = set; then :
15775 withval
=$with_tcl_include;
15776 if test "x$withval" != "xno" ; then
15777 CPPFLAGS
="$CPPFLAGS -I$withval"
15778 alpine_TCLINC
=$withval
15786 # Check whether --with-supplied-regex was given.
15787 if test "${with_supplied_regex+set}" = set; then :
15788 withval
=$with_supplied_regex; alpine_REGEX
=$withval
15793 # Check whether --with-pthread was given.
15794 if test "${with_pthread+set}" = set; then :
15795 withval
=$with_pthread; with_pthread
=$withval
15800 # Check whether --with-system-mail-directory was given.
15801 if test "${with_system_mail_directory+set}" = set; then :
15802 withval
=$with_system_mail_directory;
15803 if test "x$withval" != "xno" ; then
15804 alpine_with_local_maildir
="$withval"
15811 # Check whether --with-c-client-target was given.
15812 if test "${with_c_client_target+set}" = set; then :
15813 withval
=$with_c_client_target;
15814 if test "x$withval" != "xno" ;then
15815 alpine_with_c_client_target
="$withval"
15823 # Check whether --with-ipv6 was given.
15824 if test "${with_ipv6+set}" = set; then :
15825 withval
=$with_ipv6; with_ipv6
=$withval
15829 if test "x$with_ipv6" = "xno" ; then
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
15831 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
15832 c_client_specials
="${c_client_specials}IP6=4 "
15833 c_client_ip6
="true"
15835 c_client_ip6
="touch imap/ip6"
15840 if test x
$enable_dmalloc = "xyes" ; then
15841 if test "x$with_pthread" = "xyes" ; then
15842 dmalloc_lib
=dmallocth
15844 dmalloc_lib
=dmalloc
15847 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
15849 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
15850 if eval \
${$as_ac_Lib+:} false
; then :
15851 $as_echo_n "(cached) " >&6
15853 ac_check_lib_save_LIBS
=$LIBS
15854 LIBS
="-l$dmalloc_lib $LIBS"
15855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15858 /* Override any GCC internal prototype to avoid an error.
15859 Use char because int might match the return type of a GCC
15860 builtin and then its argument prototype would still apply. */
15864 char dmalloc_shutdown ();
15868 return dmalloc_shutdown ();
15873 if ac_fn_c_try_link
"$LINENO"; then :
15874 eval "$as_ac_Lib=yes"
15876 eval "$as_ac_Lib=no"
15878 rm -f core conftest.err conftest.
$ac_objext \
15879 conftest
$ac_exeext conftest.
$ac_ext
15880 LIBS
=$ac_check_lib_save_LIBS
15882 eval ac_res
=\$
$as_ac_Lib
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15884 $as_echo "$ac_res" >&6; }
15885 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
15886 cat >>confdefs.h
<<_ACEOF
15887 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
15890 LIBS
="-l$dmalloc_lib $LIBS"
15894 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
15901 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
15902 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
15903 $as_echo_n "(cached) " >&6
15905 ac_check_lib_save_LIBS
=$LIBS
15906 LIBS
="-ltinfo $LIBS"
15907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 /* Override any GCC internal prototype to avoid an error.
15911 Use char because int might match the return type of a GCC
15912 builtin and then its argument prototype would still apply. */
15920 return setupterm ();
15925 if ac_fn_c_try_link
"$LINENO"; then :
15926 ac_cv_lib_tinfo_setupterm
=yes
15928 ac_cv_lib_tinfo_setupterm
=no
15930 rm -f core conftest.err conftest.
$ac_objext \
15931 conftest
$ac_exeext conftest.
$ac_ext
15932 LIBS
=$ac_check_lib_save_LIBS
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
15935 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
15936 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
15938 alpine_termdata
=info
15939 LIBS
="$LIBS -ltinfo"
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
15944 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
15945 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
15946 $as_echo_n "(cached) " >&6
15948 ac_check_lib_save_LIBS
=$LIBS
15949 LIBS
="-lncurses $LIBS"
15950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15951 /* end confdefs.h. */
15953 /* Override any GCC internal prototype to avoid an error.
15954 Use char because int might match the return type of a GCC
15955 builtin and then its argument prototype would still apply. */
15963 return setupterm ();
15968 if ac_fn_c_try_link
"$LINENO"; then :
15969 ac_cv_lib_ncurses_setupterm
=yes
15971 ac_cv_lib_ncurses_setupterm
=no
15973 rm -f core conftest.err conftest.
$ac_objext \
15974 conftest
$ac_exeext conftest.
$ac_ext
15975 LIBS
=$ac_check_lib_save_LIBS
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
15978 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
15979 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
15981 alpine_termdata
=info
15982 LIBS
="$LIBS -lncurses"
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
15987 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
15988 if ${ac_cv_lib_curses_setupterm+:} false
; then :
15989 $as_echo_n "(cached) " >&6
15991 ac_check_lib_save_LIBS
=$LIBS
15992 LIBS
="-lcurses $LIBS"
15993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
16006 return setupterm ();
16011 if ac_fn_c_try_link
"$LINENO"; then :
16012 ac_cv_lib_curses_setupterm
=yes
16014 ac_cv_lib_curses_setupterm
=no
16016 rm -f core conftest.err conftest.
$ac_objext \
16017 conftest
$ac_exeext conftest.
$ac_ext
16018 LIBS
=$ac_check_lib_save_LIBS
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
16021 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
16022 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
16024 alpine_termdata
=info
16025 LIBS
="$LIBS -lcurses"
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
16030 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
16031 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
16032 $as_echo_n "(cached) " >&6
16034 ac_check_lib_save_LIBS
=$LIBS
16035 LIBS
="-ltermlib $LIBS"
16036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16039 /* Override any GCC internal prototype to avoid an error.
16040 Use char because int might match the return type of a GCC
16041 builtin and then its argument prototype would still apply. */
16054 if ac_fn_c_try_link
"$LINENO"; then :
16055 ac_cv_lib_termlib_tgetent
=yes
16057 ac_cv_lib_termlib_tgetent
=no
16059 rm -f core conftest.err conftest.
$ac_objext \
16060 conftest
$ac_exeext conftest.
$ac_ext
16061 LIBS
=$ac_check_lib_save_LIBS
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
16064 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
16065 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
16067 alpine_termdata
=cap
16068 LIBS
="$LIBS -ltermlib"
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
16073 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
16074 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
16075 $as_echo_n "(cached) " >&6
16077 ac_check_lib_save_LIBS
=$LIBS
16078 LIBS
="-ltermcap $LIBS"
16079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16080 /* end confdefs.h. */
16082 /* Override any GCC internal prototype to avoid an error.
16083 Use char because int might match the return type of a GCC
16084 builtin and then its argument prototype would still apply. */
16097 if ac_fn_c_try_link
"$LINENO"; then :
16098 ac_cv_lib_termcap_tgetent
=yes
16100 ac_cv_lib_termcap_tgetent
=no
16102 rm -f core conftest.err conftest.
$ac_objext \
16103 conftest
$ac_exeext conftest.
$ac_ext
16104 LIBS
=$ac_check_lib_save_LIBS
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
16107 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
16108 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
16110 alpine_termdata
=cap
16111 LIBS
="$LIBS -ltermcap"
16115 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
16131 case $alpine_termdata in
16134 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
16139 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
16144 if test "$alpine_with_ldap" = "yes" ; then
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
16147 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
16148 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
16149 $as_echo_n "(cached) " >&6
16151 ac_check_lib_save_LIBS
=$LIBS
16152 LIBS
="-llber $LIBS"
16153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16166 return ber_alloc ();
16171 if ac_fn_c_try_link
"$LINENO"; then :
16172 ac_cv_lib_lber_ber_alloc
=yes
16174 ac_cv_lib_lber_ber_alloc
=no
16176 rm -f core conftest.err conftest.
$ac_objext \
16177 conftest
$ac_exeext conftest.
$ac_ext
16178 LIBS
=$ac_check_lib_save_LIBS
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
16181 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
16182 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
16184 LIBS
="$LIBS -llber"
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_init" >&5
16189 $as_echo_n "checking for library containing ldap_init... " >&6; }
16190 if ${ac_cv_search_ldap_init+:} false
; then :
16191 $as_echo_n "(cached) " >&6
16193 ac_func_search_save_LIBS
=$LIBS
16194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16197 /* Override any GCC internal prototype to avoid an error.
16198 Use char because int might match the return type of a GCC
16199 builtin and then its argument prototype would still apply. */
16207 return ldap_init ();
16212 for ac_lib
in '' ldap
; do
16213 if test -z "$ac_lib"; then
16214 ac_res
="none required"
16217 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16219 if ac_fn_c_try_link
"$LINENO"; then :
16220 ac_cv_search_ldap_init
=$ac_res
16222 rm -f core conftest.err conftest.
$ac_objext \
16224 if ${ac_cv_search_ldap_init+:} false
; then :
16228 if ${ac_cv_search_ldap_init+:} false
; then :
16231 ac_cv_search_ldap_init
=no
16233 rm conftest.
$ac_ext
16234 LIBS
=$ac_func_search_save_LIBS
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
16237 $as_echo "$ac_cv_search_ldap_init" >&6; }
16238 ac_res
=$ac_cv_search_ldap_init
16239 if test "$ac_res" != no
; then :
16240 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16242 alpine_has_ldap
=yes
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
16247 $as_echo_n "checking for library containing ldap_open... " >&6; }
16248 if ${ac_cv_search_ldap_open+:} false
; then :
16249 $as_echo_n "(cached) " >&6
16251 ac_func_search_save_LIBS
=$LIBS
16252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16253 /* end confdefs.h. */
16255 /* Override any GCC internal prototype to avoid an error.
16256 Use char because int might match the return type of a GCC
16257 builtin and then its argument prototype would still apply. */
16265 return ldap_open ();
16270 for ac_lib
in '' ldap
; do
16271 if test -z "$ac_lib"; then
16272 ac_res
="none required"
16275 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16277 if ac_fn_c_try_link
"$LINENO"; then :
16278 ac_cv_search_ldap_open
=$ac_res
16280 rm -f core conftest.err conftest.
$ac_objext \
16282 if ${ac_cv_search_ldap_open+:} false
; then :
16286 if ${ac_cv_search_ldap_open+:} false
; then :
16289 ac_cv_search_ldap_open
=no
16291 rm conftest.
$ac_ext
16292 LIBS
=$ac_func_search_save_LIBS
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
16295 $as_echo "$ac_cv_search_ldap_open" >&6; }
16296 ac_res
=$ac_cv_search_ldap_open
16297 if test "$ac_res" != no
; then :
16298 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16300 alpine_has_ldap
=yes
16308 if test "$alpine_has_ldap" = "yes" ; then
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: Including LDAP Support" >&5
16310 $as_echo "$as_me: Including LDAP Support" >&6;}
16312 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should define LDAP_DEPRECATED" >&5
16316 $as_echo_n "checking if we should define LDAP_DEPRECATED... " >&6; }
16317 if test "$cross_compiling" = yes; then :
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
16320 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16325 /* end confdefs.h. */
16328 #include <string.h>
16332 if (LDAP_VENDOR_VERSION >= 20300)
16339 if ac_fn_c_try_run
"$LINENO"; then :
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16342 $as_echo "yes" >&6; }
16344 $as_echo "#define LDAP_DEPRECATED 1" >>confdefs.h
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16351 $as_echo "no" >&6; }
16354 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16355 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: Cannot find LDAP functions! Excluding LDAP support." >&5
16361 $as_echo "$as_me: Cannot find LDAP functions! Excluding LDAP support." >&6;}
16365 if test "x$alpine_SSLTYPE" != "xnone" ; then
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
16367 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
16368 if ${ac_cv_search_SSL_library_init+:} false
; then :
16369 $as_echo_n "(cached) " >&6
16371 ac_func_search_save_LIBS
=$LIBS
16372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16381 char SSL_library_init ();
16385 return SSL_library_init ();
16390 for ac_lib
in '' ssl
; do
16391 if test -z "$ac_lib"; then
16392 ac_res
="none required"
16395 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16397 if ac_fn_c_try_link
"$LINENO"; then :
16398 ac_cv_search_SSL_library_init
=$ac_res
16400 rm -f core conftest.err conftest.
$ac_objext \
16402 if ${ac_cv_search_SSL_library_init+:} false
; then :
16406 if ${ac_cv_search_SSL_library_init+:} false
; then :
16409 ac_cv_search_SSL_library_init
=no
16411 rm conftest.
$ac_ext
16412 LIBS
=$ac_func_search_save_LIBS
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
16415 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
16416 ac_res
=$ac_cv_search_SSL_library_init
16417 if test "$ac_res" != no
; then :
16418 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
16423 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
16424 if test "$cross_compiling" = yes; then :
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
16427 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16435 #include <openssl/ssl.h>
16438 if (OPENSSL_VERSION_NUMBER >= 0x1000003f)
16445 if ac_fn_c_try_run
"$LINENO"; then :
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16448 $as_echo "yes" >&6; }
16452 as_fn_error $?
"Install openssl version >= 1.0.1c" "$LINENO" 5
16456 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16457 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16462 alpine_SSLTYPE
="none"
16465 if test "x$alpine_SSLTYPE" = "xnone" ; then
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: OpenSSL libraries NOT found" >&5
16467 $as_echo "$as_me: OpenSSL libraries NOT found" >&6;}
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: OpenSSL libraries FOUND" >&5
16470 $as_echo "$as_me: OpenSSL libraries FOUND" >&6;}
16474 if test "x$alpine_SSLTYPE" != "xnone" ; then
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
16476 $as_echo_n "checking for library containing SSLeay... " >&6; }
16477 if ${ac_cv_search_SSLeay+:} false
; then :
16478 $as_echo_n "(cached) " >&6
16480 ac_func_search_save_LIBS
=$LIBS
16481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16482 /* end confdefs.h. */
16484 /* Override any GCC internal prototype to avoid an error.
16485 Use char because int might match the return type of a GCC
16486 builtin and then its argument prototype would still apply. */
16499 for ac_lib
in '' crypto
; do
16500 if test -z "$ac_lib"; then
16501 ac_res
="none required"
16504 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16506 if ac_fn_c_try_link
"$LINENO"; then :
16507 ac_cv_search_SSLeay
=$ac_res
16509 rm -f core conftest.err conftest.
$ac_objext \
16511 if ${ac_cv_search_SSLeay+:} false
; then :
16515 if ${ac_cv_search_SSLeay+:} false
; then :
16518 ac_cv_search_SSLeay
=no
16520 rm conftest.
$ac_ext
16521 LIBS
=$ac_func_search_save_LIBS
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
16524 $as_echo "$ac_cv_search_SSLeay" >&6; }
16525 ac_res
=$ac_cv_search_SSLeay
16526 if test "$ac_res" != no
; then :
16527 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16529 LIBS
="$LIBS -lcrypto"
16533 alpine_CRYPTO
= "none"
16537 if test "x$alpine_CRYPTO" = "xnone" ; then
16538 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: crypto library found" >&5
16541 $as_echo "$as_me: crypto library found" >&6;}
16545 if test "x$alpine_PAM" != "xnone" ; then
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
16547 $as_echo_n "checking for library containing pam_start... " >&6; }
16548 if ${ac_cv_search_pam_start+:} false
; then :
16549 $as_echo_n "(cached) " >&6
16551 ac_func_search_save_LIBS
=$LIBS
16552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16555 /* Override any GCC internal prototype to avoid an error.
16556 Use char because int might match the return type of a GCC
16557 builtin and then its argument prototype would still apply. */
16565 return pam_start ();
16570 for ac_lib
in '' pam
; do
16571 if test -z "$ac_lib"; then
16572 ac_res
="none required"
16575 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16577 if ac_fn_c_try_link
"$LINENO"; then :
16578 ac_cv_search_pam_start
=$ac_res
16580 rm -f core conftest.err conftest.
$ac_objext \
16582 if ${ac_cv_search_pam_start+:} false
; then :
16586 if ${ac_cv_search_pam_start+:} false
; then :
16589 ac_cv_search_pam_start
=no
16591 rm conftest.
$ac_ext
16592 LIBS
=$ac_func_search_save_LIBS
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
16595 $as_echo "$ac_cv_search_pam_start" >&6; }
16596 ac_res
=$ac_cv_search_pam_start
16597 if test "$ac_res" != no
; then :
16598 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16601 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
16602 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
16607 alpine_pam_none_reason
="header files not found"
16616 alpine_pam_none_reason
="library files not found"
16620 if test -n "$alpine_pam_none_reason" ; then
16621 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
16626 if test "x$alpine_GSSTYPE" != "xnone" ; then
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
16628 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
16629 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
16630 $as_echo_n "(cached) " >&6
16632 ac_func_search_save_LIBS
=$LIBS
16633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16636 /* Override any GCC internal prototype to avoid an error.
16637 Use char because int might match the return type of a GCC
16638 builtin and then its argument prototype would still apply. */
16642 char gss_init_sec_context ();
16646 return gss_init_sec_context ();
16651 for ac_lib
in '' gss gssapi gssapi_krb5
; do
16652 if test -z "$ac_lib"; then
16653 ac_res
="none required"
16656 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16658 if ac_fn_c_try_link
"$LINENO"; then :
16659 ac_cv_search_gss_init_sec_context
=$ac_res
16661 rm -f core conftest.err conftest.
$ac_objext \
16663 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
16667 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
16670 ac_cv_search_gss_init_sec_context
=no
16672 rm conftest.
$ac_ext
16673 LIBS
=$ac_func_search_save_LIBS
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
16676 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
16677 ac_res
=$ac_cv_search_gss_init_sec_context
16678 if test "$ac_res" != no
; then :
16679 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16681 LIBS
="$LIBS -lkrb5"
16682 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
16683 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
16687 if test ! -d /usr
/kerberos
/include
; then
16688 alpine_GSSTYPE
="none"
16689 alpine_gss_none_reason
="header files not found"
16698 alpine_GSSTYPE
="none"
16699 alpine_gss_none_reason
="libraries not found"
16703 if test -n "$alpine_gss_none_reason" ; then
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
16705 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
16709 if test -n "$WEB_BUILD" ; then
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
16711 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
16712 if ${ac_cv_search_Tcl_Eval+:} false
; then :
16713 $as_echo_n "(cached) " >&6
16715 ac_func_search_save_LIBS
=$LIBS
16716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16719 /* Override any GCC internal prototype to avoid an error.
16720 Use char because int might match the return type of a GCC
16721 builtin and then its argument prototype would still apply. */
16729 return Tcl_Eval ();
16734 for ac_lib
in '' $alpine_TCLLIB tcl8.5 tcl8.4 tcl8.3 tcl84 tcl83 tcl
; do
16735 if test -z "$ac_lib"; then
16736 ac_res
="none required"
16739 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16741 if ac_fn_c_try_link
"$LINENO"; then :
16742 ac_cv_search_Tcl_Eval
=$ac_res
16744 rm -f core conftest.err conftest.
$ac_objext \
16746 if ${ac_cv_search_Tcl_Eval+:} false
; then :
16750 if ${ac_cv_search_Tcl_Eval+:} false
; then :
16753 ac_cv_search_Tcl_Eval
=no
16755 rm conftest.
$ac_ext
16756 LIBS
=$ac_func_search_save_LIBS
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
16759 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
16760 ac_res
=$ac_cv_search_Tcl_Eval
16761 if test "$ac_res" != no
; then :
16762 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16771 if test -n "$alpine_TCLINC" ; then
16772 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC" | $as_tr_sh`
16773 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC" "$as_ac_Header" "$ac_includes_default"
16774 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16783 if test -z "$WEB_BUILD" ; then
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
16785 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
16788 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
16789 if test "x$ac_cv_header_tcl_h" = xyes
; then :
16793 for dir
in tcl8.5 tcl8.4 tcl8.3 tcl84 tcl83
; do
16794 as_ac_File
=`$as_echo "ac_cv_file_/usr/include/$dir/tcl.h" | $as_tr_sh`
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/$dir/tcl.h" >&5
16796 $as_echo_n "checking for /usr/include/$dir/tcl.h... " >&6; }
16797 if eval \
${$as_ac_File+:} false
; then :
16798 $as_echo_n "(cached) " >&6
16800 test "$cross_compiling" = yes &&
16801 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
16802 if test -r "/usr/include/$dir/tcl.h"; then
16803 eval "$as_ac_File=yes"
16805 eval "$as_ac_File=no"
16808 eval ac_res
=\$
$as_ac_File
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16810 $as_echo "$ac_res" >&6; }
16811 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
16817 if test "$found" = "yes" ; then
16818 CPPFLAGS
="$CPPFLAGS -I/usr/include/$dir"
16822 if test "$found" != "yes" ; then
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
16825 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
16834 if test x
$alpine_REGEX != "xyes" ; then
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
16836 $as_echo_n "checking for library containing regcomp... " >&6; }
16837 if ${ac_cv_search_regcomp+:} false
; then :
16838 $as_echo_n "(cached) " >&6
16840 ac_func_search_save_LIBS
=$LIBS
16841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16842 /* end confdefs.h. */
16844 /* Override any GCC internal prototype to avoid an error.
16845 Use char because int might match the return type of a GCC
16846 builtin and then its argument prototype would still apply. */
16859 for ac_lib
in '' posix regexp regex re
; do
16860 if test -z "$ac_lib"; then
16861 ac_res
="none required"
16864 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16866 if ac_fn_c_try_link
"$LINENO"; then :
16867 ac_cv_search_regcomp
=$ac_res
16869 rm -f core conftest.err conftest.
$ac_objext \
16871 if ${ac_cv_search_regcomp+:} false
; then :
16875 if ${ac_cv_search_regcomp+:} false
; then :
16878 ac_cv_search_regcomp
=no
16880 rm conftest.
$ac_ext
16881 LIBS
=$ac_func_search_save_LIBS
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
16884 $as_echo "$ac_cv_search_regcomp" >&6; }
16885 ac_res
=$ac_cv_search_regcomp
16886 if test "$ac_res" != no
; then :
16887 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16891 if test x
$alpine_REGEX = "xno" ; then
16892 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
16900 if test x
$alpine_REGEX != "xyes" ; then
16901 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
16902 if test "x$ac_cv_header_regex_h" = xyes
; then :
16906 if test x
$alpine_REGEX = "xno" ; then
16907 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
16917 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
16919 if test x
$alpine_REGEX = "xyes" ; then
16920 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
16921 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex -lregex"
16925 if test "x$with_pthread" != "xno" ; then
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
16927 $as_echo_n "checking for pthread support... " >&6; }
16932 ac_cpp
='$CPP $CPPFLAGS'
16933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16939 # We used to check for pthread.h first, but this fails if pthread.h
16940 # requires special compiler flags (e.g. on True64 or Sequent).
16941 # It gets checked for in the link test anyway.
16943 # First of all, check if the user has set any of the PTHREAD_LIBS,
16944 # etcetera environment variables, and if threads linking works using
16946 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
16947 save_CFLAGS
="$CFLAGS"
16948 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
16950 LIBS
="$PTHREAD_LIBS $LIBS"
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
16952 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
16953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16956 /* Override any GCC internal prototype to avoid an error.
16957 Use char because int might match the return type of a GCC
16958 builtin and then its argument prototype would still apply. */
16962 char pthread_join ();
16966 return pthread_join ();
16971 if ac_fn_c_try_link
"$LINENO"; then :
16974 rm -f core conftest.err conftest.
$ac_objext \
16975 conftest
$ac_exeext conftest.
$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
16977 $as_echo "$acx_pthread_ok" >&6; }
16978 if test x
"$acx_pthread_ok" = xno
; then
16983 CFLAGS
="$save_CFLAGS"
16986 # We must check for the threads library under a number of different
16987 # names; the ordering is very important because some systems
16988 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
16989 # libraries is broken (non-POSIX).
16991 # Create a list of thread flags to try. Items starting with a "-" are
16992 # C compiler flags, and other items are library names, except for "none"
16993 # which indicates that we try without any flags at all, and "pthread-config"
16994 # which is a program returning the flags for the Pth emulation library.
16996 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
16998 # The ordering *is* (sometimes) important. Some notes on the
16999 # individual items follow:
17001 # pthreads: AIX (must check this before -lpthread)
17002 # none: in case threads are in libc; should be tried before -Kthread and
17003 # other compiler flags to prevent continual compiler warnings
17004 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17005 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17006 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17007 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17008 # -pthreads: Solaris/gcc
17009 # -mthreads: Mingw32/gcc, Lynx/gcc
17010 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17011 # doesn't hurt to check since this sometimes defines pthreads too;
17012 # also defines -D_REENTRANT)
17013 # ... -mt is also the pthreads flag for HP/aCC
17014 # pthread: Linux, etcetera
17015 # --thread-safe: KAI C++
17016 # pthread-config: use pthread-config program (for GNU Pth library)
17018 case "${host_cpu}-${host_os}" in
17021 # On Solaris (at least, for some versions), libc contains stubbed
17022 # (non-functional) versions of the pthreads routines, so link-based
17023 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17024 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17025 # a function called by this macro, so we could check for that, but
17026 # who knows whether they'll stub that too in a future libc.) So,
17027 # we'll just look for -pthreads and -lpthread first:
17029 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
17033 if test x
"$acx_pthread_ok" = xno
; then
17034 for flag
in $acx_pthread_flags; do
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17039 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17044 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17045 PTHREAD_CFLAGS
="$flag"
17049 # Extract the first word of "pthread-config", so it can be a program name with args.
17050 set dummy pthread-config
; ac_word
=$2
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17052 $as_echo_n "checking for $ac_word... " >&6; }
17053 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
17054 $as_echo_n "(cached) " >&6
17056 if test -n "$acx_pthread_config"; then
17057 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
17059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17060 for as_dir
in $PATH
17063 test -z "$as_dir" && as_dir
=.
17064 for ac_exec_ext
in '' $ac_executable_extensions; do
17065 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17066 ac_cv_prog_acx_pthread_config
="yes"
17067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17074 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
17077 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
17078 if test -n "$acx_pthread_config"; then
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17080 $as_echo "$acx_pthread_config" >&6; }
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17083 $as_echo "no" >&6; }
17087 if test x
"$acx_pthread_config" = xno
; then continue; fi
17088 PTHREAD_CFLAGS
="`pthread-config --cflags`"
17089 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17094 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17095 PTHREAD_LIBS
="-l$flag"
17100 save_CFLAGS
="$CFLAGS"
17101 LIBS
="$PTHREAD_LIBS $LIBS"
17102 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17104 # Check for various functions. We must include pthread.h,
17105 # since some functions may be macros. (On the Sequent, we
17106 # need a special flag -Kthread to make this header compile.)
17107 # We check for pthread_join because it is in -lpthread on IRIX
17108 # while pthread_create is in libc. We check for pthread_attr_init
17109 # due to DEC craziness with -lpthreads. We check for
17110 # pthread_cleanup_push because it is one of the few pthread
17111 # functions on Solaris that doesn't have a non-functional libc stub.
17112 # We try pthread_create on general principles.
17113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 #include <pthread.h>
17119 pthread_t th; pthread_join(th, 0);
17120 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17121 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17126 if ac_fn_c_try_link
"$LINENO"; then :
17129 rm -f core conftest.err conftest.
$ac_objext \
17130 conftest
$ac_exeext conftest.
$ac_ext
17133 CFLAGS
="$save_CFLAGS"
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17136 $as_echo "$acx_pthread_ok" >&6; }
17137 if test "x$acx_pthread_ok" = xyes
; then
17146 # Various other checks:
17147 if test "x$acx_pthread_ok" = xyes
; then
17149 LIBS
="$PTHREAD_LIBS $LIBS"
17150 save_CFLAGS
="$CFLAGS"
17151 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17153 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17155 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17157 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
17158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 #include <pthread.h>
17164 int attr=$attr; return attr;
17169 if ac_fn_c_try_link
"$LINENO"; then :
17170 attr_name
=$attr; break
17172 rm -f core conftest.err conftest.
$ac_objext \
17173 conftest
$ac_exeext conftest.
$ac_ext
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17176 $as_echo "$attr_name" >&6; }
17177 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
17179 cat >>confdefs.h
<<_ACEOF
17180 #define PTHREAD_CREATE_JOINABLE $attr_name
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17186 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17188 case "${host_cpu}-${host_os}" in
17189 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
17190 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17193 $as_echo "${flag}" >&6; }
17194 if test "x$flag" != xno
; then
17195 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
17199 CFLAGS
="$save_CFLAGS"
17201 # More AIX lossage: must compile with xlc_r or cc_r
17202 if test x
"$GCC" != xyes
; then
17203 for ac_prog
in xlc_r cc_r
17205 # Extract the first word of "$ac_prog", so it can be a program name with args.
17206 set dummy
$ac_prog; ac_word
=$2
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17208 $as_echo_n "checking for $ac_word... " >&6; }
17209 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
17210 $as_echo_n "(cached) " >&6
17212 if test -n "$PTHREAD_CC"; then
17213 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
17215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17216 for as_dir
in $PATH
17219 test -z "$as_dir" && as_dir
=.
17220 for ac_exec_ext
in '' $ac_executable_extensions; do
17221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17222 ac_cv_prog_PTHREAD_CC
="$ac_prog"
17223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17232 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
17233 if test -n "$PTHREAD_CC"; then
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17235 $as_echo "$PTHREAD_CC" >&6; }
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17238 $as_echo "no" >&6; }
17242 test -n "$PTHREAD_CC" && break
17244 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
17257 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17258 if test x
"$acx_pthread_ok" = xyes
; then
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17261 $as_echo "yes" >&6; }
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
17265 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
17266 AM_CFLAGS
="$AM_CFLAGS -pthread"
17269 LIBS
="$PTHREAD_LIBS $LIBS"
17270 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
17273 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17281 $as_echo "no" >&6; }
17285 ac_cpp
='$CPP $CPPFLAGS'
17286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
17293 $as_echo_n "checking for library containing nanosleep... " >&6; }
17294 if ${ac_cv_search_nanosleep+:} false
; then :
17295 $as_echo_n "(cached) " >&6
17297 ac_func_search_save_LIBS
=$LIBS
17298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17299 /* end confdefs.h. */
17301 /* Override any GCC internal prototype to avoid an error.
17302 Use char because int might match the return type of a GCC
17303 builtin and then its argument prototype would still apply. */
17311 return nanosleep ();
17316 for ac_lib
in '' rt posix4
; do
17317 if test -z "$ac_lib"; then
17318 ac_res
="none required"
17321 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17323 if ac_fn_c_try_link
"$LINENO"; then :
17324 ac_cv_search_nanosleep
=$ac_res
17326 rm -f core conftest.err conftest.
$ac_objext \
17328 if ${ac_cv_search_nanosleep+:} false
; then :
17332 if ${ac_cv_search_nanosleep+:} false
; then :
17335 ac_cv_search_nanosleep
=no
17337 rm conftest.
$ac_ext
17338 LIBS
=$ac_func_search_save_LIBS
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
17341 $as_echo "$ac_cv_search_nanosleep" >&6; }
17342 ac_res
=$ac_cv_search_nanosleep
17343 if test "$ac_res" != no
; then :
17344 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17347 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17358 $as_echo_n "checking for ANSI C header files... " >&6; }
17359 if ${ac_cv_header_stdc+:} false
; then :
17360 $as_echo_n "(cached) " >&6
17362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <stdlib.h>
17365 #include <stdarg.h>
17366 #include <string.h>
17377 if ac_fn_c_try_compile
"$LINENO"; then :
17378 ac_cv_header_stdc
=yes
17380 ac_cv_header_stdc
=no
17382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17384 if test $ac_cv_header_stdc = yes; then
17385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 #include <string.h>
17391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17392 $EGREP "memchr" >/dev
/null
2>&1; then :
17395 ac_cv_header_stdc
=no
17401 if test $ac_cv_header_stdc = yes; then
17402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17404 /* end confdefs.h. */
17405 #include <stdlib.h>
17408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17409 $EGREP "free" >/dev
/null
2>&1; then :
17412 ac_cv_header_stdc
=no
17418 if test $ac_cv_header_stdc = yes; then
17419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17420 if test "$cross_compiling" = yes; then :
17423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17426 #include <stdlib.h>
17427 #if ((' ' & 0x0FF) == 0x020)
17428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17431 # define ISLOWER(c) \
17432 (('a' <= (c) && (c) <= 'i') \
17433 || ('j' <= (c) && (c) <= 'r') \
17434 || ('s' <= (c) && (c) <= 'z'))
17435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17443 for (i = 0; i < 256; i++)
17444 if (XOR (islower (i), ISLOWER (i))
17445 || toupper (i) != TOUPPER (i))
17450 if ac_fn_c_try_run
"$LINENO"; then :
17453 ac_cv_header_stdc
=no
17455 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17456 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17462 $as_echo "$ac_cv_header_stdc" >&6; }
17463 if test $ac_cv_header_stdc = yes; then
17465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17469 ac_header_dirent
=no
17470 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
17471 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
17473 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
17474 if eval \
${$as_ac_Header+:} false
; then :
17475 $as_echo_n "(cached) " >&6
17477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17479 #include <sys/types.h>
17491 if ac_fn_c_try_compile
"$LINENO"; then :
17492 eval "$as_ac_Header=yes"
17494 eval "$as_ac_Header=no"
17496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17498 eval ac_res
=\$
$as_ac_Header
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17500 $as_echo "$ac_res" >&6; }
17501 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17502 cat >>confdefs.h
<<_ACEOF
17503 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
17506 ac_header_dirent
=$ac_hdr; break
17510 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
17511 if test $ac_header_dirent = dirent.h
; then
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
17513 $as_echo_n "checking for library containing opendir... " >&6; }
17514 if ${ac_cv_search_opendir+:} false
; then :
17515 $as_echo_n "(cached) " >&6
17517 ac_func_search_save_LIBS
=$LIBS
17518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17519 /* end confdefs.h. */
17521 /* Override any GCC internal prototype to avoid an error.
17522 Use char because int might match the return type of a GCC
17523 builtin and then its argument prototype would still apply. */
17536 for ac_lib
in '' dir
; do
17537 if test -z "$ac_lib"; then
17538 ac_res
="none required"
17541 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17543 if ac_fn_c_try_link
"$LINENO"; then :
17544 ac_cv_search_opendir
=$ac_res
17546 rm -f core conftest.err conftest.
$ac_objext \
17548 if ${ac_cv_search_opendir+:} false
; then :
17552 if ${ac_cv_search_opendir+:} false
; then :
17555 ac_cv_search_opendir
=no
17557 rm conftest.
$ac_ext
17558 LIBS
=$ac_func_search_save_LIBS
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
17561 $as_echo "$ac_cv_search_opendir" >&6; }
17562 ac_res
=$ac_cv_search_opendir
17563 if test "$ac_res" != no
; then :
17564 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
17570 $as_echo_n "checking for library containing opendir... " >&6; }
17571 if ${ac_cv_search_opendir+:} false
; then :
17572 $as_echo_n "(cached) " >&6
17574 ac_func_search_save_LIBS
=$LIBS
17575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17578 /* Override any GCC internal prototype to avoid an error.
17579 Use char because int might match the return type of a GCC
17580 builtin and then its argument prototype would still apply. */
17593 for ac_lib
in '' x
; do
17594 if test -z "$ac_lib"; then
17595 ac_res
="none required"
17598 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17600 if ac_fn_c_try_link
"$LINENO"; then :
17601 ac_cv_search_opendir
=$ac_res
17603 rm -f core conftest.err conftest.
$ac_objext \
17605 if ${ac_cv_search_opendir+:} false
; then :
17609 if ${ac_cv_search_opendir+:} false
; then :
17612 ac_cv_search_opendir
=no
17614 rm conftest.
$ac_ext
17615 LIBS
=$ac_func_search_save_LIBS
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
17618 $as_echo "$ac_cv_search_opendir" >&6; }
17619 ac_res
=$ac_cv_search_opendir
17620 if test "$ac_res" != no
; then :
17621 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
17628 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
17629 if ${ac_cv_header_stat_broken+:} false
; then :
17630 $as_echo_n "(cached) " >&6
17632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 #include <sys/types.h>
17635 #include <sys/stat.h>
17637 #if defined S_ISBLK && defined S_IFDIR
17638 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
17641 #if defined S_ISBLK && defined S_IFCHR
17642 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
17645 #if defined S_ISLNK && defined S_IFREG
17646 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
17649 #if defined S_ISSOCK && defined S_IFREG
17650 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
17654 if ac_fn_c_try_compile
"$LINENO"; then :
17655 ac_cv_header_stat_broken
=no
17657 ac_cv_header_stat_broken
=yes
17659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
17662 $as_echo "$ac_cv_header_stat_broken" >&6; }
17663 if test $ac_cv_header_stat_broken = yes; then
17665 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
17670 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
17671 if ${ac_cv_header_sys_wait_h+:} false
; then :
17672 $as_echo_n "(cached) " >&6
17674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17676 #include <sys/types.h>
17677 #include <sys/wait.h>
17678 #ifndef WEXITSTATUS
17679 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
17682 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
17690 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
17695 if ac_fn_c_try_compile
"$LINENO"; then :
17696 ac_cv_header_sys_wait_h
=yes
17698 ac_cv_header_sys_wait_h
=no
17700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
17703 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
17704 if test $ac_cv_header_sys_wait_h = yes; then
17706 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17711 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17712 if ${ac_cv_header_time+:} false
; then :
17713 $as_echo_n "(cached) " >&6
17715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <sys/types.h>
17718 #include <sys/time.h>
17724 if ((struct tm *) 0)
17730 if ac_fn_c_try_compile
"$LINENO"; then :
17731 ac_cv_header_time
=yes
17733 ac_cv_header_time
=no
17735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17738 $as_echo "$ac_cv_header_time" >&6; }
17739 if test $ac_cv_header_time = yes; then
17741 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
17746 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
17747 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
17748 $as_echo_n "(cached) " >&6
17750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17751 /* end confdefs.h. */
17752 #include <sys/types.h>
17753 #include <termios.h>
17759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17760 $EGREP "yes" >/dev
/null
2>&1; then :
17761 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
17763 ac_cv_sys_tiocgwinsz_in_termios_h
=no
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
17769 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
17771 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
17773 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
17774 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
17775 $as_echo_n "(cached) " >&6
17777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17778 /* end confdefs.h. */
17779 #include <sys/types.h>
17780 #include <sys/ioctl.h>
17786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17787 $EGREP "yes" >/dev
/null
2>&1; then :
17788 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
17790 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
17796 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
17798 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
17800 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
17806 for ac_header
in unistd.h
17808 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
17809 if test "x$ac_cv_header_unistd_h" = xyes
; then :
17810 cat >>confdefs.h
<<_ACEOF
17811 #define HAVE_UNISTD_H 1
17819 for ac_header
in errno.h \
17844 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17845 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17846 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17847 cat >>confdefs.h
<<_ACEOF
17848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17856 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
17857 if test "x$ac_cv_header_termios_h" = xyes
; then :
17859 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
17863 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
17864 if test "x$ac_cv_header_termio_h" = xyes
; then :
17866 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
17870 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
17871 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
17873 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
17877 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
17894 $as_echo_n "checking return type of signal handlers... " >&6; }
17895 if ${ac_cv_type_signal+:} false
; then :
17896 $as_echo_n "(cached) " >&6
17898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900 #include <sys/types.h>
17901 #include <signal.h>
17906 return *(signal (0, 0)) (0) == 1;
17911 if ac_fn_c_try_compile
"$LINENO"; then :
17912 ac_cv_type_signal
=int
17914 ac_cv_type_signal
=void
17916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
17919 $as_echo "$ac_cv_type_signal" >&6; }
17921 cat >>confdefs.h
<<_ACEOF
17922 #define RETSIGTYPE $ac_cv_type_signal
17926 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17927 if test "x$ac_cv_type_size_t" = xyes
; then :
17931 cat >>confdefs.h
<<_ACEOF
17932 #define size_t unsigned int
17937 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17938 if test "x$ac_cv_type_mode_t" = xyes
; then :
17942 cat >>confdefs.h
<<_ACEOF
17948 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17949 if test "x$ac_cv_type_pid_t" = xyes
; then :
17953 cat >>confdefs.h
<<_ACEOF
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
17960 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
17961 if ${ac_cv_type_uid_t+:} false
; then :
17962 $as_echo_n "(cached) " >&6
17964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17966 #include <sys/types.h>
17969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17970 $EGREP "uid_t" >/dev
/null
2>&1; then :
17971 ac_cv_type_uid_t
=yes
17973 ac_cv_type_uid_t
=no
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
17979 $as_echo "$ac_cv_type_uid_t" >&6; }
17980 if test $ac_cv_type_uid_t = no
; then
17982 $as_echo "#define uid_t int" >>confdefs.h
17985 $as_echo "#define gid_t int" >>confdefs.h
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
17990 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
17991 if ${ac_cv_struct_tm+:} false
; then :
17992 $as_echo_n "(cached) " >&6
17994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996 #include <sys/types.h>
18003 int *p = &tm.tm_sec;
18009 if ac_fn_c_try_compile
"$LINENO"; then :
18010 ac_cv_struct_tm
=time.h
18012 ac_cv_struct_tm
=sys
/time.h
18014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18017 $as_echo "$ac_cv_struct_tm" >&6; }
18018 if test $ac_cv_struct_tm = sys
/time.h
; then
18020 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
18025 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
18026 if test "x$ac_cv_type_union_wait" = xyes
; then :
18028 cat >>confdefs.h
<<_ACEOF
18029 #define HAVE_UNION_WAIT 1
18036 for ac_header
in stdint.h
18038 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18039 if test "x$ac_cv_header_stdint_h" = xyes
; then :
18040 cat >>confdefs.h
<<_ACEOF
18041 #define HAVE_STDINT_H 1
18046 for ac_header
in inttypes.h
18048 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18049 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
18050 cat >>confdefs.h
<<_ACEOF
18051 #define HAVE_INTTYPES_H 1
18056 for ac_header
in sys
/types.h
18058 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18059 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
18060 cat >>confdefs.h
<<_ACEOF
18061 #define HAVE_SYS_TYPES_H 1
18066 # The cast to long int works around a bug in the HP C Compiler
18067 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18068 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18069 # This bug is HP SR number 8606223364.
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
18071 $as_echo_n "checking size of unsigned short... " >&6; }
18072 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
18073 $as_echo_n "(cached) " >&6
18075 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
18078 if test "$ac_cv_type_unsigned_short" = yes; then
18079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18081 as_fn_error
77 "cannot compute sizeof (unsigned short)
18082 See \`config.log' for more details" "$LINENO" 5; }
18084 ac_cv_sizeof_unsigned_short
=0
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
18090 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
18094 cat >>confdefs.h
<<_ACEOF
18095 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
18099 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
18100 uint16
="unsigned short"
18102 # The cast to long int works around a bug in the HP C Compiler
18103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18105 # This bug is HP SR number 8606223364.
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18107 $as_echo_n "checking size of unsigned int... " >&6; }
18108 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
18109 $as_echo_n "(cached) " >&6
18111 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
18114 if test "$ac_cv_type_unsigned_int" = yes; then
18115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18117 as_fn_error
77 "cannot compute sizeof (unsigned int)
18118 See \`config.log' for more details" "$LINENO" 5; }
18120 ac_cv_sizeof_unsigned_int
=0
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18126 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18130 cat >>confdefs.h
<<_ACEOF
18131 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18135 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
18136 uint16
="unsigned int"
18138 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
18157 cat >>confdefs.h
<<_ACEOF
18158 #define UINT16 $uint16
18162 for ac_header
in stdint.h
18164 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18165 if test "x$ac_cv_header_stdint_h" = xyes
; then :
18166 cat >>confdefs.h
<<_ACEOF
18167 #define HAVE_STDINT_H 1
18172 for ac_header
in inttypes.h
18174 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18175 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
18176 cat >>confdefs.h
<<_ACEOF
18177 #define HAVE_INTTYPES_H 1
18182 for ac_header
in sys
/types.h
18184 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18185 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
18186 cat >>confdefs.h
<<_ACEOF
18187 #define HAVE_SYS_TYPES_H 1
18192 # The cast to long int works around a bug in the HP C Compiler
18193 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18194 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18195 # This bug is HP SR number 8606223364.
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18197 $as_echo_n "checking size of unsigned int... " >&6; }
18198 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
18199 $as_echo_n "(cached) " >&6
18201 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
18204 if test "$ac_cv_type_unsigned_int" = yes; then
18205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18207 as_fn_error
77 "cannot compute sizeof (unsigned int)
18208 See \`config.log' for more details" "$LINENO" 5; }
18210 ac_cv_sizeof_unsigned_int
=0
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18216 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18220 cat >>confdefs.h
<<_ACEOF
18221 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18225 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
18226 uint32
="unsigned int"
18228 # The cast to long int works around a bug in the HP C Compiler
18229 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18230 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18231 # This bug is HP SR number 8606223364.
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
18233 $as_echo_n "checking size of unsigned long... " >&6; }
18234 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
18235 $as_echo_n "(cached) " >&6
18237 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
18240 if test "$ac_cv_type_unsigned_long" = yes; then
18241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18243 as_fn_error
77 "cannot compute sizeof (unsigned long)
18244 See \`config.log' for more details" "$LINENO" 5; }
18246 ac_cv_sizeof_unsigned_long
=0
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
18252 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
18256 cat >>confdefs.h
<<_ACEOF
18257 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
18261 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
18262 uint32
="unsigned long"
18264 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
18283 cat >>confdefs.h
<<_ACEOF
18284 #define UINT32 $uint32
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
18289 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
18290 if ${ac_cv_func_qsort_argtype+:} false
; then :
18291 $as_echo_n "(cached) " >&6
18293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18297 #include "stdlib.h"
18301 extern sortf(const void *, const void *);
18304 const void *b; { return 0; }
18310 qsort(base, 2, sizeof(char *), sortf);
18316 if ac_fn_c_try_compile
"$LINENO"; then :
18317 ac_cv_func_qsort_argtype
=void
18319 ac_cv_func_qsort_argtype
=char
18321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
18325 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
18327 cat >>confdefs.h
<<_ACEOF
18328 #define qsort_t $ac_cv_func_qsort_argtype
18333 for ac_header
in sys
/select.h sys
/socket.h
18335 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18336 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18337 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18338 cat >>confdefs.h
<<_ACEOF
18339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18347 $as_echo_n "checking types of arguments for select... " >&6; }
18348 if ${ac_cv_func_select_args+:} false
; then :
18349 $as_echo_n "(cached) " >&6
18351 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
18352 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18353 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
18354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18355 /* end confdefs.h. */
18356 $ac_includes_default
18357 #ifdef HAVE_SYS_SELECT_H
18358 # include <sys/select.h>
18360 #ifdef HAVE_SYS_SOCKET_H
18361 # include <sys/socket.h>
18367 extern int select ($ac_arg1,
18368 $ac_arg234, $ac_arg234, $ac_arg234,
18374 if ac_fn_c_try_compile
"$LINENO"; then :
18375 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
18377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18381 # Provide a safe default value.
18382 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
18386 $as_echo "$ac_cv_func_select_args" >&6; }
18387 ac_save_IFS
=$IFS; IFS
=','
18388 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
18392 cat >>confdefs.h
<<_ACEOF
18393 #define SELECT_TYPE_ARG1 $1
18397 cat >>confdefs.h
<<_ACEOF
18398 #define SELECT_TYPE_ARG234 ($2)
18402 cat >>confdefs.h
<<_ACEOF
18403 #define SELECT_TYPE_ARG5 ($3)
18409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
18410 $as_echo_n "checking for working strcoll... " >&6; }
18411 if ${ac_cv_func_strcoll_works+:} false
; then :
18412 $as_echo_n "(cached) " >&6
18414 if test "$cross_compiling" = yes; then :
18415 ac_cv_func_strcoll_works
=no
18417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18418 /* end confdefs.h. */
18419 $ac_includes_default
18423 return (strcoll ("abc", "def") >= 0 ||
18424 strcoll ("ABC", "DEF") >= 0 ||
18425 strcoll ("123", "456") >= 0)
18430 if ac_fn_c_try_run
"$LINENO"; then :
18431 ac_cv_func_strcoll_works
=yes
18433 ac_cv_func_strcoll_works
=no
18435 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18436 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
18441 $as_echo "$ac_cv_func_strcoll_works" >&6; }
18442 if test $ac_cv_func_strcoll_works = yes; then
18444 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
18450 for ac_header
in vfork.h
18452 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
18453 if test "x$ac_cv_header_vfork_h" = xyes
; then :
18454 cat >>confdefs.h
<<_ACEOF
18455 #define HAVE_VFORK_H 1
18462 for ac_func
in fork vfork
18464 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18465 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18466 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18467 cat >>confdefs.h
<<_ACEOF
18468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18474 if test "x$ac_cv_func_fork" = xyes
; then
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
18476 $as_echo_n "checking for working fork... " >&6; }
18477 if ${ac_cv_func_fork_works+:} false
; then :
18478 $as_echo_n "(cached) " >&6
18480 if test "$cross_compiling" = yes; then :
18481 ac_cv_func_fork_works
=cross
18483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18484 /* end confdefs.h. */
18485 $ac_includes_default
18490 /* By Ruediger Kuhlmann. */
18491 return fork () < 0;
18497 if ac_fn_c_try_run
"$LINENO"; then :
18498 ac_cv_func_fork_works
=yes
18500 ac_cv_func_fork_works
=no
18502 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18503 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
18508 $as_echo "$ac_cv_func_fork_works" >&6; }
18511 ac_cv_func_fork_works
=$ac_cv_func_fork
18513 if test "x$ac_cv_func_fork_works" = xcross
; then
18515 *-*-amigaos* |
*-*-msdosdjgpp*)
18516 # Override, as these systems have only a dummy fork() stub
18517 ac_cv_func_fork_works
=no
18520 ac_cv_func_fork_works
=yes
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
18524 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
18526 ac_cv_func_vfork_works
=$ac_cv_func_vfork
18527 if test "x$ac_cv_func_vfork" = xyes
; then
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
18529 $as_echo_n "checking for working vfork... " >&6; }
18530 if ${ac_cv_func_vfork_works+:} false
; then :
18531 $as_echo_n "(cached) " >&6
18533 if test "$cross_compiling" = yes; then :
18534 ac_cv_func_vfork_works
=cross
18536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18538 /* Thanks to Paul Eggert for this test. */
18539 $ac_includes_default
18540 #include <sys/wait.h>
18541 #ifdef HAVE_VFORK_H
18542 # include <vfork.h>
18544 /* On some sparc systems, changes by the child to local and incoming
18545 argument registers are propagated back to the parent. The compiler
18546 is told about this with #include <vfork.h>, but some compilers
18547 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
18548 static variable whose address is put into a register that is
18549 clobbered by the vfork. */
18552 sparc_address_test (int arg)
18554 sparc_address_test (arg) int arg;
18557 static pid_t child;
18575 pid_t parent = getpid ();
18578 sparc_address_test (0);
18583 /* Here is another test for sparc vfork register problems. This
18584 test uses lots of local variables, at least as many local
18585 variables as main has allocated so far including compiler
18586 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
18587 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
18588 reuse the register of parent for one of the local variables,
18589 since it will think that parent can't possibly be used any more
18590 in this routine. Assigning to the local variable will thus
18591 munge parent in the parent process. */
18593 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
18594 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
18595 /* Convince the compiler that p..p7 are live; otherwise, it might
18596 use the same hardware register for all 8 local variables. */
18597 if (p != p1 || p != p2 || p != p3 || p != p4
18598 || p != p5 || p != p6 || p != p7)
18601 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
18602 from child file descriptors. If the child closes a descriptor
18603 before it execs or exits, this munges the parent's descriptor
18604 as well. Test for this by closing stdout in the child. */
18605 _exit(close(fileno(stdout)) != 0);
18610 while (wait(&status) != child)
18613 /* Was there some problem with vforking? */
18616 /* Did the child fail? (This shouldn't happen.) */
18619 /* Did the vfork/compiler bug occur? */
18620 || parent != getpid()
18622 /* Did the file descriptor bug occur? */
18623 || fstat(fileno(stdout), &st) != 0
18628 if ac_fn_c_try_run
"$LINENO"; then :
18629 ac_cv_func_vfork_works
=yes
18631 ac_cv_func_vfork_works
=no
18633 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18634 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
18639 $as_echo "$ac_cv_func_vfork_works" >&6; }
18642 if test "x$ac_cv_func_fork_works" = xcross
; then
18643 ac_cv_func_vfork_works
=$ac_cv_func_vfork
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
18645 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
18648 if test "x$ac_cv_func_vfork_works" = xyes
; then
18650 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
18654 $as_echo "#define vfork fork" >>confdefs.h
18657 if test "x$ac_cv_func_fork_works" = xyes
; then
18659 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
18663 for ac_func
in strchr \
18696 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18697 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18698 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18699 cat >>confdefs.h
<<_ACEOF
18700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
18708 $as_echo_n "checking for library containing gethostname... " >&6; }
18709 if ${ac_cv_search_gethostname+:} false
; then :
18710 $as_echo_n "(cached) " >&6
18712 ac_func_search_save_LIBS
=$LIBS
18713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18716 /* Override any GCC internal prototype to avoid an error.
18717 Use char because int might match the return type of a GCC
18718 builtin and then its argument prototype would still apply. */
18722 char gethostname ();
18726 return gethostname ();
18731 for ac_lib
in '' nsl
; do
18732 if test -z "$ac_lib"; then
18733 ac_res
="none required"
18736 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18738 if ac_fn_c_try_link
"$LINENO"; then :
18739 ac_cv_search_gethostname
=$ac_res
18741 rm -f core conftest.err conftest.
$ac_objext \
18743 if ${ac_cv_search_gethostname+:} false
; then :
18747 if ${ac_cv_search_gethostname+:} false
; then :
18750 ac_cv_search_gethostname
=no
18752 rm conftest.
$ac_ext
18753 LIBS
=$ac_func_search_save_LIBS
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
18756 $as_echo "$ac_cv_search_gethostname" >&6; }
18757 ac_res
=$ac_cv_search_gethostname
18758 if test "$ac_res" != no
; then :
18759 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
18765 $as_echo_n "checking for library containing socket... " >&6; }
18766 if ${ac_cv_search_socket+:} false
; then :
18767 $as_echo_n "(cached) " >&6
18769 ac_func_search_save_LIBS
=$LIBS
18770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18773 /* Override any GCC internal prototype to avoid an error.
18774 Use char because int might match the return type of a GCC
18775 builtin and then its argument prototype would still apply. */
18788 for ac_lib
in '' socket
; do
18789 if test -z "$ac_lib"; then
18790 ac_res
="none required"
18793 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18795 if ac_fn_c_try_link
"$LINENO"; then :
18796 ac_cv_search_socket
=$ac_res
18798 rm -f core conftest.err conftest.
$ac_objext \
18800 if ${ac_cv_search_socket+:} false
; then :
18804 if ${ac_cv_search_socket+:} false
; then :
18807 ac_cv_search_socket
=no
18809 rm conftest.
$ac_ext
18810 LIBS
=$ac_func_search_save_LIBS
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
18813 $as_echo "$ac_cv_search_socket" >&6; }
18814 ac_res
=$ac_cv_search_socket
18815 if test "$ac_res" != no
; then :
18816 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
18826 $as_echo_n "checking for library containing bind... " >&6; }
18827 if ${ac_cv_search_bind+:} false
; then :
18828 $as_echo_n "(cached) " >&6
18830 ac_func_search_save_LIBS
=$LIBS
18831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18832 /* end confdefs.h. */
18834 /* Override any GCC internal prototype to avoid an error.
18835 Use char because int might match the return type of a GCC
18836 builtin and then its argument prototype would still apply. */
18849 for ac_lib
in '' bind; do
18850 if test -z "$ac_lib"; then
18851 ac_res
="none required"
18854 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18856 if ac_fn_c_try_link
"$LINENO"; then :
18857 ac_cv_search_bind
=$ac_res
18859 rm -f core conftest.err conftest.
$ac_objext \
18861 if ${ac_cv_search_bind+:} false
; then :
18865 if ${ac_cv_search_bind+:} false
; then :
18868 ac_cv_search_bind
=no
18870 rm conftest.
$ac_ext
18871 LIBS
=$ac_func_search_save_LIBS
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
18874 $as_echo "$ac_cv_search_bind" >&6; }
18875 ac_res
=$ac_cv_search_bind
18876 if test "$ac_res" != no
; then :
18877 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18886 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
18888 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18889 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18890 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18891 cat >>confdefs.h
<<_ACEOF
18892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18896 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
18901 for ac_func
in sigset sigrelse
18903 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18904 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18905 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18906 cat >>confdefs.h
<<_ACEOF
18907 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18911 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
18923 $as_echo_n "checking for library containing syslog... " >&6; }
18924 if ${ac_cv_search_syslog+:} false
; then :
18925 $as_echo_n "(cached) " >&6
18927 ac_func_search_save_LIBS
=$LIBS
18928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18931 /* Override any GCC internal prototype to avoid an error.
18932 Use char because int might match the return type of a GCC
18933 builtin and then its argument prototype would still apply. */
18946 for ac_lib
in '' bsd socket inet
; do
18947 if test -z "$ac_lib"; then
18948 ac_res
="none required"
18951 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18953 if ac_fn_c_try_link
"$LINENO"; then :
18954 ac_cv_search_syslog
=$ac_res
18956 rm -f core conftest.err conftest.
$ac_objext \
18958 if ${ac_cv_search_syslog+:} false
; then :
18962 if ${ac_cv_search_syslog+:} false
; then :
18965 ac_cv_search_syslog
=no
18967 rm conftest.
$ac_ext
18968 LIBS
=$ac_func_search_save_LIBS
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
18971 $as_echo "$ac_cv_search_syslog" >&6; }
18972 ac_res
=$ac_cv_search_syslog
18973 if test "$ac_res" != no
; then :
18974 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18977 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
18985 *-linux-gnu*|
*-k*bsd
*-gnu*)
18986 alpine_path_delim
="/"
18987 alpine_mode_readonly
="(0600)"
18988 if test -f /etc
/fedora-release
; then
18990 if test -d /etc
/pki
/tls
; then
18991 alpine_c_client_target
="lfd"
18993 alpine_c_client_target
="lrh"
18995 elif test -f /etc
/mandrake-release
; then
18997 alpine_c_client_target
="lmd"
18998 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
19000 if test -d /etc
/pki
/tls
; then
19001 alpine_c_client_target
="lr5"
19003 alpine_c_client_target
="lrh"
19005 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
19006 if test -d /etc
/osso-af-init
; then
19008 alpine_c_client_target
="ln8"
19011 alpine_c_client_target
="ldb"
19013 elif test -f /etc
/SuSE-release
; then
19015 alpine_c_client_target
="lsu"
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
19019 $as_echo_n "checking for pam_start in -lpam... " >&6; }
19020 if ${ac_cv_lib_pam_pam_start+:} false
; then :
19021 $as_echo_n "(cached) " >&6
19023 ac_check_lib_save_LIBS
=$LIBS
19025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19028 /* Override any GCC internal prototype to avoid an error.
19029 Use char because int might match the return type of a GCC
19030 builtin and then its argument prototype would still apply. */
19038 return pam_start ();
19043 if ac_fn_c_try_link
"$LINENO"; then :
19044 ac_cv_lib_pam_pam_start
=yes
19046 ac_cv_lib_pam_pam_start
=no
19048 rm -f core conftest.err conftest.
$ac_objext \
19049 conftest
$ac_exeext conftest.
$ac_ext
19050 LIBS
=$ac_check_lib_save_LIBS
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
19053 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
19054 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
19056 alpine_c_client_target
="lnp"
19060 if test -f /etc
/shadow
; then
19061 alpine_c_client_target
="slx"
19063 alpine_c_client_target
="lnx"
19072 alpine_path_delim
="/"
19073 alpine_mode_readonly
="(0600)"
19074 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
19075 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
19077 $as_echo "#define OSX_TARGET 1" >>confdefs.h
19079 case "$alpine_os_credential_cache" in
19084 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
19089 $as_echo_n "checking for pam_start in -lpam... " >&6; }
19090 if ${ac_cv_lib_pam_pam_start+:} false
; then :
19091 $as_echo_n "(cached) " >&6
19093 ac_check_lib_save_LIBS
=$LIBS
19095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19098 /* Override any GCC internal prototype to avoid an error.
19099 Use char because int might match the return type of a GCC
19100 builtin and then its argument prototype would still apply. */
19108 return pam_start ();
19113 if ac_fn_c_try_link
"$LINENO"; then :
19114 ac_cv_lib_pam_pam_start
=yes
19116 ac_cv_lib_pam_pam_start
=no
19118 rm -f core conftest.err conftest.
$ac_objext \
19119 conftest
$ac_exeext conftest.
$ac_ext
19120 LIBS
=$ac_check_lib_save_LIBS
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
19123 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
19124 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
19126 alpine_c_client_target
="oxp"
19130 alpine_c_client_target
="osx"
19136 if test x
$GCC = "xyes" ; then
19138 alpine_c_client_target
="gso"
19141 alpine_c_client_target
="soc"
19143 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
19146 alpine_path_delim
="/"
19147 alpine_mode_readonly
="(0600)"
19151 alpine_path_delim
="/"
19152 alpine_mode_readonly
="(0600)"
19153 alpine_c_client_target
="s40"
19156 if test x
$GCC = "xyes" ; then
19158 alpine_c_client_target
="go5"
19161 alpine_c_client_target
="sc5"
19163 alpine_path_delim
="/"
19164 alpine_mode_readonly
="(0600)"
19168 alpine_path_delim
="/"
19169 alpine_mode_readonly
="(0600)"
19170 alpine_c_client_target
="nx3"
19174 alpine_path_delim
="/"
19175 alpine_mode_readonly
="(0600)"
19176 alpine_c_client_target
="neb"
19180 alpine_path_delim
="/"
19181 alpine_mode_readonly
="(0600)"
19182 alpine_c_client_target
="neb"
19186 alpine_path_delim
="/"
19187 alpine_mode_readonly
="(0600)"
19188 alpine_c_client_target
="bsi"
19192 alpine_path_delim
="/"
19193 alpine_mode_readonly
="(0600)"
19194 alpine_c_client_target
="bsf"
19195 LIBS
="$LIBS $LIBINTL"
19199 alpine_path_delim
="/"
19200 alpine_mode_readonly
="(0600)"
19201 alpine_c_client_target
="bso"
19202 LIBS
="$LIBS $LIBINTL"
19206 alpine_path_delim
="/"
19207 alpine_mode_readonly
="(0600)"
19208 alpine_c_client_target
="a52"
19212 alpine_path_delim
="/"
19213 alpine_mode_readonly
="(0600)"
19214 alpine_c_client_target
="a41"
19218 alpine_path_delim
="/"
19219 alpine_mode_readonly
="(0600)"
19220 alpine_c_client_target
="a32"
19222 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
19224 alpine_path_delim
="/"
19225 alpine_mode_readonly
="(0600)"
19226 alpine_c_client_target
="uw2"
19230 alpine_path_delim
="/"
19231 alpine_mode_readonly
="(0600)"
19232 alpine_c_client_target
="osf"
19236 alpine_path_delim
="/"
19237 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
19238 alpine_c_client_target
="cyg"
19239 LIBS
="$LIBS $LIBINTL"
19241 windows
* |
*-*-pw32*)
19243 alpine_path_delim
="\\"
19244 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
19245 alpine_c_client_target
="wnt"
19247 $as_echo "#define _WINDOWS 1" >>confdefs.h
19251 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
19255 if test -n "$alpine_with_local_maildir" ; then
19256 alpine_local_maildir
=$alpine_with_local_maildir
19257 elif test -d /var
/spool
/mail ; then
19258 alpine_local_maildir
="/var/spool/mail"
19259 elif test -d /var
/mail ; then
19260 alpine_local_maildir
="/var/mail"
19262 alpine_local_maildir
="/usr/spool/mail"
19265 if test -n "$alpine_with_c_client_target" ; then
19266 alpine_c_client_target
=$alpine_with_c_client_target
19270 cat >>confdefs.h
<<_ACEOF
19271 #define SYSTYPE "$systype"
19275 cat >>confdefs.h
<<_ACEOF
19276 #define C_FILESEP '$alpine_path_delim'
19280 cat >>confdefs.h
<<_ACEOF
19281 #define S_FILESEP "$alpine_path_delim"
19285 cat >>confdefs.h
<<_ACEOF
19286 #define MAILDIR "$alpine_local_maildir"
19290 cat >>confdefs.h
<<_ACEOF
19291 #define MODE_READONLY $alpine_mode_readonly
19295 C_CLIENT_TARGET
=$alpine_c_client_target
19297 C_CLIENT_WITH_IPV6
=$c_client_ip6
19299 if test "x$alpine_SSLTYPE" = "xnone" ; then
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
19301 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
19302 c_client_specials
="${c_client_specials}SSLTYPE=none "
19305 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
19306 certdir
="$alpine_SSLCERTS"
19307 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
19308 certdir
="${alpine_SSLDIR}/certs"
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
19311 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
19314 if test "x$with_smime" != "xno" ; then
19315 if test -n "$certdir" ; then
19317 $as_echo "#define SMIME /**/" >>confdefs.h
19320 cat >>confdefs.h
<<_ACEOF
19321 #define SMIME_SSLCERTS "$certdir"
19327 if test ! -f ${certdir}/factory.pem
; then
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * SSL file \"${certdir}/factory.pem\" is missing." >&5
19329 $as_echo "$as_me: * * * SSL file \"${certdir}/factory.pem\" is missing." >&6;}
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
19331 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
19333 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
19335 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
19338 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&5
19340 $as_echo "$as_me: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&6;}
19341 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
19342 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
19344 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
19346 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
19349 if test -n "$alpine_SSLDIR" ; then
19350 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
19353 if test -n "$alpine_SSLCERTS" ; then
19354 c_client_specials
="${c_client_specials}SSLCERTS=$alpine_SSLCERTS "
19357 if test -n "$alpine_SSLINCLUDE" ; then
19358 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
19361 if test -n "$alpine_SSLLIB" ; then
19362 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
19367 if test "x$alpine_GSSTYPE" != "xnone" ; then
19368 c_client_specials
="${c_client_specials}EXTRAAUTHENTICATORS=gss "
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
19370 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
19373 if test -n "$CPPFLAGS" ; then
19374 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
19376 if test -n "$CFLAGS" ; then
19377 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
19380 if test -n "$alpine_c_client_cflags" ; then
19381 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
19385 if test -n "$LDFLAGS" ; then
19386 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
19388 if test -n "$LIBS" ; then
19389 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
19392 if test -n "$alpine_c_client_ldflags" ; then
19393 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
19397 if test -n "$alpine_c_client_gccoptlevel" ; then
19398 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
19402 C_CLIENT_SPECIALS
=$c_client_specials
19405 if test -z "$WEB_BUILD" ; then
19406 WEB_PUBCOOKIE_BUILD
=
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
19408 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
19410 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
19412 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
19413 if test "x$alpine_GSSTYPE" = "xnone" ; then
19414 WEB_PUBCOOKIE_BUILD
=
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
19416 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
19418 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
19419 elif test -z "$WEB_BINDIR" ; then
19420 WEB_PUBCOOKIE_BUILD
=
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
19422 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
19423 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
19424 Please re-run configure with these options:
19425 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
19428 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
19430 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
19431 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
19447 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"
19449 cat >confcache
<<\_ACEOF
19450 # This file is a shell script that caches the results of configure
19451 # tests run on this system so they can be shared between configure
19452 # scripts and configure runs, see configure's option --config-cache.
19453 # It is not useful on other systems. If it contains results you don't
19454 # want to keep, you may remove or edit it.
19456 # config.status only pays attention to the cache file if you give it
19457 # the --recheck option to rerun configure.
19459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19461 # following values.
19465 # The following way of writing the cache mishandles newlines in values,
19466 # but we know of no workaround that is simple, portable, and efficient.
19467 # So, we kill variables containing newlines.
19468 # Ultrix sh set writes to stderr and can't be redirected directly,
19469 # and sets the high bit in the cache file unless we assign to the vars.
19471 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19472 eval ac_val
=\$
$ac_var
19476 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19477 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19480 _ | IFS | as_nl
) ;; #(
19481 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19482 *) { eval $ac_var=; unset $ac_var;} ;;
19488 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19489 *${as_nl}ac_space
=\
*)
19490 # `set' does not quote correctly, so add quotes: double-quote
19491 # substitution turns \\\\ into \\, and sed turns \\ into \.
19494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19497 # `set' quotes correctly as required by POSIX, so do not add quotes.
19498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19509 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19511 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19512 if test -w "$cache_file"; then
19513 if test "x$cache_file" != "x/dev/null"; then
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19515 $as_echo "$as_me: updating cache $cache_file" >&6;}
19516 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19517 cat confcache
>"$cache_file"
19519 case $cache_file in #(
19521 mv -f confcache
"$cache_file"$$
&&
19522 mv -f "$cache_file"$$
"$cache_file" ;; #(
19524 mv -f confcache
"$cache_file" ;;
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19530 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19535 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19536 # Let make expand exec_prefix.
19537 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19539 DEFS
=-DHAVE_CONFIG_H
19544 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19545 # 1. Remove the extension, and $U if already installed.
19546 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19547 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19548 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19549 # will be set to the directory where LIBOBJS objects are built.
19550 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19551 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19553 LIBOBJS
=$ac_libobjs
19555 LTLIBOBJS
=$ac_ltlibobjs
19558 if test -n "$EXEEXT"; then
19560 am__EXEEXT_FALSE
='#'
19562 am__EXEEXT_TRUE
='#'
19566 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19567 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19570 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19571 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19574 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19575 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19579 : "${CONFIG_STATUS=./config.status}"
19581 ac_clean_files_save
=$ac_clean_files
19582 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19586 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19588 # Generated by $as_me.
19589 # Run this file to recreate the current configuration.
19590 # Compiler output produced by configure, useful for debugging
19591 # configure, is in config.log if it exists.
19594 ac_cs_recheck=false
19597 SHELL=\${CONFIG_SHELL-$SHELL}
19600 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19601 ## -------------------- ##
19602 ## M4sh Initialization. ##
19603 ## -------------------- ##
19605 # Be more Bourne compatible
19606 DUALCASE
=1; export DUALCASE
# for MKS sh
19607 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19610 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19611 # is contrary to our usage. Disable this feature.
19612 alias -g '${1+"$@"}'='"$@"'
19613 setopt NO_GLOB_SUBST
19615 case `(set -o) 2>/dev/null` in #(
19627 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19628 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19631 # Prefer a ksh shell builtin over an external printf program on Solaris,
19632 # but without wasting forks for bash or zsh.
19633 if test -z "$BASH_VERSION$ZSH_VERSION" \
19634 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19635 as_echo='print
-r --'
19636 as_echo_n='print
-rn --'
19637 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19638 as_echo='printf %s
\n'
19639 as_echo_n='printf %s
'
19641 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19642 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19643 as_echo_n='/usr
/ucb
/echo -n'
19645 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19646 as_echo_n_body='eval
19650 expr "X$arg" : "X\\(.*\\)$as_nl";
19651 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19653 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19655 export as_echo_n_body
19656 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19658 export as_echo_body
19659 as_echo='sh
-c $as_echo_body as_echo
'
19662 # The user is always right.
19663 if test "${PATH_SEPARATOR+set}" != set; then
19665 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19666 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19673 # We need space, tab and new line, in precisely that order. Quoting is
19674 # there to prevent editors from complaining about space-tab.
19675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19676 # splitting by setting IFS to empty value.)
19679 # Find who we are. Look in the path if we contain no directory separator.
19682 *[\\/]* ) as_myself=$0 ;;
19683 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19684 for as_dir in $PATH
19687 test -z "$as_dir" && as_dir=.
19688 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19694 # We did not find ourselves, most probably we were run as `sh COMMAND'
19695 # in which case we are not to be found in the path.
19696 if test "x$as_myself" = x
; then
19699 if test ! -f "$as_myself"; then
19700 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19704 # Unset variables that we do not need and which cause bugs (e.g. in
19705 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19706 # suppresses any "Segmentation fault" message there. '((' could
19707 # trigger a bug in pdksh 5.2.14.
19708 for as_var
in BASH_ENV ENV MAIL MAILPATH
19709 do eval test x\
${$as_var+set} = xset \
19710 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19723 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19726 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19727 # ----------------------------------------
19728 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19729 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19730 # script with STATUS, using 1 if that was 0.
19733 as_status
=$1; test $as_status -eq 0 && as_status
=1
19735 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19736 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19738 $as_echo "$as_me: error: $2" >&2
19739 as_fn_exit
$as_status
19743 # as_fn_set_status STATUS
19744 # -----------------------
19745 # Set $? to STATUS, without forking.
19746 as_fn_set_status
()
19749 } # as_fn_set_status
19751 # as_fn_exit STATUS
19752 # -----------------
19753 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19757 as_fn_set_status
$1
19763 # Portably unset VAR.
19766 { eval $1=; unset $1;}
19768 as_unset
=as_fn_unset
19769 # as_fn_append VAR VALUE
19770 # ----------------------
19771 # Append the text in VALUE to the end of the definition contained in VAR. Take
19772 # advantage of any shell optimizations that allow amortized linear growth over
19773 # repeated appends, instead of the typical quadratic growth present in naive
19775 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19776 eval 'as_fn_append ()
19787 # as_fn_arith ARG...
19788 # ------------------
19789 # Perform arithmetic evaluation on the ARGs, and store the result in the
19790 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19791 # must be portable across $(()) and expr.
19792 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19793 eval 'as_fn_arith ()
19800 as_val
=`expr "$@" || test $? -eq 1`
19805 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19806 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19812 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19813 as_basename
=basename
19818 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19824 as_me
=`$as_basename -- "$0" ||
19825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19826 X"$0" : 'X\(//\)$' \| \
19827 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19829 sed '/^.*\/\([^/][^/]*\)\/*$/{
19843 # Avoid depending upon Character Ranges.
19844 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19845 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19846 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19847 as_cr_digits
='0123456789'
19848 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19850 ECHO_C
= ECHO_N
= ECHO_T
=
19851 case `echo -n x` in #(((((
19853 case `echo 'xy\c'` in
19854 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19856 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19863 rm -f conf$$ conf$$.exe conf$$.
file
19864 if test -d conf$$.dir
; then
19865 rm -f conf$$.dir
/conf$$.
file
19868 mkdir conf$$.dir
2>/dev
/null
19870 if (echo >conf$$.
file) 2>/dev
/null
; then
19871 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19873 # ... but there are two gotchas:
19874 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19875 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19876 # In both cases, we have to default to `cp -pR'.
19877 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19879 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19887 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19888 rmdir conf$$.dir
2>/dev
/null
19893 # Create "$as_dir" as a directory, including parents if necessary.
19898 -*) as_dir
=.
/$as_dir;;
19900 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19904 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19905 *) as_qdir
=$as_dir;;
19907 as_dirs
="'$as_qdir' $as_dirs"
19908 as_dir
=`$as_dirname -- "$as_dir" ||
19909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19910 X"$as_dir" : 'X\(//\)[^/]' \| \
19911 X"$as_dir" : 'X\(//\)$' \| \
19912 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19913 $as_echo X"$as_dir" |
19914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19918 /^X\(\/\/\)[^/].*/{
19931 test -d "$as_dir" && break
19933 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19934 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19938 if mkdir
-p .
2>/dev
/null
; then
19939 as_mkdir_p
='mkdir -p "$as_dir"'
19941 test -d .
/-p && rmdir .
/-p
19946 # as_fn_executable_p FILE
19947 # -----------------------
19948 # Test if FILE is an executable regular file.
19949 as_fn_executable_p
()
19951 test -f "$1" && test -x "$1"
19952 } # as_fn_executable_p
19953 as_test_x
='test -x'
19954 as_executable_p
=as_fn_executable_p
19956 # Sed expression to map a string onto a valid CPP name.
19957 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19959 # Sed expression to map a string onto a valid variable name.
19960 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19964 ## ----------------------------------- ##
19965 ## Main body of $CONFIG_STATUS script. ##
19966 ## ----------------------------------- ##
19968 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19971 # Save the log message, to keep $0 and so on meaningful, and to
19972 # report actual input values of CONFIG_FILES etc. instead of their
19973 # values after options handling.
19975 This file was extended by alpine $as_me 2.11, which was
19976 generated by GNU Autoconf 2.69. Invocation command line was
19978 CONFIG_FILES = $CONFIG_FILES
19979 CONFIG_HEADERS = $CONFIG_HEADERS
19980 CONFIG_LINKS = $CONFIG_LINKS
19981 CONFIG_COMMANDS = $CONFIG_COMMANDS
19984 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19989 case $ac_config_files in *"
19990 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19993 case $ac_config_headers in *"
19994 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
19998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19999 # Files that config.status was made for.
20000 config_files="$ac_config_files"
20001 config_headers="$ac_config_headers"
20002 config_commands="$ac_config_commands"
20006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20008 \`$as_me' instantiates files and other configuration actions
20009 from templates according to the current configuration. Unless the files
20010 and actions are specified as TAGs, all are instantiated by default.
20012 Usage: $0 [OPTION]... [TAG]...
20014 -h, --help print this help, then exit
20015 -V, --version print version number and configuration settings, then exit
20016 --config print configuration, then exit
20017 -q, --quiet, --silent
20018 do not print progress messages
20019 -d, --debug don't remove temporary files
20020 --recheck update $as_me by reconfiguring in the same conditions
20021 --file=FILE[:TEMPLATE]
20022 instantiate the configuration file FILE
20023 --header=FILE[:TEMPLATE]
20024 instantiate the configuration header FILE
20026 Configuration files:
20029 Configuration headers:
20032 Configuration commands:
20035 Report bugs to <chappa@washington.edu>."
20038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20039 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20041 alpine config.status 2.11
20042 configured by $0, generated by GNU Autoconf 2.69,
20043 with options \\"\$ac_cs_config\\"
20045 Copyright (C) 2012 Free Software Foundation, Inc.
20046 This config.status script is free software; the Free Software Foundation
20047 gives unlimited permission to copy, distribute and modify it."
20054 test -n "\$AWK" || AWK=awk
20057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20058 # The default lists apply if the user does not specify any file.
20064 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20065 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20069 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20081 # Handling of the options.
20082 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20084 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20085 $as_echo "$ac_cs_version"; exit ;;
20086 --config |
--confi |
--conf |
--con |
--co |
--c )
20087 $as_echo "$ac_cs_config"; exit ;;
20088 --debug |
--debu |
--deb |
--de |
--d |
-d )
20090 --file |
--fil |
--fi |
--f )
20093 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20094 '') as_fn_error $?
"missing file argument" ;;
20096 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20097 ac_need_defaults
=false
;;
20098 --header |
--heade |
--head |
--hea )
20101 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20103 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20104 ac_need_defaults
=false
;;
20106 # Conflict between --help and --header
20107 as_fn_error $?
"ambiguous option: \`$1'
20108 Try \`$0 --help' for more information.";;
20109 --help |
--hel |
-h )
20110 $as_echo "$ac_cs_usage"; exit ;;
20111 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20112 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20115 # This is an error.
20116 -*) as_fn_error $?
"unrecognized option: \`$1'
20117 Try \`$0 --help' for more information." ;;
20119 *) as_fn_append ac_config_targets
" $1"
20120 ac_need_defaults
=false
;;
20126 ac_configure_extra_args
=
20128 if $ac_cs_silent; then
20130 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20135 if \$ac_cs_recheck; then
20136 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20138 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20139 CONFIG_SHELL='$SHELL'
20140 export CONFIG_SHELL
20145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20149 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20150 ## Running $as_me. ##
20156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20160 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20163 # The HP-UX ksh and POSIX shell print the target directory to stdout
20164 # if CDPATH is set.
20165 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20167 sed_quote_subst='$sed_quote_subst'
20168 double_quote_subst='$double_quote_subst'
20169 delay_variable_subst='$delay_variable_subst'
20170 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20171 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20172 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20173 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20174 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20175 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20176 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20177 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20178 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20179 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20180 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20181 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20182 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20183 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20184 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20185 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20186 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20187 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20188 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20189 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20190 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20191 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20192 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20193 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20194 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20195 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20196 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20197 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20198 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20199 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20200 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20201 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20202 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20203 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20204 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20205 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20206 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20207 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20208 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20209 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20210 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20211 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20212 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20213 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20214 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
20215 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20216 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20217 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20218 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20219 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20220 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20221 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20222 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20223 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20224 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20225 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20226 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20227 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20228 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20229 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20230 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20231 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20232 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20233 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20234 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20235 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20236 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20237 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20238 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20239 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20240 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20241 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20242 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20243 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20244 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20245 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20246 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20247 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20248 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20249 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20250 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20251 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20252 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20253 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20254 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20255 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20256 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20257 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20258 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20259 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20260 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20261 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20262 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20263 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20264 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20265 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20266 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20267 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20268 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20269 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20270 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20271 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20272 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20273 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20274 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20275 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20276 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20277 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20278 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20279 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20280 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20281 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20282 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20283 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20284 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20285 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20286 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20287 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20290 LTCFLAGS='$LTCFLAGS'
20291 compiler='$compiler_DEFAULT'
20293 # Quote evaled strings.
20305 deplibs_check_method \
20314 lt_cv_sys_global_symbol_pipe \
20315 lt_cv_sys_global_symbol_to_cdecl \
20316 lt_cv_sys_global_symbol_to_c_name_address \
20317 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20320 lt_prog_compiler_no_builtin_flag \
20321 lt_prog_compiler_wl \
20322 lt_prog_compiler_pic \
20323 lt_prog_compiler_static \
20324 lt_cv_prog_compiler_c_o \
20332 export_dynamic_flag_spec \
20333 whole_archive_flag_spec \
20334 compiler_needs_object \
20336 allow_undefined_flag \
20337 no_undefined_flag \
20338 hardcode_libdir_flag_spec \
20339 hardcode_libdir_flag_spec_ld \
20340 hardcode_libdir_separator \
20345 variables_saved_for_relink \
20347 library_names_spec \
20352 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20353 *[\\\\\\\`\\"\\\$]*)
20354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20362 # Double-quote double-evaled strings.
20363 for var in reload_cmds \
20364 old_postinstall_cmds \
20365 old_postuninstall_cmds \
20367 extract_expsyms_cmds \
20368 old_archive_from_new_cmds \
20369 old_archive_from_expsyms_cmds \
20371 archive_expsym_cmds \
20373 module_expsym_cmds \
20374 export_symbols_cmds \
20377 postuninstall_cmds \
20379 sys_lib_search_path_spec \
20380 sys_lib_dlsearch_path_spec; do
20381 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20382 *[\\\\\\\`\\"\\\$]*)
20383 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20386 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20391 # Fix-up fallback echo if it was mangled by the above quoting rules.
20393 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20397 ac_aux_dir='$ac_aux_dir'
20398 xsi_shell='$xsi_shell'
20399 lt_shell_append='$lt_shell_append'
20401 # See if we are running on zsh, and set the options which allow our
20402 # commands through without removal of \ escapes INIT.
20403 if test -n "\${ZSH_VERSION+set}" ; then
20404 setopt NO_GLOB_SUBST
20410 TIMESTAMP='$TIMESTAMP'
20416 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20417 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20418 # from automake < 1.5.
20419 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20420 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20421 LINGUAS="${LINGUAS-%UNSET%}"
20426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20428 # Handling of arguments.
20429 for ac_config_target
in $ac_config_targets
20431 case $ac_config_target in
20432 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20433 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20434 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20435 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
20436 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
20437 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20438 "regex/Makefile") CONFIG_FILES
="$CONFIG_FILES regex/Makefile" ;;
20439 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
20440 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
20441 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
20442 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
20443 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
20444 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
20445 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
20446 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
20447 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
20448 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
20449 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20451 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20456 # If the user did not use the arguments to specify the items to instantiate,
20457 # then the envvar interface is used. Set only those that are not.
20458 # We use the long form for the default assignment because of an extremely
20459 # bizarre bug on SunOS 4.1.3.
20460 if $ac_need_defaults; then
20461 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20462 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20463 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20466 # Have a temporary directory for convenience. Make it in the build tree
20467 # simply because there is no reason against having it here, and in addition,
20468 # creating and moving files from /tmp can sometimes cause problems.
20469 # Hook for its removal unless debugging.
20470 # Note that there is a small window in which the directory will not be cleaned:
20471 # after its creation but before its name has been assigned to `$tmp'.
20475 trap 'exit_status=$?
20476 : "${ac_tmp:=$tmp}"
20477 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20479 trap 'as_fn_exit 1' 1 2 13 15
20481 # Create a (secure) tmp directory for tmp files.
20484 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20488 tmp
=.
/conf$$
-$RANDOM
20489 (umask 077 && mkdir
"$tmp")
20490 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20493 # Set up the scripts for CONFIG_FILES section.
20494 # No need to generate them if there are no CONFIG_FILES.
20495 # This happens for instance with `./config.status config.h'.
20496 if test -n "$CONFIG_FILES"; then
20499 ac_cr
=`echo X | tr X '\015'`
20500 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20501 # But we know of no other shell where ac_cr would be empty at this
20502 # point, so we can use a bashism as a fallback.
20503 if test "x$ac_cr" = x
; then
20504 eval ac_cr
=\$
\'\\r
\'
20506 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20507 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20510 ac_cs_awk_cr
=$ac_cr
20513 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20518 echo "cat >conf$$subs.awk <<_ACEOF" &&
20519 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20521 } >conf$$subs.sh ||
20522 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20523 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20525 for ac_last_try in false false false false false :; do
20526 . ./conf$$subs.sh ||
20527 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20529 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20530 if test $ac_delim_n = $ac_delim_num; then
20532 elif $ac_last_try; then
20533 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20535 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20538 rm -f conf$$subs.sh
20540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20541 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20545 s/^/S["/; s
/!.
*/"]=/
20555 s/\(.\{148\}\)..*/\1/
20557 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20562 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20569 s/\(.\{148\}\)..*/\1/
20571 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20575 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20580 ' <conf$$subs.awk | sed '
20585 ' >>$CONFIG_STATUS || ac_write_fail=1
20586 rm -f conf$$subs.awk
20587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20589 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20590 for (key in S) S_is_set[key] = 1
20596 nfields = split(line, field, "@
")
20598 len = length(field[1])
20599 for (i = 2; i < nfields; i++) {
20601 keylen = length(key)
20602 if (S_is_set[key]) {
20604 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20605 len += length(value) + length(field[++i])
20616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20617 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20618 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20621 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20622 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20625 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20626 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20627 # trailing colons and then remove the whole line if VPATH becomes empty
20628 # (actually we leave an empty line to preserve line numbers).
20629 if test "x
$srcdir" = x.; then
20630 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20649 fi # test -n "$CONFIG_FILES"
20651 # Set up the scripts for CONFIG_HEADERS section.
20652 # No need to generate them if there are no CONFIG_HEADERS.
20653 # This happens for instance with `./config.status Makefile'.
20654 if test -n "$CONFIG_HEADERS"; then
20655 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20659 # Transform confdefs.h into an awk script `defines.awk', embedded as
20660 # here-document in config.status, that substitutes the proper values into
20661 # config.h.in to produce config.h.
20663 # Create a delimiter string that does not exist in confdefs.h, to ease
20664 # handling of long lines.
20666 for ac_last_try in false false :; do
20667 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20668 if test -z "$ac_tt"; then
20670 elif $ac_last_try; then
20671 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20673 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20677 # For the awk script, D is an array of macro values keyed by name,
20678 # likewise P contains macro parameters if any. Preserve backslash
20679 # newline sequences.
20681 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20683 s/.\{148\}/&'"$ac_delim"'/g
20686 s/^[ ]*#[ ]*define[ ][ ]*/ /
20693 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20695 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20700 D["\
1"]=" \
3\\\\\\n
"\\/p
20702 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20707 s/.\{148\}/&'"$ac_delim"'/g
20712 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20715 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20717 ' <confdefs.h | sed '
20718 s/'"$ac_delim"'/"\\\
20719 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20722 for (key in D) D_is_set[key] = 1
20725 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20727 split(line, arg, " ")
20728 if (arg[1] == "#") {
20732 defundef
= substr
(arg
[1], 2)
20735 split(mac1
, mac2
, "(") #)
20737 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20738 if (D_is_set
[macro
]) {
20739 # Preserve the white space surrounding the "#".
20740 print prefix
"define", macro P
[macro
] D
[macro
]
20743 # Replace #undef with comments. This is necessary, for example,
20744 # in the case of _POSIX_SOURCE, which is predefined and required
20745 # on some systems where configure will not decide to define it.
20746 if (defundef
== "undef") {
20747 print
"/*", prefix defundef
, macro
, "*/"
20755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20756 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
20757 fi # test -n "$CONFIG_HEADERS"
20760 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20765 :[FHLC
]) ac_mode
=$ac_tag; continue;;
20767 case $ac_mode$ac_tag in
20769 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
20770 :[FH
]-) ac_tag
=-:-;;
20771 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
20788 -) ac_f
="$ac_tmp/stdin";;
20789 *) # Look for the file first in the build tree, then in the source tree
20790 # (if the path is not absolute). The absolute path cannot be DOS-style,
20791 # because $ac_f cannot contain `:'.
20795 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
20797 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20799 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20800 as_fn_append ac_file_inputs
" '$ac_f'"
20803 # Let's still pretend it is `configure' which instantiates (i.e., don't
20804 # use $as_me), people would be surprised to read:
20805 # /* config.h. Generated by config.status. */
20806 configure_input
='Generated from '`
20807 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20809 if test x
"$ac_file" != x-
; then
20810 configure_input
="$ac_file. $configure_input"
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20812 $as_echo "$as_me: creating $ac_file" >&6;}
20814 # Neutralize special characters interpreted by sed in replacement strings.
20815 case $configure_input in #(
20816 *\
&* |
*\|
* |
*\\* )
20817 ac_sed_conf_input
=`$as_echo "$configure_input" |
20818 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20819 *) ac_sed_conf_input
=$configure_input;;
20823 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
20824 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
20829 ac_dir
=`$as_dirname -- "$ac_file" ||
20830 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20831 X"$ac_file" : 'X\(//\)[^/]' \| \
20832 X"$ac_file" : 'X\(//\)$' \| \
20833 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20834 $as_echo X"$ac_file" |
20835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20839 /^X\(\/\/\)[^/].*/{
20852 as_dir
="$ac_dir"; as_fn_mkdir_p
20856 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20858 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20859 # A ".." for each directory in $ac_dir_suffix.
20860 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20861 case $ac_top_builddir_sub in
20862 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
20863 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
20866 ac_abs_top_builddir
=$ac_pwd
20867 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
20868 # for backward compatibility:
20869 ac_top_builddir
=$ac_top_build_prefix
20872 .
) # We are building in place.
20874 ac_top_srcdir
=$ac_top_builddir_sub
20875 ac_abs_top_srcdir
=$ac_pwd ;;
20876 [\\/]* | ?
:[\\/]* ) # Absolute name.
20877 ac_srcdir
=$srcdir$ac_dir_suffix;
20878 ac_top_srcdir
=$srcdir
20879 ac_abs_top_srcdir
=$srcdir ;;
20880 *) # Relative name.
20881 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
20882 ac_top_srcdir
=$ac_top_build_prefix$srcdir
20883 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
20885 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
20895 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20896 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
20898 ac_MKDIR_P
=$MKDIR_P
20900 [\\/$
]* | ?
:[\\/]* ) ;;
20901 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
20905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20906 # If the template does not know about datarootdir, expand it.
20907 # FIXME: This hack should be removed a few years after 2.60.
20908 ac_datarootdir_hack
=; ac_datarootdir_seen
=
20919 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20920 *datarootdir
*) ac_datarootdir_seen
=yes;;
20921 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20923 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20926 ac_datarootdir_hack='
20927 s&@datadir@&$datadir&g
20928 s&@docdir@&$docdir&g
20929 s&@infodir@&$infodir&g
20930 s&@localedir@&$localedir&g
20931 s&@mandir@&$mandir&g
20932 s&\\\${datarootdir}&$datarootdir&g' ;;
20936 # Neutralize VPATH when `$srcdir' = `.'.
20937 # Shell code in configure.ac might set extrasub.
20938 # FIXME: do we really want to maintain this feature?
20939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20940 ac_sed_extra="$ac_vpsub
20943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20945 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20946 s|@configure_input@|
$ac_sed_conf_input|
;t t
20947 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20948 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20949 s
&@srcdir@
&$ac_srcdir&;t t
20950 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20951 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20952 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20953 s
&@builddir@
&$ac_builddir&;t t
20954 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20955 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20956 s
&@INSTALL@
&$ac_INSTALL&;t t
20957 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20958 $ac_datarootdir_hack
20960 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
20961 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20963 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20964 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
20965 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20966 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20968 which seems to be undefined. Please make sure it is defined" >&5
20969 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20970 which seems to be undefined. Please make sure it is defined" >&2;}
20972 rm -f "$ac_tmp/stdin"
20974 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20975 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20977 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20983 if test x"$ac_file" != x-; then
20985 $as_echo "/* $configure_input */" \
20986 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20987 } >"$ac_tmp/config.h" \
20988 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20989 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20991 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20994 mv "$ac_tmp/config.h" "$ac_file" \
20995 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20998 $as_echo "/* $configure_input */" \
20999 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21000 || as_fn_error $? "could not create -" "$LINENO" 5
21002 # Compute "$ac_file"'s index
in $config_headers.
21005 for _am_header
in $config_headers :; do
21006 case $_am_header in
21007 $_am_arg |
$_am_arg:* )
21010 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21013 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21014 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21015 X"$_am_arg" : 'X\(//\)[^/]' \| \
21016 X"$_am_arg" : 'X\(//\)$' \| \
21017 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21018 $as_echo X"$_am_arg" |
21019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21023 /^X\(\/\/\)[^/].*/{
21035 s/.*/./; q'`/stamp-h
$_am_stamp_count
21038 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21039 $as_echo "$as_me: executing $ac_file commands" >&6;}
21044 case $ac_file$ac_mode in
21045 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21046 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21047 # are listed without --file. Let's play safe and only enable the eval
21048 # if we detect the quoting.
21049 case $CONFIG_FILES in
21050 *\'*) eval set x
"$CONFIG_FILES" ;;
21051 *) set x
$CONFIG_FILES ;;
21056 # Strip MF so we end up with the name of the file.
21057 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21058 # Check whether this is an Automake generated Makefile or not.
21059 # We used to match only the files named `Makefile.in', but
21060 # some people rename them; so instead we look at the file content.
21061 # Grep'ing the first line is not enough: some people post-process
21062 # each Makefile.in and add a new line on top of each file to say so.
21063 # Grep'ing the whole file is not good either: AIX grep has a line
21064 # limit of 2048, but all sed's we know have understand at least 4000.
21065 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21066 dirpart
=`$as_dirname -- "$mf" ||
21067 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21068 X"$mf" : 'X\(//\)[^/]' \| \
21069 X"$mf" : 'X\(//\)$' \| \
21070 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21076 /^X\(\/\/\)[^/].*/{
21092 # Extract the definition of DEPDIR, am__include, and am__quote
21093 # from the Makefile without running `make'.
21094 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21095 test -z "$DEPDIR" && continue
21096 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21097 test -z "am__include" && continue
21098 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21099 # When using ansi2knr, U may be empty or an underscore; expand it
21100 U
=`sed -n 's/^U = //p' < "$mf"`
21101 # Find all dependency output files, they are included files with
21102 # $(DEPDIR) in their names. We invoke sed twice because it is the
21103 # simplest approach to changing $(DEPDIR) to its actual value in the
21105 for file in `sed -n "
21106 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21107 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21108 # Make sure the directory exists.
21109 test -f "$dirpart/$file" && continue
21110 fdir
=`$as_dirname -- "$file" ||
21111 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21112 X"$file" : 'X\(//\)[^/]' \| \
21113 X"$file" : 'X\(//\)$' \| \
21114 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21115 $as_echo X"$file" |
21116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21120 /^X\(\/\/\)[^/].*/{
21133 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21134 # echo "creating $dirpart/$file"
21135 echo '# dummy' > "$dirpart/$file"
21142 # See if we are running on zsh, and set the options which allow our
21143 # commands through without removal of \ escapes.
21144 if test -n "${ZSH_VERSION+set}" ; then
21145 setopt NO_GLOB_SUBST
21148 cfgfile
="${ofile}T"
21149 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21152 cat <<_LT_EOF >> "$cfgfile"
21155 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21156 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21157 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21159 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21160 # 2006, 2007, 2008 Free Software Foundation, Inc.
21161 # Written by Gordon Matzigkeit, 1996
21163 # This file is part of GNU Libtool.
21165 # GNU Libtool is free software; you can redistribute it and/or
21166 # modify it under the terms of the GNU General Public License as
21167 # published by the Free Software Foundation; either version 2 of
21168 # the License, or (at your option) any later version.
21170 # As a special exception to the GNU General Public License,
21171 # if you distribute this file as part of a program or library that
21172 # is built using GNU Libtool, you may include this file under the
21173 # same distribution terms that you use for the rest of that program.
21175 # GNU Libtool is distributed in the hope that it will be useful,
21176 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21177 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21178 # GNU General Public License for more details.
21180 # You should have received a copy of the GNU General Public License
21181 # along with GNU Libtool; see the file COPYING. If not, a copy
21182 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21183 # obtained by writing to the Free Software Foundation, Inc.,
21184 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21187 # The names of the tagged configurations supported by this script.
21190 # ### BEGIN LIBTOOL CONFIG
21192 # Which release of libtool.m4 was used?
21193 macro_version=$macro_version
21194 macro_revision=$macro_revision
21196 # Whether or not to build shared libraries.
21197 build_libtool_libs=$enable_shared
21199 # Whether or not to build static libraries.
21200 build_old_libs=$enable_static
21202 # What type of objects to build.
21205 # Whether or not to optimize for fast installation.
21206 fast_install=$enable_fast_install
21209 host_alias=$host_alias
21213 # The build system.
21214 build_alias=$build_alias
21218 # A sed program that does not truncate output.
21221 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21222 Xsed="\$SED -e 1s/^X//"
21224 # A grep program that handles long lines.
21230 # A literal string matcher.
21233 # A BSD- or MS-compatible name lister.
21236 # Whether we need soft or hard links.
21239 # What is the maximum length of a command?
21240 max_cmd_len=$max_cmd_len
21242 # Object file suffix (normally "o").
21245 # Executable file suffix (normally "").
21248 # whether the shell understands "unset".
21251 # turn spaces into newlines.
21254 # turn newlines into spaces.
21257 # How to create reloadable object files.
21258 reload_flag=$lt_reload_flag
21259 reload_cmds=$lt_reload_cmds
21261 # An object symbol dumper.
21262 OBJDUMP=$lt_OBJDUMP
21264 # Method to check whether dependent libraries are shared objects.
21265 deplibs_check_method=$lt_deplibs_check_method
21267 # Command to use when deplibs_check_method == "file_magic".
21268 file_magic_cmd=$lt_file_magic_cmd
21272 AR_FLAGS=$lt_AR_FLAGS
21274 # A symbol stripping program.
21277 # Commands used to install an old-style archive.
21279 old_postinstall_cmds=$lt_old_postinstall_cmds
21280 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21285 # LTCC compiler flags.
21286 LTCFLAGS=$lt_CFLAGS
21288 # Take the output of nm and produce a listing of raw symbols and C names.
21289 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21291 # Transform the output of nm in a proper C declaration.
21292 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21294 # Transform the output of nm in a C name address pair.
21295 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21297 # Transform the output of nm in a C name address pair when lib prefix is needed.
21298 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21300 # The name of the directory that contains temporary libtool files.
21303 # Shell to use when invoking shell scripts.
21306 # An echo program that does not interpret backslashes.
21309 # Used to examine libraries when file_magic_cmd begins with "file".
21310 MAGIC_CMD=$MAGIC_CMD
21312 # Must we lock files when doing compilation?
21313 need_locks=$lt_need_locks
21315 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21316 DSYMUTIL=$lt_DSYMUTIL
21318 # Tool to change global to local symbols on Mac OS X.
21321 # Tool to manipulate fat objects and archives on Mac OS X.
21324 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21327 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21328 OTOOL64=$lt_OTOOL64
21330 # Old archive suffix (normally "a").
21333 # Shared library suffix (normally ".so").
21334 shrext_cmds=$lt_shrext_cmds
21336 # The commands to extract the exported symbol list from a shared archive.
21337 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21339 # Variables whose values should be saved in libtool wrapper scripts and
21340 # restored at link time.
21341 variables_saved_for_relink=$lt_variables_saved_for_relink
21343 # Do we need the "lib" prefix for modules?
21344 need_lib_prefix=$need_lib_prefix
21346 # Do we need a version for libraries?
21347 need_version=$need_version
21349 # Library versioning type.
21350 version_type=$version_type
21352 # Shared library runtime path variable.
21353 runpath_var=$runpath_var
21355 # Shared library path variable.
21356 shlibpath_var=$shlibpath_var
21358 # Is shlibpath searched before the hard-coded library search path?
21359 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21361 # Format of library name prefix.
21362 libname_spec=$lt_libname_spec
21364 # List of archive names. First name is the real one, the rest are links.
21365 # The last name is the one that the linker finds with -lNAME
21366 library_names_spec=$lt_library_names_spec
21368 # The coded name of the library, if different from the real name.
21369 soname_spec=$lt_soname_spec
21371 # Command to use after installation of a shared archive.
21372 postinstall_cmds=$lt_postinstall_cmds
21374 # Command to use after uninstallation of a shared archive.
21375 postuninstall_cmds=$lt_postuninstall_cmds
21377 # Commands used to finish a libtool library installation in a directory.
21378 finish_cmds=$lt_finish_cmds
21380 # As "finish_cmds", except a single script fragment to be evaled but
21382 finish_eval=$lt_finish_eval
21384 # Whether we should hardcode library paths into libraries.
21385 hardcode_into_libs=$hardcode_into_libs
21387 # Compile-time system search path for libraries.
21388 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21390 # Run-time system search path for libraries.
21391 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21393 # Whether dlopen is supported.
21394 dlopen_support=$enable_dlopen
21396 # Whether dlopen of programs is supported.
21397 dlopen_self=$enable_dlopen_self
21399 # Whether dlopen of statically linked programs is supported.
21400 dlopen_self_static=$enable_dlopen_self_static
21402 # Commands to strip libraries.
21403 old_striplib=$lt_old_striplib
21404 striplib=$lt_striplib
21407 # The linker used to build libraries.
21410 # Commands used to build an old-style archive.
21411 old_archive_cmds=$lt_old_archive_cmds
21413 # A language specific compiler.
21416 # Is the compiler the GNU compiler?
21419 # Compiler flag to turn off builtin functions.
21420 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21422 # How to pass a linker flag through the compiler.
21423 wl=$lt_lt_prog_compiler_wl
21425 # Additional compiler flags for building library objects.
21426 pic_flag=$lt_lt_prog_compiler_pic
21428 # Compiler flag to prevent dynamic linking.
21429 link_static_flag=$lt_lt_prog_compiler_static
21431 # Does compiler simultaneously support -c and -o options?
21432 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21434 # Whether or not to add -lc for building shared libraries.
21435 build_libtool_need_lc=$archive_cmds_need_lc
21437 # Whether or not to disallow shared libs when runtime libs are static.
21438 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21440 # Compiler flag to allow reflexive dlopens.
21441 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21443 # Compiler flag to generate shared objects directly from archives.
21444 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21446 # Whether the compiler copes with passing no objects directly.
21447 compiler_needs_object=$lt_compiler_needs_object
21449 # Create an old-style archive from a shared archive.
21450 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21452 # Create a temporary old-style archive to link instead of a shared archive.
21453 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21455 # Commands used to build a shared archive.
21456 archive_cmds=$lt_archive_cmds
21457 archive_expsym_cmds=$lt_archive_expsym_cmds
21459 # Commands used to build a loadable module if different from building
21460 # a shared archive.
21461 module_cmds=$lt_module_cmds
21462 module_expsym_cmds=$lt_module_expsym_cmds
21464 # Whether we are building with GNU ld or not.
21465 with_gnu_ld=$lt_with_gnu_ld
21467 # Flag that allows shared libraries with undefined symbols to be built.
21468 allow_undefined_flag=$lt_allow_undefined_flag
21470 # Flag that enforces no undefined symbols.
21471 no_undefined_flag=$lt_no_undefined_flag
21473 # Flag to hardcode \$libdir into a binary during linking.
21474 # This must work even if \$libdir does not exist
21475 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21477 # If ld is used when linking, flag to hardcode \$libdir into a binary
21478 # during linking. This must work even if \$libdir does not exist.
21479 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21481 # Whether we need a single "-rpath" flag with a separated argument.
21482 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21484 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21485 # DIR into the resulting binary.
21486 hardcode_direct=$hardcode_direct
21488 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21489 # DIR into the resulting binary and the resulting library dependency is
21490 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21491 # library is relocated.
21492 hardcode_direct_absolute=$hardcode_direct_absolute
21494 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21495 # into the resulting binary.
21496 hardcode_minus_L=$hardcode_minus_L
21498 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21499 # into the resulting binary.
21500 hardcode_shlibpath_var=$hardcode_shlibpath_var
21502 # Set to "yes" if building a shared library automatically hardcodes DIR
21503 # into the library and all subsequent libraries and executables linked
21505 hardcode_automatic=$hardcode_automatic
21507 # Set to yes if linker adds runtime paths of dependent libraries
21508 # to runtime path list.
21509 inherit_rpath=$inherit_rpath
21511 # Whether libtool must link a program against all its dependency libraries.
21512 link_all_deplibs=$link_all_deplibs
21514 # Fix the shell variable \$srcfile for the compiler.
21515 fix_srcfile_path=$lt_fix_srcfile_path
21517 # Set to "yes" if exported symbols are required.
21518 always_export_symbols=$always_export_symbols
21520 # The commands to list exported symbols.
21521 export_symbols_cmds=$lt_export_symbols_cmds
21523 # Symbols that should not be listed in the preloaded symbols.
21524 exclude_expsyms=$lt_exclude_expsyms
21526 # Symbols that must always be exported.
21527 include_expsyms=$lt_include_expsyms
21529 # Commands necessary for linking programs (against libraries) with templates.
21530 prelink_cmds=$lt_prelink_cmds
21532 # Specify filename containing input files.
21533 file_list_spec=$lt_file_list_spec
21535 # How to hardcode a shared library path into an executable.
21536 hardcode_action=$hardcode_action
21538 # ### END LIBTOOL CONFIG
21544 cat <<\_LT_EOF
>> "$cfgfile"
21545 # AIX sometimes has problems with the GCC collect2 program. For some
21546 # reason, if we set the COLLECT_NAMES environment variable, the problems
21547 # vanish in a puff of smoke.
21548 if test "X${COLLECT_NAMES+set}" != Xset
; then
21550 export COLLECT_NAMES
21557 ltmain
="$ac_aux_dir/ltmain.sh"
21560 # We use sed instead of cat because bash on DJGPP gets confused if
21561 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21562 # text mode, it properly converts lines to CR/LF. This bash problem
21563 # is reportedly fixed, but why not run on old versions too?
21564 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21565 ||
(rm -f "$cfgfile"; exit 1)
21569 cat << \_LT_EOF
>> "$cfgfile"
21571 # func_dirname file append nondir_replacement
21572 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21573 # otherwise set result to NONDIR_REPLACEMENT.
21577 */*) func_dirname_result
="${1%/*}${2}" ;;
21578 * ) func_dirname_result
="${3}" ;;
21582 # func_basename file
21585 func_basename_result
="${1##*/}"
21588 # func_dirname_and_basename file append nondir_replacement
21589 # perform func_basename and func_dirname in a single function
21591 # dirname: Compute the dirname of FILE. If nonempty,
21592 # add APPEND to the result, otherwise set result
21593 # to NONDIR_REPLACEMENT.
21594 # value returned in "$func_dirname_result"
21595 # basename: Compute filename of FILE.
21596 # value retuned in "$func_basename_result"
21597 # Implementation must be kept synchronized with func_dirname
21598 # and func_basename. For efficiency, we do not delegate to
21599 # those functions but instead duplicate the functionality here.
21600 func_dirname_and_basename
()
21603 */*) func_dirname_result
="${1%/*}${2}" ;;
21604 * ) func_dirname_result
="${3}" ;;
21606 func_basename_result
="${1##*/}"
21609 # func_stripname prefix suffix name
21610 # strip PREFIX and SUFFIX off of NAME.
21611 # PREFIX and SUFFIX must not contain globbing or regex special
21612 # characters, hashes, percent signs, but SUFFIX may contain a leading
21613 # dot (in which case that matches only a dot).
21616 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21617 # positional parameters, so assign one to ordinary parameter first.
21618 func_stripname_result
=${3}
21619 func_stripname_result
=${func_stripname_result#"${1}"}
21620 func_stripname_result
=${func_stripname_result%"${2}"}
21626 func_opt_split_opt
=${1%%=*}
21627 func_opt_split_arg
=${1#*=}
21634 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21635 *) func_lo2o_result
=${1} ;;
21639 # func_xform libobj-or-source
21642 func_xform_result
=${1%.*}.lo
21645 # func_arith arithmetic-term...
21648 func_arith_result
=$
(( $
* ))
21652 # STRING may not start with a hyphen.
21655 func_len_result
=${#1}
21660 *) # Bourne compatible functions.
21661 cat << \_LT_EOF
>> "$cfgfile"
21663 # func_dirname file append nondir_replacement
21664 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21665 # otherwise set result to NONDIR_REPLACEMENT.
21668 # Extract subdirectory from the argument.
21669 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21670 if test "X$func_dirname_result" = "X${1}"; then
21671 func_dirname_result
="${3}"
21673 func_dirname_result
="$func_dirname_result${2}"
21677 # func_basename file
21680 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21684 # func_stripname prefix suffix name
21685 # strip PREFIX and SUFFIX off of NAME.
21686 # PREFIX and SUFFIX must not contain globbing or regex special
21687 # characters, hashes, percent signs, but SUFFIX may contain a leading
21688 # dot (in which case that matches only a dot).
21689 # func_strip_suffix prefix name
21693 .
*) func_stripname_result
=`$ECHO "X${3}" \
21694 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21695 *) func_stripname_result
=`$ECHO "X${3}" \
21696 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21701 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21702 my_sed_long_arg
='1s/^-[^=]*=//'
21707 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21708 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21714 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21717 # func_xform libobj-or-source
21720 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21723 # func_arith arithmetic-term...
21726 func_arith_result
=`expr "$@"`
21730 # STRING may not start with a hyphen.
21733 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21739 case $lt_shell_append in
21741 cat << \_LT_EOF
>> "$cfgfile"
21743 # func_append var value
21744 # Append VALUE to the end of shell variable VAR.
21752 cat << \_LT_EOF
>> "$cfgfile"
21754 # func_append var value
21755 # Append VALUE to the end of shell variable VAR.
21766 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21767 ||
(rm -f "$cfgfile"; exit 1)
21769 mv -f "$cfgfile" "$ofile" ||
21770 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21774 "po-directories":C
)
21775 for ac_file
in $CONFIG_FILES; do
21776 # Support "outfile[:infile[:infile...]]"
21778 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21780 # PO directories have a Makefile.in generated from Makefile.in.in.
21781 case "$ac_file" in */Makefile.
in)
21782 # Adjust a relative srcdir.
21783 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
21784 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
21785 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
21786 # In autoconf-2.13 it is called $ac_given_srcdir.
21787 # In autoconf-2.50 it is called $srcdir.
21788 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
21789 case "$ac_given_srcdir" in
21790 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
21791 /*) top_srcdir
="$ac_given_srcdir" ;;
21792 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21794 # Treat a directory as a PO directory if and only if it has a
21795 # POTFILES.in file. This allows packages to have multiple PO
21796 # directories under different names or in different locations.
21797 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
21798 rm -f "$ac_dir/POTFILES"
21799 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
21800 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
21801 POMAKEFILEDEPS
="POTFILES.in"
21802 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
21803 # on $ac_dir but don't depend on user-specified configuration
21805 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
21806 # The LINGUAS file contains the set of available languages.
21807 if test -n "$OBSOLETE_ALL_LINGUAS"; then
21808 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
21810 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
21811 # Hide the ALL_LINGUAS assigment from automake < 1.5.
21812 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
21813 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
21815 # The set of available languages was given in configure.in.
21816 # Hide the ALL_LINGUAS assigment from automake < 1.5.
21817 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
21820 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
21821 # Compute UPDATEPOFILES
21822 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
21823 # Compute DUMMYPOFILES
21824 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
21826 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
21827 case "$ac_given_srcdir" in
21829 *) srcdirpre
='$(srcdir)/' ;;
21835 for lang
in $ALL_LINGUAS; do
21836 POFILES
="$POFILES $srcdirpre$lang.po"
21837 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
21838 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
21839 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
21841 # CATALOGS depends on both $ac_dir and the user's LINGUAS
21842 # environment variable.
21844 if test -n "$ALL_LINGUAS"; then
21845 for presentlang
in $ALL_LINGUAS; do
21847 if test "%UNSET%" != "$LINGUAS"; then
21848 desiredlanguages
="$LINGUAS"
21850 desiredlanguages
="$ALL_LINGUAS"
21852 for desiredlang
in $desiredlanguages; do
21853 # Use the presentlang catalog if desiredlang is
21854 # a. equal to presentlang, or
21855 # b. a variant of presentlang (because in this case,
21856 # presentlang can be used as a fallback for messages
21857 # which are not translated in the desiredlang catalog).
21858 case "$desiredlang" in
21859 "$presentlang"*) useit
=yes;;
21862 if test $useit = yes; then
21863 INST_LINGUAS
="$INST_LINGUAS $presentlang"
21868 if test -n "$INST_LINGUAS"; then
21869 for lang
in $INST_LINGUAS; do
21870 CATALOGS
="$CATALOGS $lang.gmo"
21873 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
21874 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"
21875 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
21876 if test -f "$f"; then
21878 *.orig |
*.bak |
*~
) ;;
21879 *) cat "$f" >> "$ac_dir/Makefile" ;;
21894 ac_clean_files
=$ac_clean_files_save
21896 test $ac_write_fail = 0 ||
21897 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21900 # configure is writing to config.log, and then calls config.status.
21901 # config.status does its own redirection, appending to config.log.
21902 # Unfortunately, on DOS this fails, as config.log is still kept open
21903 # by configure, so config.status won't be able to write to it; its
21904 # output is simply discarded. So we exec the FD to /dev/null,
21905 # effectively closing config.log, so it can be properly (re)opened and
21906 # appended to by config.status. When coming back to configure, we
21907 # need to make the FD available again.
21908 if test "$no_create" != yes; then
21910 ac_config_status_args
=
21911 test "$silent" = yes &&
21912 ac_config_status_args
="$ac_config_status_args --quiet"
21914 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21916 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21917 # would make configure fail if this is the last instruction.
21918 $ac_cs_success || as_fn_exit
1
21920 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21922 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}