2 # From configure.ac Rev:5 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.8.
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.8'
734 PACKAGE_STRING
='alpine 2.11.8'
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
870 MAINTAINER_MODE_FALSE
880 INSTALL_STRIP_PROGRAM
922 program_transform_name
935 enable_option_checking
936 enable_maintainer_mode
937 enable_dependency_tracking
951 enable_osx_universal_binaries
961 enable_background_post
969 with_simple_spellcheck
970 with_interactive_spellcheck
972 with_system_fixed_pinerc
973 with_local_support_info
974 with_mailcheck_interval
975 with_checkpoint_interval
976 with_checkpoint_frequency
979 with_max_display_rows
980 with_max_display_columns
986 with_forwarded_keyword
990 with_default_save_folder
991 with_default_legacy_postponed_folder
992 with_default_postponed_folder
993 with_default_trash_folder
994 with_default_interrupted_mail
995 with_default_dead_letter_folder
996 with_default_mail_directory
997 with_default_inbox_name
998 with_default_signature_file
999 with_default_elm_style_save
1000 with_default_header_in_reply
1001 with_default_old_style_reply
1002 with_default_use_only_domain_name
1003 with_default_save_by_sender
1004 with_default_sort_key
1005 with_default_addressbook_sort_rule
1006 with_default_folder_sort_rule
1007 with_default_saved_message_name_rule
1008 with_default_fcc_rule
1009 with_default_standard_printer
1010 with_default_ansi_printer
1011 with_default_addressbook
1012 with_default_local_fullname
1013 with_default_local_address
1014 with_default_keyboard_lock_count
1015 with_default_remote_addressbook_history
1016 with_smime_public_cert_directory
1017 with_smime_private_key_directory
1018 with_smime_cacert_directory
1019 with_default_printer
1021 with_local_password_cache
1022 with_local_password_cache_method
1023 with_default_sshpath
1028 with_ssl_include_dir
1032 with_krb5_include_dir
1036 with_ldap_include_dir
1044 with_system_mail_directory
1045 with_c_client_target
1048 ac_precious_vars
='build_alias
1059 # Initialize some variables set by options.
1061 ac_init_version
=false
1062 ac_unrecognized_opts
=
1063 ac_unrecognized_sep
=
1064 # The variables have the same names as the options, with
1065 # dashes changed to underlines.
1066 cache_file
=/dev
/null
1073 program_transform_name
=s
,x
,x
,
1081 # Installation directory options.
1082 # These are left unexpanded so users can "make install exec_prefix=/foo"
1083 # and all the variables that are supposed to be based on exec_prefix
1084 # by default will actually change.
1085 # Use braces instead of parens because sh, perl, etc. also accept them.
1086 # (The list follows the same order as the GNU Coding Standards.)
1087 bindir
='${exec_prefix}/bin'
1088 sbindir
='${exec_prefix}/sbin'
1089 libexecdir
='${exec_prefix}/libexec'
1090 datarootdir
='${prefix}/share'
1091 datadir
='${datarootdir}'
1092 sysconfdir
='${prefix}/etc'
1093 sharedstatedir
='${prefix}/com'
1094 localstatedir
='${prefix}/var'
1095 Includedir
='${prefix}/include'
1096 oldIncludedir
='/usr/include'
1097 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1098 infodir
='${datarootdir}/info'
1103 libdir
='${exec_prefix}/lib'
1104 localedir
='${datarootdir}/locale'
1105 mandir
='${datarootdir}/man'
1111 # If the previous option needs an argument, assign it.
1112 if test -n "$ac_prev"; then
1113 eval $ac_prev=\
$ac_option
1119 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1124 # Accept the important Cygnus configure options, so we can diagnose typos.
1126 case $ac_dashdash$ac_option in
1130 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1132 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1133 bindir
=$ac_optarg ;;
1135 -build |
--build |
--buil |
--bui |
--bu)
1136 ac_prev
=build_alias
;;
1137 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1138 build_alias
=$ac_optarg ;;
1140 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1141 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1142 ac_prev
=cache_file
;;
1143 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1144 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1145 cache_file
=$ac_optarg ;;
1147 --config-cache |
-C)
1148 cache_file
=config.cache
;;
1150 -datadir |
--datadir |
--datadi |
--datad)
1152 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1153 datadir
=$ac_optarg ;;
1155 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1156 |
--dataroo |
--dataro |
--datar)
1157 ac_prev
=datarootdir
;;
1158 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1159 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1160 datarootdir
=$ac_optarg ;;
1162 -disable-* |
--disable-*)
1163 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1166 as_fn_error $?
"invalid feature name: $ac_useropt"
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1171 "enable_
$ac_useropt"
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval enable_
$ac_useropt=no
;;
1178 -docdir |
--docdir |
--docdi |
--doc |
--do)
1180 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1181 docdir
=$ac_optarg ;;
1183 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1185 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1186 dvidir
=$ac_optarg ;;
1188 -enable-* |
--enable-*)
1189 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1192 as_fn_error $?
"invalid feature name: $ac_useropt"
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1197 "enable_
$ac_useropt"
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval enable_
$ac_useropt=\
$ac_optarg ;;
1204 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1205 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1206 |
--exec |
--exe |
--ex)
1207 ac_prev
=exec_prefix
;;
1208 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1209 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1210 |
--exec=* |
--exe=* |
--ex=*)
1211 exec_prefix
=$ac_optarg ;;
1213 -gas |
--gas |
--ga |
--g)
1214 # Obsolete; use --with-gas.
1217 -help |
--help |
--hel |
--he |
-h)
1218 ac_init_help
=long
;;
1219 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1220 ac_init_help
=recursive
;;
1221 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1222 ac_init_help
=short
;;
1224 -host |
--host |
--hos |
--ho)
1225 ac_prev
=host_alias
;;
1226 -host=* |
--host=* |
--hos=* |
--ho=*)
1227 host_alias
=$ac_optarg ;;
1229 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1231 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1233 htmldir
=$ac_optarg ;;
1235 -Includedir |
--includedir |
--includedi |
--included |
--include \
1236 |
--includ |
--inclu |
--incl |
--inc)
1237 ac_prev
=Includedir
;;
1238 -Includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1239 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1240 Includedir
=$ac_optarg ;;
1242 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1244 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1245 infodir
=$ac_optarg ;;
1247 -libdir |
--libdir |
--libdi |
--libd)
1249 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1250 libdir
=$ac_optarg ;;
1252 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1253 |
--libexe |
--libex |
--libe)
1254 ac_prev
=libexecdir
;;
1255 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1256 |
--libexe=* |
--libex=* |
--libe=*)
1257 libexecdir
=$ac_optarg ;;
1259 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1260 ac_prev
=localedir
;;
1261 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1262 localedir
=$ac_optarg ;;
1264 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1265 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1266 ac_prev
=localstatedir
;;
1267 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1268 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1269 localstatedir
=$ac_optarg ;;
1271 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1273 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1274 mandir
=$ac_optarg ;;
1276 -nfp |
--nfp |
--nf)
1277 # Obsolete; use --without-fp.
1280 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1281 |
--no-cr |
--no-c |
-n)
1284 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1285 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1288 -oldIncludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1289 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1290 |
--oldin |
--oldi |
--old |
--ol |
--o)
1291 ac_prev
=oldIncludedir
;;
1292 -oldIncludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1293 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1294 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1295 oldIncludedir
=$ac_optarg ;;
1297 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1299 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1300 prefix
=$ac_optarg ;;
1302 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1303 |
--program-pre |
--program-pr |
--program-p)
1304 ac_prev
=program_prefix
;;
1305 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1306 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1307 program_prefix
=$ac_optarg ;;
1309 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1310 |
--program-suf |
--program-su |
--program-s)
1311 ac_prev
=program_suffix
;;
1312 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1313 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1314 program_suffix
=$ac_optarg ;;
1316 -program-transform-name |
--program-transform-name \
1317 |
--program-transform-nam |
--program-transform-na \
1318 |
--program-transform-n |
--program-transform- \
1319 |
--program-transform |
--program-transfor \
1320 |
--program-transfo |
--program-transf \
1321 |
--program-trans |
--program-tran \
1322 |
--progr-tra |
--program-tr |
--program-t)
1323 ac_prev
=program_transform_name
;;
1324 -program-transform-name=* |
--program-transform-name=* \
1325 |
--program-transform-nam=* |
--program-transform-na=* \
1326 |
--program-transform-n=* |
--program-transform-=* \
1327 |
--program-transform=* |
--program-transfor=* \
1328 |
--program-transfo=* |
--program-transf=* \
1329 |
--program-trans=* |
--program-tran=* \
1330 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1331 program_transform_name
=$ac_optarg ;;
1333 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1335 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1336 pdfdir
=$ac_optarg ;;
1338 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1340 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1343 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1344 |
-silent |
--silent |
--silen |
--sile |
--sil)
1347 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1349 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1351 sbindir
=$ac_optarg ;;
1353 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1354 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1355 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1357 ac_prev
=sharedstatedir
;;
1358 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1359 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1360 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1362 sharedstatedir
=$ac_optarg ;;
1364 -site |
--site |
--sit)
1366 -site=* |
--site=* |
--sit=*)
1369 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1371 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1372 srcdir
=$ac_optarg ;;
1374 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1375 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1376 ac_prev
=sysconfdir
;;
1377 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1378 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1379 sysconfdir
=$ac_optarg ;;
1381 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1382 ac_prev
=target_alias
;;
1383 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1384 target_alias
=$ac_optarg ;;
1386 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1389 -version |
--version |
--versio |
--versi |
--vers |
-V)
1390 ac_init_version
=: ;;
1393 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1394 # Reject names that are not valid shell variable names.
1395 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1396 as_fn_error $?
"invalid package name: $ac_useropt"
1397 ac_useropt_orig
=$ac_useropt
1398 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1399 case $ac_user_opts in
1403 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1404 ac_unrecognized_sep
=', ';;
1406 eval with_
$ac_useropt=\
$ac_optarg ;;
1408 -without-* |
--without-*)
1409 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1412 as_fn_error $?
"invalid package name: $ac_useropt"
1413 ac_useropt_orig
=$ac_useropt
1414 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1415 case $ac_user_opts in
1419 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1420 ac_unrecognized_sep
=', ';;
1422 eval with_
$ac_useropt=no
;;
1425 # Obsolete; use --with-x.
1428 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1429 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1430 ac_prev
=x_includes
;;
1431 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1432 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1433 x_includes
=$ac_optarg ;;
1435 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1436 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1437 ac_prev
=x_libraries
;;
1438 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1439 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1440 x_libraries
=$ac_optarg ;;
1442 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1443 Try \`$0 --help' for more information"
1447 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1448 # Reject names that are not valid shell variable names.
1449 case $ac_envvar in #(
1450 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1451 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1453 eval $ac_envvar=\
$ac_optarg
1454 export $ac_envvar ;;
1457 # FIXME: should be removed in autoconf 3.0.
1458 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1459 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1460 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1461 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1467 if test -n "$ac_prev"; then
1468 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1469 as_fn_error $?
"missing argument to $ac_option"
1472 if test -n "$ac_unrecognized_opts"; then
1473 case $enable_option_checking in
1475 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1476 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1480 # Check all directory arguments for consistency.
1481 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1482 datadir sysconfdir sharedstatedir localstatedir Includedir \
1483 oldIncludedir docdir infodir htmldir dvidir pdfdir psdir \
1484 libdir localedir mandir
1486 eval ac_val
=\$
$ac_var
1487 # Remove trailing slashes.
1490 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1491 eval $ac_var=\
$ac_val;;
1493 # Be sure to have absolute directory names.
1495 [\\/$
]* | ?
:[\\/]* ) continue;;
1496 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1498 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1501 # There might be people who depend on the old broken behavior: `$host'
1502 # used to hold the argument of --host etc.
1503 # FIXME: To remove some day.
1506 target
=$target_alias
1508 # FIXME: To remove some day.
1509 if test "x$host_alias" != x
; then
1510 if test "x$build_alias" = x
; then
1511 cross_compiling
=maybe
1512 elif test "x$build_alias" != "x$host_alias"; then
1518 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1520 test "$silent" = yes && exec 6>/dev
/null
1523 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1524 ac_ls_di
=`ls -di .` &&
1525 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1526 as_fn_error $?
"working directory cannot be determined"
1527 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1528 as_fn_error $?
"pwd does not report name of working directory"
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted
=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir
=`$as_dirname -- "$as_myself" ||
1536 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$as_myself" : 'X\(//\)[^/]' \| \
1538 X"$as_myself" : 'X\(//\)$' \| \
1539 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1540 $as_echo X"$as_myself" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1563 ac_srcdir_defaulted
=no
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1567 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1569 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1573 # When building in place, set srcdir=.
1574 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 # Remove unnecessary trailing slashes from srcdir.
1578 # Double slashes in file names in object file debugging info
1579 # mess up M-x gdb in Emacs.
1581 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1583 for ac_var
in $ac_precious_vars; do
1584 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1585 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1586 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1587 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1591 # Report the --help message.
1593 if test "$ac_init_help" = "long"; then
1594 # Omit some internal or obsolete options to make the list less imposing.
1595 # This message is too long to be a string in the A/UX 3.1 sh.
1597 \`configure' configures alpine 2.11.8 to adapt to many kinds of systems.
1599 Usage: $0 [OPTION]... [VAR=VALUE]...
1601 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1602 VAR=VALUE. See below for descriptions of some of the useful variables.
1604 Defaults for the options are specified in brackets.
1607 -h, --help display this help and exit
1608 --help=short display options specific to this package
1609 --help=recursive display the short help of all the Included packages
1610 -V, --version display version information and exit
1611 -q, --quiet, --silent do not print \`checking ...' messages
1612 --cache-file=FILE cache test results in FILE [disabled]
1613 -C, --config-cache alias for \`--cache-file=config.cache'
1614 -n, --no-create do not create output files
1615 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1617 Installation directories:
1618 --prefix=PREFIX install architecture-independent files in PREFIX
1619 [$ac_default_prefix]
1620 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 By default, \`make install' will install all the files in
1624 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1625 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1626 for instance \`--prefix=\$HOME'.
1628 For better control, use the options below.
1630 Fine tuning of the installation directories:
1631 --bindir=DIR user executables [EPREFIX/bin]
1632 --sbindir=DIR system admin executables [EPREFIX/sbin]
1633 --libexecdir=DIR program executables [EPREFIX/libexec]
1634 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1635 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1636 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1637 --libdir=DIR object code libraries [EPREFIX/lib]
1638 --Includedir=DIR C header files [PREFIX/include]
1639 --oldIncludedir=DIR C header files for non-gcc [/usr/include]
1640 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1641 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1642 --infodir=DIR info documentation [DATAROOTDIR/info]
1643 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1644 --mandir=DIR man documentation [DATAROOTDIR/man]
1645 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1646 --htmldir=DIR html documentation [DOCDIR]
1647 --dvidir=DIR dvi documentation [DOCDIR]
1648 --pdfdir=DIR pdf documentation [DOCDIR]
1649 --psdir=DIR ps documentation [DOCDIR]
1655 --program-prefix=PREFIX prepend PREFIX to installed program names
1656 --program-suffix=SUFFIX append SUFFIX to installed program names
1657 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1660 --build=BUILD configure
for building on BUILD
[guessed
]
1661 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1665 if test -n "$ac_init_help"; then
1666 case $ac_init_help in
1667 short | recursive
) echo "Configuration of alpine 2.11.8:";;
1672 --disable-option-checking ignore unrecognized
--enable/--with options
1673 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1674 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1675 --enable-maintainer-mode enable make rules and dependencies not useful
1676 (and sometimes confusing
) to the casual installer
1677 --disable-dependency-tracking speeds up one-time build
1678 --enable-dependency-tracking do not reject slow dependency extractors
1679 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1680 --enable-static[=PKGS
] build static libraries
[default
=yes]
1681 --enable-fast-install[=PKGS
]
1682 optimize
for fast installation
[default
=yes]
1683 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1684 --disable-nls do not use Native Language Support
1685 --disable-rpath do not hardcode runtime library paths
1686 --enable-dmalloc Enable dmalloc debugging
1687 --enable-osx-universal-binaries
1688 Produce universal binaries under OS X
[[default
=no
]]
1689 --disable-debug Exclude debug messages from
source
1690 --disable-optimization Exclude optimizing compiler flags
1691 --disable-mouse Disable mouse support
1692 --enable-quotas Enable disk quota checking on startup
1693 --disable-from-changing Disallow users changing From addresss
1694 --disable-background-post
1695 Disable background posting
1696 --disable-keyboard-lock Disable keyboard locking
1697 --enable-from-encoding Enable From encoding
in sent messages
1700 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1701 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1702 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1704 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1705 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1706 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1707 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1708 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1709 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1710 --with-dmalloc-dir=DIR Root of dmalloc lib
/include path
1711 --with-localedir=DIR Name of
gettext locale directory
1712 --with-include-path=PATHS
1713 Colon-separated list of directories used
for include
1715 --with-lib-path=PATHS Colon-separated list of directories used
for library
1717 --with-pubcookie Include support
for UW-Pubcookie Web Authentication
1718 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1719 --with-smtp-msa=PATH Local Mail Submission Agent
(sendmail
)
1720 --with-smtp-msa-flags=FLAGS
1721 MSA flags
for SMTP on stdin
/stdout
(-bs -odb -oem)
1722 --with-npa=PATH Posting agent when no nntp-servers defined
(inews
)
1723 --with-npa-flags=FLAGS Flags to allow posting via
local agent
(-h)
1724 --with-password-prog=PATH
1725 Password change program
(/bin
/passwd
)
1726 --with-simple-spellcheck=PROG
1727 Spellcheck program reads stdin
, emits misspellings
1729 --with-interactive-spellcheck=PROG
1730 Interactive
, filewise spell checker
1731 --with-system-pinerc=VALUE
1732 System pinerc
(/usr
/local
/lib
/pine.conf
)
1733 --with-system-fixed-pinerc=VALUE
1734 System fixed pinerc
(/usr
/local
/lib
/pine.conf.fixed
)
1735 --with-local-support-info=VALUE
1736 Local Support Info File
(/usr
/local
/lib
/pine.info
)
1737 --with-mailcheck-interval=VALUE
1738 Specify default mail-check-interval
(150)
1739 --with-checkpoint-interval=VALUE
1740 Specify default checkpoint-interval
(420)
1741 --with-checkpoint-frequency=VALUE
1742 State change count before checkpoint
(12)
1743 --with-display-rows=VALUE
1744 Initial rows on display
(24)
1745 --with-display-columns=VALUE
1746 Initial columns on display
(80)
1747 --with-max-display-rows=VALUE
1748 Maximum display rows
(200)
1749 --with-max-display-columns=VALUE
1750 Maximum display columns
(500)
1751 --with-fill-column=VALUE
1752 Default fill
column (74)
1753 --with-max_fill-column=VALUE
1754 Maximum fill
column (80)
1755 --with-debug-level=VALUE
1756 Specify default debug verbosity level
(2)
1757 --with-debug-files=VALUE
1758 Specify number of debug files
(4)
1759 --with-debug-file=VALUE Specify debug
file name
(.pine-debug
)
1760 --with-forwarded-keyword=VALUE
1761 IMAP
(c-client
) keyword to store forwarded status
1763 --with-display-overlap=VALUE
1764 Lines preserved
while paging
(2)
1765 --with-display-margin=VALUE
1766 Lines visible
while scrolling
(0)
1767 --with-default-fcc=VALUE
1768 Default sent
mail folder
(sent-mail
)
1769 --with-default-save-folder=VALUE
1770 Default save folder
(saved-messages
)
1771 --with-default-legacy-postponed-folder=VALUE
1772 Pre Pine
3.90 postponed folder
(postponed-mail
)
1773 --with-default-postponed-folder=VALUE
1774 Default postponed folder
(postponed-msgs
)
1775 --with-default-trash-folder=VALUE
1776 Default Trash folder
for Web Alpine
(Trash
)
1777 --with-default-interrupted-mail=VALUE
1778 Default folder
for interrupted
mail
1779 (.pine-interrupted-mail
)
1780 --with-default-dead-letter-folder=VALUE
1781 Default dead letter folder
(dead.letter
)
1782 --with-default-mail-directory=VALUE
1783 Default
mail directory
(mail)
1784 --with-default-inbox-name=VALUE
1785 Default inbox name
(INBOX
)
1786 --with-default-signature-file=VALUE
1787 Default signature
file (.signature
)
1788 --with-default-elm-style-save=VALUE
1789 Default to Elm style save
(no
)
1790 --with-default-header-in-reply=VALUE
1791 Include header
in reply
(no
)
1792 --with-default-old-style-reply=VALUE
1793 Default to old style reply
(no
)
1794 --with-default-use-only-domain-name=VALUE
1795 Default to using only the domain name
(no
)
1796 --with-default-save-by-sender=VALUE
1797 Default to save by sender
(no
)
1798 --with-default-sort-key=VALUE
1799 Default
sort key
(arrival
)
1800 --with-default-addressbook-sort-rule=VALUE
1801 Default addressbook
sort rule
1802 (fullname-with-lists-last
)
1803 --with-default-folder-sort-rule=VALUE
1804 Default folder
sort rule
(alphabetical
)
1805 --with-default-saved-message-name-rule=VALUE
1806 Default saved message name rule
(default-folder
)
1807 --with-default-fcc-rule=VALUE
1808 Default fcc rule
(default-fcc
)
1809 --with-default-standard-printer=VALUE
1810 Default standard printern
(lpr
)
1811 --with-default-ansi-printer=VALUE
1812 ANSI printer definition
(attached-to-ansi
)
1813 --with-default-addressbook=VALUE
1814 Default addressbook name
(.addressbook
)
1815 --with-default-local-fullname=VALUE
1816 Default
local support fullname
("Local Support")
1817 --with-default-local-address=VALUE
1818 Default
local support address
(postmaster
)
1819 --with-default-keyboard-lock-count=VALUE
1820 Default keyboard lock count
(1)
1821 --with-default-remote-addressbook-history=VALUE
1822 Default address book
history count
(3)
1823 --with-smime-public-cert-directory=VALUE
1824 Default Public Cert Directory
(.alpine-smime
/public
)
1825 --with-smime-private-key-directory=VALUE
1826 Default Private Key Directory
1827 (.alpine-smime
/private
)
1828 --with-smime-cacert-directory=VALUE
1829 Default Cert Authority Directory
(.alpine-smime
/ca
)
1830 --with-default-printer=VALUE
1831 Default printer
(ANSI_PRINTER
)
1832 --with-passfile=FILENAME
1833 Password cache
file (NOT secure
, NOT recommended
)
1834 --without-local-password-cache
1835 Disable OS-specific password cache
, if supported
1836 --with-local-password-cache-method
1837 OS-specific credential cache
(OSX
=APPLEKEYCHAIN
,
1839 --with-default-sshpath=FILENAME
1840 set default value of
ssh command path
(defining
1841 should cause
ssh to be preferred to
rsh)
1842 --with-default-sshcmd=PERCENT_S_STRING
1843 set default value of
ssh command string
(usually
"%s
1844 %s -l %s exec /etc/r%sd")
1845 --without-ssl Disable SSL support
(OpenSSL
)
1846 --with-ssl-dir=DIR Root of SSL lib
/include path
1847 --with-ssl-certs-dir=DIR
1848 Path to SSL certificate directory
1849 --with-ssl-include-dir=DIR
1850 SSL include
file path
1851 --with-ssl-lib-dir=DIR SSL library path
1852 --without-krb5 Disable Kerberos support
1853 --with-krb5-dir=DIR Root of Kerberos lib
/include path
1854 --with-krb5-include-dir=DIR
1855 Kerberos include
file path
1856 --with-krb5-lib-dir=DIR Kerberos library path
1857 --without-ldap Disable LDAP query support
1858 --with-ldap-dir=DIR Root of LDAP lib
/include path
1859 --with-ldap-include-dir=DIR
1860 Directory containing LDAP include files
1861 --with-ldap-lib-dir=DIR LDAP library path
1862 --without-smime Disable S
/MIME
1863 --without-tcl Disable TCL
, thus Web Alpine support
1864 --with-tcl-lib=LIBRARY Specific TCL Library
, like
\"tcl8.6
\"
1865 --with-tcl-include=DIR Directory containing TCL include files
1866 --with-supplied-regex Use regex library supplied with alpine
1867 --without-pthread Do NOT
test for nor build with POSIX thread support
1868 --with-system-mail-directory=DIR
1869 Directory where
local mail is delivered
1870 --with-c-client-target=TARGET
1871 IMAP build target
(see imap
/Makefile
)
1872 --without-ipv6 Disable IPv6
, primarily to work around resolver
1875 Some influential environment variables
:
1876 CC C compiler
command
1877 CFLAGS C compiler flags
1878 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1879 nonstandard directory
<lib dir
>
1880 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1881 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1882 you have headers
in a nonstandard directory
<include dir
>
1885 Use these variables to override the choices made by
`configure' or to help
1886 it to find libraries and programs with nonstandard names/locations.
1888 Report bugs to <chappa@washington.edu>.
1893 if test "$ac_init_help" = "recursive"; then
1894 # If there are subdirs, report their specific --help.
1895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1896 test -d "$ac_dir" ||
1897 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1902 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1904 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1905 # A ".." for each directory in $ac_dir_suffix.
1906 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1907 case $ac_top_builddir_sub in
1908 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1909 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1912 ac_abs_top_builddir=$ac_pwd
1913 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1914 # for backward compatibility:
1915 ac_top_builddir=$ac_top_build_prefix
1918 .) # We are building in place.
1920 ac_top_srcdir=$ac_top_builddir_sub
1921 ac_abs_top_srcdir=$ac_pwd ;;
1922 [\\/]* | ?:[\\/]* ) # Absolute name.
1923 ac_srcdir=$srcdir$ac_dir_suffix;
1924 ac_top_srcdir=$srcdir
1925 ac_abs_top_srcdir=$srcdir ;;
1927 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1928 ac_top_srcdir=$ac_top_build_prefix$srcdir
1929 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1931 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1933 cd "$ac_dir" || { ac_status=$?; continue; }
1934 # Check for guested configure.
1935 if test -f "$ac_srcdir/configure.gnu"; then
1937 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1938 elif test -f "$ac_srcdir/configure"; then
1940 $SHELL "$ac_srcdir/configure" --help=recursive
1942 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1944 cd "$ac_pwd" || { ac_status=$?; break; }
1948 test -n "$ac_init_help" && exit $ac_status
1949 if $ac_init_version; then
1951 alpine configure 2.11.8
1952 generated by GNU Autoconf 2.69
1954 Copyright (C) 2012 Free Software Foundation, Inc.
1955 This configure script is free software; the Free Software Foundation
1956 gives unlimited permission to copy, distribute and modify it.
1961 ## ------------------------ ##
1962 ## Autoconf initialization. ##
1963 ## ------------------------ ##
1965 # ac_fn_c_try_compile LINENO
1966 # --------------------------
1967 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1968 ac_fn_c_try_compile ()
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 rm -f conftest.$ac_objext
1972 if { { ac_try="$ac_compile"
1974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1975 *) ac_try_echo
=$ac_try;;
1977 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1978 $as_echo "$ac_try_echo"; } >&5
1979 (eval "$ac_compile") 2>conftest.err
1981 if test -s conftest.err
; then
1982 grep -v '^ *+' conftest.err
>conftest.er1
1983 cat conftest.er1
>&5
1984 mv -f conftest.er1 conftest.err
1986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1987 test $ac_status = 0; } && {
1988 test -z "$ac_c_werror_flag" ||
1989 test ! -s conftest.err
1990 } && test -s conftest.
$ac_objext; then :
1993 $as_echo "$as_me: failed program was:" >&5
1994 sed 's/^/| /' conftest.
$ac_ext >&5
1998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999 as_fn_set_status
$ac_retval
2001 } # ac_fn_c_try_compile
2003 # ac_fn_c_try_link LINENO
2004 # -----------------------
2005 # Try to link conftest.$ac_ext, and return whether this succeeded.
2008 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2009 rm -f conftest.
$ac_objext conftest
$ac_exeext
2010 if { { ac_try
="$ac_link"
2012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2013 *) ac_try_echo=$ac_try;;
2015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2016 $as_echo "$ac_try_echo"; } >&5
2017 (eval "$ac_link") 2>conftest.err
2019 if test -s conftest.err; then
2020 grep -v '^ *+' conftest.err >conftest.er1
2021 cat conftest.er1 >&5
2022 mv -f conftest.er1 conftest.err
2024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2025 test $ac_status = 0; } && {
2026 test -z "$ac_c_werror_flag" ||
2027 test ! -s conftest.err
2028 } && test -s conftest$ac_exeext && {
2029 test "$cross_compiling" = yes ||
2030 test -x conftest$ac_exeext
2034 $as_echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.$ac_ext >&5
2039 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2040 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2041 # interfere with the next link command; also delete a directory that is
2042 # left behind by Apple's compiler. We do this before executing the actions.
2043 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2044 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2045 as_fn_set_status $ac_retval
2047 } # ac_fn_c_try_link
2049 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2050 # -------------------------------------------------------
2051 # Tests whether HEADER exists and can be compiled using the include files in
2052 # INCLUDES, setting the cache variable VAR accordingly.
2053 ac_fn_c_check_header_compile ()
2055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2057 $as_echo_n "checking for $2... " >&6; }
2058 if eval \${$3+:} false; then :
2059 $as_echo_n "(cached) " >&6
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2066 if ac_fn_c_try_compile "$LINENO"; then :
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078 } # ac_fn_c_check_header_compile
2080 # ac_fn_c_try_cpp LINENO
2081 # ----------------------
2082 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2085 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086 if { { ac_try="$ac_cpp conftest.$ac_ext"
2088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2089 *) ac_try_echo
=$ac_try;;
2091 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092 $as_echo "$ac_try_echo"; } >&5
2093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2095 if test -s conftest.err
; then
2096 grep -v '^ *+' conftest.err
>conftest.er1
2097 cat conftest.er1
>&5
2098 mv -f conftest.er1 conftest.err
2100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2101 test $ac_status = 0; } > conftest.i
&& {
2102 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2103 test ! -s conftest.err
2107 $as_echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.
$ac_ext >&5
2112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2113 as_fn_set_status
$ac_retval
2117 # ac_fn_c_try_run LINENO
2118 # ----------------------
2119 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2120 # that executables *can* be run.
2123 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2124 if { { ac_try
="$ac_link"
2126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2127 *) ac_try_echo=$ac_try;;
2129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2130 $as_echo "$ac_try_echo"; } >&5
2131 (eval "$ac_link") 2>&5
2133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2134 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2135 { { case "(($ac_try" in
2136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2137 *) ac_try_echo
=$ac_try;;
2139 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2140 $as_echo "$ac_try_echo"; } >&5
2141 (eval "$ac_try") 2>&5
2143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144 test $ac_status = 0; }; }; then :
2147 $as_echo "$as_me: program exited with status $ac_status" >&5
2148 $as_echo "$as_me: failed program was:" >&5
2149 sed 's/^/| /' conftest.
$ac_ext >&5
2151 ac_retval
=$ac_status
2153 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2154 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2155 as_fn_set_status
$ac_retval
2159 # ac_fn_c_check_func LINENO FUNC VAR
2160 # ----------------------------------
2161 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2162 ac_fn_c_check_func
()
2164 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2166 $as_echo_n "checking for $2... " >&6; }
2167 if eval \
${$3+:} false
; then :
2168 $as_echo_n "(cached) " >&6
2170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2171 /* end confdefs.h. */
2172 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2174 #define $2 innocuous_$2
2176 /* System header to define __stub macros and hopefully few prototypes,
2177 which can conflict with char $2 (); below.
2178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2179 <limits.h> exists even on freestanding compilers. */
2182 # include <limits.h>
2184 # include <assert.h>
2189 /* Override any GCC internal prototype to avoid an error.
2190 Use char because int might match the return type of a GCC
2191 builtin and then its argument prototype would still apply. */
2196 /* The GNU C library defines this for functions which it implements
2197 to always fail with ENOSYS. Some functions are actually named
2198 something starting with __ and the normal name is an alias. */
2199 #if defined __stub_$2 || defined __stub___$2
2211 if ac_fn_c_try_link
"$LINENO"; then :
2216 rm -f core conftest.err conftest.
$ac_objext \
2217 conftest
$ac_exeext conftest.
$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2221 $as_echo "$ac_res" >&6; }
2222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2224 } # ac_fn_c_check_func
2226 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2227 # -------------------------------------------------------
2228 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2229 # the include files in INCLUDES and setting the cache variable VAR
2231 ac_fn_c_check_header_mongrel
()
2233 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2234 if eval \
${$3+:} false
; then :
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if eval \
${$3+:} false
; then :
2238 $as_echo_n "(cached) " >&6
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2242 $as_echo "$ac_res" >&6; }
2244 # Is the header compilable?
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2246 $as_echo_n "checking $2 usability... " >&6; }
2247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2248 /* end confdefs.h. */
2252 if ac_fn_c_try_compile
"$LINENO"; then :
2253 ac_header_compiler
=yes
2255 ac_header_compiler
=no
2257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2259 $as_echo "$ac_header_compiler" >&6; }
2261 # Is the header present?
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2263 $as_echo_n "checking $2 presence... " >&6; }
2264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h. */
2268 if ac_fn_c_try_cpp
"$LINENO"; then :
2269 ac_header_preproc
=yes
2271 ac_header_preproc
=no
2273 rm -f conftest.err conftest.i conftest.
$ac_ext
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2275 $as_echo "$ac_header_preproc" >&6; }
2277 # So? What about this header?
2278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2281 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2283 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2287 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2289 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2291 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2293 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2295 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2296 ( $as_echo "## ------------------------------------ ##
2297 ## Report this to chappa@washington.edu ##
2298 ## ------------------------------------ ##"
2299 ) |
sed "s/^/$as_me: WARNING: /" >&2
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2303 $as_echo_n "checking for $2... " >&6; }
2304 if eval \
${$3+:} false
; then :
2305 $as_echo_n "(cached) " >&6
2307 eval "$3=\$ac_header_compiler"
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2313 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2315 } # ac_fn_c_check_header_mongrel
2317 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2318 # -------------------------------------------
2319 # Tests whether TYPE exists after having Included INCLUDES, setting cache
2320 # variable VAR accordingly.
2321 ac_fn_c_check_type
()
2323 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2325 $as_echo_n "checking for $2... " >&6; }
2326 if eval \
${$3+:} false
; then :
2327 $as_echo_n "(cached) " >&6
2330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2342 if ac_fn_c_try_compile
"$LINENO"; then :
2343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h. */
2355 if ac_fn_c_try_compile
"$LINENO"; then :
2360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2366 $as_echo "$ac_res" >&6; }
2367 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2369 } # ac_fn_c_check_type
2371 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2372 # --------------------------------------------
2373 # Tries to find the compile-time value of EXPR in a program that includes
2374 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2376 ac_fn_c_compute_int
()
2378 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2379 if test "$cross_compiling" = yes; then
2380 # Depending upon the size, compute the lo and hi bounds.
2381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2387 static int test_array [1 - 2 * !(($2) >= 0)];
2389 return test_array [0];
2395 if ac_fn_c_try_compile
"$LINENO"; then :
2398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2404 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2406 return test_array [0];
2412 if ac_fn_c_try_compile
"$LINENO"; then :
2413 ac_hi
=$ac_mid; break
2415 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2416 if test $ac_lo -le $ac_mid; then
2420 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2431 static int test_array [1 - 2 * !(($2) < 0)];
2433 return test_array [0];
2439 if ac_fn_c_try_compile
"$LINENO"; then :
2442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2448 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2450 return test_array [0];
2456 if ac_fn_c_try_compile
"$LINENO"; then :
2457 ac_lo
=$ac_mid; break
2459 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2460 if test $ac_mid -le $ac_hi; then
2464 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2474 # Binary search between lo and hi bounds.
2475 while test "x$ac_lo" != "x$ac_hi"; do
2476 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2483 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2485 return test_array [0];
2491 if ac_fn_c_try_compile
"$LINENO"; then :
2494 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2499 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2504 /* end confdefs.h. */
2506 static long int longval () { return $2; }
2507 static unsigned long int ulongval () { return $2; }
2514 FILE *f = fopen ("conftest.val", "w");
2519 long int i = longval ();
2522 fprintf (f, "%ld", i);
2526 unsigned long int i = ulongval ();
2529 fprintf (f, "%lu", i);
2531 /* Do not output a trailing newline, as this causes \r\n confusion
2532 on some platforms. */
2533 return ferror (f) || fclose (f) != 0;
2539 if ac_fn_c_try_run
"$LINENO"; then :
2540 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2544 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2545 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status
$ac_retval
2552 } # ac_fn_c_compute_int
2553 cat >config.log
<<_ACEOF
2554 This file contains any messages produced by compilers while
2555 running configure, to aid debugging if configure makes a mistake.
2557 It was created by alpine $as_me 2.11.8, which was
2558 generated by GNU Autoconf 2.69. Invocation command line was
2570 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2571 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2572 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2573 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2574 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2576 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2577 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2579 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2580 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2581 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2582 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2583 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2584 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2585 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 $as_echo "PATH: $as_dir"
2610 # Keep a trace of the command line.
2611 # Strip out --no-create and --no-recursion so they do not pile up.
2612 # Strip out --silent because we don't want to record it for future runs.
2613 # Also quote any args containing shell meta-characters.
2614 # Make two passes to allow for proper duplicate-argument suppression.
2618 ac_must_keep_next
=false
2624 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2625 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2626 |
-silent |
--silent |
--silen |
--sile |
--sil)
2629 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2632 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2634 as_fn_append ac_configure_args1
" '$ac_arg'"
2635 if test $ac_must_keep_next = true
; then
2636 ac_must_keep_next
=false
# Got value, back to normal.
2639 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2640 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2641 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2642 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2643 case "$ac_configure_args0 " in
2644 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2647 -* ) ac_must_keep_next
=true
;;
2650 as_fn_append ac_configure_args
" '$ac_arg'"
2655 { ac_configure_args0
=; unset ac_configure_args0
;}
2656 { ac_configure_args1
=; unset ac_configure_args1
;}
2658 # When interrupted or exit'd, cleanup temporary files, and complete
2659 # config.log. We remove comments because anyway the quotes in there
2660 # would cause problems or look ugly.
2661 # WARNING: Use '\'' to represent an apostrophe within the trap.
2662 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2663 trap 'exit_status=$?
2664 # Save into config.log some information that might help in debugging.
2668 $as_echo "## ---------------- ##
2669 ## Cache variables. ##
2670 ## ---------------- ##"
2672 # The following way of writing the cache mishandles newlines in values,
2674 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2675 eval ac_val=\$$ac_var
2679 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2680 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2683 _ | IFS | as_nl) ;; #(
2684 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2685 *) { eval $ac_var=; unset $ac_var;} ;;
2690 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2691 *${as_nl}ac_space=\ *)
2693 "s/'\''/'\''\\\\'\'''\''/g;
2694 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2697 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2704 $as_echo "## ----------------- ##
2705 ## Output variables. ##
2706 ## ----------------- ##"
2708 for ac_var in $ac_subst_vars
2710 eval ac_val=\$$ac_var
2712 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2714 $as_echo "$ac_var='\''$ac_val'\''"
2718 if test -n "$ac_subst_files"; then
2719 $as_echo "## ------------------- ##
2720 ## File substitutions. ##
2721 ## ------------------- ##"
2723 for ac_var
in $ac_subst_files
2725 eval ac_val
=\$
$ac_var
2727 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2729 $as_echo "$ac_var='\''$ac_val'\''"
2734 if test -s confdefs.h; then
2735 $as_echo "## ----------- ##
2742 test "$ac_signal" != 0 &&
2743 $as_echo "$as_me: caught signal $ac_signal"
2744 $as_echo "$as_me: exit $exit_status"
2746 rm -f core *.core core.conftest.* &&
2747 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2750 for ac_signal
in 1 2 13 15; do
2751 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2755 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2756 rm -f -r conftest
* confdefs.h
2758 $as_echo "/* confdefs.h */" > confdefs.h
2760 # Predefined preprocessor variables.
2762 cat >>confdefs.h
<<_ACEOF
2763 #define PACKAGE_NAME "$PACKAGE_NAME"
2766 cat >>confdefs.h
<<_ACEOF
2767 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2770 cat >>confdefs.h
<<_ACEOF
2771 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2774 cat >>confdefs.h
<<_ACEOF
2775 #define PACKAGE_STRING "$PACKAGE_STRING"
2778 cat >>confdefs.h
<<_ACEOF
2779 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2782 cat >>confdefs.h
<<_ACEOF
2783 #define PACKAGE_URL "$PACKAGE_URL"
2787 # Let the site file select an alternate cache file if it wants to.
2788 # Prefer an explicitly selected file to automatically selected ones.
2791 if test -n "$CONFIG_SITE"; then
2792 # We do not want a PATH search for config.site.
2793 case $CONFIG_SITE in #((
2794 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2795 */*) ac_site_file1
=$CONFIG_SITE;;
2796 *) ac_site_file1
=.
/$CONFIG_SITE;;
2798 elif test "x$prefix" != xNONE
; then
2799 ac_site_file1
=$prefix/share
/config.site
2800 ac_site_file2
=$prefix/etc
/config.site
2802 ac_site_file1
=$ac_default_prefix/share
/config.site
2803 ac_site_file2
=$ac_default_prefix/etc
/config.site
2805 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2807 test "x$ac_site_file" = xNONE
&& continue
2808 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2810 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2811 sed 's/^/| /' "$ac_site_file" >&5
2813 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2815 as_fn_error $?
"failed to load site script $ac_site_file
2816 See \`config.log' for more details" "$LINENO" 5; }
2820 if test -r "$cache_file"; then
2821 # Some versions of bash will fail to source /dev/null (special files
2822 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2823 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2825 $as_echo "$as_me: loading cache $cache_file" >&6;}
2827 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2828 *) .
"./$cache_file";;
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2833 $as_echo "$as_me: creating cache $cache_file" >&6;}
2837 gt_needs
="$gt_needs "
2838 # Check that the precious variables saved in the cache have kept the same
2840 ac_cache_corrupted
=false
2841 for ac_var
in $ac_precious_vars; do
2842 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2843 eval ac_new_set
=\
$ac_env_${ac_var}_set
2844 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2845 eval ac_new_val
=\
$ac_env_${ac_var}_value
2846 case $ac_old_set,$ac_new_set in
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2849 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2850 ac_cache_corrupted
=: ;;
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2853 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2854 ac_cache_corrupted
=: ;;
2857 if test "x$ac_old_val" != "x$ac_new_val"; then
2858 # differences in whitespace do not lead to failure.
2859 ac_old_val_w
=`echo x $ac_old_val`
2860 ac_new_val_w
=`echo x $ac_new_val`
2861 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2863 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2864 ac_cache_corrupted
=:
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2867 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2868 eval $ac_var=\
$ac_old_val
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2871 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2873 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2876 # Pass precious variables to config.status.
2877 if test "$ac_new_set" = set; then
2879 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2880 *) ac_arg
=$ac_var=$ac_new_val ;;
2882 case " $ac_configure_args " in
2883 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2884 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2888 if $ac_cache_corrupted; then
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2892 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2893 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2895 ## -------------------- ##
2896 ## Main body of script. ##
2897 ## -------------------- ##
2900 ac_cpp
='$CPP $CPPFLAGS'
2901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2908 ac_config_headers
="$ac_config_headers include/config.h"
2911 am__api_version
='1.11'
2914 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2915 if test -f "$ac_dir/install-sh"; then
2917 ac_install_sh
="$ac_aux_dir/install-sh -c"
2919 elif test -f "$ac_dir/install.sh"; then
2921 ac_install_sh
="$ac_aux_dir/install.sh -c"
2923 elif test -f "$ac_dir/shtool"; then
2925 ac_install_sh
="$ac_aux_dir/shtool install -c"
2929 if test -z "$ac_aux_dir"; then
2930 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2933 # These three variables are undocumented and unsupported,
2934 # and are intended to be withdrawn in a future Autoconf release.
2935 # They can cause serious problems if a builder's source tree is in a directory
2936 # whose full name contains unusual characters.
2937 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2938 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2939 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2942 # Find a good install program. We prefer a C program (faster),
2943 # so one script is as good as another. But avoid the broken or
2944 # incompatible versions:
2945 # SysV /etc/install, /usr/sbin/install
2946 # SunOS /usr/etc/install
2947 # IRIX /sbin/install
2949 # AmigaOS /C/install, which installs bootblocks on floppy discs
2950 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2951 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2952 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2953 # OS/2's system install, which has a completely different semantic
2954 # ./install, which can be erroneously created by make from ./install.sh.
2955 # Reject install programs that cannot install multiple files.
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2957 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2958 if test -z "$INSTALL"; then
2959 if ${ac_cv_path_install+:} false
; then :
2960 $as_echo_n "(cached) " >&6
2962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2966 test -z "$as_dir" && as_dir
=.
2967 # Account for people who put trailing slashes in PATH elements.
2968 case $as_dir/ in #((
2969 .
/ | .
// |
/[cC
]/* | \
2970 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2971 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2974 # OSF1 and SCO ODT 3.0 have their own names for install.
2975 # Don't use installbsd from OSF since it installs stuff as root
2977 for ac_prog
in ginstall scoinst
install; do
2978 for ac_exec_ext
in '' $ac_executable_extensions; do
2979 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2980 if test $ac_prog = install &&
2981 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2982 # AIX install. It has an incompatible calling convention.
2984 elif test $ac_prog = install &&
2985 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2986 # program-specific install script used by HP pwplus--don't use.
2989 rm -rf conftest.one conftest.two conftest.dir
2990 echo one
> conftest.one
2991 echo two
> conftest.two
2993 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2994 test -s conftest.one
&& test -s conftest.two
&&
2995 test -s conftest.dir
/conftest.one
&&
2996 test -s conftest.dir
/conftest.two
2998 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3011 rm -rf conftest.one conftest.two conftest.dir
3014 if test "${ac_cv_path_install+set}" = set; then
3015 INSTALL
=$ac_cv_path_install
3017 # As a last resort, use the slow shell script. Don't cache a
3018 # value for INSTALL within a source directory, because that will
3019 # break other packages using the cache if that directory is
3020 # removed, or if the value is a relative name.
3021 INSTALL
=$ac_install_sh
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3025 $as_echo "$INSTALL" >&6; }
3027 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3028 # It thinks the first close brace ends the variable substitution.
3029 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3031 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3033 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3036 $as_echo_n "checking whether build environment is sane... " >&6; }
3039 echo timestamp
> conftest.
file
3040 # Reject unsafe characters in $srcdir or the absolute working directory
3041 # name. Accept space and tab only in the latter.
3045 *[\\\"\
#\$\&\'\`$am_lf]*)
3046 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3049 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3050 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3053 # Do `set' in a subshell so we don't clobber the current shell's
3054 # arguments. Must try -L first in case configure is actually a
3055 # symlink; some systems play weird games with the mod time of symlinks
3056 # (eg FreeBSD returns the mod time of the symlink's containing
3059 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3060 if test "$*" = "X"; then
3062 set X
`ls -t "$srcdir/configure" conftest.file`
3065 if test "$*" != "X $srcdir/configure conftest.file" \
3066 && test "$*" != "X conftest.file $srcdir/configure"; then
3068 # If neither matched, then we have a broken ls. This can happen
3069 # if, for instance, CONFIG_SHELL is bash and it inherits a
3070 # broken ls alias from the environment. This has actually
3071 # happened. Such a system could not be considered "sane".
3072 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3073 alias in your environment" "$LINENO" 5
3076 test "$2" = conftest.
file
3082 as_fn_error $?
"newly created file is older than distributed files!
3083 Check your system clock" "$LINENO" 5
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3086 $as_echo "yes" >&6; }
3087 test "$program_prefix" != NONE
&&
3088 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3089 # Use a double $ so make ignores it.
3090 test "$program_suffix" != NONE
&&
3091 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3092 # Double any \ or $.
3093 # By default was `s,x,x', remove it if useless.
3094 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3095 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3097 # expand $ac_aux_dir to an absolute path
3098 am_aux_dir
=`cd $ac_aux_dir && pwd`
3100 if test x
"${MISSING+set}" != xset
; then
3103 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3105 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3108 # Use eval to expand $SHELL
3109 if eval "$MISSING --run true"; then
3110 am_missing_run
="$MISSING --run "
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3114 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3117 if test x
"${install_sh}" != xset
; then
3120 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3122 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3126 # Installed binaries are usually stripped using `strip' when the user
3127 # run `make install-strip'. However `strip' might not be the right
3128 # tool to use in cross-compilation environments, therefore Automake
3129 # will honor the `STRIP' environment variable to overrule this program.
3130 if test "$cross_compiling" != no
; then
3131 if test -n "$ac_tool_prefix"; then
3132 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3133 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_STRIP+:} false
; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$STRIP"; then
3140 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3149 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 STRIP
=$ac_cv_prog_STRIP
3160 if test -n "$STRIP"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3162 $as_echo "$STRIP" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3170 if test -z "$ac_cv_prog_STRIP"; then
3172 # Extract the first word of "strip", so it can be a program name with args.
3173 set dummy strip
; ac_word
=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$ac_ct_STRIP"; then
3180 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir
=.
3187 for ac_exec_ext
in '' $ac_executable_extensions; do
3188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3189 ac_cv_prog_ac_ct_STRIP
="strip"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3200 if test -n "$ac_ct_STRIP"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3202 $as_echo "$ac_ct_STRIP" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3208 if test "x$ac_ct_STRIP" = x
; then
3211 case $cross_compiling:$ac_tool_warned in
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3215 ac_tool_warned
=yes ;;
3220 STRIP
="$ac_cv_prog_STRIP"
3224 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3227 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3228 if test -z "$MKDIR_P"; then
3229 if ${ac_cv_path_mkdir+:} false
; then :
3230 $as_echo_n "(cached) " >&6
3232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3236 test -z "$as_dir" && as_dir
=.
3237 for ac_prog
in mkdir gmkdir
; do
3238 for ac_exec_ext
in '' $ac_executable_extensions; do
3239 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3240 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3241 'mkdir (GNU coreutils) '* | \
3242 'mkdir (coreutils) '* | \
3243 'mkdir (fileutils) '4.1*)
3244 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3254 test -d .
/--version && rmdir .
/--version
3255 if test "${ac_cv_path_mkdir+set}" = set; then
3256 MKDIR_P
="$ac_cv_path_mkdir -p"
3258 # As a last resort, use the slow shell script. Don't cache a
3259 # value for MKDIR_P within a source directory, because that will
3260 # break other packages using the cache if that directory is
3261 # removed, or if the value is a relative name.
3262 MKDIR_P
="$ac_install_sh -d"
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3266 $as_echo "$MKDIR_P" >&6; }
3270 [\\/$
]* | ?
:[\\/]*) ;;
3271 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3274 for ac_prog
in gawk mawk nawk
awk
3276 # Extract the first word of "$ac_prog", so it can be a program name with args.
3277 set dummy
$ac_prog; ac_word
=$2
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279 $as_echo_n "checking for $ac_word... " >&6; }
3280 if ${ac_cv_prog_AWK+:} false
; then :
3281 $as_echo_n "(cached) " >&6
3283 if test -n "$AWK"; then
3284 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3293 ac_cv_prog_AWK
="$ac_prog"
3294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 if test -n "$AWK"; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3306 $as_echo "$AWK" >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 $as_echo "no" >&6; }
3313 test -n "$AWK" && break
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3317 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3319 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3320 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3321 $as_echo_n "(cached) " >&6
3323 cat >conftest.
make <<\_ACEOF
3326 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3328 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3329 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3331 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3333 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3337 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339 $as_echo "yes" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344 SET_MAKE
="MAKE=${MAKE-make}"
3347 rm -rf .tst
2>/dev
/null
3348 mkdir .tst
2>/dev
/null
3349 if test -d .tst
; then
3354 rmdir .tst
2>/dev
/null
3356 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3357 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3358 # is not polluted with repeated "-I."
3359 am__isrc
=' -I$(srcdir)'
3360 # test to see if srcdir already configured
3361 if test -f $srcdir/config.status
; then
3362 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3366 # test whether we have cygpath
3367 if test -z "$CYGPATH_W"; then
3368 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3369 CYGPATH_W
='cygpath -w'
3376 # Define the identity of the package.
3381 cat >>confdefs.h
<<_ACEOF
3382 #define PACKAGE "$PACKAGE"
3386 cat >>confdefs.h
<<_ACEOF
3387 #define VERSION "$VERSION"
3390 # Some tools Automake needs.
3392 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3395 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3398 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3401 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3404 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3406 # We need awk for the "check" target. The system "awk" is bad on
3408 # Always define AMTAR for backward compatibility.
3410 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3412 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3421 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3422 # Check whether --enable-maintainer-mode was given.
3423 if test "${enable_maintainer_mode+set}" = set; then :
3424 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3426 USE_MAINTAINER_MODE
=no
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3430 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3431 if test $USE_MAINTAINER_MODE = yes; then
3432 MAINTAINER_MODE_TRUE
=
3433 MAINTAINER_MODE_FALSE
='#'
3435 MAINTAINER_MODE_TRUE
='#'
3436 MAINTAINER_MODE_FALSE
=
3439 MAINT
=$MAINTAINER_MODE_TRUE
3443 # Make sure we can run config.sub.
3444 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3445 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3448 $as_echo_n "checking build system type... " >&6; }
3449 if ${ac_cv_build+:} false
; then :
3450 $as_echo_n "(cached) " >&6
3452 ac_build_alias
=$build_alias
3453 test "x$ac_build_alias" = x
&&
3454 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3455 test "x$ac_build_alias" = x
&&
3456 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3457 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3458 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3462 $as_echo "$ac_cv_build" >&6; }
3463 case $ac_cv_build in
3465 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3468 ac_save_IFS
=$IFS; IFS
='-'
3474 # Remember, the first character of IFS is used to create $*,
3475 # except with old shells:
3478 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3482 $as_echo_n "checking host system type... " >&6; }
3483 if ${ac_cv_host+:} false
; then :
3484 $as_echo_n "(cached) " >&6
3486 if test "x$host_alias" = x
; then
3487 ac_cv_host
=$ac_cv_build
3489 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3490 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3495 $as_echo "$ac_cv_host" >&6; }
3498 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3501 ac_save_IFS
=$IFS; IFS
='-'
3507 # Remember, the first character of IFS is used to create $*,
3508 # except with old shells:
3511 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3516 ac_cpp
='$CPP $CPPFLAGS'
3517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host))" >&5
3523 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host))" >&6;}
3525 # start out with intent to build Web Alpine
3526 WEB_BUILD
=web
/src
/alpined.d
3530 ac_cpp
='$CPP $CPPFLAGS'
3531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3534 if test -n "$ac_tool_prefix"; then
3535 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3536 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538 $as_echo_n "checking for $ac_word... " >&6; }
3539 if ${ac_cv_prog_CC+:} false
; then :
3540 $as_echo_n "(cached) " >&6
3542 if test -n "$CC"; then
3543 ac_cv_prog_CC
="$CC" # Let the user override the test.
3545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3549 test -z "$as_dir" && as_dir
=.
3550 for ac_exec_ext
in '' $ac_executable_extensions; do
3551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3552 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 if test -n "$CC"; then
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3565 $as_echo "$CC" >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3573 if test -z "$ac_cv_prog_CC"; then
3575 # Extract the first word of "gcc", so it can be a program name with args.
3576 set dummy gcc
; ac_word
=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3580 $as_echo_n "(cached) " >&6
3582 if test -n "$ac_ct_CC"; then
3583 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3589 test -z "$as_dir" && as_dir
=.
3590 for ac_exec_ext
in '' $ac_executable_extensions; do
3591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_ac_ct_CC
="gcc"
3593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3603 if test -n "$ac_ct_CC"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3605 $as_echo "$ac_ct_CC" >&6; }
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3611 if test "x$ac_ct_CC" = x
; then
3614 case $cross_compiling:$ac_tool_warned in
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3618 ac_tool_warned
=yes ;;
3626 if test -z "$CC"; then
3627 if test -n "$ac_tool_prefix"; then
3628 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3629 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3631 $as_echo_n "checking for $ac_word... " >&6; }
3632 if ${ac_cv_prog_CC+:} false
; then :
3633 $as_echo_n "(cached) " >&6
3635 if test -n "$CC"; then
3636 ac_cv_prog_CC
="$CC" # Let the user override the test.
3638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3642 test -z "$as_dir" && as_dir
=.
3643 for ac_exec_ext
in '' $ac_executable_extensions; do
3644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3645 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 if test -n "$CC"; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3658 $as_echo "$CC" >&6; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3667 if test -z "$CC"; then
3668 # Extract the first word of "cc", so it can be a program name with args.
3669 set dummy cc
; ac_word
=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_CC+:} false
; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC
="$CC" # Let the user override the test.
3679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3683 test -z "$as_dir" && as_dir
=.
3684 for ac_exec_ext
in '' $ac_executable_extensions; do
3685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3686 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3687 ac_prog_rejected
=yes
3691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 if test $ac_prog_rejected = yes; then
3699 # We found a bogon in the path, so make sure we never use it.
3700 set dummy
$ac_cv_prog_CC
3702 if test $# != 0; then
3703 # We chose a different compiler from the bogus one.
3704 # However, it has the same basename, so the bogon will be chosen
3705 # first if we set CC to just the basename; use the full file name.
3707 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3713 if test -n "$CC"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3715 $as_echo "$CC" >&6; }
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 for ac_prog
in cl.exe
3727 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3728 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_CC+:} false
; then :
3732 $as_echo_n "(cached) " >&6
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC
="$CC" # Let the user override the test.
3737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir
=.
3742 for ac_exec_ext
in '' $ac_executable_extensions; do
3743 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3744 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3764 test -n "$CC" && break
3767 if test -z "$CC"; then
3769 for ac_prog
in cl.exe
3771 # Extract the first word of "$ac_prog", so it can be a program name with args.
3772 set dummy
$ac_prog; ac_word
=$2
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3774 $as_echo_n "checking for $ac_word... " >&6; }
3775 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3776 $as_echo_n "(cached) " >&6
3778 if test -n "$ac_ct_CC"; then
3779 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir
=.
3786 for ac_exec_ext
in '' $ac_executable_extensions; do
3787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3788 ac_cv_prog_ac_ct_CC
="$ac_prog"
3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3799 if test -n "$ac_ct_CC"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3801 $as_echo "$ac_ct_CC" >&6; }
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3808 test -n "$ac_ct_CC" && break
3811 if test "x$ac_ct_CC" = x
; then
3814 case $cross_compiling:$ac_tool_warned in
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3818 ac_tool_warned
=yes ;;
3827 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3829 as_fn_error $?
"no acceptable C compiler found in \$PATH
3830 See \`config.log' for more details" "$LINENO" 5; }
3832 # Provide some information about the compiler.
3833 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3836 for ac_option
in --version -v -V -qversion; do
3837 { { ac_try
="$ac_compiler $ac_option >&5"
3839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3840 *) ac_try_echo=$ac_try;;
3842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3843 $as_echo "$ac_try_echo"; } >&5
3844 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3846 if test -s conftest.err; then
3848 ... rest of stderr output deleted ...
3849 10q' conftest.err >conftest.er1
3850 cat conftest.er1 >&5
3852 rm -f conftest.er1 conftest.err
3853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3854 test $ac_status = 0; }
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 ac_clean_files_save=$ac_clean_files
3869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3870 # Try to create an executable without -o first, disregard a.out.
3871 # It will help us diagnose broken compilers, and finding out an intuition
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3874 $as_echo_n "checking whether the C compiler works... " >&6; }
3875 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3877 # The possible output files:
3878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3881 for ac_file in $ac_files
3884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3885 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3890 if { { ac_try="$ac_link_default"
3892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3893 *) ac_try_echo
=$ac_try;;
3895 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897 (eval "$ac_link_default") 2>&5
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; }; then :
3901 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3903 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3904 # so that the user can short-circuit this test for compilers unknown to
3906 for ac_file
in $ac_files ''
3908 test -f "$ac_file" ||
continue
3910 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3913 # We found the default executable, but exeext='' is most
3917 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3919 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3921 # We set ac_cv_exeext here because the later test for it is not
3922 # safe: cross compilers may not add the suffix if given an `-o'
3923 # argument, so we may need to know it at that point already.
3924 # Even if this section looks crufty: it has the advantage of
3931 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3936 if test -z "$ac_file"; then :
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3938 $as_echo "no" >&6; }
3939 $as_echo "$as_me: failed program was:" >&5
3940 sed 's/^/| /' conftest.
$ac_ext >&5
3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3944 as_fn_error
77 "C compiler cannot create executables
3945 See \`config.log' for more details" "$LINENO" 5; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3948 $as_echo "yes" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3951 $as_echo_n "checking for C compiler default output file name... " >&6; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3953 $as_echo "$ac_file" >&6; }
3954 ac_exeext
=$ac_cv_exeext
3956 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3957 ac_clean_files
=$ac_clean_files_save
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3959 $as_echo_n "checking for suffix of executables... " >&6; }
3960 if { { ac_try
="$ac_link"
3962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967 (eval "$ac_link") 2>&5
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3972 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3973 # work properly (i.e., refer to `conftest.exe'), while it won't with
3975 for ac_file
in conftest.exe conftest conftest.
*; do
3976 test -f "$ac_file" ||
continue
3978 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3979 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3988 See \`config.log' for more details" "$LINENO" 5; }
3990 rm -f conftest conftest
$ac_cv_exeext
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3992 $as_echo "$ac_cv_exeext" >&6; }
3994 rm -f conftest.
$ac_ext
3995 EXEEXT
=$ac_cv_exeext
3997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4003 FILE *f = fopen ("conftest.out", "w");
4004 return ferror (f) || fclose (f) != 0;
4010 ac_clean_files
="$ac_clean_files conftest.out"
4011 # Check that the compiler produces executables we can run. If not, either
4012 # the compiler is broken, or we cross compile.
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4014 $as_echo_n "checking whether we are cross compiling... " >&6; }
4015 if test "$cross_compiling" != yes; then
4016 { { ac_try
="$ac_link"
4018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$ac_try_echo"; } >&5
4023 (eval "$ac_link") 2>&5
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4026 test $ac_status = 0; }
4027 if { ac_try='./conftest$ac_cv_exeext'
4028 { { case "(($ac_try" in
4029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4030 *) ac_try_echo
=$ac_try;;
4032 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_try") 2>&5
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; }; then
4040 if test "$cross_compiling" = maybe
; then
4043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4045 as_fn_error $?
"cannot run C compiled programs.
4046 If you meant to cross compile, use \`--host'.
4047 See \`config.log' for more details" "$LINENO" 5; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4052 $as_echo "$cross_compiling" >&6; }
4054 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4055 ac_clean_files
=$ac_clean_files_save
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4057 $as_echo_n "checking for suffix of object files... " >&6; }
4058 if ${ac_cv_objext+:} false
; then :
4059 $as_echo_n "(cached) " >&6
4061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4062 /* end confdefs.h. */
4072 rm -f conftest.o conftest.obj
4073 if { { ac_try
="$ac_compile"
4075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4079 $as_echo "$ac_try_echo"; } >&5
4080 (eval "$ac_compile") 2>&5
4082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083 test $ac_status = 0; }; then :
4084 for ac_file in conftest.o conftest.obj conftest.*; do
4085 test -f "$ac_file" || continue;
4087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4088 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4093 $as_echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.$ac_ext >&5
4096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4098 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4099 See \
`config.log' for more details" "$LINENO" 5; }
4101 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4104 $as_echo "$ac_cv_objext" >&6; }
4105 OBJEXT=$ac_cv_objext
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4108 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4109 if ${ac_cv_c_compiler_gnu+:} false; then :
4110 $as_echo_n "(cached) " >&6
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4113 /* end confdefs.h. */
4126 if ac_fn_c_try_compile "$LINENO"; then :
4131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4132 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4136 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4137 if test $ac_compiler_gnu = yes; then
4142 ac_test_CFLAGS=${CFLAGS+set}
4143 ac_save_CFLAGS=$CFLAGS
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4145 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4146 if ${ac_cv_prog_cc_g+:} false; then :
4147 $as_echo_n "(cached) " >&6
4149 ac_save_c_werror_flag=$ac_c_werror_flag
4150 ac_c_werror_flag=yes
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4164 if ac_fn_c_try_compile "$LINENO"; then :
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4179 if ac_fn_c_try_compile "$LINENO"; then :
4182 ac_c_werror_flag=$ac_save_c_werror_flag
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4195 if ac_fn_c_try_compile "$LINENO"; then :
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4203 ac_c_werror_flag=$ac_save_c_werror_flag
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4206 $as_echo "$ac_cv_prog_cc_g" >&6; }
4207 if test "$ac_test_CFLAGS" = set; then
4208 CFLAGS=$ac_save_CFLAGS
4209 elif test $ac_cv_prog_cc_g = yes; then
4210 if test "$GCC" = yes; then
4216 if test "$GCC" = yes; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4223 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4224 if ${ac_cv_prog_cc_c89+:} false; then :
4225 $as_echo_n "(cached) " >&6
4227 ac_cv_prog_cc_c89=no
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4234 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4235 struct buf { int x; };
4236 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4237 static char *e (p, i)
4243 static char *f (char * (*g) (char **, int), char **p, ...)
4248 s = g (p, va_arg (v,int));
4253 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4254 function prototypes and stuff, but not '\xHH' hex character constants.
4255 These don't provoke an error unfortunately, instead are silently treated
4256 as 'x'. The following induces an error, until -std is added to get
4257 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4258 array size at least. It's necessary to write '\x00'==0 to get something
4259 that's true only with -std. */
4260 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4262 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4263 inside strings and character constants. */
4265 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4267 int test (int i, double x);
4268 struct s1 {int (*f) (int a);};
4269 struct s2 {int (*f) (double a);};
4270 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4276 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4281 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4282 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4284 CC="$ac_save_CC $ac_arg"
4285 if ac_fn_c_try_compile "$LINENO"; then :
4286 ac_cv_prog_cc_c89=$ac_arg
4288 rm -f core conftest.err conftest.$ac_objext
4289 test "x$ac_cv_prog_cc_c89" != "xno" && break
4291 rm -f conftest.$ac_ext
4296 case "x$ac_cv_prog_cc_c89" in
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4299 $as_echo "none needed" >&6; } ;;
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4302 $as_echo "unsupported" >&6; } ;;
4304 CC="$CC $ac_cv_prog_cc_c89"
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4306 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4308 if test "x$ac_cv_prog_cc_c89" != xno; then :
4313 ac_cpp='$CPP $CPPFLAGS'
4314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4317 DEPDIR="${am__leading_dot}deps"
4319 ac_config_commands="$ac_config_commands depfiles"
4322 am_make=${MAKE-make}
4323 cat > confinc << 'END'
4325 @echo this is the am__doit target
4328 # If we don't find an include directive, just comment out the code.
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4330 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4334 # First try GNU make style include.
4335 echo "include confinc" > confmf
4336 # Ignore all kinds of additional output from `make'.
4337 case `$am_make -s -f confmf 2> /dev/null` in #(
4338 *the\ am__doit\ target*)
4344 # Now try BSD make style include.
4345 if test "$am__include" = "#"; then
4346 echo '.include
"confinc"' > confmf
4347 case `$am_make -s -f confmf 2> /dev/null` in #(
4348 *the\ am__doit\ target*)
4349 am__include=.include
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4358 $as_echo "$_am_result" >&6; }
4359 rm -f confinc confmf
4361 # Check whether --enable-dependency-tracking was given.
4362 if test "${enable_dependency_tracking+set}" = set; then :
4363 enableval=$enable_dependency_tracking;
4366 if test "x$enable_dependency_tracking" != xno; then
4367 am_depcomp="$ac_aux_dir/depcomp"
4370 if test "x$enable_dependency_tracking" != xno
; then
4380 depcc
="$CC" am_compiler_list
=
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4383 $as_echo_n "checking dependency style of $depcc... " >&6; }
4384 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4385 $as_echo_n "(cached) " >&6
4387 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4388 # We make a subdir and do the tests there. Otherwise we can end up
4389 # making bogus files that we don't know about and never remove. For
4390 # instance it was reported that on HP-UX the gcc test will end up
4391 # making a dummy file named `D' -- because `-MD' means `put the output
4394 # Copy depcomp to subdir because otherwise we won't find it if we're
4395 # using a relative directory.
4396 cp "$am_depcomp" conftest.dir
4398 # We will build objects and dependencies in a subdirectory because
4399 # it helps to detect inapplicable dependency modes. For instance
4400 # both Tru64's cc and ICC support -MD to output dependencies as a
4401 # side effect of compilation, but ICC will put the dependencies in
4402 # the current directory while Tru64 will put them in the object
4406 am_cv_CC_dependencies_compiler_type
=none
4407 if test "$am_compiler_list" = ""; then
4408 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4411 case " $depcc " in #(
4412 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4415 for depmode
in $am_compiler_list; do
4416 # Setup a source with many dependencies, because some compilers
4417 # like to wrap large dependency lists on column 80 (with \), and
4418 # we should not choose a depcomp mode which is confused by this.
4420 # We need to recreate these files for each test, as the compiler may
4421 # overwrite some of them when testing with obscure command lines.
4422 # This happens at least with the AIX C compiler.
4424 for i
in 1 2 3 4 5 6; do
4425 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4426 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4427 # Solaris 8's {/usr,}/bin/sh.
4428 touch sub
/conftst
$i.h
4430 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4432 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4433 # mode. It turns out that the SunPro C++ compiler does not properly
4434 # handle `-M -o', and we need to detect this. Also, some Intel
4435 # versions had trouble with output in subdirs
4436 am__obj
=sub
/conftest.
${OBJEXT-o}
4437 am__minus_obj
="-o $am__obj"
4440 # This depmode causes a compiler race in universal mode.
4441 test "$am__universal" = false ||
continue
4444 # after this tag, mechanisms are not by side-effect, so they'll
4445 # only be used when explicitly requested
4446 if test "x$enable_dependency_tracking" = xyes
; then
4452 msvisualcpp | msvcmsys
)
4453 # This compiler won't grok `-c -o', but also, the minuso test has
4454 # not run yet. These depmodes are late enough in the game, and
4455 # so weak that their functioning should not be impacted.
4456 am__obj
=conftest.
${OBJEXT-o}
4461 if depmode
=$depmode \
4462 source=sub
/conftest.c object
=$am__obj \
4463 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4464 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4465 >/dev
/null
2>conftest.err
&&
4466 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4467 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4468 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4469 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4470 # icc doesn't choke on unknown options, it will just issue warnings
4471 # or remarks (even with -Werror). So we grep stderr for any message
4472 # that says an option was ignored or not supported.
4473 # When given -MP, icc 7.0 and 7.1 complain thusly:
4474 # icc: Command line warning: ignoring option '-M'; no argument required
4475 # The diagnosis changed in icc 8.0:
4476 # icc: Command line remark: option '-MP' not supported
4477 if (grep 'ignoring option' conftest.err ||
4478 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4479 am_cv_CC_dependencies_compiler_type
=$depmode
4488 am_cv_CC_dependencies_compiler_type
=none
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4493 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4494 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4497 test "x$enable_dependency_tracking" != xno \
4498 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4500 am__fastdepCC_FALSE
='#'
4502 am__fastdepCC_TRUE
='#'
4503 am__fastdepCC_FALSE
=
4507 case $ac_cv_prog_cc_stdc in #(
4509 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4512 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4513 if ${ac_cv_prog_cc_c99+:} false
; then :
4514 $as_echo_n "(cached) " >&6
4516 ac_cv_prog_cc_c99
=no
4518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4521 #include <stdbool.h>
4526 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4527 #define debug(...) fprintf (stderr, __VA_ARGS__)
4528 #define showlist(...) puts (#__VA_ARGS__)
4529 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4531 test_varargs_macros (void)
4536 debug ("X = %d\n", x);
4537 showlist (The first, second, and third items.);
4538 report (x>y, "x is %d but y is %d", x, y);
4541 // Check long long types.
4542 #define BIG64 18446744073709551615ull
4543 #define BIG32 4294967295ul
4544 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4546 your preprocessor is broken;
4550 your preprocessor is broken;
4552 static long long int bignum = -9223372036854775807LL;
4553 static unsigned long long int ubignum = BIG64;
4555 struct incomplete_array
4563 const wchar_t *name;
4567 typedef const char *ccp;
4570 test_restrict (ccp restrict text)
4572 // See if C++-style comments work.
4573 // Iterate through items via the restricted pointer.
4574 // Also check for declarations in for loops.
4575 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4580 // Check varargs and va_copy.
4582 test_varargs (const char *format, ...)
4585 va_start (args, format);
4587 va_copy (args_copy, args);
4598 str = va_arg (args_copy, const char *);
4601 number = va_arg (args_copy, int);
4604 fnumber = va_arg (args_copy, double);
4619 _Bool success = false;
4622 if (test_restrict ("String literal") == 0)
4624 char *restrict newvar = "Another string";
4627 test_varargs ("s, d' f .", "string", 65, 34.234);
4628 test_varargs_macros ();
4630 // Check flexible array members.
4631 struct incomplete_array *ia =
4632 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4634 for (int i = 0; i < ia->datasize; ++i)
4635 ia->data[i] = i * 1.234;
4637 // Check named initializers.
4638 struct named_init ni = {
4640 .name = L"Test wide string",
4641 .average = 543.34343,
4646 int dynamic_array[ni.number];
4647 dynamic_array[ni.number - 1] = 543;
4649 // work around unused variable warnings
4650 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4651 || dynamic_array[ni.number - 1] != 543);
4657 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4659 CC
="$ac_save_CC $ac_arg"
4660 if ac_fn_c_try_compile
"$LINENO"; then :
4661 ac_cv_prog_cc_c99
=$ac_arg
4663 rm -f core conftest.err conftest.
$ac_objext
4664 test "x$ac_cv_prog_cc_c99" != "xno" && break
4666 rm -f conftest.
$ac_ext
4671 case "x$ac_cv_prog_cc_c99" in
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4674 $as_echo "none needed" >&6; } ;;
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4677 $as_echo "unsupported" >&6; } ;;
4679 CC
="$CC $ac_cv_prog_cc_c99"
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4681 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4683 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4684 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4687 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4688 if ${ac_cv_prog_cc_c89+:} false
; then :
4689 $as_echo_n "(cached) " >&6
4691 ac_cv_prog_cc_c89
=no
4693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4699 struct buf { int x; };
4700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4701 static char *e (p, i)
4707 static char *f (char * (*g) (char **, int), char **p, ...)
4712 s = g (p, va_arg (v,int));
4717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4718 function prototypes and stuff, but not '\xHH' hex character constants.
4719 These don't provoke an error unfortunately, instead are silently treated
4720 as 'x'. The following induces an error, until -std is added to get
4721 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4722 array size at least. It's necessary to write '\x00'==0 to get something
4723 that's true only with -std. */
4724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4727 inside strings and character constants. */
4729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4731 int test (int i, double x);
4732 struct s1 {int (*f) (int a);};
4733 struct s2 {int (*f) (double a);};
4734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4745 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4746 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4748 CC
="$ac_save_CC $ac_arg"
4749 if ac_fn_c_try_compile
"$LINENO"; then :
4750 ac_cv_prog_cc_c89
=$ac_arg
4752 rm -f core conftest.err conftest.
$ac_objext
4753 test "x$ac_cv_prog_cc_c89" != "xno" && break
4755 rm -f conftest.
$ac_ext
4760 case "x$ac_cv_prog_cc_c89" in
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4763 $as_echo "none needed" >&6; } ;;
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4766 $as_echo "unsupported" >&6; } ;;
4768 CC
="$CC $ac_cv_prog_cc_c89"
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4770 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4772 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4773 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4775 ac_cv_prog_cc_stdc
=no
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4782 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4783 if ${ac_cv_prog_cc_stdc+:} false
; then :
4784 $as_echo_n "(cached) " >&6
4787 case $ac_cv_prog_cc_stdc in #(
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4790 $as_echo "unsupported" >&6; } ;; #(
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4793 $as_echo "none needed" >&6; } ;; #(
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4796 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4801 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4803 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4804 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4805 $as_echo_n "(cached) " >&6
4807 cat >conftest.
make <<\_ACEOF
4810 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4812 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4813 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4815 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4817 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4821 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4823 $as_echo "yes" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4828 SET_MAKE
="MAKE=${MAKE-make}"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4832 $as_echo_n "checking whether ln -s works... " >&6; }
4834 if test "$LN_S" = "ln -s"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4839 $as_echo "no, using $LN_S" >&6; }
4842 for ac_prog
in gawk mawk nawk
awk
4844 # Extract the first word of "$ac_prog", so it can be a program name with args.
4845 set dummy
$ac_prog; ac_word
=$2
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 $as_echo_n "checking for $ac_word... " >&6; }
4848 if ${ac_cv_prog_AWK+:} false
; then :
4849 $as_echo_n "(cached) " >&6
4851 if test -n "$AWK"; then
4852 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4858 test -z "$as_dir" && as_dir
=.
4859 for ac_exec_ext
in '' $ac_executable_extensions; do
4860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4861 ac_cv_prog_AWK
="$ac_prog"
4862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 if test -n "$AWK"; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4874 $as_echo "$AWK" >&6; }
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4881 test -n "$AWK" && break
4884 if test -n "$ac_tool_prefix"; then
4885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4886 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if ${ac_cv_prog_RANLIB+:} false
; then :
4890 $as_echo_n "(cached) " >&6
4892 if test -n "$RANLIB"; then
4893 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4899 test -z "$as_dir" && as_dir
=.
4900 for ac_exec_ext
in '' $ac_executable_extensions; do
4901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 RANLIB
=$ac_cv_prog_RANLIB
4913 if test -n "$RANLIB"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4915 $as_echo "$RANLIB" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4923 if test -z "$ac_cv_prog_RANLIB"; then
4924 ac_ct_RANLIB
=$RANLIB
4925 # Extract the first word of "ranlib", so it can be a program name with args.
4926 set dummy ranlib
; ac_word
=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4930 $as_echo_n "(cached) " >&6
4932 if test -n "$ac_ct_RANLIB"; then
4933 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4952 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4953 if test -n "$ac_ct_RANLIB"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4955 $as_echo "$ac_ct_RANLIB" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4961 if test "x$ac_ct_RANLIB" = x
; then
4964 case $cross_compiling:$ac_tool_warned in
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned
=yes ;;
4970 RANLIB
=$ac_ct_RANLIB
4973 RANLIB
="$ac_cv_prog_RANLIB"
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4979 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4984 macro_version
='2.2.6b'
4985 macro_revision
='1.3018'
4999 ltmain
="$ac_aux_dir/ltmain.sh"
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5002 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5003 if ${ac_cv_path_SED+:} false
; then :
5004 $as_echo_n "(cached) " >&6
5006 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5007 for ac_i
in 1 2 3 4 5 6 7; do
5008 ac_script
="$ac_script$as_nl$ac_script"
5010 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5011 { ac_script
=; unset ac_script
;}
5012 if test -z "$SED"; then
5013 ac_path_SED_found
=false
5014 # Loop through the user's path and test for each of PROGNAME-LIST
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_prog
in sed gsed
; do
5021 for ac_exec_ext
in '' $ac_executable_extensions; do
5022 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5023 as_fn_executable_p
"$ac_path_SED" ||
continue
5024 # Check for GNU ac_path_SED and select it if it is found.
5025 # Check for GNU $ac_path_SED
5026 case `"$ac_path_SED" --version 2>&1` in
5028 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5031 $as_echo_n 0123456789 >"conftest.in"
5034 cat "conftest.in" "conftest.in" >"conftest.tmp"
5035 mv "conftest.tmp" "conftest.in"
5036 cp "conftest.in" "conftest.nl"
5037 $as_echo '' >> "conftest.nl"
5038 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5039 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5040 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5041 if test $ac_count -gt ${ac_path_SED_max-0}; then
5042 # Best one so far, save it but keep looking for a better one
5043 ac_cv_path_SED
="$ac_path_SED"
5044 ac_path_SED_max
=$ac_count
5046 # 10*(2^10) chars as input seems more than enough
5047 test $ac_count -gt 10 && break
5049 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5052 $ac_path_SED_found && break 3
5057 if test -z "$ac_cv_path_SED"; then
5058 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5066 $as_echo "$ac_cv_path_SED" >&6; }
5067 SED
="$ac_cv_path_SED"
5070 test -z "$SED" && SED
=sed
5071 Xsed
="$SED -e 1s/^X//"
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5084 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5085 if ${ac_cv_path_GREP+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -z "$GREP"; then
5089 ac_path_GREP_found
=false
5090 # Loop through the user's path and test for each of PROGNAME-LIST
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_prog
in grep ggrep
; do
5097 for ac_exec_ext
in '' $ac_executable_extensions; do
5098 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5099 as_fn_executable_p
"$ac_path_GREP" ||
continue
5100 # Check for GNU ac_path_GREP and select it if it is found.
5101 # Check for GNU $ac_path_GREP
5102 case `"$ac_path_GREP" --version 2>&1` in
5104 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5107 $as_echo_n 0123456789 >"conftest.in"
5110 cat "conftest.in" "conftest.in" >"conftest.tmp"
5111 mv "conftest.tmp" "conftest.in"
5112 cp "conftest.in" "conftest.nl"
5113 $as_echo 'GREP' >> "conftest.nl"
5114 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5115 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5116 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5117 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5118 # Best one so far, save it but keep looking for a better one
5119 ac_cv_path_GREP
="$ac_path_GREP"
5120 ac_path_GREP_max
=$ac_count
5122 # 10*(2^10) chars as input seems more than enough
5123 test $ac_count -gt 10 && break
5125 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5128 $ac_path_GREP_found && break 3
5133 if test -z "$ac_cv_path_GREP"; then
5134 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5137 ac_cv_path_GREP
=$GREP
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5142 $as_echo "$ac_cv_path_GREP" >&6; }
5143 GREP
="$ac_cv_path_GREP"
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5147 $as_echo_n "checking for egrep... " >&6; }
5148 if ${ac_cv_path_EGREP+:} false
; then :
5149 $as_echo_n "(cached) " >&6
5151 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5152 then ac_cv_path_EGREP
="$GREP -E"
5154 if test -z "$EGREP"; then
5155 ac_path_EGREP_found
=false
5156 # Loop through the user's path and test for each of PROGNAME-LIST
5157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5161 test -z "$as_dir" && as_dir
=.
5162 for ac_prog
in egrep; do
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5165 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5166 # Check for GNU ac_path_EGREP and select it if it is found.
5167 # Check for GNU $ac_path_EGREP
5168 case `"$ac_path_EGREP" --version 2>&1` in
5170 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5173 $as_echo_n 0123456789 >"conftest.in"
5176 cat "conftest.in" "conftest.in" >"conftest.tmp"
5177 mv "conftest.tmp" "conftest.in"
5178 cp "conftest.in" "conftest.nl"
5179 $as_echo 'EGREP' >> "conftest.nl"
5180 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5181 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5182 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5183 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5184 # Best one so far, save it but keep looking for a better one
5185 ac_cv_path_EGREP
="$ac_path_EGREP"
5186 ac_path_EGREP_max
=$ac_count
5188 # 10*(2^10) chars as input seems more than enough
5189 test $ac_count -gt 10 && break
5191 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5194 $ac_path_EGREP_found && break 3
5199 if test -z "$ac_cv_path_EGREP"; then
5200 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5203 ac_cv_path_EGREP
=$EGREP
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5209 $as_echo "$ac_cv_path_EGREP" >&6; }
5210 EGREP
="$ac_cv_path_EGREP"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5214 $as_echo_n "checking for fgrep... " >&6; }
5215 if ${ac_cv_path_FGREP+:} false
; then :
5216 $as_echo_n "(cached) " >&6
5218 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5219 then ac_cv_path_FGREP
="$GREP -F"
5221 if test -z "$FGREP"; then
5222 ac_path_FGREP_found
=false
5223 # Loop through the user's path and test for each of PROGNAME-LIST
5224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5228 test -z "$as_dir" && as_dir
=.
5229 for ac_prog
in fgrep
; do
5230 for ac_exec_ext
in '' $ac_executable_extensions; do
5231 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5232 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5233 # Check for GNU ac_path_FGREP and select it if it is found.
5234 # Check for GNU $ac_path_FGREP
5235 case `"$ac_path_FGREP" --version 2>&1` in
5237 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5240 $as_echo_n 0123456789 >"conftest.in"
5243 cat "conftest.in" "conftest.in" >"conftest.tmp"
5244 mv "conftest.tmp" "conftest.in"
5245 cp "conftest.in" "conftest.nl"
5246 $as_echo 'FGREP' >> "conftest.nl"
5247 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5248 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5249 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5250 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5251 # Best one so far, save it but keep looking for a better one
5252 ac_cv_path_FGREP
="$ac_path_FGREP"
5253 ac_path_FGREP_max
=$ac_count
5255 # 10*(2^10) chars as input seems more than enough
5256 test $ac_count -gt 10 && break
5258 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5261 $ac_path_FGREP_found && break 3
5266 if test -z "$ac_cv_path_FGREP"; then
5267 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5270 ac_cv_path_FGREP
=$FGREP
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5276 $as_echo "$ac_cv_path_FGREP" >&6; }
5277 FGREP
="$ac_cv_path_FGREP"
5280 test -z "$GREP" && GREP
=grep
5300 # Check whether --with-gnu-ld was given.
5301 if test "${with_gnu_ld+set}" = set; then :
5302 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5308 if test "$GCC" = yes; then
5309 # Check if gcc -print-prog-name=ld gives a path.
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5311 $as_echo_n "checking for ld used by $CC... " >&6; }
5314 # gcc leaves a trailing carriage return which upsets mingw
5315 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5317 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5320 # Accept absolute paths.
5322 re_direlt
='/[^/][^/]*/\.\./'
5323 # Canonicalize the pathname of ld
5324 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5325 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5326 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5328 test -z "$LD" && LD
="$ac_prog"
5331 # If it fails, then pretend we aren't using GCC.
5335 # If it is relative, then search for the first ld in PATH.
5339 elif test "$with_gnu_ld" = yes; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5341 $as_echo_n "checking for GNU ld... " >&6; }
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5344 $as_echo_n "checking for non-GNU ld... " >&6; }
5346 if ${lt_cv_path_LD+:} false
; then :
5347 $as_echo_n "(cached) " >&6
5349 if test -z "$LD"; then
5350 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5351 for ac_dir
in $PATH; do
5353 test -z "$ac_dir" && ac_dir
=.
5354 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5355 lt_cv_path_LD
="$ac_dir/$ac_prog"
5356 # Check to see if the program is GNU ld. I'd rather use --version,
5357 # but apparently some variants of GNU ld only accept -v.
5358 # Break only if it was the GNU/non-GNU ld that we prefer.
5359 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5360 *GNU
* |
*'with BFD'*)
5361 test "$with_gnu_ld" != no
&& break
5364 test "$with_gnu_ld" != yes && break
5371 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5376 if test -n "$LD"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5378 $as_echo "$LD" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5383 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5385 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5386 if ${lt_cv_prog_gnu_ld+:} false
; then :
5387 $as_echo_n "(cached) " >&6
5389 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5390 case `$LD -v 2>&1 </dev/null` in
5391 *GNU
* |
*'with BFD'*)
5392 lt_cv_prog_gnu_ld
=yes
5395 lt_cv_prog_gnu_ld
=no
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5400 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5401 with_gnu_ld
=$lt_cv_prog_gnu_ld
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5412 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5413 if ${lt_cv_path_NM+:} false
; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$NM"; then
5417 # Let the user override the test.
5420 lt_nm_to_check
="${ac_tool_prefix}nm"
5421 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5422 lt_nm_to_check
="$lt_nm_to_check nm"
5424 for lt_tmp_nm
in $lt_nm_to_check; do
5425 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5426 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5428 test -z "$ac_dir" && ac_dir
=.
5429 tmp_nm
="$ac_dir/$lt_tmp_nm"
5430 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5431 # Check to see if the nm accepts a BSD-compat flag.
5432 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5433 # nm: unknown option "B" ignored
5434 # Tru64's nm complains that /dev/null is an invalid object file
5435 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5436 */dev
/null
* |
*'Invalid file or object type'*)
5437 lt_cv_path_NM
="$tmp_nm -B"
5441 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5443 lt_cv_path_NM
="$tmp_nm -p"
5447 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5448 continue # so that we can try to find one that supports BSD flags
5457 : ${lt_cv_path_NM=no}
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5461 $as_echo "$lt_cv_path_NM" >&6; }
5462 if test "$lt_cv_path_NM" != "no"; then
5465 # Didn't find any BSD compatible name lister, look for dumpbin.
5466 if test -n "$ac_tool_prefix"; then
5467 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5469 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5470 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$DUMPBIN"; then
5477 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir
=.
5484 for ac_exec_ext
in '' $ac_executable_extensions; do
5485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 DUMPBIN
=$ac_cv_prog_DUMPBIN
5497 if test -n "$DUMPBIN"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5499 $as_echo "$DUMPBIN" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506 test -n "$DUMPBIN" && break
5509 if test -z "$DUMPBIN"; then
5510 ac_ct_DUMPBIN
=$DUMPBIN
5511 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5513 # Extract the first word of "$ac_prog", so it can be a program name with args.
5514 set dummy
$ac_prog; ac_word
=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5518 $as_echo_n "(cached) " >&6
5520 if test -n "$ac_ct_DUMPBIN"; then
5521 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir
=.
5528 for ac_exec_ext
in '' $ac_executable_extensions; do
5529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5541 if test -n "$ac_ct_DUMPBIN"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5543 $as_echo "$ac_ct_DUMPBIN" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5550 test -n "$ac_ct_DUMPBIN" && break
5553 if test "x$ac_ct_DUMPBIN" = x
; then
5556 case $cross_compiling:$ac_tool_warned in
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5560 ac_tool_warned
=yes ;;
5562 DUMPBIN
=$ac_ct_DUMPBIN
5567 if test "$DUMPBIN" != ":"; then
5571 test -z "$NM" && NM
=nm
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5579 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5580 if ${lt_cv_nm_interface+:} false
; then :
5581 $as_echo_n "(cached) " >&6
5583 lt_cv_nm_interface
="BSD nm"
5584 echo "int some_variable = 0;" > conftest.
$ac_ext
5585 (eval echo "\"\$as_me:5585: $ac_compile\"" >&5)
5586 (eval "$ac_compile" 2>conftest.err
)
5587 cat conftest.err
>&5
5588 (eval echo "\"\$as_me:5588: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5589 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5590 cat conftest.err
>&5
5591 (eval echo "\"\$as_me:5591: output\"" >&5)
5592 cat conftest.out
>&5
5593 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5594 lt_cv_nm_interface
="MS dumpbin"
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5599 $as_echo "$lt_cv_nm_interface" >&6; }
5601 # find the maximum length of command line arguments
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5603 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5604 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5605 $as_echo_n "(cached) " >&6
5612 # On DJGPP, this test can blow up pretty badly due to problems in libc
5613 # (any single argument exceeding 2000 bytes causes a buffer overrun
5614 # during glob expansion). Even if it were fixed, the result of this
5615 # check would be larger than it should be.
5616 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5620 # Under GNU Hurd, this test is not required because there is
5621 # no limit to the length of command line arguments.
5622 # Libtool will interpret -1 as no limit whatsoever
5623 lt_cv_sys_max_cmd_len
=-1;
5626 cygwin
* | mingw
* | cegcc
*)
5627 # On Win9x/ME, this test blows up -- it succeeds, but takes
5628 # about 5 minutes as the teststring grows exponentially.
5629 # Worse, since 9x/ME are not pre-emptively multitasking,
5630 # you end up with a "frozen" computer, even though with patience
5631 # the test eventually succeeds (with a max line length of 256k).
5632 # Instead, let's just punt: use the minimum linelength reported by
5633 # all of the supported platforms: 8192 (on NT/2K/XP).
5634 lt_cv_sys_max_cmd_len
=8192;
5638 # On AmigaOS with pdksh, this test takes hours, literally.
5639 # So we just punt and use a minimum line length of 8192.
5640 lt_cv_sys_max_cmd_len
=8192;
5643 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5644 # This has been around since 386BSD, at least. Likely further.
5645 if test -x /sbin
/sysctl
; then
5646 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5647 elif test -x /usr
/sbin
/sysctl
; then
5648 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5650 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5652 # And add a safety zone
5653 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5654 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5658 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5659 lt_cv_sys_max_cmd_len
=196608
5663 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5664 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5665 # nice to cause kernel panics so lets avoid the loop below.
5666 # First set a reasonable default.
5667 lt_cv_sys_max_cmd_len
=16384
5669 if test -x /sbin
/sysconfig
; then
5670 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5671 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5676 lt_cv_sys_max_cmd_len
=102400
5678 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5679 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5680 if test -n "$kargmax"; then
5681 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5683 lt_cv_sys_max_cmd_len
=32768
5687 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5688 if test -n "$lt_cv_sys_max_cmd_len"; then
5689 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5690 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5692 # Make teststring a little bigger before we do anything with it.
5693 # a 1K string should be a reasonable start.
5694 for i
in 1 2 3 4 5 6 7 8 ; do
5695 teststring
=$teststring$teststring
5697 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5698 # If test is not a shell built-in, we'll probably end up computing a
5699 # maximum length that is only half of the actual maximum length, but
5701 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5702 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5703 test $i != 17 # 1/2 MB should be enough
5706 teststring
=$teststring$teststring
5708 # Only check the string length outside the loop.
5709 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5711 # Add a significant safety factor because C++ compilers can tack on
5712 # massive amounts of additional arguments before passing them to the
5713 # linker. It appears as though 1/2 is a usable value.
5714 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5721 if test -n $lt_cv_sys_max_cmd_len ; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5723 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5726 $as_echo "none" >&6; }
5728 max_cmd_len
=$lt_cv_sys_max_cmd_len
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5740 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5741 # Try some XSI features
5744 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5746 && eval 'test $(( 1 + 1 )) -eq 2 \
5747 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5750 $as_echo "$xsi_shell" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5754 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5756 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5758 && lt_shell_append=yes
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5760 $as_echo "$lt_shell_append" >&6; }
5763 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5773 # test EBCDIC or ASCII
5774 case `echo X|tr X '\101'` in
5775 A) # ASCII based system
5776 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5777 lt_SP2NL='tr \040 \012'
5778 lt_NL2SP='tr \015\012 \040\040'
5780 *) # EBCDIC based system
5781 lt_SP2NL='tr \100 \n'
5782 lt_NL2SP='tr \r\n \100\100'
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5795 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5796 if ${lt_cv_ld_reload_flag+:} false; then :
5797 $as_echo_n "(cached
) " >&6
5799 lt_cv_ld_reload_flag='-r'
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5802 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5803 reload_flag=$lt_cv_ld_reload_flag
5804 case $reload_flag in
5806 *) reload_flag=" $reload_flag" ;;
5808 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5811 if test "$GCC" = yes; then
5812 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5814 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5827 if test -n "$ac_tool_prefix"; then
5828 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5829 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5831 $as_echo_n "checking
for $ac_word...
" >&6; }
5832 if ${ac_cv_prog_OBJDUMP+:} false; then :
5833 $as_echo_n "(cached
) " >&6
5835 if test -n "$OBJDUMP"; then
5836 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 test -z "$as_dir" && as_dir=.
5843 for ac_exec_ext in '' $ac_executable_extensions; do
5844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5845 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5855 OBJDUMP=$ac_cv_prog_OBJDUMP
5856 if test -n "$OBJDUMP"; then
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5858 $as_echo "$OBJDUMP" >&6; }
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5861 $as_echo "no
" >&6; }
5866 if test -z "$ac_cv_prog_OBJDUMP"; then
5867 ac_ct_OBJDUMP=$OBJDUMP
5868 # Extract the first word of "objdump
", so it can be a program name with args.
5869 set dummy objdump; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5871 $as_echo_n "checking
for $ac_word...
" >&6; }
5872 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5873 $as_echo_n "(cached
) " >&6
5875 if test -n "$ac_ct_OBJDUMP"; then
5876 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5885 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5895 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5896 if test -n "$ac_ct_OBJDUMP"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5898 $as_echo "$ac_ct_OBJDUMP" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5901 $as_echo "no
" >&6; }
5904 if test "x
$ac_ct_OBJDUMP" = x; then
5907 case $cross_compiling:$ac_tool_warned in
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5910 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5911 ac_tool_warned=yes ;;
5913 OBJDUMP=$ac_ct_OBJDUMP
5916 OBJDUMP="$ac_cv_prog_OBJDUMP"
5919 test -z "$OBJDUMP" && OBJDUMP=objdump
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5930 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5931 if ${lt_cv_deplibs_check_method+:} false; then :
5932 $as_echo_n "(cached
) " >&6
5934 lt_cv_file_magic_cmd='$MAGIC_CMD'
5935 lt_cv_file_magic_test_file=
5936 lt_cv_deplibs_check_method='unknown'
5937 # Need to set the preceding variable on all platforms that support
5938 # interlibrary dependencies.
5939 # 'none' -- dependencies not supported.
5940 # `unknown' -- same as none, but documents that we really don't know.
5941 # 'pass_all' -- all dependencies passed with no checks.
5942 # 'test_compile' -- check by making test program.
5943 # 'file_magic [[regex]]' -- check by looking for files in library path
5944 # which responds to the $file_magic_cmd with a given extended regex.
5945 # If you have `file' or equivalent on your system and you're not sure
5946 # whether `pass_all' will *always* work, you probably want this one.
5950 lt_cv_deplibs_check_method=pass_all
5954 lt_cv_deplibs_check_method=pass_all
5958 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5959 lt_cv_file_magic_cmd='/usr/bin/file -L'
5960 lt_cv_file_magic_test_file=/shlib/libc.so
5964 # func_win32_libid is a shell function defined in ltmain.sh
5965 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5966 lt_cv_file_magic_cmd='func_win32_libid'
5970 # Base MSYS/MinGW do not provide the 'file' command needed by
5971 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5972 # unless we find 'file', for example because we are cross-compiling.
5973 if ( file / ) >/dev/null 2>&1; then
5974 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5975 lt_cv_file_magic_cmd='func_win32_libid'
5977 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5978 lt_cv_file_magic_cmd='$OBJDUMP -f'
5983 # use the weaker test based on 'objdump'. See mingw*.
5984 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5985 lt_cv_file_magic_cmd='$OBJDUMP -f'
5988 darwin* | rhapsody*)
5989 lt_cv_deplibs_check_method=pass_all
5992 freebsd* | dragonfly*)
5993 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5996 # Not sure whether the presence of OpenBSD here was a mistake.
5997 # Let's accept both of them until this is cleared up.
5998 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5999 lt_cv_file_magic_cmd=/usr/bin/file
6000 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6004 lt_cv_deplibs_check_method=pass_all
6009 lt_cv_deplibs_check_method=pass_all
6012 hpux10.20* | hpux11*)
6013 lt_cv_file_magic_cmd=/usr/bin/file
6016 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6017 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6020 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]'
6021 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6024 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6025 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6031 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6032 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6035 irix5* | irix6* | nonstopux*)
6037 *-32|*"-32 ") libmagic=32-bit;;
6038 *-n32|*"-n32 ") libmagic=N32;;
6039 *-64|*"-64 ") libmagic=64-bit;;
6040 *) libmagic=never-match;;
6042 lt_cv_deplibs_check_method=pass_all
6045 # This must be Linux ELF.
6046 linux* | k*bsd*-gnu)
6047 lt_cv_deplibs_check_method=pass_all
6051 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6052 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6059 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6060 lt_cv_file_magic_cmd=/usr/bin/file
6061 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6065 lt_cv_deplibs_check_method=pass_all
6069 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6070 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6072 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6076 osf3* | osf4* | osf5*)
6077 lt_cv_deplibs_check_method=pass_all
6081 lt_cv_deplibs_check_method=pass_all
6085 lt_cv_deplibs_check_method=pass_all
6088 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6089 lt_cv_deplibs_check_method=pass_all
6093 case $host_vendor in
6095 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]'
6096 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6099 lt_cv_deplibs_check_method=pass_all
6102 lt_cv_file_magic_cmd='/bin/file'
6103 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6106 lt_cv_file_magic_cmd='/bin/file'
6107 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6108 lt_cv_file_magic_test_file=/lib/libc.so
6111 lt_cv_deplibs_check_method=pass_all
6114 lt_cv_deplibs_check_method=pass_all
6120 lt_cv_deplibs_check_method=pass_all
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6126 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6127 file_magic_cmd=$lt_cv_file_magic_cmd
6128 deplibs_check_method=$lt_cv_deplibs_check_method
6129 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6142 if test -n "$ac_tool_prefix"; then
6143 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6144 set dummy ${ac_tool_prefix}ar; ac_word=$2
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6146 $as_echo_n "checking
for $ac_word...
" >&6; }
6147 if ${ac_cv_prog_AR+:} false; then :
6148 $as_echo_n "(cached
) " >&6
6150 if test -n "$AR"; then
6151 ac_cv_prog_AR="$AR" # Let the user override the test.
6153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 test -z "$as_dir" && as_dir=.
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_AR="${ac_tool_prefix}ar"
6161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6171 if test -n "$AR"; then
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6173 $as_echo "$AR" >&6; }
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6176 $as_echo "no
" >&6; }
6181 if test -z "$ac_cv_prog_AR"; then
6183 # Extract the first word of "ar", so it can be a program name with args.
6184 set dummy ar; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6186 $as_echo_n "checking
for $ac_word...
" >&6; }
6187 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6188 $as_echo_n "(cached
) " >&6
6190 if test -n "$ac_ct_AR"; then
6191 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6200 ac_cv_prog_ac_ct_AR="ar"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6210 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6211 if test -n "$ac_ct_AR"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6213 $as_echo "$ac_ct_AR" >&6; }
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6216 $as_echo "no
" >&6; }
6219 if test "x
$ac_ct_AR" = x; then
6222 case $cross_compiling:$ac_tool_warned in
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6225 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6226 ac_tool_warned=yes ;;
6234 test -z "$AR" && AR=ar
6235 test -z "$AR_FLAGS" && AR_FLAGS=cru
6247 if test -n "$ac_tool_prefix"; then
6248 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6249 set dummy ${ac_tool_prefix}strip; ac_word=$2
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6251 $as_echo_n "checking
for $ac_word...
" >&6; }
6252 if ${ac_cv_prog_STRIP+:} false; then :
6253 $as_echo_n "(cached
) " >&6
6255 if test -n "$STRIP"; then
6256 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir=.
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6265 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6275 STRIP=$ac_cv_prog_STRIP
6276 if test -n "$STRIP"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6278 $as_echo "$STRIP" >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6281 $as_echo "no
" >&6; }
6286 if test -z "$ac_cv_prog_STRIP"; then
6288 # Extract the first word of "strip
", so it can be a program name with args.
6289 set dummy strip; ac_word=$2
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6291 $as_echo_n "checking
for $ac_word...
" >&6; }
6292 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6293 $as_echo_n "(cached
) " >&6
6295 if test -n "$ac_ct_STRIP"; then
6296 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir=.
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6305 ac_cv_prog_ac_ct_STRIP="strip
"
6306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6315 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6316 if test -n "$ac_ct_STRIP"; then
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6318 $as_echo "$ac_ct_STRIP" >&6; }
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6321 $as_echo "no
" >&6; }
6324 if test "x
$ac_ct_STRIP" = x; then
6327 case $cross_compiling:$ac_tool_warned in
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6330 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6331 ac_tool_warned=yes ;;
6336 STRIP="$ac_cv_prog_STRIP"
6339 test -z "$STRIP" && STRIP=:
6346 if test -n "$ac_tool_prefix"; then
6347 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6348 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6350 $as_echo_n "checking
for $ac_word...
" >&6; }
6351 if ${ac_cv_prog_RANLIB+:} false; then :
6352 $as_echo_n "(cached
) " >&6
6354 if test -n "$RANLIB"; then
6355 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6361 test -z "$as_dir" && as_dir=.
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6364 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6374 RANLIB=$ac_cv_prog_RANLIB
6375 if test -n "$RANLIB"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6377 $as_echo "$RANLIB" >&6; }
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6380 $as_echo "no
" >&6; }
6385 if test -z "$ac_cv_prog_RANLIB"; then
6386 ac_ct_RANLIB=$RANLIB
6387 # Extract the first word of "ranlib
", so it can be a program name with args.
6388 set dummy ranlib; ac_word=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6390 $as_echo_n "checking
for $ac_word...
" >&6; }
6391 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6392 $as_echo_n "(cached
) " >&6
6394 if test -n "$ac_ct_RANLIB"; then
6395 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6401 test -z "$as_dir" && as_dir=.
6402 for ac_exec_ext in '' $ac_executable_extensions; do
6403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6404 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6414 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6415 if test -n "$ac_ct_RANLIB"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6417 $as_echo "$ac_ct_RANLIB" >&6; }
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6420 $as_echo "no
" >&6; }
6423 if test "x
$ac_ct_RANLIB" = x; then
6426 case $cross_compiling:$ac_tool_warned in
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6429 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6430 ac_tool_warned=yes ;;
6432 RANLIB=$ac_ct_RANLIB
6435 RANLIB="$ac_cv_prog_RANLIB"
6438 test -z "$RANLIB" && RANLIB=:
6445 # Determine commands to create old-style static archives.
6446 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6447 old_postinstall_cmds='chmod 644 $oldlib'
6448 old_postuninstall_cmds=
6450 if test -n "$RANLIB"; then
6453 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6456 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6459 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6495 # If no C compiler was specified, use CC.
6498 # If no C compiler flags were specified, use CFLAGS.
6499 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6501 # Allow CC to be a program name with arguments.
6505 # Check for command to grab the raw symbol name followed by C symbol from nm.
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6507 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6508 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6509 $as_echo_n "(cached
) " >&6
6512 # These are sane defaults that work on at least a few old systems.
6513 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6515 # Character class describing NM global symbol codes.
6516 symcode='[BCDEGRST]'
6518 # Regexp to match symbols that can be accessed directly from C.
6519 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6521 # Define system-specific variables.
6526 cygwin* | mingw* | pw32* | cegcc*)
6527 symcode='[ABCDGISTW]'
6530 if test "$host_cpu" = ia64; then
6531 symcode='[ABCDEGRST]'
6535 symcode='[BCDEGRST]'
6538 symcode='[BCDEGQRST]'
6549 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6557 # If we're using GNU nm, then use its standard symbol codes.
6558 case `$NM -V 2>&1` in
6559 *GNU* | *'with BFD'*)
6560 symcode='[ABCDGIRSTW]' ;;
6563 # Transform an extracted symbol line into a proper C declaration.
6564 # Some systems (esp. on ia64) link data and code symbols differently,
6565 # so use this general approach.
6566 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6568 # Transform an extracted symbol line into symbol name and symbol address
6569 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6570 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'"
6572 # Handle CRLF in mingw tool chain
6576 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6580 # Try without a prefix underscore, then with it.
6581 for ac_symprfx in "" "_
"; do
6583 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6584 symxfrm="\\1 $ac_symprfx\\2 \\2"
6586 # Write the raw and C identifiers.
6587 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6588 # Fake it for dumpbin and say T for any non-static function
6589 # and D for any global variable.
6590 # Also find C++ and __fastcall symbols from MSVC++,
6591 # which start with @ or ?.
6592 lt_cv_sys_global_symbol_pipe="$AWK '"\
6593 " {last_section=section; section=\$ 3};"\
6594 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6595 " \$ 0!~/External *\|/{next};"\
6596 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6597 " {if(hide[section]) next};"\
6598 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6599 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6600 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6601 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6602 " ' prfx
=^
$ac_symprfx"
6604 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6607 # Check to see that the pipe works correctly.
6611 cat > conftest.$ac_ext <<_LT_EOF
6616 void nm_test_func(void);
6617 void nm_test_func(void){}
6621 int main(){nm_test_var='a';nm_test_func();return(0);}
6624 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6625 (eval $ac_compile) 2>&5
6627 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6628 test $ac_status = 0; }; then
6629 # Now try to grab the symbols.
6631 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6632 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6634 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6635 test $ac_status = 0; } && test -s "$nlist"; then
6636 # Try sorting and uniquifying the output.
6637 if sort "$nlist" | uniq > "$nlist"T; then
6638 mv -f "$nlist"T "$nlist"
6643 # Make sure that we snagged all the symbols we need.
6644 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6645 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6646 cat <<_LT_EOF > conftest.$ac_ext
6652 # Now generate the symbol file.
6653 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6655 cat <<_LT_EOF >> conftest.$ac_ext
6657 /* The mapping between symbol names and symbols. */
6662 lt__PROGRAM__LTX_preloaded_symbols[] =
6664 { "@PROGRAM@
", (void *) 0 },
6666 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6667 cat <<\_LT_EOF >> conftest.$ac_ext
6671 /* This works around a problem in FreeBSD linker */
6672 #ifdef FREEBSD_WORKAROUND
6673 static const void *lt_preloaded_setup() {
6674 return lt__PROGRAM__LTX_preloaded_symbols;
6682 # Now try linking the two files.
6683 mv conftest.$ac_objext conftstm.$ac_objext
6684 lt_save_LIBS="$LIBS"
6685 lt_save_CFLAGS="$CFLAGS"
6686 LIBS="conftstm.
$ac_objext"
6687 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6688 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6689 (eval $ac_link) 2>&5
6691 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6692 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6695 LIBS="$lt_save_LIBS"
6696 CFLAGS="$lt_save_CFLAGS"
6698 echo "cannot
find nm_test_func
in $nlist" >&5
6701 echo "cannot
find nm_test_var
in $nlist" >&5
6704 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6707 echo "$progname: failed program was
:" >&5
6708 cat conftest.$ac_ext >&5
6710 rm -rf conftest* conftst*
6712 # Do not use the global_symbol_pipe unless it works.
6713 if test "$pipe_works" = yes; then
6716 lt_cv_sys_global_symbol_pipe=
6722 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6723 lt_cv_sys_global_symbol_to_cdecl=
6725 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6727 $as_echo "failed
" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6730 $as_echo "ok
" >&6; }
6755 # Check whether --enable-libtool-lock was given.
6756 if test "${enable_libtool_lock+set}" = set; then :
6757 enableval=$enable_libtool_lock;
6760 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6762 # Some flags need to be propagated to the compiler or linker for good
6766 # Find out which ABI we are using.
6767 echo 'int i;' > conftest.$ac_ext
6768 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6769 (eval $ac_compile) 2>&5
6771 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6772 test $ac_status = 0; }; then
6773 case `/usr/bin/file conftest.$ac_objext` in
6785 # Find out which ABI we are using.
6786 echo '#line 6786 "configure
"' > conftest.$ac_ext
6787 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6788 (eval $ac_compile) 2>&5
6790 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6791 test $ac_status = 0; }; then
6792 if test "$lt_cv_prog_gnu_ld" = yes; then
6793 case `/usr/bin/file conftest.$ac_objext` in
6795 LD="${LD-ld} -melf32bsmip"
6798 LD="${LD-ld} -melf32bmipn32"
6801 LD="${LD-ld} -melf64bmip"
6805 case `/usr/bin/file conftest.$ac_objext` in
6821 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6822 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6823 # Find out which ABI we are using.
6824 echo 'int i;' > conftest.$ac_ext
6825 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6826 (eval $ac_compile) 2>&5
6828 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6829 test $ac_status = 0; }; then
6830 case `/usr/bin/file conftest.o` in
6833 x86_64-*kfreebsd*-gnu)
6834 LD="${LD-ld} -m elf_i386_fbsd
"
6837 LD="${LD-ld} -m elf_i386
"
6839 ppc64-*linux*|powerpc64-*linux*)
6840 LD="${LD-ld} -m elf32ppclinux
"
6843 LD="${LD-ld} -m elf_s390
"
6846 LD="${LD-ld} -m elf32_sparc
"
6852 x86_64-*kfreebsd*-gnu)
6853 LD="${LD-ld} -m elf_x86_64_fbsd
"
6856 LD="${LD-ld} -m elf_x86_64
"
6858 ppc*-*linux*|powerpc*-*linux*)
6859 LD="${LD-ld} -m elf64ppc
"
6861 s390*-*linux*|s390*-*tpf*)
6862 LD="${LD-ld} -m elf64_s390
"
6865 LD="${LD-ld} -m elf64_sparc
"
6875 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6876 SAVE_CFLAGS="$CFLAGS"
6877 CFLAGS="$CFLAGS -belf"
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6879 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6880 if ${lt_cv_cc_needs_belf+:} false; then :
6881 $as_echo_n "(cached
) " >&6
6884 ac_cpp='$CPP $CPPFLAGS'
6885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6900 if ac_fn_c_try_link "$LINENO"; then :
6901 lt_cv_cc_needs_belf=yes
6903 lt_cv_cc_needs_belf=no
6905 rm -f core conftest.err conftest.$ac_objext \
6906 conftest$ac_exeext conftest.$ac_ext
6908 ac_cpp='$CPP $CPPFLAGS'
6909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6915 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6916 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6917 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6918 CFLAGS="$SAVE_CFLAGS"
6922 # Find out which ABI we are using.
6923 echo 'int i;' > conftest.$ac_ext
6924 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6925 (eval $ac_compile) 2>&5
6927 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6928 test $ac_status = 0; }; then
6929 case `/usr/bin/file conftest.o` in
6931 case $lt_cv_prog_gnu_ld in
6932 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6934 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6946 need_locks="$enable_libtool_lock"
6950 rhapsody* | darwin*)
6951 if test -n "$ac_tool_prefix"; then
6952 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6953 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6955 $as_echo_n "checking
for $ac_word...
" >&6; }
6956 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6957 $as_echo_n "(cached
) " >&6
6959 if test -n "$DSYMUTIL"; then
6960 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6966 test -z "$as_dir" && as_dir=.
6967 for ac_exec_ext in '' $ac_executable_extensions; do
6968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6969 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6979 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6980 if test -n "$DSYMUTIL"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6982 $as_echo "$DSYMUTIL" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6985 $as_echo "no
" >&6; }
6990 if test -z "$ac_cv_prog_DSYMUTIL"; then
6991 ac_ct_DSYMUTIL=$DSYMUTIL
6992 # Extract the first word of "dsymutil
", so it can be a program name with args.
6993 set dummy dsymutil; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6995 $as_echo_n "checking
for $ac_word...
" >&6; }
6996 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6997 $as_echo_n "(cached
) " >&6
6999 if test -n "$ac_ct_DSYMUTIL"; then
7000 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7019 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7020 if test -n "$ac_ct_DSYMUTIL"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7022 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7025 $as_echo "no
" >&6; }
7028 if test "x
$ac_ct_DSYMUTIL" = x; then
7031 case $cross_compiling:$ac_tool_warned in
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7034 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7035 ac_tool_warned=yes ;;
7037 DSYMUTIL=$ac_ct_DSYMUTIL
7040 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7043 if test -n "$ac_tool_prefix"; then
7044 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7045 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7047 $as_echo_n "checking
for $ac_word...
" >&6; }
7048 if ${ac_cv_prog_NMEDIT+:} false; then :
7049 $as_echo_n "(cached
) " >&6
7051 if test -n "$NMEDIT"; then
7052 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir=.
7059 for ac_exec_ext in '' $ac_executable_extensions; do
7060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7061 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7071 NMEDIT=$ac_cv_prog_NMEDIT
7072 if test -n "$NMEDIT"; then
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7074 $as_echo "$NMEDIT" >&6; }
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7077 $as_echo "no
" >&6; }
7082 if test -z "$ac_cv_prog_NMEDIT"; then
7083 ac_ct_NMEDIT=$NMEDIT
7084 # Extract the first word of "nmedit
", so it can be a program name with args.
7085 set dummy nmedit; ac_word=$2
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7087 $as_echo_n "checking
for $ac_word...
" >&6; }
7088 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7089 $as_echo_n "(cached
) " >&6
7091 if test -n "$ac_ct_NMEDIT"; then
7092 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7098 test -z "$as_dir" && as_dir=.
7099 for ac_exec_ext in '' $ac_executable_extensions; do
7100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7101 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7111 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7112 if test -n "$ac_ct_NMEDIT"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7114 $as_echo "$ac_ct_NMEDIT" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7117 $as_echo "no
" >&6; }
7120 if test "x
$ac_ct_NMEDIT" = x; then
7123 case $cross_compiling:$ac_tool_warned in
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7126 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7127 ac_tool_warned=yes ;;
7129 NMEDIT=$ac_ct_NMEDIT
7132 NMEDIT="$ac_cv_prog_NMEDIT"
7135 if test -n "$ac_tool_prefix"; then
7136 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7137 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7139 $as_echo_n "checking
for $ac_word...
" >&6; }
7140 if ${ac_cv_prog_LIPO+:} false; then :
7141 $as_echo_n "(cached
) " >&6
7143 if test -n "$LIPO"; then
7144 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7150 test -z "$as_dir" && as_dir=.
7151 for ac_exec_ext in '' $ac_executable_extensions; do
7152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7153 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7154 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7163 LIPO=$ac_cv_prog_LIPO
7164 if test -n "$LIPO"; then
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7166 $as_echo "$LIPO" >&6; }
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7169 $as_echo "no
" >&6; }
7174 if test -z "$ac_cv_prog_LIPO"; then
7176 # Extract the first word of "lipo
", so it can be a program name with args.
7177 set dummy lipo; ac_word=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7179 $as_echo_n "checking
for $ac_word...
" >&6; }
7180 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7181 $as_echo_n "(cached
) " >&6
7183 if test -n "$ac_ct_LIPO"; then
7184 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7190 test -z "$as_dir" && as_dir=.
7191 for ac_exec_ext in '' $ac_executable_extensions; do
7192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7193 ac_cv_prog_ac_ct_LIPO="lipo
"
7194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7203 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7204 if test -n "$ac_ct_LIPO"; then
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7206 $as_echo "$ac_ct_LIPO" >&6; }
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7209 $as_echo "no
" >&6; }
7212 if test "x
$ac_ct_LIPO" = x; then
7215 case $cross_compiling:$ac_tool_warned in
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7218 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7219 ac_tool_warned=yes ;;
7224 LIPO="$ac_cv_prog_LIPO"
7227 if test -n "$ac_tool_prefix"; then
7228 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7229 set dummy ${ac_tool_prefix}otool; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7231 $as_echo_n "checking
for $ac_word...
" >&6; }
7232 if ${ac_cv_prog_OTOOL+:} false; then :
7233 $as_echo_n "(cached
) " >&6
7235 if test -n "$OTOOL"; then
7236 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir=.
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7245 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7255 OTOOL=$ac_cv_prog_OTOOL
7256 if test -n "$OTOOL"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7258 $as_echo "$OTOOL" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7261 $as_echo "no
" >&6; }
7266 if test -z "$ac_cv_prog_OTOOL"; then
7268 # Extract the first word of "otool
", so it can be a program name with args.
7269 set dummy otool; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7271 $as_echo_n "checking
for $ac_word...
" >&6; }
7272 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7273 $as_echo_n "(cached
) " >&6
7275 if test -n "$ac_ct_OTOOL"; then
7276 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7285 ac_cv_prog_ac_ct_OTOOL="otool
"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7295 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7296 if test -n "$ac_ct_OTOOL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7298 $as_echo "$ac_ct_OTOOL" >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7301 $as_echo "no
" >&6; }
7304 if test "x
$ac_ct_OTOOL" = x; then
7307 case $cross_compiling:$ac_tool_warned in
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7310 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7311 ac_tool_warned=yes ;;
7316 OTOOL="$ac_cv_prog_OTOOL"
7319 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7321 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7323 $as_echo_n "checking
for $ac_word...
" >&6; }
7324 if ${ac_cv_prog_OTOOL64+:} false; then :
7325 $as_echo_n "(cached
) " >&6
7327 if test -n "$OTOOL64"; then
7328 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7337 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7347 OTOOL64=$ac_cv_prog_OTOOL64
7348 if test -n "$OTOOL64"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7350 $as_echo "$OTOOL64" >&6; }
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7353 $as_echo "no
" >&6; }
7358 if test -z "$ac_cv_prog_OTOOL64"; then
7359 ac_ct_OTOOL64=$OTOOL64
7360 # Extract the first word of "otool64
", so it can be a program name with args.
7361 set dummy otool64; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7363 $as_echo_n "checking
for $ac_word...
" >&6; }
7364 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7365 $as_echo_n "(cached
) " >&6
7367 if test -n "$ac_ct_OTOOL64"; then
7368 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7387 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7388 if test -n "$ac_ct_OTOOL64"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7390 $as_echo "$ac_ct_OTOOL64" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7393 $as_echo "no
" >&6; }
7396 if test "x
$ac_ct_OTOOL64" = x; then
7399 case $cross_compiling:$ac_tool_warned in
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7402 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7403 ac_tool_warned=yes ;;
7405 OTOOL64=$ac_ct_OTOOL64
7408 OTOOL64="$ac_cv_prog_OTOOL64"
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7438 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7439 if ${lt_cv_apple_cc_single_mod+:} false; then :
7440 $as_echo_n "(cached
) " >&6
7442 lt_cv_apple_cc_single_mod=no
7443 if test -z "${LT_MULTI_MODULE}"; then
7444 # By default we will add the -single_module flag. You can override
7445 # by either setting the environment variable LT_MULTI_MODULE
7446 # non-empty at configure time, or by adding -multi_module to the
7448 rm -rf libconftest.dylib*
7449 echo "int foo
(void
){return 1;}" > conftest.c
7450 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7451 -dynamiclib -Wl,-single_module conftest.c
" >&5
7452 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7453 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7455 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7456 lt_cv_apple_cc_single_mod=yes
7458 cat conftest.err >&5
7460 rm -rf libconftest.dylib*
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7465 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7467 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7468 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7469 $as_echo_n "(cached
) " >&6
7471 lt_cv_ld_exported_symbols_list=no
7472 save_LDFLAGS=$LDFLAGS
7473 echo "_main
" > conftest.sym
7474 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7476 /* end confdefs.h. */
7486 if ac_fn_c_try_link "$LINENO"; then :
7487 lt_cv_ld_exported_symbols_list=yes
7489 lt_cv_ld_exported_symbols_list=no
7491 rm -f core conftest.err conftest.$ac_objext \
7492 conftest$ac_exeext conftest.$ac_ext
7493 LDFLAGS="$save_LDFLAGS"
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7497 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7499 rhapsody* | darwin1.[012])
7500 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7502 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7503 darwin*) # darwin 5.x on
7504 # if running on 10.5 or later, the deployment target defaults
7505 # to the OS version, if on x86, and 10.4, the deployment
7506 # target defaults to 10.4. Don't you love it?
7507 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7508 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7509 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7511 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7513 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7517 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7518 _lt_dar_single_mod='$single_module'
7520 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7521 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7523 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7525 if test "$DSYMUTIL" != ":"; then
7526 _lt_dsymutil='~$DSYMUTIL $lib || :'
7534 ac_cpp='$CPP $CPPFLAGS'
7535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7539 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7540 # On Suns, sometimes $CPP names a directory.
7541 if test -n "$CPP" && test -d "$CPP"; then
7544 if test -z "$CPP"; then
7545 if ${ac_cv_prog_CPP+:} false; then :
7546 $as_echo_n "(cached
) " >&6
7548 # Double quotes because CPP needs to be expanded
7549 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7552 for ac_c_preproc_warn_flag in '' yes
7554 # Use a header file that comes with gcc, so configuring glibc
7555 # with a fresh cross-compiler works.
7556 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7557 # <limits.h> exists even on freestanding compilers.
7558 # On the NeXT, cc -E runs the code through the compiler's parser,
7559 # not just through cpp. "Syntax error
" is here to catch this case.
7560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h. */
7563 # include <limits.h>
7565 # include <assert.h>
7569 if ac_fn_c_try_cpp "$LINENO"; then :
7572 # Broken: fails on valid input.
7575 rm -f conftest.err conftest.i conftest.$ac_ext
7577 # OK, works on sane cases. Now check whether nonexistent headers
7578 # can be detected and how.
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7581 #include <ac_nonexistent.h>
7583 if ac_fn_c_try_cpp "$LINENO"; then :
7584 # Broken: success on invalid input.
7587 # Passes both tests.
7591 rm -f conftest.err conftest.i conftest.$ac_ext
7594 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7595 rm -f conftest.i conftest.err conftest.$ac_ext
7596 if $ac_preproc_ok; then :
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7609 $as_echo "$CPP" >&6; }
7611 for ac_c_preproc_warn_flag in '' yes
7613 # Use a header file that comes with gcc, so configuring glibc
7614 # with a fresh cross-compiler works.
7615 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7616 # <limits.h> exists even on freestanding compilers.
7617 # On the NeXT, cc -E runs the code through the compiler's parser,
7618 # not just through cpp. "Syntax error
" is here to catch this case.
7619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620 /* end confdefs.h. */
7622 # include <limits.h>
7624 # include <assert.h>
7628 if ac_fn_c_try_cpp "$LINENO"; then :
7631 # Broken: fails on valid input.
7634 rm -f conftest.err conftest.i conftest.$ac_ext
7636 # OK, works on sane cases. Now check whether nonexistent headers
7637 # can be detected and how.
7638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639 /* end confdefs.h. */
7640 #include <ac_nonexistent.h>
7642 if ac_fn_c_try_cpp "$LINENO"; then :
7643 # Broken: success on invalid input.
7646 # Passes both tests.
7650 rm -f conftest.err conftest.i conftest.$ac_ext
7653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7654 rm -f conftest.i conftest.err conftest.$ac_ext
7655 if $ac_preproc_ok; then :
7658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7659 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7660 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7661 See \`config.log' for more details
" "$LINENO" 5; }
7665 ac_cpp='$CPP $CPPFLAGS'
7666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7672 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7673 if ${ac_cv_header_stdc+:} false; then :
7674 $as_echo_n "(cached
) " >&6
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7691 if ac_fn_c_try_compile "$LINENO"; then :
7692 ac_cv_header_stdc=yes
7694 ac_cv_header_stdc=no
7696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7698 if test $ac_cv_header_stdc = yes; then
7699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7705 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7706 $EGREP "memchr
" >/dev/null 2>&1; then :
7709 ac_cv_header_stdc=no
7715 if test $ac_cv_header_stdc = yes; then
7716 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718 /* end confdefs.h. */
7722 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7723 $EGREP "free
" >/dev/null 2>&1; then :
7726 ac_cv_header_stdc=no
7732 if test $ac_cv_header_stdc = yes; then
7733 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7734 if test "$cross_compiling" = yes; then :
7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7741 #if ((' ' & 0x0FF) == 0x020)
7742 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7743 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7745 # define ISLOWER(c) \
7746 (('a' <= (c) && (c) <= 'i') \
7747 || ('j' <= (c) && (c) <= 'r') \
7748 || ('s' <= (c) && (c) <= 'z'))
7749 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7757 for (i = 0; i < 256; i++)
7758 if (XOR (islower (i), ISLOWER (i))
7759 || toupper (i) != TOUPPER (i))
7764 if ac_fn_c_try_run "$LINENO"; then :
7767 ac_cv_header_stdc=no
7769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7770 conftest.$ac_objext conftest.beam conftest.$ac_ext
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7776 $as_echo "$ac_cv_header_stdc" >&6; }
7777 if test $ac_cv_header_stdc = yes; then
7779 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7783 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7784 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7785 inttypes.h stdint.h unistd.h
7787 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7788 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7790 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7791 cat >>confdefs.h
<<_ACEOF
7792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7800 for ac_header
in dlfcn.h
7802 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7804 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7805 cat >>confdefs.h
<<_ACEOF
7806 #define HAVE_DLFCN_H 1
7825 # Check whether --enable-shared was given.
7826 if test "${enable_shared+set}" = set; then :
7827 enableval
=$enable_shared; p
=${PACKAGE-default}
7829 yes) enable_shared
=yes ;;
7830 no
) enable_shared
=no
;;
7833 # Look at the argument we got. We use all the common list separators.
7834 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7835 for pkg
in $enableval; do
7837 if test "X$pkg" = "X$p"; then
7856 # Check whether --enable-static was given.
7857 if test "${enable_static+set}" = set; then :
7858 enableval
=$enable_static; p
=${PACKAGE-default}
7860 yes) enable_static
=yes ;;
7861 no
) enable_static
=no
;;
7864 # Look at the argument we got. We use all the common list separators.
7865 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7866 for pkg
in $enableval; do
7868 if test "X$pkg" = "X$p"; then
7888 # Check whether --with-pic was given.
7889 if test "${with_pic+set}" = set; then :
7890 withval
=$with_pic; pic_mode
="$withval"
7896 test -z "$pic_mode" && pic_mode
=default
7904 # Check whether --enable-fast-install was given.
7905 if test "${enable_fast_install+set}" = set; then :
7906 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7908 yes) enable_fast_install
=yes ;;
7909 no
) enable_fast_install
=no
;;
7911 enable_fast_install
=no
7912 # Look at the argument we got. We use all the common list separators.
7913 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7914 for pkg
in $enableval; do
7916 if test "X$pkg" = "X$p"; then
7917 enable_fast_install
=yes
7924 enable_fast_install
=yes
7937 # This can be used to rebuild libtool when needed
7938 LIBTOOL_DEPS
="$ltmain"
7940 # Always use our own libtool.
7941 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7967 test -z "$LN_S" && LN_S
="ln -s"
7982 if test -n "${ZSH_VERSION+set}" ; then
7983 setopt NO_GLOB_SUBST
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7987 $as_echo_n "checking for objdir... " >&6; }
7988 if ${lt_cv_objdir+:} false
; then :
7989 $as_echo_n "(cached) " >&6
7991 rm -f .libs
2>/dev
/null
7992 mkdir .libs
2>/dev
/null
7993 if test -d .libs
; then
7996 # MS-DOS does not allow filenames that begin with a dot.
7999 rmdir .libs
2>/dev
/null
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8002 $as_echo "$lt_cv_objdir" >&6; }
8003 objdir
=$lt_cv_objdir
8009 cat >>confdefs.h
<<_ACEOF
8010 #define LT_OBJDIR "$lt_cv_objdir/"
8031 # AIX sometimes has problems with the GCC collect2 program. For some
8032 # reason, if we set the COLLECT_NAMES environment variable, the problems
8033 # vanish in a puff of smoke.
8034 if test "X${COLLECT_NAMES+set}" != Xset
; then
8036 export COLLECT_NAMES
8041 # Sed substitution that helps us do robust quoting. It backslashifies
8042 # metacharacters that are still active within double-quoted strings.
8043 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8045 # Same as above, but do not quote variable references.
8046 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8048 # Sed substitution to delay expansion of an escaped shell variable in a
8049 # double_quote_subst'ed string.
8050 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8052 # Sed substitution to delay expansion of an escaped single quote.
8053 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8055 # Sed substitution to avoid accidental globbing in evaled expressions
8056 no_glob_subst
='s/\*/\\\*/g'
8060 can_build_shared
=yes
8062 # All known linkers require a `.a' archive for static linking (except MSVC,
8063 # which needs '.lib').
8066 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8069 old_CFLAGS
="$CFLAGS"
8071 # Set sane defaults for various variables
8072 test -z "$CC" && CC
=cc
8073 test -z "$LTCC" && LTCC
=$CC
8074 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8075 test -z "$LD" && LD
=ld
8076 test -z "$ac_objext" && ac_objext
=o
8078 for cc_temp
in $compiler""; do
8080 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8081 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8086 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8089 # Only perform the check for file, if the check method requires it
8090 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8091 case $deplibs_check_method in
8093 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8095 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8096 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8097 $as_echo_n "(cached) " >&6
8101 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8104 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8105 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8106 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8107 for ac_dir
in $ac_dummy; do
8109 test -z "$ac_dir" && ac_dir
=.
8110 if test -f $ac_dir/${ac_tool_prefix}file; then
8111 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8112 if test -n "$file_magic_test_file"; then
8113 case $deplibs_check_method in
8115 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8116 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8117 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8118 $EGREP "$file_magic_regex" > /dev
/null
; then
8123 *** Warning: the command libtool uses to detect shared libraries,
8124 *** $file_magic_cmd, produces output that libtool cannot recognize.
8125 *** The result is that libtool may fail to recognize shared libraries
8126 *** as such. This will affect the creation of libtool libraries that
8127 *** depend on shared libraries, but programs linked with such libtool
8128 *** libraries will work regardless of this problem. Nevertheless, you
8129 *** may want to report the problem to your system manager and/or to
8130 *** bug-libtool@gnu.org
8140 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8145 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8146 if test -n "$MAGIC_CMD"; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8148 $as_echo "$MAGIC_CMD" >&6; }
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8151 $as_echo "no" >&6; }
8158 if test -z "$lt_cv_path_MAGIC_CMD"; then
8159 if test -n "$ac_tool_prefix"; then
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8161 $as_echo_n "checking for file... " >&6; }
8162 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8163 $as_echo_n "(cached) " >&6
8167 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8170 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8171 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8172 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8173 for ac_dir
in $ac_dummy; do
8175 test -z "$ac_dir" && ac_dir
=.
8176 if test -f $ac_dir/file; then
8177 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8178 if test -n "$file_magic_test_file"; then
8179 case $deplibs_check_method in
8181 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8182 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8183 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8184 $EGREP "$file_magic_regex" > /dev
/null
; then
8189 *** Warning: the command libtool uses to detect shared libraries,
8190 *** $file_magic_cmd, produces output that libtool cannot recognize.
8191 *** The result is that libtool may fail to recognize shared libraries
8192 *** as such. This will affect the creation of libtool libraries that
8193 *** depend on shared libraries, but programs linked with such libtool
8194 *** libraries will work regardless of this problem. Nevertheless, you
8195 *** may want to report the problem to your system manager and/or to
8196 *** bug-libtool@gnu.org
8206 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8211 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8212 if test -n "$MAGIC_CMD"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8214 $as_echo "$MAGIC_CMD" >&6; }
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8230 # Use C for the default configuration in the libtool script
8234 ac_cpp
='$CPP $CPPFLAGS'
8235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8240 # Source file extension for C test sources.
8243 # Object file extension for compiled C test sources.
8247 # Code to be used in simple compile tests
8248 lt_simple_compile_test_code
="int some_variable = 0;"
8250 # Code to be used in simple link tests
8251 lt_simple_link_test_code
='int main(){return(0);}'
8259 # If no C compiler was specified, use CC.
8262 # If no C compiler flags were specified, use CFLAGS.
8263 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8265 # Allow CC to be a program name with arguments.
8268 # Save the default compiler, since it gets overwritten when the other
8269 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8270 compiler_DEFAULT
=$CC
8272 # save warnings/boilerplate of simple test code
8273 ac_outfile
=conftest.
$ac_objext
8274 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8275 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8276 _lt_compiler_boilerplate
=`cat conftest.err`
8279 ac_outfile
=conftest.
$ac_objext
8280 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8281 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8282 _lt_linker_boilerplate
=`cat conftest.err`
8287 ## There is no encapsulation within the following macros, do not change
8288 ## the running order or otherwise move them around unless you know exactly
8289 ## what you are doing...
8290 if test -n "$compiler"; then
8292 lt_prog_compiler_no_builtin_flag
=
8294 if test "$GCC" = yes; then
8295 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8298 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8299 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8302 lt_cv_prog_compiler_rtti_exceptions
=no
8303 ac_outfile
=conftest.
$ac_objext
8304 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8305 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8306 # Insert the option either (1) after the last *FLAGS variable, or
8307 # (2) before a word containing "conftest.", or (3) at the end.
8308 # Note that $ac_compile itself does not contain backslashes and begins
8309 # with a dollar sign (not a hyphen), so the echo should work correctly.
8310 # The option is referenced via a variable to avoid confusing sed.
8311 lt_compile
=`echo "$ac_compile" | $SED \
8312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8314 -e 's:$: $lt_compiler_flag:'`
8315 (eval echo "\"\$as_me:8315: $lt_compile\"" >&5)
8316 (eval "$lt_compile" 2>conftest.err
)
8318 cat conftest.err
>&5
8319 echo "$as_me:8319: \$? = $ac_status" >&5
8320 if (exit $ac_status) && test -s "$ac_outfile"; then
8321 # The compiler can only warn and ignore the option if not recognized
8322 # So say no if there are warnings other than the usual output.
8323 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8324 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8325 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8326 lt_cv_prog_compiler_rtti_exceptions
=yes
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8333 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8335 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8336 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8348 lt_prog_compiler_wl
=
8349 lt_prog_compiler_pic
=
8350 lt_prog_compiler_static
=
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8353 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8355 if test "$GCC" = yes; then
8356 lt_prog_compiler_wl
='-Wl,'
8357 lt_prog_compiler_static
='-static'
8361 # All AIX code is PIC.
8362 if test "$host_cpu" = ia64
; then
8363 # AIX 5 now supports IA64 processor
8364 lt_prog_compiler_static
='-Bstatic'
8371 # see comment about AmigaOS4 .so support
8372 lt_prog_compiler_pic
='-fPIC'
8375 # FIXME: we need at least 68020 code to build shared libraries, but
8376 # adding the `-m68020' flag to GCC prevents building anything better,
8378 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8383 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8384 # PIC is the default for these OSes.
8387 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8388 # This hack is so that the source file can tell whether it is being
8389 # built for inclusion in a dll (and should export symbols for example).
8390 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8391 # (--disable-auto-import) libraries
8392 lt_prog_compiler_pic
='-DDLL_EXPORT'
8395 darwin
* | rhapsody
*)
8396 # PIC is the default on this platform
8397 # Common symbols not allowed in MH_DYLIB files
8398 lt_prog_compiler_pic
='-fno-common'
8402 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8403 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8404 # sets the default TLS model and affects inlining.
8410 lt_prog_compiler_pic
='-fPIC'
8416 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8417 # Instead, we relocate shared libraries at runtime.
8421 # Just because we use GCC doesn't mean we suddenly get shared libraries
8422 # on systems that don't support them.
8423 lt_prog_compiler_can_build_shared
=no
8428 # QNX uses GNU C++, but need to define -shared option too, otherwise
8430 lt_prog_compiler_pic
='-fPIC -shared'
8434 if test -d /usr
/nec
; then
8435 lt_prog_compiler_pic
=-Kconform_pic
8440 lt_prog_compiler_pic
='-fPIC'
8444 # PORTME Check for flag to pass linker flags through the system compiler.
8447 lt_prog_compiler_wl
='-Wl,'
8448 if test "$host_cpu" = ia64
; then
8449 # AIX 5 now supports IA64 processor
8450 lt_prog_compiler_static
='-Bstatic'
8452 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8456 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8457 # This hack is so that the source file can tell whether it is being
8458 # built for inclusion in a dll (and should export symbols for example).
8459 lt_prog_compiler_pic
='-DDLL_EXPORT'
8462 hpux9
* | hpux10
* | hpux11
*)
8463 lt_prog_compiler_wl
='-Wl,'
8464 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8471 lt_prog_compiler_pic
='+Z'
8474 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8475 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8478 irix5
* | irix6
* | nonstopux
*)
8479 lt_prog_compiler_wl
='-Wl,'
8480 # PIC (with -KPIC) is the default.
8481 lt_prog_compiler_static
='-non_shared'
8484 linux
* | k
*bsd
*-gnu)
8485 case $cc_basename in
8486 # old Intel for x86_64 which still supported -KPIC.
8488 lt_prog_compiler_wl
='-Wl,'
8489 lt_prog_compiler_pic
='-KPIC'
8490 lt_prog_compiler_static
='-static'
8492 # icc used to be incompatible with GCC.
8493 # ICC 10 doesn't accept -KPIC any more.
8495 lt_prog_compiler_wl
='-Wl,'
8496 lt_prog_compiler_pic
='-fPIC'
8497 lt_prog_compiler_static
='-static'
8499 # Lahey Fortran 8.1.
8501 lt_prog_compiler_wl
='-Wl,'
8502 lt_prog_compiler_pic
='--shared'
8503 lt_prog_compiler_static
='--static'
8505 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8506 # Portland Group compilers (*not* the Pentium gcc compiler,
8507 # which looks to be a dead project)
8508 lt_prog_compiler_wl
='-Wl,'
8509 lt_prog_compiler_pic
='-fpic'
8510 lt_prog_compiler_static
='-Bstatic'
8513 lt_prog_compiler_wl
='-Wl,'
8514 # All Alpha code is PIC.
8515 lt_prog_compiler_static
='-non_shared'
8518 # IBM XL C 8.0/Fortran 10.1 on PPC
8519 lt_prog_compiler_wl
='-Wl,'
8520 lt_prog_compiler_pic
='-qpic'
8521 lt_prog_compiler_static
='-qstaticlink'
8524 case `$CC -V 2>&1 | sed 5q` in
8527 lt_prog_compiler_pic
='-KPIC'
8528 lt_prog_compiler_static
='-Bstatic'
8529 lt_prog_compiler_wl
='-Wl,'
8532 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8533 lt_prog_compiler_pic
='-KPIC'
8534 lt_prog_compiler_static
='-Bstatic'
8535 lt_prog_compiler_wl
=''
8543 lt_prog_compiler_pic
='-KPIC'
8544 lt_prog_compiler_static
='-Bstatic'
8548 # QNX uses GNU C++, but need to define -shared option too, otherwise
8550 lt_prog_compiler_pic
='-fPIC -shared'
8553 osf3
* | osf4
* | osf5
*)
8554 lt_prog_compiler_wl
='-Wl,'
8555 # All OSF/1 code is PIC.
8556 lt_prog_compiler_static
='-non_shared'
8560 lt_prog_compiler_static
='-non_shared'
8564 lt_prog_compiler_pic
='-KPIC'
8565 lt_prog_compiler_static
='-Bstatic'
8566 case $cc_basename in
8568 lt_prog_compiler_wl
='-Qoption ld ';;
8570 lt_prog_compiler_wl
='-Wl,';;
8575 lt_prog_compiler_wl
='-Qoption ld '
8576 lt_prog_compiler_pic
='-PIC'
8577 lt_prog_compiler_static
='-Bstatic'
8580 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8581 lt_prog_compiler_wl
='-Wl,'
8582 lt_prog_compiler_pic
='-KPIC'
8583 lt_prog_compiler_static
='-Bstatic'
8587 if test -d /usr
/nec
;then
8588 lt_prog_compiler_pic
='-Kconform_pic'
8589 lt_prog_compiler_static
='-Bstatic'
8593 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8594 lt_prog_compiler_wl
='-Wl,'
8595 lt_prog_compiler_pic
='-KPIC'
8596 lt_prog_compiler_static
='-Bstatic'
8600 lt_prog_compiler_wl
='-Wl,'
8601 lt_prog_compiler_can_build_shared
=no
8605 lt_prog_compiler_pic
='-pic'
8606 lt_prog_compiler_static
='-Bstatic'
8610 lt_prog_compiler_can_build_shared
=no
8616 # For platforms which do not support PIC, -DPIC is meaningless:
8618 lt_prog_compiler_pic
=
8621 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8625 $as_echo "$lt_prog_compiler_pic" >&6; }
8633 # Check to make sure the PIC flag actually works.
8635 if test -n "$lt_prog_compiler_pic"; then
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8637 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8638 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8639 $as_echo_n "(cached) " >&6
8641 lt_cv_prog_compiler_pic_works
=no
8642 ac_outfile
=conftest.
$ac_objext
8643 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8644 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8645 # Insert the option either (1) after the last *FLAGS variable, or
8646 # (2) before a word containing "conftest.", or (3) at the end.
8647 # Note that $ac_compile itself does not contain backslashes and begins
8648 # with a dollar sign (not a hyphen), so the echo should work correctly.
8649 # The option is referenced via a variable to avoid confusing sed.
8650 lt_compile
=`echo "$ac_compile" | $SED \
8651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8653 -e 's:$: $lt_compiler_flag:'`
8654 (eval echo "\"\$as_me:8654: $lt_compile\"" >&5)
8655 (eval "$lt_compile" 2>conftest.err
)
8657 cat conftest.err
>&5
8658 echo "$as_me:8658: \$? = $ac_status" >&5
8659 if (exit $ac_status) && test -s "$ac_outfile"; then
8660 # The compiler can only warn and ignore the option if not recognized
8661 # So say no if there are warnings other than the usual output.
8662 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8663 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8664 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8665 lt_cv_prog_compiler_pic_works
=yes
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8672 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8674 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8675 case $lt_prog_compiler_pic in
8677 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8680 lt_prog_compiler_pic
=
8681 lt_prog_compiler_can_build_shared
=no
8692 # Check to make sure the static flag actually works.
8694 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8696 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8697 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8698 $as_echo_n "(cached) " >&6
8700 lt_cv_prog_compiler_static_works
=no
8701 save_LDFLAGS
="$LDFLAGS"
8702 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8703 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8704 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8705 # The linker can only warn and ignore the option if not recognized
8706 # So say no if there are warnings
8707 if test -s conftest.err
; then
8708 # Append any errors to the config.log.
8709 cat conftest.err
1>&5
8710 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8711 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8712 if diff conftest.exp conftest.er2
>/dev
/null
; then
8713 lt_cv_prog_compiler_static_works
=yes
8716 lt_cv_prog_compiler_static_works
=yes
8720 LDFLAGS
="$save_LDFLAGS"
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8724 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8726 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8729 lt_prog_compiler_static
=
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8739 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8740 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8741 $as_echo_n "(cached) " >&6
8743 lt_cv_prog_compiler_c_o
=no
8744 $RM -r conftest
2>/dev
/null
8748 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8750 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8751 # Insert the option either (1) after the last *FLAGS variable, or
8752 # (2) before a word containing "conftest.", or (3) at the end.
8753 # Note that $ac_compile itself does not contain backslashes and begins
8754 # with a dollar sign (not a hyphen), so the echo should work correctly.
8755 lt_compile
=`echo "$ac_compile" | $SED \
8756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8758 -e 's:$: $lt_compiler_flag:'`
8759 (eval echo "\"\$as_me:8759: $lt_compile\"" >&5)
8760 (eval "$lt_compile" 2>out
/conftest.err
)
8762 cat out
/conftest.err
>&5
8763 echo "$as_me:8763: \$? = $ac_status" >&5
8764 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8766 # The compiler can only warn and ignore the option if not recognized
8767 # So say no if there are warnings
8768 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8769 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8770 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8771 lt_cv_prog_compiler_c_o
=yes
8776 # SGI C++ compiler will create directory out/ii_files/ for
8777 # template instantiation
8778 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8779 $RM out
/* && rmdir out
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8786 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8794 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8795 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8796 $as_echo_n "(cached) " >&6
8798 lt_cv_prog_compiler_c_o
=no
8799 $RM -r conftest
2>/dev
/null
8803 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8805 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8806 # Insert the option either (1) after the last *FLAGS variable, or
8807 # (2) before a word containing "conftest.", or (3) at the end.
8808 # Note that $ac_compile itself does not contain backslashes and begins
8809 # with a dollar sign (not a hyphen), so the echo should work correctly.
8810 lt_compile
=`echo "$ac_compile" | $SED \
8811 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8812 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8813 -e 's:$: $lt_compiler_flag:'`
8814 (eval echo "\"\$as_me:8814: $lt_compile\"" >&5)
8815 (eval "$lt_compile" 2>out
/conftest.err
)
8817 cat out
/conftest.err
>&5
8818 echo "$as_me:8818: \$? = $ac_status" >&5
8819 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8821 # The compiler can only warn and ignore the option if not recognized
8822 # So say no if there are warnings
8823 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8824 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8825 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8826 lt_cv_prog_compiler_c_o
=yes
8831 # SGI C++ compiler will create directory out/ii_files/ for
8832 # template instantiation
8833 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8834 $RM out
/* && rmdir out
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8841 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8846 hard_links
="nottested"
8847 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8848 # do not overwrite the value of need_locks provided by the user
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8850 $as_echo_n "checking if we can lock with hard links... " >&6; }
8853 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8855 ln conftest.a conftest.b
2>&5 || hard_links
=no
8856 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8858 $as_echo "$hard_links" >&6; }
8859 if test "$hard_links" = no
; then
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8861 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8874 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8877 allow_undefined_flag
=
8878 always_export_symbols
=no
8880 archive_expsym_cmds
=
8881 compiler_needs_object
=no
8882 enable_shared_with_static_runtimes
=no
8883 export_dynamic_flag_spec
=
8884 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8885 hardcode_automatic
=no
8887 hardcode_direct_absolute
=no
8888 hardcode_libdir_flag_spec
=
8889 hardcode_libdir_flag_spec_ld
=
8890 hardcode_libdir_separator
=
8892 hardcode_shlibpath_var
=unsupported
8894 link_all_deplibs
=unknown
8897 old_archive_from_new_cmds
=
8898 old_archive_from_expsyms_cmds
=
8899 thread_safe_flag_spec
=
8900 whole_archive_flag_spec
=
8901 # include_expsyms should be a list of space-separated symbols to be *always*
8902 # included in the symbol list
8904 # exclude_expsyms can be an extended regexp of symbols to exclude
8905 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8906 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8907 # as well as any symbol that contains `d'.
8908 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8909 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8910 # platforms (ab)use it in PIC code, but their linkers get confused if
8911 # the symbol is explicitly referenced. Since portable code cannot
8912 # rely on this symbol name, it's probably fine to never include it in
8913 # preloaded symbol tables.
8914 # Exclude shared library initialization/finalization symbols.
8915 extract_expsyms_cmds
=
8918 cygwin
* | mingw
* | pw32
* | cegcc
*)
8919 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8920 # When not using gcc, we currently assume that we are using
8921 # Microsoft Visual C++.
8922 if test "$GCC" != yes; then
8927 # we just hope/assume this is gcc and not c89 (= MSVC++)
8936 if test "$with_gnu_ld" = yes; then
8937 # If archive_cmds runs LD, not CC, wlarc should be empty
8940 # Set some defaults for GNU ld with shared library support. These
8941 # are reset later if shared libraries are not supported. Putting them
8942 # here allows them to be overridden if necessary.
8943 runpath_var
=LD_RUN_PATH
8944 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8945 export_dynamic_flag_spec
='${wl}--export-dynamic'
8946 # ancient GNU ld didn't support --whole-archive et. al.
8947 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8948 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8950 whole_archive_flag_spec
=
8952 supports_anon_versioning
=no
8953 case `$LD -v 2>&1` in
8954 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8955 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8956 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8957 *\
2.11.
*) ;; # other 2.11 versions
8958 *) supports_anon_versioning
=yes ;;
8961 # See if GNU ld supports shared libraries.
8964 # On AIX/PPC, the GNU linker is very broken
8965 if test "$host_cpu" != ia64
; then
8969 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8970 *** to be unable to reliably create shared libraries on AIX.
8971 *** Therefore, libtool is disabling shared libraries support. If you
8972 *** really care for shared libraries, you may want to modify your PATH
8973 *** so that a non-GNU linker is found, and then restart.
8982 # see comment about AmigaOS4 .so support
8983 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8984 archive_expsym_cmds
=''
8987 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)'
8988 hardcode_libdir_flag_spec
='-L$libdir'
8989 hardcode_minus_L
=yes
8995 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8996 allow_undefined_flag
=unsupported
8997 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8998 # support --undefined. This deserves some investigation. FIXME
8999 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9005 cygwin
* | mingw
* | pw32
* | cegcc
*)
9006 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9007 # as there is no search path for DLLs.
9008 hardcode_libdir_flag_spec
='-L$libdir'
9009 allow_undefined_flag
=unsupported
9010 always_export_symbols
=no
9011 enable_shared_with_static_runtimes
=yes
9012 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9014 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9015 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9016 # If the export-symbols file already is a .def file (1st line
9017 # is EXPORTS), use it as is; otherwise, prepend...
9018 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9019 cp $export_symbols $output_objdir/$soname.def;
9021 echo EXPORTS > $output_objdir/$soname.def;
9022 cat $export_symbols >> $output_objdir/$soname.def;
9024 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9032 hardcode_shlibpath_var
=no
9033 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9034 export_dynamic_flag_spec
='${wl}-E'
9035 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9036 # Instead, shared libraries are loaded at an image base (0x10000000 by
9037 # default) and relocated if they conflict, which is a slow very memory
9038 # consuming and fragmenting process. To avoid this, we pick a random,
9039 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9040 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9041 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9042 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'
9045 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9047 if test "$host_os" = linux-dietlibc
; then
9048 case $cc_basename in
9049 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9052 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9053 && test "$tmp_diet" = no
9056 tmp_sharedflag
='-shared'
9057 case $cc_basename,$host_cpu in
9058 pgcc
*) # Portland Group C compiler
9059 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'
9060 tmp_addflag
=' $pic_flag'
9062 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9063 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'
9064 tmp_addflag
=' $pic_flag -Mnomain' ;;
9065 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9066 tmp_addflag
=' -i_dynamic' ;;
9067 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9068 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9069 ifc
* | ifort
*) # Intel Fortran compiler
9070 tmp_addflag
=' -nofor_main' ;;
9071 lf95
*) # Lahey Fortran 8.1
9072 whole_archive_flag_spec
=
9073 tmp_sharedflag
='--shared' ;;
9074 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9075 tmp_sharedflag
='-qmkshrobj'
9078 case `$CC -V 2>&1 | sed 5q` in
9079 *Sun\ C
*) # Sun C 5.9
9080 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'
9081 compiler_needs_object
=yes
9082 tmp_sharedflag
='-G' ;;
9083 *Sun\ F
*) # Sun Fortran 8.3
9084 tmp_sharedflag
='-G' ;;
9086 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9088 if test "x$supports_anon_versioning" = xyes
; then
9089 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9091 echo "local: *; };" >> $output_objdir/$libname.ver~
9092 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9095 case $cc_basename in
9097 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9098 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9099 hardcode_libdir_flag_spec
=
9100 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9101 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9102 if test "x$supports_anon_versioning" = xyes
; then
9103 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9104 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9105 echo "local: *; };" >> $output_objdir/$libname.ver~
9106 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9116 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9117 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9120 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9121 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9126 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9130 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9131 *** create shared libraries on Solaris systems. Therefore, libtool
9132 *** is disabling shared libraries support. We urge you to upgrade GNU
9133 *** binutils to release 2.9.1 or newer. Another option is to modify
9134 *** your PATH or compiler configuration so that the native linker is
9135 *** used, and then restart.
9138 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9139 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9140 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9146 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9147 case `$LD -v 2>&1` in
9148 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9152 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9153 *** reliably create shared libraries on SCO systems. Therefore, libtool
9154 *** is disabling shared libraries support. We urge you to upgrade GNU
9155 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9156 *** your PATH or compiler configuration so that the native linker is
9157 *** used, and then restart.
9162 # For security reasons, it is highly recommended that you always
9163 # use absolute paths for naming shared libraries, and exclude the
9164 # DT_RUNPATH tag from executables and libraries. But doing so
9165 # requires that you compile everything twice, which is a pain.
9166 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9167 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9168 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9169 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9178 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9181 hardcode_shlibpath_var
=no
9185 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9186 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9194 if test "$ld_shlibs" = no
; then
9196 hardcode_libdir_flag_spec
=
9197 export_dynamic_flag_spec
=
9198 whole_archive_flag_spec
=
9201 # PORTME fill in a description of your system's linker (not GNU ld)
9204 allow_undefined_flag
=unsupported
9205 always_export_symbols
=yes
9206 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'
9207 # Note: this linker hardcodes the directories in LIBPATH if there
9208 # are no directories specified by -L.
9209 hardcode_minus_L
=yes
9210 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9211 # Neither direct hardcoding nor static linking is supported with a
9213 hardcode_direct
=unsupported
9218 if test "$host_cpu" = ia64
; then
9219 # On IA64, the linker does run time linking by default, so we don't
9220 # have to do anything special.
9221 aix_use_runtimelinking
=no
9222 exp_sym_flag
='-Bexport'
9225 # If we're using GNU nm, then we don't want the "-C" option.
9226 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9227 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9228 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'
9230 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'
9232 aix_use_runtimelinking
=no
9234 # Test if we are trying to use run time linking or normal
9235 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9236 # need to do runtime linking.
9237 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9238 for ld_flag
in $LDFLAGS; do
9239 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9240 aix_use_runtimelinking
=yes
9247 exp_sym_flag
='-bexport'
9248 no_entry_flag
='-bnoentry'
9251 # When large executables or shared objects are built, AIX ld can
9252 # have problems creating the table of contents. If linking a library
9253 # or program results in "error TOC overflow" add -mminimal-toc to
9254 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9255 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9259 hardcode_direct_absolute
=yes
9260 hardcode_libdir_separator
=':'
9261 link_all_deplibs
=yes
9262 file_list_spec
='${wl}-f,'
9264 if test "$GCC" = yes; then
9265 case $host_os in aix4.
[012]|aix4.
[012].
*)
9266 # We only want to do this on AIX 4.2 and lower, the check
9267 # below for broken collect2 doesn't work under 4.3+
9268 collect2name
=`${CC} -print-prog-name=collect2`
9269 if test -f "$collect2name" &&
9270 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9272 # We have reworked collect2
9275 # We have old collect2
9276 hardcode_direct
=unsupported
9277 # It fails to find uninstalled libraries when the uninstalled
9278 # path is not listed in the libpath. Setting hardcode_minus_L
9279 # to unsupported forces relinking
9280 hardcode_minus_L
=yes
9281 hardcode_libdir_flag_spec
='-L$libdir'
9282 hardcode_libdir_separator
=
9286 shared_flag
='-shared'
9287 if test "$aix_use_runtimelinking" = yes; then
9288 shared_flag
="$shared_flag "'${wl}-G'
9292 if test "$host_cpu" = ia64
; then
9293 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9294 # chokes on -Wl,-G. The following line is correct:
9297 if test "$aix_use_runtimelinking" = yes; then
9298 shared_flag
='${wl}-G'
9300 shared_flag
='${wl}-bM:SRE'
9305 export_dynamic_flag_spec
='${wl}-bexpall'
9306 # It seems that -bexpall does not export symbols beginning with
9307 # underscore (_), so it is better to generate a list of symbols to export.
9308 always_export_symbols
=yes
9309 if test "$aix_use_runtimelinking" = yes; then
9310 # Warning - without using the other runtime loading flags (-brtl),
9311 # -berok will link without error, but may produce a broken library.
9312 allow_undefined_flag
='-berok'
9313 # Determine the default libpath from the value encoded in an
9315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9326 if ac_fn_c_try_link
"$LINENO"; then :
9328 lt_aix_libpath_sed
='
9329 /Import File Strings/,/^$/ {
9335 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9336 # Check for a 64-bit object if we didn't find anything.
9337 if test -z "$aix_libpath"; then
9338 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9341 rm -f core conftest.err conftest.
$ac_objext \
9342 conftest
$ac_exeext conftest.
$ac_ext
9343 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9345 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9346 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"
9348 if test "$host_cpu" = ia64
; then
9349 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9350 allow_undefined_flag
="-z nodefs"
9351 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"
9353 # Determine the default libpath from the value encoded in an
9355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9366 if ac_fn_c_try_link
"$LINENO"; then :
9368 lt_aix_libpath_sed
='
9369 /Import File Strings/,/^$/ {
9375 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9376 # Check for a 64-bit object if we didn't find anything.
9377 if test -z "$aix_libpath"; then
9378 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381 rm -f core conftest.err conftest.
$ac_objext \
9382 conftest
$ac_exeext conftest.
$ac_ext
9383 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9385 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9386 # Warning - without using the other run time loading flags,
9387 # -berok will link without error, but may produce a broken library.
9388 no_undefined_flag
=' ${wl}-bernotok'
9389 allow_undefined_flag
=' ${wl}-berok'
9390 # Exported symbols can be pulled into shared objects from archives
9391 whole_archive_flag_spec
='$convenience'
9392 archive_cmds_need_lc
=yes
9393 # This is similar to how AIX traditionally builds its shared libraries.
9394 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'
9402 # see comment about AmigaOS4 .so support
9403 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404 archive_expsym_cmds
=''
9407 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)'
9408 hardcode_libdir_flag_spec
='-L$libdir'
9409 hardcode_minus_L
=yes
9415 export_dynamic_flag_spec
=-rdynamic
9418 cygwin
* | mingw
* | pw32
* | cegcc
*)
9419 # When not using gcc, we currently assume that we are using
9420 # Microsoft Visual C++.
9421 # hardcode_libdir_flag_spec is actually meaningless, as there is
9422 # no search path for DLLs.
9423 hardcode_libdir_flag_spec
=' '
9424 allow_undefined_flag
=unsupported
9425 # Tell ltmain to make .lib files, not .a files.
9427 # Tell ltmain to make .dll files, not .so files.
9429 # FIXME: Setting linknames here is a bad hack.
9430 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9431 # The linker will automatically build a .lib file if we build a DLL.
9432 old_archive_from_new_cmds
='true'
9433 # FIXME: Should let the user specify the lib program.
9434 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9435 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9436 enable_shared_with_static_runtimes
=yes
9439 darwin
* | rhapsody
*)
9442 archive_cmds_need_lc
=no
9444 hardcode_automatic
=yes
9445 hardcode_shlibpath_var
=unsupported
9446 whole_archive_flag_spec
=''
9447 link_all_deplibs
=yes
9448 allow_undefined_flag
="$_lt_dar_allow_undefined"
9449 case $cc_basename in
9450 ifort
*) _lt_dar_can_shared
=yes ;;
9451 *) _lt_dar_can_shared
=$GCC ;;
9453 if test "$_lt_dar_can_shared" = "yes"; then
9454 output_verbose_link_cmd
=echo
9455 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9456 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9457 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}"
9458 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}"
9467 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9468 hardcode_libdir_flag_spec
='-L$libdir'
9469 hardcode_shlibpath_var
=no
9476 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9477 # support. Future versions do this automatically, but an explicit c++rt0.o
9478 # does not break anything, and helps significantly (at the cost of a little
9481 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9482 hardcode_libdir_flag_spec
='-R$libdir'
9484 hardcode_shlibpath_var
=no
9487 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9489 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 hardcode_minus_L
=yes
9492 hardcode_shlibpath_var
=no
9495 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9496 freebsd
* | dragonfly
*)
9497 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9498 hardcode_libdir_flag_spec
='-R$libdir'
9500 hardcode_shlibpath_var
=no
9504 if test "$GCC" = yes; then
9505 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'
9507 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'
9509 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9510 hardcode_libdir_separator
=:
9513 # hardcode_minus_L: Not really in the search PATH,
9514 # but as the default location of the library.
9515 hardcode_minus_L
=yes
9516 export_dynamic_flag_spec
='${wl}-E'
9520 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9521 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9523 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9525 if test "$with_gnu_ld" = no
; then
9526 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9527 hardcode_libdir_flag_spec_ld
='+b $libdir'
9528 hardcode_libdir_separator
=:
9530 hardcode_direct_absolute
=yes
9531 export_dynamic_flag_spec
='${wl}-E'
9532 # hardcode_minus_L: Not really in the search PATH,
9533 # but as the default location of the library.
9534 hardcode_minus_L
=yes
9539 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9542 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9545 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9548 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9554 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9560 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9564 if test "$with_gnu_ld" = no
; then
9565 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9566 hardcode_libdir_separator
=:
9571 hardcode_shlibpath_var
=no
9575 hardcode_direct_absolute
=yes
9576 export_dynamic_flag_spec
='${wl}-E'
9578 # hardcode_minus_L: Not really in the search PATH,
9579 # but as the default location of the library.
9580 hardcode_minus_L
=yes
9586 irix5
* | irix6
* | nonstopux
*)
9587 if test "$GCC" = yes; then
9588 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'
9589 # Try to use the -exported_symbol ld option, if it does not
9590 # work, assume that -exports_file does not work either and
9591 # implicitly export all symbols.
9592 save_LDFLAGS
="$LDFLAGS"
9593 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9596 int foo (void) { return 0; }
9598 if ac_fn_c_try_link
"$LINENO"; then :
9600 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'
9603 rm -f core conftest.err conftest.
$ac_objext \
9604 conftest
$ac_exeext conftest.
$ac_ext
9605 LDFLAGS
="$save_LDFLAGS"
9607 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'
9608 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'
9610 archive_cmds_need_lc
='no'
9611 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9612 hardcode_libdir_separator
=:
9614 link_all_deplibs
=yes
9618 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9619 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9621 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9623 hardcode_libdir_flag_spec
='-R$libdir'
9625 hardcode_shlibpath_var
=no
9629 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9632 hardcode_libdir_separator
=:
9633 hardcode_shlibpath_var
=no
9640 if test -f /usr
/libexec
/ld.so
; then
9642 hardcode_shlibpath_var
=no
9643 hardcode_direct_absolute
=yes
9644 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9645 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9646 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9647 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9648 export_dynamic_flag_spec
='${wl}-E'
9651 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9652 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9653 hardcode_libdir_flag_spec
='-R$libdir'
9656 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9657 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9667 hardcode_libdir_flag_spec
='-L$libdir'
9668 hardcode_minus_L
=yes
9669 allow_undefined_flag
=unsupported
9670 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'
9671 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9675 if test "$GCC" = yes; then
9676 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9677 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'
9679 allow_undefined_flag
=' -expect_unresolved \*'
9680 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'
9682 archive_cmds_need_lc
='no'
9683 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9684 hardcode_libdir_separator
=:
9687 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9688 if test "$GCC" = yes; then
9689 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9690 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'
9691 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9693 allow_undefined_flag
=' -expect_unresolved \*'
9694 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'
9695 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~
9696 $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'
9698 # Both c and cxx compiler support -rpath directly
9699 hardcode_libdir_flag_spec
='-rpath $libdir'
9701 archive_cmds_need_lc
='no'
9702 hardcode_libdir_separator
=:
9706 no_undefined_flag
=' -z defs'
9707 if test "$GCC" = yes; then
9709 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9710 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9711 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9713 case `$CC -V 2>&1` in
9716 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9717 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9718 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9722 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9723 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9724 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9728 hardcode_libdir_flag_spec
='-R$libdir'
9729 hardcode_shlibpath_var
=no
9731 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9733 # The compiler driver will combine and reorder linker options,
9734 # but understands `-z linker_flag'. GCC discards it without `$wl',
9735 # but is careful enough not to reorder.
9736 # Supported since Solaris 2.6 (maybe 2.5.1?)
9737 if test "$GCC" = yes; then
9738 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9740 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9744 link_all_deplibs
=yes
9748 if test "x$host_vendor" = xsequent
; then
9749 # Use $CC to link under sequent, because it throws in some extra .o
9750 # files that make .init and .fini sections work.
9751 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9753 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9755 hardcode_libdir_flag_spec
='-L$libdir'
9757 hardcode_minus_L
=yes
9758 hardcode_shlibpath_var
=no
9762 case $host_vendor in
9764 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9765 hardcode_direct
=yes # is this really true???
9768 ## LD is ld it makes a PLAMLIB
9769 ## CC just makes a GrossModule.
9770 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9771 reload_cmds
='$CC -r -o $output$reload_objs'
9775 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9776 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9779 runpath_var
='LD_RUN_PATH'
9780 hardcode_shlibpath_var
=no
9784 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9785 hardcode_shlibpath_var
=no
9786 export_dynamic_flag_spec
='-Bexport'
9790 if test -d /usr
/nec
; then
9791 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9792 hardcode_shlibpath_var
=no
9793 runpath_var
=LD_RUN_PATH
9794 hardcode_runpath_var
=yes
9799 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9800 no_undefined_flag
='${wl}-z,text'
9801 archive_cmds_need_lc
=no
9802 hardcode_shlibpath_var
=no
9803 runpath_var
='LD_RUN_PATH'
9805 if test "$GCC" = yes; then
9806 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9807 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9810 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9814 sysv5
* | sco3.2v5
* | sco5v6
*)
9815 # Note: We can NOT use -z defs as we might desire, because we do not
9816 # link with -lc, and that would cause any symbols used from libc to
9817 # always be unresolved, which means just about no library would
9818 # ever link correctly. If we're not using GNU ld we use -z text
9819 # though, which does catch some bad symbols but isn't as heavy-handed
9821 no_undefined_flag
='${wl}-z,text'
9822 allow_undefined_flag
='${wl}-z,nodefs'
9823 archive_cmds_need_lc
=no
9824 hardcode_shlibpath_var
=no
9825 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9826 hardcode_libdir_separator
=':'
9827 link_all_deplibs
=yes
9828 export_dynamic_flag_spec
='${wl}-Bexport'
9829 runpath_var
='LD_RUN_PATH'
9831 if test "$GCC" = yes; then
9832 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9833 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9835 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9842 hardcode_libdir_flag_spec
='-L$libdir'
9843 hardcode_shlibpath_var
=no
9851 if test x
$host_vendor = xsni
; then
9853 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9854 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9861 $as_echo "$ld_shlibs" >&6; }
9862 test "$ld_shlibs" = no
&& can_build_shared
=no
9864 with_gnu_ld
=$with_gnu_ld
9881 # Do we need to explicitly link libc?
9883 case "x$archive_cmds_need_lc" in
9885 # Assume -lc should be added
9886 archive_cmds_need_lc
=yes
9888 if test "$enable_shared" = yes && test "$GCC" = yes; then
9889 case $archive_cmds in
9891 # FIXME: we may have to deal with multi-command sequences.
9894 # Test whether the compiler implicitly links with -lc since on some
9895 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9896 # to ld, don't add -lc before -lgcc.
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9898 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9900 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9903 (eval $ac_compile) 2>&5
9905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9906 test $ac_status = 0; } 2>conftest.err
; then
9909 libobjs
=conftest.
$ac_objext
9911 wl
=$lt_prog_compiler_wl
9912 pic_flag
=$lt_prog_compiler_pic
9918 lt_save_allow_undefined_flag
=$allow_undefined_flag
9919 allow_undefined_flag
=
9920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9921 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9924 test $ac_status = 0; }
9926 archive_cmds_need_lc
=no
9928 archive_cmds_need_lc
=yes
9930 allow_undefined_flag
=$lt_save_allow_undefined_flag
9932 cat conftest.err
1>&5
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9936 $as_echo "$archive_cmds_need_lc" >&6; }
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10100 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10102 if test "$GCC" = yes; then
10104 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10105 *) lt_awk_arg
="/^libraries:/" ;;
10107 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10108 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10109 # if the path contains ";" then we assume it to be the separator
10110 # otherwise default to the standard path separator (i.e. ":") - it is
10111 # assumed that no part of a normal pathname contains ";" but that should
10112 # okay in the real world where ";" in dirpaths is itself problematic.
10113 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10115 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10117 # Ok, now we have the path, separated by spaces, we can step through it
10118 # and add multilib dir if necessary.
10119 lt_tmp_lt_search_path_spec
=
10120 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10121 for lt_sys_path
in $lt_search_path_spec; do
10122 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10123 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10125 test -d "$lt_sys_path" && \
10126 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10129 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10130 BEGIN {RS=" "; FS="/|\n";} {
10133 for (lt_i = NF; lt_i > 0; lt_i--) {
10134 if ($lt_i != "" && $lt_i != ".") {
10135 if ($lt_i == "..") {
10138 if (lt_count == 0) {
10139 lt_foo="/" $lt_i lt_foo;
10146 if (lt_foo != "") { lt_freq[lt_foo]++; }
10147 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10149 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10151 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10153 library_names_spec
=
10154 libname_spec
='lib$name'
10158 postuninstall_cmds
=
10162 shlibpath_overrides_runpath
=unknown
10164 dynamic_linker
="$host_os ld.so"
10165 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10166 need_lib_prefix
=unknown
10167 hardcode_into_libs
=no
10169 # when you set need_version to no, make sure it does not cause -set_version
10170 # flags to be left without arguments
10171 need_version
=unknown
10176 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10177 shlibpath_var
=LIBPATH
10179 # AIX 3 has no versioning support, so we append a major version to the name.
10180 soname_spec
='${libname}${release}${shared_ext}$major'
10187 hardcode_into_libs
=yes
10188 if test "$host_cpu" = ia64
; then
10189 # AIX 5 supports IA64
10190 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10191 shlibpath_var
=LD_LIBRARY_PATH
10193 # With GCC up to 2.95.x, collect2 would create an import file
10194 # for dependence libraries. The import file would start with
10195 # the line `#! .'. This would cause the generated library to
10196 # depend on `.', always an invalid library. This was fixed in
10197 # development snapshots of GCC prior to 3.0.
10199 aix4 | aix4.
[01] | aix4.
[01].
*)
10200 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10202 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10205 can_build_shared
=no
10209 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10210 # soname into executable. Probably we can add versioning support to
10211 # collect2, so additional links can be useful in future.
10212 if test "$aix_use_runtimelinking" = yes; then
10213 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10214 # instead of lib<name>.a to let people know that these are not
10215 # typical AIX shared libraries.
10216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10218 # We preserve .a as extension for shared libraries through AIX4.2
10219 # and later when we are not doing run time linking.
10220 library_names_spec
='${libname}${release}.a $libname.a'
10221 soname_spec
='${libname}${release}${shared_ext}$major'
10223 shlibpath_var
=LIBPATH
10230 # Since July 2007 AmigaOS4 officially supports .so libraries.
10231 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10235 library_names_spec
='$libname.ixlibrary $libname.a'
10236 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10237 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'
10243 library_names_spec
='${libname}${shared_ext}'
10244 dynamic_linker
="$host_os ld.so"
10245 shlibpath_var
=LIBRARY_PATH
10251 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10252 soname_spec
='${libname}${release}${shared_ext}$major'
10253 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10254 shlibpath_var
=LD_LIBRARY_PATH
10255 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10256 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10257 # the default ld.so.conf also contains /usr/contrib/lib and
10258 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10259 # libtool to hard-code these into programs
10262 cygwin
* | mingw
* | pw32
* | cegcc
*)
10263 version_type
=windows
10268 case $GCC,$host_os in
10269 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10270 library_names_spec
='$libname.dll.a'
10271 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10272 postinstall_cmds
='base_file=`basename \${file}`~
10273 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10274 dldir=$destdir/`dirname \$dlpath`~
10275 test -d \$dldir || mkdir -p \$dldir~
10276 $install_prog $dir/$dlname \$dldir/$dlname~
10277 chmod a+x \$dldir/$dlname~
10278 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10279 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10281 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10282 dlpath=$dir/\$dldll~
10284 shlibpath_overrides_runpath
=yes
10288 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10289 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10290 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10293 # MinGW DLLs use traditional 'lib' prefix
10294 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10295 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10296 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10297 # It is most probably a Windows format PATH printed by
10298 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10299 # path with ; separators, and with drive letters. We can handle the
10300 # drive letters (cygwin fileutils understands them), so leave them,
10301 # especially as we might pass files found there to a mingw objdump,
10302 # which wouldn't understand a cygwinified path. Ahh.
10303 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10305 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10309 # pw32 DLLs use 'pw' prefix rather than 'lib'
10310 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10316 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10319 dynamic_linker
='Win32 ld.exe'
10320 # FIXME: first we should search . and the directory the executable is in
10324 darwin
* | rhapsody
*)
10325 dynamic_linker
="$host_os dyld"
10326 version_type
=darwin
10329 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10330 soname_spec
='${libname}${release}${major}$shared_ext'
10331 shlibpath_overrides_runpath
=yes
10332 shlibpath_var
=DYLD_LIBRARY_PATH
10333 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10335 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10336 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10344 soname_spec
='${libname}${release}${shared_ext}$major'
10345 shlibpath_var
=LD_LIBRARY_PATH
10352 freebsd
* | dragonfly
*)
10353 # DragonFly does not have aout. When/if they implement a new
10354 # versioning mechanism, adjust this.
10355 if test -x /usr
/bin
/objformat
; then
10356 objformat
=`/usr/bin/objformat`
10359 freebsd
[123]*) objformat
=aout
;;
10360 *) objformat
=elf
;;
10363 version_type
=freebsd-
$objformat
10364 case $version_type in
10366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10375 shlibpath_var
=LD_LIBRARY_PATH
10378 shlibpath_overrides_runpath
=yes
10380 freebsd3.
[01]* | freebsdelf3.
[01]*)
10381 shlibpath_overrides_runpath
=yes
10382 hardcode_into_libs
=yes
10384 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10385 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10386 shlibpath_overrides_runpath
=no
10387 hardcode_into_libs
=yes
10389 *) # from 4.6 on, and DragonFly
10390 shlibpath_overrides_runpath
=yes
10391 hardcode_into_libs
=yes
10400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10401 soname_spec
='${libname}${release}${shared_ext}$major'
10402 shlibpath_var
=LD_LIBRARY_PATH
10403 hardcode_into_libs
=yes
10406 hpux9
* | hpux10
* | hpux11
*)
10407 # Give a soname corresponding to the major version so that dld.sl refuses to
10408 # link against other versions.
10415 hardcode_into_libs
=yes
10416 dynamic_linker
="$host_os dld.so"
10417 shlibpath_var
=LD_LIBRARY_PATH
10418 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10420 soname_spec
='${libname}${release}${shared_ext}$major'
10421 if test "X$HPUX_IA64_MODE" = X32
; then
10422 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10424 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10426 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10430 hardcode_into_libs
=yes
10431 dynamic_linker
="$host_os dld.sl"
10432 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10433 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10435 soname_spec
='${libname}${release}${shared_ext}$major'
10436 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10437 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10441 dynamic_linker
="$host_os dld.sl"
10442 shlibpath_var
=SHLIB_PATH
10443 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 soname_spec
='${libname}${release}${shared_ext}$major'
10448 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10449 postinstall_cmds
='chmod 555 $lib'
10456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10457 soname_spec
='${libname}${release}${shared_ext}$major'
10458 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10459 shlibpath_var
=LD_LIBRARY_PATH
10460 shlibpath_overrides_runpath
=no
10461 hardcode_into_libs
=yes
10464 irix5
* | irix6
* | nonstopux
*)
10466 nonstopux
*) version_type
=nonstopux
;;
10468 if test "$lt_cv_prog_gnu_ld" = yes; then
10476 soname_spec
='${libname}${release}${shared_ext}$major'
10477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10479 irix5
* | nonstopux
*)
10480 libsuff
= shlibsuff
=
10483 case $LD in # libtool.m4 will add one of these switches to LD
10484 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10485 libsuff
= shlibsuff
= libmagic
=32-bit;;
10486 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10487 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10488 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10489 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10490 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10494 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10495 shlibpath_overrides_runpath
=no
10496 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10497 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10498 hardcode_into_libs
=yes
10501 # No shared lib support for Linux oldld, aout, or coff.
10502 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10506 # This must be Linux ELF.
10507 linux
* | k
*bsd
*-gnu)
10511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512 soname_spec
='${libname}${release}${shared_ext}$major'
10513 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10514 shlibpath_var
=LD_LIBRARY_PATH
10515 shlibpath_overrides_runpath
=no
10516 # Some binutils ld are patched to set DT_RUNPATH
10517 save_LDFLAGS
=$LDFLAGS
10518 save_libdir
=$libdir
10519 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10520 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10532 if ac_fn_c_try_link
"$LINENO"; then :
10533 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10534 shlibpath_overrides_runpath
=yes
10537 rm -f core conftest.err conftest.
$ac_objext \
10538 conftest
$ac_exeext conftest.
$ac_ext
10539 LDFLAGS
=$save_LDFLAGS
10540 libdir
=$save_libdir
10542 # This implies no fast_install, which is unacceptable.
10543 # Some rework will be needed to allow for fast_install
10544 # before this can be enabled.
10545 hardcode_into_libs
=yes
10547 # Append ld.so.conf contents to the search path
10548 if test -f /etc
/ld.so.conf
; then
10549 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' ' '`
10550 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10553 # We used to test for /lib/ld.so.1 and disable shared libraries on
10554 # powerpc, because MkLinux only supported shared libraries with the
10555 # GNU dynamic linker. Since this was broken with cross compilers,
10556 # most powerpc-linux boxes support dynamic linking these days and
10557 # people can always --disable-shared, the test was removed, and we
10558 # assume the GNU/Linux dynamic linker is in use.
10559 dynamic_linker
='GNU/Linux ld.so'
10566 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10568 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10569 dynamic_linker
='NetBSD (a.out) ld.so'
10571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10572 soname_spec
='${libname}${release}${shared_ext}$major'
10573 dynamic_linker
='NetBSD ld.elf_so'
10575 shlibpath_var
=LD_LIBRARY_PATH
10576 shlibpath_overrides_runpath
=yes
10577 hardcode_into_libs
=yes
10582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10583 shlibpath_var
=LD_LIBRARY_PATH
10584 shlibpath_overrides_runpath
=yes
10591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592 soname_spec
='${libname}${release}${shared_ext}$major'
10593 shlibpath_var
=LD_LIBRARY_PATH
10594 shlibpath_overrides_runpath
=no
10595 hardcode_into_libs
=yes
10596 dynamic_linker
='ldqnx.so'
10601 sys_lib_dlsearch_path_spec
="/usr/lib"
10603 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10605 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10606 *) need_version
=no
;;
10608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10609 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10610 shlibpath_var
=LD_LIBRARY_PATH
10611 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10613 openbsd2.
[89] | openbsd2.
[89].
*)
10614 shlibpath_overrides_runpath
=no
10617 shlibpath_overrides_runpath
=yes
10621 shlibpath_overrides_runpath
=yes
10626 libname_spec
='$name'
10629 library_names_spec
='$libname${shared_ext} $libname.a'
10630 dynamic_linker
='OS/2 ld.exe'
10631 shlibpath_var
=LIBPATH
10634 osf3
* | osf4
* | osf5
*)
10638 soname_spec
='${libname}${release}${shared_ext}$major'
10639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640 shlibpath_var
=LD_LIBRARY_PATH
10641 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10642 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10654 soname_spec
='${libname}${release}${shared_ext}$major'
10655 shlibpath_var
=LD_LIBRARY_PATH
10656 shlibpath_overrides_runpath
=yes
10657 hardcode_into_libs
=yes
10658 # ldd complains unless libraries are executable
10659 postinstall_cmds
='chmod +x $lib'
10664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10665 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10666 shlibpath_var
=LD_LIBRARY_PATH
10667 shlibpath_overrides_runpath
=yes
10668 if test "$with_gnu_ld" = yes; then
10676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 soname_spec
='${libname}${release}${shared_ext}$major'
10678 shlibpath_var
=LD_LIBRARY_PATH
10679 case $host_vendor in
10681 shlibpath_overrides_runpath
=no
10683 runpath_var
=LD_RUN_PATH
10691 shlibpath_overrides_runpath
=no
10692 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10698 if test -d /usr
/nec
;then
10700 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10701 soname_spec
='$libname${shared_ext}.$major'
10702 shlibpath_var
=LD_LIBRARY_PATH
10706 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10707 version_type
=freebsd-elf
10710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10711 soname_spec
='${libname}${release}${shared_ext}$major'
10712 shlibpath_var
=LD_LIBRARY_PATH
10713 shlibpath_overrides_runpath
=yes
10714 hardcode_into_libs
=yes
10715 if test "$with_gnu_ld" = yes; then
10716 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10718 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10721 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10725 sys_lib_dlsearch_path_spec
='/usr/lib'
10729 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734 shlibpath_var
=LD_LIBRARY_PATH
10735 shlibpath_overrides_runpath
=no
10736 hardcode_into_libs
=yes
10741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742 soname_spec
='${libname}${release}${shared_ext}$major'
10743 shlibpath_var
=LD_LIBRARY_PATH
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10751 $as_echo "$dynamic_linker" >&6; }
10752 test "$dynamic_linker" = no
&& can_build_shared
=no
10754 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10755 if test "$GCC" = yes; then
10756 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10759 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10760 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10762 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10763 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10853 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10855 if test -n "$hardcode_libdir_flag_spec" ||
10856 test -n "$runpath_var" ||
10857 test "X$hardcode_automatic" = "Xyes" ; then
10859 # We can hardcode non-existent directories.
10860 if test "$hardcode_direct" != no
&&
10861 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10862 # have to relink, otherwise we might link with an installed library
10863 # when we should be linking with a yet-to-be-installed one
10864 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10865 test "$hardcode_minus_L" != no
; then
10866 # Linking always hardcodes the temporary library directory.
10867 hardcode_action
=relink
10869 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10870 hardcode_action
=immediate
10873 # We cannot hardcode anything, or else we can only hardcode existing
10875 hardcode_action
=unsupported
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10878 $as_echo "$hardcode_action" >&6; }
10880 if test "$hardcode_action" = relink ||
10881 test "$inherit_rpath" = yes; then
10882 # Fast installation is not supported
10883 enable_fast_install
=no
10884 elif test "$shlibpath_overrides_runpath" = yes ||
10885 test "$enable_shared" = no
; then
10886 # Fast installation is not necessary
10887 enable_fast_install
=needless
10895 if test "x$enable_dlopen" != xyes
; then
10896 enable_dlopen
=unknown
10897 enable_dlopen_self
=unknown
10898 enable_dlopen_self_static
=unknown
10905 lt_cv_dlopen
="load_add_on"
10907 lt_cv_dlopen_self
=yes
10910 mingw
* | pw32
* | cegcc
*)
10911 lt_cv_dlopen
="LoadLibrary"
10916 lt_cv_dlopen
="dlopen"
10921 # if libdl is installed we need to link against it
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10923 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10924 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10925 $as_echo_n "(cached) " >&6
10927 ac_check_lib_save_LIBS
=$LIBS
10929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10947 if ac_fn_c_try_link
"$LINENO"; then :
10948 ac_cv_lib_dl_dlopen
=yes
10950 ac_cv_lib_dl_dlopen
=no
10952 rm -f core conftest.err conftest.
$ac_objext \
10953 conftest
$ac_exeext conftest.
$ac_ext
10954 LIBS
=$ac_check_lib_save_LIBS
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10958 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10959 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10962 lt_cv_dlopen
="dyld"
10964 lt_cv_dlopen_self
=yes
10971 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10972 if test "x$ac_cv_func_shl_load" = xyes
; then :
10973 lt_cv_dlopen
="shl_load"
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10976 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10977 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10978 $as_echo_n "(cached) " >&6
10980 ac_check_lib_save_LIBS
=$LIBS
10982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
10995 return shl_load ();
11000 if ac_fn_c_try_link
"$LINENO"; then :
11001 ac_cv_lib_dld_shl_load
=yes
11003 ac_cv_lib_dld_shl_load
=no
11005 rm -f core conftest.err conftest.
$ac_objext \
11006 conftest
$ac_exeext conftest.
$ac_ext
11007 LIBS
=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11010 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11011 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11012 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11014 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11015 if test "x$ac_cv_func_dlopen" = xyes
; then :
11016 lt_cv_dlopen
="dlopen"
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11019 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11020 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11021 $as_echo_n "(cached) " >&6
11023 ac_check_lib_save_LIBS
=$LIBS
11025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11026 /* end confdefs.h. */
11028 /* Override any GCC internal prototype to avoid an error.
11029 Use char because int might match the return type of a GCC
11030 builtin and then its argument prototype would still apply. */
11043 if ac_fn_c_try_link
"$LINENO"; then :
11044 ac_cv_lib_dl_dlopen
=yes
11046 ac_cv_lib_dl_dlopen
=no
11048 rm -f core conftest.err conftest.
$ac_objext \
11049 conftest
$ac_exeext conftest.
$ac_ext
11050 LIBS
=$ac_check_lib_save_LIBS
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11053 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11054 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11055 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11058 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11059 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11060 $as_echo_n "(cached) " >&6
11062 ac_check_lib_save_LIBS
=$LIBS
11063 LIBS
="-lsvld $LIBS"
11064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11067 /* Override any GCC internal prototype to avoid an error.
11068 Use char because int might match the return type of a GCC
11069 builtin and then its argument prototype would still apply. */
11082 if ac_fn_c_try_link
"$LINENO"; then :
11083 ac_cv_lib_svld_dlopen
=yes
11085 ac_cv_lib_svld_dlopen
=no
11087 rm -f core conftest.err conftest.
$ac_objext \
11088 conftest
$ac_exeext conftest.
$ac_ext
11089 LIBS
=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11092 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11093 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11094 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11097 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11098 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11099 $as_echo_n "(cached) " >&6
11101 ac_check_lib_save_LIBS
=$LIBS
11103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11116 return dld_link ();
11121 if ac_fn_c_try_link
"$LINENO"; then :
11122 ac_cv_lib_dld_dld_link
=yes
11124 ac_cv_lib_dld_dld_link
=no
11126 rm -f core conftest.err conftest.
$ac_objext \
11127 conftest
$ac_exeext conftest.
$ac_ext
11128 LIBS
=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11131 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11132 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11133 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11154 if test "x$lt_cv_dlopen" != xno
; then
11160 case $lt_cv_dlopen in
11162 save_CPPFLAGS
="$CPPFLAGS"
11163 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11165 save_LDFLAGS
="$LDFLAGS"
11166 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11169 LIBS
="$lt_cv_dlopen_libs $LIBS"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11172 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11173 if ${lt_cv_dlopen_self+:} false
; then :
11174 $as_echo_n "(cached) " >&6
11176 if test "$cross_compiling" = yes; then :
11177 lt_cv_dlopen_self
=cross
11179 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11180 lt_status
=$lt_dlunknown
11181 cat > conftest.
$ac_ext <<_LT_EOF
11182 #line 11182 "configure"
11183 #include "confdefs.h"
11192 # define LT_DLGLOBAL RTLD_GLOBAL
11195 # define LT_DLGLOBAL DL_GLOBAL
11197 # define LT_DLGLOBAL 0
11201 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11202 find out it does not work in some platform. */
11203 #ifndef LT_DLLAZY_OR_NOW
11205 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11208 # define LT_DLLAZY_OR_NOW DL_LAZY
11211 # define LT_DLLAZY_OR_NOW RTLD_NOW
11214 # define LT_DLLAZY_OR_NOW DL_NOW
11216 # define LT_DLLAZY_OR_NOW 0
11223 void fnord() { int i=42;}
11226 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11227 int status = $lt_dlunknown;
11231 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11232 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11233 /* dlclose (self); */
11241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11242 (eval $ac_link) 2>&5
11244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11245 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11246 (.
/conftest
; exit; ) >&5 2>/dev
/null
11248 case x
$lt_status in
11249 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11250 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11251 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11254 # compilation failed
11255 lt_cv_dlopen_self
=no
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11263 $as_echo "$lt_cv_dlopen_self" >&6; }
11265 if test "x$lt_cv_dlopen_self" = xyes
; then
11266 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11268 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11269 if ${lt_cv_dlopen_self_static+:} false
; then :
11270 $as_echo_n "(cached) " >&6
11272 if test "$cross_compiling" = yes; then :
11273 lt_cv_dlopen_self_static
=cross
11275 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11276 lt_status
=$lt_dlunknown
11277 cat > conftest.
$ac_ext <<_LT_EOF
11278 #line 11278 "configure"
11279 #include "confdefs.h"
11288 # define LT_DLGLOBAL RTLD_GLOBAL
11291 # define LT_DLGLOBAL DL_GLOBAL
11293 # define LT_DLGLOBAL 0
11297 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11298 find out it does not work in some platform. */
11299 #ifndef LT_DLLAZY_OR_NOW
11301 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11304 # define LT_DLLAZY_OR_NOW DL_LAZY
11307 # define LT_DLLAZY_OR_NOW RTLD_NOW
11310 # define LT_DLLAZY_OR_NOW DL_NOW
11312 # define LT_DLLAZY_OR_NOW 0
11319 void fnord() { int i=42;}
11322 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11323 int status = $lt_dlunknown;
11327 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11328 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11329 /* dlclose (self); */
11337 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11338 (eval $ac_link) 2>&5
11340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11341 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11342 (.
/conftest
; exit; ) >&5 2>/dev
/null
11344 case x
$lt_status in
11345 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11346 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11347 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11350 # compilation failed
11351 lt_cv_dlopen_self_static
=no
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11359 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11362 CPPFLAGS
="$save_CPPFLAGS"
11363 LDFLAGS
="$save_LDFLAGS"
11368 case $lt_cv_dlopen_self in
11369 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11370 *) enable_dlopen_self
=unknown
;;
11373 case $lt_cv_dlopen_self_static in
11374 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11375 *) enable_dlopen_self_static
=unknown
;;
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11398 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11399 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11400 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11401 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11403 $as_echo "yes" >&6; }
11405 # FIXME - insert some real tests, host_os isn't really good enough
11408 if test -n "$STRIP" ; then
11409 striplib
="$STRIP -x"
11410 old_striplib
="$STRIP -S"
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11412 $as_echo "yes" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11415 $as_echo "no" >&6; }
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11420 $as_echo "no" >&6; }
11436 # Report which library types will actually be built
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11438 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11440 $as_echo "$can_build_shared" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11443 $as_echo_n "checking whether to build shared libraries... " >&6; }
11444 test "$can_build_shared" = "no" && enable_shared
=no
11446 # On AIX, shared libraries and static libraries use the same namespace, and
11447 # are all built from PIC.
11450 test "$enable_shared" = yes && enable_static
=no
11451 if test -n "$RANLIB"; then
11452 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11453 postinstall_cmds
='$RANLIB $lib'
11458 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11459 test "$enable_shared" = yes && enable_static
=no
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11464 $as_echo "$enable_shared" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11467 $as_echo_n "checking whether to build static libraries... " >&6; }
11468 # Make sure either enable_shared or enable_static is yes.
11469 test "$enable_shared" = yes || enable_static
=yes
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11471 $as_echo "$enable_static" >&6; }
11478 ac_cpp
='$CPP $CPPFLAGS'
11479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11497 ac_config_commands
="$ac_config_commands libtool"
11502 # Only expand once:
11507 # Extract the first word of "ar", so it can be a program name with args.
11508 set dummy
ar; ac_word
=$2
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11510 $as_echo_n "checking for $ac_word... " >&6; }
11511 if ${ac_cv_path_AR+:} false
; then :
11512 $as_echo_n "(cached) " >&6
11516 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
11519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11520 for as_dir
in $PATH
11523 test -z "$as_dir" && as_dir
=.
11524 for ac_exec_ext
in '' $ac_executable_extensions; do
11525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11526 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
11527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
11539 if test -n "$AR"; then
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11541 $as_echo "$AR" >&6; }
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11544 $as_echo "no" >&6; }
11548 # Extract the first word of "rm", so it can be a program name with args.
11549 set dummy
rm; ac_word
=$2
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11551 $as_echo_n "checking for $ac_word... " >&6; }
11552 if ${ac_cv_path_RM+:} false
; then :
11553 $as_echo_n "(cached) " >&6
11557 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
11560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11561 for as_dir
in $PATH
11564 test -z "$as_dir" && as_dir
=.
11565 for ac_exec_ext
in '' $ac_executable_extensions; do
11566 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11567 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
11568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
11580 if test -n "$RM"; then
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
11582 $as_echo "$RM" >&6; }
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11585 $as_echo "no" >&6; }
11589 # Extract the first word of "cp", so it can be a program name with args.
11590 set dummy
cp; ac_word
=$2
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11592 $as_echo_n "checking for $ac_word... " >&6; }
11593 if ${ac_cv_path_CP+:} false
; then :
11594 $as_echo_n "(cached) " >&6
11598 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
11601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11602 for as_dir
in $PATH
11605 test -z "$as_dir" && as_dir
=.
11606 for ac_exec_ext
in '' $ac_executable_extensions; do
11607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11608 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
11609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11616 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
11621 if test -n "$CP"; then
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
11623 $as_echo "$CP" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11626 $as_echo "no" >&6; }
11630 # Extract the first word of "ln", so it can be a program name with args.
11631 set dummy
ln; ac_word
=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if ${ac_cv_path_LN+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11639 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
11642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11643 for as_dir
in $PATH
11646 test -z "$as_dir" && as_dir
=.
11647 for ac_exec_ext
in '' $ac_executable_extensions; do
11648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11649 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
11650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11657 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
11662 if test -n "$LN"; then
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
11664 $as_echo "$LN" >&6; }
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11667 $as_echo "no" >&6; }
11671 # Extract the first word of "sed", so it can be a program name with args.
11672 set dummy
sed; ac_word
=$2
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11674 $as_echo_n "checking for $ac_word... " >&6; }
11675 if ${ac_cv_path_SED+:} false
; then :
11676 $as_echo_n "(cached) " >&6
11680 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
11683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11684 for as_dir
in $PATH
11687 test -z "$as_dir" && as_dir
=.
11688 for ac_exec_ext
in '' $ac_executable_extensions; do
11689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11690 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
11691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11698 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
11702 SED
=$ac_cv_path_SED
11703 if test -n "$SED"; then
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11705 $as_echo "$SED" >&6; }
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 $as_echo "no" >&6; }
11712 # Extract the first word of "make", so it can be a program name with args.
11713 set dummy
make; ac_word
=$2
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11715 $as_echo_n "checking for $ac_word... " >&6; }
11716 if ${ac_cv_path_MAKE+:} false
; then :
11717 $as_echo_n "(cached) " >&6
11721 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
11724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11725 for as_dir
in $PATH
11728 test -z "$as_dir" && as_dir
=.
11729 for ac_exec_ext
in '' $ac_executable_extensions; do
11730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11731 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
11732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11742 MAKE
=$ac_cv_path_MAKE
11743 if test -n "$MAKE"; then
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
11745 $as_echo "$MAKE" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11748 $as_echo "no" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11757 $as_echo_n "checking whether NLS is requested... " >&6; }
11758 # Check whether --enable-nls was given.
11759 if test "${enable_nls+set}" = set; then :
11760 enableval
=$enable_nls; USE_NLS
=$enableval
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11766 $as_echo "$USE_NLS" >&6; }
11773 # Prepare PATH_SEPARATOR.
11774 # The user is always right.
11775 if test "${PATH_SEPARATOR+set}" != set; then
11776 echo "#! /bin/sh" >conf$$.sh
11777 echo "exit 0" >>conf$$.sh
11779 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11787 # Find out how to test for executable files. Don't use a zero-byte file,
11788 # as systems may use methods other than mode bits to determine executability.
11789 cat >conf$$.
file <<_ASEOF
11793 chmod +x conf$$.
file
11794 if test -x conf$$.
file >/dev
/null
2>&1; then
11795 ac_executable_p
="test -x"
11797 ac_executable_p
="test -f"
11801 # Extract the first word of "msgfmt", so it can be a program name with args.
11802 set dummy msgfmt
; ac_word
=$2
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11804 $as_echo_n "checking for $ac_word... " >&6; }
11805 if ${ac_cv_path_MSGFMT+:} false
; then :
11806 $as_echo_n "(cached) " >&6
11810 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11813 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11814 for ac_dir
in $PATH; do
11816 test -z "$ac_dir" && ac_dir
=.
11817 for ac_exec_ext
in '' $ac_executable_extensions; do
11818 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11819 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11820 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
11821 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11822 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11829 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11833 MSGFMT
="$ac_cv_path_MSGFMT"
11834 if test "$MSGFMT" != ":"; then
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11836 $as_echo "$MSGFMT" >&6; }
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 $as_echo "no" >&6; }
11842 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11843 set dummy gmsgfmt
; ac_word
=$2
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11845 $as_echo_n "checking for $ac_word... " >&6; }
11846 if ${ac_cv_path_GMSGFMT+:} false
; then :
11847 $as_echo_n "(cached) " >&6
11851 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11855 for as_dir
in $PATH
11858 test -z "$as_dir" && as_dir
=.
11859 for ac_exec_ext
in '' $ac_executable_extensions; do
11860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11861 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11869 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11873 GMSGFMT
=$ac_cv_path_GMSGFMT
11874 if test -n "$GMSGFMT"; then
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11876 $as_echo "$GMSGFMT" >&6; }
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11879 $as_echo "no" >&6; }
11884 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11885 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
11886 *) MSGFMT_015
=$MSGFMT ;;
11889 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11890 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
11891 *) GMSGFMT_015
=$GMSGFMT ;;
11896 # Prepare PATH_SEPARATOR.
11897 # The user is always right.
11898 if test "${PATH_SEPARATOR+set}" != set; then
11899 echo "#! /bin/sh" >conf$$.sh
11900 echo "exit 0" >>conf$$.sh
11902 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11910 # Find out how to test for executable files. Don't use a zero-byte file,
11911 # as systems may use methods other than mode bits to determine executability.
11912 cat >conf$$.
file <<_ASEOF
11916 chmod +x conf$$.
file
11917 if test -x conf$$.
file >/dev
/null
2>&1; then
11918 ac_executable_p
="test -x"
11920 ac_executable_p
="test -f"
11924 # Extract the first word of "xgettext", so it can be a program name with args.
11925 set dummy xgettext
; ac_word
=$2
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11927 $as_echo_n "checking for $ac_word... " >&6; }
11928 if ${ac_cv_path_XGETTEXT+:} false
; then :
11929 $as_echo_n "(cached) " >&6
11931 case "$XGETTEXT" in
11933 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11936 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11937 for ac_dir
in $PATH; do
11939 test -z "$ac_dir" && ac_dir
=.
11940 for ac_exec_ext
in '' $ac_executable_extensions; do
11941 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11942 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11943 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
11944 (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
11945 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11952 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11956 XGETTEXT
="$ac_cv_path_XGETTEXT"
11957 if test "$XGETTEXT" != ":"; then
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11959 $as_echo "$XGETTEXT" >&6; }
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11962 $as_echo "no" >&6; }
11967 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11968 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
11969 *) XGETTEXT_015
=$XGETTEXT ;;
11974 # Prepare PATH_SEPARATOR.
11975 # The user is always right.
11976 if test "${PATH_SEPARATOR+set}" != set; then
11977 echo "#! /bin/sh" >conf$$.sh
11978 echo "exit 0" >>conf$$.sh
11980 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11988 # Find out how to test for executable files. Don't use a zero-byte file,
11989 # as systems may use methods other than mode bits to determine executability.
11990 cat >conf$$.
file <<_ASEOF
11994 chmod +x conf$$.
file
11995 if test -x conf$$.
file >/dev
/null
2>&1; then
11996 ac_executable_p
="test -x"
11998 ac_executable_p
="test -f"
12002 # Extract the first word of "msgmerge", so it can be a program name with args.
12003 set dummy msgmerge
; ac_word
=$2
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12005 $as_echo_n "checking for $ac_word... " >&6; }
12006 if ${ac_cv_path_MSGMERGE+:} false
; then :
12007 $as_echo_n "(cached) " >&6
12009 case "$MSGMERGE" in
12011 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12014 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12015 for ac_dir
in $PATH; do
12017 test -z "$ac_dir" && ac_dir
=.
12018 for ac_exec_ext
in '' $ac_executable_extensions; do
12019 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12020 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12021 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
12022 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12029 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12033 MSGMERGE
="$ac_cv_path_MSGMERGE"
12034 if test "$MSGMERGE" != ":"; then
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12036 $as_echo "$MSGMERGE" >&6; }
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12039 $as_echo "no" >&6; }
12043 test -n "$localedir" || localedir
='${datadir}/locale'
12046 ac_config_commands
="$ac_config_commands po-directories"
12050 if test "X$prefix" = "XNONE"; then
12051 acl_final_prefix
="$ac_default_prefix"
12053 acl_final_prefix
="$prefix"
12055 if test "X$exec_prefix" = "XNONE"; then
12056 acl_final_exec_prefix
='${prefix}'
12058 acl_final_exec_prefix
="$exec_prefix"
12060 acl_save_prefix
="$prefix"
12061 prefix
="$acl_final_prefix"
12062 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12063 prefix
="$acl_save_prefix"
12066 # Check whether --with-gnu-ld was given.
12067 if test "${with_gnu_ld+set}" = set; then :
12068 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12073 # Prepare PATH_SEPARATOR.
12074 # The user is always right.
12075 if test "${PATH_SEPARATOR+set}" != set; then
12076 echo "#! /bin/sh" >conf$$.sh
12077 echo "exit 0" >>conf$$.sh
12079 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12087 if test "$GCC" = yes; then
12088 # Check if gcc -print-prog-name=ld gives a path.
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12090 $as_echo_n "checking for ld used by GCC... " >&6; }
12093 # gcc leaves a trailing carriage return which upsets mingw
12094 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12096 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12099 # Accept absolute paths.
12100 [\\/]* |
[A-Za-z
]:[\\/]*)
12101 re_direlt
='/[^/][^/]*/\.\./'
12102 # Canonicalize the path of ld
12103 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12104 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12105 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12107 test -z "$LD" && LD
="$ac_prog"
12110 # If it fails, then pretend we aren't using GCC.
12114 # If it is relative, then search for the first ld in PATH.
12115 with_gnu_ld
=unknown
12118 elif test "$with_gnu_ld" = yes; then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12120 $as_echo_n "checking for GNU ld... " >&6; }
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12123 $as_echo_n "checking for non-GNU ld... " >&6; }
12125 if ${acl_cv_path_LD+:} false
; then :
12126 $as_echo_n "(cached) " >&6
12128 if test -z "$LD"; then
12129 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12130 for ac_dir
in $PATH; do
12131 test -z "$ac_dir" && ac_dir
=.
12132 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12133 acl_cv_path_LD
="$ac_dir/$ac_prog"
12134 # Check to see if the program is GNU ld. I'd rather use --version,
12135 # but apparently some GNU ld's only accept -v.
12136 # Break only if it was the GNU/non-GNU ld that we prefer.
12137 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12138 *GNU
* |
*'with BFD'*)
12139 test "$with_gnu_ld" != no
&& break ;;
12141 test "$with_gnu_ld" != yes && break ;;
12147 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12151 LD
="$acl_cv_path_LD"
12152 if test -n "$LD"; then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12154 $as_echo "$LD" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12159 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12161 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12162 if ${acl_cv_prog_gnu_ld+:} false
; then :
12163 $as_echo_n "(cached) " >&6
12165 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12166 case `$LD -v 2>&1 </dev/null` in
12167 *GNU
* |
*'with BFD'*)
12168 acl_cv_prog_gnu_ld
=yes ;;
12170 acl_cv_prog_gnu_ld
=no
;;
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12174 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12175 with_gnu_ld
=$acl_cv_prog_gnu_ld
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12181 $as_echo_n "checking for shared library run path origin... " >&6; }
12182 if ${acl_cv_rpath+:} false
; then :
12183 $as_echo_n "(cached) " >&6
12186 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12187 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12189 rm -f .
/conftest.sh
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12194 $as_echo "$acl_cv_rpath" >&6; }
12196 libext
="$acl_cv_libext"
12197 shlibext
="$acl_cv_shlibext"
12198 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12199 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12200 hardcode_direct
="$acl_cv_hardcode_direct"
12201 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12202 # Check whether --enable-rpath was given.
12203 if test "${enable_rpath+set}" = set; then :
12204 enableval
=$enable_rpath; :
12212 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12213 if test -n "$searchpath"; then
12214 acl_save_IFS
="${IFS= }"; IFS
=":"
12215 for searchdir
in $searchpath; do
12216 if test -d "$searchdir"; then
12217 case "$searchdir" in
12218 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
12219 *) searchdir
=`cd "$searchdir" && pwd`
12220 case "$searchdir" in
12221 */lib64
) acl_libdirstem
=lib64
;;
12226 IFS
="$acl_save_IFS"
12238 acl_save_prefix
="$prefix"
12239 prefix
="$acl_final_prefix"
12240 acl_save_exec_prefix
="$exec_prefix"
12241 exec_prefix
="$acl_final_exec_prefix"
12243 eval additional_includedir
=\"$includedir\"
12244 eval additional_libdir
=\"$libdir\"
12246 exec_prefix
="$acl_save_exec_prefix"
12247 prefix
="$acl_save_prefix"
12250 # Check whether --with-libiconv-prefix was given.
12251 if test "${with_libiconv_prefix+set}" = set; then :
12252 withval
=$with_libiconv_prefix;
12253 if test "X$withval" = "Xno"; then
12256 if test "X$withval" = "X"; then
12258 acl_save_prefix
="$prefix"
12259 prefix
="$acl_final_prefix"
12260 acl_save_exec_prefix
="$exec_prefix"
12261 exec_prefix
="$acl_final_exec_prefix"
12263 eval additional_includedir
=\"$includedir\"
12264 eval additional_libdir
=\"$libdir\"
12266 exec_prefix
="$acl_save_exec_prefix"
12267 prefix
="$acl_save_prefix"
12270 additional_includedir
="$withval/include"
12271 additional_libdir
="$withval/$acl_libdirstem"
12282 names_already_handled
=
12283 names_next_round
='iconv '
12284 while test -n "$names_next_round"; do
12285 names_this_round
="$names_next_round"
12287 for name
in $names_this_round; do
12289 for n
in $names_already_handled; do
12290 if test "$n" = "$name"; then
12291 already_handled
=yes
12295 if test -z "$already_handled"; then
12296 names_already_handled
="$names_already_handled $name"
12297 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12298 eval value
=\"\
$HAVE_LIB$uppername\"
12299 if test -n "$value"; then
12300 if test "$value" = yes; then
12301 eval value
=\"\
$LIB$uppername\"
12302 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12303 eval value
=\"\
$LTLIB$uppername\"
12304 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12313 if test $use_additional = yes; then
12314 if test -n "$shlibext" \
12315 && { test -f "$additional_libdir/lib$name.$shlibext" \
12316 ||
{ test "$shlibext" = dll \
12317 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12318 found_dir
="$additional_libdir"
12319 if test -f "$additional_libdir/lib$name.$shlibext"; then
12320 found_so
="$additional_libdir/lib$name.$shlibext"
12322 found_so
="$additional_libdir/lib$name.dll.a"
12324 if test -f "$additional_libdir/lib$name.la"; then
12325 found_la
="$additional_libdir/lib$name.la"
12328 if test -f "$additional_libdir/lib$name.$libext"; then
12329 found_dir
="$additional_libdir"
12330 found_a
="$additional_libdir/lib$name.$libext"
12331 if test -f "$additional_libdir/lib$name.la"; then
12332 found_la
="$additional_libdir/lib$name.la"
12337 if test "X$found_dir" = "X"; then
12338 for x
in $LDFLAGS $LTLIBICONV; do
12340 acl_save_prefix
="$prefix"
12341 prefix
="$acl_final_prefix"
12342 acl_save_exec_prefix
="$exec_prefix"
12343 exec_prefix
="$acl_final_exec_prefix"
12345 exec_prefix
="$acl_save_exec_prefix"
12346 prefix
="$acl_save_prefix"
12350 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12351 if test -n "$shlibext" \
12352 && { test -f "$dir/lib$name.$shlibext" \
12353 ||
{ test "$shlibext" = dll \
12354 && test -f "$dir/lib$name.dll.a"; }; }; then
12356 if test -f "$dir/lib$name.$shlibext"; then
12357 found_so
="$dir/lib$name.$shlibext"
12359 found_so
="$dir/lib$name.dll.a"
12361 if test -f "$dir/lib$name.la"; then
12362 found_la
="$dir/lib$name.la"
12365 if test -f "$dir/lib$name.$libext"; then
12367 found_a
="$dir/lib$name.$libext"
12368 if test -f "$dir/lib$name.la"; then
12369 found_la
="$dir/lib$name.la"
12375 if test "X$found_dir" != "X"; then
12380 if test "X$found_dir" != "X"; then
12381 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12382 if test "X$found_so" != "X"; then
12383 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12384 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12387 for x
in $ltrpathdirs; do
12388 if test "X$x" = "X$found_dir"; then
12393 if test -z "$haveit"; then
12394 ltrpathdirs
="$ltrpathdirs $found_dir"
12396 if test "$hardcode_direct" = yes; then
12397 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12399 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12400 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12402 for x
in $rpathdirs; do
12403 if test "X$x" = "X$found_dir"; then
12408 if test -z "$haveit"; then
12409 rpathdirs
="$rpathdirs $found_dir"
12413 for x
in $LDFLAGS $LIBICONV; do
12415 acl_save_prefix
="$prefix"
12416 prefix
="$acl_final_prefix"
12417 acl_save_exec_prefix
="$exec_prefix"
12418 exec_prefix
="$acl_final_exec_prefix"
12420 exec_prefix
="$acl_save_exec_prefix"
12421 prefix
="$acl_save_prefix"
12423 if test "X$x" = "X-L$found_dir"; then
12428 if test -z "$haveit"; then
12429 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12431 if test "$hardcode_minus_L" != no
; then
12432 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12434 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12440 if test "X$found_a" != "X"; then
12441 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12443 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12446 additional_includedir
=
12447 case "$found_dir" in
12448 */$acl_libdirstem |
*/$acl_libdirstem/)
12449 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12450 additional_includedir
="$basedir/include"
12453 if test "X$additional_includedir" != "X"; then
12454 if test "X$additional_includedir" != "X/usr/include"; then
12456 if test "X$additional_includedir" = "X/usr/local/include"; then
12457 if test -n "$GCC"; then
12459 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
12463 if test -z "$haveit"; then
12464 for x
in $CPPFLAGS $INCICONV; do
12466 acl_save_prefix
="$prefix"
12467 prefix
="$acl_final_prefix"
12468 acl_save_exec_prefix
="$exec_prefix"
12469 exec_prefix
="$acl_final_exec_prefix"
12471 exec_prefix
="$acl_save_exec_prefix"
12472 prefix
="$acl_save_prefix"
12474 if test "X$x" = "X-I$additional_includedir"; then
12479 if test -z "$haveit"; then
12480 if test -d "$additional_includedir"; then
12481 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12487 if test -n "$found_la"; then
12488 save_libdir
="$libdir"
12489 case "$found_la" in
12490 */* |
*\\*) .
"$found_la" ;;
12491 *) .
"./$found_la" ;;
12493 libdir
="$save_libdir"
12494 for dep
in $dependency_libs; do
12497 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12498 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12500 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12501 if test -n "$GCC"; then
12503 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
12507 if test -z "$haveit"; then
12509 for x
in $LDFLAGS $LIBICONV; do
12511 acl_save_prefix
="$prefix"
12512 prefix
="$acl_final_prefix"
12513 acl_save_exec_prefix
="$exec_prefix"
12514 exec_prefix
="$acl_final_exec_prefix"
12516 exec_prefix
="$acl_save_exec_prefix"
12517 prefix
="$acl_save_prefix"
12519 if test "X$x" = "X-L$additional_libdir"; then
12524 if test -z "$haveit"; then
12525 if test -d "$additional_libdir"; then
12526 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12530 for x
in $LDFLAGS $LTLIBICONV; do
12532 acl_save_prefix
="$prefix"
12533 prefix
="$acl_final_prefix"
12534 acl_save_exec_prefix
="$exec_prefix"
12535 exec_prefix
="$acl_final_exec_prefix"
12537 exec_prefix
="$acl_save_exec_prefix"
12538 prefix
="$acl_save_prefix"
12540 if test "X$x" = "X-L$additional_libdir"; then
12545 if test -z "$haveit"; then
12546 if test -d "$additional_libdir"; then
12547 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12554 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12555 if test "$enable_rpath" != no
; then
12557 for x
in $rpathdirs; do
12558 if test "X$x" = "X$dir"; then
12563 if test -z "$haveit"; then
12564 rpathdirs
="$rpathdirs $dir"
12567 for x
in $ltrpathdirs; do
12568 if test "X$x" = "X$dir"; then
12573 if test -z "$haveit"; then
12574 ltrpathdirs
="$ltrpathdirs $dir"
12579 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12582 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12585 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12586 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12592 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12593 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12599 if test "X$rpathdirs" != "X"; then
12600 if test -n "$hardcode_libdir_separator"; then
12602 for found_dir
in $rpathdirs; do
12603 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12605 acl_save_libdir
="$libdir"
12607 eval flag
=\"$hardcode_libdir_flag_spec\"
12608 libdir
="$acl_save_libdir"
12609 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12611 for found_dir
in $rpathdirs; do
12612 acl_save_libdir
="$libdir"
12613 libdir
="$found_dir"
12614 eval flag
=\"$hardcode_libdir_flag_spec\"
12615 libdir
="$acl_save_libdir"
12616 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12620 if test "X$ltrpathdirs" != "X"; then
12621 for found_dir
in $ltrpathdirs; do
12622 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12651 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12652 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
12653 $as_echo_n "(cached) " >&6
12655 gt_save_LIBS
="$LIBS"
12656 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12659 #include <CoreFoundation/CFPreferences.h>
12663 CFPreferencesCopyAppValue(NULL, NULL)
12668 if ac_fn_c_try_link
"$LINENO"; then :
12669 gt_cv_func_CFPreferencesCopyAppValue
=yes
12671 gt_cv_func_CFPreferencesCopyAppValue
=no
12673 rm -f core conftest.err conftest.
$ac_objext \
12674 conftest
$ac_exeext conftest.
$ac_ext
12675 LIBS
="$gt_save_LIBS"
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12678 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12679 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12681 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12685 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12686 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
12687 $as_echo_n "(cached) " >&6
12689 gt_save_LIBS
="$LIBS"
12690 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12693 #include <CoreFoundation/CFLocale.h>
12697 CFLocaleCopyCurrent();
12702 if ac_fn_c_try_link
"$LINENO"; then :
12703 gt_cv_func_CFLocaleCopyCurrent
=yes
12705 gt_cv_func_CFLocaleCopyCurrent
=no
12707 rm -f core conftest.err conftest.
$ac_objext \
12708 conftest
$ac_exeext conftest.
$ac_ext
12709 LIBS
="$gt_save_LIBS"
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12712 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12713 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12715 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12719 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12720 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
12732 case " $gt_needs " in
12733 *" need-formatstring-macros "*) gt_api_version
=3 ;;
12734 *" need-ngettext "*) gt_api_version
=2 ;;
12735 *) gt_api_version
=1 ;;
12737 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
12738 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
12740 if test "$USE_NLS" = "yes"; then
12741 gt_use_preinstalled_gnugettext
=no
12744 if test $gt_api_version -ge 3; then
12745 gt_revision_test_code
='
12746 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12747 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12749 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12752 gt_revision_test_code
=
12754 if test $gt_api_version -ge 2; then
12755 gt_expression_test_code
=' + * ngettext ("", "", 0)'
12757 gt_expression_test_code
=
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12761 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12762 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
12763 $as_echo_n "(cached) " >&6
12765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12767 #include <libintl.h>
12768 $gt_revision_test_code
12769 extern int _nl_msg_cat_cntr;
12770 extern int *_nl_domain_bindings;
12774 bindtextdomain ("", "");
12775 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12780 if ac_fn_c_try_link
"$LINENO"; then :
12781 eval "$gt_func_gnugettext_libc=yes"
12783 eval "$gt_func_gnugettext_libc=no"
12785 rm -f core conftest.err conftest.
$ac_objext \
12786 conftest
$ac_exeext conftest.
$ac_ext
12788 eval ac_res
=\$
$gt_func_gnugettext_libc
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12790 $as_echo "$ac_res" >&6; }
12792 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12798 am_save_CPPFLAGS
="$CPPFLAGS"
12800 for element
in $INCICONV; do
12802 for x
in $CPPFLAGS; do
12804 acl_save_prefix
="$prefix"
12805 prefix
="$acl_final_prefix"
12806 acl_save_exec_prefix
="$exec_prefix"
12807 exec_prefix
="$acl_final_exec_prefix"
12809 exec_prefix
="$acl_save_exec_prefix"
12810 prefix
="$acl_save_prefix"
12812 if test "X$x" = "X$element"; then
12817 if test -z "$haveit"; then
12818 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12824 $as_echo_n "checking for iconv... " >&6; }
12825 if ${am_cv_func_iconv+:} false
; then :
12826 $as_echo_n "(cached) " >&6
12829 am_cv_func_iconv
="no, consider installing GNU libiconv"
12831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12833 #include <stdlib.h>
12838 iconv_t cd = iconv_open("","");
12839 iconv(cd,NULL,NULL,NULL,NULL);
12845 if ac_fn_c_try_link
"$LINENO"; then :
12846 am_cv_func_iconv
=yes
12848 rm -f core conftest.err conftest.
$ac_objext \
12849 conftest
$ac_exeext conftest.
$ac_ext
12850 if test "$am_cv_func_iconv" != yes; then
12851 am_save_LIBS
="$LIBS"
12852 LIBS
="$LIBS $LIBICONV"
12853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12855 #include <stdlib.h>
12860 iconv_t cd = iconv_open("","");
12861 iconv(cd,NULL,NULL,NULL,NULL);
12867 if ac_fn_c_try_link
"$LINENO"; then :
12868 am_cv_lib_iconv
=yes
12869 am_cv_func_iconv
=yes
12871 rm -f core conftest.err conftest.
$ac_objext \
12872 conftest
$ac_exeext conftest.
$ac_ext
12873 LIBS
="$am_save_LIBS"
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12878 $as_echo "$am_cv_func_iconv" >&6; }
12879 if test "$am_cv_func_iconv" = yes; then
12881 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12884 if test "$am_cv_lib_iconv" = yes; then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12886 $as_echo_n "checking how to link with libiconv... " >&6; }
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12888 $as_echo "$LIBICONV" >&6; }
12890 CPPFLAGS
="$am_save_CPPFLAGS"
12903 acl_save_prefix
="$prefix"
12904 prefix
="$acl_final_prefix"
12905 acl_save_exec_prefix
="$exec_prefix"
12906 exec_prefix
="$acl_final_exec_prefix"
12908 eval additional_includedir
=\"$includedir\"
12909 eval additional_libdir
=\"$libdir\"
12911 exec_prefix
="$acl_save_exec_prefix"
12912 prefix
="$acl_save_prefix"
12915 # Check whether --with-libintl-prefix was given.
12916 if test "${with_libintl_prefix+set}" = set; then :
12917 withval
=$with_libintl_prefix;
12918 if test "X$withval" = "Xno"; then
12921 if test "X$withval" = "X"; then
12923 acl_save_prefix
="$prefix"
12924 prefix
="$acl_final_prefix"
12925 acl_save_exec_prefix
="$exec_prefix"
12926 exec_prefix
="$acl_final_exec_prefix"
12928 eval additional_includedir
=\"$includedir\"
12929 eval additional_libdir
=\"$libdir\"
12931 exec_prefix
="$acl_save_exec_prefix"
12932 prefix
="$acl_save_prefix"
12935 additional_includedir
="$withval/include"
12936 additional_libdir
="$withval/$acl_libdirstem"
12947 names_already_handled
=
12948 names_next_round
='intl '
12949 while test -n "$names_next_round"; do
12950 names_this_round
="$names_next_round"
12952 for name
in $names_this_round; do
12954 for n
in $names_already_handled; do
12955 if test "$n" = "$name"; then
12956 already_handled
=yes
12960 if test -z "$already_handled"; then
12961 names_already_handled
="$names_already_handled $name"
12962 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12963 eval value
=\"\
$HAVE_LIB$uppername\"
12964 if test -n "$value"; then
12965 if test "$value" = yes; then
12966 eval value
=\"\
$LIB$uppername\"
12967 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
12968 eval value
=\"\
$LTLIB$uppername\"
12969 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
12978 if test $use_additional = yes; then
12979 if test -n "$shlibext" \
12980 && { test -f "$additional_libdir/lib$name.$shlibext" \
12981 ||
{ test "$shlibext" = dll \
12982 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12983 found_dir
="$additional_libdir"
12984 if test -f "$additional_libdir/lib$name.$shlibext"; then
12985 found_so
="$additional_libdir/lib$name.$shlibext"
12987 found_so
="$additional_libdir/lib$name.dll.a"
12989 if test -f "$additional_libdir/lib$name.la"; then
12990 found_la
="$additional_libdir/lib$name.la"
12993 if test -f "$additional_libdir/lib$name.$libext"; then
12994 found_dir
="$additional_libdir"
12995 found_a
="$additional_libdir/lib$name.$libext"
12996 if test -f "$additional_libdir/lib$name.la"; then
12997 found_la
="$additional_libdir/lib$name.la"
13002 if test "X$found_dir" = "X"; then
13003 for x
in $LDFLAGS $LTLIBINTL; do
13005 acl_save_prefix
="$prefix"
13006 prefix
="$acl_final_prefix"
13007 acl_save_exec_prefix
="$exec_prefix"
13008 exec_prefix
="$acl_final_exec_prefix"
13010 exec_prefix
="$acl_save_exec_prefix"
13011 prefix
="$acl_save_prefix"
13015 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13016 if test -n "$shlibext" \
13017 && { test -f "$dir/lib$name.$shlibext" \
13018 ||
{ test "$shlibext" = dll \
13019 && test -f "$dir/lib$name.dll.a"; }; }; then
13021 if test -f "$dir/lib$name.$shlibext"; then
13022 found_so
="$dir/lib$name.$shlibext"
13024 found_so
="$dir/lib$name.dll.a"
13026 if test -f "$dir/lib$name.la"; then
13027 found_la
="$dir/lib$name.la"
13030 if test -f "$dir/lib$name.$libext"; then
13032 found_a
="$dir/lib$name.$libext"
13033 if test -f "$dir/lib$name.la"; then
13034 found_la
="$dir/lib$name.la"
13040 if test "X$found_dir" != "X"; then
13045 if test "X$found_dir" != "X"; then
13046 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13047 if test "X$found_so" != "X"; then
13048 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13049 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13052 for x
in $ltrpathdirs; do
13053 if test "X$x" = "X$found_dir"; then
13058 if test -z "$haveit"; then
13059 ltrpathdirs
="$ltrpathdirs $found_dir"
13061 if test "$hardcode_direct" = yes; then
13062 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13064 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13065 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13067 for x
in $rpathdirs; do
13068 if test "X$x" = "X$found_dir"; then
13073 if test -z "$haveit"; then
13074 rpathdirs
="$rpathdirs $found_dir"
13078 for x
in $LDFLAGS $LIBINTL; do
13080 acl_save_prefix
="$prefix"
13081 prefix
="$acl_final_prefix"
13082 acl_save_exec_prefix
="$exec_prefix"
13083 exec_prefix
="$acl_final_exec_prefix"
13085 exec_prefix
="$acl_save_exec_prefix"
13086 prefix
="$acl_save_prefix"
13088 if test "X$x" = "X-L$found_dir"; then
13093 if test -z "$haveit"; then
13094 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13096 if test "$hardcode_minus_L" != no
; then
13097 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13099 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13105 if test "X$found_a" != "X"; then
13106 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13108 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13111 additional_includedir
=
13112 case "$found_dir" in
13113 */$acl_libdirstem |
*/$acl_libdirstem/)
13114 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13115 additional_includedir
="$basedir/include"
13118 if test "X$additional_includedir" != "X"; then
13119 if test "X$additional_includedir" != "X/usr/include"; then
13121 if test "X$additional_includedir" = "X/usr/local/include"; then
13122 if test -n "$GCC"; then
13124 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13128 if test -z "$haveit"; then
13129 for x
in $CPPFLAGS $INCINTL; do
13131 acl_save_prefix
="$prefix"
13132 prefix
="$acl_final_prefix"
13133 acl_save_exec_prefix
="$exec_prefix"
13134 exec_prefix
="$acl_final_exec_prefix"
13136 exec_prefix
="$acl_save_exec_prefix"
13137 prefix
="$acl_save_prefix"
13139 if test "X$x" = "X-I$additional_includedir"; then
13144 if test -z "$haveit"; then
13145 if test -d "$additional_includedir"; then
13146 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13152 if test -n "$found_la"; then
13153 save_libdir
="$libdir"
13154 case "$found_la" in
13155 */* |
*\\*) .
"$found_la" ;;
13156 *) .
"./$found_la" ;;
13158 libdir
="$save_libdir"
13159 for dep
in $dependency_libs; do
13162 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13163 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13165 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13166 if test -n "$GCC"; then
13168 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13172 if test -z "$haveit"; then
13174 for x
in $LDFLAGS $LIBINTL; do
13176 acl_save_prefix
="$prefix"
13177 prefix
="$acl_final_prefix"
13178 acl_save_exec_prefix
="$exec_prefix"
13179 exec_prefix
="$acl_final_exec_prefix"
13181 exec_prefix
="$acl_save_exec_prefix"
13182 prefix
="$acl_save_prefix"
13184 if test "X$x" = "X-L$additional_libdir"; then
13189 if test -z "$haveit"; then
13190 if test -d "$additional_libdir"; then
13191 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13195 for x
in $LDFLAGS $LTLIBINTL; do
13197 acl_save_prefix
="$prefix"
13198 prefix
="$acl_final_prefix"
13199 acl_save_exec_prefix
="$exec_prefix"
13200 exec_prefix
="$acl_final_exec_prefix"
13202 exec_prefix
="$acl_save_exec_prefix"
13203 prefix
="$acl_save_prefix"
13205 if test "X$x" = "X-L$additional_libdir"; then
13210 if test -z "$haveit"; then
13211 if test -d "$additional_libdir"; then
13212 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13219 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13220 if test "$enable_rpath" != no
; then
13222 for x
in $rpathdirs; do
13223 if test "X$x" = "X$dir"; then
13228 if test -z "$haveit"; then
13229 rpathdirs
="$rpathdirs $dir"
13232 for x
in $ltrpathdirs; do
13233 if test "X$x" = "X$dir"; then
13238 if test -z "$haveit"; then
13239 ltrpathdirs
="$ltrpathdirs $dir"
13244 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13247 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13250 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13251 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13257 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13258 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13264 if test "X$rpathdirs" != "X"; then
13265 if test -n "$hardcode_libdir_separator"; then
13267 for found_dir
in $rpathdirs; do
13268 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13270 acl_save_libdir
="$libdir"
13272 eval flag
=\"$hardcode_libdir_flag_spec\"
13273 libdir
="$acl_save_libdir"
13274 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13276 for found_dir
in $rpathdirs; do
13277 acl_save_libdir
="$libdir"
13278 libdir
="$found_dir"
13279 eval flag
=\"$hardcode_libdir_flag_spec\"
13280 libdir
="$acl_save_libdir"
13281 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13285 if test "X$ltrpathdirs" != "X"; then
13286 for found_dir
in $ltrpathdirs; do
13287 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13292 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13293 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
13294 $as_echo_n "(cached) " >&6
13296 gt_save_CPPFLAGS
="$CPPFLAGS"
13297 CPPFLAGS
="$CPPFLAGS $INCINTL"
13298 gt_save_LIBS
="$LIBS"
13299 LIBS
="$LIBS $LIBINTL"
13300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h. */
13302 #include <libintl.h>
13303 $gt_revision_test_code
13304 extern int _nl_msg_cat_cntr;
13309 const char *_nl_expand_alias (const char *);
13313 bindtextdomain ("", "");
13314 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13319 if ac_fn_c_try_link
"$LINENO"; then :
13320 eval "$gt_func_gnugettext_libintl=yes"
13322 eval "$gt_func_gnugettext_libintl=no"
13324 rm -f core conftest.err conftest.
$ac_objext \
13325 conftest
$ac_exeext conftest.
$ac_ext
13326 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13327 LIBS
="$LIBS $LIBICONV"
13328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13330 #include <libintl.h>
13331 $gt_revision_test_code
13332 extern int _nl_msg_cat_cntr;
13337 const char *_nl_expand_alias (const char *);
13341 bindtextdomain ("", "");
13342 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13347 if ac_fn_c_try_link
"$LINENO"; then :
13348 LIBINTL
="$LIBINTL $LIBICONV"
13349 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13350 eval "$gt_func_gnugettext_libintl=yes"
13353 rm -f core conftest.err conftest.
$ac_objext \
13354 conftest
$ac_exeext conftest.
$ac_ext
13356 CPPFLAGS
="$gt_save_CPPFLAGS"
13357 LIBS
="$gt_save_LIBS"
13359 eval ac_res
=\$
$gt_func_gnugettext_libintl
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13361 $as_echo "$ac_res" >&6; }
13364 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13365 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13366 && test "$PACKAGE" != gettext-runtime \
13367 && test "$PACKAGE" != gettext-tools
; }; then
13368 gt_use_preinstalled_gnugettext
=yes
13377 if test -n "$INTL_MACOSX_LIBS"; then
13378 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13379 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13380 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
13381 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
13385 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13386 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13388 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13396 $as_echo_n "checking whether to use NLS... " >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13398 $as_echo "$USE_NLS" >&6; }
13399 if test "$USE_NLS" = "yes"; then
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13401 $as_echo_n "checking where the gettext function comes from... " >&6; }
13402 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13403 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13404 gt_source
="external libintl"
13409 gt_source
="included intl directory"
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13412 $as_echo "$gt_source" >&6; }
13415 if test "$USE_NLS" = "yes"; then
13417 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13418 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13420 $as_echo_n "checking how to link with libintl... " >&6; }
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13422 $as_echo "$LIBINTL" >&6; }
13424 for element
in $INCINTL; do
13426 for x
in $CPPFLAGS; do
13428 acl_save_prefix
="$prefix"
13429 prefix
="$acl_final_prefix"
13430 acl_save_exec_prefix
="$exec_prefix"
13431 exec_prefix
="$acl_final_exec_prefix"
13433 exec_prefix
="$acl_save_exec_prefix"
13434 prefix
="$acl_save_prefix"
13436 if test "X$x" = "X$element"; then
13441 if test -z "$haveit"; then
13442 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13449 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13452 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13461 INTLLIBS
="$LIBINTL"
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
13470 $as_echo_n "checking option: dmalloc enabled... " >&6; }
13471 # Check whether --enable-dmalloc was given.
13472 if test "${enable_dmalloc+set}" = set; then :
13473 enableval
=$enable_dmalloc;
13476 if test x
$enable_dmalloc = "xyes" ; then
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13478 $as_echo "yes" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13481 $as_echo "no" >&6; }
13485 # Check whether --with-dmalloc-dir was given.
13486 if test "${with_dmalloc_dir+set}" = set; then :
13487 withval
=$with_dmalloc_dir;
13488 if test "x$withval" != "xno" ; then
13489 enable_dmalloc
= "yes"
13490 CPPFLAGS
="$CPPFLAGS -I${withval}"
13491 LDFLAGS
="$LDFLAGS -L${withval}"
13497 if test x
$enable_dmalloc = "xyes" ; then
13499 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
13503 localedir
="\${datadir}/locale"
13505 # Check whether --with-localedir was given.
13506 if test "${with_localedir+set}" = set; then :
13507 withval
=$with_localedir;
13520 localedir
="$localedir"
13523 # Setup OS-Specific features
13526 # Check whether --enable-osx-universal-binaries was given.
13527 if test "${enable_osx_universal_binaries+set}" = set; then :
13528 enableval
=$enable_osx_universal_binaries;
13531 if test "x$enable_osx_universal_binaries" = "xyes" ; then
13532 if test "x$enable_dependency_tracking" != xno
; then
13533 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
13534 Please re-run configure with these options:
13535 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
13537 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
13538 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
13539 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
13540 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
13542 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
13544 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
13545 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
13546 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
13547 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
13548 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
13549 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
13555 # Check whether --with-include-path was given.
13556 if test "${with_include_path+set}" = set; then :
13557 withval
=$with_include_path;
13564 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
13565 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
13566 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
13574 # Check whether --with-lib-path was given.
13575 if test "${with_lib_path+set}" = set; then :
13576 withval
=$with_lib_path;
13583 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
13584 LDFLAGS
="$LDFLAGS $new_ldflags"
13585 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
13593 # Check whether --with-pubcookie was given.
13594 if test "${with_pubcookie+set}" = set; then :
13595 withval
=$with_pubcookie;
13596 if test "x$withval" != "xno" ; then
13597 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
13605 # Check whether --with-web-bin was given.
13606 if test "${with_web_bin+set}" = set; then :
13607 withval
=$with_web_bin;
13614 WEB_BINDIR
=$withval
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
13622 $as_echo_n "checking option: debugging is enabled... " >&6; }
13623 # Check whether --enable-debug was given.
13624 if test "${enable_debug+set}" = set; then :
13625 enableval
=$enable_debug;
13628 if test x
$enable_debug != "xno" ; then
13629 AM_CFLAGS
="$AM_CFLAGS -g"
13631 $as_echo "#define DEBUG 1" >>confdefs.h
13634 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13637 $as_echo "yes" >&6; }
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13640 $as_echo "no" >&6; }
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
13644 $as_echo_n "checking option: optimization is enabled... " >&6; }
13645 # Check whether --enable-optimization was given.
13646 if test "${enable_optimization+set}" = set; then :
13647 enableval
=$enable_optimization;
13650 if test x
$enable_optimization != "xno" ; then
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13652 $as_echo "yes" >&6; }
13654 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
13655 alpine_c_client_gccoptlevel
="-O0"
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13657 $as_echo "no" >&6; }
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
13661 $as_echo_n "checking option: mouse support enabled... " >&6; }
13662 # Check whether --enable-mouse was given.
13663 if test "${enable_mouse+set}" = set; then :
13664 enableval
=$enable_mouse;
13667 if test x
$enable_mouse != "xno" ; then
13669 $as_echo "#define MOUSE /**/" >>confdefs.h
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13672 $as_echo "yes" >&6; }
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13675 $as_echo "no" >&6; }
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
13679 $as_echo_n "checking option: quotas enabled... " >&6; }
13680 # Check whether --enable-quotas was given.
13681 if test "${enable_quotas+set}" = set; then :
13682 enableval
=$enable_quotas;
13685 if test x
$enable_quotas = "xyes" ; then
13687 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13690 $as_echo "yes" >&6; }
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13693 $as_echo "no" >&6; }
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
13697 $as_echo_n "checking option: From changing enabled... " >&6; }
13698 # Check whether --enable-from_changing was given.
13699 if test "${enable_from_changing+set}" = set; then :
13700 enableval
=$enable_from_changing;
13703 if test x
$enable_from_changing != "xno" ; then
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13705 $as_echo "yes" >&6; }
13708 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13711 $as_echo "no" >&6; }
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
13715 $as_echo_n "checking option: background post enabled... " >&6; }
13716 # Check whether --enable-background-post was given.
13717 if test "${enable_background_post+set}" = set; then :
13718 enableval
=$enable_background_post;
13721 if test x
$enable_background_post != "xno" ; then
13723 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13726 $as_echo "yes" >&6; }
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13729 $as_echo "no" >&6; }
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
13733 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
13734 # Check whether --enable-keyboard-lock was given.
13735 if test "${enable_keyboard_lock+set}" = set; then :
13736 enableval
=$enable_keyboard_lock;
13739 if test x
$enable_keyboard_lock != "xno" ; then
13741 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13744 $as_echo "yes" >&6; }
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13747 $as_echo "no" >&6; }
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
13751 $as_echo_n "checking option: from encoding enabled... " >&6; }
13752 # Check whether --enable-from-encoding was given.
13753 if test "${enable_from_encoding+set}" = set; then :
13754 enableval
=$enable_from_encoding;
13757 if test x
$enable_from_encoding = "xyes" ; then
13759 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13762 $as_echo "yes" >&6; }
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13765 $as_echo "no" >&6; }
13769 # Check whether --with-smtp-msa was given.
13770 if test "${with_smtp_msa+set}" = set; then :
13771 withval
=$with_smtp_msa;
13776 # Extract the first word of "sendmail", so it can be a program name with args.
13777 set dummy sendmail
; ac_word
=$2
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13779 $as_echo_n "checking for $ac_word... " >&6; }
13780 if ${ac_cv_path_SENDMAIL+:} false
; then :
13781 $as_echo_n "(cached) " >&6
13785 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
13788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13789 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13790 for as_dir
in $as_dummy
13793 test -z "$as_dir" && as_dir
=.
13794 for ac_exec_ext
in '' $ac_executable_extensions; do
13795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13796 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
13797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13804 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
13808 SENDMAIL
=$ac_cv_path_SENDMAIL
13809 if test -n "$SENDMAIL"; then
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13811 $as_echo "$SENDMAIL" >&6; }
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13814 $as_echo "no" >&6; }
13826 # Extract the first word of "sendmail", so it can be a program name with args.
13827 set dummy sendmail
; ac_word
=$2
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13829 $as_echo_n "checking for $ac_word... " >&6; }
13830 if ${ac_cv_path_SENDMAIL+:} false
; then :
13831 $as_echo_n "(cached) " >&6
13835 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
13838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13839 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13840 for as_dir
in $as_dummy
13843 test -z "$as_dir" && as_dir
=.
13844 for ac_exec_ext
in '' $ac_executable_extensions; do
13845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13846 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
13847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
13858 SENDMAIL
=$ac_cv_path_SENDMAIL
13859 if test -n "$SENDMAIL"; then
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13861 $as_echo "$SENDMAIL" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13864 $as_echo "no" >&6; }
13871 if test -n "$SENDMAIL" ; then
13873 cat >>confdefs.h
<<_ACEOF
13874 #define SENDMAIL "$SENDMAIL"
13879 smtp_msa_flags
="-bs -odb -oem"
13881 # Check whether --with-smtp-msa-flags was given.
13882 if test "${with_smtp_msa_flags+set}" = set; then :
13883 withval
=$with_smtp_msa_flags;
13884 if test "x$withval" != "xno" ; then
13885 smtp_msa_flags
=$withval
13891 cat >>confdefs.h
<<_ACEOF
13892 #define SENDMAILFLAGS "$smtp_msa_flags"
13898 # Check whether --with-npa was given.
13899 if test "${with_npa+set}" = set; then :
13905 # Extract the first word of "inews", so it can be a program name with args.
13906 set dummy inews
; ac_word
=$2
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13908 $as_echo_n "checking for $ac_word... " >&6; }
13909 if ${ac_cv_path_NPA_PROG+:} false
; then :
13910 $as_echo_n "(cached) " >&6
13914 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
13917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13918 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13919 for as_dir
in $as_dummy
13922 test -z "$as_dir" && as_dir
=.
13923 for ac_exec_ext
in '' $ac_executable_extensions; do
13924 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13925 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
13926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13933 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
13937 NPA_PROG
=$ac_cv_path_NPA_PROG
13938 if test -n "$NPA_PROG"; then
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
13940 $as_echo "$NPA_PROG" >&6; }
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13943 $as_echo "no" >&6; }
13955 # Extract the first word of "inews", so it can be a program name with args.
13956 set dummy inews
; ac_word
=$2
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13958 $as_echo_n "checking for $ac_word... " >&6; }
13959 if ${ac_cv_path_NPA_PROG+:} false
; then :
13960 $as_echo_n "(cached) " >&6
13964 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
13967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13968 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13969 for as_dir
in $as_dummy
13972 test -z "$as_dir" && as_dir
=.
13973 for ac_exec_ext
in '' $ac_executable_extensions; do
13974 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13975 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
13976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13983 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
13987 NPA_PROG
=$ac_cv_path_NPA_PROG
13988 if test -n "$NPA_PROG"; then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
13990 $as_echo "$NPA_PROG" >&6; }
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13993 $as_echo "no" >&6; }
14003 # Check whether --with-npa-flags was given.
14004 if test "${with_npa_flags+set}" = set; then :
14005 withval
=$with_npa_flags;
14006 if test "x$withval" != "xno" ; then
14012 if test -n "$NPA_PROG" ; then
14014 cat >>confdefs.h
<<_ACEOF
14015 #define SENDNEWS "$NPA_PROG $npa_flags"
14021 # Check whether --with-password-prog was given.
14022 if test "${with_password_prog+set}" = set; then :
14023 withval
=$with_password_prog;
14028 # Extract the first word of "passwd", so it can be a program name with args.
14029 set dummy passwd
; ac_word
=$2
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14031 $as_echo_n "checking for $ac_word... " >&6; }
14032 if ${ac_cv_path_PWPROG+:} false
; then :
14033 $as_echo_n "(cached) " >&6
14037 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14041 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14042 for as_dir
in $as_dummy
14045 test -z "$as_dir" && as_dir
=.
14046 for ac_exec_ext
in '' $ac_executable_extensions; do
14047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14048 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14056 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14060 PWPROG
=$ac_cv_path_PWPROG
14061 if test -n "$PWPROG"; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14063 $as_echo "$PWPROG" >&6; }
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14066 $as_echo "no" >&6; }
14072 # Extract the first word of "$withval", so it can be a program name with args.
14073 set dummy
$withval; ac_word
=$2
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14075 $as_echo_n "checking for $ac_word... " >&6; }
14076 if ${ac_cv_path_PWPROG+:} false
; then :
14077 $as_echo_n "(cached) " >&6
14081 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14085 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14086 for as_dir
in $as_dummy
14089 test -z "$as_dir" && as_dir
=.
14090 for ac_exec_ext
in '' $ac_executable_extensions; do
14091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14092 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14100 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14104 PWPROG
=$ac_cv_path_PWPROG
14105 if test -n "$PWPROG"; then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14107 $as_echo "$PWPROG" >&6; }
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14110 $as_echo "no" >&6; }
14119 # Extract the first word of "passwd", so it can be a program name with args.
14120 set dummy passwd
; ac_word
=$2
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14122 $as_echo_n "checking for $ac_word... " >&6; }
14123 if ${ac_cv_path_PWPROG+:} false
; then :
14124 $as_echo_n "(cached) " >&6
14128 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14132 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14133 for as_dir
in $as_dummy
14136 test -z "$as_dir" && as_dir
=.
14137 for ac_exec_ext
in '' $ac_executable_extensions; do
14138 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14139 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14147 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14151 PWPROG
=$ac_cv_path_PWPROG
14152 if test -n "$PWPROG"; then
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14154 $as_echo "$PWPROG" >&6; }
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14157 $as_echo "no" >&6; }
14164 if test -n "$PWPROG" ; then
14166 cat >>confdefs.h
<<_ACEOF
14167 #define PASSWD_PROG "$PWPROG"
14173 # Check whether --with-simple-spellcheck was given.
14174 if test "${with_simple_spellcheck+set}" = set; then :
14175 withval
=$with_simple_spellcheck;
14176 if test "x$withval" != "xno" ; then
14182 # Extract the first word of "hunspell", so it can be a program name with args.
14183 set dummy hunspell
; ac_word
=$2
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14185 $as_echo_n "checking for $ac_word... " >&6; }
14186 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14187 $as_echo_n "(cached) " >&6
14189 if test -n "$SPELLPROG"; then
14190 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14193 for as_dir
in $PATH
14196 test -z "$as_dir" && as_dir
=.
14197 for ac_exec_ext
in '' $ac_executable_extensions; do
14198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14199 ac_cv_prog_SPELLPROG
="hunspell"
14200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14209 SPELLPROG
=$ac_cv_prog_SPELLPROG
14210 if test -n "$SPELLPROG"; then
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14212 $as_echo "$SPELLPROG" >&6; }
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14215 $as_echo "no" >&6; }
14219 if test -z "$SPELLPROG" ; then
14220 # Extract the first word of "aspell", so it can be a program name with args.
14221 set dummy aspell
; ac_word
=$2
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14223 $as_echo_n "checking for $ac_word... " >&6; }
14224 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14225 $as_echo_n "(cached) " >&6
14227 if test -n "$SPELLPROG"; then
14228 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14231 for as_dir
in $PATH
14234 test -z "$as_dir" && as_dir
=.
14235 for ac_exec_ext
in '' $ac_executable_extensions; do
14236 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14237 ac_cv_prog_SPELLPROG
="aspell"
14238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14247 SPELLPROG
=$ac_cv_prog_SPELLPROG
14248 if test -n "$SPELLPROG"; then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14250 $as_echo "$SPELLPROG" >&6; }
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14253 $as_echo "no" >&6; }
14257 if test -z "$SPELLPROG" ; then
14258 # Extract the first word of "ispell", so it can be a program name with args.
14259 set dummy ispell
; ac_word
=$2
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14261 $as_echo_n "checking for $ac_word... " >&6; }
14262 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14263 $as_echo_n "(cached) " >&6
14265 if test -n "$SPELLPROG"; then
14266 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14269 for as_dir
in $PATH
14272 test -z "$as_dir" && as_dir
=.
14273 for ac_exec_ext
in '' $ac_executable_extensions; do
14274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14275 ac_cv_prog_SPELLPROG
="ispell"
14276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14285 SPELLPROG
=$ac_cv_prog_SPELLPROG
14286 if test -n "$SPELLPROG"; then
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14288 $as_echo "$SPELLPROG" >&6; }
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291 $as_echo "no" >&6; }
14295 if test -z "$SPELLPROG" ; then
14304 if test "x$SPELLPROG" != "xno" ; then
14305 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
14306 set dummy
$SPELLPROG; ac_word
=$2
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14308 $as_echo_n "checking for $ac_word... " >&6; }
14309 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
14310 $as_echo_n "(cached) " >&6
14312 case $alpine_simple_spellcheck in
14314 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
14317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14318 for as_dir
in $PATH
14321 test -z "$as_dir" && as_dir
=.
14322 for ac_exec_ext
in '' $ac_executable_extensions; do
14323 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14324 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
14325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14335 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
14336 if test -n "$alpine_simple_spellcheck"; then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
14338 $as_echo "$alpine_simple_spellcheck" >&6; }
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14341 $as_echo "no" >&6; }
14345 if test -n "$alpine_simple_spellcheck" ; then
14346 case "$SPELLPROG" in
14348 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
14351 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
14354 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
14363 # Check whether --with-interactive-spellcheck was given.
14364 if test "${with_interactive_spellcheck+set}" = set; then :
14365 withval
=$with_interactive_spellcheck;
14366 if test "x$withval" != "xno" ; then
14367 ISPELLPROG
=$withval
14372 # Extract the first word of "hunspell", so it can be a program name with args.
14373 set dummy hunspell
; ac_word
=$2
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14375 $as_echo_n "checking for $ac_word... " >&6; }
14376 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
14377 $as_echo_n "(cached) " >&6
14379 if test -n "$ISPELLPROG"; then
14380 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
14382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14383 for as_dir
in $PATH
14386 test -z "$as_dir" && as_dir
=.
14387 for ac_exec_ext
in '' $ac_executable_extensions; do
14388 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14389 ac_cv_prog_ISPELLPROG
="hunspell"
14390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14399 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
14400 if test -n "$ISPELLPROG"; then
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14402 $as_echo "$ISPELLPROG" >&6; }
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14405 $as_echo "no" >&6; }
14409 if test -z "$ISPELLPROG" ; then
14410 # Extract the first word of "aspell", so it can be a program name with args.
14411 set dummy aspell
; ac_word
=$2
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14413 $as_echo_n "checking for $ac_word... " >&6; }
14414 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
14415 $as_echo_n "(cached) " >&6
14417 if test -n "$ISPELLPROG"; then
14418 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
14420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14421 for as_dir
in $PATH
14424 test -z "$as_dir" && as_dir
=.
14425 for ac_exec_ext
in '' $ac_executable_extensions; do
14426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14427 ac_cv_prog_ISPELLPROG
="aspell"
14428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14437 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
14438 if test -n "$ISPELLPROG"; then
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14440 $as_echo "$ISPELLPROG" >&6; }
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14443 $as_echo "no" >&6; }
14447 if test -z "$SPELLPROG" ; then
14448 ISPELLPROG
="ispell"
14455 if test "x$ISPELLPROG" != "xno" ; then
14456 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
14457 set dummy
$ISPELLPROG; ac_word
=$2
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14459 $as_echo_n "checking for $ac_word... " >&6; }
14460 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
14461 $as_echo_n "(cached) " >&6
14463 case $alpine_interactive_spellcheck in
14465 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
14468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14469 for as_dir
in $PATH
14472 test -z "$as_dir" && as_dir
=.
14473 for ac_exec_ext
in '' $ac_executable_extensions; do
14474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14475 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
14476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14486 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
14487 if test -n "$alpine_interactive_spellcheck"; then
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
14489 $as_echo "$alpine_interactive_spellcheck" >&6; }
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14492 $as_echo "no" >&6; }
14496 if test -n "$alpine_interactive_spellcheck" ; then
14497 case "$ISPELLPROG" in
14499 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
14507 if test -n "$alpine_interactive_spellcheck" ; then
14509 cat >>confdefs.h
<<_ACEOF
14510 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
14515 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
14516 alpine_simple_spellcheck
=test
14519 cat >>confdefs.h
<<_ACEOF
14520 #define SPELLER "$alpine_simple_spellcheck"
14525 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
14526 *) dpv
=${prefix}/lib
/pine.conf
;;
14529 # Check whether --with-system-pinerc was given.
14530 if test "${with_system_pinerc+set}" = set; then :
14531 withval
=$with_system_pinerc;
14545 cat >>confdefs.h
<<_ACEOF
14546 #define SYSTEM_PINERC "$dpv"
14551 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
14552 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
14555 # Check whether --with-system-fixed-pinerc was given.
14556 if test "${with_system_fixed_pinerc+set}" = set; then :
14557 withval
=$with_system_fixed_pinerc;
14571 cat >>confdefs.h
<<_ACEOF
14572 #define SYSTEM_PINERC_FIXED "$dpv"
14577 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
14578 *) dpv
=${prefix}/lib
/pine.info
;;
14581 # Check whether --with-local-support-info was given.
14582 if test "${with_local_support_info+set}" = set; then :
14583 withval
=$with_local_support_info;
14597 cat >>confdefs.h
<<_ACEOF
14598 #define SYSTEM_PINE_INFO_PATH "$dpv"
14609 # Check whether --with-mailcheck-interval was given.
14610 if test "${with_mailcheck_interval+set}" = set; then :
14611 withval
=$with_mailcheck_interval;
14612 if test "x$withval" != "xno" ; then
14619 cat >>confdefs.h
<<_ACEOF
14620 #define DF_MAILCHECK "$dpv"
14627 # Check whether --with-checkpoint-interval was given.
14628 if test "${with_checkpoint_interval+set}" = set; then :
14629 withval
=$with_checkpoint_interval;
14630 if test "x$withval" != "xno" ; then
14637 cat >>confdefs.h
<<_ACEOF
14638 #define CHECK_POINT_TIME $dpv
14645 # Check whether --with-checkpoint-frequency was given.
14646 if test "${with_checkpoint_frequency+set}" = set; then :
14647 withval
=$with_checkpoint_frequency;
14648 if test "x$withval" != "xno" ; then
14655 cat >>confdefs.h
<<_ACEOF
14656 #define CHECK_POINT_FREQ $dpv
14663 # Check whether --with-display-rows was given.
14664 if test "${with_display_rows+set}" = set; then :
14665 withval
=$with_display_rows;
14666 if test "x$withval" != "xno" ; then
14673 cat >>confdefs.h
<<_ACEOF
14674 #define DEFAULT_LINES_ON_TERMINAL $dpv
14681 # Check whether --with-display-columns was given.
14682 if test "${with_display_columns+set}" = set; then :
14683 withval
=$with_display_columns;
14684 if test "x$withval" != "xno" ; then
14691 cat >>confdefs.h
<<_ACEOF
14692 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
14699 # Check whether --with-max-display-rows was given.
14700 if test "${with_max_display_rows+set}" = set; then :
14701 withval
=$with_max_display_rows;
14702 if test "x$withval" != "xno" ; then
14709 cat >>confdefs.h
<<_ACEOF
14710 #define MAX_SCREEN_ROWS $dpv
14717 # Check whether --with-max-display-columns was given.
14718 if test "${with_max_display_columns+set}" = set; then :
14719 withval
=$with_max_display_columns;
14720 if test "x$withval" != "xno" ; then
14727 cat >>confdefs.h
<<_ACEOF
14728 #define MAX_SCREEN_COLS $dpv
14735 # Check whether --with-fill-column was given.
14736 if test "${with_fill_column+set}" = set; then :
14737 withval
=$with_fill_column;
14738 if test "x$withval" != "xno" ; then
14745 cat >>confdefs.h
<<_ACEOF
14746 #define DF_FILLCOL "$dpv"
14753 # Check whether --with-max_fill-column was given.
14754 if test "${with_max_fill_column+set}" = set; then :
14755 withval
=$with_max_fill_column;
14756 if test "x$withval" != "xno" ; then
14763 cat >>confdefs.h
<<_ACEOF
14764 #define MAX_FILLCOL $dpv
14771 # Check whether --with-debug-level was given.
14772 if test "${with_debug_level+set}" = set; then :
14773 withval
=$with_debug_level;
14774 if test "x$withval" != "xno" ; then
14781 cat >>confdefs.h
<<_ACEOF
14782 #define DEFAULT_DEBUG $dpv
14789 # Check whether --with-debug-files was given.
14790 if test "${with_debug_files+set}" = set; then :
14791 withval
=$with_debug_files;
14792 if test "x$withval" != "xno" ; then
14799 cat >>confdefs.h
<<_ACEOF
14800 #define NUMDEBUGFILES $dpv
14807 # Check whether --with-debug-file was given.
14808 if test "${with_debug_file+set}" = set; then :
14809 withval
=$with_debug_file;
14810 if test "x$withval" != "xno" ; then
14817 cat >>confdefs.h
<<_ACEOF
14818 #define DEBUGFILE "$dpv"
14825 # Check whether --with-forwarded-keyword was given.
14826 if test "${with_forwarded_keyword+set}" = set; then :
14827 withval
=$with_forwarded_keyword;
14828 if test "x$withval" != "xno" ; then
14835 cat >>confdefs.h
<<_ACEOF
14836 #define FORWARDED_FLAG "$dpv"
14843 # Check whether --with-display-overlap was given.
14844 if test "${with_display_overlap+set}" = set; then :
14845 withval
=$with_display_overlap;
14846 if test "x$withval" != "xno" ; then
14853 cat >>confdefs.h
<<_ACEOF
14854 #define DF_OVERLAP "$dpv"
14861 # Check whether --with-display-margin was given.
14862 if test "${with_display_margin+set}" = set; then :
14863 withval
=$with_display_margin;
14864 if test "x$withval" != "xno" ; then
14871 cat >>confdefs.h
<<_ACEOF
14872 #define DF_MARGIN "$dpv"
14879 # Check whether --with-default-fcc was given.
14880 if test "${with_default_fcc+set}" = set; then :
14881 withval
=$with_default_fcc;
14882 if test "x$withval" != "xno" ; then
14889 cat >>confdefs.h
<<_ACEOF
14890 #define DF_DEFAULT_FCC "$dpv"
14897 # Check whether --with-default-save-folder was given.
14898 if test "${with_default_save_folder+set}" = set; then :
14899 withval
=$with_default_save_folder;
14900 if test "x$withval" != "xno" ; then
14907 cat >>confdefs.h
<<_ACEOF
14908 #define DEFAULT_SAVE "$dpv"
14915 # Check whether --with-default-legacy-postponed-folder was given.
14916 if test "${with_default_legacy_postponed_folder+set}" = set; then :
14917 withval
=$with_default_legacy_postponed_folder;
14918 if test "x$withval" != "xno" ; then
14925 cat >>confdefs.h
<<_ACEOF
14926 #define POSTPONED_MAIL "$dpv"
14933 # Check whether --with-default-postponed-folder was given.
14934 if test "${with_default_postponed_folder+set}" = set; then :
14935 withval
=$with_default_postponed_folder;
14936 if test "x$withval" != "xno" ; then
14943 cat >>confdefs.h
<<_ACEOF
14944 #define POSTPONED_MSGS "$dpv"
14951 # Check whether --with-default-trash-folder was given.
14952 if test "${with_default_trash_folder+set}" = set; then :
14953 withval
=$with_default_trash_folder;
14954 if test "x$withval" != "xno" ; then
14961 cat >>confdefs.h
<<_ACEOF
14962 #define TRASH_FOLDER "$dpv"
14967 dpv
=.pine-interrupted-mail
14969 # Check whether --with-default-interrupted-mail was given.
14970 if test "${with_default_interrupted_mail+set}" = set; then :
14971 withval
=$with_default_interrupted_mail;
14972 if test "x$withval" != "xno" ; then
14979 cat >>confdefs.h
<<_ACEOF
14980 #define INTERRUPTED_MAIL "$dpv"
14987 # Check whether --with-default-dead-letter-folder was given.
14988 if test "${with_default_dead_letter_folder+set}" = set; then :
14989 withval
=$with_default_dead_letter_folder;
14990 if test "x$withval" != "xno" ; then
14997 cat >>confdefs.h
<<_ACEOF
14998 #define DEADLETTER "$dpv"
15005 # Check whether --with-default-mail-directory was given.
15006 if test "${with_default_mail_directory+set}" = set; then :
15007 withval
=$with_default_mail_directory;
15008 if test "x$withval" != "xno" ; then
15015 cat >>confdefs.h
<<_ACEOF
15016 #define DF_MAIL_DIRECTORY "$dpv"
15023 # Check whether --with-default-inbox-name was given.
15024 if test "${with_default_inbox_name+set}" = set; then :
15025 withval
=$with_default_inbox_name;
15026 if test "x$withval" != "xno" ; then
15033 cat >>confdefs.h
<<_ACEOF
15034 #define INBOX_NAME "$dpv"
15041 # Check whether --with-default-signature-file was given.
15042 if test "${with_default_signature_file+set}" = set; then :
15043 withval
=$with_default_signature_file;
15044 if test "x$withval" != "xno" ; then
15051 cat >>confdefs.h
<<_ACEOF
15052 #define DF_SIGNATURE_FILE "$dpv"
15059 # Check whether --with-default-elm-style-save was given.
15060 if test "${with_default_elm_style_save+set}" = set; then :
15061 withval
=$with_default_elm_style_save;
15062 if test "x$withval" != "xno" ; then
15069 cat >>confdefs.h
<<_ACEOF
15070 #define DF_ELM_STYLE_SAVE "$dpv"
15077 # Check whether --with-default-header-in-reply was given.
15078 if test "${with_default_header_in_reply+set}" = set; then :
15079 withval
=$with_default_header_in_reply;
15080 if test "x$withval" != "xno" ; then
15087 cat >>confdefs.h
<<_ACEOF
15088 #define DF_HEADER_IN_REPLY "$dpv"
15095 # Check whether --with-default-old-style-reply was given.
15096 if test "${with_default_old_style_reply+set}" = set; then :
15097 withval
=$with_default_old_style_reply;
15098 if test "x$withval" != "xno" ; then
15105 cat >>confdefs.h
<<_ACEOF
15106 #define DF_OLD_STYLE_REPLY "$dpv"
15113 # Check whether --with-default-use-only-domain-name was given.
15114 if test "${with_default_use_only_domain_name+set}" = set; then :
15115 withval
=$with_default_use_only_domain_name;
15116 if test "x$withval" != "xno" ; then
15123 cat >>confdefs.h
<<_ACEOF
15124 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
15131 # Check whether --with-default-save-by-sender was given.
15132 if test "${with_default_save_by_sender+set}" = set; then :
15133 withval
=$with_default_save_by_sender;
15134 if test "x$withval" != "xno" ; then
15141 cat >>confdefs.h
<<_ACEOF
15142 #define DF_SAVE_BY_SENDER "$dpv"
15149 # Check whether --with-default-sort-key was given.
15150 if test "${with_default_sort_key+set}" = set; then :
15151 withval
=$with_default_sort_key;
15152 if test "x$withval" != "xno" ; then
15159 cat >>confdefs.h
<<_ACEOF
15160 #define DF_SORT_KEY "$dpv"
15165 dpv
=fullname-with-lists-last
15167 # Check whether --with-default-addressbook-sort-rule was given.
15168 if test "${with_default_addressbook_sort_rule+set}" = set; then :
15169 withval
=$with_default_addressbook_sort_rule;
15170 if test "x$withval" != "xno" ; then
15177 cat >>confdefs.h
<<_ACEOF
15178 #define DF_AB_SORT_RULE "$dpv"
15185 # Check whether --with-default-folder-sort-rule was given.
15186 if test "${with_default_folder_sort_rule+set}" = set; then :
15187 withval
=$with_default_folder_sort_rule;
15188 if test "x$withval" != "xno" ; then
15195 cat >>confdefs.h
<<_ACEOF
15196 #define DF_FLD_SORT_RULE "$dpv"
15203 # Check whether --with-default-saved-message-name-rule was given.
15204 if test "${with_default_saved_message_name_rule+set}" = set; then :
15205 withval
=$with_default_saved_message_name_rule;
15206 if test "x$withval" != "xno" ; then
15213 cat >>confdefs.h
<<_ACEOF
15214 #define DF_SAVED_MSG_NAME_RULE "$dpv"
15221 # Check whether --with-default-fcc-rule was given.
15222 if test "${with_default_fcc_rule+set}" = set; then :
15223 withval
=$with_default_fcc_rule;
15224 if test "x$withval" != "xno" ; then
15231 cat >>confdefs.h
<<_ACEOF
15232 #define DF_FCC_RULE "$dpv"
15239 # Check whether --with-default-standard-printer was given.
15240 if test "${with_default_standard_printer+set}" = set; then :
15241 withval
=$with_default_standard_printer;
15242 if test "x$withval" != "xno" ; then
15249 cat >>confdefs.h
<<_ACEOF
15250 #define DF_STANDARD_PRINTER "$dpv"
15255 dpv
=attached-to-ansi
15257 # Check whether --with-default-ansi-printer was given.
15258 if test "${with_default_ansi_printer+set}" = set; then :
15259 withval
=$with_default_ansi_printer;
15260 if test "x$withval" != "xno" ; then
15267 cat >>confdefs.h
<<_ACEOF
15268 #define ANSI_PRINTER "$dpv"
15275 # Check whether --with-default-addressbook was given.
15276 if test "${with_default_addressbook+set}" = set; then :
15277 withval
=$with_default_addressbook;
15278 if test "x$withval" != "xno" ; then
15285 cat >>confdefs.h
<<_ACEOF
15286 #define DF_ADDRESSBOOK "$dpv"
15291 dpv
="Local Support"
15293 # Check whether --with-default-local-fullname was given.
15294 if test "${with_default_local_fullname+set}" = set; then :
15295 withval
=$with_default_local_fullname;
15296 if test "x$withval" != "xno" ; then
15303 cat >>confdefs.h
<<_ACEOF
15304 #define DF_LOCAL_FULLNAME "$dpv"
15311 # Check whether --with-default-local-address was given.
15312 if test "${with_default_local_address+set}" = set; then :
15313 withval
=$with_default_local_address;
15314 if test "x$withval" != "xno" ; then
15321 cat >>confdefs.h
<<_ACEOF
15322 #define DF_LOCAL_ADDRESS "$dpv"
15329 # Check whether --with-default-keyboard-lock-count was given.
15330 if test "${with_default_keyboard_lock_count+set}" = set; then :
15331 withval
=$with_default_keyboard_lock_count;
15332 if test "x$withval" != "xno" ; then
15339 cat >>confdefs.h
<<_ACEOF
15340 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
15347 # Check whether --with-default-remote-addressbook-history was given.
15348 if test "${with_default_remote_addressbook_history+set}" = set; then :
15349 withval
=$with_default_remote_addressbook_history;
15350 if test "x$withval" != "xno" ; then
15357 cat >>confdefs.h
<<_ACEOF
15358 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
15363 dpv
=.alpine-smime
/public
15365 # Check whether --with-smime-public-cert-directory was given.
15366 if test "${with_smime_public_cert_directory+set}" = set; then :
15367 withval
=$with_smime_public_cert_directory;
15368 if test "x$withval" != "xno" ; then
15375 cat >>confdefs.h
<<_ACEOF
15376 #define DF_PUBLICCERT_DIR "$dpv"
15381 dpv
=.alpine-smime
/private
15383 # Check whether --with-smime-private-key-directory was given.
15384 if test "${with_smime_private_key_directory+set}" = set; then :
15385 withval
=$with_smime_private_key_directory;
15386 if test "x$withval" != "xno" ; then
15393 cat >>confdefs.h
<<_ACEOF
15394 #define DF_PRIVATEKEY_DIR "$dpv"
15399 dpv
=.alpine-smime
/ca
15401 # Check whether --with-smime-cacert-directory was given.
15402 if test "${with_smime_cacert_directory+set}" = set; then :
15403 withval
=$with_smime_cacert_directory;
15404 if test "x$withval" != "xno" ; then
15411 cat >>confdefs.h
<<_ACEOF
15412 #define DF_CACERT_DIR "$dpv"
15419 # Check whether --with-default-printer was given.
15420 if test "${with_default_printer+set}" = set; then :
15421 withval
=$with_default_printer;
15422 if test "x$withval" != "xno" ; then
15429 cat >>confdefs.h
<<_ACEOF
15430 #define DF_DEFAULT_PRINTER $dpv
15436 # Check whether --with-passfile was given.
15437 if test "${with_passfile+set}" = set; then :
15438 withval
=$with_passfile;
15445 alpine_PASSFILE
=$withval
15453 # Check whether --with-local-password-cache was given.
15454 if test "${with_local_password_cache+set}" = set; then :
15455 withval
=$with_local_password_cache;
15456 alpine_os_credential_cache
=$withval
15462 # Check whether --with-local-password-cache-method was given.
15463 if test "${with_local_password_cache_method+set}" = set; then :
15464 withval
=$with_local_password_cache_method;
15465 alpine_os_credential_cache_method
=$withval
15470 if test -n "$alpine_PASSFILE" ; then
15471 case $alpine_os_credential_cache in
15475 alpine_os_credential_cache
="no"
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
15477 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
15481 cat >>confdefs.h
<<_ACEOF
15482 #define PASSFILE "$alpine_PASSFILE"
15488 # Check whether --with-default-sshpath was given.
15489 if test "${with_default_sshpath+set}" = set; then :
15490 withval
=$with_default_sshpath;
15498 cat >>confdefs.h
<<_ACEOF
15499 #define DF_SSHPATH "$withval"
15509 # Check whether --with-default-sshcmd was given.
15510 if test "${with_default_sshcmd+set}" = set; then :
15511 withval
=$with_default_sshcmd;
15519 cat >>confdefs.h
<<_ACEOF
15520 #define DF_SSHCMD "$withval"
15530 # Check whether --with-ssl was given.
15531 if test "${with_ssl+set}" = set; then :
15532 withval
=$with_ssl; with_ssl
=$withval
15536 if test "x$with_ssl" = "xno" ; then
15537 alpine_SSLTYPE
="none"
15541 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
15542 alpine_SSLTYPE
="nopwd"
15543 if test -d /etc
/pki
/tls
; then
15544 alpine_SSLDIR
="/etc/pki/tls"
15546 alpine_SSLDIR
="/usr/share/ssl"
15548 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15549 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15550 alpine_SSLINCLUDE
="/usr/include/openssl"
15551 alpine_SSLLIB
="/usr/lib"
15552 elif test -f /etc
/mandrake-release
; then
15553 alpine_SSLDIR
="/usr/lib/ssl"
15554 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15555 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15556 alpine_SSLINCLUDE
="/usr/include/openssl"
15557 alpine_SSLLIB
="/usr/lib"
15558 elif test -f /etc
/SuSE-release
; then
15559 alpine_SSLTYPE
="nopwd"
15560 alpine_SSLDIR
="/etc/ssl"
15561 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15562 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15563 alpine_SSLINCLUDE
="/usr/include/openssl"
15564 alpine_SSLLIB
="/usr/lib"
15565 elif test -d /etc
/osso-af-init
; then
15566 alpine_SSLTYPE
="nopwd"
15567 alpine_SSLDIR
="/usr"
15568 alpine_SSLCERTS
="/usr/share/certs"
15569 alpine_SSLINCLUDE
="/usr/include/openssl"
15570 alpine_SSLLIB
="/usr/lib"
15571 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
15572 if test ! -d /etc
/osso-af-init
; then
15573 alpine_SSLDIR
="/etc/ssl"
15574 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15575 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15576 alpine_SSLINCLUDE
="/usr/include/openssl"
15577 alpine_SSLLIB
="/usr/lib"
15580 alpine_SSLTYPE
="nopwd"
15581 alpine_SSLDIR
="/usr"
15582 alpine_SSLCERTS
="/etc/ssl/certs"
15586 alpine_SSLTYPE
="nopwd"
15587 if test -d /opt
/local
/etc
/openssl
; then
15588 alpine_SSLDIR
="/opt/local/etc/openssl"
15589 alpine_SSLCERTS
="$alpine_SSLDIR"
15590 alpine_SSLKEYS
="$alpine_SSLDIR"
15591 alpine_SSLLIB
="/usr/lib"
15592 alpine_SSLINCLUDE
="/usr/include/openssl"
15593 elif test -d /System
/Library
/OpenSSL
; then
15594 alpine_SSLDIR
="/System/Library/OpenSSL"
15595 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15596 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15597 alpine_SSLLIB
="/usr/lib"
15598 alpine_SSLINCLUDE
="/usr/include/openssl"
15602 alpine_SSLDIR
="/etc/openssl"
15603 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15604 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15605 alpine_SSLINCLUDE
="/usr/include/openssl"
15606 alpine_SSLLIB
="/usr/lib"
15609 alpine_SSLDIR
="/etc/openssl"
15610 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15611 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15612 alpine_SSLINCLUDE
="/usr/include/openssl"
15613 alpine_SSLLIB
="/usr/lib"
15616 alpine_SSLTYPE
="nopwd"
15617 alpine_SSLDIR
="/usr"
15618 alpine_SSLCERTS
="/etc/ssl/certs"
15621 alpine_SSLDIR
="/etc/ssl"
15622 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15623 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15624 alpine_SSLINCLUDE
="/usr/include/openssl"
15625 alpine_SSLLIB
="/usr/lib"
15628 alpine_SSLDIR
="/etc/ssl"
15629 alpine_SSLINCLUDE
="/usr/include/openssl"
15630 alpine_SSLLIB
="/usr/lib"
15631 alpine_SSLCERTS
="/etc/ssl"
15632 alpine_SSLKEYS
="/etc/ssl/private"
15635 alpine_SSLDIR
="/usr/ssl"
15636 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15637 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
15638 alpine_SSLINCLUDE
="/usr/include/openssl"
15639 alpine_SSLLIB
="/usr/lib"
15641 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
15642 alpine_SSLTYPE
="sco.nopwd"
15643 alpine_SSLDIR
="/usr/local/ssl"
15646 if test -d /usr
/sfw
/include
/openssl
; then
15647 alpine_SSLDIR
="/usr/sfw"
15648 elif test -d /opt
/csw
/include
/openssl
; then
15649 alpine_SSLDIR
="/opt/csw"
15650 if test -d /opt
/csw
/ssl
/certs
; then
15651 alpine_SSLCERTS
="/opt/csw/ssl/certs"
15654 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
15655 alpine_SSLCERTS
="/etc/certs"
15659 alpine_SSLTYPE
="nopwd"
15660 alpine_SSLDIR
="/usr/local/ssl"
15665 # Check whether --with-ssl-dir was given.
15666 if test "${with_ssl_dir+set}" = set; then :
15667 withval
=$with_ssl_dir;
15668 if test "x$withval" != "xno" ; then
15669 alpine_SSLDIR
=$withval
15670 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
15671 alpine_SSLLIB
=$alpine_SSLDIR/lib
15678 # Check whether --with-ssl-certs-dir was given.
15679 if test "${with_ssl_certs_dir+set}" = set; then :
15680 withval
=$with_ssl_certs_dir;
15681 if test "x$withval" != "xno" ; then
15682 alpine_SSLCERTS
=$withval
15689 # Check whether --with-ssl-include-dir was given.
15690 if test "${with_ssl_include_dir+set}" = set; then :
15691 withval
=$with_ssl_include_dir;
15692 if test "x$withval" != "xno" ; then
15693 alpine_SSLINCLUDE
=$withval
15700 # Check whether --with-ssl-lib-dir was given.
15701 if test "${with_ssl_lib_dir+set}" = set; then :
15702 withval
=$with_ssl_lib_dir;
15703 if test "x$withval" != "xno" ; then
15704 alpine_SSLLIB
=$withval
15709 if test -n "$alpine_SSLINCLUDE" ; then
15710 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
15711 elif test -n "$alpine_SSLDIR" ; then
15712 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
15714 if test -n "$alpine_SSLLIB" ; then
15715 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
15716 elif test -n "$alpine_SSLDIR" ; then
15717 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
15722 # Check whether --with-krb5 was given.
15723 if test "${with_krb5+set}" = set; then :
15724 withval
=$with_krb5; with_krb5
=$withval
15728 if test "x$with_krb5" = "xno" ; then
15729 alpine_GSSTYPE
="none"
15734 # Check whether --with-krb5-dir was given.
15735 if test "${with_krb5_dir+set}" = set; then :
15736 withval
=$with_krb5_dir;
15737 if test "x$withval" != "xno" ; then
15738 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
15739 LDFLAGS
="$LDFLAGS -L${withval}/lib"
15746 # Check whether --with-krb5-include-dir was given.
15747 if test "${with_krb5_include_dir+set}" = set; then :
15748 withval
=$with_krb5_include_dir;
15749 if test "x$withval" != "xno" ; then
15750 CPPFLAGS
="$CPPFLAGS -I$withval"
15757 # Check whether --with-krb5-lib-dir was given.
15758 if test "${with_krb5_lib_dir+set}" = set; then :
15759 withval
=$with_krb5_lib_dir;
15760 if test "x$withval" != "xno" ; then
15761 LDFLAGS
="$LDFLAGS -L$withval"
15769 # Check whether --with-ldap was given.
15770 if test "${with_ldap+set}" = set; then :
15771 withval
=$with_ldap; with_ldap
=$withval
15775 if test "x$with_ldap" = "xno" ; then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
15778 $as_echo "$as_me: Excluding LDAP Support" >&6;}
15781 alpine_with_ldap
=yes
15783 # Check whether --with-ldap-dir was given.
15784 if test "${with_ldap_dir+set}" = set; then :
15785 withval
=$with_ldap_dir;
15786 if test "x$withval" != "xno" ; then
15787 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
15788 LDFLAGS
="$LDFLAGS -L${withval}/lib"
15795 # Check whether --with-ldap-include-dir was given.
15796 if test "${with_ldap_include_dir+set}" = set; then :
15797 withval
=$with_ldap_include_dir;
15798 if test "x$withval" != "xno" ; then
15799 CPPFLAGS
="$CPPFLAGS -I$withval"
15806 # Check whether --with-ldap-lib-dir was given.
15807 if test "${with_ldap_lib_dir+set}" = set; then :
15808 withval
=$with_ldap_lib_dir;
15809 if test "x$withval" != "xno" ; then
15810 LDFLAGS
="$LDFLAGS -L$withval"
15818 # Check whether --with-smime was given.
15819 if test "${with_smime+set}" = set; then :
15820 withval
=$with_smime; with_smime
=$withval
15825 # Check whether --with-tcl was given.
15826 if test "${with_tcl+set}" = set; then :
15827 withval
=$with_tcl; with_tcl
=$withval
15831 if test "x$with_tcl" = "xno" ; then
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
15834 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
15837 # Check whether --with-tcl-lib was given.
15838 if test "${with_tcl_lib+set}" = set; then :
15839 withval
=$with_tcl_lib;
15840 if test "x$withval" != "xno" ; then
15841 alpine_TCLLIB
=$withval
15847 # Check whether --with-tcl-include was given.
15848 if test "${with_tcl_include+set}" = set; then :
15849 withval
=$with_tcl_include;
15850 if test "x$withval" != "xno" ; then
15851 CPPFLAGS
="$CPPFLAGS -I$withval"
15852 alpine_TCLINC
=$withval
15860 # Check whether --with-supplied-regex was given.
15861 if test "${with_supplied_regex+set}" = set; then :
15862 withval
=$with_supplied_regex; alpine_REGEX
=$withval
15867 # Check whether --with-pthread was given.
15868 if test "${with_pthread+set}" = set; then :
15869 withval
=$with_pthread; with_pthread
=$withval
15874 # Check whether --with-system-mail-directory was given.
15875 if test "${with_system_mail_directory+set}" = set; then :
15876 withval
=$with_system_mail_directory;
15877 if test "x$withval" != "xno" ; then
15878 alpine_with_local_maildir
="$withval"
15885 # Check whether --with-c-client-target was given.
15886 if test "${with_c_client_target+set}" = set; then :
15887 withval
=$with_c_client_target;
15888 if test "x$withval" != "xno" ;then
15889 alpine_with_c_client_target
="$withval"
15899 *-linux-gnu*|
*-k*bsd
*-gnu*)
15900 alpine_path_delim
="/"
15901 alpine_mode_readonly
="(0600)"
15902 if test -f /etc
/fedora-release
; then
15905 if test -d /etc
/pki
/tls
; then
15906 alpine_c_client_target
="lfd"
15908 alpine_c_client_target
="lrh"
15910 elif test -f /etc
/mandrake-release
; then
15912 alpine_c_client_target
="lmd"
15914 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
15917 if test -d /etc
/pki
/tls
; then
15918 alpine_c_client_target
="lr5"
15920 alpine_c_client_target
="lrh"
15922 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
15923 if test -d /etc
/osso-af-init
; then
15925 alpine_c_client_target
="ln8"
15928 alpine_c_client_target
="ldb"
15931 elif test -f /etc
/SuSE-release
; then
15933 alpine_c_client_target
="lsu"
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
15938 $as_echo_n "checking for pam_start in -lpam... " >&6; }
15939 if ${ac_cv_lib_pam_pam_start+:} false
; then :
15940 $as_echo_n "(cached) " >&6
15942 ac_check_lib_save_LIBS
=$LIBS
15944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15947 /* Override any GCC internal prototype to avoid an error.
15948 Use char because int might match the return type of a GCC
15949 builtin and then its argument prototype would still apply. */
15957 return pam_start ();
15962 if ac_fn_c_try_link
"$LINENO"; then :
15963 ac_cv_lib_pam_pam_start
=yes
15965 ac_cv_lib_pam_pam_start
=no
15967 rm -f core conftest.err conftest.
$ac_objext \
15968 conftest
$ac_exeext conftest.
$ac_ext
15969 LIBS
=$ac_check_lib_save_LIBS
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
15972 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
15973 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
15975 alpine_c_client_target
="lnp"
15980 if test -f /etc
/shadow
; then
15981 alpine_c_client_target
="slx"
15983 alpine_c_client_target
="lnx"
15992 alpine_path_delim
="/"
15993 alpine_mode_readonly
="(0600)"
15994 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
15995 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
15997 $as_echo "#define OSX_TARGET 1" >>confdefs.h
15999 case "$alpine_os_credential_cache" in
16004 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16009 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16010 if ${ac_cv_lib_pam_pam_start+:} false
; then :
16011 $as_echo_n "(cached) " >&6
16013 ac_check_lib_save_LIBS
=$LIBS
16015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16028 return pam_start ();
16033 if ac_fn_c_try_link
"$LINENO"; then :
16034 ac_cv_lib_pam_pam_start
=yes
16036 ac_cv_lib_pam_pam_start
=no
16038 rm -f core conftest.err conftest.
$ac_objext \
16039 conftest
$ac_exeext conftest.
$ac_ext
16040 LIBS
=$ac_check_lib_save_LIBS
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16043 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16044 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
16046 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
16047 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
16050 alpine_c_client_target
="oxs"
16053 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
16054 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
16057 alpine_c_client_target
="oxp"
16062 alpine_pam_none_reason
="header files not found"
16074 alpine_c_client_target
="osx"
16080 if test x
$GCC = "xyes" ; then
16082 alpine_c_client_target
="gso"
16085 alpine_c_client_target
="soc"
16087 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
16090 alpine_path_delim
="/"
16091 alpine_mode_readonly
="(0600)"
16095 alpine_path_delim
="/"
16096 alpine_mode_readonly
="(0600)"
16097 alpine_c_client_target
="s40"
16100 if test x
$GCC = "xyes" ; then
16102 alpine_c_client_target
="go5"
16105 alpine_c_client_target
="sc5"
16107 alpine_path_delim
="/"
16108 alpine_mode_readonly
="(0600)"
16112 alpine_path_delim
="/"
16113 alpine_mode_readonly
="(0600)"
16114 alpine_c_client_target
="nx3"
16118 alpine_path_delim
="/"
16119 alpine_mode_readonly
="(0600)"
16120 alpine_c_client_target
="neb"
16124 alpine_path_delim
="/"
16125 alpine_mode_readonly
="(0600)"
16126 alpine_c_client_target
="neb"
16130 alpine_path_delim
="/"
16131 alpine_mode_readonly
="(0600)"
16132 alpine_c_client_target
="bsi"
16136 alpine_path_delim
="/"
16137 alpine_mode_readonly
="(0600)"
16138 alpine_c_client_target
="bsf"
16139 LIBS
="$LIBS $LIBINTL"
16143 alpine_path_delim
="/"
16144 alpine_mode_readonly
="(0600)"
16145 alpine_c_client_target
="bso"
16146 LIBS
="$LIBS $LIBINTL"
16150 alpine_path_delim
="/"
16151 alpine_mode_readonly
="(0600)"
16152 alpine_c_client_target
="a52"
16156 alpine_path_delim
="/"
16157 alpine_mode_readonly
="(0600)"
16158 alpine_c_client_target
="a41"
16162 alpine_path_delim
="/"
16163 alpine_mode_readonly
="(0600)"
16164 alpine_c_client_target
="a32"
16166 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
16168 alpine_path_delim
="/"
16169 alpine_mode_readonly
="(0600)"
16170 alpine_c_client_target
="uw2"
16174 alpine_path_delim
="/"
16175 alpine_mode_readonly
="(0600)"
16176 alpine_c_client_target
="osf"
16180 alpine_path_delim
="/"
16181 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
16182 alpine_c_client_target
="cyg"
16183 LIBS
="$LIBS $LIBINTL"
16185 windows
* |
*-*-pw32*)
16187 alpine_path_delim
="\\"
16188 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
16189 alpine_c_client_target
="wnt"
16191 $as_echo "#define _WINDOWS 1" >>confdefs.h
16195 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
16200 # Check whether --with-ipv6 was given.
16201 if test "${with_ipv6+set}" = set; then :
16202 withval
=$with_ipv6; with_ipv6
=$withval
16206 if test "x$with_ipv6" = "xno" ; then
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
16208 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
16209 c_client_specials
="${c_client_specials}IP6=4 "
16210 c_client_ip6
="true"
16212 c_client_ip6
="touch imap/ip6"
16217 if test x
$enable_dmalloc = "xyes" ; then
16218 if test "x$with_pthread" = "xyes" ; then
16219 dmalloc_lib
=dmallocth
16221 dmalloc_lib
=dmalloc
16224 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
16226 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
16227 if eval \
${$as_ac_Lib+:} false
; then :
16228 $as_echo_n "(cached) " >&6
16230 ac_check_lib_save_LIBS
=$LIBS
16231 LIBS
="-l$dmalloc_lib $LIBS"
16232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16233 /* end confdefs.h. */
16235 /* Override any GCC internal prototype to avoid an error.
16236 Use char because int might match the return type of a GCC
16237 builtin and then its argument prototype would still apply. */
16241 char dmalloc_shutdown ();
16245 return dmalloc_shutdown ();
16250 if ac_fn_c_try_link
"$LINENO"; then :
16251 eval "$as_ac_Lib=yes"
16253 eval "$as_ac_Lib=no"
16255 rm -f core conftest.err conftest.
$ac_objext \
16256 conftest
$ac_exeext conftest.
$ac_ext
16257 LIBS
=$ac_check_lib_save_LIBS
16259 eval ac_res
=\$
$as_ac_Lib
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16261 $as_echo "$ac_res" >&6; }
16262 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
16263 cat >>confdefs.h
<<_ACEOF
16264 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
16267 LIBS
="-l$dmalloc_lib $LIBS"
16271 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
16278 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
16279 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
16280 $as_echo_n "(cached) " >&6
16282 ac_check_lib_save_LIBS
=$LIBS
16283 LIBS
="-ltinfo $LIBS"
16284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h. */
16287 /* Override any GCC internal prototype to avoid an error.
16288 Use char because int might match the return type of a GCC
16289 builtin and then its argument prototype would still apply. */
16297 return setupterm ();
16302 if ac_fn_c_try_link
"$LINENO"; then :
16303 ac_cv_lib_tinfo_setupterm
=yes
16305 ac_cv_lib_tinfo_setupterm
=no
16307 rm -f core conftest.err conftest.
$ac_objext \
16308 conftest
$ac_exeext conftest.
$ac_ext
16309 LIBS
=$ac_check_lib_save_LIBS
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
16312 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
16313 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
16315 alpine_termdata
=info
16316 LIBS
="$LIBS -ltinfo"
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
16321 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
16322 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
16323 $as_echo_n "(cached) " >&6
16325 ac_check_lib_save_LIBS
=$LIBS
16326 LIBS
="-lncurses $LIBS"
16327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16340 return setupterm ();
16345 if ac_fn_c_try_link
"$LINENO"; then :
16346 ac_cv_lib_ncurses_setupterm
=yes
16348 ac_cv_lib_ncurses_setupterm
=no
16350 rm -f core conftest.err conftest.
$ac_objext \
16351 conftest
$ac_exeext conftest.
$ac_ext
16352 LIBS
=$ac_check_lib_save_LIBS
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
16355 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
16356 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
16358 alpine_termdata
=info
16359 LIBS
="$LIBS -lncurses"
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
16364 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
16365 if ${ac_cv_lib_curses_setupterm+:} false
; then :
16366 $as_echo_n "(cached) " >&6
16368 ac_check_lib_save_LIBS
=$LIBS
16369 LIBS
="-lcurses $LIBS"
16370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16373 /* Override any GCC internal prototype to avoid an error.
16374 Use char because int might match the return type of a GCC
16375 builtin and then its argument prototype would still apply. */
16383 return setupterm ();
16388 if ac_fn_c_try_link
"$LINENO"; then :
16389 ac_cv_lib_curses_setupterm
=yes
16391 ac_cv_lib_curses_setupterm
=no
16393 rm -f core conftest.err conftest.
$ac_objext \
16394 conftest
$ac_exeext conftest.
$ac_ext
16395 LIBS
=$ac_check_lib_save_LIBS
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
16398 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
16399 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
16401 alpine_termdata
=info
16402 LIBS
="$LIBS -lcurses"
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
16407 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
16408 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
16409 $as_echo_n "(cached) " >&6
16411 ac_check_lib_save_LIBS
=$LIBS
16412 LIBS
="-ltermlib $LIBS"
16413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16414 /* end confdefs.h. */
16416 /* Override any GCC internal prototype to avoid an error.
16417 Use char because int might match the return type of a GCC
16418 builtin and then its argument prototype would still apply. */
16431 if ac_fn_c_try_link
"$LINENO"; then :
16432 ac_cv_lib_termlib_tgetent
=yes
16434 ac_cv_lib_termlib_tgetent
=no
16436 rm -f core conftest.err conftest.
$ac_objext \
16437 conftest
$ac_exeext conftest.
$ac_ext
16438 LIBS
=$ac_check_lib_save_LIBS
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
16441 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
16442 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
16444 alpine_termdata
=cap
16445 LIBS
="$LIBS -ltermlib"
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
16450 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
16451 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
16452 $as_echo_n "(cached) " >&6
16454 ac_check_lib_save_LIBS
=$LIBS
16455 LIBS
="-ltermcap $LIBS"
16456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16459 /* Override any GCC internal prototype to avoid an error.
16460 Use char because int might match the return type of a GCC
16461 builtin and then its argument prototype would still apply. */
16474 if ac_fn_c_try_link
"$LINENO"; then :
16475 ac_cv_lib_termcap_tgetent
=yes
16477 ac_cv_lib_termcap_tgetent
=no
16479 rm -f core conftest.err conftest.
$ac_objext \
16480 conftest
$ac_exeext conftest.
$ac_ext
16481 LIBS
=$ac_check_lib_save_LIBS
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
16484 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
16485 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
16487 alpine_termdata
=cap
16488 LIBS
="$LIBS -ltermcap"
16492 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
16508 case $alpine_termdata in
16511 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
16516 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16522 $as_echo_n "checking for library containing dlopen... " >&6; }
16523 if ${ac_cv_search_dlopen+:} false
; then :
16524 $as_echo_n "(cached) " >&6
16526 ac_func_search_save_LIBS
=$LIBS
16527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16530 /* Override any GCC internal prototype to avoid an error.
16531 Use char because int might match the return type of a GCC
16532 builtin and then its argument prototype would still apply. */
16545 for ac_lib
in '' dl dld
; do
16546 if test -z "$ac_lib"; then
16547 ac_res
="none required"
16550 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16552 if ac_fn_c_try_link
"$LINENO"; then :
16553 ac_cv_search_dlopen
=$ac_res
16555 rm -f core conftest.err conftest.
$ac_objext \
16557 if ${ac_cv_search_dlopen+:} false
; then :
16561 if ${ac_cv_search_dlopen+:} false
; then :
16564 ac_cv_search_dlopen
=no
16566 rm conftest.
$ac_ext
16567 LIBS
=$ac_func_search_save_LIBS
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16570 $as_echo "$ac_cv_search_dlopen" >&6; }
16571 ac_res
=$ac_cv_search_dlopen
16572 if test "$ac_res" != no
; then :
16573 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16579 if test "x$alpine_DL" = "xnone" ; then
16580 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
16584 if test "x$alpine_SSLTYPE" != "xnone" ; then
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
16586 $as_echo_n "checking for library containing SSLeay... " >&6; }
16587 if ${ac_cv_search_SSLeay+:} false
; then :
16588 $as_echo_n "(cached) " >&6
16590 ac_func_search_save_LIBS
=$LIBS
16591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16594 /* Override any GCC internal prototype to avoid an error.
16595 Use char because int might match the return type of a GCC
16596 builtin and then its argument prototype would still apply. */
16609 for ac_lib
in '' crypto
; do
16610 if test -z "$ac_lib"; then
16611 ac_res
="none required"
16614 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16616 if ac_fn_c_try_link
"$LINENO"; then :
16617 ac_cv_search_SSLeay
=$ac_res
16619 rm -f core conftest.err conftest.
$ac_objext \
16621 if ${ac_cv_search_SSLeay+:} false
; then :
16625 if ${ac_cv_search_SSLeay+:} false
; then :
16628 ac_cv_search_SSLeay
=no
16630 rm conftest.
$ac_ext
16631 LIBS
=$ac_func_search_save_LIBS
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
16634 $as_echo "$ac_cv_search_SSLeay" >&6; }
16635 ac_res
=$ac_cv_search_SSLeay
16636 if test "$ac_res" != no
; then :
16637 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16640 alpine_CRYPTO
="none"
16643 if test "x$alpine_CRYPTO" = "xnone" ; then
16644 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
16649 if test "x$alpine_SSLTYPE" != "xnone" ; then
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
16651 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
16652 if ${ac_cv_search_SSL_library_init+:} false
; then :
16653 $as_echo_n "(cached) " >&6
16655 ac_func_search_save_LIBS
=$LIBS
16656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16659 /* Override any GCC internal prototype to avoid an error.
16660 Use char because int might match the return type of a GCC
16661 builtin and then its argument prototype would still apply. */
16665 char SSL_library_init ();
16669 return SSL_library_init ();
16674 for ac_lib
in '' ssl
; do
16675 if test -z "$ac_lib"; then
16676 ac_res
="none required"
16679 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16681 if ac_fn_c_try_link
"$LINENO"; then :
16682 ac_cv_search_SSL_library_init
=$ac_res
16684 rm -f core conftest.err conftest.
$ac_objext \
16686 if ${ac_cv_search_SSL_library_init+:} false
; then :
16690 if ${ac_cv_search_SSL_library_init+:} false
; then :
16693 ac_cv_search_SSL_library_init
=no
16695 rm conftest.
$ac_ext
16696 LIBS
=$ac_func_search_save_LIBS
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
16699 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
16700 ac_res
=$ac_cv_search_SSL_library_init
16701 if test "$ac_res" != no
; then :
16702 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16705 alpine_SSLTYPE
="none"
16709 if test "x$alpine_SSLTYPE" = "xnone" ; then
16710 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
16715 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
16716 if test "$cross_compiling" = yes; then :
16717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16719 as_fn_error $?
"cannot run test program while cross compiling
16720 See \`config.log' for more details" "$LINENO" 5; }
16722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16726 #include <stdlib.h>
16727 #include <openssl/ssl.h>
16730 if (OPENSSL_VERSION_NUMBER >= 0x1000003f)
16737 if ac_fn_c_try_run
"$LINENO"; then :
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16739 $as_echo "yes" >&6; }
16741 alpine_SSLTYPE
="none"
16743 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16744 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16748 if test "x$alpine_SSLTYPE" = "xnone" ; then
16749 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
16753 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
16754 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
16755 $as_echo_n "(cached) " >&6
16757 ac_func_search_save_LIBS
=$LIBS
16758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16759 /* end confdefs.h. */
16761 /* Override any GCC internal prototype to avoid an error.
16762 Use char because int might match the return type of a GCC
16763 builtin and then its argument prototype would still apply. */
16767 char TLSv1_2_client_method ();
16771 return TLSv1_2_client_method ();
16776 for ac_lib
in '' ssl
; do
16777 if test -z "$ac_lib"; then
16778 ac_res
="none required"
16781 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16783 if ac_fn_c_try_link
"$LINENO"; then :
16784 ac_cv_search_TLSv1_2_client_method
=$ac_res
16786 rm -f core conftest.err conftest.
$ac_objext \
16788 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
16792 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
16795 ac_cv_search_TLSv1_2_client_method
=no
16797 rm conftest.
$ac_ext
16798 LIBS
=$ac_func_search_save_LIBS
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
16801 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
16802 ac_res
=$ac_cv_search_TLSv1_2_client_method
16803 if test "$ac_res" != no
; then :
16804 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16805 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
16807 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
16814 if test "$alpine_with_ldap" = "yes" ; then
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
16817 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
16818 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
16819 $as_echo_n "(cached) " >&6
16821 ac_check_lib_save_LIBS
=$LIBS
16822 LIBS
="-llber $LIBS"
16823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 /* Override any GCC internal prototype to avoid an error.
16827 Use char because int might match the return type of a GCC
16828 builtin and then its argument prototype would still apply. */
16836 return ber_alloc ();
16841 if ac_fn_c_try_link
"$LINENO"; then :
16842 ac_cv_lib_lber_ber_alloc
=yes
16844 ac_cv_lib_lber_ber_alloc
=no
16846 rm -f core conftest.err conftest.
$ac_objext \
16847 conftest
$ac_exeext conftest.
$ac_ext
16848 LIBS
=$ac_check_lib_save_LIBS
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
16851 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
16852 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
16854 LIBS
="$LIBS -llber"
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_init" >&5
16859 $as_echo_n "checking for library containing ldap_init... " >&6; }
16860 if ${ac_cv_search_ldap_init+:} false
; then :
16861 $as_echo_n "(cached) " >&6
16863 ac_func_search_save_LIBS
=$LIBS
16864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16867 /* Override any GCC internal prototype to avoid an error.
16868 Use char because int might match the return type of a GCC
16869 builtin and then its argument prototype would still apply. */
16877 return ldap_init ();
16882 for ac_lib
in '' ldap
; do
16883 if test -z "$ac_lib"; then
16884 ac_res
="none required"
16887 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16889 if ac_fn_c_try_link
"$LINENO"; then :
16890 ac_cv_search_ldap_init
=$ac_res
16892 rm -f core conftest.err conftest.
$ac_objext \
16894 if ${ac_cv_search_ldap_init+:} false
; then :
16898 if ${ac_cv_search_ldap_init+:} false
; then :
16901 ac_cv_search_ldap_init
=no
16903 rm conftest.
$ac_ext
16904 LIBS
=$ac_func_search_save_LIBS
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
16907 $as_echo "$ac_cv_search_ldap_init" >&6; }
16908 ac_res
=$ac_cv_search_ldap_init
16909 if test "$ac_res" != no
; then :
16910 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16912 alpine_has_ldap
=yes
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
16917 $as_echo_n "checking for library containing ldap_open... " >&6; }
16918 if ${ac_cv_search_ldap_open+:} false
; then :
16919 $as_echo_n "(cached) " >&6
16921 ac_func_search_save_LIBS
=$LIBS
16922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16925 /* Override any GCC internal prototype to avoid an error.
16926 Use char because int might match the return type of a GCC
16927 builtin and then its argument prototype would still apply. */
16935 return ldap_open ();
16940 for ac_lib
in '' ldap
; do
16941 if test -z "$ac_lib"; then
16942 ac_res
="none required"
16945 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16947 if ac_fn_c_try_link
"$LINENO"; then :
16948 ac_cv_search_ldap_open
=$ac_res
16950 rm -f core conftest.err conftest.
$ac_objext \
16952 if ${ac_cv_search_ldap_open+:} false
; then :
16956 if ${ac_cv_search_ldap_open+:} false
; then :
16959 ac_cv_search_ldap_open
=no
16961 rm conftest.
$ac_ext
16962 LIBS
=$ac_func_search_save_LIBS
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
16965 $as_echo "$ac_cv_search_ldap_open" >&6; }
16966 ac_res
=$ac_cv_search_ldap_open
16967 if test "$ac_res" != no
; then :
16968 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16970 alpine_has_ldap
=yes
16978 if test "$alpine_has_ldap" = "yes" ; then
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: Including LDAP Support" >&5
16980 $as_echo "$as_me: Including LDAP Support" >&6;}
16982 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should define LDAP_DEPRECATED" >&5
16986 $as_echo_n "checking if we should define LDAP_DEPRECATED... " >&6; }
16987 if test "$cross_compiling" = yes; then :
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
16990 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16998 #include <stdlib.h>
17002 if (LDAP_VENDOR_VERSION >= 20300)
17009 if ac_fn_c_try_run
"$LINENO"; then :
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17012 $as_echo "yes" >&6; }
17014 $as_echo "#define LDAP_DEPRECATED 1" >>confdefs.h
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17021 $as_echo "no" >&6; }
17024 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17025 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: Cannot find LDAP functions! Excluding LDAP support." >&5
17031 $as_echo "$as_me: Cannot find LDAP functions! Excluding LDAP support." >&6;}
17035 if test "x$alpine_PAM" != "xnone" ; then
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
17037 $as_echo_n "checking for library containing pam_start... " >&6; }
17038 if ${ac_cv_search_pam_start+:} false
; then :
17039 $as_echo_n "(cached) " >&6
17041 ac_func_search_save_LIBS
=$LIBS
17042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17045 /* Override any GCC internal prototype to avoid an error.
17046 Use char because int might match the return type of a GCC
17047 builtin and then its argument prototype would still apply. */
17055 return pam_start ();
17060 for ac_lib
in '' pam
; do
17061 if test -z "$ac_lib"; then
17062 ac_res
="none required"
17065 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17067 if ac_fn_c_try_link
"$LINENO"; then :
17068 ac_cv_search_pam_start
=$ac_res
17070 rm -f core conftest.err conftest.
$ac_objext \
17072 if ${ac_cv_search_pam_start+:} false
; then :
17076 if ${ac_cv_search_pam_start+:} false
; then :
17079 ac_cv_search_pam_start
=no
17081 rm conftest.
$ac_ext
17082 LIBS
=$ac_func_search_save_LIBS
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
17085 $as_echo "$ac_cv_search_pam_start" >&6; }
17086 ac_res
=$ac_cv_search_pam_start
17087 if test "$ac_res" != no
; then :
17088 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17091 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17092 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
17097 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17098 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
17101 if test "x$alpine_c_client_target" != "xoxp" ; then
17103 alpine_pam_none_reason
="header files not in security/ directory"
17109 alpine_pam_none_reason
="header files not found"
17122 alpine_pam_none_reason
="library files not found"
17126 if test -n "$alpine_pam_none_reason" ; then
17127 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
17132 if test "x$alpine_GSSTYPE" != "xnone" ; then
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
17134 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
17135 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
17136 $as_echo_n "(cached) " >&6
17138 ac_func_search_save_LIBS
=$LIBS
17139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17142 /* Override any GCC internal prototype to avoid an error.
17143 Use char because int might match the return type of a GCC
17144 builtin and then its argument prototype would still apply. */
17148 char gss_init_sec_context ();
17152 return gss_init_sec_context ();
17157 for ac_lib
in '' gss gssapi gssapi_krb5
; do
17158 if test -z "$ac_lib"; then
17159 ac_res
="none required"
17162 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17164 if ac_fn_c_try_link
"$LINENO"; then :
17165 ac_cv_search_gss_init_sec_context
=$ac_res
17167 rm -f core conftest.err conftest.
$ac_objext \
17169 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
17173 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
17176 ac_cv_search_gss_init_sec_context
=no
17178 rm conftest.
$ac_ext
17179 LIBS
=$ac_func_search_save_LIBS
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
17182 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
17183 ac_res
=$ac_cv_search_gss_init_sec_context
17184 if test "$ac_res" != no
; then :
17185 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17187 LIBS
="$LIBS -lkrb5"
17188 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
17189 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
17193 if test ! -d /usr
/kerberos
/include
; then
17194 alpine_GSSTYPE
="none"
17195 alpine_gss_none_reason
="header files not found"
17204 alpine_GSSTYPE
="none"
17205 alpine_gss_none_reason
="libraries not found"
17209 if test -n "$alpine_gss_none_reason" ; then
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
17211 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
17215 if test -n "$WEB_BUILD" ; then
17216 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
17217 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
17218 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
17220 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
17221 if ${ac_cv_search_Tcl_Eval+:} false
; then :
17222 $as_echo_n "(cached) " >&6
17224 ac_func_search_save_LIBS
=$LIBS
17225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17226 /* end confdefs.h. */
17228 /* Override any GCC internal prototype to avoid an error.
17229 Use char because int might match the return type of a GCC
17230 builtin and then its argument prototype would still apply. */
17238 return Tcl_Eval ();
17243 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
17244 if test -z "$ac_lib"; then
17245 ac_res
="none required"
17248 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17250 if ac_fn_c_try_link
"$LINENO"; then :
17251 ac_cv_search_Tcl_Eval
=$ac_res
17253 rm -f core conftest.err conftest.
$ac_objext \
17255 if ${ac_cv_search_Tcl_Eval+:} false
; then :
17259 if ${ac_cv_search_Tcl_Eval+:} false
; then :
17262 ac_cv_search_Tcl_Eval
=no
17264 rm conftest.
$ac_ext
17265 LIBS
=$ac_func_search_save_LIBS
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
17268 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
17269 ac_res
=$ac_cv_search_Tcl_Eval
17270 if test "$ac_res" != no
; then :
17271 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17280 if test -n "$alpine_TCLINC" ; then
17281 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
17282 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
17283 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17292 if test -z "$WEB_BUILD" ; then
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
17294 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
17297 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
17298 if test "x$ac_cv_header_tcl_h" = xyes
; then :
17302 for base
in /usr
/usr
/local ; do
17303 for dir
in ${TCL_VERSIONS} ; do
17304 as_ac_File
=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
17306 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
17307 if eval \
${$as_ac_File+:} false
; then :
17308 $as_echo_n "(cached) " >&6
17310 test "$cross_compiling" = yes &&
17311 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
17312 if test -r "$base/include/$dir/tcl.h"; then
17313 eval "$as_ac_File=yes"
17315 eval "$as_ac_File=no"
17318 eval ac_res
=\$
$as_ac_File
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17320 $as_echo "$ac_res" >&6; }
17321 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
17327 if test "$found" = "yes" ; then
17328 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
17332 if test "$found" = "yes" ; then
17336 if test "$found" != "yes" ; then
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
17339 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
17348 if test "x$alpine_REGEX" != "xyes" ; then
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
17350 $as_echo_n "checking for library containing regcomp... " >&6; }
17351 if ${ac_cv_search_regcomp+:} false
; then :
17352 $as_echo_n "(cached) " >&6
17354 ac_func_search_save_LIBS
=$LIBS
17355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17358 /* Override any GCC internal prototype to avoid an error.
17359 Use char because int might match the return type of a GCC
17360 builtin and then its argument prototype would still apply. */
17373 for ac_lib
in '' posix regexp regex re
; do
17374 if test -z "$ac_lib"; then
17375 ac_res
="none required"
17378 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17380 if ac_fn_c_try_link
"$LINENO"; then :
17381 ac_cv_search_regcomp
=$ac_res
17383 rm -f core conftest.err conftest.
$ac_objext \
17385 if ${ac_cv_search_regcomp+:} false
; then :
17389 if ${ac_cv_search_regcomp+:} false
; then :
17392 ac_cv_search_regcomp
=no
17394 rm conftest.
$ac_ext
17395 LIBS
=$ac_func_search_save_LIBS
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
17398 $as_echo "$ac_cv_search_regcomp" >&6; }
17399 ac_res
=$ac_cv_search_regcomp
17400 if test "$ac_res" != no
; then :
17401 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17405 if test x
$alpine_REGEX = "xno" ; then
17406 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
17414 if test "x$alpine_REGEX" != "xyes" ; then
17415 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
17416 if test "x$ac_cv_header_regex_h" = xyes
; then :
17420 if test x
$alpine_REGEX = "xno" ; then
17421 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
17431 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
17433 if test "x$alpine_REGEX" = "xyes" ; then
17434 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
17435 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex -lregex"
17437 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
17440 if test "x$with_pthread" != "xno" ; then
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
17442 $as_echo_n "checking for pthread support... " >&6; }
17447 ac_cpp
='$CPP $CPPFLAGS'
17448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17454 # We used to check for pthread.h first, but this fails if pthread.h
17455 # requires special compiler flags (e.g. on True64 or Sequent).
17456 # It gets checked for in the link test anyway.
17458 # First of all, check if the user has set any of the PTHREAD_LIBS,
17459 # etcetera environment variables, and if threads linking works using
17461 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
17462 save_CFLAGS
="$CFLAGS"
17463 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17465 LIBS
="$PTHREAD_LIBS $LIBS"
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17467 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17471 /* Override any GCC internal prototype to avoid an error.
17472 Use char because int might match the return type of a GCC
17473 builtin and then its argument prototype would still apply. */
17477 char pthread_join ();
17481 return pthread_join ();
17486 if ac_fn_c_try_link
"$LINENO"; then :
17489 rm -f core conftest.err conftest.
$ac_objext \
17490 conftest
$ac_exeext conftest.
$ac_ext
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17492 $as_echo "$acx_pthread_ok" >&6; }
17493 if test x
"$acx_pthread_ok" = xno
; then
17498 CFLAGS
="$save_CFLAGS"
17501 # We must check for the threads library under a number of different
17502 # names; the ordering is very important because some systems
17503 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17504 # libraries is broken (non-POSIX).
17506 # Create a list of thread flags to try. Items starting with a "-" are
17507 # C compiler flags, and other items are library names, except for "none"
17508 # which indicates that we try without any flags at all, and "pthread-config"
17509 # which is a program returning the flags for the Pth emulation library.
17511 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17513 # The ordering *is* (sometimes) important. Some notes on the
17514 # individual items follow:
17516 # pthreads: AIX (must check this before -lpthread)
17517 # none: in case threads are in libc; should be tried before -Kthread and
17518 # other compiler flags to prevent continual compiler warnings
17519 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17520 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17521 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17522 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17523 # -pthreads: Solaris/gcc
17524 # -mthreads: Mingw32/gcc, Lynx/gcc
17525 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17526 # doesn't hurt to check since this sometimes defines pthreads too;
17527 # also defines -D_REENTRANT)
17528 # ... -mt is also the pthreads flag for HP/aCC
17529 # pthread: Linux, etcetera
17530 # --thread-safe: KAI C++
17531 # pthread-config: use pthread-config program (for GNU Pth library)
17533 case "${host_cpu}-${host_os}" in
17536 # On Solaris (at least, for some versions), libc contains stubbed
17537 # (non-functional) versions of the pthreads routines, so link-based
17538 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17539 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17540 # a function called by this macro, so we could check for that, but
17541 # who knows whether they'll stub that too in a future libc.) So,
17542 # we'll just look for -pthreads and -lpthread first:
17544 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
17548 if test x
"$acx_pthread_ok" = xno
; then
17549 for flag
in $acx_pthread_flags; do
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17554 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17559 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17560 PTHREAD_CFLAGS
="$flag"
17564 # Extract the first word of "pthread-config", so it can be a program name with args.
17565 set dummy pthread-config
; ac_word
=$2
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17567 $as_echo_n "checking for $ac_word... " >&6; }
17568 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
17569 $as_echo_n "(cached) " >&6
17571 if test -n "$acx_pthread_config"; then
17572 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
17574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17575 for as_dir
in $PATH
17578 test -z "$as_dir" && as_dir
=.
17579 for ac_exec_ext
in '' $ac_executable_extensions; do
17580 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17581 ac_cv_prog_acx_pthread_config
="yes"
17582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17589 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
17592 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
17593 if test -n "$acx_pthread_config"; then
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17595 $as_echo "$acx_pthread_config" >&6; }
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17598 $as_echo "no" >&6; }
17602 if test x
"$acx_pthread_config" = xno
; then continue; fi
17603 PTHREAD_CFLAGS
="`pthread-config --cflags`"
17604 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17609 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17610 PTHREAD_LIBS
="-l$flag"
17615 save_CFLAGS
="$CFLAGS"
17616 LIBS
="$PTHREAD_LIBS $LIBS"
17617 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17619 # Check for various functions. We must include pthread.h,
17620 # since some functions may be macros. (On the Sequent, we
17621 # need a special flag -Kthread to make this header compile.)
17622 # We check for pthread_join because it is in -lpthread on IRIX
17623 # while pthread_create is in libc. We check for pthread_attr_init
17624 # due to DEC craziness with -lpthreads. We check for
17625 # pthread_cleanup_push because it is one of the few pthread
17626 # functions on Solaris that doesn't have a non-functional libc stub.
17627 # We try pthread_create on general principles.
17628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <pthread.h>
17634 pthread_t th; pthread_join(th, 0);
17635 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17636 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17641 if ac_fn_c_try_link
"$LINENO"; then :
17644 rm -f core conftest.err conftest.
$ac_objext \
17645 conftest
$ac_exeext conftest.
$ac_ext
17648 CFLAGS
="$save_CFLAGS"
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17651 $as_echo "$acx_pthread_ok" >&6; }
17652 if test "x$acx_pthread_ok" = xyes
; then
17661 # Various other checks:
17662 if test "x$acx_pthread_ok" = xyes
; then
17664 LIBS
="$PTHREAD_LIBS $LIBS"
17665 save_CFLAGS
="$CFLAGS"
17666 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17668 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17670 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17672 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
17673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 #include <pthread.h>
17679 int attr=$attr; return attr;
17684 if ac_fn_c_try_link
"$LINENO"; then :
17685 attr_name
=$attr; break
17687 rm -f core conftest.err conftest.
$ac_objext \
17688 conftest
$ac_exeext conftest.
$ac_ext
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17691 $as_echo "$attr_name" >&6; }
17692 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
17694 cat >>confdefs.h
<<_ACEOF
17695 #define PTHREAD_CREATE_JOINABLE $attr_name
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17701 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17703 case "${host_cpu}-${host_os}" in
17704 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
17705 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17708 $as_echo "${flag}" >&6; }
17709 if test "x$flag" != xno
; then
17710 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
17714 CFLAGS
="$save_CFLAGS"
17716 # More AIX lossage: must compile with xlc_r or cc_r
17717 if test x
"$GCC" != xyes
; then
17718 for ac_prog
in xlc_r cc_r
17720 # Extract the first word of "$ac_prog", so it can be a program name with args.
17721 set dummy
$ac_prog; ac_word
=$2
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17723 $as_echo_n "checking for $ac_word... " >&6; }
17724 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
17725 $as_echo_n "(cached) " >&6
17727 if test -n "$PTHREAD_CC"; then
17728 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
17730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17731 for as_dir
in $PATH
17734 test -z "$as_dir" && as_dir
=.
17735 for ac_exec_ext
in '' $ac_executable_extensions; do
17736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17737 ac_cv_prog_PTHREAD_CC
="$ac_prog"
17738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17747 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
17748 if test -n "$PTHREAD_CC"; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17750 $as_echo "$PTHREAD_CC" >&6; }
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17753 $as_echo "no" >&6; }
17757 test -n "$PTHREAD_CC" && break
17759 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
17772 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17773 if test x
"$acx_pthread_ok" = xyes
; then
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17776 $as_echo "yes" >&6; }
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
17780 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
17781 AM_CFLAGS
="$AM_CFLAGS -pthread"
17784 LIBS
="$PTHREAD_LIBS $LIBS"
17785 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
17788 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17796 $as_echo "no" >&6; }
17800 ac_cpp
='$CPP $CPPFLAGS'
17801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
17808 $as_echo_n "checking for library containing nanosleep... " >&6; }
17809 if ${ac_cv_search_nanosleep+:} false
; then :
17810 $as_echo_n "(cached) " >&6
17812 ac_func_search_save_LIBS
=$LIBS
17813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h. */
17816 /* Override any GCC internal prototype to avoid an error.
17817 Use char because int might match the return type of a GCC
17818 builtin and then its argument prototype would still apply. */
17826 return nanosleep ();
17831 for ac_lib
in '' rt posix4
; do
17832 if test -z "$ac_lib"; then
17833 ac_res
="none required"
17836 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17838 if ac_fn_c_try_link
"$LINENO"; then :
17839 ac_cv_search_nanosleep
=$ac_res
17841 rm -f core conftest.err conftest.
$ac_objext \
17843 if ${ac_cv_search_nanosleep+:} false
; then :
17847 if ${ac_cv_search_nanosleep+:} false
; then :
17850 ac_cv_search_nanosleep
=no
17852 rm conftest.
$ac_ext
17853 LIBS
=$ac_func_search_save_LIBS
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
17856 $as_echo "$ac_cv_search_nanosleep" >&6; }
17857 ac_res
=$ac_cv_search_nanosleep
17858 if test "$ac_res" != no
; then :
17859 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17862 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17873 $as_echo_n "checking for ANSI C header files... " >&6; }
17874 if ${ac_cv_header_stdc+:} false
; then :
17875 $as_echo_n "(cached) " >&6
17877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17879 #include <stdlib.h>
17880 #include <stdarg.h>
17881 #include <string.h>
17892 if ac_fn_c_try_compile
"$LINENO"; then :
17893 ac_cv_header_stdc
=yes
17895 ac_cv_header_stdc
=no
17897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17899 if test $ac_cv_header_stdc = yes; then
17900 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17902 /* end confdefs.h. */
17903 #include <string.h>
17906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17907 $EGREP "memchr" >/dev
/null
2>&1; then :
17910 ac_cv_header_stdc
=no
17916 if test $ac_cv_header_stdc = yes; then
17917 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17920 #include <stdlib.h>
17923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17924 $EGREP "free" >/dev
/null
2>&1; then :
17927 ac_cv_header_stdc
=no
17933 if test $ac_cv_header_stdc = yes; then
17934 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17935 if test "$cross_compiling" = yes; then :
17938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17941 #include <stdlib.h>
17942 #if ((' ' & 0x0FF) == 0x020)
17943 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17944 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17946 # define ISLOWER(c) \
17947 (('a' <= (c) && (c) <= 'i') \
17948 || ('j' <= (c) && (c) <= 'r') \
17949 || ('s' <= (c) && (c) <= 'z'))
17950 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17953 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17958 for (i = 0; i < 256; i++)
17959 if (XOR (islower (i), ISLOWER (i))
17960 || toupper (i) != TOUPPER (i))
17965 if ac_fn_c_try_run
"$LINENO"; then :
17968 ac_cv_header_stdc
=no
17970 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17971 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17977 $as_echo "$ac_cv_header_stdc" >&6; }
17978 if test $ac_cv_header_stdc = yes; then
17980 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17984 ac_header_dirent
=no
17985 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
17986 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
17988 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
17989 if eval \
${$as_ac_Header+:} false
; then :
17990 $as_echo_n "(cached) " >&6
17992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17994 #include <sys/types.h>
18006 if ac_fn_c_try_compile
"$LINENO"; then :
18007 eval "$as_ac_Header=yes"
18009 eval "$as_ac_Header=no"
18011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18013 eval ac_res
=\$
$as_ac_Header
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18015 $as_echo "$ac_res" >&6; }
18016 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18017 cat >>confdefs.h
<<_ACEOF
18018 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18021 ac_header_dirent
=$ac_hdr; break
18025 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18026 if test $ac_header_dirent = dirent.h
; then
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18028 $as_echo_n "checking for library containing opendir... " >&6; }
18029 if ${ac_cv_search_opendir+:} false
; then :
18030 $as_echo_n "(cached) " >&6
18032 ac_func_search_save_LIBS
=$LIBS
18033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 /* Override any GCC internal prototype to avoid an error.
18037 Use char because int might match the return type of a GCC
18038 builtin and then its argument prototype would still apply. */
18051 for ac_lib
in '' dir
; do
18052 if test -z "$ac_lib"; then
18053 ac_res
="none required"
18056 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18058 if ac_fn_c_try_link
"$LINENO"; then :
18059 ac_cv_search_opendir
=$ac_res
18061 rm -f core conftest.err conftest.
$ac_objext \
18063 if ${ac_cv_search_opendir+:} false
; then :
18067 if ${ac_cv_search_opendir+:} false
; then :
18070 ac_cv_search_opendir
=no
18072 rm conftest.
$ac_ext
18073 LIBS
=$ac_func_search_save_LIBS
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18076 $as_echo "$ac_cv_search_opendir" >&6; }
18077 ac_res
=$ac_cv_search_opendir
18078 if test "$ac_res" != no
; then :
18079 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18085 $as_echo_n "checking for library containing opendir... " >&6; }
18086 if ${ac_cv_search_opendir+:} false
; then :
18087 $as_echo_n "(cached) " >&6
18089 ac_func_search_save_LIBS
=$LIBS
18090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 /* Override any GCC internal prototype to avoid an error.
18094 Use char because int might match the return type of a GCC
18095 builtin and then its argument prototype would still apply. */
18108 for ac_lib
in '' x
; do
18109 if test -z "$ac_lib"; then
18110 ac_res
="none required"
18113 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18115 if ac_fn_c_try_link
"$LINENO"; then :
18116 ac_cv_search_opendir
=$ac_res
18118 rm -f core conftest.err conftest.
$ac_objext \
18120 if ${ac_cv_search_opendir+:} false
; then :
18124 if ${ac_cv_search_opendir+:} false
; then :
18127 ac_cv_search_opendir
=no
18129 rm conftest.
$ac_ext
18130 LIBS
=$ac_func_search_save_LIBS
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18133 $as_echo "$ac_cv_search_opendir" >&6; }
18134 ac_res
=$ac_cv_search_opendir
18135 if test "$ac_res" != no
; then :
18136 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
18143 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
18144 if ${ac_cv_header_stat_broken+:} false
; then :
18145 $as_echo_n "(cached) " >&6
18147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18149 #include <sys/types.h>
18150 #include <sys/stat.h>
18152 #if defined S_ISBLK && defined S_IFDIR
18153 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
18156 #if defined S_ISBLK && defined S_IFCHR
18157 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
18160 #if defined S_ISLNK && defined S_IFREG
18161 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
18164 #if defined S_ISSOCK && defined S_IFREG
18165 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
18169 if ac_fn_c_try_compile
"$LINENO"; then :
18170 ac_cv_header_stat_broken
=no
18172 ac_cv_header_stat_broken
=yes
18174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
18177 $as_echo "$ac_cv_header_stat_broken" >&6; }
18178 if test $ac_cv_header_stat_broken = yes; then
18180 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
18185 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
18186 if ${ac_cv_header_sys_wait_h+:} false
; then :
18187 $as_echo_n "(cached) " >&6
18189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18191 #include <sys/types.h>
18192 #include <sys/wait.h>
18193 #ifndef WEXITSTATUS
18194 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
18197 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
18205 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
18210 if ac_fn_c_try_compile
"$LINENO"; then :
18211 ac_cv_header_sys_wait_h
=yes
18213 ac_cv_header_sys_wait_h
=no
18215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
18218 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
18219 if test $ac_cv_header_sys_wait_h = yes; then
18221 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be Included" >&5
18226 $as_echo_n "checking whether time.h and sys/time.h may both be Included... " >&6; }
18227 if ${ac_cv_header_time+:} false
; then :
18228 $as_echo_n "(cached) " >&6
18230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18231 /* end confdefs.h. */
18232 #include <sys/types.h>
18233 #include <sys/time.h>
18239 if ((struct tm *) 0)
18245 if ac_fn_c_try_compile
"$LINENO"; then :
18246 ac_cv_header_time
=yes
18248 ac_cv_header_time
=no
18250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18253 $as_echo "$ac_cv_header_time" >&6; }
18254 if test $ac_cv_header_time = yes; then
18256 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
18261 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
18262 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
18263 $as_echo_n "(cached) " >&6
18265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h. */
18267 #include <sys/types.h>
18268 #include <termios.h>
18274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18275 $EGREP "yes" >/dev
/null
2>&1; then :
18276 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
18278 ac_cv_sys_tiocgwinsz_in_termios_h
=no
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
18284 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
18286 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
18288 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
18289 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
18290 $as_echo_n "(cached) " >&6
18292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18294 #include <sys/types.h>
18295 #include <sys/ioctl.h>
18301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18302 $EGREP "yes" >/dev
/null
2>&1; then :
18303 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
18305 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
18311 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
18313 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
18315 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
18321 for ac_header
in unistd.h
18323 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
18324 if test "x$ac_cv_header_unistd_h" = xyes
; then :
18325 cat >>confdefs.h
<<_ACEOF
18326 #define HAVE_UNISTD_H 1
18334 for ac_header
in errno.h \
18359 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18360 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18361 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18362 cat >>confdefs.h
<<_ACEOF
18363 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18371 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
18372 if test "x$ac_cv_header_termios_h" = xyes
; then :
18374 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
18378 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
18379 if test "x$ac_cv_header_termio_h" = xyes
; then :
18381 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
18385 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
18386 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
18388 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
18392 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
18409 $as_echo_n "checking return type of signal handlers... " >&6; }
18410 if ${ac_cv_type_signal+:} false
; then :
18411 $as_echo_n "(cached) " >&6
18413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18414 /* end confdefs.h. */
18415 #include <sys/types.h>
18416 #include <signal.h>
18421 return *(signal (0, 0)) (0) == 1;
18426 if ac_fn_c_try_compile
"$LINENO"; then :
18427 ac_cv_type_signal
=int
18429 ac_cv_type_signal
=void
18431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
18434 $as_echo "$ac_cv_type_signal" >&6; }
18436 cat >>confdefs.h
<<_ACEOF
18437 #define RETSIGTYPE $ac_cv_type_signal
18441 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18442 if test "x$ac_cv_type_size_t" = xyes
; then :
18446 cat >>confdefs.h
<<_ACEOF
18447 #define size_t unsigned int
18452 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
18453 if test "x$ac_cv_type_mode_t" = xyes
; then :
18457 cat >>confdefs.h
<<_ACEOF
18463 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
18464 if test "x$ac_cv_type_pid_t" = xyes
; then :
18468 cat >>confdefs.h
<<_ACEOF
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
18475 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
18476 if ${ac_cv_type_uid_t+:} false
; then :
18477 $as_echo_n "(cached) " >&6
18479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <sys/types.h>
18484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18485 $EGREP "uid_t" >/dev
/null
2>&1; then :
18486 ac_cv_type_uid_t
=yes
18488 ac_cv_type_uid_t
=no
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
18494 $as_echo "$ac_cv_type_uid_t" >&6; }
18495 if test $ac_cv_type_uid_t = no
; then
18497 $as_echo "#define uid_t int" >>confdefs.h
18500 $as_echo "#define gid_t int" >>confdefs.h
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
18505 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
18506 if ${ac_cv_struct_tm+:} false
; then :
18507 $as_echo_n "(cached) " >&6
18509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18511 #include <sys/types.h>
18518 int *p = &tm.tm_sec;
18524 if ac_fn_c_try_compile
"$LINENO"; then :
18525 ac_cv_struct_tm
=time.h
18527 ac_cv_struct_tm
=sys
/time.h
18529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18532 $as_echo "$ac_cv_struct_tm" >&6; }
18533 if test $ac_cv_struct_tm = sys
/time.h
; then
18535 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
18540 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
18541 if test "x$ac_cv_type_union_wait" = xyes
; then :
18543 cat >>confdefs.h
<<_ACEOF
18544 #define HAVE_UNION_WAIT 1
18551 for ac_header
in stdint.h
18553 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18554 if test "x$ac_cv_header_stdint_h" = xyes
; then :
18555 cat >>confdefs.h
<<_ACEOF
18556 #define HAVE_STDINT_H 1
18561 for ac_header
in inttypes.h
18563 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18564 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
18565 cat >>confdefs.h
<<_ACEOF
18566 #define HAVE_INTTYPES_H 1
18571 for ac_header
in sys
/types.h
18573 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18574 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
18575 cat >>confdefs.h
<<_ACEOF
18576 #define HAVE_SYS_TYPES_H 1
18581 # The cast to long int works around a bug in the HP C Compiler
18582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18584 # This bug is HP SR number 8606223364.
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
18586 $as_echo_n "checking size of unsigned short... " >&6; }
18587 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
18588 $as_echo_n "(cached) " >&6
18590 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
18593 if test "$ac_cv_type_unsigned_short" = yes; then
18594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18596 as_fn_error
77 "cannot compute sizeof (unsigned short)
18597 See \`config.log' for more details" "$LINENO" 5; }
18599 ac_cv_sizeof_unsigned_short
=0
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
18605 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
18609 cat >>confdefs.h
<<_ACEOF
18610 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
18614 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
18615 uint16
="unsigned short"
18617 # The cast to long int works around a bug in the HP C Compiler
18618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18620 # This bug is HP SR number 8606223364.
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18622 $as_echo_n "checking size of unsigned int... " >&6; }
18623 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
18624 $as_echo_n "(cached) " >&6
18626 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
18629 if test "$ac_cv_type_unsigned_int" = yes; then
18630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18632 as_fn_error
77 "cannot compute sizeof (unsigned int)
18633 See \`config.log' for more details" "$LINENO" 5; }
18635 ac_cv_sizeof_unsigned_int
=0
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18641 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18645 cat >>confdefs.h
<<_ACEOF
18646 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18650 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
18651 uint16
="unsigned int"
18653 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
18672 cat >>confdefs.h
<<_ACEOF
18673 #define UINT16 $uint16
18677 for ac_header
in stdint.h
18679 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18680 if test "x$ac_cv_header_stdint_h" = xyes
; then :
18681 cat >>confdefs.h
<<_ACEOF
18682 #define HAVE_STDINT_H 1
18687 for ac_header
in inttypes.h
18689 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18690 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
18691 cat >>confdefs.h
<<_ACEOF
18692 #define HAVE_INTTYPES_H 1
18697 for ac_header
in sys
/types.h
18699 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18700 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
18701 cat >>confdefs.h
<<_ACEOF
18702 #define HAVE_SYS_TYPES_H 1
18707 # The cast to long int works around a bug in the HP C Compiler
18708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18710 # This bug is HP SR number 8606223364.
18711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18712 $as_echo_n "checking size of unsigned int... " >&6; }
18713 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
18714 $as_echo_n "(cached) " >&6
18716 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
18719 if test "$ac_cv_type_unsigned_int" = yes; then
18720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18722 as_fn_error
77 "cannot compute sizeof (unsigned int)
18723 See \`config.log' for more details" "$LINENO" 5; }
18725 ac_cv_sizeof_unsigned_int
=0
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18731 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18735 cat >>confdefs.h
<<_ACEOF
18736 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18740 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
18741 uint32
="unsigned int"
18743 # The cast to long int works around a bug in the HP C Compiler
18744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18746 # This bug is HP SR number 8606223364.
18747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
18748 $as_echo_n "checking size of unsigned long... " >&6; }
18749 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
18750 $as_echo_n "(cached) " >&6
18752 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
18755 if test "$ac_cv_type_unsigned_long" = yes; then
18756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18758 as_fn_error
77 "cannot compute sizeof (unsigned long)
18759 See \`config.log' for more details" "$LINENO" 5; }
18761 ac_cv_sizeof_unsigned_long
=0
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
18767 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
18771 cat >>confdefs.h
<<_ACEOF
18772 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
18776 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
18777 uint32
="unsigned long"
18779 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
18798 cat >>confdefs.h
<<_ACEOF
18799 #define UINT32 $uint32
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
18804 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
18805 if ${ac_cv_func_qsort_argtype+:} false
; then :
18806 $as_echo_n "(cached) " >&6
18808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18812 #include "stdlib.h"
18816 extern sortf(const void *, const void *);
18819 const void *b; { return 0; }
18825 qsort(base, 2, sizeof(char *), sortf);
18831 if ac_fn_c_try_compile
"$LINENO"; then :
18832 ac_cv_func_qsort_argtype
=void
18834 ac_cv_func_qsort_argtype
=char
18836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
18840 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
18842 cat >>confdefs.h
<<_ACEOF
18843 #define qsort_t $ac_cv_func_qsort_argtype
18848 for ac_header
in sys
/select.h sys
/socket.h
18850 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18851 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18852 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18853 cat >>confdefs.h
<<_ACEOF
18854 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18862 $as_echo_n "checking types of arguments for select... " >&6; }
18863 if ${ac_cv_func_select_args+:} false
; then :
18864 $as_echo_n "(cached) " >&6
18866 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
18867 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18868 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
18869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h. */
18871 $ac_includes_default
18872 #ifdef HAVE_SYS_SELECT_H
18873 # include <sys/select.h>
18875 #ifdef HAVE_SYS_SOCKET_H
18876 # include <sys/socket.h>
18882 extern int select ($ac_arg1,
18883 $ac_arg234, $ac_arg234, $ac_arg234,
18889 if ac_fn_c_try_compile
"$LINENO"; then :
18890 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
18892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18896 # Provide a safe default value.
18897 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
18901 $as_echo "$ac_cv_func_select_args" >&6; }
18902 ac_save_IFS
=$IFS; IFS
=','
18903 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
18907 cat >>confdefs.h
<<_ACEOF
18908 #define SELECT_TYPE_ARG1 $1
18912 cat >>confdefs.h
<<_ACEOF
18913 #define SELECT_TYPE_ARG234 ($2)
18917 cat >>confdefs.h
<<_ACEOF
18918 #define SELECT_TYPE_ARG5 ($3)
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
18925 $as_echo_n "checking for working strcoll... " >&6; }
18926 if ${ac_cv_func_strcoll_works+:} false
; then :
18927 $as_echo_n "(cached) " >&6
18929 if test "$cross_compiling" = yes; then :
18930 ac_cv_func_strcoll_works
=no
18932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 $ac_includes_default
18938 return (strcoll ("abc", "def") >= 0 ||
18939 strcoll ("ABC", "DEF") >= 0 ||
18940 strcoll ("123", "456") >= 0)
18945 if ac_fn_c_try_run
"$LINENO"; then :
18946 ac_cv_func_strcoll_works
=yes
18948 ac_cv_func_strcoll_works
=no
18950 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18951 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
18956 $as_echo "$ac_cv_func_strcoll_works" >&6; }
18957 if test $ac_cv_func_strcoll_works = yes; then
18959 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
18965 for ac_header
in vfork.h
18967 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
18968 if test "x$ac_cv_header_vfork_h" = xyes
; then :
18969 cat >>confdefs.h
<<_ACEOF
18970 #define HAVE_VFORK_H 1
18977 for ac_func
in fork vfork
18979 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18980 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
18981 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
18982 cat >>confdefs.h
<<_ACEOF
18983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18989 if test "x$ac_cv_func_fork" = xyes
; then
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
18991 $as_echo_n "checking for working fork... " >&6; }
18992 if ${ac_cv_func_fork_works+:} false
; then :
18993 $as_echo_n "(cached) " >&6
18995 if test "$cross_compiling" = yes; then :
18996 ac_cv_func_fork_works
=cross
18998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 $ac_includes_default
19005 /* By Ruediger Kuhlmann. */
19006 return fork () < 0;
19012 if ac_fn_c_try_run
"$LINENO"; then :
19013 ac_cv_func_fork_works
=yes
19015 ac_cv_func_fork_works
=no
19017 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19018 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
19023 $as_echo "$ac_cv_func_fork_works" >&6; }
19026 ac_cv_func_fork_works
=$ac_cv_func_fork
19028 if test "x$ac_cv_func_fork_works" = xcross
; then
19030 *-*-amigaos* |
*-*-msdosdjgpp*)
19031 # Override, as these systems have only a dummy fork() stub
19032 ac_cv_func_fork_works
=no
19035 ac_cv_func_fork_works
=yes
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
19039 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
19041 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19042 if test "x$ac_cv_func_vfork" = xyes
; then
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
19044 $as_echo_n "checking for working vfork... " >&6; }
19045 if ${ac_cv_func_vfork_works+:} false
; then :
19046 $as_echo_n "(cached) " >&6
19048 if test "$cross_compiling" = yes; then :
19049 ac_cv_func_vfork_works
=cross
19051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19052 /* end confdefs.h. */
19053 /* Thanks to Paul Eggert for this test. */
19054 $ac_includes_default
19055 #include <sys/wait.h>
19056 #ifdef HAVE_VFORK_H
19057 # include <vfork.h>
19059 /* On some sparc systems, changes by the child to local and incoming
19060 argument registers are propagated back to the parent. The compiler
19061 is told about this with #include <vfork.h>, but some compilers
19062 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
19063 static variable whose address is put into a register that is
19064 clobbered by the vfork. */
19067 sparc_address_test (int arg)
19069 sparc_address_test (arg) int arg;
19072 static pid_t child;
19090 pid_t parent = getpid ();
19093 sparc_address_test (0);
19098 /* Here is another test for sparc vfork register problems. This
19099 test uses lots of local variables, at least as many local
19100 variables as main has allocated so far including compiler
19101 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
19102 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
19103 reuse the register of parent for one of the local variables,
19104 since it will think that parent can't possibly be used any more
19105 in this routine. Assigning to the local variable will thus
19106 munge parent in the parent process. */
19108 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19109 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19110 /* Convince the compiler that p..p7 are live; otherwise, it might
19111 use the same hardware register for all 8 local variables. */
19112 if (p != p1 || p != p2 || p != p3 || p != p4
19113 || p != p5 || p != p6 || p != p7)
19116 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19117 from child file descriptors. If the child closes a descriptor
19118 before it execs or exits, this munges the parent's descriptor
19119 as well. Test for this by closing stdout in the child. */
19120 _exit(close(fileno(stdout)) != 0);
19125 while (wait(&status) != child)
19128 /* Was there some problem with vforking? */
19131 /* Did the child fail? (This shouldn't happen.) */
19134 /* Did the vfork/compiler bug occur? */
19135 || parent != getpid()
19137 /* Did the file descriptor bug occur? */
19138 || fstat(fileno(stdout), &st) != 0
19143 if ac_fn_c_try_run
"$LINENO"; then :
19144 ac_cv_func_vfork_works
=yes
19146 ac_cv_func_vfork_works
=no
19148 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19149 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
19154 $as_echo "$ac_cv_func_vfork_works" >&6; }
19157 if test "x$ac_cv_func_fork_works" = xcross
; then
19158 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19160 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19163 if test "x$ac_cv_func_vfork_works" = xyes
; then
19165 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
19169 $as_echo "#define vfork fork" >>confdefs.h
19172 if test "x$ac_cv_func_fork_works" = xyes
; then
19174 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
19178 for ac_func
in strchr \
19211 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19212 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19213 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19214 cat >>confdefs.h
<<_ACEOF
19215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
19223 $as_echo_n "checking for library containing gethostname... " >&6; }
19224 if ${ac_cv_search_gethostname+:} false
; then :
19225 $as_echo_n "(cached) " >&6
19227 ac_func_search_save_LIBS
=$LIBS
19228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19229 /* end confdefs.h. */
19231 /* Override any GCC internal prototype to avoid an error.
19232 Use char because int might match the return type of a GCC
19233 builtin and then its argument prototype would still apply. */
19237 char gethostname ();
19241 return gethostname ();
19246 for ac_lib
in '' nsl
; do
19247 if test -z "$ac_lib"; then
19248 ac_res
="none required"
19251 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19253 if ac_fn_c_try_link
"$LINENO"; then :
19254 ac_cv_search_gethostname
=$ac_res
19256 rm -f core conftest.err conftest.
$ac_objext \
19258 if ${ac_cv_search_gethostname+:} false
; then :
19262 if ${ac_cv_search_gethostname+:} false
; then :
19265 ac_cv_search_gethostname
=no
19267 rm conftest.
$ac_ext
19268 LIBS
=$ac_func_search_save_LIBS
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
19271 $as_echo "$ac_cv_search_gethostname" >&6; }
19272 ac_res
=$ac_cv_search_gethostname
19273 if test "$ac_res" != no
; then :
19274 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
19280 $as_echo_n "checking for library containing socket... " >&6; }
19281 if ${ac_cv_search_socket+:} false
; then :
19282 $as_echo_n "(cached) " >&6
19284 ac_func_search_save_LIBS
=$LIBS
19285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19288 /* Override any GCC internal prototype to avoid an error.
19289 Use char because int might match the return type of a GCC
19290 builtin and then its argument prototype would still apply. */
19303 for ac_lib
in '' socket
; do
19304 if test -z "$ac_lib"; then
19305 ac_res
="none required"
19308 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19310 if ac_fn_c_try_link
"$LINENO"; then :
19311 ac_cv_search_socket
=$ac_res
19313 rm -f core conftest.err conftest.
$ac_objext \
19315 if ${ac_cv_search_socket+:} false
; then :
19319 if ${ac_cv_search_socket+:} false
; then :
19322 ac_cv_search_socket
=no
19324 rm conftest.
$ac_ext
19325 LIBS
=$ac_func_search_save_LIBS
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
19328 $as_echo "$ac_cv_search_socket" >&6; }
19329 ac_res
=$ac_cv_search_socket
19330 if test "$ac_res" != no
; then :
19331 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
19341 $as_echo_n "checking for library containing bind... " >&6; }
19342 if ${ac_cv_search_bind+:} false
; then :
19343 $as_echo_n "(cached) " >&6
19345 ac_func_search_save_LIBS
=$LIBS
19346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19347 /* end confdefs.h. */
19349 /* Override any GCC internal prototype to avoid an error.
19350 Use char because int might match the return type of a GCC
19351 builtin and then its argument prototype would still apply. */
19364 for ac_lib
in '' bind; do
19365 if test -z "$ac_lib"; then
19366 ac_res
="none required"
19369 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19371 if ac_fn_c_try_link
"$LINENO"; then :
19372 ac_cv_search_bind
=$ac_res
19374 rm -f core conftest.err conftest.
$ac_objext \
19376 if ${ac_cv_search_bind+:} false
; then :
19380 if ${ac_cv_search_bind+:} false
; then :
19383 ac_cv_search_bind
=no
19385 rm conftest.
$ac_ext
19386 LIBS
=$ac_func_search_save_LIBS
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
19389 $as_echo "$ac_cv_search_bind" >&6; }
19390 ac_res
=$ac_cv_search_bind
19391 if test "$ac_res" != no
; then :
19392 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19401 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
19403 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19404 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19405 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19406 cat >>confdefs.h
<<_ACEOF
19407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19411 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
19416 for ac_func
in sigset sigrelse
19418 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19419 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19420 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19421 cat >>confdefs.h
<<_ACEOF
19422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19426 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
19438 $as_echo_n "checking for library containing syslog... " >&6; }
19439 if ${ac_cv_search_syslog+:} false
; then :
19440 $as_echo_n "(cached) " >&6
19442 ac_func_search_save_LIBS
=$LIBS
19443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19444 /* end confdefs.h. */
19446 /* Override any GCC internal prototype to avoid an error.
19447 Use char because int might match the return type of a GCC
19448 builtin and then its argument prototype would still apply. */
19461 for ac_lib
in '' bsd socket inet
; do
19462 if test -z "$ac_lib"; then
19463 ac_res
="none required"
19466 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19468 if ac_fn_c_try_link
"$LINENO"; then :
19469 ac_cv_search_syslog
=$ac_res
19471 rm -f core conftest.err conftest.
$ac_objext \
19473 if ${ac_cv_search_syslog+:} false
; then :
19477 if ${ac_cv_search_syslog+:} false
; then :
19480 ac_cv_search_syslog
=no
19482 rm conftest.
$ac_ext
19483 LIBS
=$ac_func_search_save_LIBS
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
19486 $as_echo "$ac_cv_search_syslog" >&6; }
19487 ac_res
=$ac_cv_search_syslog
19488 if test "$ac_res" != no
; then :
19489 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19492 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
19499 if test -n "$alpine_with_local_maildir" ; then
19500 alpine_local_maildir
=$alpine_with_local_maildir
19501 elif test -d /var
/spool
/mail ; then
19502 alpine_local_maildir
="/var/spool/mail"
19503 elif test -d /var
/mail ; then
19504 alpine_local_maildir
="/var/mail"
19506 alpine_local_maildir
="/usr/spool/mail"
19509 if test -n "$alpine_with_c_client_target" ; then
19510 alpine_c_client_target
=$alpine_with_c_client_target
19514 cat >>confdefs.h
<<_ACEOF
19515 #define SYSTYPE "$systype"
19519 cat >>confdefs.h
<<_ACEOF
19520 #define C_FILESEP '$alpine_path_delim'
19524 cat >>confdefs.h
<<_ACEOF
19525 #define S_FILESEP "$alpine_path_delim"
19529 cat >>confdefs.h
<<_ACEOF
19530 #define MAILDIR "$alpine_local_maildir"
19534 cat >>confdefs.h
<<_ACEOF
19535 #define MODE_READONLY $alpine_mode_readonly
19539 C_CLIENT_TARGET
=$alpine_c_client_target
19541 C_CLIENT_WITH_IPV6
=$c_client_ip6
19543 if test "x$alpine_SSLTYPE" = "xnone" ; then
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
19545 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
19546 c_client_specials
="${c_client_specials}SSLTYPE=none "
19549 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
19550 certdir
="$alpine_SSLCERTS"
19551 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
19552 certdir
="${alpine_SSLDIR}/certs"
19553 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
19554 certdir
="${alpine_SSLDIR}/ssl/certs"
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
19557 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
19560 if test "x$with_smime" != "xno" ; then
19561 if test -n "$certdir" ; then
19563 $as_echo "#define SMIME /**/" >>confdefs.h
19566 cat >>confdefs.h
<<_ACEOF
19567 #define SMIME_SSLCERTS "$certdir"
19573 if test ! -f ${certdir}/factory.pem
; then
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * SSL file \"${certdir}/factory.pem\" is missing." >&5
19575 $as_echo "$as_me: * * * SSL file \"${certdir}/factory.pem\" is missing." >&6;}
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
19577 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
19579 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
19581 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
19584 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&5
19586 $as_echo "$as_me: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&6;}
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
19588 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
19590 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
19592 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
19595 if test -n "$alpine_SSLINCLUDE" ; then
19596 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
19599 if test -n "$alpine_SSLLIB" ; then
19600 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
19603 if test -n "$alpine_SSLDIR" ; then
19604 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
19607 if test -n "$alpine_SSLCERTS" ; then
19608 c_client_specials
="${c_client_specials}SSLCERTS=$alpine_SSLCERTS "
19611 if test -n "$alpine_SSLKEYS" ; then
19612 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
19616 if test "x$alpine_GSSTYPE" != "xnone" ; then
19617 c_client_specials
="${c_client_specials}EXTRAAUTHENTICATORS=gss "
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
19619 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
19622 if test -n "$CPPFLAGS" ; then
19623 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
19625 if test -n "$CFLAGS" ; then
19626 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
19629 if test -n "$alpine_c_client_cflags" ; then
19630 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
19634 if test -n "$LDFLAGS" ; then
19635 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
19637 if test -n "$LIBS" ; then
19638 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
19641 if test -n "$alpine_c_client_ldflags" ; then
19642 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
19646 if test -n "$alpine_c_client_gccoptlevel" ; then
19647 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
19651 C_CLIENT_SPECIALS
=$c_client_specials
19654 if test -z "$WEB_BUILD" ; then
19655 WEB_PUBCOOKIE_BUILD
=
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
19657 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
19659 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
19661 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
19662 if test "x$alpine_GSSTYPE" = "xnone" ; then
19663 WEB_PUBCOOKIE_BUILD
=
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
19665 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
19667 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
19668 elif test -z "$WEB_BINDIR" ; then
19669 WEB_PUBCOOKIE_BUILD
=
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
19671 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
19672 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
19673 Please re-run configure with these options:
19674 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
19677 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
19679 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
19680 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
19696 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"
19698 cat >confcache
<<\_ACEOF
19699 # This file is a shell script that caches the results of configure
19700 # tests run on this system so they can be shared between configure
19701 # scripts and configure runs, see configure's option --config-cache.
19702 # It is not useful on other systems. If it contains results you don't
19703 # want to keep, you may remove or edit it.
19705 # config.status only pays attention to the cache file if you give it
19706 # the --recheck option to rerun configure.
19708 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19709 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19710 # following values.
19714 # The following way of writing the cache mishandles newlines in values,
19715 # but we know of no workaround that is simple, portable, and efficient.
19716 # So, we kill variables containing newlines.
19717 # Ultrix sh set writes to stderr and can't be redirected directly,
19718 # and sets the high bit in the cache file unless we assign to the vars.
19720 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19721 eval ac_val
=\$
$ac_var
19725 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19726 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19729 _ | IFS | as_nl
) ;; #(
19730 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19731 *) { eval $ac_var=; unset $ac_var;} ;;
19737 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19738 *${as_nl}ac_space
=\
*)
19739 # `set' does not quote correctly, so add quotes: double-quote
19740 # substitution turns \\\\ into \\, and sed turns \\ into \.
19743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19746 # `set' quotes correctly as required by POSIX, so do not add quotes.
19747 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19758 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19760 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19761 if test -w "$cache_file"; then
19762 if test "x$cache_file" != "x/dev/null"; then
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19764 $as_echo "$as_me: updating cache $cache_file" >&6;}
19765 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19766 cat confcache
>"$cache_file"
19768 case $cache_file in #(
19770 mv -f confcache
"$cache_file"$$
&&
19771 mv -f "$cache_file"$$
"$cache_file" ;; #(
19773 mv -f confcache
"$cache_file" ;;
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19779 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19784 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19785 # Let make expand exec_prefix.
19786 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19788 DEFS
=-DHAVE_CONFIG_H
19793 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19794 # 1. Remove the extension, and $U if already installed.
19795 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19796 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19797 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19798 # will be set to the directory where LIBOBJS objects are built.
19799 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19800 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19802 LIBOBJS
=$ac_libobjs
19804 LTLIBOBJS
=$ac_ltlibobjs
19807 if test -n "$EXEEXT"; then
19809 am__EXEEXT_FALSE
='#'
19811 am__EXEEXT_TRUE
='#'
19815 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19816 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19819 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19820 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19823 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19824 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19828 : "${CONFIG_STATUS=./config.status}"
19830 ac_clean_files_save
=$ac_clean_files
19831 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19833 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19835 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19837 # Generated by $as_me.
19838 # Run this file to recreate the current configuration.
19839 # Compiler output produced by configure, useful for debugging
19840 # configure, is in config.log if it exists.
19843 ac_cs_recheck=false
19846 SHELL=\${CONFIG_SHELL-$SHELL}
19849 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19850 ## -------------------- ##
19851 ## M4sh Initialization. ##
19852 ## -------------------- ##
19854 # Be more Bourne compatible
19855 DUALCASE
=1; export DUALCASE
# for MKS sh
19856 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19859 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19860 # is contrary to our usage. Disable this feature.
19861 alias -g '${1+"$@"}'='"$@"'
19862 setopt NO_GLOB_SUBST
19864 case `(set -o) 2>/dev/null` in #(
19876 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19877 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19878 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19880 # Prefer a ksh shell builtin over an external printf program on Solaris,
19881 # but without wasting forks for bash or zsh.
19882 if test -z "$BASH_VERSION$ZSH_VERSION" \
19883 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19884 as_echo='print
-r --'
19885 as_echo_n='print
-rn --'
19886 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19887 as_echo='printf %s
\n'
19888 as_echo_n='printf %s
'
19890 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19891 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19892 as_echo_n='/usr
/ucb
/echo -n'
19894 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19895 as_echo_n_body='eval
19899 expr "X$arg" : "X\\(.*\\)$as_nl";
19900 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19902 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19904 export as_echo_n_body
19905 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19907 export as_echo_body
19908 as_echo='sh
-c $as_echo_body as_echo
'
19911 # The user is always right.
19912 if test "${PATH_SEPARATOR+set}" != set; then
19914 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19915 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19922 # We need space, tab and new line, in precisely that order. Quoting is
19923 # there to prevent editors from complaining about space-tab.
19924 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19925 # splitting by setting IFS to empty value.)
19928 # Find who we are. Look in the path if we contain no directory separator.
19931 *[\\/]* ) as_myself=$0 ;;
19932 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19933 for as_dir in $PATH
19936 test -z "$as_dir" && as_dir=.
19937 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19943 # We did not find ourselves, most probably we were run as `sh COMMAND'
19944 # in which case we are not to be found in the path.
19945 if test "x$as_myself" = x
; then
19948 if test ! -f "$as_myself"; then
19949 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19953 # Unset variables that we do not need and which cause bugs (e.g. in
19954 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19955 # suppresses any "Segmentation fault" message there. '((' could
19956 # trigger a bug in pdksh 5.2.14.
19957 for as_var
in BASH_ENV ENV MAIL MAILPATH
19958 do eval test x\
${$as_var+set} = xset \
19959 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19972 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19975 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19976 # ----------------------------------------
19977 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19978 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19979 # script with STATUS, using 1 if that was 0.
19982 as_status
=$1; test $as_status -eq 0 && as_status
=1
19984 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19985 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19987 $as_echo "$as_me: error: $2" >&2
19988 as_fn_exit
$as_status
19992 # as_fn_set_status STATUS
19993 # -----------------------
19994 # Set $? to STATUS, without forking.
19995 as_fn_set_status
()
19998 } # as_fn_set_status
20000 # as_fn_exit STATUS
20001 # -----------------
20002 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20006 as_fn_set_status
$1
20012 # Portably unset VAR.
20015 { eval $1=; unset $1;}
20017 as_unset
=as_fn_unset
20018 # as_fn_append VAR VALUE
20019 # ----------------------
20020 # Append the text in VALUE to the end of the definition contained in VAR. Take
20021 # advantage of any shell optimizations that allow amortized linear growth over
20022 # repeated appends, instead of the typical quadratic growth present in naive
20024 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20025 eval 'as_fn_append ()
20036 # as_fn_arith ARG...
20037 # ------------------
20038 # Perform arithmetic evaluation on the ARGs, and store the result in the
20039 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20040 # must be portable across $(()) and expr.
20041 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20042 eval 'as_fn_arith ()
20049 as_val
=`expr "$@" || test $? -eq 1`
20054 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20055 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20061 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20062 as_basename
=basename
20067 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20073 as_me
=`$as_basename -- "$0" ||
20074 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20075 X"$0" : 'X\(//\)$' \| \
20076 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20078 sed '/^.*\/\([^/][^/]*\)\/*$/{
20092 # Avoid depending upon Character Ranges.
20093 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20094 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20095 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20096 as_cr_digits
='0123456789'
20097 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20099 ECHO_C
= ECHO_N
= ECHO_T
=
20100 case `echo -n x` in #(((((
20102 case `echo 'xy\c'` in
20103 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20105 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20112 rm -f conf$$ conf$$.exe conf$$.
file
20113 if test -d conf$$.dir
; then
20114 rm -f conf$$.dir
/conf$$.
file
20117 mkdir conf$$.dir
2>/dev
/null
20119 if (echo >conf$$.
file) 2>/dev
/null
; then
20120 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20122 # ... but there are two gotchas:
20123 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20124 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20125 # In both cases, we have to default to `cp -pR'.
20126 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20128 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20136 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20137 rmdir conf$$.dir
2>/dev
/null
20142 # Create "$as_dir" as a directory, including parents if necessary.
20147 -*) as_dir
=.
/$as_dir;;
20149 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20153 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20154 *) as_qdir
=$as_dir;;
20156 as_dirs
="'$as_qdir' $as_dirs"
20157 as_dir
=`$as_dirname -- "$as_dir" ||
20158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20159 X"$as_dir" : 'X\(//\)[^/]' \| \
20160 X"$as_dir" : 'X\(//\)$' \| \
20161 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20162 $as_echo X"$as_dir" |
20163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20167 /^X\(\/\/\)[^/].*/{
20180 test -d "$as_dir" && break
20182 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20183 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20187 if mkdir
-p .
2>/dev
/null
; then
20188 as_mkdir_p
='mkdir -p "$as_dir"'
20190 test -d .
/-p && rmdir .
/-p
20195 # as_fn_executable_p FILE
20196 # -----------------------
20197 # Test if FILE is an executable regular file.
20198 as_fn_executable_p
()
20200 test -f "$1" && test -x "$1"
20201 } # as_fn_executable_p
20202 as_test_x
='test -x'
20203 as_executable_p
=as_fn_executable_p
20205 # Sed expression to map a string onto a valid CPP name.
20206 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20208 # Sed expression to map a string onto a valid variable name.
20209 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20213 ## ----------------------------------- ##
20214 ## Main body of $CONFIG_STATUS script. ##
20215 ## ----------------------------------- ##
20217 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20220 # Save the log message, to keep $0 and so on meaningful, and to
20221 # report actual input values of CONFIG_FILES etc. instead of their
20222 # values after options handling.
20224 This file was extended by alpine $as_me 2.11.8, which was
20225 generated by GNU Autoconf 2.69. Invocation command line was
20227 CONFIG_FILES = $CONFIG_FILES
20228 CONFIG_HEADERS = $CONFIG_HEADERS
20229 CONFIG_LINKS = $CONFIG_LINKS
20230 CONFIG_COMMANDS = $CONFIG_COMMANDS
20233 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20238 case $ac_config_files in *"
20239 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20242 case $ac_config_headers in *"
20243 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20248 # Files that config.status was made for.
20249 config_files="$ac_config_files"
20250 config_headers="$ac_config_headers"
20251 config_commands="$ac_config_commands"
20255 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20257 \`$as_me' instantiates files and other configuration actions
20258 from templates according to the current configuration. Unless the files
20259 and actions are specified as TAGs, all are instantiated by default.
20261 Usage: $0 [OPTION]... [TAG]...
20263 -h, --help print this help, then exit
20264 -V, --version print version number and configuration settings, then exit
20265 --config print configuration, then exit
20266 -q, --quiet, --silent
20267 do not print progress messages
20268 -d, --debug don't remove temporary files
20269 --recheck update $as_me by reconfiguring in the same conditions
20270 --file=FILE[:TEMPLATE]
20271 instantiate the configuration file FILE
20272 --header=FILE[:TEMPLATE]
20273 instantiate the configuration header FILE
20275 Configuration files:
20278 Configuration headers:
20281 Configuration commands:
20284 Report bugs to <chappa@washington.edu>."
20287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20288 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20290 alpine config.status 2.11.8
20291 configured by $0, generated by GNU Autoconf 2.69,
20292 with options \\"\$ac_cs_config\\"
20294 Copyright (C) 2012 Free Software Foundation, Inc.
20295 This config.status script is free software; the Free Software Foundation
20296 gives unlimited permission to copy, distribute and modify it."
20303 test -n "\$AWK" || AWK=awk
20306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20307 # The default lists apply if the user does not specify any file.
20313 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20314 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20318 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20330 # Handling of the options.
20331 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20333 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20334 $as_echo "$ac_cs_version"; exit ;;
20335 --config |
--confi |
--conf |
--con |
--co |
--c )
20336 $as_echo "$ac_cs_config"; exit ;;
20337 --debug |
--debu |
--deb |
--de |
--d |
-d )
20339 --file |
--fil |
--fi |
--f )
20342 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20343 '') as_fn_error $?
"missing file argument" ;;
20345 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20346 ac_need_defaults
=false
;;
20347 --header |
--heade |
--head |
--hea )
20350 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20352 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20353 ac_need_defaults
=false
;;
20355 # Conflict between --help and --header
20356 as_fn_error $?
"ambiguous option: \`$1'
20357 Try \`$0 --help' for more information.";;
20358 --help |
--hel |
-h )
20359 $as_echo "$ac_cs_usage"; exit ;;
20360 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20361 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20364 # This is an error.
20365 -*) as_fn_error $?
"unrecognized option: \`$1'
20366 Try \`$0 --help' for more information." ;;
20368 *) as_fn_append ac_config_targets
" $1"
20369 ac_need_defaults
=false
;;
20375 ac_configure_extra_args
=
20377 if $ac_cs_silent; then
20379 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20384 if \$ac_cs_recheck; then
20385 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20387 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20388 CONFIG_SHELL='$SHELL'
20389 export CONFIG_SHELL
20394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20398 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20399 ## Running $as_me. ##
20405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20409 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20412 # The HP-UX ksh and POSIX shell print the target directory to stdout
20413 # if CDPATH is set.
20414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20416 sed_quote_subst='$sed_quote_subst'
20417 double_quote_subst='$double_quote_subst'
20418 delay_variable_subst='$delay_variable_subst'
20419 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20420 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20421 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20422 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20423 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20424 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20425 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20426 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20427 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20428 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20429 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20430 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20431 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20432 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20433 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20434 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20435 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20436 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20437 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20438 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20439 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20440 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20441 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20442 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20443 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20444 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20445 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20446 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20447 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20448 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20449 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20450 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20451 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20452 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20453 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20454 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20455 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20456 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20457 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20458 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20459 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20460 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20461 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20462 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20463 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"`'
20464 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"`'
20465 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20466 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20467 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20468 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20469 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20470 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20471 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20472 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20473 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20474 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20475 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20476 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20477 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20478 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20479 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20480 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20481 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20482 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20483 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20484 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20485 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20486 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20487 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20488 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20489 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20490 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20491 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20492 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20493 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20494 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20495 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20496 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20497 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20498 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20499 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20500 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20501 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20502 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20503 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20504 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20505 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20506 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20507 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20508 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20509 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20510 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20511 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20512 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20513 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20514 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20515 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20516 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20517 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20518 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20519 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20520 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20521 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20522 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20523 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20524 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20525 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20526 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20527 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20528 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20529 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20530 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20531 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20532 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20533 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20534 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20535 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20536 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20539 LTCFLAGS='$LTCFLAGS'
20540 compiler='$compiler_DEFAULT'
20542 # Quote evaled strings.
20554 deplibs_check_method \
20563 lt_cv_sys_global_symbol_pipe \
20564 lt_cv_sys_global_symbol_to_cdecl \
20565 lt_cv_sys_global_symbol_to_c_name_address \
20566 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20569 lt_prog_compiler_no_builtin_flag \
20570 lt_prog_compiler_wl \
20571 lt_prog_compiler_pic \
20572 lt_prog_compiler_static \
20573 lt_cv_prog_compiler_c_o \
20581 export_dynamic_flag_spec \
20582 whole_archive_flag_spec \
20583 compiler_needs_object \
20585 allow_undefined_flag \
20586 no_undefined_flag \
20587 hardcode_libdir_flag_spec \
20588 hardcode_libdir_flag_spec_ld \
20589 hardcode_libdir_separator \
20594 variables_saved_for_relink \
20596 library_names_spec \
20601 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20602 *[\\\\\\\`\\"\\\$]*)
20603 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20606 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20611 # Double-quote double-evaled strings.
20612 for var in reload_cmds \
20613 old_postinstall_cmds \
20614 old_postuninstall_cmds \
20616 extract_expsyms_cmds \
20617 old_archive_from_new_cmds \
20618 old_archive_from_expsyms_cmds \
20620 archive_expsym_cmds \
20622 module_expsym_cmds \
20623 export_symbols_cmds \
20626 postuninstall_cmds \
20628 sys_lib_search_path_spec \
20629 sys_lib_dlsearch_path_spec; do
20630 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20631 *[\\\\\\\`\\"\\\$]*)
20632 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20635 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20640 # Fix-up fallback echo if it was mangled by the above quoting rules.
20642 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20646 ac_aux_dir='$ac_aux_dir'
20647 xsi_shell='$xsi_shell'
20648 lt_shell_append='$lt_shell_append'
20650 # See if we are running on zsh, and set the options which allow our
20651 # commands through without removal of \ escapes INIT.
20652 if test -n "\${ZSH_VERSION+set}" ; then
20653 setopt NO_GLOB_SUBST
20659 TIMESTAMP='$TIMESTAMP'
20665 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20666 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20667 # from automake < 1.5.
20668 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20669 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20670 LINGUAS="${LINGUAS-%UNSET%}"
20675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20677 # Handling of arguments.
20678 for ac_config_target
in $ac_config_targets
20680 case $ac_config_target in
20681 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20682 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20683 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20684 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
20685 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
20686 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20687 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
20688 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
20689 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
20690 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
20691 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
20692 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
20693 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
20694 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
20695 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
20696 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
20697 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
20698 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20700 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20705 # If the user did not use the arguments to specify the items to instantiate,
20706 # then the envvar interface is used. Set only those that are not.
20707 # We use the long form for the default assignment because of an extremely
20708 # bizarre bug on SunOS 4.1.3.
20709 if $ac_need_defaults; then
20710 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20711 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20712 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20715 # Have a temporary directory for convenience. Make it in the build tree
20716 # simply because there is no reason against having it here, and in addition,
20717 # creating and moving files from /tmp can sometimes cause problems.
20718 # Hook for its removal unless debugging.
20719 # Note that there is a small window in which the directory will not be cleaned:
20720 # after its creation but before its name has been assigned to `$tmp'.
20724 trap 'exit_status=$?
20725 : "${ac_tmp:=$tmp}"
20726 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20728 trap 'as_fn_exit 1' 1 2 13 15
20730 # Create a (secure) tmp directory for tmp files.
20733 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20737 tmp
=.
/conf$$
-$RANDOM
20738 (umask 077 && mkdir
"$tmp")
20739 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20742 # Set up the scripts for CONFIG_FILES section.
20743 # No need to generate them if there are no CONFIG_FILES.
20744 # This happens for instance with `./config.status config.h'.
20745 if test -n "$CONFIG_FILES"; then
20748 ac_cr
=`echo X | tr X '\015'`
20749 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20750 # But we know of no other shell where ac_cr would be empty at this
20751 # point, so we can use a bashism as a fallback.
20752 if test "x$ac_cr" = x
; then
20753 eval ac_cr
=\$
\'\\r
\'
20755 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20756 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20759 ac_cs_awk_cr
=$ac_cr
20762 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20767 echo "cat >conf$$subs.awk <<_ACEOF" &&
20768 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20770 } >conf$$subs.sh ||
20771 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20772 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20774 for ac_last_try in false false false false false :; do
20775 . ./conf$$subs.sh ||
20776 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20778 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20779 if test $ac_delim_n = $ac_delim_num; then
20781 elif $ac_last_try; then
20782 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20784 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20787 rm -f conf$$subs.sh
20789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20790 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20794 s/^/S["/; s
/!.
*/"]=/
20804 s/\(.\{148\}\)..*/\1/
20806 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20811 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20818 s/\(.\{148\}\)..*/\1/
20820 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20824 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20829 ' <conf$$subs.awk | sed '
20834 ' >>$CONFIG_STATUS || ac_write_fail=1
20835 rm -f conf$$subs.awk
20836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20838 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20839 for (key in S) S_is_set[key] = 1
20845 nfields = split(line, field, "@
")
20847 len = length(field[1])
20848 for (i = 2; i < nfields; i++) {
20850 keylen = length(key)
20851 if (S_is_set[key]) {
20853 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20854 len += length(value) + length(field[++i])
20865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20866 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20867 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20870 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
20871 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20874 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20875 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20876 # trailing colons and then remove the whole line if VPATH becomes empty
20877 # (actually we leave an empty line to preserve line numbers).
20878 if test "x
$srcdir" = x.; then
20879 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20898 fi # test -n "$CONFIG_FILES"
20900 # Set up the scripts for CONFIG_HEADERS section.
20901 # No need to generate them if there are no CONFIG_HEADERS.
20902 # This happens for instance with `./config.status Makefile'.
20903 if test -n "$CONFIG_HEADERS"; then
20904 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
20908 # Transform confdefs.h into an awk script `defines.awk', embedded as
20909 # here-document in config.status, that substitutes the proper values into
20910 # config.h.in to produce config.h.
20912 # Create a delimiter string that does not exist in confdefs.h, to ease
20913 # handling of long lines.
20915 for ac_last_try in false false :; do
20916 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
20917 if test -z "$ac_tt"; then
20919 elif $ac_last_try; then
20920 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
20922 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20926 # For the awk script, D is an array of macro values keyed by name,
20927 # likewise P contains macro parameters if any. Preserve backslash
20928 # newline sequences.
20930 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20932 s/.\{148\}/&'"$ac_delim"'/g
20935 s/^[ ]*#[ ]*define[ ][ ]*/ /
20942 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
20944 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
20948 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
20949 D["\
1"]=" \
3\\\\\\n
"\\/p
20951 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
20956 s/.\{148\}/&'"$ac_delim"'/g
20961 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
20964 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
20966 ' <confdefs.h | sed '
20967 s/'"$ac_delim"'/"\\\
20968 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20971 for (key in D) D_is_set[key] = 1
20974 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20976 split(line, arg, " ")
20977 if (arg[1] == "#") {
20981 defundef
= substr
(arg
[1], 2)
20984 split(mac1
, mac2
, "(") #)
20986 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
20987 if (D_is_set
[macro
]) {
20988 # Preserve the white space surrounding the "#".
20989 print prefix
"define", macro P
[macro
] D
[macro
]
20992 # Replace #undef with comments. This is necessary, for example,
20993 # in the case of _POSIX_SOURCE, which is predefined and required
20994 # on some systems where configure will not decide to define it.
20995 if (defundef
== "undef") {
20996 print
"/*", prefix defundef
, macro
, "*/"
21004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21005 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21006 fi # test -n "$CONFIG_HEADERS"
21009 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21014 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21016 case $ac_mode$ac_tag in
21018 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21019 :[FH
]-) ac_tag
=-:-;;
21020 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21037 -) ac_f
="$ac_tmp/stdin";;
21038 *) # Look for the file first in the build tree, then in the source tree
21039 # (if the path is not absolute). The absolute path cannot be DOS-style,
21040 # because $ac_f cannot contain `:'.
21044 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21046 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21048 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21049 as_fn_append ac_file_inputs
" '$ac_f'"
21052 # Let's still pretend it is `configure' which instantiates (i.e., don't
21053 # use $as_me), people would be surprised to read:
21054 # /* config.h. Generated by config.status. */
21055 configure_input
='Generated from '`
21056 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21058 if test x
"$ac_file" != x-
; then
21059 configure_input
="$ac_file. $configure_input"
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21061 $as_echo "$as_me: creating $ac_file" >&6;}
21063 # Neutralize special characters interpreted by sed in replacement strings.
21064 case $configure_input in #(
21065 *\
&* |
*\|
* |
*\\* )
21066 ac_sed_conf_input
=`$as_echo "$configure_input" |
21067 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21068 *) ac_sed_conf_input
=$configure_input;;
21072 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21073 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21078 ac_dir
=`$as_dirname -- "$ac_file" ||
21079 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21080 X"$ac_file" : 'X\(//\)[^/]' \| \
21081 X"$ac_file" : 'X\(//\)$' \| \
21082 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21083 $as_echo X"$ac_file" |
21084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21088 /^X\(\/\/\)[^/].*/{
21101 as_dir
="$ac_dir"; as_fn_mkdir_p
21105 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21107 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21108 # A ".." for each directory in $ac_dir_suffix.
21109 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21110 case $ac_top_builddir_sub in
21111 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21112 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21115 ac_abs_top_builddir
=$ac_pwd
21116 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21117 # for backward compatibility:
21118 ac_top_builddir
=$ac_top_build_prefix
21121 .
) # We are building in place.
21123 ac_top_srcdir
=$ac_top_builddir_sub
21124 ac_abs_top_srcdir
=$ac_pwd ;;
21125 [\\/]* | ?
:[\\/]* ) # Absolute name.
21126 ac_srcdir
=$srcdir$ac_dir_suffix;
21127 ac_top_srcdir
=$srcdir
21128 ac_abs_top_srcdir
=$srcdir ;;
21129 *) # Relative name.
21130 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21131 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21132 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21134 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21144 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21145 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21147 ac_MKDIR_P
=$MKDIR_P
21149 [\\/$
]* | ?
:[\\/]* ) ;;
21150 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21155 # If the template does not know about datarootdir, expand it.
21156 # FIXME: This hack should be removed a few years after 2.60.
21157 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21168 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21169 *datarootdir
*) ac_datarootdir_seen
=yes;;
21170 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21172 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21175 ac_datarootdir_hack='
21176 s&@datadir@&$datadir&g
21177 s&@docdir@&$docdir&g
21178 s&@infodir@&$infodir&g
21179 s&@localedir@&$localedir&g
21180 s&@mandir@&$mandir&g
21181 s&\\\${datarootdir}&$datarootdir&g' ;;
21185 # Neutralize VPATH when `$srcdir' = `.'.
21186 # Shell code in configure.ac might set extrasub.
21187 # FIXME: do we really want to maintain this feature?
21188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21189 ac_sed_extra="$ac_vpsub
21192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21194 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21195 s|@configure_input@|
$ac_sed_conf_input|
;t t
21196 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21197 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21198 s
&@srcdir@
&$ac_srcdir&;t t
21199 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21200 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21201 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21202 s
&@builddir@
&$ac_builddir&;t t
21203 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21204 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21205 s
&@INSTALL@
&$ac_INSTALL&;t t
21206 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21207 $ac_datarootdir_hack
21209 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21210 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21212 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21213 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21214 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21215 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21217 which seems to be undefined. Please make sure it is defined" >&5
21218 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21219 which seems to be undefined. Please make sure it is defined" >&2;}
21221 rm -f "$ac_tmp/stdin"
21223 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21224 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21232 if test x"$ac_file" != x-; then
21234 $as_echo "/* $configure_input */" \
21235 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21236 } >"$ac_tmp/config.h" \
21237 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21238 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21240 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21243 mv "$ac_tmp/config.h" "$ac_file" \
21244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21247 $as_echo "/* $configure_input */" \
21248 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21249 || as_fn_error $? "could not create -" "$LINENO" 5
21251 # Compute "$ac_file"'s index
in $config_headers.
21254 for _am_header
in $config_headers :; do
21255 case $_am_header in
21256 $_am_arg |
$_am_arg:* )
21259 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21262 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21263 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21264 X"$_am_arg" : 'X\(//\)[^/]' \| \
21265 X"$_am_arg" : 'X\(//\)$' \| \
21266 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21267 $as_echo X"$_am_arg" |
21268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21272 /^X\(\/\/\)[^/].*/{
21284 s/.*/./; q'`/stamp-h
$_am_stamp_count
21287 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21288 $as_echo "$as_me: executing $ac_file commands" >&6;}
21293 case $ac_file$ac_mode in
21294 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21295 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21296 # are listed without --file. Let's play safe and only enable the eval
21297 # if we detect the quoting.
21298 case $CONFIG_FILES in
21299 *\'*) eval set x
"$CONFIG_FILES" ;;
21300 *) set x
$CONFIG_FILES ;;
21305 # Strip MF so we end up with the name of the file.
21306 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21307 # Check whether this is an Automake generated Makefile or not.
21308 # We used to match only the files named `Makefile.in', but
21309 # some people rename them; so instead we look at the file content.
21310 # Grep'ing the first line is not enough: some people post-process
21311 # each Makefile.in and add a new line on top of each file to say so.
21312 # Grep'ing the whole file is not good either: AIX grep has a line
21313 # limit of 2048, but all sed's we know have understand at least 4000.
21314 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21315 dirpart
=`$as_dirname -- "$mf" ||
21316 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21317 X"$mf" : 'X\(//\)[^/]' \| \
21318 X"$mf" : 'X\(//\)$' \| \
21319 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21325 /^X\(\/\/\)[^/].*/{
21341 # Extract the definition of DEPDIR, am__include, and am__quote
21342 # from the Makefile without running `make'.
21343 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21344 test -z "$DEPDIR" && continue
21345 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21346 test -z "am__include" && continue
21347 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21348 # When using ansi2knr, U may be empty or an underscore; expand it
21349 U
=`sed -n 's/^U = //p' < "$mf"`
21350 # Find all dependency output files, they are included files with
21351 # $(DEPDIR) in their names. We invoke sed twice because it is the
21352 # simplest approach to changing $(DEPDIR) to its actual value in the
21354 for file in `sed -n "
21355 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21356 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21357 # Make sure the directory exists.
21358 test -f "$dirpart/$file" && continue
21359 fdir
=`$as_dirname -- "$file" ||
21360 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21361 X"$file" : 'X\(//\)[^/]' \| \
21362 X"$file" : 'X\(//\)$' \| \
21363 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21364 $as_echo X"$file" |
21365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21369 /^X\(\/\/\)[^/].*/{
21382 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21383 # echo "creating $dirpart/$file"
21384 echo '# dummy' > "$dirpart/$file"
21391 # See if we are running on zsh, and set the options which allow our
21392 # commands through without removal of \ escapes.
21393 if test -n "${ZSH_VERSION+set}" ; then
21394 setopt NO_GLOB_SUBST
21397 cfgfile
="${ofile}T"
21398 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21401 cat <<_LT_EOF >> "$cfgfile"
21404 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21405 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21406 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21408 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21409 # 2006, 2007, 2008 Free Software Foundation, Inc.
21410 # Written by Gordon Matzigkeit, 1996
21412 # This file is part of GNU Libtool.
21414 # GNU Libtool is free software; you can redistribute it and/or
21415 # modify it under the terms of the GNU General Public License as
21416 # published by the Free Software Foundation; either version 2 of
21417 # the License, or (at your option) any later version.
21419 # As a special exception to the GNU General Public License,
21420 # if you distribute this file as part of a program or library that
21421 # is built using GNU Libtool, you may include this file under the
21422 # same distribution terms that you use for the rest of that program.
21424 # GNU Libtool is distributed in the hope that it will be useful,
21425 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21426 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21427 # GNU General Public License for more details.
21429 # You should have received a copy of the GNU General Public License
21430 # along with GNU Libtool; see the file COPYING. If not, a copy
21431 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21432 # obtained by writing to the Free Software Foundation, Inc.,
21433 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21436 # The names of the tagged configurations supported by this script.
21439 # ### BEGIN LIBTOOL CONFIG
21441 # Which release of libtool.m4 was used?
21442 macro_version=$macro_version
21443 macro_revision=$macro_revision
21445 # Whether or not to build shared libraries.
21446 build_libtool_libs=$enable_shared
21448 # Whether or not to build static libraries.
21449 build_old_libs=$enable_static
21451 # What type of objects to build.
21454 # Whether or not to optimize for fast installation.
21455 fast_install=$enable_fast_install
21458 host_alias=$host_alias
21462 # The build system.
21463 build_alias=$build_alias
21467 # A sed program that does not truncate output.
21470 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21471 Xsed="\$SED -e 1s/^X//"
21473 # A grep program that handles long lines.
21479 # A literal string matcher.
21482 # A BSD- or MS-compatible name lister.
21485 # Whether we need soft or hard links.
21488 # What is the maximum length of a command?
21489 max_cmd_len=$max_cmd_len
21491 # Object file suffix (normally "o").
21494 # Executable file suffix (normally "").
21497 # whether the shell understands "unset".
21500 # turn spaces into newlines.
21503 # turn newlines into spaces.
21506 # How to create reloadable object files.
21507 reload_flag=$lt_reload_flag
21508 reload_cmds=$lt_reload_cmds
21510 # An object symbol dumper.
21511 OBJDUMP=$lt_OBJDUMP
21513 # Method to check whether dependent libraries are shared objects.
21514 deplibs_check_method=$lt_deplibs_check_method
21516 # Command to use when deplibs_check_method == "file_magic".
21517 file_magic_cmd=$lt_file_magic_cmd
21521 AR_FLAGS=$lt_AR_FLAGS
21523 # A symbol stripping program.
21526 # Commands used to install an old-style archive.
21528 old_postinstall_cmds=$lt_old_postinstall_cmds
21529 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21534 # LTCC compiler flags.
21535 LTCFLAGS=$lt_CFLAGS
21537 # Take the output of nm and produce a listing of raw symbols and C names.
21538 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21540 # Transform the output of nm in a proper C declaration.
21541 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21543 # Transform the output of nm in a C name address pair.
21544 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21546 # Transform the output of nm in a C name address pair when lib prefix is needed.
21547 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21549 # The name of the directory that contains temporary libtool files.
21552 # Shell to use when invoking shell scripts.
21555 # An echo program that does not interpret backslashes.
21558 # Used to examine libraries when file_magic_cmd begins with "file".
21559 MAGIC_CMD=$MAGIC_CMD
21561 # Must we lock files when doing compilation?
21562 need_locks=$lt_need_locks
21564 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21565 DSYMUTIL=$lt_DSYMUTIL
21567 # Tool to change global to local symbols on Mac OS X.
21570 # Tool to manipulate fat objects and archives on Mac OS X.
21573 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21576 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21577 OTOOL64=$lt_OTOOL64
21579 # Old archive suffix (normally "a").
21582 # Shared library suffix (normally ".so").
21583 shrext_cmds=$lt_shrext_cmds
21585 # The commands to extract the exported symbol list from a shared archive.
21586 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21588 # Variables whose values should be saved in libtool wrapper scripts and
21589 # restored at link time.
21590 variables_saved_for_relink=$lt_variables_saved_for_relink
21592 # Do we need the "lib" prefix for modules?
21593 need_lib_prefix=$need_lib_prefix
21595 # Do we need a version for libraries?
21596 need_version=$need_version
21598 # Library versioning type.
21599 version_type=$version_type
21601 # Shared library runtime path variable.
21602 runpath_var=$runpath_var
21604 # Shared library path variable.
21605 shlibpath_var=$shlibpath_var
21607 # Is shlibpath searched before the hard-coded library search path?
21608 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21610 # Format of library name prefix.
21611 libname_spec=$lt_libname_spec
21613 # List of archive names. First name is the real one, the rest are links.
21614 # The last name is the one that the linker finds with -lNAME
21615 library_names_spec=$lt_library_names_spec
21617 # The coded name of the library, if different from the real name.
21618 soname_spec=$lt_soname_spec
21620 # Command to use after installation of a shared archive.
21621 postinstall_cmds=$lt_postinstall_cmds
21623 # Command to use after uninstallation of a shared archive.
21624 postuninstall_cmds=$lt_postuninstall_cmds
21626 # Commands used to finish a libtool library installation in a directory.
21627 finish_cmds=$lt_finish_cmds
21629 # As "finish_cmds", except a single script fragment to be evaled but
21631 finish_eval=$lt_finish_eval
21633 # Whether we should hardcode library paths into libraries.
21634 hardcode_into_libs=$hardcode_into_libs
21636 # Compile-time system search path for libraries.
21637 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21639 # Run-time system search path for libraries.
21640 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21642 # Whether dlopen is supported.
21643 dlopen_support=$enable_dlopen
21645 # Whether dlopen of programs is supported.
21646 dlopen_self=$enable_dlopen_self
21648 # Whether dlopen of statically linked programs is supported.
21649 dlopen_self_static=$enable_dlopen_self_static
21651 # Commands to strip libraries.
21652 old_striplib=$lt_old_striplib
21653 striplib=$lt_striplib
21656 # The linker used to build libraries.
21659 # Commands used to build an old-style archive.
21660 old_archive_cmds=$lt_old_archive_cmds
21662 # A language specific compiler.
21665 # Is the compiler the GNU compiler?
21668 # Compiler flag to turn off builtin functions.
21669 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21671 # How to pass a linker flag through the compiler.
21672 wl=$lt_lt_prog_compiler_wl
21674 # Additional compiler flags for building library objects.
21675 pic_flag=$lt_lt_prog_compiler_pic
21677 # Compiler flag to prevent dynamic linking.
21678 link_static_flag=$lt_lt_prog_compiler_static
21680 # Does compiler simultaneously support -c and -o options?
21681 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21683 # Whether or not to add -lc for building shared libraries.
21684 build_libtool_need_lc=$archive_cmds_need_lc
21686 # Whether or not to disallow shared libs when runtime libs are static.
21687 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21689 # Compiler flag to allow reflexive dlopens.
21690 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21692 # Compiler flag to generate shared objects directly from archives.
21693 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21695 # Whether the compiler copes with passing no objects directly.
21696 compiler_needs_object=$lt_compiler_needs_object
21698 # Create an old-style archive from a shared archive.
21699 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21701 # Create a temporary old-style archive to link instead of a shared archive.
21702 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21704 # Commands used to build a shared archive.
21705 archive_cmds=$lt_archive_cmds
21706 archive_expsym_cmds=$lt_archive_expsym_cmds
21708 # Commands used to build a loadable module if different from building
21709 # a shared archive.
21710 module_cmds=$lt_module_cmds
21711 module_expsym_cmds=$lt_module_expsym_cmds
21713 # Whether we are building with GNU ld or not.
21714 with_gnu_ld=$lt_with_gnu_ld
21716 # Flag that allows shared libraries with undefined symbols to be built.
21717 allow_undefined_flag=$lt_allow_undefined_flag
21719 # Flag that enforces no undefined symbols.
21720 no_undefined_flag=$lt_no_undefined_flag
21722 # Flag to hardcode \$libdir into a binary during linking.
21723 # This must work even if \$libdir does not exist
21724 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21726 # If ld is used when linking, flag to hardcode \$libdir into a binary
21727 # during linking. This must work even if \$libdir does not exist.
21728 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21730 # Whether we need a single "-rpath" flag with a separated argument.
21731 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21733 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21734 # DIR into the resulting binary.
21735 hardcode_direct=$hardcode_direct
21737 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21738 # DIR into the resulting binary and the resulting library dependency is
21739 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21740 # library is relocated.
21741 hardcode_direct_absolute=$hardcode_direct_absolute
21743 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21744 # into the resulting binary.
21745 hardcode_minus_L=$hardcode_minus_L
21747 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21748 # into the resulting binary.
21749 hardcode_shlibpath_var=$hardcode_shlibpath_var
21751 # Set to "yes" if building a shared library automatically hardcodes DIR
21752 # into the library and all subsequent libraries and executables linked
21754 hardcode_automatic=$hardcode_automatic
21756 # Set to yes if linker adds runtime paths of dependent libraries
21757 # to runtime path list.
21758 inherit_rpath=$inherit_rpath
21760 # Whether libtool must link a program against all its dependency libraries.
21761 link_all_deplibs=$link_all_deplibs
21763 # Fix the shell variable \$srcfile for the compiler.
21764 fix_srcfile_path=$lt_fix_srcfile_path
21766 # Set to "yes" if exported symbols are required.
21767 always_export_symbols=$always_export_symbols
21769 # The commands to list exported symbols.
21770 export_symbols_cmds=$lt_export_symbols_cmds
21772 # Symbols that should not be listed in the preloaded symbols.
21773 exclude_expsyms=$lt_exclude_expsyms
21775 # Symbols that must always be exported.
21776 include_expsyms=$lt_include_expsyms
21778 # Commands necessary for linking programs (against libraries) with templates.
21779 prelink_cmds=$lt_prelink_cmds
21781 # Specify filename containing input files.
21782 file_list_spec=$lt_file_list_spec
21784 # How to hardcode a shared library path into an executable.
21785 hardcode_action=$hardcode_action
21787 # ### END LIBTOOL CONFIG
21793 cat <<\_LT_EOF
>> "$cfgfile"
21794 # AIX sometimes has problems with the GCC collect2 program. For some
21795 # reason, if we set the COLLECT_NAMES environment variable, the problems
21796 # vanish in a puff of smoke.
21797 if test "X${COLLECT_NAMES+set}" != Xset
; then
21799 export COLLECT_NAMES
21806 ltmain
="$ac_aux_dir/ltmain.sh"
21809 # We use sed instead of cat because bash on DJGPP gets confused if
21810 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21811 # text mode, it properly converts lines to CR/LF. This bash problem
21812 # is reportedly fixed, but why not run on old versions too?
21813 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21814 ||
(rm -f "$cfgfile"; exit 1)
21818 cat << \_LT_EOF
>> "$cfgfile"
21820 # func_dirname file append nondir_replacement
21821 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21822 # otherwise set result to NONDIR_REPLACEMENT.
21826 */*) func_dirname_result
="${1%/*}${2}" ;;
21827 * ) func_dirname_result
="${3}" ;;
21831 # func_basename file
21834 func_basename_result
="${1##*/}"
21837 # func_dirname_and_basename file append nondir_replacement
21838 # perform func_basename and func_dirname in a single function
21840 # dirname: Compute the dirname of FILE. If nonempty,
21841 # add APPEND to the result, otherwise set result
21842 # to NONDIR_REPLACEMENT.
21843 # value returned in "$func_dirname_result"
21844 # basename: Compute filename of FILE.
21845 # value retuned in "$func_basename_result"
21846 # Implementation must be kept synchronized with func_dirname
21847 # and func_basename. For efficiency, we do not delegate to
21848 # those functions but instead duplicate the functionality here.
21849 func_dirname_and_basename
()
21852 */*) func_dirname_result
="${1%/*}${2}" ;;
21853 * ) func_dirname_result
="${3}" ;;
21855 func_basename_result
="${1##*/}"
21858 # func_stripname prefix suffix name
21859 # strip PREFIX and SUFFIX off of NAME.
21860 # PREFIX and SUFFIX must not contain globbing or regex special
21861 # characters, hashes, percent signs, but SUFFIX may contain a leading
21862 # dot (in which case that matches only a dot).
21865 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21866 # positional parameters, so assign one to ordinary parameter first.
21867 func_stripname_result
=${3}
21868 func_stripname_result
=${func_stripname_result#"${1}"}
21869 func_stripname_result
=${func_stripname_result%"${2}"}
21875 func_opt_split_opt
=${1%%=*}
21876 func_opt_split_arg
=${1#*=}
21883 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21884 *) func_lo2o_result
=${1} ;;
21888 # func_xform libobj-or-source
21891 func_xform_result
=${1%.*}.lo
21894 # func_arith arithmetic-term...
21897 func_arith_result
=$
(( $
* ))
21901 # STRING may not start with a hyphen.
21904 func_len_result
=${#1}
21909 *) # Bourne compatible functions.
21910 cat << \_LT_EOF
>> "$cfgfile"
21912 # func_dirname file append nondir_replacement
21913 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21914 # otherwise set result to NONDIR_REPLACEMENT.
21917 # Extract subdirectory from the argument.
21918 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21919 if test "X$func_dirname_result" = "X${1}"; then
21920 func_dirname_result
="${3}"
21922 func_dirname_result
="$func_dirname_result${2}"
21926 # func_basename file
21929 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21933 # func_stripname prefix suffix name
21934 # strip PREFIX and SUFFIX off of NAME.
21935 # PREFIX and SUFFIX must not contain globbing or regex special
21936 # characters, hashes, percent signs, but SUFFIX may contain a leading
21937 # dot (in which case that matches only a dot).
21938 # func_strip_suffix prefix name
21942 .
*) func_stripname_result
=`$ECHO "X${3}" \
21943 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21944 *) func_stripname_result
=`$ECHO "X${3}" \
21945 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21950 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21951 my_sed_long_arg
='1s/^-[^=]*=//'
21956 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21957 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21963 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21966 # func_xform libobj-or-source
21969 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21972 # func_arith arithmetic-term...
21975 func_arith_result
=`expr "$@"`
21979 # STRING may not start with a hyphen.
21982 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21988 case $lt_shell_append in
21990 cat << \_LT_EOF
>> "$cfgfile"
21992 # func_append var value
21993 # Append VALUE to the end of shell variable VAR.
22001 cat << \_LT_EOF
>> "$cfgfile"
22003 # func_append var value
22004 # Append VALUE to the end of shell variable VAR.
22015 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22016 ||
(rm -f "$cfgfile"; exit 1)
22018 mv -f "$cfgfile" "$ofile" ||
22019 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22023 "po-directories":C
)
22024 for ac_file
in $CONFIG_FILES; do
22025 # Support "outfile[:infile[:infile...]]"
22027 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22029 # PO directories have a Makefile.in generated from Makefile.in.in.
22030 case "$ac_file" in */Makefile.
in)
22031 # Adjust a relative srcdir.
22032 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22033 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
22034 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22035 # In autoconf-2.13 it is called $ac_given_srcdir.
22036 # In autoconf-2.50 it is called $srcdir.
22037 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
22038 case "$ac_given_srcdir" in
22039 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
22040 /*) top_srcdir
="$ac_given_srcdir" ;;
22041 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22043 # Treat a directory as a PO directory if and only if it has a
22044 # POTFILES.in file. This allows packages to have multiple PO
22045 # directories under different names or in different locations.
22046 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22047 rm -f "$ac_dir/POTFILES"
22048 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
22049 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22050 POMAKEFILEDEPS
="POTFILES.in"
22051 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
22052 # on $ac_dir but don't depend on user-specified configuration
22054 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22055 # The LINGUAS file contains the set of available languages.
22056 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22057 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
22059 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22060 # Hide the ALL_LINGUAS assigment from automake < 1.5.
22061 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22062 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
22064 # The set of available languages was given in configure.in.
22065 # Hide the ALL_LINGUAS assigment from automake < 1.5.
22066 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22069 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
22070 # Compute UPDATEPOFILES
22071 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
22072 # Compute DUMMYPOFILES
22073 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
22075 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
22076 case "$ac_given_srcdir" in
22078 *) srcdirpre
='$(srcdir)/' ;;
22084 for lang
in $ALL_LINGUAS; do
22085 POFILES
="$POFILES $srcdirpre$lang.po"
22086 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
22087 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
22088 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22090 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22091 # environment variable.
22093 if test -n "$ALL_LINGUAS"; then
22094 for presentlang
in $ALL_LINGUAS; do
22096 if test "%UNSET%" != "$LINGUAS"; then
22097 desiredlanguages
="$LINGUAS"
22099 desiredlanguages
="$ALL_LINGUAS"
22101 for desiredlang
in $desiredlanguages; do
22102 # Use the presentlang catalog if desiredlang is
22103 # a. equal to presentlang, or
22104 # b. a variant of presentlang (because in this case,
22105 # presentlang can be used as a fallback for messages
22106 # which are not translated in the desiredlang catalog).
22107 case "$desiredlang" in
22108 "$presentlang"*) useit
=yes;;
22111 if test $useit = yes; then
22112 INST_LINGUAS
="$INST_LINGUAS $presentlang"
22117 if test -n "$INST_LINGUAS"; then
22118 for lang
in $INST_LINGUAS; do
22119 CATALOGS
="$CATALOGS $lang.gmo"
22122 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
22123 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"
22124 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
22125 if test -f "$f"; then
22127 *.orig |
*.bak |
*~
) ;;
22128 *) cat "$f" >> "$ac_dir/Makefile" ;;
22143 ac_clean_files
=$ac_clean_files_save
22145 test $ac_write_fail = 0 ||
22146 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22149 # configure is writing to config.log, and then calls config.status.
22150 # config.status does its own redirection, appending to config.log.
22151 # Unfortunately, on DOS this fails, as config.log is still kept open
22152 # by configure, so config.status won't be able to write to it; its
22153 # output is simply discarded. So we exec the FD to /dev/null,
22154 # effectively closing config.log, so it can be properly (re)opened and
22155 # appended to by config.status. When coming back to configure, we
22156 # need to make the FD available again.
22157 if test "$no_create" != yes; then
22159 ac_config_status_args
=
22160 test "$silent" = yes &&
22161 ac_config_status_args
="$ac_config_status_args --quiet"
22163 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22165 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22166 # would make configure fail if this is the last instruction.
22167 $ac_cs_success || as_fn_exit
1
22169 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22171 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}