2 @%:@ From configure.ac Rev:6 by chappa@washington.edu.
3 @%:@ Guess values for system-dependent variables and create Makefiles.
4 @%:@ Generated by GNU Autoconf 2.69 for alpine 2.19.2.
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 @%:@(
174 set -o posix ;; @%:@(
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=.
218 case $as_dir in @%:@(
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 @S|@? to STATUS, without forking.
304 } @%:@ as_fn_set_status
306 @%:@ as_fn_exit STATUS
307 @%:@ -----------------
308 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 @%:@ Create "@S|@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
376 @%:@ implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
389 @%:@ as_fn_arith ARG...
390 @%:@ ------------------
391 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
392 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
393 @%:@ must be portable across @S|@(()) 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 @S|@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.19.2'
734 PACKAGE_STRING='alpine 2.19.2'
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
871 MAINTAINER_MODE_FALSE
881 INSTALL_STRIP_PROGRAM
923 program_transform_name
936 enable_option_checking
937 enable_maintainer_mode
938 enable_dependency_tracking
952 enable_osx_universal_binaries
962 enable_background_post
970 with_simple_spellcheck
971 with_interactive_spellcheck
973 with_system_fixed_pinerc
974 with_local_support_info
975 with_mailcheck_interval
976 with_checkpoint_interval
977 with_checkpoint_frequency
980 with_max_display_rows
981 with_max_display_columns
987 with_forwarded_keyword
991 with_default_save_folder
992 with_default_legacy_postponed_folder
993 with_default_postponed_folder
994 with_default_trash_folder
995 with_default_interrupted_mail
996 with_default_dead_letter_folder
997 with_default_mail_directory
998 with_default_inbox_name
999 with_default_signature_file
1000 with_default_elm_style_save
1001 with_default_header_in_reply
1002 with_default_old_style_reply
1003 with_default_use_only_domain_name
1004 with_default_save_by_sender
1005 with_default_sort_key
1006 with_default_addressbook_sort_rule
1007 with_default_folder_sort_rule
1008 with_default_saved_message_name_rule
1009 with_default_fcc_rule
1010 with_default_standard_printer
1011 with_default_ansi_printer
1012 with_default_addressbook
1013 with_default_local_fullname
1014 with_default_local_address
1015 with_default_keyboard_lock_count
1016 with_default_remote_addressbook_history
1017 with_smime_public_cert_directory
1018 with_smime_private_key_directory
1019 with_smime_cacert_directory
1020 with_default_printer
1022 with_local_password_cache
1023 with_local_password_cache_method
1024 with_default_sshpath
1029 with_ssl_include_dir
1033 with_krb5_include_dir
1037 with_ldap_include_dir
1045 with_system_mail_directory
1046 with_c_client_target
1049 ac_precious_vars='build_alias
1060 # Initialize some variables set by options.
1062 ac_init_version=false
1063 ac_unrecognized_opts=
1064 ac_unrecognized_sep=
1065 # The variables have the same names as the options, with
1066 # dashes changed to underlines.
1067 cache_file=/dev/null
1074 program_transform_name=s,x,x,
1082 # Installation directory options.
1083 # These are left unexpanded so users can "make install exec_prefix=/foo"
1084 # and all the variables that are supposed to be based on exec_prefix
1085 # by default will actually change.
1086 # Use braces instead of parens because sh, perl, etc. also accept them.
1087 # (The list follows the same order as the GNU Coding Standards.)
1088 bindir='${exec_prefix}/bin'
1089 sbindir='${exec_prefix}/sbin'
1090 libexecdir='${exec_prefix}/libexec'
1091 datarootdir='${prefix}/share'
1092 datadir='${datarootdir}'
1093 sysconfdir='${prefix}/etc'
1094 sharedstatedir='${prefix}/com'
1095 localstatedir='${prefix}/var'
1096 Includedir='${prefix}/include'
1097 oldIncludedir='/usr/include'
1098 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1099 infodir='${datarootdir}/info'
1104 libdir='${exec_prefix}/lib'
1105 localedir='${datarootdir}/locale'
1106 mandir='${datarootdir}/man'
1112 # If the previous option needs an argument, assign it.
1113 if test -n "$ac_prev"; then
1114 eval $ac_prev=\$ac_option
1120 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1125 # Accept the important Cygnus configure options, so we can diagnose typos.
1127 case $ac_dashdash$ac_option in
1131 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1133 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1134 bindir=$ac_optarg ;;
1136 -build | --build | --buil | --bui | --bu)
1137 ac_prev=build_alias ;;
1138 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1139 build_alias=$ac_optarg ;;
1141 -cache-file | --cache-file | --cache-fil | --cache-fi \
1142 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1143 ac_prev=cache_file ;;
1144 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1145 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1146 cache_file=$ac_optarg ;;
1148 --config-cache | -C)
1149 cache_file=config.cache ;;
1151 -datadir | --datadir | --datadi | --datad)
1153 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1154 datadir=$ac_optarg ;;
1156 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1157 | --dataroo | --dataro | --datar)
1158 ac_prev=datarootdir ;;
1159 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1160 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1161 datarootdir=$ac_optarg ;;
1163 -disable-* | --disable-*)
1164 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167 as_fn_error $? "invalid feature name: $ac_useropt"
1168 ac_useropt_orig=$ac_useropt
1169 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1172 "enable_$ac_useropt"
1174 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1175 ac_unrecognized_sep=', ';;
1177 eval enable_$ac_useropt=no ;;
1179 -docdir | --docdir | --docdi | --doc | --do)
1181 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1182 docdir=$ac_optarg ;;
1184 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1186 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1187 dvidir=$ac_optarg ;;
1189 -enable-* | --enable-*)
1190 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193 as_fn_error $? "invalid feature name: $ac_useropt"
1194 ac_useropt_orig=$ac_useropt
1195 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1198 "enable_$ac_useropt"
1200 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1201 ac_unrecognized_sep=', ';;
1203 eval enable_$ac_useropt=\$ac_optarg ;;
1205 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1206 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1207 | --exec | --exe | --ex)
1208 ac_prev=exec_prefix ;;
1209 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1210 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1211 | --exec=* | --exe=* | --ex=*)
1212 exec_prefix=$ac_optarg ;;
1214 -gas | --gas | --ga | --g)
1215 # Obsolete; use --with-gas.
1218 -help | --help | --hel | --he | -h)
1219 ac_init_help=long ;;
1220 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1221 ac_init_help=recursive ;;
1222 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1223 ac_init_help=short ;;
1225 -host | --host | --hos | --ho)
1226 ac_prev=host_alias ;;
1227 -host=* | --host=* | --hos=* | --ho=*)
1228 host_alias=$ac_optarg ;;
1230 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1232 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1234 htmldir=$ac_optarg ;;
1236 -Includedir | --includedir | --includedi | --included | --include \
1237 | --includ | --inclu | --incl | --inc)
1238 ac_prev=Includedir ;;
1239 -Includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1240 | --includ=* | --inclu=* | --incl=* | --inc=*)
1241 Includedir=$ac_optarg ;;
1243 -infodir | --infodir | --infodi | --infod | --info | --inf)
1245 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1246 infodir=$ac_optarg ;;
1248 -libdir | --libdir | --libdi | --libd)
1250 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1251 libdir=$ac_optarg ;;
1253 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1254 | --libexe | --libex | --libe)
1255 ac_prev=libexecdir ;;
1256 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1257 | --libexe=* | --libex=* | --libe=*)
1258 libexecdir=$ac_optarg ;;
1260 -localedir | --localedir | --localedi | --localed | --locale)
1261 ac_prev=localedir ;;
1262 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1263 localedir=$ac_optarg ;;
1265 -localstatedir | --localstatedir | --localstatedi | --localstated \
1266 | --localstate | --localstat | --localsta | --localst | --locals)
1267 ac_prev=localstatedir ;;
1268 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1269 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1270 localstatedir=$ac_optarg ;;
1272 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1274 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1275 mandir=$ac_optarg ;;
1277 -nfp | --nfp | --nf)
1278 # Obsolete; use --without-fp.
1281 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1282 | --no-cr | --no-c | -n)
1285 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1286 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1289 -oldIncludedir | --oldincludedir | --oldincludedi | --oldincluded \
1290 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1291 | --oldin | --oldi | --old | --ol | --o)
1292 ac_prev=oldIncludedir ;;
1293 -oldIncludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1294 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1295 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1296 oldIncludedir=$ac_optarg ;;
1298 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1300 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1301 prefix=$ac_optarg ;;
1303 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1304 | --program-pre | --program-pr | --program-p)
1305 ac_prev=program_prefix ;;
1306 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1307 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1308 program_prefix=$ac_optarg ;;
1310 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1311 | --program-suf | --program-su | --program-s)
1312 ac_prev=program_suffix ;;
1313 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1314 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1315 program_suffix=$ac_optarg ;;
1317 -program-transform-name | --program-transform-name \
1318 | --program-transform-nam | --program-transform-na \
1319 | --program-transform-n | --program-transform- \
1320 | --program-transform | --program-transfor \
1321 | --program-transfo | --program-transf \
1322 | --program-trans | --program-tran \
1323 | --progr-tra | --program-tr | --program-t)
1324 ac_prev=program_transform_name ;;
1325 -program-transform-name=* | --program-transform-name=* \
1326 | --program-transform-nam=* | --program-transform-na=* \
1327 | --program-transform-n=* | --program-transform-=* \
1328 | --program-transform=* | --program-transfor=* \
1329 | --program-transfo=* | --program-transf=* \
1330 | --program-trans=* | --program-tran=* \
1331 | --progr-tra=* | --program-tr=* | --program-t=*)
1332 program_transform_name=$ac_optarg ;;
1334 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1336 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1337 pdfdir=$ac_optarg ;;
1339 -psdir | --psdir | --psdi | --psd | --ps)
1341 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1345 | -silent | --silent | --silen | --sile | --sil)
1348 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1350 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1352 sbindir=$ac_optarg ;;
1354 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1355 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1356 | --sharedst | --shareds | --shared | --share | --shar \
1358 ac_prev=sharedstatedir ;;
1359 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1360 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1361 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1363 sharedstatedir=$ac_optarg ;;
1365 -site | --site | --sit)
1367 -site=* | --site=* | --sit=*)
1370 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1372 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1373 srcdir=$ac_optarg ;;
1375 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1376 | --syscon | --sysco | --sysc | --sys | --sy)
1377 ac_prev=sysconfdir ;;
1378 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1379 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1380 sysconfdir=$ac_optarg ;;
1382 -target | --target | --targe | --targ | --tar | --ta | --t)
1383 ac_prev=target_alias ;;
1384 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1385 target_alias=$ac_optarg ;;
1387 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1390 -version | --version | --versio | --versi | --vers | -V)
1391 ac_init_version=: ;;
1394 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1395 # Reject names that are not valid shell variable names.
1396 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1397 as_fn_error $? "invalid package name: $ac_useropt"
1398 ac_useropt_orig=$ac_useropt
1399 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1400 case $ac_user_opts in
1404 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1405 ac_unrecognized_sep=', ';;
1407 eval with_$ac_useropt=\$ac_optarg ;;
1409 -without-* | --without-*)
1410 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1413 as_fn_error $? "invalid package name: $ac_useropt"
1414 ac_useropt_orig=$ac_useropt
1415 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1416 case $ac_user_opts in
1420 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1421 ac_unrecognized_sep=', ';;
1423 eval with_$ac_useropt=no ;;
1426 # Obsolete; use --with-x.
1429 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1430 | --x-incl | --x-inc | --x-in | --x-i)
1431 ac_prev=x_includes ;;
1432 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1433 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1434 x_includes=$ac_optarg ;;
1436 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1437 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1438 ac_prev=x_libraries ;;
1439 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1440 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1441 x_libraries=$ac_optarg ;;
1443 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1444 Try \`$0 --help' for more information"
1448 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1449 # Reject names that are not valid shell variable names.
1450 case $ac_envvar in #(
1451 '' | [0-9]* | *[!_$as_cr_alnum]* )
1452 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1454 eval $ac_envvar=\$ac_optarg
1455 export $ac_envvar ;;
1458 # FIXME: should be removed in autoconf 3.0.
1459 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1460 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1461 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1462 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1468 if test -n "$ac_prev"; then
1469 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1470 as_fn_error $? "missing argument to $ac_option"
1473 if test -n "$ac_unrecognized_opts"; then
1474 case $enable_option_checking in
1476 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1477 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1481 # Check all directory arguments for consistency.
1482 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1483 datadir sysconfdir sharedstatedir localstatedir Includedir \
1484 oldIncludedir docdir infodir htmldir dvidir pdfdir psdir \
1485 libdir localedir mandir
1487 eval ac_val=\$$ac_var
1488 # Remove trailing slashes.
1491 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1492 eval $ac_var=\$ac_val;;
1494 # Be sure to have absolute directory names.
1496 [\\/$]* | ?:[\\/]* ) continue;;
1497 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1499 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1502 # There might be people who depend on the old broken behavior: `$host'
1503 # used to hold the argument of --host etc.
1504 # FIXME: To remove some day.
1507 target=$target_alias
1509 # FIXME: To remove some day.
1510 if test "x$host_alias" != x; then
1511 if test "x$build_alias" = x; then
1512 cross_compiling=maybe
1513 elif test "x$build_alias" != "x$host_alias"; then
1519 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1521 test "$silent" = yes && exec 6>/dev/null
1524 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1525 ac_ls_di=`ls -di .` &&
1526 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1527 as_fn_error $? "working directory cannot be determined"
1528 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1529 as_fn_error $? "pwd does not report name of working directory"
1532 # Find the source files, if location was not specified.
1533 if test -z "$srcdir"; then
1534 ac_srcdir_defaulted=yes
1535 # Try the directory containing this script, then the parent directory.
1536 ac_confdir=`$as_dirname -- "$as_myself" ||
1537 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1538 X"$as_myself" : 'X\(//\)[^/]' \| \
1539 X"$as_myself" : 'X\(//\)$' \| \
1540 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1541 $as_echo X"$as_myself" |
1542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1560 if test ! -r "$srcdir/$ac_unique_file"; then
1564 ac_srcdir_defaulted=no
1566 if test ! -r "$srcdir/$ac_unique_file"; then
1567 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1568 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1572 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1574 # When building in place, set srcdir=.
1575 if test "$ac_abs_confdir" = "$ac_pwd"; then
1578 # Remove unnecessary trailing slashes from srcdir.
1579 # Double slashes in file names in object file debugging info
1580 # mess up M-x gdb in Emacs.
1582 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 for ac_var in $ac_precious_vars; do
1585 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1586 eval ac_env_${ac_var}_value=\$${ac_var}
1587 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1588 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1592 # Report the --help message.
1594 if test "$ac_init_help" = "long"; then
1595 # Omit some internal or obsolete options to make the list less imposing.
1596 # This message is too long to be a string in the A/UX 3.1 sh.
1598 \`configure' configures alpine 2.19.2 to adapt to many kinds of systems.
1600 Usage: $0 [OPTION]... [VAR=VALUE]...
1602 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1603 VAR=VALUE. See below for descriptions of some of the useful variables.
1605 Defaults for the options are specified in brackets.
1608 -h, --help display this help and exit
1609 --help=short display options specific to this package
1610 --help=recursive display the short help of all the Included packages
1611 -V, --version display version information and exit
1612 -q, --quiet, --silent do not print \`checking ...' messages
1613 --cache-file=FILE cache test results in FILE [disabled]
1614 -C, --config-cache alias for \`--cache-file=config.cache'
1615 -n, --no-create do not create output files
1616 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618 Installation directories:
1619 --prefix=PREFIX install architecture-independent files in PREFIX
1620 @<:@@S|@ac_default_prefix@:>@
1621 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1624 By default, \`make install' will install all the files in
1625 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1626 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1627 for instance \`--prefix=\$HOME'.
1629 For better control, use the options below.
1631 Fine tuning of the installation directories:
1632 --bindir=DIR user executables [EPREFIX/bin]
1633 --sbindir=DIR system admin executables [EPREFIX/sbin]
1634 --libexecdir=DIR program executables [EPREFIX/libexec]
1635 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1636 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1637 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1638 --libdir=DIR object code libraries [EPREFIX/lib]
1639 --Includedir=DIR C header files [PREFIX/include]
1640 --oldIncludedir=DIR C header files for non-gcc [/usr/include]
1641 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1642 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1643 --infodir=DIR info documentation [DATAROOTDIR/info]
1644 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1645 --mandir=DIR man documentation [DATAROOTDIR/man]
1646 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/alpine@:>@
1647 --htmldir=DIR html documentation [DOCDIR]
1648 --dvidir=DIR dvi documentation [DOCDIR]
1649 --pdfdir=DIR pdf documentation [DOCDIR]
1650 --psdir=DIR ps documentation [DOCDIR]
1656 --program-prefix=PREFIX prepend PREFIX to installed program names
1657 --program-suffix=SUFFIX append SUFFIX to installed program names
1658 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of alpine 2.19.2:";;
1673 --disable-option-checking ignore unrecognized --enable/--with options
1674 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1675 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1676 --enable-maintainer-mode enable make rules and dependencies not useful
1677 (and sometimes confusing) to the casual installer
1678 --disable-dependency-tracking speeds up one-time build
1679 --enable-dependency-tracking do not reject slow dependency extractors
1680 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1681 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1682 --enable-fast-install@<:@=PKGS@:>@
1683 optimize for fast installation @<:@default=yes@:>@
1684 --disable-libtool-lock avoid locking (might break parallel builds)
1685 --disable-nls do not use Native Language Support
1686 --disable-rpath do not hardcode runtime library paths
1687 --enable-dmalloc Enable dmalloc debugging
1688 --enable-osx-universal-binaries
1689 Produce universal binaries under OS X @<:@@<:@default=no@:>@@:>@
1690 --disable-debug Exclude debug messages from source
1691 --disable-optimization Exclude optimizing compiler flags
1692 --disable-mouse Disable mouse support
1693 --enable-quotas Enable disk quota checking on startup
1694 --disable-from-changing Disallow users changing From addresss
1695 --disable-background-post
1696 Disable background posting
1697 --disable-keyboard-lock Disable keyboard locking
1698 --enable-from-encoding Enable From encoding in sent messages
1701 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1702 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1703 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1705 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1706 --with-gnu-ld assume the C compiler uses GNU ld default=no
1707 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1708 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1709 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1710 --without-libintl-prefix don't search for libintl in includedir and libdir
1711 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1712 --with-localedir=DIR Name of gettext locale directory
1713 --with-include-path=PATHS
1714 Colon-separated list of directories used for include
1716 --with-lib-path=PATHS Colon-separated list of directories used for library
1718 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1719 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1720 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1721 --with-smtp-msa-flags=FLAGS
1722 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1723 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1724 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1725 --with-password-prog=PATH
1726 Password change program (/bin/passwd)
1727 --with-simple-spellcheck=PROG
1728 Spellcheck program reads stdin, emits misspellings
1730 --with-interactive-spellcheck=PROG
1731 Interactive, filewise spell checker
1732 --with-system-pinerc=VALUE
1733 System pinerc (/usr/local/lib/pine.conf)
1734 --with-system-fixed-pinerc=VALUE
1735 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1736 --with-local-support-info=VALUE
1737 Local Support Info File (/usr/local/lib/pine.info)
1738 --with-mailcheck-interval=VALUE
1739 Specify default mail-check-interval (150)
1740 --with-checkpoint-interval=VALUE
1741 Specify default checkpoint-interval (420)
1742 --with-checkpoint-frequency=VALUE
1743 State change count before checkpoint (12)
1744 --with-display-rows=VALUE
1745 Initial rows on display (24)
1746 --with-display-columns=VALUE
1747 Initial columns on display (80)
1748 --with-max-display-rows=VALUE
1749 Maximum display rows (200)
1750 --with-max-display-columns=VALUE
1751 Maximum display columns (500)
1752 --with-fill-column=VALUE
1753 Default fill column (74)
1754 --with-max_fill-column=VALUE
1755 Maximum fill column (80)
1756 --with-debug-level=VALUE
1757 Specify default debug verbosity level (2)
1758 --with-debug-files=VALUE
1759 Specify number of debug files (4)
1760 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1761 --with-forwarded-keyword=VALUE
1762 IMAP (c-client) keyword to store forwarded status
1764 --with-display-overlap=VALUE
1765 Lines preserved while paging (2)
1766 --with-display-margin=VALUE
1767 Lines visible while scrolling (0)
1768 --with-default-fcc=VALUE
1769 Default sent mail folder (sent-mail)
1770 --with-default-save-folder=VALUE
1771 Default save folder (saved-messages)
1772 --with-default-legacy-postponed-folder=VALUE
1773 Pre Pine 3.90 postponed folder (postponed-mail)
1774 --with-default-postponed-folder=VALUE
1775 Default postponed folder (postponed-msgs)
1776 --with-default-trash-folder=VALUE
1777 Default Trash folder for Web Alpine (Trash)
1778 --with-default-interrupted-mail=VALUE
1779 Default folder for interrupted mail
1780 (.pine-interrupted-mail)
1781 --with-default-dead-letter-folder=VALUE
1782 Default dead letter folder (dead.letter)
1783 --with-default-mail-directory=VALUE
1784 Default mail directory (mail)
1785 --with-default-inbox-name=VALUE
1786 Default inbox name (INBOX)
1787 --with-default-signature-file=VALUE
1788 Default signature file (.signature)
1789 --with-default-elm-style-save=VALUE
1790 Default to Elm style save (no)
1791 --with-default-header-in-reply=VALUE
1792 Include header in reply (no)
1793 --with-default-old-style-reply=VALUE
1794 Default to old style reply (no)
1795 --with-default-use-only-domain-name=VALUE
1796 Default to using only the domain name (no)
1797 --with-default-save-by-sender=VALUE
1798 Default to save by sender (no)
1799 --with-default-sort-key=VALUE
1800 Default sort key (arrival)
1801 --with-default-addressbook-sort-rule=VALUE
1802 Default addressbook sort rule
1803 (fullname-with-lists-last)
1804 --with-default-folder-sort-rule=VALUE
1805 Default folder sort rule (alphabetical)
1806 --with-default-saved-message-name-rule=VALUE
1807 Default saved message name rule (default-folder)
1808 --with-default-fcc-rule=VALUE
1809 Default fcc rule (default-fcc)
1810 --with-default-standard-printer=VALUE
1811 Default standard printern (lpr)
1812 --with-default-ansi-printer=VALUE
1813 ANSI printer definition (attached-to-ansi)
1814 --with-default-addressbook=VALUE
1815 Default addressbook name (.addressbook)
1816 --with-default-local-fullname=VALUE
1817 Default local support fullname ("Local Support")
1818 --with-default-local-address=VALUE
1819 Default local support address (postmaster)
1820 --with-default-keyboard-lock-count=VALUE
1821 Default keyboard lock count (1)
1822 --with-default-remote-addressbook-history=VALUE
1823 Default address book history count (3)
1824 --with-smime-public-cert-directory=VALUE
1825 Default Public Cert Directory (.alpine-smime/public)
1826 --with-smime-private-key-directory=VALUE
1827 Default Private Key Directory
1828 (.alpine-smime/private)
1829 --with-smime-cacert-directory=VALUE
1830 Default Cert Authority Directory (.alpine-smime/ca)
1831 --with-default-printer=VALUE
1832 Default printer (ANSI_PRINTER)
1833 --with-passfile=FILENAME
1834 Password cache file (NOT secure, NOT recommended)
1835 --without-local-password-cache
1836 Disable OS-specific password cache, if supported
1837 --with-local-password-cache-method
1838 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1840 --with-default-sshpath=FILENAME
1841 set default value of ssh command path (defining
1842 should cause ssh to be preferred to rsh)
1843 --with-default-sshcmd=PERCENT_S_STRING
1844 set default value of ssh command string (usually "%s
1845 %s -l %s exec /etc/r%sd")
1846 --without-ssl Disable SSL support (OpenSSL)
1847 --with-ssl-dir=DIR Root of SSL lib/include path
1848 --with-ssl-certs-dir=DIR
1849 Path to SSL certificate directory
1850 --with-ssl-include-dir=DIR
1851 SSL include file path
1852 --with-ssl-lib-dir=DIR SSL library path
1853 --without-krb5 Disable Kerberos support
1854 --with-krb5-dir=DIR Root of Kerberos lib/include path
1855 --with-krb5-include-dir=DIR
1856 Kerberos include file path
1857 --with-krb5-lib-dir=DIR Kerberos library path
1858 --without-ldap Disable LDAP query support
1859 --with-ldap-dir=DIR Root of LDAP lib/include path
1860 --with-ldap-include-dir=DIR
1861 Directory containing LDAP include files
1862 --with-ldap-lib-dir=DIR LDAP library path
1863 --without-smime Disable S/MIME
1864 --without-tcl Disable TCL, thus Web Alpine support
1865 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1866 --with-tcl-include=DIR Directory containing TCL include files
1867 --with-supplied-regex Use regex library supplied with alpine
1868 --without-pthread Do NOT test for nor build with POSIX thread support
1869 --with-system-mail-directory=DIR
1870 Directory where local mail is delivered
1871 --with-c-client-target=TARGET
1872 IMAP build target (see imap/Makefile)
1873 --without-ipv6 Disable IPv6, primarily to work around resolver
1876 Some influential environment variables:
1877 CC C compiler command
1878 CFLAGS C compiler flags
1879 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1880 nonstandard directory <lib dir>
1881 LIBS libraries to pass to the linker, e.g. -l<library>
1882 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1883 you have headers in a nonstandard directory <include dir>
1886 Use these variables to override the choices made by `configure' or to help
1887 it to find libraries and programs with nonstandard names/locations.
1889 Report bugs to <chappa@washington.edu>.
1894 if test "$ac_init_help" = "recursive"; then
1895 # If there are subdirs, report their specific --help.
1896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1897 test -d "$ac_dir" ||
1898 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1903 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1905 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1906 # A ".." for each directory in $ac_dir_suffix.
1907 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1908 case $ac_top_builddir_sub in
1909 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1910 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1913 ac_abs_top_builddir=$ac_pwd
1914 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1915 # for backward compatibility:
1916 ac_top_builddir=$ac_top_build_prefix
1919 .) # We are building in place.
1921 ac_top_srcdir=$ac_top_builddir_sub
1922 ac_abs_top_srcdir=$ac_pwd ;;
1923 [\\/]* | ?:[\\/]* ) # Absolute name.
1924 ac_srcdir=$srcdir$ac_dir_suffix;
1925 ac_top_srcdir=$srcdir
1926 ac_abs_top_srcdir=$srcdir ;;
1928 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1929 ac_top_srcdir=$ac_top_build_prefix$srcdir
1930 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1932 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1934 cd "$ac_dir" || { ac_status=$?; continue; }
1935 # Check for guested configure.
1936 if test -f "$ac_srcdir/configure.gnu"; then
1938 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1939 elif test -f "$ac_srcdir/configure"; then
1941 $SHELL "$ac_srcdir/configure" --help=recursive
1943 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1945 cd "$ac_pwd" || { ac_status=$?; break; }
1949 test -n "$ac_init_help" && exit $ac_status
1950 if $ac_init_version; then
1952 alpine configure 2.19.2
1953 generated by GNU Autoconf 2.69
1955 Copyright (C) 2012 Free Software Foundation, Inc.
1956 This configure script is free software; the Free Software Foundation
1957 gives unlimited permission to copy, distribute and modify it.
1962 ## ------------------------ ##
1963 ## Autoconf initialization. ##
1964 ## ------------------------ ##
1966 @%:@ ac_fn_c_try_compile LINENO
1967 @%:@ --------------------------
1968 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1969 ac_fn_c_try_compile ()
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 rm -f conftest.$ac_objext
1973 if { { ac_try="$ac_compile"
1975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976 *) ac_try_echo=$ac_try;;
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980 (eval "$ac_compile") 2>conftest.err
1982 if test -s conftest.err; then
1983 grep -v '^ *+' conftest.err >conftest.er1
1984 cat conftest.er1 >&5
1985 mv -f conftest.er1 conftest.err
1987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988 test $ac_status = 0; } && {
1989 test -z "$ac_c_werror_flag" ||
1990 test ! -s conftest.err
1991 } && test -s conftest.$ac_objext; then :
1994 $as_echo "$as_me: failed program was:" >&5
1995 sed 's/^/| /' conftest.$ac_ext >&5
1999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000 as_fn_set_status $ac_retval
2002 } @%:@ ac_fn_c_try_compile
2004 @%:@ ac_fn_c_try_link LINENO
2005 @%:@ -----------------------
2006 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 rm -f conftest.$ac_objext conftest$ac_exeext
2011 if { { ac_try="$ac_link"
2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014 *) ac_try_echo=$ac_try;;
2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2017 $as_echo "$ac_try_echo"; } >&5
2018 (eval "$ac_link") 2>conftest.err
2020 if test -s conftest.err; then
2021 grep -v '^ *+' conftest.err >conftest.er1
2022 cat conftest.er1 >&5
2023 mv -f conftest.er1 conftest.err
2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026 test $ac_status = 0; } && {
2027 test -z "$ac_c_werror_flag" ||
2028 test ! -s conftest.err
2029 } && test -s conftest$ac_exeext && {
2030 test "$cross_compiling" = yes ||
2031 test -x conftest$ac_exeext
2035 $as_echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2040 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2041 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2042 # interfere with the next link command; also delete a directory that is
2043 # left behind by Apple's compiler. We do this before executing the actions.
2044 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046 as_fn_set_status $ac_retval
2048 } @%:@ ac_fn_c_try_link
2050 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2051 @%:@ -------------------------------------------------------
2052 @%:@ Tests whether HEADER exists and can be compiled using the include files in
2053 @%:@ INCLUDES, setting the cache variable VAR accordingly.
2054 ac_fn_c_check_header_compile ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058 $as_echo_n "checking for $2... " >&6; }
2059 if eval \${$3+:} false; then :
2060 $as_echo_n "(cached) " >&6
2062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h. */
2067 if ac_fn_c_try_compile "$LINENO"; then :
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079 } @%:@ ac_fn_c_check_header_compile
2081 @%:@ ac_fn_c_try_cpp LINENO
2082 @%:@ ----------------------
2083 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2086 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2087 if { { ac_try="$ac_cpp conftest.$ac_ext"
2089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2090 *) ac_try_echo=$ac_try;;
2092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2093 $as_echo "$ac_try_echo"; } >&5
2094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2096 if test -s conftest.err; then
2097 grep -v '^ *+' conftest.err >conftest.er1
2098 cat conftest.er1 >&5
2099 mv -f conftest.er1 conftest.err
2101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2102 test $ac_status = 0; } > conftest.i && {
2103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2104 test ! -s conftest.err
2108 $as_echo "$as_me: failed program was:" >&5
2109 sed 's/^/| /' conftest.$ac_ext >&5
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114 as_fn_set_status $ac_retval
2116 } @%:@ ac_fn_c_try_cpp
2118 @%:@ ac_fn_c_try_run LINENO
2119 @%:@ ----------------------
2120 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2121 @%:@ that executables *can* be run.
2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125 if { { ac_try="$ac_link"
2127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2128 *) ac_try_echo=$ac_try;;
2130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2131 $as_echo "$ac_try_echo"; } >&5
2132 (eval "$ac_link") 2>&5
2134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2135 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2136 { { case "(($ac_try" in
2137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2138 *) ac_try_echo=$ac_try;;
2140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2141 $as_echo "$ac_try_echo"; } >&5
2142 (eval "$ac_try") 2>&5
2144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2145 test $ac_status = 0; }; }; then :
2148 $as_echo "$as_me: program exited with status $ac_status" >&5
2149 $as_echo "$as_me: failed program was:" >&5
2150 sed 's/^/| /' conftest.$ac_ext >&5
2152 ac_retval=$ac_status
2154 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156 as_fn_set_status $ac_retval
2158 } @%:@ ac_fn_c_try_run
2160 @%:@ ac_fn_c_check_func LINENO FUNC VAR
2161 @%:@ ----------------------------------
2162 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2163 ac_fn_c_check_func ()
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167 $as_echo_n "checking for $2... " >&6; }
2168 if eval \${$3+:} false; then :
2169 $as_echo_n "(cached) " >&6
2171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h. */
2173 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2175 #define $2 innocuous_$2
2177 /* System header to define __stub macros and hopefully few prototypes,
2178 which can conflict with char $2 (); below.
2179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2180 <limits.h> exists even on freestanding compilers. */
2183 # include <limits.h>
2185 # include <assert.h>
2190 /* Override any GCC internal prototype to avoid an error.
2191 Use char because int might match the return type of a GCC
2192 builtin and then its argument prototype would still apply. */
2197 /* The GNU C library defines this for functions which it implements
2198 to always fail with ENOSYS. Some functions are actually named
2199 something starting with __ and the normal name is an alias. */
2200 #if defined __stub_$2 || defined __stub___$2
2212 if ac_fn_c_try_link "$LINENO"; then :
2217 rm -f core conftest.err conftest.$ac_objext \
2218 conftest$ac_exeext conftest.$ac_ext
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2223 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2225 } @%:@ ac_fn_c_check_func
2227 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2228 @%:@ -------------------------------------------------------
2229 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2230 @%:@ the include files in INCLUDES and setting the cache variable VAR
2232 ac_fn_c_check_header_mongrel ()
2234 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2235 if eval \${$3+:} false; then :
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2237 $as_echo_n "checking for $2... " >&6; }
2238 if eval \${$3+:} false; then :
2239 $as_echo_n "(cached) " >&6
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2245 # Is the header compilable?
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2247 $as_echo_n "checking $2 usability... " >&6; }
2248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h. */
2253 if ac_fn_c_try_compile "$LINENO"; then :
2254 ac_header_compiler=yes
2256 ac_header_compiler=no
2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2260 $as_echo "$ac_header_compiler" >&6; }
2262 # Is the header present?
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2264 $as_echo_n "checking $2 presence... " >&6; }
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h. */
2269 if ac_fn_c_try_cpp "$LINENO"; then :
2270 ac_header_preproc=yes
2272 ac_header_preproc=no
2274 rm -f conftest.err conftest.i conftest.$ac_ext
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2276 $as_echo "$ac_header_preproc" >&6; }
2278 # So? What about this header?
2279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2282 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2284 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2288 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2290 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2292 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2294 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2296 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2297 ( $as_echo "## ------------------------------------ ##
2298 ## Report this to chappa@washington.edu ##
2299 ## ------------------------------------ ##"
2300 ) | sed "s/^/$as_me: WARNING: /" >&2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2304 $as_echo_n "checking for $2... " >&6; }
2305 if eval \${$3+:} false; then :
2306 $as_echo_n "(cached) " >&6
2308 eval "$3=\$ac_header_compiler"
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2312 $as_echo "$ac_res" >&6; }
2314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316 } @%:@ ac_fn_c_check_header_mongrel
2318 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2319 @%:@ -------------------------------------------
2320 @%:@ Tests whether TYPE exists after having Included INCLUDES, setting cache
2321 @%:@ variable VAR accordingly.
2322 ac_fn_c_check_type ()
2324 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2326 $as_echo_n "checking for $2... " >&6; }
2327 if eval \${$3+:} false; then :
2328 $as_echo_n "(cached) " >&6
2331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h. */
2343 if ac_fn_c_try_compile "$LINENO"; then :
2344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2345 /* end confdefs.h. */
2356 if ac_fn_c_try_compile "$LINENO"; then :
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2367 $as_echo "$ac_res" >&6; }
2368 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2370 } @%:@ ac_fn_c_check_type
2372 @%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2373 @%:@ --------------------------------------------
2374 @%:@ Tries to find the compile-time value of EXPR in a program that includes
2375 @%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
2377 ac_fn_c_compute_int ()
2379 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2380 if test "$cross_compiling" = yes; then
2381 # Depending upon the size, compute the lo and hi bounds.
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h. */
2388 static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
2389 test_array @<:@0@:>@ = 0;
2390 return test_array @<:@0@:>@;
2396 if ac_fn_c_try_compile "$LINENO"; then :
2399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2400 /* end confdefs.h. */
2405 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2406 test_array @<:@0@:>@ = 0;
2407 return test_array @<:@0@:>@;
2413 if ac_fn_c_try_compile "$LINENO"; then :
2414 ac_hi=$ac_mid; break
2416 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2417 if test $ac_lo -le $ac_mid; then
2421 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2427 /* end confdefs.h. */
2432 static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
2433 test_array @<:@0@:>@ = 0;
2434 return test_array @<:@0@:>@;
2440 if ac_fn_c_try_compile "$LINENO"; then :
2443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444 /* end confdefs.h. */
2449 static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
2450 test_array @<:@0@:>@ = 0;
2451 return test_array @<:@0@:>@;
2457 if ac_fn_c_try_compile "$LINENO"; then :
2458 ac_lo=$ac_mid; break
2460 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2461 if test $ac_mid -le $ac_hi; then
2465 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 # Binary search between lo and hi bounds.
2476 while test "x$ac_lo" != "x$ac_hi"; do
2477 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2484 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2485 test_array @<:@0@:>@ = 0;
2486 return test_array @<:@0@:>@;
2492 if ac_fn_c_try_compile "$LINENO"; then :
2495 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2499 case $ac_lo in @%:@((
2500 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h. */
2507 static long int longval () { return $2; }
2508 static unsigned long int ulongval () { return $2; }
2509 @%:@include <stdio.h>
2510 @%:@include <stdlib.h>
2515 FILE *f = fopen ("conftest.val", "w");
2520 long int i = longval ();
2523 fprintf (f, "%ld", i);
2527 unsigned long int i = ulongval ();
2530 fprintf (f, "%lu", i);
2532 /* Do not output a trailing newline, as this causes \r\n confusion
2533 on some platforms. */
2534 return ferror (f) || fclose (f) != 0;
2540 if ac_fn_c_try_run "$LINENO"; then :
2541 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2546 conftest.$ac_objext conftest.beam conftest.$ac_ext
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 as_fn_set_status $ac_retval
2553 } @%:@ ac_fn_c_compute_int
2554 cat >config.log <<_ACEOF
2555 This file contains any messages produced by compilers while
2556 running configure, to aid debugging if configure makes a mistake.
2558 It was created by alpine $as_me 2.19.2, which was
2559 generated by GNU Autoconf 2.69. Invocation command line was
2571 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2572 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2573 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2574 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2575 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2577 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2578 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2580 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2581 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2582 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2583 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2584 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2585 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2586 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir=.
2595 $as_echo "PATH: $as_dir"
2611 # Keep a trace of the command line.
2612 # Strip out --no-create and --no-recursion so they do not pile up.
2613 # Strip out --silent because we don't want to record it for future runs.
2614 # Also quote any args containing shell meta-characters.
2615 # Make two passes to allow for proper duplicate-argument suppression.
2619 ac_must_keep_next=false
2625 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2626 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2627 | -silent | --silent | --silen | --sile | --sil)
2630 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2635 as_fn_append ac_configure_args1 " '$ac_arg'"
2636 if test $ac_must_keep_next = true; then
2637 ac_must_keep_next=false # Got value, back to normal.
2640 *=* | --config-cache | -C | -disable-* | --disable-* \
2641 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2642 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2643 | -with-* | --with-* | -without-* | --without-* | --x)
2644 case "$ac_configure_args0 " in
2645 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2648 -* ) ac_must_keep_next=true ;;
2651 as_fn_append ac_configure_args " '$ac_arg'"
2656 { ac_configure_args0=; unset ac_configure_args0;}
2657 { ac_configure_args1=; unset ac_configure_args1;}
2659 # When interrupted or exit'd, cleanup temporary files, and complete
2660 # config.log. We remove comments because anyway the quotes in there
2661 # would cause problems or look ugly.
2662 # WARNING: Use '\'' to represent an apostrophe within the trap.
2663 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2664 trap 'exit_status=$?
2665 # Save into config.log some information that might help in debugging.
2669 $as_echo "## ---------------- ##
2670 ## Cache variables. ##
2671 ## ---------------- ##"
2673 # The following way of writing the cache mishandles newlines in values,
2675 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2676 eval ac_val=\$$ac_var
2680 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2681 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2684 _ | IFS | as_nl) ;; #(
2685 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2686 *) { eval $ac_var=; unset $ac_var;} ;;
2691 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2692 *${as_nl}ac_space=\ *)
2694 "s/'\''/'\''\\\\'\'''\''/g;
2695 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2698 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2705 $as_echo "## ----------------- ##
2706 ## Output variables. ##
2707 ## ----------------- ##"
2709 for ac_var in $ac_subst_vars
2711 eval ac_val=\$$ac_var
2713 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2715 $as_echo "$ac_var='\''$ac_val'\''"
2719 if test -n "$ac_subst_files"; then
2720 $as_echo "## ------------------- ##
2721 ## File substitutions. ##
2722 ## ------------------- ##"
2724 for ac_var in $ac_subst_files
2726 eval ac_val=\$$ac_var
2728 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2730 $as_echo "$ac_var='\''$ac_val'\''"
2735 if test -s confdefs.h; then
2736 $as_echo "## ----------- ##
2743 test "$ac_signal" != 0 &&
2744 $as_echo "$as_me: caught signal $ac_signal"
2745 $as_echo "$as_me: exit $exit_status"
2747 rm -f core *.core core.conftest.* &&
2748 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2751 for ac_signal in 1 2 13 15; do
2752 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2756 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2757 rm -f -r conftest* confdefs.h
2759 $as_echo "/* confdefs.h */" > confdefs.h
2761 # Predefined preprocessor variables.
2763 cat >>confdefs.h <<_ACEOF
2764 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2767 cat >>confdefs.h <<_ACEOF
2768 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2771 cat >>confdefs.h <<_ACEOF
2772 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2775 cat >>confdefs.h <<_ACEOF
2776 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2779 cat >>confdefs.h <<_ACEOF
2780 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2783 cat >>confdefs.h <<_ACEOF
2784 @%:@define PACKAGE_URL "$PACKAGE_URL"
2788 # Let the site file select an alternate cache file if it wants to.
2789 # Prefer an explicitly selected file to automatically selected ones.
2792 if test -n "$CONFIG_SITE"; then
2793 # We do not want a PATH search for config.site.
2794 case $CONFIG_SITE in @%:@((
2795 -*) ac_site_file1=./$CONFIG_SITE;;
2796 */*) ac_site_file1=$CONFIG_SITE;;
2797 *) ac_site_file1=./$CONFIG_SITE;;
2799 elif test "x$prefix" != xNONE; then
2800 ac_site_file1=$prefix/share/config.site
2801 ac_site_file2=$prefix/etc/config.site
2803 ac_site_file1=$ac_default_prefix/share/config.site
2804 ac_site_file2=$ac_default_prefix/etc/config.site
2806 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2808 test "x$ac_site_file" = xNONE && continue
2809 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2811 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2812 sed 's/^/| /' "$ac_site_file" >&5
2814 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error $? "failed to load site script $ac_site_file
2817 See \`config.log' for more details" "$LINENO" 5; }
2821 if test -r "$cache_file"; then
2822 # Some versions of bash will fail to source /dev/null (special files
2823 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2824 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2826 $as_echo "$as_me: loading cache $cache_file" >&6;}
2828 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2829 *) . "./$cache_file";;
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2834 $as_echo "$as_me: creating cache $cache_file" >&6;}
2838 gt_needs="$gt_needs "
2839 # Check that the precious variables saved in the cache have kept the same
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844 eval ac_new_set=\$ac_env_${ac_var}_set
2845 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846 eval ac_new_val=\$ac_env_${ac_var}_value
2847 case $ac_old_set,$ac_new_set in
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851 ac_cache_corrupted=: ;;
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855 ac_cache_corrupted=: ;;
2858 if test "x$ac_old_val" != "x$ac_new_val"; then
2859 # differences in whitespace do not lead to failure.
2860 ac_old_val_w=`echo x $ac_old_val`
2861 ac_new_val_w=`echo x $ac_new_val`
2862 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865 ac_cache_corrupted=:
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869 eval $ac_var=\$ac_old_val
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2872 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2877 # Pass precious variables to config.status.
2878 if test "$ac_new_set" = set; then
2880 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 *) ac_arg=$ac_var=$ac_new_val ;;
2883 case " $ac_configure_args " in
2884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2885 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2889 if $ac_cache_corrupted; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2909 ac_config_headers="$ac_config_headers include/config.h"
2912 am__api_version='1.11'
2915 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2916 if test -f "$ac_dir/install-sh"; then
2918 ac_install_sh="$ac_aux_dir/install-sh -c"
2920 elif test -f "$ac_dir/install.sh"; then
2922 ac_install_sh="$ac_aux_dir/install.sh -c"
2924 elif test -f "$ac_dir/shtool"; then
2926 ac_install_sh="$ac_aux_dir/shtool install -c"
2930 if test -z "$ac_aux_dir"; then
2931 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2934 # These three variables are undocumented and unsupported,
2935 # and are intended to be withdrawn in a future Autoconf release.
2936 # They can cause serious problems if a builder's source tree is in a directory
2937 # whose full name contains unusual characters.
2938 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2939 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2940 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2943 # Find a good install program. We prefer a C program (faster),
2944 # so one script is as good as another. But avoid the broken or
2945 # incompatible versions:
2946 # SysV /etc/install, /usr/sbin/install
2947 # SunOS /usr/etc/install
2948 # IRIX /sbin/install
2950 # AmigaOS /C/install, which installs bootblocks on floppy discs
2951 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2952 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2953 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2954 # OS/2's system install, which has a completely different semantic
2955 # ./install, which can be erroneously created by make from ./install.sh.
2956 # Reject install programs that cannot install multiple files.
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2958 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2959 if test -z "$INSTALL"; then
2960 if ${ac_cv_path_install+:} false; then :
2961 $as_echo_n "(cached) " >&6
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 # Account for people who put trailing slashes in PATH elements.
2969 case $as_dir/ in @%:@((
2970 ./ | .// | /[cC]/* | \
2971 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2972 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2975 # OSF1 and SCO ODT 3.0 have their own names for install.
2976 # Don't use installbsd from OSF since it installs stuff as root
2978 for ac_prog in ginstall scoinst install; do
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2981 if test $ac_prog = install &&
2982 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2983 # AIX install. It has an incompatible calling convention.
2985 elif test $ac_prog = install &&
2986 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2987 # program-specific install script used by HP pwplus--don't use.
2990 rm -rf conftest.one conftest.two conftest.dir
2991 echo one > conftest.one
2992 echo two > conftest.two
2994 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2995 test -s conftest.one && test -s conftest.two &&
2996 test -s conftest.dir/conftest.one &&
2997 test -s conftest.dir/conftest.two
2999 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3012 rm -rf conftest.one conftest.two conftest.dir
3015 if test "${ac_cv_path_install+set}" = set; then
3016 INSTALL=$ac_cv_path_install
3018 # As a last resort, use the slow shell script. Don't cache a
3019 # value for INSTALL within a source directory, because that will
3020 # break other packages using the cache if that directory is
3021 # removed, or if the value is a relative name.
3022 INSTALL=$ac_install_sh
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3026 $as_echo "$INSTALL" >&6; }
3028 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3029 # It thinks the first close brace ends the variable substitution.
3030 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3032 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3034 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3037 $as_echo_n "checking whether build environment is sane... " >&6; }
3040 echo timestamp > conftest.file
3041 # Reject unsafe characters in $srcdir or the absolute working directory
3042 # name. Accept space and tab only in the latter.
3046 *[\\\"\#\$\&\'\`$am_lf]*)
3047 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3050 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3051 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3054 # Do `set' in a subshell so we don't clobber the current shell's
3055 # arguments. Must try -L first in case configure is actually a
3056 # symlink; some systems play weird games with the mod time of symlinks
3057 # (eg FreeBSD returns the mod time of the symlink's containing
3060 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3061 if test "$*" = "X"; then
3063 set X `ls -t "$srcdir/configure" conftest.file`
3066 if test "$*" != "X $srcdir/configure conftest.file" \
3067 && test "$*" != "X conftest.file $srcdir/configure"; then
3069 # If neither matched, then we have a broken ls. This can happen
3070 # if, for instance, CONFIG_SHELL is bash and it inherits a
3071 # broken ls alias from the environment. This has actually
3072 # happened. Such a system could not be considered "sane".
3073 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3074 alias in your environment" "$LINENO" 5
3077 test "$2" = conftest.file
3083 as_fn_error $? "newly created file is older than distributed files!
3084 Check your system clock" "$LINENO" 5
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3087 $as_echo "yes" >&6; }
3088 test "$program_prefix" != NONE &&
3089 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3090 # Use a double $ so make ignores it.
3091 test "$program_suffix" != NONE &&
3092 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3093 # Double any \ or $.
3094 # By default was `s,x,x', remove it if useless.
3095 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3096 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3098 # expand $ac_aux_dir to an absolute path
3099 am_aux_dir=`cd $ac_aux_dir && pwd`
3101 if test x"${MISSING+set}" != xset; then
3104 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3106 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3109 # Use eval to expand $SHELL
3110 if eval "$MISSING --run true"; then
3111 am_missing_run="$MISSING --run "
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3115 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3118 if test x"${install_sh}" != xset; then
3121 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3123 install_sh="\${SHELL} $am_aux_dir/install-sh"
3127 # Installed binaries are usually stripped using `strip' when the user
3128 # run `make install-strip'. However `strip' might not be the right
3129 # tool to use in cross-compilation environments, therefore Automake
3130 # will honor the `STRIP' environment variable to overrule this program.
3131 if test "$cross_compiling" != no; then
3132 if test -n "$ac_tool_prefix"; then
3133 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3134 set dummy ${ac_tool_prefix}strip; ac_word=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if ${ac_cv_prog_STRIP+:} false; then :
3138 $as_echo_n "(cached) " >&6
3140 if test -n "$STRIP"; then
3141 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 STRIP=$ac_cv_prog_STRIP
3161 if test -n "$STRIP"; then
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3163 $as_echo "$STRIP" >&6; }
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3171 if test -z "$ac_cv_prog_STRIP"; then
3173 # Extract the first word of "strip", so it can be a program name with args.
3174 set dummy strip; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$ac_ct_STRIP"; then
3181 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_ac_ct_STRIP="strip"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3201 if test -n "$ac_ct_STRIP"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3203 $as_echo "$ac_ct_STRIP" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3209 if test "x$ac_ct_STRIP" = x; then
3212 case $cross_compiling:$ac_tool_warned in
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216 ac_tool_warned=yes ;;
3221 STRIP="$ac_cv_prog_STRIP"
3225 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3228 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3229 if test -z "$MKDIR_P"; then
3230 if ${ac_cv_path_mkdir+:} false; then :
3231 $as_echo_n "(cached) " >&6
3233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3234 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3237 test -z "$as_dir" && as_dir=.
3238 for ac_prog in mkdir gmkdir; do
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3241 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3242 'mkdir (GNU coreutils) '* | \
3243 'mkdir (coreutils) '* | \
3244 'mkdir (fileutils) '4.1*)
3245 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3255 test -d ./--version && rmdir ./--version
3256 if test "${ac_cv_path_mkdir+set}" = set; then
3257 MKDIR_P="$ac_cv_path_mkdir -p"
3259 # As a last resort, use the slow shell script. Don't cache a
3260 # value for MKDIR_P within a source directory, because that will
3261 # break other packages using the cache if that directory is
3262 # removed, or if the value is a relative name.
3263 MKDIR_P="$ac_install_sh -d"
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3267 $as_echo "$MKDIR_P" >&6; }
3271 [\\/$]* | ?:[\\/]*) ;;
3272 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3275 for ac_prog in gawk mawk nawk awk
3277 # Extract the first word of "$ac_prog", so it can be a program name with args.
3278 set dummy $ac_prog; ac_word=$2
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if ${ac_cv_prog_AWK+:} false; then :
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$AWK"; then
3285 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 test -z "$as_dir" && as_dir=.
3292 for ac_exec_ext in '' $ac_executable_extensions; do
3293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3294 ac_cv_prog_AWK="$ac_prog"
3295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 if test -n "$AWK"; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3307 $as_echo "$AWK" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3314 test -n "$AWK" && break
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3318 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3320 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3321 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3322 $as_echo_n "(cached) " >&6
3324 cat >conftest.make <<\_ACEOF
3327 @echo '@@@%%%=$(MAKE)=@@@%%%'
3329 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3330 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3332 eval ac_cv_prog_make_${ac_make}_set=yes;;
3334 eval ac_cv_prog_make_${ac_make}_set=no;;
3338 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3340 $as_echo "yes" >&6; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344 $as_echo "no" >&6; }
3345 SET_MAKE="MAKE=${MAKE-make}"
3348 rm -rf .tst 2>/dev/null
3349 mkdir .tst 2>/dev/null
3350 if test -d .tst; then
3355 rmdir .tst 2>/dev/null
3357 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3358 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3359 # is not polluted with repeated "-I."
3360 am__isrc=' -I$(srcdir)'
3361 # test to see if srcdir already configured
3362 if test -f $srcdir/config.status; then
3363 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3367 # test whether we have cygpath
3368 if test -z "$CYGPATH_W"; then
3369 if (cygpath --version) >/dev/null 2>/dev/null; then
3370 CYGPATH_W='cygpath -w'
3377 # Define the identity of the package.
3382 cat >>confdefs.h <<_ACEOF
3383 @%:@define PACKAGE "$PACKAGE"
3387 cat >>confdefs.h <<_ACEOF
3388 @%:@define VERSION "$VERSION"
3391 # Some tools Automake needs.
3393 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3396 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3399 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3402 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3405 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3407 # We need awk for the "check" target. The system "awk" is bad on
3409 # Always define AMTAR for backward compatibility.
3411 AMTAR=${AMTAR-"${am_missing_run}tar"}
3413 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3422 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3423 @%:@ Check whether --enable-maintainer-mode was given.
3424 if test "${enable_maintainer_mode+set}" = set; then :
3425 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3427 USE_MAINTAINER_MODE=no
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3431 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3432 if test $USE_MAINTAINER_MODE = yes; then
3433 MAINTAINER_MODE_TRUE=
3434 MAINTAINER_MODE_FALSE='#'
3436 MAINTAINER_MODE_TRUE='#'
3437 MAINTAINER_MODE_FALSE=
3440 MAINT=$MAINTAINER_MODE_TRUE
3444 # Make sure we can run config.sub.
3445 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3446 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3449 $as_echo_n "checking build system type... " >&6; }
3450 if ${ac_cv_build+:} false; then :
3451 $as_echo_n "(cached) " >&6
3453 ac_build_alias=$build_alias
3454 test "x$ac_build_alias" = x &&
3455 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3456 test "x$ac_build_alias" = x &&
3457 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3458 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3459 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3463 $as_echo "$ac_cv_build" >&6; }
3464 case $ac_cv_build in
3466 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3469 ac_save_IFS=$IFS; IFS='-'
3475 # Remember, the first character of IFS is used to create $*,
3476 # except with old shells:
3479 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3483 $as_echo_n "checking host system type... " >&6; }
3484 if ${ac_cv_host+:} false; then :
3485 $as_echo_n "(cached) " >&6
3487 if test "x$host_alias" = x; then
3488 ac_cv_host=$ac_cv_build
3490 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3491 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3496 $as_echo "$ac_cv_host" >&6; }
3499 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3502 ac_save_IFS=$IFS; IFS='-'
3508 # Remember, the first character of IFS is used to create $*,
3509 # except with old shells:
3512 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3517 ac_cpp='$CPP $CPPFLAGS'
3518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host))" >&5
3524 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host))" >&6;}
3526 # start out with intent to build Web Alpine
3527 WEB_BUILD=web/src/alpined.d
3531 ac_cpp='$CPP $CPPFLAGS'
3532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 if test -n "$ac_tool_prefix"; then
3536 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3537 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if ${ac_cv_prog_CC+:} false; then :
3541 $as_echo_n "(cached) " >&6
3543 if test -n "$CC"; then
3544 ac_cv_prog_CC="$CC" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3564 if test -n "$CC"; then
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3566 $as_echo "$CC" >&6; }
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3574 if test -z "$ac_cv_prog_CC"; then
3576 # Extract the first word of "gcc", so it can be a program name with args.
3577 set dummy gcc; ac_word=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579 $as_echo_n "checking for $ac_word... " >&6; }
3580 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3581 $as_echo_n "(cached) " >&6
3583 if test -n "$ac_ct_CC"; then
3584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir=.
3591 for ac_exec_ext in '' $ac_executable_extensions; do
3592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3593 ac_cv_prog_ac_ct_CC="gcc"
3594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3604 if test -n "$ac_ct_CC"; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3606 $as_echo "$ac_ct_CC" >&6; }
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3612 if test "x$ac_ct_CC" = x; then
3615 case $cross_compiling:$ac_tool_warned in
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3619 ac_tool_warned=yes ;;
3627 if test -z "$CC"; then
3628 if test -n "$ac_tool_prefix"; then
3629 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3630 set dummy ${ac_tool_prefix}cc; ac_word=$2
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632 $as_echo_n "checking for $ac_word... " >&6; }
3633 if ${ac_cv_prog_CC+:} false; then :
3634 $as_echo_n "(cached) " >&6
3636 if test -n "$CC"; then
3637 ac_cv_prog_CC="$CC" # Let the user override the test.
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir=.
3644 for ac_exec_ext in '' $ac_executable_extensions; do
3645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3646 ac_cv_prog_CC="${ac_tool_prefix}cc"
3647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 if test -n "$CC"; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 $as_echo "$CC" >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3668 if test -z "$CC"; then
3669 # Extract the first word of "cc", so it can be a program name with args.
3670 set dummy cc; ac_word=$2
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 $as_echo_n "checking for $ac_word... " >&6; }
3673 if ${ac_cv_prog_CC+:} false; then :
3674 $as_echo_n "(cached) " >&6
3676 if test -n "$CC"; then
3677 ac_cv_prog_CC="$CC" # Let the user override the test.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3688 ac_prog_rejected=yes
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 if test $ac_prog_rejected = yes; then
3700 # We found a bogon in the path, so make sure we never use it.
3701 set dummy $ac_cv_prog_CC
3703 if test $@%:@ != 0; then
3704 # We chose a different compiler from the bogus one.
3705 # However, it has the same basename, so the bogon will be chosen
3706 # first if we set CC to just the basename; use the full file name.
3708 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3714 if test -n "$CC"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3716 $as_echo "$CC" >&6; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3724 if test -z "$CC"; then
3725 if test -n "$ac_tool_prefix"; then
3726 for ac_prog in cl.exe
3728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false; then :
3733 $as_echo_n "(cached) " >&6
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3765 test -n "$CC" && break
3768 if test -z "$CC"; then
3770 for ac_prog in cl.exe
3772 # Extract the first word of "$ac_prog", so it can be a program name with args.
3773 set dummy $ac_prog; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3777 $as_echo_n "(cached) " >&6
3779 if test -n "$ac_ct_CC"; then
3780 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 test -z "$as_dir" && as_dir=.
3787 for ac_exec_ext in '' $ac_executable_extensions; do
3788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3789 ac_cv_prog_ac_ct_CC="$ac_prog"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3800 if test -n "$ac_ct_CC"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3802 $as_echo "$ac_ct_CC" >&6; }
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3809 test -n "$ac_ct_CC" && break
3812 if test "x$ac_ct_CC" = x; then
3815 case $cross_compiling:$ac_tool_warned in
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819 ac_tool_warned=yes ;;
3828 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error $? "no acceptable C compiler found in \$PATH
3831 See \`config.log' for more details" "$LINENO" 5; }
3833 # Provide some information about the compiler.
3834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3837 for ac_option in --version -v -V -qversion; do
3838 { { ac_try="$ac_compiler $ac_option >&5"
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3847 if test -s conftest.err; then
3849 ... rest of stderr output deleted ...
3850 10q' conftest.err >conftest.er1
3851 cat conftest.er1 >&5
3853 rm -f conftest.er1 conftest.err
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3869 ac_clean_files_save=$ac_clean_files
3870 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3871 # Try to create an executable without -o first, disregard a.out.
3872 # It will help us diagnose broken compilers, and finding out an intuition
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3875 $as_echo_n "checking whether the C compiler works... " >&6; }
3876 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3878 # The possible output files:
3879 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3882 for ac_file in $ac_files
3885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3886 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3891 if { { ac_try="$ac_link_default"
3893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894 *) ac_try_echo=$ac_try;;
3896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897 $as_echo "$ac_try_echo"; } >&5
3898 (eval "$ac_link_default") 2>&5
3900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901 test $ac_status = 0; }; then :
3902 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3903 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3904 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3905 # so that the user can short-circuit this test for compilers unknown to
3907 for ac_file in $ac_files ''
3909 test -f "$ac_file" || continue
3911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3914 # We found the default executable, but exeext='' is most
3918 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3920 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3922 # We set ac_cv_exeext here because the later test for it is not
3923 # safe: cross compilers may not add the suffix if given an `-o'
3924 # argument, so we may need to know it at that point already.
3925 # Even if this section looks crufty: it has the advantage of
3932 test "$ac_cv_exeext" = no && ac_cv_exeext=
3937 if test -z "$ac_file"; then :
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3940 $as_echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.$ac_ext >&5
3943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3945 as_fn_error 77 "C compiler cannot create executables
3946 See \`config.log' for more details" "$LINENO" 5; }
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3949 $as_echo "yes" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3952 $as_echo_n "checking for C compiler default output file name... " >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3954 $as_echo "$ac_file" >&6; }
3955 ac_exeext=$ac_cv_exeext
3957 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3958 ac_clean_files=$ac_clean_files_save
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3960 $as_echo_n "checking for suffix of executables... " >&6; }
3961 if { { ac_try="$ac_link"
3963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964 *) ac_try_echo=$ac_try;;
3966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3967 $as_echo "$ac_try_echo"; } >&5
3968 (eval "$ac_link") 2>&5
3970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3971 test $ac_status = 0; }; then :
3972 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3973 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3974 # work properly (i.e., refer to `conftest.exe'), while it won't with
3976 for ac_file in conftest.exe conftest conftest.*; do
3977 test -f "$ac_file" || continue
3979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3980 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3988 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3989 See \`config.log' for more details" "$LINENO" 5; }
3991 rm -f conftest conftest$ac_cv_exeext
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3993 $as_echo "$ac_cv_exeext" >&6; }
3995 rm -f conftest.$ac_ext
3996 EXEEXT=$ac_cv_exeext
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4000 @%:@include <stdio.h>
4004 FILE *f = fopen ("conftest.out", "w");
4005 return ferror (f) || fclose (f) != 0;
4011 ac_clean_files="$ac_clean_files conftest.out"
4012 # Check that the compiler produces executables we can run. If not, either
4013 # the compiler is broken, or we cross compile.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4015 $as_echo_n "checking whether we are cross compiling... " >&6; }
4016 if test "$cross_compiling" != yes; then
4017 { { ac_try="$ac_link"
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_link") 2>&5
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }
4028 if { ac_try='./conftest$ac_cv_exeext'
4029 { { case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_try") 2>&5
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; }; then
4041 if test "$cross_compiling" = maybe; then
4044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046 as_fn_error $? "cannot run C compiled programs.
4047 If you meant to cross compile, use \`--host'.
4048 See \`config.log' for more details" "$LINENO" 5; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4053 $as_echo "$cross_compiling" >&6; }
4055 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4056 ac_clean_files=$ac_clean_files_save
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4058 $as_echo_n "checking for suffix of object files... " >&6; }
4059 if ${ac_cv_objext+:} false; then :
4060 $as_echo_n "(cached) " >&6
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4073 rm -f conftest.o conftest.obj
4074 if { { ac_try="$ac_compile"
4076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4080 $as_echo "$ac_try_echo"; } >&5
4081 (eval "$ac_compile") 2>&5
4083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4084 test $ac_status = 0; }; then :
4085 for ac_file in conftest.o conftest.obj conftest.*; do
4086 test -f "$ac_file" || continue;
4088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4089 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4094 $as_echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.$ac_ext >&5
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error $? "cannot compute suffix of object files: cannot compile
4100 See \`config.log' for more details" "$LINENO" 5; }
4102 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4105 $as_echo "$ac_cv_objext" >&6; }
4106 OBJEXT=$ac_cv_objext
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4109 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4110 if ${ac_cv_c_compiler_gnu+:} false; then :
4111 $as_echo_n "(cached) " >&6
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h. */
4127 if ac_fn_c_try_compile "$LINENO"; then :
4132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4137 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4138 if test $ac_compiler_gnu = yes; then
4143 ac_test_CFLAGS=${CFLAGS+set}
4144 ac_save_CFLAGS=$CFLAGS
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4146 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4147 if ${ac_cv_prog_cc_g+:} false; then :
4148 $as_echo_n "(cached) " >&6
4150 ac_save_c_werror_flag=$ac_c_werror_flag
4151 ac_c_werror_flag=yes
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4165 if ac_fn_c_try_compile "$LINENO"; then :
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4180 if ac_fn_c_try_compile "$LINENO"; then :
4183 ac_c_werror_flag=$ac_save_c_werror_flag
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4196 if ac_fn_c_try_compile "$LINENO"; then :
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204 ac_c_werror_flag=$ac_save_c_werror_flag
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4207 $as_echo "$ac_cv_prog_cc_g" >&6; }
4208 if test "$ac_test_CFLAGS" = set; then
4209 CFLAGS=$ac_save_CFLAGS
4210 elif test $ac_cv_prog_cc_g = yes; then
4211 if test "$GCC" = yes; then
4217 if test "$GCC" = yes; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4224 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4225 if ${ac_cv_prog_cc_c89+:} false; then :
4226 $as_echo_n "(cached) " >&6
4228 ac_cv_prog_cc_c89=no
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4235 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4236 struct buf { int x; };
4237 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4238 static char *e (p, i)
4244 static char *f (char * (*g) (char **, int), char **p, ...)
4249 s = g (p, va_arg (v,int));
4254 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4255 function prototypes and stuff, but not '\xHH' hex character constants.
4256 These don't provoke an error unfortunately, instead are silently treated
4257 as 'x'. The following induces an error, until -std is added to get
4258 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4259 array size at least. It's necessary to write '\x00'==0 to get something
4260 that's true only with -std. */
4261 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4263 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4264 inside strings and character constants. */
4266 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4268 int test (int i, double x);
4269 struct s1 {int (*f) (int a);};
4270 struct s2 {int (*f) (double a);};
4271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4277 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4282 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4283 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4285 CC="$ac_save_CC $ac_arg"
4286 if ac_fn_c_try_compile "$LINENO"; then :
4287 ac_cv_prog_cc_c89=$ac_arg
4289 rm -f core conftest.err conftest.$ac_objext
4290 test "x$ac_cv_prog_cc_c89" != "xno" && break
4292 rm -f conftest.$ac_ext
4297 case "x$ac_cv_prog_cc_c89" in
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4300 $as_echo "none needed" >&6; } ;;
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4303 $as_echo "unsupported" >&6; } ;;
4305 CC="$CC $ac_cv_prog_cc_c89"
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4307 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4309 if test "x$ac_cv_prog_cc_c89" != xno; then :
4314 ac_cpp='$CPP $CPPFLAGS'
4315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4318 DEPDIR="${am__leading_dot}deps"
4320 ac_config_commands="$ac_config_commands depfiles"
4323 am_make=${MAKE-make}
4324 cat > confinc << 'END'
4326 @echo this is the am__doit target
4329 # If we don't find an include directive, just comment out the code.
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4331 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4335 # First try GNU make style include.
4336 echo "include confinc" > confmf
4337 # Ignore all kinds of additional output from `make'.
4338 case `$am_make -s -f confmf 2> /dev/null` in #(
4339 *the\ am__doit\ target*)
4345 # Now try BSD make style include.
4346 if test "$am__include" = "#"; then
4347 echo '.include "confinc"' > confmf
4348 case `$am_make -s -f confmf 2> /dev/null` in #(
4349 *the\ am__doit\ target*)
4350 am__include=.include
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4359 $as_echo "$_am_result" >&6; }
4360 rm -f confinc confmf
4362 @%:@ Check whether --enable-dependency-tracking was given.
4363 if test "${enable_dependency_tracking+set}" = set; then :
4364 enableval=$enable_dependency_tracking;
4367 if test "x$enable_dependency_tracking" != xno; then
4368 am_depcomp="$ac_aux_dir/depcomp"
4371 if test "x$enable_dependency_tracking" != xno; then
4381 depcc="$CC" am_compiler_list=
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4384 $as_echo_n "checking dependency style of $depcc... " >&6; }
4385 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4386 $as_echo_n "(cached) " >&6
4388 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4389 # We make a subdir and do the tests there. Otherwise we can end up
4390 # making bogus files that we don't know about and never remove. For
4391 # instance it was reported that on HP-UX the gcc test will end up
4392 # making a dummy file named `D' -- because `-MD' means `put the output
4395 # Copy depcomp to subdir because otherwise we won't find it if we're
4396 # using a relative directory.
4397 cp "$am_depcomp" conftest.dir
4399 # We will build objects and dependencies in a subdirectory because
4400 # it helps to detect inapplicable dependency modes. For instance
4401 # both Tru64's cc and ICC support -MD to output dependencies as a
4402 # side effect of compilation, but ICC will put the dependencies in
4403 # the current directory while Tru64 will put them in the object
4407 am_cv_CC_dependencies_compiler_type=none
4408 if test "$am_compiler_list" = ""; then
4409 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4412 case " $depcc " in #(
4413 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4416 for depmode in $am_compiler_list; do
4417 # Setup a source with many dependencies, because some compilers
4418 # like to wrap large dependency lists on column 80 (with \), and
4419 # we should not choose a depcomp mode which is confused by this.
4421 # We need to recreate these files for each test, as the compiler may
4422 # overwrite some of them when testing with obscure command lines.
4423 # This happens at least with the AIX C compiler.
4425 for i in 1 2 3 4 5 6; do
4426 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4427 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4428 # Solaris 8's {/usr,}/bin/sh.
4429 touch sub/conftst$i.h
4431 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4433 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4434 # mode. It turns out that the SunPro C++ compiler does not properly
4435 # handle `-M -o', and we need to detect this. Also, some Intel
4436 # versions had trouble with output in subdirs
4437 am__obj=sub/conftest.${OBJEXT-o}
4438 am__minus_obj="-o $am__obj"
4441 # This depmode causes a compiler race in universal mode.
4442 test "$am__universal" = false || continue
4445 # after this tag, mechanisms are not by side-effect, so they'll
4446 # only be used when explicitly requested
4447 if test "x$enable_dependency_tracking" = xyes; then
4453 msvisualcpp | msvcmsys)
4454 # This compiler won't grok `-c -o', but also, the minuso test has
4455 # not run yet. These depmodes are late enough in the game, and
4456 # so weak that their functioning should not be impacted.
4457 am__obj=conftest.${OBJEXT-o}
4462 if depmode=$depmode \
4463 source=sub/conftest.c object=$am__obj \
4464 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4465 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4466 >/dev/null 2>conftest.err &&
4467 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4468 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4469 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4470 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4471 # icc doesn't choke on unknown options, it will just issue warnings
4472 # or remarks (even with -Werror). So we grep stderr for any message
4473 # that says an option was ignored or not supported.
4474 # When given -MP, icc 7.0 and 7.1 complain thusly:
4475 # icc: Command line warning: ignoring option '-M'; no argument required
4476 # The diagnosis changed in icc 8.0:
4477 # icc: Command line remark: option '-MP' not supported
4478 if (grep 'ignoring option' conftest.err ||
4479 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4480 am_cv_CC_dependencies_compiler_type=$depmode
4489 am_cv_CC_dependencies_compiler_type=none
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4494 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4495 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4498 test "x$enable_dependency_tracking" != xno \
4499 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4501 am__fastdepCC_FALSE='#'
4503 am__fastdepCC_TRUE='#'
4504 am__fastdepCC_FALSE=
4508 case $ac_cv_prog_cc_stdc in @%:@(
4510 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@(
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4513 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4514 if ${ac_cv_prog_cc_c99+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 ac_cv_prog_cc_c99=no
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4522 #include <stdbool.h>
4527 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4528 #define debug(...) fprintf (stderr, __VA_ARGS__)
4529 #define showlist(...) puts (#__VA_ARGS__)
4530 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4532 test_varargs_macros (void)
4537 debug ("X = %d\n", x);
4538 showlist (The first, second, and third items.);
4539 report (x>y, "x is %d but y is %d", x, y);
4542 // Check long long types.
4543 #define BIG64 18446744073709551615ull
4544 #define BIG32 4294967295ul
4545 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4547 your preprocessor is broken;
4551 your preprocessor is broken;
4553 static long long int bignum = -9223372036854775807LL;
4554 static unsigned long long int ubignum = BIG64;
4556 struct incomplete_array
4564 const wchar_t *name;
4568 typedef const char *ccp;
4571 test_restrict (ccp restrict text)
4573 // See if C++-style comments work.
4574 // Iterate through items via the restricted pointer.
4575 // Also check for declarations in for loops.
4576 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4581 // Check varargs and va_copy.
4583 test_varargs (const char *format, ...)
4586 va_start (args, format);
4588 va_copy (args_copy, args);
4599 str = va_arg (args_copy, const char *);
4602 number = va_arg (args_copy, int);
4605 fnumber = va_arg (args_copy, double);
4620 _Bool success = false;
4623 if (test_restrict ("String literal") == 0)
4625 char *restrict newvar = "Another string";
4628 test_varargs ("s, d' f .", "string", 65, 34.234);
4629 test_varargs_macros ();
4631 // Check flexible array members.
4632 struct incomplete_array *ia =
4633 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4635 for (int i = 0; i < ia->datasize; ++i)
4636 ia->data[i] = i * 1.234;
4638 // Check named initializers.
4639 struct named_init ni = {
4641 .name = L"Test wide string",
4642 .average = 543.34343,
4647 int dynamic_array[ni.number];
4648 dynamic_array[ni.number - 1] = 543;
4650 // work around unused variable warnings
4651 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4652 || dynamic_array[ni.number - 1] != 543);
4658 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4660 CC="$ac_save_CC $ac_arg"
4661 if ac_fn_c_try_compile "$LINENO"; then :
4662 ac_cv_prog_cc_c99=$ac_arg
4664 rm -f core conftest.err conftest.$ac_objext
4665 test "x$ac_cv_prog_cc_c99" != "xno" && break
4667 rm -f conftest.$ac_ext
4672 case "x$ac_cv_prog_cc_c99" in
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4675 $as_echo "none needed" >&6; } ;;
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4678 $as_echo "unsupported" >&6; } ;;
4680 CC="$CC $ac_cv_prog_cc_c99"
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4682 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4684 if test "x$ac_cv_prog_cc_c99" != xno; then :
4685 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4688 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4689 if ${ac_cv_prog_cc_c89+:} false; then :
4690 $as_echo_n "(cached) " >&6
4692 ac_cv_prog_cc_c89=no
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4699 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4700 struct buf { int x; };
4701 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4702 static char *e (p, i)
4708 static char *f (char * (*g) (char **, int), char **p, ...)
4713 s = g (p, va_arg (v,int));
4718 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4719 function prototypes and stuff, but not '\xHH' hex character constants.
4720 These don't provoke an error unfortunately, instead are silently treated
4721 as 'x'. The following induces an error, until -std is added to get
4722 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4723 array size at least. It's necessary to write '\x00'==0 to get something
4724 that's true only with -std. */
4725 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4727 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4728 inside strings and character constants. */
4730 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4732 int test (int i, double x);
4733 struct s1 {int (*f) (int a);};
4734 struct s2 {int (*f) (double a);};
4735 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4741 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4746 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4747 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4749 CC="$ac_save_CC $ac_arg"
4750 if ac_fn_c_try_compile "$LINENO"; then :
4751 ac_cv_prog_cc_c89=$ac_arg
4753 rm -f core conftest.err conftest.$ac_objext
4754 test "x$ac_cv_prog_cc_c89" != "xno" && break
4756 rm -f conftest.$ac_ext
4761 case "x$ac_cv_prog_cc_c89" in
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4764 $as_echo "none needed" >&6; } ;;
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4767 $as_echo "unsupported" >&6; } ;;
4769 CC="$CC $ac_cv_prog_cc_c89"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4771 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4773 if test "x$ac_cv_prog_cc_c89" != xno; then :
4774 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4776 ac_cv_prog_cc_stdc=no
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4783 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4784 if ${ac_cv_prog_cc_stdc+:} false; then :
4785 $as_echo_n "(cached) " >&6
4788 case $ac_cv_prog_cc_stdc in @%:@(
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4791 $as_echo "unsupported" >&6; } ;; @%:@(
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4794 $as_echo "none needed" >&6; } ;; @%:@(
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4797 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4802 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4804 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4805 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4806 $as_echo_n "(cached) " >&6
4808 cat >conftest.make <<\_ACEOF
4811 @echo '@@@%%%=$(MAKE)=@@@%%%'
4813 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4814 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4816 eval ac_cv_prog_make_${ac_make}_set=yes;;
4818 eval ac_cv_prog_make_${ac_make}_set=no;;
4822 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4824 $as_echo "yes" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4829 SET_MAKE="MAKE=${MAKE-make}"
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4833 $as_echo_n "checking whether ln -s works... " >&6; }
4835 if test "$LN_S" = "ln -s"; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4837 $as_echo "yes" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4840 $as_echo "no, using $LN_S" >&6; }
4843 for ac_prog in gawk mawk nawk awk
4845 # Extract the first word of "$ac_prog", so it can be a program name with args.
4846 set dummy $ac_prog; ac_word=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if ${ac_cv_prog_AWK+:} false; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -n "$AWK"; then
4853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir=.
4860 for ac_exec_ext in '' $ac_executable_extensions; do
4861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4862 ac_cv_prog_AWK="$ac_prog"
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 if test -n "$AWK"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4875 $as_echo "$AWK" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4882 test -n "$AWK" && break
4885 if test -n "$ac_tool_prefix"; then
4886 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4887 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if ${ac_cv_prog_RANLIB+:} false; then :
4891 $as_echo_n "(cached) " >&6
4893 if test -n "$RANLIB"; then
4894 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 test -z "$as_dir" && as_dir=.
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 RANLIB=$ac_cv_prog_RANLIB
4914 if test -n "$RANLIB"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4916 $as_echo "$RANLIB" >&6; }
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4924 if test -z "$ac_cv_prog_RANLIB"; then
4925 ac_ct_RANLIB=$RANLIB
4926 # Extract the first word of "ranlib", so it can be a program name with args.
4927 set dummy ranlib; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$ac_ct_RANLIB"; then
4934 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_ac_ct_RANLIB="ranlib"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4954 if test -n "$ac_ct_RANLIB"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4956 $as_echo "$ac_ct_RANLIB" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4962 if test "x$ac_ct_RANLIB" = x; then
4965 case $cross_compiling:$ac_tool_warned in
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969 ac_tool_warned=yes ;;
4971 RANLIB=$ac_ct_RANLIB
4974 RANLIB="$ac_cv_prog_RANLIB"
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4980 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4985 macro_version='2.2.6b'
4986 macro_revision='1.3018'
5000 ltmain="$ac_aux_dir/ltmain.sh"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5003 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5004 if ${ac_cv_path_SED+:} false; then :
5005 $as_echo_n "(cached) " >&6
5007 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5008 for ac_i in 1 2 3 4 5 6 7; do
5009 ac_script="$ac_script$as_nl$ac_script"
5011 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5012 { ac_script=; unset ac_script;}
5013 if test -z "$SED"; then
5014 ac_path_SED_found=false
5015 # Loop through the user's path and test for each of PROGNAME-LIST
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir=.
5021 for ac_prog in sed gsed; do
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5024 as_fn_executable_p "$ac_path_SED" || continue
5025 # Check for GNU ac_path_SED and select it if it is found.
5026 # Check for GNU $ac_path_SED
5027 case `"$ac_path_SED" --version 2>&1` in
5029 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5032 $as_echo_n 0123456789 >"conftest.in"
5035 cat "conftest.in" "conftest.in" >"conftest.tmp"
5036 mv "conftest.tmp" "conftest.in"
5037 cp "conftest.in" "conftest.nl"
5038 $as_echo '' >> "conftest.nl"
5039 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5040 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5041 as_fn_arith $ac_count + 1 && ac_count=$as_val
5042 if test $ac_count -gt ${ac_path_SED_max-0}; then
5043 # Best one so far, save it but keep looking for a better one
5044 ac_cv_path_SED="$ac_path_SED"
5045 ac_path_SED_max=$ac_count
5047 # 10*(2^10) chars as input seems more than enough
5048 test $ac_count -gt 10 && break
5050 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5053 $ac_path_SED_found && break 3
5058 if test -z "$ac_cv_path_SED"; then
5059 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5067 $as_echo "$ac_cv_path_SED" >&6; }
5068 SED="$ac_cv_path_SED"
5071 test -z "$SED" && SED=sed
5072 Xsed="$SED -e 1s/^X//"
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5085 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5086 if ${ac_cv_path_GREP+:} false; then :
5087 $as_echo_n "(cached) " >&6
5089 if test -z "$GREP"; then
5090 ac_path_GREP_found=false
5091 # Loop through the user's path and test for each of PROGNAME-LIST
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5096 test -z "$as_dir" && as_dir=.
5097 for ac_prog in grep ggrep; do
5098 for ac_exec_ext in '' $ac_executable_extensions; do
5099 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5100 as_fn_executable_p "$ac_path_GREP" || continue
5101 # Check for GNU ac_path_GREP and select it if it is found.
5102 # Check for GNU $ac_path_GREP
5103 case `"$ac_path_GREP" --version 2>&1` in
5105 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5108 $as_echo_n 0123456789 >"conftest.in"
5111 cat "conftest.in" "conftest.in" >"conftest.tmp"
5112 mv "conftest.tmp" "conftest.in"
5113 cp "conftest.in" "conftest.nl"
5114 $as_echo 'GREP' >> "conftest.nl"
5115 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5116 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5117 as_fn_arith $ac_count + 1 && ac_count=$as_val
5118 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5119 # Best one so far, save it but keep looking for a better one
5120 ac_cv_path_GREP="$ac_path_GREP"
5121 ac_path_GREP_max=$ac_count
5123 # 10*(2^10) chars as input seems more than enough
5124 test $ac_count -gt 10 && break
5126 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5129 $ac_path_GREP_found && break 3
5134 if test -z "$ac_cv_path_GREP"; then
5135 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5138 ac_cv_path_GREP=$GREP
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5143 $as_echo "$ac_cv_path_GREP" >&6; }
5144 GREP="$ac_cv_path_GREP"
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5148 $as_echo_n "checking for egrep... " >&6; }
5149 if ${ac_cv_path_EGREP+:} false; then :
5150 $as_echo_n "(cached) " >&6
5152 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5153 then ac_cv_path_EGREP="$GREP -E"
5155 if test -z "$EGREP"; then
5156 ac_path_EGREP_found=false
5157 # Loop through the user's path and test for each of PROGNAME-LIST
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5162 test -z "$as_dir" && as_dir=.
5163 for ac_prog in egrep; do
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5166 as_fn_executable_p "$ac_path_EGREP" || continue
5167 # Check for GNU ac_path_EGREP and select it if it is found.
5168 # Check for GNU $ac_path_EGREP
5169 case `"$ac_path_EGREP" --version 2>&1` in
5171 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5174 $as_echo_n 0123456789 >"conftest.in"
5177 cat "conftest.in" "conftest.in" >"conftest.tmp"
5178 mv "conftest.tmp" "conftest.in"
5179 cp "conftest.in" "conftest.nl"
5180 $as_echo 'EGREP' >> "conftest.nl"
5181 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5182 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5183 as_fn_arith $ac_count + 1 && ac_count=$as_val
5184 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5185 # Best one so far, save it but keep looking for a better one
5186 ac_cv_path_EGREP="$ac_path_EGREP"
5187 ac_path_EGREP_max=$ac_count
5189 # 10*(2^10) chars as input seems more than enough
5190 test $ac_count -gt 10 && break
5192 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5195 $ac_path_EGREP_found && break 3
5200 if test -z "$ac_cv_path_EGREP"; then
5201 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5204 ac_cv_path_EGREP=$EGREP
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5210 $as_echo "$ac_cv_path_EGREP" >&6; }
5211 EGREP="$ac_cv_path_EGREP"
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5215 $as_echo_n "checking for fgrep... " >&6; }
5216 if ${ac_cv_path_FGREP+:} false; then :
5217 $as_echo_n "(cached) " >&6
5219 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5220 then ac_cv_path_FGREP="$GREP -F"
5222 if test -z "$FGREP"; then
5223 ac_path_FGREP_found=false
5224 # Loop through the user's path and test for each of PROGNAME-LIST
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5229 test -z "$as_dir" && as_dir=.
5230 for ac_prog in fgrep; do
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5233 as_fn_executable_p "$ac_path_FGREP" || continue
5234 # Check for GNU ac_path_FGREP and select it if it is found.
5235 # Check for GNU $ac_path_FGREP
5236 case `"$ac_path_FGREP" --version 2>&1` in
5238 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5241 $as_echo_n 0123456789 >"conftest.in"
5244 cat "conftest.in" "conftest.in" >"conftest.tmp"
5245 mv "conftest.tmp" "conftest.in"
5246 cp "conftest.in" "conftest.nl"
5247 $as_echo 'FGREP' >> "conftest.nl"
5248 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5249 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5250 as_fn_arith $ac_count + 1 && ac_count=$as_val
5251 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5252 # Best one so far, save it but keep looking for a better one
5253 ac_cv_path_FGREP="$ac_path_FGREP"
5254 ac_path_FGREP_max=$ac_count
5256 # 10*(2^10) chars as input seems more than enough
5257 test $ac_count -gt 10 && break
5259 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5262 $ac_path_FGREP_found && break 3
5267 if test -z "$ac_cv_path_FGREP"; then
5268 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5271 ac_cv_path_FGREP=$FGREP
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5277 $as_echo "$ac_cv_path_FGREP" >&6; }
5278 FGREP="$ac_cv_path_FGREP"
5281 test -z "$GREP" && GREP=grep
5301 @%:@ Check whether --with-gnu-ld was given.
5302 if test "${with_gnu_ld+set}" = set; then :
5303 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5309 if test "$GCC" = yes; then
5310 # Check if gcc -print-prog-name=ld gives a path.
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5312 $as_echo_n "checking for ld used by $CC... " >&6; }
5315 # gcc leaves a trailing carriage return which upsets mingw
5316 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5318 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5321 # Accept absolute paths.
5323 re_direlt='/[^/][^/]*/\.\./'
5324 # Canonicalize the pathname of ld
5325 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5326 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5327 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5329 test -z "$LD" && LD="$ac_prog"
5332 # If it fails, then pretend we aren't using GCC.
5336 # If it is relative, then search for the first ld in PATH.
5340 elif test "$with_gnu_ld" = yes; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5342 $as_echo_n "checking for GNU ld... " >&6; }
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5345 $as_echo_n "checking for non-GNU ld... " >&6; }
5347 if ${lt_cv_path_LD+:} false; then :
5348 $as_echo_n "(cached) " >&6
5350 if test -z "$LD"; then
5351 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5352 for ac_dir in $PATH; do
5354 test -z "$ac_dir" && ac_dir=.
5355 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5356 lt_cv_path_LD="$ac_dir/$ac_prog"
5357 # Check to see if the program is GNU ld. I'd rather use --version,
5358 # but apparently some variants of GNU ld only accept -v.
5359 # Break only if it was the GNU/non-GNU ld that we prefer.
5360 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5361 *GNU* | *'with BFD'*)
5362 test "$with_gnu_ld" != no && break
5365 test "$with_gnu_ld" != yes && break
5372 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5377 if test -n "$LD"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5379 $as_echo "$LD" >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5384 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5386 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5387 if ${lt_cv_prog_gnu_ld+:} false; then :
5388 $as_echo_n "(cached) " >&6
5390 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5391 case `$LD -v 2>&1 </dev/null` in
5392 *GNU* | *'with BFD'*)
5393 lt_cv_prog_gnu_ld=yes
5396 lt_cv_prog_gnu_ld=no
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5401 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5402 with_gnu_ld=$lt_cv_prog_gnu_ld
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5413 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5414 if ${lt_cv_path_NM+:} false; then :
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$NM"; then
5418 # Let the user override the test.
5421 lt_nm_to_check="${ac_tool_prefix}nm"
5422 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5423 lt_nm_to_check="$lt_nm_to_check nm"
5425 for lt_tmp_nm in $lt_nm_to_check; do
5426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5427 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5429 test -z "$ac_dir" && ac_dir=.
5430 tmp_nm="$ac_dir/$lt_tmp_nm"
5431 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5432 # Check to see if the nm accepts a BSD-compat flag.
5433 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5434 # nm: unknown option "B" ignored
5435 # Tru64's nm complains that /dev/null is an invalid object file
5436 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5437 */dev/null* | *'Invalid file or object type'*)
5438 lt_cv_path_NM="$tmp_nm -B"
5442 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5444 lt_cv_path_NM="$tmp_nm -p"
5448 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5449 continue # so that we can try to find one that supports BSD flags
5458 : ${lt_cv_path_NM=no}
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5462 $as_echo "$lt_cv_path_NM" >&6; }
5463 if test "$lt_cv_path_NM" != "no"; then
5466 # Didn't find any BSD compatible name lister, look for dumpbin.
5467 if test -n "$ac_tool_prefix"; then
5468 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5470 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_DUMPBIN+:} false; then :
5475 $as_echo_n "(cached) " >&6
5477 if test -n "$DUMPBIN"; then
5478 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497 DUMPBIN=$ac_cv_prog_DUMPBIN
5498 if test -n "$DUMPBIN"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5500 $as_echo "$DUMPBIN" >&6; }
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5507 test -n "$DUMPBIN" && break
5510 if test -z "$DUMPBIN"; then
5511 ac_ct_DUMPBIN=$DUMPBIN
5512 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5514 # Extract the first word of "$ac_prog", so it can be a program name with args.
5515 set dummy $ac_prog; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5519 $as_echo_n "(cached) " >&6
5521 if test -n "$ac_ct_DUMPBIN"; then
5522 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir=.
5529 for ac_exec_ext in '' $ac_executable_extensions; do
5530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5542 if test -n "$ac_ct_DUMPBIN"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5544 $as_echo "$ac_ct_DUMPBIN" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5551 test -n "$ac_ct_DUMPBIN" && break
5554 if test "x$ac_ct_DUMPBIN" = x; then
5557 case $cross_compiling:$ac_tool_warned in
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5561 ac_tool_warned=yes ;;
5563 DUMPBIN=$ac_ct_DUMPBIN
5568 if test "$DUMPBIN" != ":"; then
5572 test -z "$NM" && NM=nm
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5580 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5581 if ${lt_cv_nm_interface+:} false; then :
5582 $as_echo_n "(cached) " >&6
5584 lt_cv_nm_interface="BSD nm"
5585 echo "int some_variable = 0;" > conftest.$ac_ext
5586 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5587 (eval "$ac_compile" 2>conftest.err)
5588 cat conftest.err >&5
5589 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5590 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5591 cat conftest.err >&5
5592 (eval echo "\"\$as_me:__oline__: output\"" >&5)
5593 cat conftest.out >&5
5594 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5595 lt_cv_nm_interface="MS dumpbin"
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5600 $as_echo "$lt_cv_nm_interface" >&6; }
5602 # find the maximum length of command line arguments
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5604 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5605 if ${lt_cv_sys_max_cmd_len+:} false; then :
5606 $as_echo_n "(cached) " >&6
5613 # On DJGPP, this test can blow up pretty badly due to problems in libc
5614 # (any single argument exceeding 2000 bytes causes a buffer overrun
5615 # during glob expansion). Even if it were fixed, the result of this
5616 # check would be larger than it should be.
5617 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5621 # Under GNU Hurd, this test is not required because there is
5622 # no limit to the length of command line arguments.
5623 # Libtool will interpret -1 as no limit whatsoever
5624 lt_cv_sys_max_cmd_len=-1;
5627 cygwin* | mingw* | cegcc*)
5628 # On Win9x/ME, this test blows up -- it succeeds, but takes
5629 # about 5 minutes as the teststring grows exponentially.
5630 # Worse, since 9x/ME are not pre-emptively multitasking,
5631 # you end up with a "frozen" computer, even though with patience
5632 # the test eventually succeeds (with a max line length of 256k).
5633 # Instead, let's just punt: use the minimum linelength reported by
5634 # all of the supported platforms: 8192 (on NT/2K/XP).
5635 lt_cv_sys_max_cmd_len=8192;
5639 # On AmigaOS with pdksh, this test takes hours, literally.
5640 # So we just punt and use a minimum line length of 8192.
5641 lt_cv_sys_max_cmd_len=8192;
5644 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5645 # This has been around since 386BSD, at least. Likely further.
5646 if test -x /sbin/sysctl; then
5647 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5648 elif test -x /usr/sbin/sysctl; then
5649 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5651 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5653 # And add a safety zone
5654 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5655 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5659 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5660 lt_cv_sys_max_cmd_len=196608
5664 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5665 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5666 # nice to cause kernel panics so lets avoid the loop below.
5667 # First set a reasonable default.
5668 lt_cv_sys_max_cmd_len=16384
5670 if test -x /sbin/sysconfig; then
5671 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5672 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5677 lt_cv_sys_max_cmd_len=102400
5679 sysv5* | sco5v6* | sysv4.2uw2*)
5680 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5681 if test -n "$kargmax"; then
5682 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5684 lt_cv_sys_max_cmd_len=32768
5688 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5689 if test -n "$lt_cv_sys_max_cmd_len"; then
5690 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5691 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5693 # Make teststring a little bigger before we do anything with it.
5694 # a 1K string should be a reasonable start.
5695 for i in 1 2 3 4 5 6 7 8 ; do
5696 teststring=$teststring$teststring
5698 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5699 # If test is not a shell built-in, we'll probably end up computing a
5700 # maximum length that is only half of the actual maximum length, but
5702 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5703 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5704 test $i != 17 # 1/2 MB should be enough
5707 teststring=$teststring$teststring
5709 # Only check the string length outside the loop.
5710 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5712 # Add a significant safety factor because C++ compilers can tack on
5713 # massive amounts of additional arguments before passing them to the
5714 # linker. It appears as though 1/2 is a usable value.
5715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5722 if test -n $lt_cv_sys_max_cmd_len ; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5724 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5727 $as_echo "none" >&6; }
5729 max_cmd_len=$lt_cv_sys_max_cmd_len
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5741 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5742 # Try some XSI features
5745 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5747 && eval 'test $(( 1 + 1 )) -eq 2 \
5748 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5751 $as_echo "$xsi_shell" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5755 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5757 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5759 && lt_shell_append=yes
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5761 $as_echo "$lt_shell_append" >&6; }
5764 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5774 # test EBCDIC or ASCII
5775 case `echo X|tr X '\101'` in
5776 A) # ASCII based system
5777 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5778 lt_SP2NL='tr \040 \012'
5779 lt_NL2SP='tr \015\012 \040\040'
5781 *) # EBCDIC based system
5782 lt_SP2NL='tr \100 \n'
5783 lt_NL2SP='tr \r\n \100\100'
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5796 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5797 if ${lt_cv_ld_reload_flag+:} false; then :
5798 $as_echo_n "(cached) " >&6
5800 lt_cv_ld_reload_flag='-r'
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5803 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5804 reload_flag=$lt_cv_ld_reload_flag
5805 case $reload_flag in
5807 *) reload_flag=" $reload_flag" ;;
5809 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5812 if test "$GCC" = yes; then
5813 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5815 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5828 if test -n "$ac_tool_prefix"; then
5829 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5830 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if ${ac_cv_prog_OBJDUMP+:} false; then :
5834 $as_echo_n "(cached) " >&6
5836 if test -n "$OBJDUMP"; then
5837 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 test -z "$as_dir" && as_dir=.
5844 for ac_exec_ext in '' $ac_executable_extensions; do
5845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 OBJDUMP=$ac_cv_prog_OBJDUMP
5857 if test -n "$OBJDUMP"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5859 $as_echo "$OBJDUMP" >&6; }
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5867 if test -z "$ac_cv_prog_OBJDUMP"; then
5868 ac_ct_OBJDUMP=$OBJDUMP
5869 # Extract the first word of "objdump", so it can be a program name with args.
5870 set dummy objdump; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5874 $as_echo_n "(cached) " >&6
5876 if test -n "$ac_ct_OBJDUMP"; then
5877 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5897 if test -n "$ac_ct_OBJDUMP"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5899 $as_echo "$ac_ct_OBJDUMP" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5905 if test "x$ac_ct_OBJDUMP" = x; then
5908 case $cross_compiling:$ac_tool_warned in
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912 ac_tool_warned=yes ;;
5914 OBJDUMP=$ac_ct_OBJDUMP
5917 OBJDUMP="$ac_cv_prog_OBJDUMP"
5920 test -z "$OBJDUMP" && OBJDUMP=objdump
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5931 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5932 if ${lt_cv_deplibs_check_method+:} false; then :
5933 $as_echo_n "(cached) " >&6
5935 lt_cv_file_magic_cmd='$MAGIC_CMD'
5936 lt_cv_file_magic_test_file=
5937 lt_cv_deplibs_check_method='unknown'
5938 # Need to set the preceding variable on all platforms that support
5939 # interlibrary dependencies.
5940 # 'none' -- dependencies not supported.
5941 # `unknown' -- same as none, but documents that we really don't know.
5942 # 'pass_all' -- all dependencies passed with no checks.
5943 # 'test_compile' -- check by making test program.
5944 # 'file_magic [[regex]]' -- check by looking for files in library path
5945 # which responds to the $file_magic_cmd with a given extended regex.
5946 # If you have `file' or equivalent on your system and you're not sure
5947 # whether `pass_all' will *always* work, you probably want this one.
5951 lt_cv_deplibs_check_method=pass_all
5955 lt_cv_deplibs_check_method=pass_all
5959 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5960 lt_cv_file_magic_cmd='/usr/bin/file -L'
5961 lt_cv_file_magic_test_file=/shlib/libc.so
5965 # func_win32_libid is a shell function defined in ltmain.sh
5966 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5967 lt_cv_file_magic_cmd='func_win32_libid'
5971 # Base MSYS/MinGW do not provide the 'file' command needed by
5972 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5973 # unless we find 'file', for example because we are cross-compiling.
5974 if ( file / ) >/dev/null 2>&1; then
5975 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5976 lt_cv_file_magic_cmd='func_win32_libid'
5978 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5979 lt_cv_file_magic_cmd='$OBJDUMP -f'
5984 # use the weaker test based on 'objdump'. See mingw*.
5985 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5986 lt_cv_file_magic_cmd='$OBJDUMP -f'
5989 darwin* | rhapsody*)
5990 lt_cv_deplibs_check_method=pass_all
5993 freebsd* | dragonfly*)
5994 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5997 # Not sure whether the presence of OpenBSD here was a mistake.
5998 # Let's accept both of them until this is cleared up.
5999 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6000 lt_cv_file_magic_cmd=/usr/bin/file
6001 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6005 lt_cv_deplibs_check_method=pass_all
6010 lt_cv_deplibs_check_method=pass_all
6013 hpux10.20* | hpux11*)
6014 lt_cv_file_magic_cmd=/usr/bin/file
6017 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6018 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6021 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]'
6022 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6025 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6026 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6032 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6033 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6036 irix5* | irix6* | nonstopux*)
6038 *-32|*"-32 ") libmagic=32-bit;;
6039 *-n32|*"-n32 ") libmagic=N32;;
6040 *-64|*"-64 ") libmagic=64-bit;;
6041 *) libmagic=never-match;;
6043 lt_cv_deplibs_check_method=pass_all
6046 # This must be Linux ELF.
6047 linux* | k*bsd*-gnu)
6048 lt_cv_deplibs_check_method=pass_all
6052 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6053 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6055 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6060 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6061 lt_cv_file_magic_cmd=/usr/bin/file
6062 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6066 lt_cv_deplibs_check_method=pass_all
6070 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6071 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6073 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6077 osf3* | osf4* | osf5*)
6078 lt_cv_deplibs_check_method=pass_all
6082 lt_cv_deplibs_check_method=pass_all
6086 lt_cv_deplibs_check_method=pass_all
6089 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6090 lt_cv_deplibs_check_method=pass_all
6094 case $host_vendor in
6096 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]'
6097 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6100 lt_cv_deplibs_check_method=pass_all
6103 lt_cv_file_magic_cmd='/bin/file'
6104 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6107 lt_cv_file_magic_cmd='/bin/file'
6108 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6109 lt_cv_file_magic_test_file=/lib/libc.so
6112 lt_cv_deplibs_check_method=pass_all
6115 lt_cv_deplibs_check_method=pass_all
6121 lt_cv_deplibs_check_method=pass_all
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6127 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6128 file_magic_cmd=$lt_cv_file_magic_cmd
6129 deplibs_check_method=$lt_cv_deplibs_check_method
6130 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}ar; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_AR+:} false; then :
6149 $as_echo_n "(cached) " >&6
6151 if test -n "$AR"; then
6152 ac_cv_prog_AR="$AR" # Let the user override the test.
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_AR="${ac_tool_prefix}ar"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6172 if test -n "$AR"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6174 $as_echo "$AR" >&6; }
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6182 if test -z "$ac_cv_prog_AR"; then
6184 # Extract the first word of "ar", so it can be a program name with args.
6185 set dummy ar; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6189 $as_echo_n "(cached) " >&6
6191 if test -n "$ac_ct_AR"; then
6192 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_ac_ct_AR="ar"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6212 if test -n "$ac_ct_AR"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6214 $as_echo "$ac_ct_AR" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6220 if test "x$ac_ct_AR" = x; then
6223 case $cross_compiling:$ac_tool_warned in
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6227 ac_tool_warned=yes ;;
6235 test -z "$AR" && AR=ar
6236 test -z "$AR_FLAGS" && AR_FLAGS=cru
6248 if test -n "$ac_tool_prefix"; then
6249 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6250 set dummy ${ac_tool_prefix}strip; ac_word=$2
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6252 $as_echo_n "checking for $ac_word... " >&6; }
6253 if ${ac_cv_prog_STRIP+:} false; then :
6254 $as_echo_n "(cached) " >&6
6256 if test -n "$STRIP"; then
6257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 test -z "$as_dir" && as_dir=.
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6266 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6276 STRIP=$ac_cv_prog_STRIP
6277 if test -n "$STRIP"; then
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6279 $as_echo "$STRIP" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6282 $as_echo "no" >&6; }
6287 if test -z "$ac_cv_prog_STRIP"; then
6289 # Extract the first word of "strip", so it can be a program name with args.
6290 set dummy strip; ac_word=$2
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292 $as_echo_n "checking for $ac_word... " >&6; }
6293 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6294 $as_echo_n "(cached) " >&6
6296 if test -n "$ac_ct_STRIP"; then
6297 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6303 test -z "$as_dir" && as_dir=.
6304 for ac_exec_ext in '' $ac_executable_extensions; do
6305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6306 ac_cv_prog_ac_ct_STRIP="strip"
6307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6317 if test -n "$ac_ct_STRIP"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6319 $as_echo "$ac_ct_STRIP" >&6; }
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322 $as_echo "no" >&6; }
6325 if test "x$ac_ct_STRIP" = x; then
6328 case $cross_compiling:$ac_tool_warned in
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6332 ac_tool_warned=yes ;;
6337 STRIP="$ac_cv_prog_STRIP"
6340 test -z "$STRIP" && STRIP=:
6347 if test -n "$ac_tool_prefix"; then
6348 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6349 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if ${ac_cv_prog_RANLIB+:} false; then :
6353 $as_echo_n "(cached) " >&6
6355 if test -n "$RANLIB"; then
6356 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 test -z "$as_dir" && as_dir=.
6363 for ac_exec_ext in '' $ac_executable_extensions; do
6364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6365 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6375 RANLIB=$ac_cv_prog_RANLIB
6376 if test -n "$RANLIB"; then
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6378 $as_echo "$RANLIB" >&6; }
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6386 if test -z "$ac_cv_prog_RANLIB"; then
6387 ac_ct_RANLIB=$RANLIB
6388 # Extract the first word of "ranlib", so it can be a program name with args.
6389 set dummy ranlib; ac_word=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6393 $as_echo_n "(cached) " >&6
6395 if test -n "$ac_ct_RANLIB"; then
6396 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 test -z "$as_dir" && as_dir=.
6403 for ac_exec_ext in '' $ac_executable_extensions; do
6404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405 ac_cv_prog_ac_ct_RANLIB="ranlib"
6406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6415 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6416 if test -n "$ac_ct_RANLIB"; then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6418 $as_echo "$ac_ct_RANLIB" >&6; }
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421 $as_echo "no" >&6; }
6424 if test "x$ac_ct_RANLIB" = x; then
6427 case $cross_compiling:$ac_tool_warned in
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6431 ac_tool_warned=yes ;;
6433 RANLIB=$ac_ct_RANLIB
6436 RANLIB="$ac_cv_prog_RANLIB"
6439 test -z "$RANLIB" && RANLIB=:
6446 # Determine commands to create old-style static archives.
6447 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6448 old_postinstall_cmds='chmod 644 $oldlib'
6449 old_postuninstall_cmds=
6451 if test -n "$RANLIB"; then
6454 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6457 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6460 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6496 # If no C compiler was specified, use CC.
6499 # If no C compiler flags were specified, use CFLAGS.
6500 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6502 # Allow CC to be a program name with arguments.
6506 # Check for command to grab the raw symbol name followed by C symbol from nm.
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6508 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6509 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6510 $as_echo_n "(cached) " >&6
6513 # These are sane defaults that work on at least a few old systems.
6514 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6516 # Character class describing NM global symbol codes.
6517 symcode='[BCDEGRST]'
6519 # Regexp to match symbols that can be accessed directly from C.
6520 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6522 # Define system-specific variables.
6527 cygwin* | mingw* | pw32* | cegcc*)
6528 symcode='[ABCDGISTW]'
6531 if test "$host_cpu" = ia64; then
6532 symcode='[ABCDEGRST]'
6536 symcode='[BCDEGRST]'
6539 symcode='[BCDEGQRST]'
6550 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6558 # If we're using GNU nm, then use its standard symbol codes.
6559 case `$NM -V 2>&1` in
6560 *GNU* | *'with BFD'*)
6561 symcode='[ABCDGIRSTW]' ;;
6564 # Transform an extracted symbol line into a proper C declaration.
6565 # Some systems (esp. on ia64) link data and code symbols differently,
6566 # so use this general approach.
6567 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6569 # Transform an extracted symbol line into symbol name and symbol address
6570 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6571 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'"
6573 # Handle CRLF in mingw tool chain
6577 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6581 # Try without a prefix underscore, then with it.
6582 for ac_symprfx in "" "_"; do
6584 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6585 symxfrm="\\1 $ac_symprfx\\2 \\2"
6587 # Write the raw and C identifiers.
6588 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6589 # Fake it for dumpbin and say T for any non-static function
6590 # and D for any global variable.
6591 # Also find C++ and __fastcall symbols from MSVC++,
6592 # which start with @ or ?.
6593 lt_cv_sys_global_symbol_pipe="$AWK '"\
6594 " {last_section=section; section=\$ 3};"\
6595 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6596 " \$ 0!~/External *\|/{next};"\
6597 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6598 " {if(hide[section]) next};"\
6599 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6600 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6601 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6602 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6603 " ' prfx=^$ac_symprfx"
6605 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6608 # Check to see that the pipe works correctly.
6612 cat > conftest.$ac_ext <<_LT_EOF
6617 void nm_test_func(void);
6618 void nm_test_func(void){}
6622 int main(){nm_test_var='a';nm_test_func();return(0);}
6625 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6626 (eval $ac_compile) 2>&5
6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629 test $ac_status = 0; }; then
6630 # Now try to grab the symbols.
6632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6633 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6636 test $ac_status = 0; } && test -s "$nlist"; then
6637 # Try sorting and uniquifying the output.
6638 if sort "$nlist" | uniq > "$nlist"T; then
6639 mv -f "$nlist"T "$nlist"
6644 # Make sure that we snagged all the symbols we need.
6645 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6646 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6647 cat <<_LT_EOF > conftest.$ac_ext
6653 # Now generate the symbol file.
6654 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6656 cat <<_LT_EOF >> conftest.$ac_ext
6658 /* The mapping between symbol names and symbols. */
6663 lt__PROGRAM__LTX_preloaded_symbols[] =
6665 { "@PROGRAM@", (void *) 0 },
6667 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6668 cat <<\_LT_EOF >> conftest.$ac_ext
6672 /* This works around a problem in FreeBSD linker */
6673 #ifdef FREEBSD_WORKAROUND
6674 static const void *lt_preloaded_setup() {
6675 return lt__PROGRAM__LTX_preloaded_symbols;
6683 # Now try linking the two files.
6684 mv conftest.$ac_objext conftstm.$ac_objext
6685 lt_save_LIBS="$LIBS"
6686 lt_save_CFLAGS="$CFLAGS"
6687 LIBS="conftstm.$ac_objext"
6688 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6689 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6690 (eval $ac_link) 2>&5
6692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6693 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6696 LIBS="$lt_save_LIBS"
6697 CFLAGS="$lt_save_CFLAGS"
6699 echo "cannot find nm_test_func in $nlist" >&5
6702 echo "cannot find nm_test_var in $nlist" >&5
6705 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6708 echo "$progname: failed program was:" >&5
6709 cat conftest.$ac_ext >&5
6711 rm -rf conftest* conftst*
6713 # Do not use the global_symbol_pipe unless it works.
6714 if test "$pipe_works" = yes; then
6717 lt_cv_sys_global_symbol_pipe=
6723 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6724 lt_cv_sys_global_symbol_to_cdecl=
6726 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6728 $as_echo "failed" >&6; }
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6731 $as_echo "ok" >&6; }
6756 @%:@ Check whether --enable-libtool-lock was given.
6757 if test "${enable_libtool_lock+set}" = set; then :
6758 enableval=$enable_libtool_lock;
6761 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6763 # Some flags need to be propagated to the compiler or linker for good
6767 # Find out which ABI we are using.
6768 echo 'int i;' > conftest.$ac_ext
6769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6770 (eval $ac_compile) 2>&5
6772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773 test $ac_status = 0; }; then
6774 case `/usr/bin/file conftest.$ac_objext` in
6786 # Find out which ABI we are using.
6787 echo '#line __oline__ "configure"' > conftest.$ac_ext
6788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789 (eval $ac_compile) 2>&5
6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792 test $ac_status = 0; }; then
6793 if test "$lt_cv_prog_gnu_ld" = yes; then
6794 case `/usr/bin/file conftest.$ac_objext` in
6796 LD="${LD-ld} -melf32bsmip"
6799 LD="${LD-ld} -melf32bmipn32"
6802 LD="${LD-ld} -melf64bmip"
6806 case `/usr/bin/file conftest.$ac_objext` in
6822 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6823 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6824 # Find out which ABI we are using.
6825 echo 'int i;' > conftest.$ac_ext
6826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6827 (eval $ac_compile) 2>&5
6829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6830 test $ac_status = 0; }; then
6831 case `/usr/bin/file conftest.o` in
6834 x86_64-*kfreebsd*-gnu)
6835 LD="${LD-ld} -m elf_i386_fbsd"
6838 LD="${LD-ld} -m elf_i386"
6840 ppc64-*linux*|powerpc64-*linux*)
6841 LD="${LD-ld} -m elf32ppclinux"
6844 LD="${LD-ld} -m elf_s390"
6847 LD="${LD-ld} -m elf32_sparc"
6853 x86_64-*kfreebsd*-gnu)
6854 LD="${LD-ld} -m elf_x86_64_fbsd"
6857 LD="${LD-ld} -m elf_x86_64"
6859 ppc*-*linux*|powerpc*-*linux*)
6860 LD="${LD-ld} -m elf64ppc"
6862 s390*-*linux*|s390*-*tpf*)
6863 LD="${LD-ld} -m elf64_s390"
6866 LD="${LD-ld} -m elf64_sparc"
6876 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6877 SAVE_CFLAGS="$CFLAGS"
6878 CFLAGS="$CFLAGS -belf"
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6880 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6881 if ${lt_cv_cc_needs_belf+:} false; then :
6882 $as_echo_n "(cached) " >&6
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6891 /* end confdefs.h. */
6901 if ac_fn_c_try_link "$LINENO"; then :
6902 lt_cv_cc_needs_belf=yes
6904 lt_cv_cc_needs_belf=no
6906 rm -f core conftest.err conftest.$ac_objext \
6907 conftest$ac_exeext conftest.$ac_ext
6909 ac_cpp='$CPP $CPPFLAGS'
6910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6916 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6917 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6918 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6919 CFLAGS="$SAVE_CFLAGS"
6923 # Find out which ABI we are using.
6924 echo 'int i;' > conftest.$ac_ext
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 case `/usr/bin/file conftest.o` in
6932 case $lt_cv_prog_gnu_ld in
6933 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6935 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6947 need_locks="$enable_libtool_lock"
6951 rhapsody* | darwin*)
6952 if test -n "$ac_tool_prefix"; then
6953 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6954 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 $as_echo_n "checking for $ac_word... " >&6; }
6957 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6958 $as_echo_n "(cached) " >&6
6960 if test -n "$DSYMUTIL"; then
6961 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 test -z "$as_dir" && as_dir=.
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6980 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6981 if test -n "$DSYMUTIL"; then
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6983 $as_echo "$DSYMUTIL" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6986 $as_echo "no" >&6; }
6991 if test -z "$ac_cv_prog_DSYMUTIL"; then
6992 ac_ct_DSYMUTIL=$DSYMUTIL
6993 # Extract the first word of "dsymutil", so it can be a program name with args.
6994 set dummy dsymutil; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6998 $as_echo_n "(cached) " >&6
7000 if test -n "$ac_ct_DSYMUTIL"; then
7001 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7010 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7021 if test -n "$ac_ct_DSYMUTIL"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7023 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7029 if test "x$ac_ct_DSYMUTIL" = x; then
7032 case $cross_compiling:$ac_tool_warned in
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7036 ac_tool_warned=yes ;;
7038 DSYMUTIL=$ac_ct_DSYMUTIL
7041 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7044 if test -n "$ac_tool_prefix"; then
7045 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7046 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048 $as_echo_n "checking for $ac_word... " >&6; }
7049 if ${ac_cv_prog_NMEDIT+:} false; then :
7050 $as_echo_n "(cached) " >&6
7052 if test -n "$NMEDIT"; then
7053 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir=.
7060 for ac_exec_ext in '' $ac_executable_extensions; do
7061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 NMEDIT=$ac_cv_prog_NMEDIT
7073 if test -n "$NMEDIT"; then
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7075 $as_echo "$NMEDIT" >&6; }
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 $as_echo "no" >&6; }
7083 if test -z "$ac_cv_prog_NMEDIT"; then
7084 ac_ct_NMEDIT=$NMEDIT
7085 # Extract the first word of "nmedit", so it can be a program name with args.
7086 set dummy nmedit; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7090 $as_echo_n "(cached) " >&6
7092 if test -n "$ac_ct_NMEDIT"; then
7093 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7113 if test -n "$ac_ct_NMEDIT"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7115 $as_echo "$ac_ct_NMEDIT" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7121 if test "x$ac_ct_NMEDIT" = x; then
7124 case $cross_compiling:$ac_tool_warned in
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7128 ac_tool_warned=yes ;;
7130 NMEDIT=$ac_ct_NMEDIT
7133 NMEDIT="$ac_cv_prog_NMEDIT"
7136 if test -n "$ac_tool_prefix"; then
7137 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7138 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_LIPO+:} false; then :
7142 $as_echo_n "(cached) " >&6
7144 if test -n "$LIPO"; then
7145 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir=.
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 LIPO=$ac_cv_prog_LIPO
7165 if test -n "$LIPO"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7167 $as_echo "$LIPO" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7175 if test -z "$ac_cv_prog_LIPO"; then
7177 # Extract the first word of "lipo", so it can be a program name with args.
7178 set dummy lipo; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7182 $as_echo_n "(cached) " >&6
7184 if test -n "$ac_ct_LIPO"; then
7185 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194 ac_cv_prog_ac_ct_LIPO="lipo"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7205 if test -n "$ac_ct_LIPO"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7207 $as_echo "$ac_ct_LIPO" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7213 if test "x$ac_ct_LIPO" = x; then
7216 case $cross_compiling:$ac_tool_warned in
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7220 ac_tool_warned=yes ;;
7225 LIPO="$ac_cv_prog_LIPO"
7228 if test -n "$ac_tool_prefix"; then
7229 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7230 set dummy ${ac_tool_prefix}otool; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if ${ac_cv_prog_OTOOL+:} false; then :
7234 $as_echo_n "(cached) " >&6
7236 if test -n "$OTOOL"; then
7237 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256 OTOOL=$ac_cv_prog_OTOOL
7257 if test -n "$OTOOL"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7259 $as_echo "$OTOOL" >&6; }
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7267 if test -z "$ac_cv_prog_OTOOL"; then
7269 # Extract the first word of "otool", so it can be a program name with args.
7270 set dummy otool; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$ac_ct_OTOOL"; then
7277 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286 ac_cv_prog_ac_ct_OTOOL="otool"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7297 if test -n "$ac_ct_OTOOL"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7299 $as_echo "$ac_ct_OTOOL" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7305 if test "x$ac_ct_OTOOL" = x; then
7308 case $cross_compiling:$ac_tool_warned in
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7312 ac_tool_warned=yes ;;
7317 OTOOL="$ac_cv_prog_OTOOL"
7320 if test -n "$ac_tool_prefix"; then
7321 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_OTOOL64+:} false; then :
7326 $as_echo_n "(cached) " >&6
7328 if test -n "$OTOOL64"; then
7329 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348 OTOOL64=$ac_cv_prog_OTOOL64
7349 if test -n "$OTOOL64"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7351 $as_echo "$OTOOL64" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7359 if test -z "$ac_cv_prog_OTOOL64"; then
7360 ac_ct_OTOOL64=$OTOOL64
7361 # Extract the first word of "otool64", so it can be a program name with args.
7362 set dummy otool64; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7366 $as_echo_n "(cached) " >&6
7368 if test -n "$ac_ct_OTOOL64"; then
7369 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7378 ac_cv_prog_ac_ct_OTOOL64="otool64"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7389 if test -n "$ac_ct_OTOOL64"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7391 $as_echo "$ac_ct_OTOOL64" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7397 if test "x$ac_ct_OTOOL64" = x; then
7400 case $cross_compiling:$ac_tool_warned in
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7406 OTOOL64=$ac_ct_OTOOL64
7409 OTOOL64="$ac_cv_prog_OTOOL64"
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7439 $as_echo_n "checking for -single_module linker flag... " >&6; }
7440 if ${lt_cv_apple_cc_single_mod+:} false; then :
7441 $as_echo_n "(cached) " >&6
7443 lt_cv_apple_cc_single_mod=no
7444 if test -z "${LT_MULTI_MODULE}"; then
7445 # By default we will add the -single_module flag. You can override
7446 # by either setting the environment variable LT_MULTI_MODULE
7447 # non-empty at configure time, or by adding -multi_module to the
7449 rm -rf libconftest.dylib*
7450 echo "int foo(void){return 1;}" > conftest.c
7451 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7452 -dynamiclib -Wl,-single_module conftest.c" >&5
7453 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7454 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7456 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7457 lt_cv_apple_cc_single_mod=yes
7459 cat conftest.err >&5
7461 rm -rf libconftest.dylib*
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7466 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7468 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7469 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7470 $as_echo_n "(cached) " >&6
7472 lt_cv_ld_exported_symbols_list=no
7473 save_LDFLAGS=$LDFLAGS
7474 echo "_main" > conftest.sym
7475 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h. */
7487 if ac_fn_c_try_link "$LINENO"; then :
7488 lt_cv_ld_exported_symbols_list=yes
7490 lt_cv_ld_exported_symbols_list=no
7492 rm -f core conftest.err conftest.$ac_objext \
7493 conftest$ac_exeext conftest.$ac_ext
7494 LDFLAGS="$save_LDFLAGS"
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7498 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7500 rhapsody* | darwin1.[012])
7501 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7503 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7504 darwin*) # darwin 5.x on
7505 # if running on 10.5 or later, the deployment target defaults
7506 # to the OS version, if on x86, and 10.4, the deployment
7507 # target defaults to 10.4. Don't you love it?
7508 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7509 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7510 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7512 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7514 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7518 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7519 _lt_dar_single_mod='$single_module'
7521 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7522 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7524 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7526 if test "$DSYMUTIL" != ":"; then
7527 _lt_dsymutil='~$DSYMUTIL $lib || :'
7535 ac_cpp='$CPP $CPPFLAGS'
7536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7540 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7541 # On Suns, sometimes $CPP names a directory.
7542 if test -n "$CPP" && test -d "$CPP"; then
7545 if test -z "$CPP"; then
7546 if ${ac_cv_prog_CPP+:} false; then :
7547 $as_echo_n "(cached) " >&6
7549 # Double quotes because CPP needs to be expanded
7550 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7553 for ac_c_preproc_warn_flag in '' yes
7555 # Use a header file that comes with gcc, so configuring glibc
7556 # with a fresh cross-compiler works.
7557 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7558 # <limits.h> exists even on freestanding compilers.
7559 # On the NeXT, cc -E runs the code through the compiler's parser,
7560 # not just through cpp. "Syntax error" is here to catch this case.
7561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7564 @%:@ include <limits.h>
7566 @%:@ include <assert.h>
7570 if ac_fn_c_try_cpp "$LINENO"; then :
7573 # Broken: fails on valid input.
7576 rm -f conftest.err conftest.i conftest.$ac_ext
7578 # OK, works on sane cases. Now check whether nonexistent headers
7579 # can be detected and how.
7580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7582 @%:@include <ac_nonexistent.h>
7584 if ac_fn_c_try_cpp "$LINENO"; then :
7585 # Broken: success on invalid input.
7588 # Passes both tests.
7592 rm -f conftest.err conftest.i conftest.$ac_ext
7595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7596 rm -f conftest.i conftest.err conftest.$ac_ext
7597 if $ac_preproc_ok; then :
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7610 $as_echo "$CPP" >&6; }
7612 for ac_c_preproc_warn_flag in '' yes
7614 # Use a header file that comes with gcc, so configuring glibc
7615 # with a fresh cross-compiler works.
7616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7617 # <limits.h> exists even on freestanding compilers.
7618 # On the NeXT, cc -E runs the code through the compiler's parser,
7619 # not just through cpp. "Syntax error" is here to catch this case.
7620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h. */
7623 @%:@ include <limits.h>
7625 @%:@ include <assert.h>
7629 if ac_fn_c_try_cpp "$LINENO"; then :
7632 # Broken: fails on valid input.
7635 rm -f conftest.err conftest.i conftest.$ac_ext
7637 # OK, works on sane cases. Now check whether nonexistent headers
7638 # can be detected and how.
7639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7641 @%:@include <ac_nonexistent.h>
7643 if ac_fn_c_try_cpp "$LINENO"; then :
7644 # Broken: success on invalid input.
7647 # Passes both tests.
7651 rm -f conftest.err conftest.i conftest.$ac_ext
7654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7655 rm -f conftest.i conftest.err conftest.$ac_ext
7656 if $ac_preproc_ok; then :
7659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7661 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7662 See \`config.log' for more details" "$LINENO" 5; }
7666 ac_cpp='$CPP $CPPFLAGS'
7667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7673 $as_echo_n "checking for ANSI C header files... " >&6; }
7674 if ${ac_cv_header_stdc+:} false; then :
7675 $as_echo_n "(cached) " >&6
7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7692 if ac_fn_c_try_compile "$LINENO"; then :
7693 ac_cv_header_stdc=yes
7695 ac_cv_header_stdc=no
7697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7699 if test $ac_cv_header_stdc = yes; then
7700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7707 $EGREP "memchr" >/dev/null 2>&1; then :
7710 ac_cv_header_stdc=no
7716 if test $ac_cv_header_stdc = yes; then
7717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h. */
7723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7724 $EGREP "free" >/dev/null 2>&1; then :
7727 ac_cv_header_stdc=no
7733 if test $ac_cv_header_stdc = yes; then
7734 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7735 if test "$cross_compiling" = yes; then :
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7742 #if ((' ' & 0x0FF) == 0x020)
7743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7746 # define ISLOWER(c) \
7747 (('a' <= (c) && (c) <= 'i') \
7748 || ('j' <= (c) && (c) <= 'r') \
7749 || ('s' <= (c) && (c) <= 'z'))
7750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7758 for (i = 0; i < 256; i++)
7759 if (XOR (islower (i), ISLOWER (i))
7760 || toupper (i) != TOUPPER (i))
7765 if ac_fn_c_try_run "$LINENO"; then :
7768 ac_cv_header_stdc=no
7770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7771 conftest.$ac_objext conftest.beam conftest.$ac_ext
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7777 $as_echo "$ac_cv_header_stdc" >&6; }
7778 if test $ac_cv_header_stdc = yes; then
7780 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7784 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7785 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7786 inttypes.h stdint.h unistd.h
7788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7789 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7791 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7792 cat >>confdefs.h <<_ACEOF
7793 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7801 for ac_header in dlfcn.h
7803 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7805 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7806 cat >>confdefs.h <<_ACEOF
7807 @%:@define HAVE_DLFCN_H 1
7826 @%:@ Check whether --enable-shared was given.
7827 if test "${enable_shared+set}" = set; then :
7828 enableval=$enable_shared; p=${PACKAGE-default}
7830 yes) enable_shared=yes ;;
7831 no) enable_shared=no ;;
7834 # Look at the argument we got. We use all the common list separators.
7835 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7836 for pkg in $enableval; do
7838 if test "X$pkg" = "X$p"; then
7857 @%:@ Check whether --enable-static was given.
7858 if test "${enable_static+set}" = set; then :
7859 enableval=$enable_static; p=${PACKAGE-default}
7861 yes) enable_static=yes ;;
7862 no) enable_static=no ;;
7865 # Look at the argument we got. We use all the common list separators.
7866 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7867 for pkg in $enableval; do
7869 if test "X$pkg" = "X$p"; then
7889 @%:@ Check whether --with-pic was given.
7890 if test "${with_pic+set}" = set; then :
7891 withval=$with_pic; pic_mode="$withval"
7897 test -z "$pic_mode" && pic_mode=default
7905 @%:@ Check whether --enable-fast-install was given.
7906 if test "${enable_fast_install+set}" = set; then :
7907 enableval=$enable_fast_install; p=${PACKAGE-default}
7909 yes) enable_fast_install=yes ;;
7910 no) enable_fast_install=no ;;
7912 enable_fast_install=no
7913 # Look at the argument we got. We use all the common list separators.
7914 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7915 for pkg in $enableval; do
7917 if test "X$pkg" = "X$p"; then
7918 enable_fast_install=yes
7925 enable_fast_install=yes
7938 # This can be used to rebuild libtool when needed
7939 LIBTOOL_DEPS="$ltmain"
7941 # Always use our own libtool.
7942 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7968 test -z "$LN_S" && LN_S="ln -s"
7983 if test -n "${ZSH_VERSION+set}" ; then
7984 setopt NO_GLOB_SUBST
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7988 $as_echo_n "checking for objdir... " >&6; }
7989 if ${lt_cv_objdir+:} false; then :
7990 $as_echo_n "(cached) " >&6
7992 rm -f .libs 2>/dev/null
7993 mkdir .libs 2>/dev/null
7994 if test -d .libs; then
7997 # MS-DOS does not allow filenames that begin with a dot.
8000 rmdir .libs 2>/dev/null
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8003 $as_echo "$lt_cv_objdir" >&6; }
8004 objdir=$lt_cv_objdir
8010 cat >>confdefs.h <<_ACEOF
8011 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8032 # AIX sometimes has problems with the GCC collect2 program. For some
8033 # reason, if we set the COLLECT_NAMES environment variable, the problems
8034 # vanish in a puff of smoke.
8035 if test "X${COLLECT_NAMES+set}" != Xset; then
8037 export COLLECT_NAMES
8042 # Sed substitution that helps us do robust quoting. It backslashifies
8043 # metacharacters that are still active within double-quoted strings.
8044 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8046 # Same as above, but do not quote variable references.
8047 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8049 # Sed substitution to delay expansion of an escaped shell variable in a
8050 # double_quote_subst'ed string.
8051 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8053 # Sed substitution to delay expansion of an escaped single quote.
8054 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8056 # Sed substitution to avoid accidental globbing in evaled expressions
8057 no_glob_subst='s/\*/\\\*/g'
8061 can_build_shared=yes
8063 # All known linkers require a `.a' archive for static linking (except MSVC,
8064 # which needs '.lib').
8067 with_gnu_ld="$lt_cv_prog_gnu_ld"
8070 old_CFLAGS="$CFLAGS"
8072 # Set sane defaults for various variables
8073 test -z "$CC" && CC=cc
8074 test -z "$LTCC" && LTCC=$CC
8075 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8076 test -z "$LD" && LD=ld
8077 test -z "$ac_objext" && ac_objext=o
8079 for cc_temp in $compiler""; do
8081 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8082 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8087 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8090 # Only perform the check for file, if the check method requires it
8091 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8092 case $deplibs_check_method in
8094 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8096 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8097 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8098 $as_echo_n "(cached) " >&6
8102 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8105 lt_save_MAGIC_CMD="$MAGIC_CMD"
8106 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8107 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8108 for ac_dir in $ac_dummy; do
8110 test -z "$ac_dir" && ac_dir=.
8111 if test -f $ac_dir/${ac_tool_prefix}file; then
8112 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8113 if test -n "$file_magic_test_file"; then
8114 case $deplibs_check_method in
8116 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8117 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8118 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8119 $EGREP "$file_magic_regex" > /dev/null; then
8124 *** Warning: the command libtool uses to detect shared libraries,
8125 *** $file_magic_cmd, produces output that libtool cannot recognize.
8126 *** The result is that libtool may fail to recognize shared libraries
8127 *** as such. This will affect the creation of libtool libraries that
8128 *** depend on shared libraries, but programs linked with such libtool
8129 *** libraries will work regardless of this problem. Nevertheless, you
8130 *** may want to report the problem to your system manager and/or to
8131 *** bug-libtool@gnu.org
8141 MAGIC_CMD="$lt_save_MAGIC_CMD"
8146 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8147 if test -n "$MAGIC_CMD"; then
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8149 $as_echo "$MAGIC_CMD" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8159 if test -z "$lt_cv_path_MAGIC_CMD"; then
8160 if test -n "$ac_tool_prefix"; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8162 $as_echo_n "checking for file... " >&6; }
8163 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8164 $as_echo_n "(cached) " >&6
8168 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8171 lt_save_MAGIC_CMD="$MAGIC_CMD"
8172 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8173 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8174 for ac_dir in $ac_dummy; do
8176 test -z "$ac_dir" && ac_dir=.
8177 if test -f $ac_dir/file; then
8178 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8179 if test -n "$file_magic_test_file"; then
8180 case $deplibs_check_method in
8182 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8184 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8185 $EGREP "$file_magic_regex" > /dev/null; then
8190 *** Warning: the command libtool uses to detect shared libraries,
8191 *** $file_magic_cmd, produces output that libtool cannot recognize.
8192 *** The result is that libtool may fail to recognize shared libraries
8193 *** as such. This will affect the creation of libtool libraries that
8194 *** depend on shared libraries, but programs linked with such libtool
8195 *** libraries will work regardless of this problem. Nevertheless, you
8196 *** may want to report the problem to your system manager and/or to
8197 *** bug-libtool@gnu.org
8207 MAGIC_CMD="$lt_save_MAGIC_CMD"
8212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8213 if test -n "$MAGIC_CMD"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8215 $as_echo "$MAGIC_CMD" >&6; }
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8231 # Use C for the default configuration in the libtool script
8235 ac_cpp='$CPP $CPPFLAGS'
8236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8241 # Source file extension for C test sources.
8244 # Object file extension for compiled C test sources.
8248 # Code to be used in simple compile tests
8249 lt_simple_compile_test_code="int some_variable = 0;"
8251 # Code to be used in simple link tests
8252 lt_simple_link_test_code='int main(){return(0);}'
8260 # If no C compiler was specified, use CC.
8263 # If no C compiler flags were specified, use CFLAGS.
8264 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8266 # Allow CC to be a program name with arguments.
8269 # Save the default compiler, since it gets overwritten when the other
8270 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8271 compiler_DEFAULT=$CC
8273 # save warnings/boilerplate of simple test code
8274 ac_outfile=conftest.$ac_objext
8275 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8276 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8277 _lt_compiler_boilerplate=`cat conftest.err`
8280 ac_outfile=conftest.$ac_objext
8281 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8282 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8283 _lt_linker_boilerplate=`cat conftest.err`
8288 ## There is no encapsulation within the following macros, do not change
8289 ## the running order or otherwise move them around unless you know exactly
8290 ## what you are doing...
8291 if test -n "$compiler"; then
8293 lt_prog_compiler_no_builtin_flag=
8295 if test "$GCC" = yes; then
8296 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8299 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8300 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8301 $as_echo_n "(cached) " >&6
8303 lt_cv_prog_compiler_rtti_exceptions=no
8304 ac_outfile=conftest.$ac_objext
8305 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8306 lt_compiler_flag="-fno-rtti -fno-exceptions"
8307 # Insert the option either (1) after the last *FLAGS variable, or
8308 # (2) before a word containing "conftest.", or (3) at the end.
8309 # Note that $ac_compile itself does not contain backslashes and begins
8310 # with a dollar sign (not a hyphen), so the echo should work correctly.
8311 # The option is referenced via a variable to avoid confusing sed.
8312 lt_compile=`echo "$ac_compile" | $SED \
8313 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8315 -e 's:$: $lt_compiler_flag:'`
8316 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8317 (eval "$lt_compile" 2>conftest.err)
8319 cat conftest.err >&5
8320 echo "$as_me:__oline__: \$? = $ac_status" >&5
8321 if (exit $ac_status) && test -s "$ac_outfile"; then
8322 # The compiler can only warn and ignore the option if not recognized
8323 # So say no if there are warnings other than the usual output.
8324 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8325 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8326 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8327 lt_cv_prog_compiler_rtti_exceptions=yes
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8334 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8336 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8337 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8349 lt_prog_compiler_wl=
8350 lt_prog_compiler_pic=
8351 lt_prog_compiler_static=
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8354 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8356 if test "$GCC" = yes; then
8357 lt_prog_compiler_wl='-Wl,'
8358 lt_prog_compiler_static='-static'
8362 # All AIX code is PIC.
8363 if test "$host_cpu" = ia64; then
8364 # AIX 5 now supports IA64 processor
8365 lt_prog_compiler_static='-Bstatic'
8372 # see comment about AmigaOS4 .so support
8373 lt_prog_compiler_pic='-fPIC'
8376 # FIXME: we need at least 68020 code to build shared libraries, but
8377 # adding the `-m68020' flag to GCC prevents building anything better,
8379 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8384 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8385 # PIC is the default for these OSes.
8388 mingw* | cygwin* | pw32* | os2* | cegcc*)
8389 # This hack is so that the source file can tell whether it is being
8390 # built for inclusion in a dll (and should export symbols for example).
8391 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8392 # (--disable-auto-import) libraries
8393 lt_prog_compiler_pic='-DDLL_EXPORT'
8396 darwin* | rhapsody*)
8397 # PIC is the default on this platform
8398 # Common symbols not allowed in MH_DYLIB files
8399 lt_prog_compiler_pic='-fno-common'
8403 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8404 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8405 # sets the default TLS model and affects inlining.
8411 lt_prog_compiler_pic='-fPIC'
8417 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8418 # Instead, we relocate shared libraries at runtime.
8422 # Just because we use GCC doesn't mean we suddenly get shared libraries
8423 # on systems that don't support them.
8424 lt_prog_compiler_can_build_shared=no
8429 # QNX uses GNU C++, but need to define -shared option too, otherwise
8431 lt_prog_compiler_pic='-fPIC -shared'
8435 if test -d /usr/nec; then
8436 lt_prog_compiler_pic=-Kconform_pic
8441 lt_prog_compiler_pic='-fPIC'
8445 # PORTME Check for flag to pass linker flags through the system compiler.
8448 lt_prog_compiler_wl='-Wl,'
8449 if test "$host_cpu" = ia64; then
8450 # AIX 5 now supports IA64 processor
8451 lt_prog_compiler_static='-Bstatic'
8453 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8457 mingw* | cygwin* | pw32* | os2* | cegcc*)
8458 # This hack is so that the source file can tell whether it is being
8459 # built for inclusion in a dll (and should export symbols for example).
8460 lt_prog_compiler_pic='-DDLL_EXPORT'
8463 hpux9* | hpux10* | hpux11*)
8464 lt_prog_compiler_wl='-Wl,'
8465 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8472 lt_prog_compiler_pic='+Z'
8475 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8476 lt_prog_compiler_static='${wl}-a ${wl}archive'
8479 irix5* | irix6* | nonstopux*)
8480 lt_prog_compiler_wl='-Wl,'
8481 # PIC (with -KPIC) is the default.
8482 lt_prog_compiler_static='-non_shared'
8485 linux* | k*bsd*-gnu)
8486 case $cc_basename in
8487 # old Intel for x86_64 which still supported -KPIC.
8489 lt_prog_compiler_wl='-Wl,'
8490 lt_prog_compiler_pic='-KPIC'
8491 lt_prog_compiler_static='-static'
8493 # icc used to be incompatible with GCC.
8494 # ICC 10 doesn't accept -KPIC any more.
8496 lt_prog_compiler_wl='-Wl,'
8497 lt_prog_compiler_pic='-fPIC'
8498 lt_prog_compiler_static='-static'
8500 # Lahey Fortran 8.1.
8502 lt_prog_compiler_wl='-Wl,'
8503 lt_prog_compiler_pic='--shared'
8504 lt_prog_compiler_static='--static'
8506 pgcc* | pgf77* | pgf90* | pgf95*)
8507 # Portland Group compilers (*not* the Pentium gcc compiler,
8508 # which looks to be a dead project)
8509 lt_prog_compiler_wl='-Wl,'
8510 lt_prog_compiler_pic='-fpic'
8511 lt_prog_compiler_static='-Bstatic'
8514 lt_prog_compiler_wl='-Wl,'
8515 # All Alpha code is PIC.
8516 lt_prog_compiler_static='-non_shared'
8519 # IBM XL C 8.0/Fortran 10.1 on PPC
8520 lt_prog_compiler_wl='-Wl,'
8521 lt_prog_compiler_pic='-qpic'
8522 lt_prog_compiler_static='-qstaticlink'
8525 case `$CC -V 2>&1 | sed 5q` in
8528 lt_prog_compiler_pic='-KPIC'
8529 lt_prog_compiler_static='-Bstatic'
8530 lt_prog_compiler_wl='-Wl,'
8533 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8534 lt_prog_compiler_pic='-KPIC'
8535 lt_prog_compiler_static='-Bstatic'
8536 lt_prog_compiler_wl=''
8544 lt_prog_compiler_pic='-KPIC'
8545 lt_prog_compiler_static='-Bstatic'
8549 # QNX uses GNU C++, but need to define -shared option too, otherwise
8551 lt_prog_compiler_pic='-fPIC -shared'
8554 osf3* | osf4* | osf5*)
8555 lt_prog_compiler_wl='-Wl,'
8556 # All OSF/1 code is PIC.
8557 lt_prog_compiler_static='-non_shared'
8561 lt_prog_compiler_static='-non_shared'
8565 lt_prog_compiler_pic='-KPIC'
8566 lt_prog_compiler_static='-Bstatic'
8567 case $cc_basename in
8569 lt_prog_compiler_wl='-Qoption ld ';;
8571 lt_prog_compiler_wl='-Wl,';;
8576 lt_prog_compiler_wl='-Qoption ld '
8577 lt_prog_compiler_pic='-PIC'
8578 lt_prog_compiler_static='-Bstatic'
8581 sysv4 | sysv4.2uw2* | sysv4.3*)
8582 lt_prog_compiler_wl='-Wl,'
8583 lt_prog_compiler_pic='-KPIC'
8584 lt_prog_compiler_static='-Bstatic'
8588 if test -d /usr/nec ;then
8589 lt_prog_compiler_pic='-Kconform_pic'
8590 lt_prog_compiler_static='-Bstatic'
8594 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8595 lt_prog_compiler_wl='-Wl,'
8596 lt_prog_compiler_pic='-KPIC'
8597 lt_prog_compiler_static='-Bstatic'
8601 lt_prog_compiler_wl='-Wl,'
8602 lt_prog_compiler_can_build_shared=no
8606 lt_prog_compiler_pic='-pic'
8607 lt_prog_compiler_static='-Bstatic'
8611 lt_prog_compiler_can_build_shared=no
8617 # For platforms which do not support PIC, -DPIC is meaningless:
8619 lt_prog_compiler_pic=
8622 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8626 $as_echo "$lt_prog_compiler_pic" >&6; }
8634 # Check to make sure the PIC flag actually works.
8636 if test -n "$lt_prog_compiler_pic"; then
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8638 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8639 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8640 $as_echo_n "(cached) " >&6
8642 lt_cv_prog_compiler_pic_works=no
8643 ac_outfile=conftest.$ac_objext
8644 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8645 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8646 # Insert the option either (1) after the last *FLAGS variable, or
8647 # (2) before a word containing "conftest.", or (3) at the end.
8648 # Note that $ac_compile itself does not contain backslashes and begins
8649 # with a dollar sign (not a hyphen), so the echo should work correctly.
8650 # The option is referenced via a variable to avoid confusing sed.
8651 lt_compile=`echo "$ac_compile" | $SED \
8652 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8654 -e 's:$: $lt_compiler_flag:'`
8655 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8656 (eval "$lt_compile" 2>conftest.err)
8658 cat conftest.err >&5
8659 echo "$as_me:__oline__: \$? = $ac_status" >&5
8660 if (exit $ac_status) && test -s "$ac_outfile"; then
8661 # The compiler can only warn and ignore the option if not recognized
8662 # So say no if there are warnings other than the usual output.
8663 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8664 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8665 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8666 lt_cv_prog_compiler_pic_works=yes
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8673 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8675 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8676 case $lt_prog_compiler_pic in
8678 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8681 lt_prog_compiler_pic=
8682 lt_prog_compiler_can_build_shared=no
8693 # Check to make sure the static flag actually works.
8695 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8697 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8698 if ${lt_cv_prog_compiler_static_works+:} false; then :
8699 $as_echo_n "(cached) " >&6
8701 lt_cv_prog_compiler_static_works=no
8702 save_LDFLAGS="$LDFLAGS"
8703 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8704 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8705 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8706 # The linker can only warn and ignore the option if not recognized
8707 # So say no if there are warnings
8708 if test -s conftest.err; then
8709 # Append any errors to the config.log.
8710 cat conftest.err 1>&5
8711 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8712 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8713 if diff conftest.exp conftest.er2 >/dev/null; then
8714 lt_cv_prog_compiler_static_works=yes
8717 lt_cv_prog_compiler_static_works=yes
8721 LDFLAGS="$save_LDFLAGS"
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8725 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8727 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8730 lt_prog_compiler_static=
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8740 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8741 if ${lt_cv_prog_compiler_c_o+:} false; then :
8742 $as_echo_n "(cached) " >&6
8744 lt_cv_prog_compiler_c_o=no
8745 $RM -r conftest 2>/dev/null
8749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8751 lt_compiler_flag="-o out/conftest2.$ac_objext"
8752 # Insert the option either (1) after the last *FLAGS variable, or
8753 # (2) before a word containing "conftest.", or (3) at the end.
8754 # Note that $ac_compile itself does not contain backslashes and begins
8755 # with a dollar sign (not a hyphen), so the echo should work correctly.
8756 lt_compile=`echo "$ac_compile" | $SED \
8757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8759 -e 's:$: $lt_compiler_flag:'`
8760 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8761 (eval "$lt_compile" 2>out/conftest.err)
8763 cat out/conftest.err >&5
8764 echo "$as_me:__oline__: \$? = $ac_status" >&5
8765 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8767 # The compiler can only warn and ignore the option if not recognized
8768 # So say no if there are warnings
8769 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8770 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8771 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8772 lt_cv_prog_compiler_c_o=yes
8777 # SGI C++ compiler will create directory out/ii_files/ for
8778 # template instantiation
8779 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8780 $RM out/* && rmdir out
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8787 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8795 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8796 if ${lt_cv_prog_compiler_c_o+:} false; then :
8797 $as_echo_n "(cached) " >&6
8799 lt_cv_prog_compiler_c_o=no
8800 $RM -r conftest 2>/dev/null
8804 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8806 lt_compiler_flag="-o out/conftest2.$ac_objext"
8807 # Insert the option either (1) after the last *FLAGS variable, or
8808 # (2) before a word containing "conftest.", or (3) at the end.
8809 # Note that $ac_compile itself does not contain backslashes and begins
8810 # with a dollar sign (not a hyphen), so the echo should work correctly.
8811 lt_compile=`echo "$ac_compile" | $SED \
8812 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8813 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8814 -e 's:$: $lt_compiler_flag:'`
8815 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8816 (eval "$lt_compile" 2>out/conftest.err)
8818 cat out/conftest.err >&5
8819 echo "$as_me:__oline__: \$? = $ac_status" >&5
8820 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8822 # The compiler can only warn and ignore the option if not recognized
8823 # So say no if there are warnings
8824 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8825 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8826 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8827 lt_cv_prog_compiler_c_o=yes
8832 # SGI C++ compiler will create directory out/ii_files/ for
8833 # template instantiation
8834 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8835 $RM out/* && rmdir out
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8842 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8847 hard_links="nottested"
8848 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8849 # do not overwrite the value of need_locks provided by the user
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8851 $as_echo_n "checking if we can lock with hard links... " >&6; }
8854 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8856 ln conftest.a conftest.b 2>&5 || hard_links=no
8857 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8859 $as_echo "$hard_links" >&6; }
8860 if test "$hard_links" = no; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8862 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8875 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8878 allow_undefined_flag=
8879 always_export_symbols=no
8881 archive_expsym_cmds=
8882 compiler_needs_object=no
8883 enable_shared_with_static_runtimes=no
8884 export_dynamic_flag_spec=
8885 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8886 hardcode_automatic=no
8888 hardcode_direct_absolute=no
8889 hardcode_libdir_flag_spec=
8890 hardcode_libdir_flag_spec_ld=
8891 hardcode_libdir_separator=
8893 hardcode_shlibpath_var=unsupported
8895 link_all_deplibs=unknown
8898 old_archive_from_new_cmds=
8899 old_archive_from_expsyms_cmds=
8900 thread_safe_flag_spec=
8901 whole_archive_flag_spec=
8902 # include_expsyms should be a list of space-separated symbols to be *always*
8903 # included in the symbol list
8905 # exclude_expsyms can be an extended regexp of symbols to exclude
8906 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8907 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8908 # as well as any symbol that contains `d'.
8909 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8910 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8911 # platforms (ab)use it in PIC code, but their linkers get confused if
8912 # the symbol is explicitly referenced. Since portable code cannot
8913 # rely on this symbol name, it's probably fine to never include it in
8914 # preloaded symbol tables.
8915 # Exclude shared library initialization/finalization symbols.
8916 extract_expsyms_cmds=
8919 cygwin* | mingw* | pw32* | cegcc*)
8920 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8921 # When not using gcc, we currently assume that we are using
8922 # Microsoft Visual C++.
8923 if test "$GCC" != yes; then
8928 # we just hope/assume this is gcc and not c89 (= MSVC++)
8937 if test "$with_gnu_ld" = yes; then
8938 # If archive_cmds runs LD, not CC, wlarc should be empty
8941 # Set some defaults for GNU ld with shared library support. These
8942 # are reset later if shared libraries are not supported. Putting them
8943 # here allows them to be overridden if necessary.
8944 runpath_var=LD_RUN_PATH
8945 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8946 export_dynamic_flag_spec='${wl}--export-dynamic'
8947 # ancient GNU ld didn't support --whole-archive et. al.
8948 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8949 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8951 whole_archive_flag_spec=
8953 supports_anon_versioning=no
8954 case `$LD -v 2>&1` in
8955 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8956 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8957 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8958 *\ 2.11.*) ;; # other 2.11 versions
8959 *) supports_anon_versioning=yes ;;
8962 # See if GNU ld supports shared libraries.
8965 # On AIX/PPC, the GNU linker is very broken
8966 if test "$host_cpu" != ia64; then
8970 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8971 *** to be unable to reliably create shared libraries on AIX.
8972 *** Therefore, libtool is disabling shared libraries support. If you
8973 *** really care for shared libraries, you may want to modify your PATH
8974 *** so that a non-GNU linker is found, and then restart.
8983 # see comment about AmigaOS4 .so support
8984 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8985 archive_expsym_cmds=''
8988 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)'
8989 hardcode_libdir_flag_spec='-L$libdir'
8990 hardcode_minus_L=yes
8996 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8997 allow_undefined_flag=unsupported
8998 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8999 # support --undefined. This deserves some investigation. FIXME
9000 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9006 cygwin* | mingw* | pw32* | cegcc*)
9007 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9008 # as there is no search path for DLLs.
9009 hardcode_libdir_flag_spec='-L$libdir'
9010 allow_undefined_flag=unsupported
9011 always_export_symbols=no
9012 enable_shared_with_static_runtimes=yes
9013 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9015 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9016 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9017 # If the export-symbols file already is a .def file (1st line
9018 # is EXPORTS), use it as is; otherwise, prepend...
9019 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9020 cp $export_symbols $output_objdir/$soname.def;
9022 echo EXPORTS > $output_objdir/$soname.def;
9023 cat $export_symbols >> $output_objdir/$soname.def;
9025 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9033 hardcode_shlibpath_var=no
9034 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9035 export_dynamic_flag_spec='${wl}-E'
9036 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9037 # Instead, shared libraries are loaded at an image base (0x10000000 by
9038 # default) and relocated if they conflict, which is a slow very memory
9039 # consuming and fragmenting process. To avoid this, we pick a random,
9040 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9041 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9042 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9043 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'
9046 gnu* | linux* | tpf* | k*bsd*-gnu)
9048 if test "$host_os" = linux-dietlibc; then
9049 case $cc_basename in
9050 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9053 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9054 && test "$tmp_diet" = no
9057 tmp_sharedflag='-shared'
9058 case $cc_basename,$host_cpu in
9059 pgcc*) # Portland Group C compiler
9060 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'
9061 tmp_addflag=' $pic_flag'
9063 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9064 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'
9065 tmp_addflag=' $pic_flag -Mnomain' ;;
9066 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9067 tmp_addflag=' -i_dynamic' ;;
9068 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9069 tmp_addflag=' -i_dynamic -nofor_main' ;;
9070 ifc* | ifort*) # Intel Fortran compiler
9071 tmp_addflag=' -nofor_main' ;;
9072 lf95*) # Lahey Fortran 8.1
9073 whole_archive_flag_spec=
9074 tmp_sharedflag='--shared' ;;
9075 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9076 tmp_sharedflag='-qmkshrobj'
9079 case `$CC -V 2>&1 | sed 5q` in
9080 *Sun\ C*) # Sun C 5.9
9081 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'
9082 compiler_needs_object=yes
9083 tmp_sharedflag='-G' ;;
9084 *Sun\ F*) # Sun Fortran 8.3
9085 tmp_sharedflag='-G' ;;
9087 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9089 if test "x$supports_anon_versioning" = xyes; then
9090 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9091 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9092 echo "local: *; };" >> $output_objdir/$libname.ver~
9093 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9096 case $cc_basename in
9098 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9099 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9100 hardcode_libdir_flag_spec=
9101 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9102 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9103 if test "x$supports_anon_versioning" = xyes; then
9104 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9105 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9106 echo "local: *; };" >> $output_objdir/$libname.ver~
9107 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9117 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9118 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9121 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9127 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9131 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9132 *** create shared libraries on Solaris systems. Therefore, libtool
9133 *** is disabling shared libraries support. We urge you to upgrade GNU
9134 *** binutils to release 2.9.1 or newer. Another option is to modify
9135 *** your PATH or compiler configuration so that the native linker is
9136 *** used, and then restart.
9139 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9147 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9148 case `$LD -v 2>&1` in
9149 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9153 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9154 *** reliably create shared libraries on SCO systems. Therefore, libtool
9155 *** is disabling shared libraries support. We urge you to upgrade GNU
9156 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9157 *** your PATH or compiler configuration so that the native linker is
9158 *** used, and then restart.
9163 # For security reasons, it is highly recommended that you always
9164 # use absolute paths for naming shared libraries, and exclude the
9165 # DT_RUNPATH tag from executables and libraries. But doing so
9166 # requires that you compile everything twice, which is a pain.
9167 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9168 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9169 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9170 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9179 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9182 hardcode_shlibpath_var=no
9186 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9187 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9195 if test "$ld_shlibs" = no; then
9197 hardcode_libdir_flag_spec=
9198 export_dynamic_flag_spec=
9199 whole_archive_flag_spec=
9202 # PORTME fill in a description of your system's linker (not GNU ld)
9205 allow_undefined_flag=unsupported
9206 always_export_symbols=yes
9207 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'
9208 # Note: this linker hardcodes the directories in LIBPATH if there
9209 # are no directories specified by -L.
9210 hardcode_minus_L=yes
9211 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9212 # Neither direct hardcoding nor static linking is supported with a
9214 hardcode_direct=unsupported
9219 if test "$host_cpu" = ia64; then
9220 # On IA64, the linker does run time linking by default, so we don't
9221 # have to do anything special.
9222 aix_use_runtimelinking=no
9223 exp_sym_flag='-Bexport'
9226 # If we're using GNU nm, then we don't want the "-C" option.
9227 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9228 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9229 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'
9231 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'
9233 aix_use_runtimelinking=no
9235 # Test if we are trying to use run time linking or normal
9236 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9237 # need to do runtime linking.
9238 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9239 for ld_flag in $LDFLAGS; do
9240 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9241 aix_use_runtimelinking=yes
9248 exp_sym_flag='-bexport'
9249 no_entry_flag='-bnoentry'
9252 # When large executables or shared objects are built, AIX ld can
9253 # have problems creating the table of contents. If linking a library
9254 # or program results in "error TOC overflow" add -mminimal-toc to
9255 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9256 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9260 hardcode_direct_absolute=yes
9261 hardcode_libdir_separator=':'
9262 link_all_deplibs=yes
9263 file_list_spec='${wl}-f,'
9265 if test "$GCC" = yes; then
9266 case $host_os in aix4.[012]|aix4.[012].*)
9267 # We only want to do this on AIX 4.2 and lower, the check
9268 # below for broken collect2 doesn't work under 4.3+
9269 collect2name=`${CC} -print-prog-name=collect2`
9270 if test -f "$collect2name" &&
9271 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9273 # We have reworked collect2
9276 # We have old collect2
9277 hardcode_direct=unsupported
9278 # It fails to find uninstalled libraries when the uninstalled
9279 # path is not listed in the libpath. Setting hardcode_minus_L
9280 # to unsupported forces relinking
9281 hardcode_minus_L=yes
9282 hardcode_libdir_flag_spec='-L$libdir'
9283 hardcode_libdir_separator=
9287 shared_flag='-shared'
9288 if test "$aix_use_runtimelinking" = yes; then
9289 shared_flag="$shared_flag "'${wl}-G'
9293 if test "$host_cpu" = ia64; then
9294 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9295 # chokes on -Wl,-G. The following line is correct:
9298 if test "$aix_use_runtimelinking" = yes; then
9299 shared_flag='${wl}-G'
9301 shared_flag='${wl}-bM:SRE'
9306 export_dynamic_flag_spec='${wl}-bexpall'
9307 # It seems that -bexpall does not export symbols beginning with
9308 # underscore (_), so it is better to generate a list of symbols to export.
9309 always_export_symbols=yes
9310 if test "$aix_use_runtimelinking" = yes; then
9311 # Warning - without using the other runtime loading flags (-brtl),
9312 # -berok will link without error, but may produce a broken library.
9313 allow_undefined_flag='-berok'
9314 # Determine the default libpath from the value encoded in an
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9327 if ac_fn_c_try_link "$LINENO"; then :
9329 lt_aix_libpath_sed='
9330 /Import File Strings/,/^$/ {
9336 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9337 # Check for a 64-bit object if we didn't find anything.
9338 if test -z "$aix_libpath"; then
9339 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9346 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9347 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"
9349 if test "$host_cpu" = ia64; then
9350 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9351 allow_undefined_flag="-z nodefs"
9352 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"
9354 # Determine the default libpath from the value encoded in an
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9367 if ac_fn_c_try_link "$LINENO"; then :
9369 lt_aix_libpath_sed='
9370 /Import File Strings/,/^$/ {
9376 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9377 # Check for a 64-bit object if we didn't find anything.
9378 if test -z "$aix_libpath"; then
9379 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9386 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9387 # Warning - without using the other run time loading flags,
9388 # -berok will link without error, but may produce a broken library.
9389 no_undefined_flag=' ${wl}-bernotok'
9390 allow_undefined_flag=' ${wl}-berok'
9391 # Exported symbols can be pulled into shared objects from archives
9392 whole_archive_flag_spec='$convenience'
9393 archive_cmds_need_lc=yes
9394 # This is similar to how AIX traditionally builds its shared libraries.
9395 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'
9403 # see comment about AmigaOS4 .so support
9404 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405 archive_expsym_cmds=''
9408 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)'
9409 hardcode_libdir_flag_spec='-L$libdir'
9410 hardcode_minus_L=yes
9416 export_dynamic_flag_spec=-rdynamic
9419 cygwin* | mingw* | pw32* | cegcc*)
9420 # When not using gcc, we currently assume that we are using
9421 # Microsoft Visual C++.
9422 # hardcode_libdir_flag_spec is actually meaningless, as there is
9423 # no search path for DLLs.
9424 hardcode_libdir_flag_spec=' '
9425 allow_undefined_flag=unsupported
9426 # Tell ltmain to make .lib files, not .a files.
9428 # Tell ltmain to make .dll files, not .so files.
9430 # FIXME: Setting linknames here is a bad hack.
9431 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9432 # The linker will automatically build a .lib file if we build a DLL.
9433 old_archive_from_new_cmds='true'
9434 # FIXME: Should let the user specify the lib program.
9435 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9436 fix_srcfile_path='`cygpath -w "$srcfile"`'
9437 enable_shared_with_static_runtimes=yes
9440 darwin* | rhapsody*)
9443 archive_cmds_need_lc=no
9445 hardcode_automatic=yes
9446 hardcode_shlibpath_var=unsupported
9447 whole_archive_flag_spec=''
9448 link_all_deplibs=yes
9449 allow_undefined_flag="$_lt_dar_allow_undefined"
9450 case $cc_basename in
9451 ifort*) _lt_dar_can_shared=yes ;;
9452 *) _lt_dar_can_shared=$GCC ;;
9454 if test "$_lt_dar_can_shared" = "yes"; then
9455 output_verbose_link_cmd=echo
9456 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9457 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9458 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}"
9459 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}"
9468 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9469 hardcode_libdir_flag_spec='-L$libdir'
9470 hardcode_shlibpath_var=no
9477 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9478 # support. Future versions do this automatically, but an explicit c++rt0.o
9479 # does not break anything, and helps significantly (at the cost of a little
9482 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9483 hardcode_libdir_flag_spec='-R$libdir'
9485 hardcode_shlibpath_var=no
9488 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9490 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9492 hardcode_minus_L=yes
9493 hardcode_shlibpath_var=no
9496 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9497 freebsd* | dragonfly*)
9498 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9499 hardcode_libdir_flag_spec='-R$libdir'
9501 hardcode_shlibpath_var=no
9505 if test "$GCC" = yes; then
9506 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'
9508 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'
9510 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9511 hardcode_libdir_separator=:
9514 # hardcode_minus_L: Not really in the search PATH,
9515 # but as the default location of the library.
9516 hardcode_minus_L=yes
9517 export_dynamic_flag_spec='${wl}-E'
9521 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9522 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9524 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9526 if test "$with_gnu_ld" = no; then
9527 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9528 hardcode_libdir_flag_spec_ld='+b $libdir'
9529 hardcode_libdir_separator=:
9531 hardcode_direct_absolute=yes
9532 export_dynamic_flag_spec='${wl}-E'
9533 # hardcode_minus_L: Not really in the search PATH,
9534 # but as the default location of the library.
9535 hardcode_minus_L=yes
9540 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9543 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9546 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9549 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9558 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9561 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9565 if test "$with_gnu_ld" = no; then
9566 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9567 hardcode_libdir_separator=:
9572 hardcode_shlibpath_var=no
9576 hardcode_direct_absolute=yes
9577 export_dynamic_flag_spec='${wl}-E'
9579 # hardcode_minus_L: Not really in the search PATH,
9580 # but as the default location of the library.
9581 hardcode_minus_L=yes
9587 irix5* | irix6* | nonstopux*)
9588 if test "$GCC" = yes; then
9589 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'
9590 # Try to use the -exported_symbol ld option, if it does not
9591 # work, assume that -exports_file does not work either and
9592 # implicitly export all symbols.
9593 save_LDFLAGS="$LDFLAGS"
9594 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h. */
9597 int foo (void) { return 0; }
9599 if ac_fn_c_try_link "$LINENO"; then :
9601 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'
9604 rm -f core conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 LDFLAGS="$save_LDFLAGS"
9608 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'
9609 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'
9611 archive_cmds_need_lc='no'
9612 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9613 hardcode_libdir_separator=:
9615 link_all_deplibs=yes
9619 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9620 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9622 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9624 hardcode_libdir_flag_spec='-R$libdir'
9626 hardcode_shlibpath_var=no
9630 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9632 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9633 hardcode_libdir_separator=:
9634 hardcode_shlibpath_var=no
9641 if test -f /usr/libexec/ld.so; then
9643 hardcode_shlibpath_var=no
9644 hardcode_direct_absolute=yes
9645 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9646 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9647 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9648 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9649 export_dynamic_flag_spec='${wl}-E'
9652 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9653 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9654 hardcode_libdir_flag_spec='-R$libdir'
9657 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9658 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9668 hardcode_libdir_flag_spec='-L$libdir'
9669 hardcode_minus_L=yes
9670 allow_undefined_flag=unsupported
9671 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'
9672 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9676 if test "$GCC" = yes; then
9677 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9678 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'
9680 allow_undefined_flag=' -expect_unresolved \*'
9681 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'
9683 archive_cmds_need_lc='no'
9684 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9685 hardcode_libdir_separator=:
9688 osf4* | osf5*) # as osf3* with the addition of -msym flag
9689 if test "$GCC" = yes; then
9690 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9691 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'
9692 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9694 allow_undefined_flag=' -expect_unresolved \*'
9695 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'
9696 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~
9697 $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'
9699 # Both c and cxx compiler support -rpath directly
9700 hardcode_libdir_flag_spec='-rpath $libdir'
9702 archive_cmds_need_lc='no'
9703 hardcode_libdir_separator=:
9707 no_undefined_flag=' -z defs'
9708 if test "$GCC" = yes; then
9710 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9711 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9712 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9714 case `$CC -V 2>&1` in
9717 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9718 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9719 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9723 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9724 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9725 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9729 hardcode_libdir_flag_spec='-R$libdir'
9730 hardcode_shlibpath_var=no
9732 solaris2.[0-5] | solaris2.[0-5].*) ;;
9734 # The compiler driver will combine and reorder linker options,
9735 # but understands `-z linker_flag'. GCC discards it without `$wl',
9736 # but is careful enough not to reorder.
9737 # Supported since Solaris 2.6 (maybe 2.5.1?)
9738 if test "$GCC" = yes; then
9739 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9741 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9745 link_all_deplibs=yes
9749 if test "x$host_vendor" = xsequent; then
9750 # Use $CC to link under sequent, because it throws in some extra .o
9751 # files that make .init and .fini sections work.
9752 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9754 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_libdir_flag_spec='-L$libdir'
9758 hardcode_minus_L=yes
9759 hardcode_shlibpath_var=no
9763 case $host_vendor in
9765 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9766 hardcode_direct=yes # is this really true???
9769 ## LD is ld it makes a PLAMLIB
9770 ## CC just makes a GrossModule.
9771 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9772 reload_cmds='$CC -r -o $output$reload_objs'
9776 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9777 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9780 runpath_var='LD_RUN_PATH'
9781 hardcode_shlibpath_var=no
9785 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9786 hardcode_shlibpath_var=no
9787 export_dynamic_flag_spec='-Bexport'
9791 if test -d /usr/nec; then
9792 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9793 hardcode_shlibpath_var=no
9794 runpath_var=LD_RUN_PATH
9795 hardcode_runpath_var=yes
9800 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9801 no_undefined_flag='${wl}-z,text'
9802 archive_cmds_need_lc=no
9803 hardcode_shlibpath_var=no
9804 runpath_var='LD_RUN_PATH'
9806 if test "$GCC" = yes; then
9807 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9810 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 sysv5* | sco3.2v5* | sco5v6*)
9816 # Note: We can NOT use -z defs as we might desire, because we do not
9817 # link with -lc, and that would cause any symbols used from libc to
9818 # always be unresolved, which means just about no library would
9819 # ever link correctly. If we're not using GNU ld we use -z text
9820 # though, which does catch some bad symbols but isn't as heavy-handed
9822 no_undefined_flag='${wl}-z,text'
9823 allow_undefined_flag='${wl}-z,nodefs'
9824 archive_cmds_need_lc=no
9825 hardcode_shlibpath_var=no
9826 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9827 hardcode_libdir_separator=':'
9828 link_all_deplibs=yes
9829 export_dynamic_flag_spec='${wl}-Bexport'
9830 runpath_var='LD_RUN_PATH'
9832 if test "$GCC" = yes; then
9833 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9834 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9836 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9837 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843 hardcode_libdir_flag_spec='-L$libdir'
9844 hardcode_shlibpath_var=no
9852 if test x$host_vendor = xsni; then
9854 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9855 export_dynamic_flag_spec='${wl}-Blargedynsym'
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9862 $as_echo "$ld_shlibs" >&6; }
9863 test "$ld_shlibs" = no && can_build_shared=no
9865 with_gnu_ld=$with_gnu_ld
9882 # Do we need to explicitly link libc?
9884 case "x$archive_cmds_need_lc" in
9886 # Assume -lc should be added
9887 archive_cmds_need_lc=yes
9889 if test "$enable_shared" = yes && test "$GCC" = yes; then
9890 case $archive_cmds in
9892 # FIXME: we may have to deal with multi-command sequences.
9895 # Test whether the compiler implicitly links with -lc since on some
9896 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9897 # to ld, don't add -lc before -lgcc.
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9899 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9901 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9904 (eval $ac_compile) 2>&5
9906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9907 test $ac_status = 0; } 2>conftest.err; then
9910 libobjs=conftest.$ac_objext
9912 wl=$lt_prog_compiler_wl
9913 pic_flag=$lt_prog_compiler_pic
9919 lt_save_allow_undefined_flag=$allow_undefined_flag
9920 allow_undefined_flag=
9921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9922 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9925 test $ac_status = 0; }
9927 archive_cmds_need_lc=no
9929 archive_cmds_need_lc=yes
9931 allow_undefined_flag=$lt_save_allow_undefined_flag
9933 cat conftest.err 1>&5
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9937 $as_echo "$archive_cmds_need_lc" >&6; }
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10101 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10103 if test "$GCC" = yes; then
10105 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10106 *) lt_awk_arg="/^libraries:/" ;;
10108 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10109 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10110 # if the path contains ";" then we assume it to be the separator
10111 # otherwise default to the standard path separator (i.e. ":") - it is
10112 # assumed that no part of a normal pathname contains ";" but that should
10113 # okay in the real world where ";" in dirpaths is itself problematic.
10114 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10116 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10118 # Ok, now we have the path, separated by spaces, we can step through it
10119 # and add multilib dir if necessary.
10120 lt_tmp_lt_search_path_spec=
10121 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10122 for lt_sys_path in $lt_search_path_spec; do
10123 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10124 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10126 test -d "$lt_sys_path" && \
10127 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10130 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10131 BEGIN {RS=" "; FS="/|\n";} {
10134 for (lt_i = NF; lt_i > 0; lt_i--) {
10135 if ($lt_i != "" && $lt_i != ".") {
10136 if ($lt_i == "..") {
10139 if (lt_count == 0) {
10140 lt_foo="/" $lt_i lt_foo;
10147 if (lt_foo != "") { lt_freq[lt_foo]++; }
10148 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10150 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10152 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10154 library_names_spec=
10155 libname_spec='lib$name'
10159 postuninstall_cmds=
10163 shlibpath_overrides_runpath=unknown
10165 dynamic_linker="$host_os ld.so"
10166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10167 need_lib_prefix=unknown
10168 hardcode_into_libs=no
10170 # when you set need_version to no, make sure it does not cause -set_version
10171 # flags to be left without arguments
10172 need_version=unknown
10177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10178 shlibpath_var=LIBPATH
10180 # AIX 3 has no versioning support, so we append a major version to the name.
10181 soname_spec='${libname}${release}${shared_ext}$major'
10188 hardcode_into_libs=yes
10189 if test "$host_cpu" = ia64; then
10190 # AIX 5 supports IA64
10191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10192 shlibpath_var=LD_LIBRARY_PATH
10194 # With GCC up to 2.95.x, collect2 would create an import file
10195 # for dependence libraries. The import file would start with
10196 # the line `#! .'. This would cause the generated library to
10197 # depend on `.', always an invalid library. This was fixed in
10198 # development snapshots of GCC prior to 3.0.
10200 aix4 | aix4.[01] | aix4.[01].*)
10201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10206 can_build_shared=no
10210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10211 # soname into executable. Probably we can add versioning support to
10212 # collect2, so additional links can be useful in future.
10213 if test "$aix_use_runtimelinking" = yes; then
10214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10215 # instead of lib<name>.a to let people know that these are not
10216 # typical AIX shared libraries.
10217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219 # We preserve .a as extension for shared libraries through AIX4.2
10220 # and later when we are not doing run time linking.
10221 library_names_spec='${libname}${release}.a $libname.a'
10222 soname_spec='${libname}${release}${shared_ext}$major'
10224 shlibpath_var=LIBPATH
10231 # Since July 2007 AmigaOS4 officially supports .so libraries.
10232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10236 library_names_spec='$libname.ixlibrary $libname.a'
10237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10238 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'
10244 library_names_spec='${libname}${shared_ext}'
10245 dynamic_linker="$host_os ld.so"
10246 shlibpath_var=LIBRARY_PATH
10252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10253 soname_spec='${libname}${release}${shared_ext}$major'
10254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10255 shlibpath_var=LD_LIBRARY_PATH
10256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10258 # the default ld.so.conf also contains /usr/contrib/lib and
10259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10260 # libtool to hard-code these into programs
10263 cygwin* | mingw* | pw32* | cegcc*)
10264 version_type=windows
10269 case $GCC,$host_os in
10270 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10271 library_names_spec='$libname.dll.a'
10272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10273 postinstall_cmds='base_file=`basename \${file}`~
10274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10275 dldir=$destdir/`dirname \$dlpath`~
10276 test -d \$dldir || mkdir -p \$dldir~
10277 $install_prog $dir/$dlname \$dldir/$dlname~
10278 chmod a+x \$dldir/$dlname~
10279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10282 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10283 dlpath=$dir/\$dldll~
10285 shlibpath_overrides_runpath=yes
10289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10290 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10291 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10294 # MinGW DLLs use traditional 'lib' prefix
10295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10296 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10297 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10298 # It is most probably a Windows format PATH printed by
10299 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10300 # path with ; separators, and with drive letters. We can handle the
10301 # drive letters (cygwin fileutils understands them), so leave them,
10302 # especially as we might pass files found there to a mingw objdump,
10303 # which wouldn't understand a cygwinified path. Ahh.
10304 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10306 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10310 # pw32 DLLs use 'pw' prefix rather than 'lib'
10311 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10317 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10320 dynamic_linker='Win32 ld.exe'
10321 # FIXME: first we should search . and the directory the executable is in
10325 darwin* | rhapsody*)
10326 dynamic_linker="$host_os dyld"
10327 version_type=darwin
10330 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10331 soname_spec='${libname}${release}${major}$shared_ext'
10332 shlibpath_overrides_runpath=yes
10333 shlibpath_var=DYLD_LIBRARY_PATH
10334 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10336 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10337 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10345 soname_spec='${libname}${release}${shared_ext}$major'
10346 shlibpath_var=LD_LIBRARY_PATH
10353 freebsd* | dragonfly*)
10354 # DragonFly does not have aout. When/if they implement a new
10355 # versioning mechanism, adjust this.
10356 if test -x /usr/bin/objformat; then
10357 objformat=`/usr/bin/objformat`
10360 freebsd[123]*) objformat=aout ;;
10361 *) objformat=elf ;;
10364 version_type=freebsd-$objformat
10365 case $version_type in
10367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10372 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10376 shlibpath_var=LD_LIBRARY_PATH
10379 shlibpath_overrides_runpath=yes
10381 freebsd3.[01]* | freebsdelf3.[01]*)
10382 shlibpath_overrides_runpath=yes
10383 hardcode_into_libs=yes
10385 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10386 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10387 shlibpath_overrides_runpath=no
10388 hardcode_into_libs=yes
10390 *) # from 4.6 on, and DragonFly
10391 shlibpath_overrides_runpath=yes
10392 hardcode_into_libs=yes
10401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10402 soname_spec='${libname}${release}${shared_ext}$major'
10403 shlibpath_var=LD_LIBRARY_PATH
10404 hardcode_into_libs=yes
10407 hpux9* | hpux10* | hpux11*)
10408 # Give a soname corresponding to the major version so that dld.sl refuses to
10409 # link against other versions.
10416 hardcode_into_libs=yes
10417 dynamic_linker="$host_os dld.so"
10418 shlibpath_var=LD_LIBRARY_PATH
10419 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 if test "X$HPUX_IA64_MODE" = X32; then
10423 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10425 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10427 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10431 hardcode_into_libs=yes
10432 dynamic_linker="$host_os dld.sl"
10433 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10434 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436 soname_spec='${libname}${release}${shared_ext}$major'
10437 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10438 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10442 dynamic_linker="$host_os dld.sl"
10443 shlibpath_var=SHLIB_PATH
10444 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10446 soname_spec='${libname}${release}${shared_ext}$major'
10449 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10450 postinstall_cmds='chmod 555 $lib'
10457 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10458 soname_spec='${libname}${release}${shared_ext}$major'
10459 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10460 shlibpath_var=LD_LIBRARY_PATH
10461 shlibpath_overrides_runpath=no
10462 hardcode_into_libs=yes
10465 irix5* | irix6* | nonstopux*)
10467 nonstopux*) version_type=nonstopux ;;
10469 if test "$lt_cv_prog_gnu_ld" = yes; then
10477 soname_spec='${libname}${release}${shared_ext}$major'
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10480 irix5* | nonstopux*)
10481 libsuff= shlibsuff=
10484 case $LD in # libtool.m4 will add one of these switches to LD
10485 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10486 libsuff= shlibsuff= libmagic=32-bit;;
10487 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10488 libsuff=32 shlibsuff=N32 libmagic=N32;;
10489 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10490 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10491 *) libsuff= shlibsuff= libmagic=never-match;;
10495 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10496 shlibpath_overrides_runpath=no
10497 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10498 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10499 hardcode_into_libs=yes
10502 # No shared lib support for Linux oldld, aout, or coff.
10503 linux*oldld* | linux*aout* | linux*coff*)
10507 # This must be Linux ELF.
10508 linux* | k*bsd*-gnu)
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 soname_spec='${libname}${release}${shared_ext}$major'
10514 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10515 shlibpath_var=LD_LIBRARY_PATH
10516 shlibpath_overrides_runpath=no
10517 # Some binutils ld are patched to set DT_RUNPATH
10518 save_LDFLAGS=$LDFLAGS
10519 save_libdir=$libdir
10520 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10521 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10535 shlibpath_overrides_runpath=yes
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 LDFLAGS=$save_LDFLAGS
10541 libdir=$save_libdir
10543 # This implies no fast_install, which is unacceptable.
10544 # Some rework will be needed to allow for fast_install
10545 # before this can be enabled.
10546 hardcode_into_libs=yes
10548 # Append ld.so.conf contents to the search path
10549 if test -f /etc/ld.so.conf; then
10550 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' ' '`
10551 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10554 # We used to test for /lib/ld.so.1 and disable shared libraries on
10555 # powerpc, because MkLinux only supported shared libraries with the
10556 # GNU dynamic linker. Since this was broken with cross compilers,
10557 # most powerpc-linux boxes support dynamic linking these days and
10558 # people can always --disable-shared, the test was removed, and we
10559 # assume the GNU/Linux dynamic linker is in use.
10560 dynamic_linker='GNU/Linux ld.so'
10567 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10569 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10570 dynamic_linker='NetBSD (a.out) ld.so'
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10573 soname_spec='${libname}${release}${shared_ext}$major'
10574 dynamic_linker='NetBSD ld.elf_so'
10576 shlibpath_var=LD_LIBRARY_PATH
10577 shlibpath_overrides_runpath=yes
10578 hardcode_into_libs=yes
10583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584 shlibpath_var=LD_LIBRARY_PATH
10585 shlibpath_overrides_runpath=yes
10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593 soname_spec='${libname}${release}${shared_ext}$major'
10594 shlibpath_var=LD_LIBRARY_PATH
10595 shlibpath_overrides_runpath=no
10596 hardcode_into_libs=yes
10597 dynamic_linker='ldqnx.so'
10602 sys_lib_dlsearch_path_spec="/usr/lib"
10604 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10606 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10607 *) need_version=no ;;
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10610 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10611 shlibpath_var=LD_LIBRARY_PATH
10612 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10614 openbsd2.[89] | openbsd2.[89].*)
10615 shlibpath_overrides_runpath=no
10618 shlibpath_overrides_runpath=yes
10622 shlibpath_overrides_runpath=yes
10627 libname_spec='$name'
10630 library_names_spec='$libname${shared_ext} $libname.a'
10631 dynamic_linker='OS/2 ld.exe'
10632 shlibpath_var=LIBPATH
10635 osf3* | osf4* | osf5*)
10639 soname_spec='${libname}${release}${shared_ext}$major'
10640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10641 shlibpath_var=LD_LIBRARY_PATH
10642 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10643 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655 soname_spec='${libname}${release}${shared_ext}$major'
10656 shlibpath_var=LD_LIBRARY_PATH
10657 shlibpath_overrides_runpath=yes
10658 hardcode_into_libs=yes
10659 # ldd complains unless libraries are executable
10660 postinstall_cmds='chmod +x $lib'
10665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10666 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10667 shlibpath_var=LD_LIBRARY_PATH
10668 shlibpath_overrides_runpath=yes
10669 if test "$with_gnu_ld" = yes; then
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678 soname_spec='${libname}${release}${shared_ext}$major'
10679 shlibpath_var=LD_LIBRARY_PATH
10680 case $host_vendor in
10682 shlibpath_overrides_runpath=no
10684 runpath_var=LD_RUN_PATH
10692 shlibpath_overrides_runpath=no
10693 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10699 if test -d /usr/nec ;then
10701 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10702 soname_spec='$libname${shared_ext}.$major'
10703 shlibpath_var=LD_LIBRARY_PATH
10707 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10708 version_type=freebsd-elf
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LD_LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 hardcode_into_libs=yes
10716 if test "$with_gnu_ld" = yes; then
10717 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10719 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10722 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10726 sys_lib_dlsearch_path_spec='/usr/lib'
10730 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 shlibpath_var=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath=no
10737 hardcode_into_libs=yes
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 shlibpath_var=LD_LIBRARY_PATH
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10752 $as_echo "$dynamic_linker" >&6; }
10753 test "$dynamic_linker" = no && can_build_shared=no
10755 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10756 if test "$GCC" = yes; then
10757 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10760 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10761 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10763 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10764 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10854 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10856 if test -n "$hardcode_libdir_flag_spec" ||
10857 test -n "$runpath_var" ||
10858 test "X$hardcode_automatic" = "Xyes" ; then
10860 # We can hardcode non-existent directories.
10861 if test "$hardcode_direct" != no &&
10862 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10863 # have to relink, otherwise we might link with an installed library
10864 # when we should be linking with a yet-to-be-installed one
10865 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10866 test "$hardcode_minus_L" != no; then
10867 # Linking always hardcodes the temporary library directory.
10868 hardcode_action=relink
10870 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10871 hardcode_action=immediate
10874 # We cannot hardcode anything, or else we can only hardcode existing
10876 hardcode_action=unsupported
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10879 $as_echo "$hardcode_action" >&6; }
10881 if test "$hardcode_action" = relink ||
10882 test "$inherit_rpath" = yes; then
10883 # Fast installation is not supported
10884 enable_fast_install=no
10885 elif test "$shlibpath_overrides_runpath" = yes ||
10886 test "$enable_shared" = no; then
10887 # Fast installation is not necessary
10888 enable_fast_install=needless
10896 if test "x$enable_dlopen" != xyes; then
10897 enable_dlopen=unknown
10898 enable_dlopen_self=unknown
10899 enable_dlopen_self_static=unknown
10906 lt_cv_dlopen="load_add_on"
10908 lt_cv_dlopen_self=yes
10911 mingw* | pw32* | cegcc*)
10912 lt_cv_dlopen="LoadLibrary"
10917 lt_cv_dlopen="dlopen"
10922 # if libdl is installed we need to link against it
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10924 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10925 if ${ac_cv_lib_dl_dlopen+:} false; then :
10926 $as_echo_n "(cached) " >&6
10928 ac_check_lib_save_LIBS=$LIBS
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10948 if ac_fn_c_try_link "$LINENO"; then :
10949 ac_cv_lib_dl_dlopen=yes
10951 ac_cv_lib_dl_dlopen=no
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10958 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10959 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10960 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10963 lt_cv_dlopen="dyld"
10965 lt_cv_dlopen_self=yes
10972 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10973 if test "x$ac_cv_func_shl_load" = xyes; then :
10974 lt_cv_dlopen="shl_load"
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10977 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10978 if ${ac_cv_lib_dld_shl_load+:} false; then :
10979 $as_echo_n "(cached) " >&6
10981 ac_check_lib_save_LIBS=$LIBS
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10986 /* Override any GCC internal prototype to avoid an error.
10987 Use char because int might match the return type of a GCC
10988 builtin and then its argument prototype would still apply. */
10996 return shl_load ();
11001 if ac_fn_c_try_link "$LINENO"; then :
11002 ac_cv_lib_dld_shl_load=yes
11004 ac_cv_lib_dld_shl_load=no
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_lib_save_LIBS
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11011 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11012 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11013 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11015 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11016 if test "x$ac_cv_func_dlopen" = xyes; then :
11017 lt_cv_dlopen="dlopen"
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11020 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11021 if ${ac_cv_lib_dl_dlopen+:} false; then :
11022 $as_echo_n "(cached) " >&6
11024 ac_check_lib_save_LIBS=$LIBS
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h. */
11029 /* Override any GCC internal prototype to avoid an error.
11030 Use char because int might match the return type of a GCC
11031 builtin and then its argument prototype would still apply. */
11044 if ac_fn_c_try_link "$LINENO"; then :
11045 ac_cv_lib_dl_dlopen=yes
11047 ac_cv_lib_dl_dlopen=no
11049 rm -f core conftest.err conftest.$ac_objext \
11050 conftest$ac_exeext conftest.$ac_ext
11051 LIBS=$ac_check_lib_save_LIBS
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11054 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11055 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11056 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11059 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11060 if ${ac_cv_lib_svld_dlopen+:} false; then :
11061 $as_echo_n "(cached) " >&6
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lsvld $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_svld_dlopen=yes
11086 ac_cv_lib_svld_dlopen=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11093 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11094 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11095 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11098 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11099 if ${ac_cv_lib_dld_dld_link+:} false; then :
11100 $as_echo_n "(cached) " >&6
11102 ac_check_lib_save_LIBS=$LIBS
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11117 return dld_link ();
11122 if ac_fn_c_try_link "$LINENO"; then :
11123 ac_cv_lib_dld_dld_link=yes
11125 ac_cv_lib_dld_dld_link=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11132 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11133 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11134 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11155 if test "x$lt_cv_dlopen" != xno; then
11161 case $lt_cv_dlopen in
11163 save_CPPFLAGS="$CPPFLAGS"
11164 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11166 save_LDFLAGS="$LDFLAGS"
11167 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11170 LIBS="$lt_cv_dlopen_libs $LIBS"
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11173 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11174 if ${lt_cv_dlopen_self+:} false; then :
11175 $as_echo_n "(cached) " >&6
11177 if test "$cross_compiling" = yes; then :
11178 lt_cv_dlopen_self=cross
11180 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11181 lt_status=$lt_dlunknown
11182 cat > conftest.$ac_ext <<_LT_EOF
11183 #line __oline__ "configure"
11184 #include "confdefs.h"
11193 # define LT_DLGLOBAL RTLD_GLOBAL
11196 # define LT_DLGLOBAL DL_GLOBAL
11198 # define LT_DLGLOBAL 0
11202 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11203 find out it does not work in some platform. */
11204 #ifndef LT_DLLAZY_OR_NOW
11206 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11209 # define LT_DLLAZY_OR_NOW DL_LAZY
11212 # define LT_DLLAZY_OR_NOW RTLD_NOW
11215 # define LT_DLLAZY_OR_NOW DL_NOW
11217 # define LT_DLLAZY_OR_NOW 0
11224 void fnord() { int i=42;}
11227 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11228 int status = $lt_dlunknown;
11232 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11233 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11234 /* dlclose (self); */
11242 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11243 (eval $ac_link) 2>&5
11245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11246 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11247 (./conftest; exit; ) >&5 2>/dev/null
11249 case x$lt_status in
11250 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11251 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11252 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11255 # compilation failed
11256 lt_cv_dlopen_self=no
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11264 $as_echo "$lt_cv_dlopen_self" >&6; }
11266 if test "x$lt_cv_dlopen_self" = xyes; then
11267 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11269 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11270 if ${lt_cv_dlopen_self_static+:} false; then :
11271 $as_echo_n "(cached) " >&6
11273 if test "$cross_compiling" = yes; then :
11274 lt_cv_dlopen_self_static=cross
11276 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11277 lt_status=$lt_dlunknown
11278 cat > conftest.$ac_ext <<_LT_EOF
11279 #line __oline__ "configure"
11280 #include "confdefs.h"
11289 # define LT_DLGLOBAL RTLD_GLOBAL
11292 # define LT_DLGLOBAL DL_GLOBAL
11294 # define LT_DLGLOBAL 0
11298 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11299 find out it does not work in some platform. */
11300 #ifndef LT_DLLAZY_OR_NOW
11302 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11305 # define LT_DLLAZY_OR_NOW DL_LAZY
11308 # define LT_DLLAZY_OR_NOW RTLD_NOW
11311 # define LT_DLLAZY_OR_NOW DL_NOW
11313 # define LT_DLLAZY_OR_NOW 0
11320 void fnord() { int i=42;}
11323 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11324 int status = $lt_dlunknown;
11328 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11329 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11330 /* dlclose (self); */
11338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11339 (eval $ac_link) 2>&5
11341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11342 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11343 (./conftest; exit; ) >&5 2>/dev/null
11345 case x$lt_status in
11346 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11347 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11348 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11351 # compilation failed
11352 lt_cv_dlopen_self_static=no
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11360 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11363 CPPFLAGS="$save_CPPFLAGS"
11364 LDFLAGS="$save_LDFLAGS"
11369 case $lt_cv_dlopen_self in
11370 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11371 *) enable_dlopen_self=unknown ;;
11374 case $lt_cv_dlopen_self_static in
11375 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11376 *) enable_dlopen_self_static=unknown ;;
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11399 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11400 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11401 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11402 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11404 $as_echo "yes" >&6; }
11406 # FIXME - insert some real tests, host_os isn't really good enough
11409 if test -n "$STRIP" ; then
11410 striplib="$STRIP -x"
11411 old_striplib="$STRIP -S"
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11413 $as_echo "yes" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11416 $as_echo "no" >&6; }
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11421 $as_echo "no" >&6; }
11437 # Report which library types will actually be built
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11439 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11441 $as_echo "$can_build_shared" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11444 $as_echo_n "checking whether to build shared libraries... " >&6; }
11445 test "$can_build_shared" = "no" && enable_shared=no
11447 # On AIX, shared libraries and static libraries use the same namespace, and
11448 # are all built from PIC.
11451 test "$enable_shared" = yes && enable_static=no
11452 if test -n "$RANLIB"; then
11453 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11454 postinstall_cmds='$RANLIB $lib'
11459 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11460 test "$enable_shared" = yes && enable_static=no
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11465 $as_echo "$enable_shared" >&6; }
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11468 $as_echo_n "checking whether to build static libraries... " >&6; }
11469 # Make sure either enable_shared or enable_static is yes.
11470 test "$enable_shared" = yes || enable_static=yes
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11472 $as_echo "$enable_static" >&6; }
11479 ac_cpp='$CPP $CPPFLAGS'
11480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11498 ac_config_commands="$ac_config_commands libtool"
11503 # Only expand once:
11508 # Extract the first word of "ar", so it can be a program name with args.
11509 set dummy ar; ac_word=$2
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11511 $as_echo_n "checking for $ac_word... " >&6; }
11512 if ${ac_cv_path_AR+:} false; then :
11513 $as_echo_n "(cached) " >&6
11517 ac_cv_path_AR="$AR" # Let the user override the test with a path.
11520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11521 for as_dir in $PATH
11524 test -z "$as_dir" && as_dir=.
11525 for ac_exec_ext in '' $ac_executable_extensions; do
11526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11527 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
11528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11535 test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
11540 if test -n "$AR"; then
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11542 $as_echo "$AR" >&6; }
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11545 $as_echo "no" >&6; }
11549 # Extract the first word of "rm", so it can be a program name with args.
11550 set dummy rm; ac_word=$2
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11552 $as_echo_n "checking for $ac_word... " >&6; }
11553 if ${ac_cv_path_RM+:} false; then :
11554 $as_echo_n "(cached) " >&6
11558 ac_cv_path_RM="$RM" # Let the user override the test with a path.
11561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11562 for as_dir in $PATH
11565 test -z "$as_dir" && as_dir=.
11566 for ac_exec_ext in '' $ac_executable_extensions; do
11567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11568 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
11569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11576 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
11581 if test -n "$RM"; then
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
11583 $as_echo "$RM" >&6; }
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11586 $as_echo "no" >&6; }
11590 # Extract the first word of "cp", so it can be a program name with args.
11591 set dummy cp; ac_word=$2
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11593 $as_echo_n "checking for $ac_word... " >&6; }
11594 if ${ac_cv_path_CP+:} false; then :
11595 $as_echo_n "(cached) " >&6
11599 ac_cv_path_CP="$CP" # Let the user override the test with a path.
11602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11603 for as_dir in $PATH
11606 test -z "$as_dir" && as_dir=.
11607 for ac_exec_ext in '' $ac_executable_extensions; do
11608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11609 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
11610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11617 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
11622 if test -n "$CP"; then
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
11624 $as_echo "$CP" >&6; }
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11627 $as_echo "no" >&6; }
11631 # Extract the first word of "ln", so it can be a program name with args.
11632 set dummy ln; ac_word=$2
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11634 $as_echo_n "checking for $ac_word... " >&6; }
11635 if ${ac_cv_path_LN+:} false; then :
11636 $as_echo_n "(cached) " >&6
11640 ac_cv_path_LN="$LN" # Let the user override the test with a path.
11643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11644 for as_dir in $PATH
11647 test -z "$as_dir" && as_dir=.
11648 for ac_exec_ext in '' $ac_executable_extensions; do
11649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11650 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
11651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11658 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
11663 if test -n "$LN"; then
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
11665 $as_echo "$LN" >&6; }
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11668 $as_echo "no" >&6; }
11672 # Extract the first word of "ls", so it can be a program name with args.
11673 set dummy ls; ac_word=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_LS+:} false; then :
11677 $as_echo_n "(cached) " >&6
11681 ac_cv_path_LS="$LS" # Let the user override the test with a path.
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11688 test -z "$as_dir" && as_dir=.
11689 for ac_exec_ext in '' $ac_executable_extensions; do
11690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11691 ac_cv_path_LS="$as_dir/$ac_word$ac_exec_ext"
11692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11699 test -z "$ac_cv_path_LS" && ac_cv_path_LS="ls"
11704 if test -n "$LS"; then
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
11706 $as_echo "$LS" >&6; }
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11713 # Extract the first word of "sed", so it can be a program name with args.
11714 set dummy sed; ac_word=$2
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11716 $as_echo_n "checking for $ac_word... " >&6; }
11717 if ${ac_cv_path_SED+:} false; then :
11718 $as_echo_n "(cached) " >&6
11722 ac_cv_path_SED="$SED" # Let the user override the test with a path.
11725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11726 for as_dir in $PATH
11729 test -z "$as_dir" && as_dir=.
11730 for ac_exec_ext in '' $ac_executable_extensions; do
11731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11732 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
11733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11740 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
11744 SED=$ac_cv_path_SED
11745 if test -n "$SED"; then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11747 $as_echo "$SED" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11754 # Extract the first word of "make", so it can be a program name with args.
11755 set dummy make; ac_word=$2
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11757 $as_echo_n "checking for $ac_word... " >&6; }
11758 if ${ac_cv_path_MAKE+:} false; then :
11759 $as_echo_n "(cached) " >&6
11763 ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
11766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11767 for as_dir in $PATH
11770 test -z "$as_dir" && as_dir=.
11771 for ac_exec_ext in '' $ac_executable_extensions; do
11772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11773 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
11774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11784 MAKE=$ac_cv_path_MAKE
11785 if test -n "$MAKE"; then
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
11787 $as_echo "$MAKE" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11790 $as_echo "no" >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11799 $as_echo_n "checking whether NLS is requested... " >&6; }
11800 @%:@ Check whether --enable-nls was given.
11801 if test "${enable_nls+set}" = set; then :
11802 enableval=$enable_nls; USE_NLS=$enableval
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11808 $as_echo "$USE_NLS" >&6; }
11815 # Prepare PATH_SEPARATOR.
11816 # The user is always right.
11817 if test "${PATH_SEPARATOR+set}" != set; then
11818 echo "#! /bin/sh" >conf$$.sh
11819 echo "exit 0" >>conf$$.sh
11821 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11829 # Find out how to test for executable files. Don't use a zero-byte file,
11830 # as systems may use methods other than mode bits to determine executability.
11831 cat >conf$$.file <<_ASEOF
11835 chmod +x conf$$.file
11836 if test -x conf$$.file >/dev/null 2>&1; then
11837 ac_executable_p="test -x"
11839 ac_executable_p="test -f"
11843 # Extract the first word of "msgfmt", so it can be a program name with args.
11844 set dummy msgfmt; ac_word=$2
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11846 $as_echo_n "checking for $ac_word... " >&6; }
11847 if ${ac_cv_path_MSGFMT+:} false; then :
11848 $as_echo_n "(cached) " >&6
11852 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11855 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11856 for ac_dir in $PATH; do
11858 test -z "$ac_dir" && ac_dir=.
11859 for ac_exec_ext in '' $ac_executable_extensions; do
11860 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11861 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11862 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11863 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11864 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11871 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11875 MSGFMT="$ac_cv_path_MSGFMT"
11876 if test "$MSGFMT" != ":"; then
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11878 $as_echo "$MSGFMT" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881 $as_echo "no" >&6; }
11884 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11885 set dummy gmsgfmt; ac_word=$2
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11887 $as_echo_n "checking for $ac_word... " >&6; }
11888 if ${ac_cv_path_GMSGFMT+:} false; then :
11889 $as_echo_n "(cached) " >&6
11893 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11897 for as_dir in $PATH
11900 test -z "$as_dir" && as_dir=.
11901 for ac_exec_ext in '' $ac_executable_extensions; do
11902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11903 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11911 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11915 GMSGFMT=$ac_cv_path_GMSGFMT
11916 if test -n "$GMSGFMT"; then
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11918 $as_echo "$GMSGFMT" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11921 $as_echo "no" >&6; }
11926 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11927 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11928 *) MSGFMT_015=$MSGFMT ;;
11931 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11932 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11933 *) GMSGFMT_015=$GMSGFMT ;;
11938 # Prepare PATH_SEPARATOR.
11939 # The user is always right.
11940 if test "${PATH_SEPARATOR+set}" != set; then
11941 echo "#! /bin/sh" >conf$$.sh
11942 echo "exit 0" >>conf$$.sh
11944 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11952 # Find out how to test for executable files. Don't use a zero-byte file,
11953 # as systems may use methods other than mode bits to determine executability.
11954 cat >conf$$.file <<_ASEOF
11958 chmod +x conf$$.file
11959 if test -x conf$$.file >/dev/null 2>&1; then
11960 ac_executable_p="test -x"
11962 ac_executable_p="test -f"
11966 # Extract the first word of "xgettext", so it can be a program name with args.
11967 set dummy xgettext; ac_word=$2
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11969 $as_echo_n "checking for $ac_word... " >&6; }
11970 if ${ac_cv_path_XGETTEXT+:} false; then :
11971 $as_echo_n "(cached) " >&6
11973 case "$XGETTEXT" in
11975 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11978 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11979 for ac_dir in $PATH; do
11981 test -z "$ac_dir" && ac_dir=.
11982 for ac_exec_ext in '' $ac_executable_extensions; do
11983 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11984 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11985 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11986 (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
11987 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11994 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11998 XGETTEXT="$ac_cv_path_XGETTEXT"
11999 if test "$XGETTEXT" != ":"; then
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12001 $as_echo "$XGETTEXT" >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12009 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12010 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12011 *) XGETTEXT_015=$XGETTEXT ;;
12016 # Prepare PATH_SEPARATOR.
12017 # The user is always right.
12018 if test "${PATH_SEPARATOR+set}" != set; then
12019 echo "#! /bin/sh" >conf$$.sh
12020 echo "exit 0" >>conf$$.sh
12022 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12030 # Find out how to test for executable files. Don't use a zero-byte file,
12031 # as systems may use methods other than mode bits to determine executability.
12032 cat >conf$$.file <<_ASEOF
12036 chmod +x conf$$.file
12037 if test -x conf$$.file >/dev/null 2>&1; then
12038 ac_executable_p="test -x"
12040 ac_executable_p="test -f"
12044 # Extract the first word of "msgmerge", so it can be a program name with args.
12045 set dummy msgmerge; ac_word=$2
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12047 $as_echo_n "checking for $ac_word... " >&6; }
12048 if ${ac_cv_path_MSGMERGE+:} false; then :
12049 $as_echo_n "(cached) " >&6
12051 case "$MSGMERGE" in
12053 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12056 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12057 for ac_dir in $PATH; do
12059 test -z "$ac_dir" && ac_dir=.
12060 for ac_exec_ext in '' $ac_executable_extensions; do
12061 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12062 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12063 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12064 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12071 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12075 MSGMERGE="$ac_cv_path_MSGMERGE"
12076 if test "$MSGMERGE" != ":"; then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12078 $as_echo "$MSGMERGE" >&6; }
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12081 $as_echo "no" >&6; }
12085 test -n "$localedir" || localedir='${datadir}/locale'
12088 ac_config_commands="$ac_config_commands po-directories"
12092 if test "X$prefix" = "XNONE"; then
12093 acl_final_prefix="$ac_default_prefix"
12095 acl_final_prefix="$prefix"
12097 if test "X$exec_prefix" = "XNONE"; then
12098 acl_final_exec_prefix='${prefix}'
12100 acl_final_exec_prefix="$exec_prefix"
12102 acl_save_prefix="$prefix"
12103 prefix="$acl_final_prefix"
12104 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12105 prefix="$acl_save_prefix"
12108 @%:@ Check whether --with-gnu-ld was given.
12109 if test "${with_gnu_ld+set}" = set; then :
12110 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12115 # Prepare PATH_SEPARATOR.
12116 # The user is always right.
12117 if test "${PATH_SEPARATOR+set}" != set; then
12118 echo "#! /bin/sh" >conf$$.sh
12119 echo "exit 0" >>conf$$.sh
12121 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12129 if test "$GCC" = yes; then
12130 # Check if gcc -print-prog-name=ld gives a path.
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12132 $as_echo_n "checking for ld used by GCC... " >&6; }
12135 # gcc leaves a trailing carriage return which upsets mingw
12136 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12138 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12141 # Accept absolute paths.
12142 [\\/]* | [A-Za-z]:[\\/]*)
12143 re_direlt='/[^/][^/]*/\.\./'
12144 # Canonicalize the path of ld
12145 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12146 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12147 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12149 test -z "$LD" && LD="$ac_prog"
12152 # If it fails, then pretend we aren't using GCC.
12156 # If it is relative, then search for the first ld in PATH.
12157 with_gnu_ld=unknown
12160 elif test "$with_gnu_ld" = yes; then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12162 $as_echo_n "checking for GNU ld... " >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12165 $as_echo_n "checking for non-GNU ld... " >&6; }
12167 if ${acl_cv_path_LD+:} false; then :
12168 $as_echo_n "(cached) " >&6
12170 if test -z "$LD"; then
12171 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12172 for ac_dir in $PATH; do
12173 test -z "$ac_dir" && ac_dir=.
12174 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12175 acl_cv_path_LD="$ac_dir/$ac_prog"
12176 # Check to see if the program is GNU ld. I'd rather use --version,
12177 # but apparently some GNU ld's only accept -v.
12178 # Break only if it was the GNU/non-GNU ld that we prefer.
12179 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12180 *GNU* | *'with BFD'*)
12181 test "$with_gnu_ld" != no && break ;;
12183 test "$with_gnu_ld" != yes && break ;;
12189 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$acl_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if ${acl_cv_prog_gnu_ld+:} false; then :
12205 $as_echo_n "(cached) " >&6
12207 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 acl_cv_prog_gnu_ld=yes ;;
12212 acl_cv_prog_gnu_ld=no ;;
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12216 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12217 with_gnu_ld=$acl_cv_prog_gnu_ld
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12223 $as_echo_n "checking for shared library run path origin... " >&6; }
12224 if ${acl_cv_rpath+:} false; then :
12225 $as_echo_n "(cached) " >&6
12228 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12229 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12231 rm -f ./conftest.sh
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12236 $as_echo "$acl_cv_rpath" >&6; }
12238 libext="$acl_cv_libext"
12239 shlibext="$acl_cv_shlibext"
12240 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12241 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12242 hardcode_direct="$acl_cv_hardcode_direct"
12243 hardcode_minus_L="$acl_cv_hardcode_minus_L"
12244 @%:@ Check whether --enable-rpath was given.
12245 if test "${enable_rpath+set}" = set; then :
12246 enableval=$enable_rpath; :
12254 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12255 if test -n "$searchpath"; then
12256 acl_save_IFS="${IFS= }"; IFS=":"
12257 for searchdir in $searchpath; do
12258 if test -d "$searchdir"; then
12259 case "$searchdir" in
12260 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12261 *) searchdir=`cd "$searchdir" && pwd`
12262 case "$searchdir" in
12263 */lib64 ) acl_libdirstem=lib64 ;;
12268 IFS="$acl_save_IFS"
12280 acl_save_prefix="$prefix"
12281 prefix="$acl_final_prefix"
12282 acl_save_exec_prefix="$exec_prefix"
12283 exec_prefix="$acl_final_exec_prefix"
12285 eval additional_includedir=\"$includedir\"
12286 eval additional_libdir=\"$libdir\"
12288 exec_prefix="$acl_save_exec_prefix"
12289 prefix="$acl_save_prefix"
12292 @%:@ Check whether --with-libiconv-prefix was given.
12293 if test "${with_libiconv_prefix+set}" = set; then :
12294 withval=$with_libiconv_prefix;
12295 if test "X$withval" = "Xno"; then
12298 if test "X$withval" = "X"; then
12300 acl_save_prefix="$prefix"
12301 prefix="$acl_final_prefix"
12302 acl_save_exec_prefix="$exec_prefix"
12303 exec_prefix="$acl_final_exec_prefix"
12305 eval additional_includedir=\"$includedir\"
12306 eval additional_libdir=\"$libdir\"
12308 exec_prefix="$acl_save_exec_prefix"
12309 prefix="$acl_save_prefix"
12312 additional_includedir="$withval/include"
12313 additional_libdir="$withval/$acl_libdirstem"
12324 names_already_handled=
12325 names_next_round='iconv '
12326 while test -n "$names_next_round"; do
12327 names_this_round="$names_next_round"
12329 for name in $names_this_round; do
12331 for n in $names_already_handled; do
12332 if test "$n" = "$name"; then
12333 already_handled=yes
12337 if test -z "$already_handled"; then
12338 names_already_handled="$names_already_handled $name"
12339 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12340 eval value=\"\$HAVE_LIB$uppername\"
12341 if test -n "$value"; then
12342 if test "$value" = yes; then
12343 eval value=\"\$LIB$uppername\"
12344 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12345 eval value=\"\$LTLIB$uppername\"
12346 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12355 if test $use_additional = yes; then
12356 if test -n "$shlibext" \
12357 && { test -f "$additional_libdir/lib$name.$shlibext" \
12358 || { test "$shlibext" = dll \
12359 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12360 found_dir="$additional_libdir"
12361 if test -f "$additional_libdir/lib$name.$shlibext"; then
12362 found_so="$additional_libdir/lib$name.$shlibext"
12364 found_so="$additional_libdir/lib$name.dll.a"
12366 if test -f "$additional_libdir/lib$name.la"; then
12367 found_la="$additional_libdir/lib$name.la"
12370 if test -f "$additional_libdir/lib$name.$libext"; then
12371 found_dir="$additional_libdir"
12372 found_a="$additional_libdir/lib$name.$libext"
12373 if test -f "$additional_libdir/lib$name.la"; then
12374 found_la="$additional_libdir/lib$name.la"
12379 if test "X$found_dir" = "X"; then
12380 for x in $LDFLAGS $LTLIBICONV; do
12382 acl_save_prefix="$prefix"
12383 prefix="$acl_final_prefix"
12384 acl_save_exec_prefix="$exec_prefix"
12385 exec_prefix="$acl_final_exec_prefix"
12387 exec_prefix="$acl_save_exec_prefix"
12388 prefix="$acl_save_prefix"
12392 dir=`echo "X$x" | sed -e 's/^X-L//'`
12393 if test -n "$shlibext" \
12394 && { test -f "$dir/lib$name.$shlibext" \
12395 || { test "$shlibext" = dll \
12396 && test -f "$dir/lib$name.dll.a"; }; }; then
12398 if test -f "$dir/lib$name.$shlibext"; then
12399 found_so="$dir/lib$name.$shlibext"
12401 found_so="$dir/lib$name.dll.a"
12403 if test -f "$dir/lib$name.la"; then
12404 found_la="$dir/lib$name.la"
12407 if test -f "$dir/lib$name.$libext"; then
12409 found_a="$dir/lib$name.$libext"
12410 if test -f "$dir/lib$name.la"; then
12411 found_la="$dir/lib$name.la"
12417 if test "X$found_dir" != "X"; then
12422 if test "X$found_dir" != "X"; then
12423 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12424 if test "X$found_so" != "X"; then
12425 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12426 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12429 for x in $ltrpathdirs; do
12430 if test "X$x" = "X$found_dir"; then
12435 if test -z "$haveit"; then
12436 ltrpathdirs="$ltrpathdirs $found_dir"
12438 if test "$hardcode_direct" = yes; then
12439 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12441 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
12442 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12444 for x in $rpathdirs; do
12445 if test "X$x" = "X$found_dir"; then
12450 if test -z "$haveit"; then
12451 rpathdirs="$rpathdirs $found_dir"
12455 for x in $LDFLAGS $LIBICONV; do
12457 acl_save_prefix="$prefix"
12458 prefix="$acl_final_prefix"
12459 acl_save_exec_prefix="$exec_prefix"
12460 exec_prefix="$acl_final_exec_prefix"
12462 exec_prefix="$acl_save_exec_prefix"
12463 prefix="$acl_save_prefix"
12465 if test "X$x" = "X-L$found_dir"; then
12470 if test -z "$haveit"; then
12471 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12473 if test "$hardcode_minus_L" != no; then
12474 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12476 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12482 if test "X$found_a" != "X"; then
12483 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12485 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12488 additional_includedir=
12489 case "$found_dir" in
12490 */$acl_libdirstem | */$acl_libdirstem/)
12491 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12492 additional_includedir="$basedir/include"
12495 if test "X$additional_includedir" != "X"; then
12496 if test "X$additional_includedir" != "X/usr/include"; then
12498 if test "X$additional_includedir" = "X/usr/local/include"; then
12499 if test -n "$GCC"; then
12501 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12505 if test -z "$haveit"; then
12506 for x in $CPPFLAGS $INCICONV; do
12508 acl_save_prefix="$prefix"
12509 prefix="$acl_final_prefix"
12510 acl_save_exec_prefix="$exec_prefix"
12511 exec_prefix="$acl_final_exec_prefix"
12513 exec_prefix="$acl_save_exec_prefix"
12514 prefix="$acl_save_prefix"
12516 if test "X$x" = "X-I$additional_includedir"; then
12521 if test -z "$haveit"; then
12522 if test -d "$additional_includedir"; then
12523 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12529 if test -n "$found_la"; then
12530 save_libdir="$libdir"
12531 case "$found_la" in
12532 */* | *\\*) . "$found_la" ;;
12533 *) . "./$found_la" ;;
12535 libdir="$save_libdir"
12536 for dep in $dependency_libs; do
12539 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12540 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12542 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12543 if test -n "$GCC"; then
12545 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12549 if test -z "$haveit"; then
12551 for x in $LDFLAGS $LIBICONV; do
12553 acl_save_prefix="$prefix"
12554 prefix="$acl_final_prefix"
12555 acl_save_exec_prefix="$exec_prefix"
12556 exec_prefix="$acl_final_exec_prefix"
12558 exec_prefix="$acl_save_exec_prefix"
12559 prefix="$acl_save_prefix"
12561 if test "X$x" = "X-L$additional_libdir"; then
12566 if test -z "$haveit"; then
12567 if test -d "$additional_libdir"; then
12568 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12572 for x in $LDFLAGS $LTLIBICONV; do
12574 acl_save_prefix="$prefix"
12575 prefix="$acl_final_prefix"
12576 acl_save_exec_prefix="$exec_prefix"
12577 exec_prefix="$acl_final_exec_prefix"
12579 exec_prefix="$acl_save_exec_prefix"
12580 prefix="$acl_save_prefix"
12582 if test "X$x" = "X-L$additional_libdir"; then
12587 if test -z "$haveit"; then
12588 if test -d "$additional_libdir"; then
12589 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12596 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12597 if test "$enable_rpath" != no; then
12599 for x in $rpathdirs; do
12600 if test "X$x" = "X$dir"; then
12605 if test -z "$haveit"; then
12606 rpathdirs="$rpathdirs $dir"
12609 for x in $ltrpathdirs; do
12610 if test "X$x" = "X$dir"; then
12615 if test -z "$haveit"; then
12616 ltrpathdirs="$ltrpathdirs $dir"
12621 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12624 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12627 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12628 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12634 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12635 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12641 if test "X$rpathdirs" != "X"; then
12642 if test -n "$hardcode_libdir_separator"; then
12644 for found_dir in $rpathdirs; do
12645 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12647 acl_save_libdir="$libdir"
12649 eval flag=\"$hardcode_libdir_flag_spec\"
12650 libdir="$acl_save_libdir"
12651 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12653 for found_dir in $rpathdirs; do
12654 acl_save_libdir="$libdir"
12655 libdir="$found_dir"
12656 eval flag=\"$hardcode_libdir_flag_spec\"
12657 libdir="$acl_save_libdir"
12658 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12662 if test "X$ltrpathdirs" != "X"; then
12663 for found_dir in $ltrpathdirs; do
12664 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12693 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12694 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
12695 $as_echo_n "(cached) " >&6
12697 gt_save_LIBS="$LIBS"
12698 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12701 #include <CoreFoundation/CFPreferences.h>
12705 CFPreferencesCopyAppValue(NULL, NULL)
12710 if ac_fn_c_try_link "$LINENO"; then :
12711 gt_cv_func_CFPreferencesCopyAppValue=yes
12713 gt_cv_func_CFPreferencesCopyAppValue=no
12715 rm -f core conftest.err conftest.$ac_objext \
12716 conftest$ac_exeext conftest.$ac_ext
12717 LIBS="$gt_save_LIBS"
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12720 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12721 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12723 $as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12727 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12728 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
12729 $as_echo_n "(cached) " >&6
12731 gt_save_LIBS="$LIBS"
12732 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12735 #include <CoreFoundation/CFLocale.h>
12739 CFLocaleCopyCurrent();
12744 if ac_fn_c_try_link "$LINENO"; then :
12745 gt_cv_func_CFLocaleCopyCurrent=yes
12747 gt_cv_func_CFLocaleCopyCurrent=no
12749 rm -f core conftest.err conftest.$ac_objext \
12750 conftest$ac_exeext conftest.$ac_ext
12751 LIBS="$gt_save_LIBS"
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12754 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12755 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12757 $as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12761 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12762 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12774 case " $gt_needs " in
12775 *" need-formatstring-macros "*) gt_api_version=3 ;;
12776 *" need-ngettext "*) gt_api_version=2 ;;
12777 *) gt_api_version=1 ;;
12779 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12780 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12782 if test "$USE_NLS" = "yes"; then
12783 gt_use_preinstalled_gnugettext=no
12786 if test $gt_api_version -ge 3; then
12787 gt_revision_test_code='
12788 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12789 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12791 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12794 gt_revision_test_code=
12796 if test $gt_api_version -ge 2; then
12797 gt_expression_test_code=' + * ngettext ("", "", 0)'
12799 gt_expression_test_code=
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12803 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12804 if eval \${$gt_func_gnugettext_libc+:} false; then :
12805 $as_echo_n "(cached) " >&6
12807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12809 #include <libintl.h>
12810 $gt_revision_test_code
12811 extern int _nl_msg_cat_cntr;
12812 extern int *_nl_domain_bindings;
12816 bindtextdomain ("", "");
12817 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12822 if ac_fn_c_try_link "$LINENO"; then :
12823 eval "$gt_func_gnugettext_libc=yes"
12825 eval "$gt_func_gnugettext_libc=no"
12827 rm -f core conftest.err conftest.$ac_objext \
12828 conftest$ac_exeext conftest.$ac_ext
12830 eval ac_res=\$$gt_func_gnugettext_libc
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12832 $as_echo "$ac_res" >&6; }
12834 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12840 am_save_CPPFLAGS="$CPPFLAGS"
12842 for element in $INCICONV; do
12844 for x in $CPPFLAGS; do
12846 acl_save_prefix="$prefix"
12847 prefix="$acl_final_prefix"
12848 acl_save_exec_prefix="$exec_prefix"
12849 exec_prefix="$acl_final_exec_prefix"
12851 exec_prefix="$acl_save_exec_prefix"
12852 prefix="$acl_save_prefix"
12854 if test "X$x" = "X$element"; then
12859 if test -z "$haveit"; then
12860 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12866 $as_echo_n "checking for iconv... " >&6; }
12867 if ${am_cv_func_iconv+:} false; then :
12868 $as_echo_n "(cached) " >&6
12871 am_cv_func_iconv="no, consider installing GNU libiconv"
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12875 #include <stdlib.h>
12880 iconv_t cd = iconv_open("","");
12881 iconv(cd,NULL,NULL,NULL,NULL);
12887 if ac_fn_c_try_link "$LINENO"; then :
12888 am_cv_func_iconv=yes
12890 rm -f core conftest.err conftest.$ac_objext \
12891 conftest$ac_exeext conftest.$ac_ext
12892 if test "$am_cv_func_iconv" != yes; then
12893 am_save_LIBS="$LIBS"
12894 LIBS="$LIBS $LIBICONV"
12895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h. */
12897 #include <stdlib.h>
12902 iconv_t cd = iconv_open("","");
12903 iconv(cd,NULL,NULL,NULL,NULL);
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 am_cv_lib_iconv=yes
12911 am_cv_func_iconv=yes
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS="$am_save_LIBS"
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12920 $as_echo "$am_cv_func_iconv" >&6; }
12921 if test "$am_cv_func_iconv" = yes; then
12923 $as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h
12926 if test "$am_cv_lib_iconv" = yes; then
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12928 $as_echo_n "checking how to link with libiconv... " >&6; }
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12930 $as_echo "$LIBICONV" >&6; }
12932 CPPFLAGS="$am_save_CPPFLAGS"
12945 acl_save_prefix="$prefix"
12946 prefix="$acl_final_prefix"
12947 acl_save_exec_prefix="$exec_prefix"
12948 exec_prefix="$acl_final_exec_prefix"
12950 eval additional_includedir=\"$includedir\"
12951 eval additional_libdir=\"$libdir\"
12953 exec_prefix="$acl_save_exec_prefix"
12954 prefix="$acl_save_prefix"
12957 @%:@ Check whether --with-libintl-prefix was given.
12958 if test "${with_libintl_prefix+set}" = set; then :
12959 withval=$with_libintl_prefix;
12960 if test "X$withval" = "Xno"; then
12963 if test "X$withval" = "X"; then
12965 acl_save_prefix="$prefix"
12966 prefix="$acl_final_prefix"
12967 acl_save_exec_prefix="$exec_prefix"
12968 exec_prefix="$acl_final_exec_prefix"
12970 eval additional_includedir=\"$includedir\"
12971 eval additional_libdir=\"$libdir\"
12973 exec_prefix="$acl_save_exec_prefix"
12974 prefix="$acl_save_prefix"
12977 additional_includedir="$withval/include"
12978 additional_libdir="$withval/$acl_libdirstem"
12989 names_already_handled=
12990 names_next_round='intl '
12991 while test -n "$names_next_round"; do
12992 names_this_round="$names_next_round"
12994 for name in $names_this_round; do
12996 for n in $names_already_handled; do
12997 if test "$n" = "$name"; then
12998 already_handled=yes
13002 if test -z "$already_handled"; then
13003 names_already_handled="$names_already_handled $name"
13004 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13005 eval value=\"\$HAVE_LIB$uppername\"
13006 if test -n "$value"; then
13007 if test "$value" = yes; then
13008 eval value=\"\$LIB$uppername\"
13009 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13010 eval value=\"\$LTLIB$uppername\"
13011 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13020 if test $use_additional = yes; then
13021 if test -n "$shlibext" \
13022 && { test -f "$additional_libdir/lib$name.$shlibext" \
13023 || { test "$shlibext" = dll \
13024 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13025 found_dir="$additional_libdir"
13026 if test -f "$additional_libdir/lib$name.$shlibext"; then
13027 found_so="$additional_libdir/lib$name.$shlibext"
13029 found_so="$additional_libdir/lib$name.dll.a"
13031 if test -f "$additional_libdir/lib$name.la"; then
13032 found_la="$additional_libdir/lib$name.la"
13035 if test -f "$additional_libdir/lib$name.$libext"; then
13036 found_dir="$additional_libdir"
13037 found_a="$additional_libdir/lib$name.$libext"
13038 if test -f "$additional_libdir/lib$name.la"; then
13039 found_la="$additional_libdir/lib$name.la"
13044 if test "X$found_dir" = "X"; then
13045 for x in $LDFLAGS $LTLIBINTL; do
13047 acl_save_prefix="$prefix"
13048 prefix="$acl_final_prefix"
13049 acl_save_exec_prefix="$exec_prefix"
13050 exec_prefix="$acl_final_exec_prefix"
13052 exec_prefix="$acl_save_exec_prefix"
13053 prefix="$acl_save_prefix"
13057 dir=`echo "X$x" | sed -e 's/^X-L//'`
13058 if test -n "$shlibext" \
13059 && { test -f "$dir/lib$name.$shlibext" \
13060 || { test "$shlibext" = dll \
13061 && test -f "$dir/lib$name.dll.a"; }; }; then
13063 if test -f "$dir/lib$name.$shlibext"; then
13064 found_so="$dir/lib$name.$shlibext"
13066 found_so="$dir/lib$name.dll.a"
13068 if test -f "$dir/lib$name.la"; then
13069 found_la="$dir/lib$name.la"
13072 if test -f "$dir/lib$name.$libext"; then
13074 found_a="$dir/lib$name.$libext"
13075 if test -f "$dir/lib$name.la"; then
13076 found_la="$dir/lib$name.la"
13082 if test "X$found_dir" != "X"; then
13087 if test "X$found_dir" != "X"; then
13088 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13089 if test "X$found_so" != "X"; then
13090 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13091 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13094 for x in $ltrpathdirs; do
13095 if test "X$x" = "X$found_dir"; then
13100 if test -z "$haveit"; then
13101 ltrpathdirs="$ltrpathdirs $found_dir"
13103 if test "$hardcode_direct" = yes; then
13104 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13106 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
13107 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13109 for x in $rpathdirs; do
13110 if test "X$x" = "X$found_dir"; then
13115 if test -z "$haveit"; then
13116 rpathdirs="$rpathdirs $found_dir"
13120 for x in $LDFLAGS $LIBINTL; do
13122 acl_save_prefix="$prefix"
13123 prefix="$acl_final_prefix"
13124 acl_save_exec_prefix="$exec_prefix"
13125 exec_prefix="$acl_final_exec_prefix"
13127 exec_prefix="$acl_save_exec_prefix"
13128 prefix="$acl_save_prefix"
13130 if test "X$x" = "X-L$found_dir"; then
13135 if test -z "$haveit"; then
13136 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13138 if test "$hardcode_minus_L" != no; then
13139 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13141 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13147 if test "X$found_a" != "X"; then
13148 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13150 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13153 additional_includedir=
13154 case "$found_dir" in
13155 */$acl_libdirstem | */$acl_libdirstem/)
13156 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13157 additional_includedir="$basedir/include"
13160 if test "X$additional_includedir" != "X"; then
13161 if test "X$additional_includedir" != "X/usr/include"; then
13163 if test "X$additional_includedir" = "X/usr/local/include"; then
13164 if test -n "$GCC"; then
13166 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13170 if test -z "$haveit"; then
13171 for x in $CPPFLAGS $INCINTL; do
13173 acl_save_prefix="$prefix"
13174 prefix="$acl_final_prefix"
13175 acl_save_exec_prefix="$exec_prefix"
13176 exec_prefix="$acl_final_exec_prefix"
13178 exec_prefix="$acl_save_exec_prefix"
13179 prefix="$acl_save_prefix"
13181 if test "X$x" = "X-I$additional_includedir"; then
13186 if test -z "$haveit"; then
13187 if test -d "$additional_includedir"; then
13188 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13194 if test -n "$found_la"; then
13195 save_libdir="$libdir"
13196 case "$found_la" in
13197 */* | *\\*) . "$found_la" ;;
13198 *) . "./$found_la" ;;
13200 libdir="$save_libdir"
13201 for dep in $dependency_libs; do
13204 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13205 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13207 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13208 if test -n "$GCC"; then
13210 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13214 if test -z "$haveit"; then
13216 for x in $LDFLAGS $LIBINTL; do
13218 acl_save_prefix="$prefix"
13219 prefix="$acl_final_prefix"
13220 acl_save_exec_prefix="$exec_prefix"
13221 exec_prefix="$acl_final_exec_prefix"
13223 exec_prefix="$acl_save_exec_prefix"
13224 prefix="$acl_save_prefix"
13226 if test "X$x" = "X-L$additional_libdir"; then
13231 if test -z "$haveit"; then
13232 if test -d "$additional_libdir"; then
13233 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13237 for x in $LDFLAGS $LTLIBINTL; do
13239 acl_save_prefix="$prefix"
13240 prefix="$acl_final_prefix"
13241 acl_save_exec_prefix="$exec_prefix"
13242 exec_prefix="$acl_final_exec_prefix"
13244 exec_prefix="$acl_save_exec_prefix"
13245 prefix="$acl_save_prefix"
13247 if test "X$x" = "X-L$additional_libdir"; then
13252 if test -z "$haveit"; then
13253 if test -d "$additional_libdir"; then
13254 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13261 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13262 if test "$enable_rpath" != no; then
13264 for x in $rpathdirs; do
13265 if test "X$x" = "X$dir"; then
13270 if test -z "$haveit"; then
13271 rpathdirs="$rpathdirs $dir"
13274 for x in $ltrpathdirs; do
13275 if test "X$x" = "X$dir"; then
13280 if test -z "$haveit"; then
13281 ltrpathdirs="$ltrpathdirs $dir"
13286 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13289 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13292 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13293 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13299 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13300 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13306 if test "X$rpathdirs" != "X"; then
13307 if test -n "$hardcode_libdir_separator"; then
13309 for found_dir in $rpathdirs; do
13310 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13312 acl_save_libdir="$libdir"
13314 eval flag=\"$hardcode_libdir_flag_spec\"
13315 libdir="$acl_save_libdir"
13316 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13318 for found_dir in $rpathdirs; do
13319 acl_save_libdir="$libdir"
13320 libdir="$found_dir"
13321 eval flag=\"$hardcode_libdir_flag_spec\"
13322 libdir="$acl_save_libdir"
13323 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13327 if test "X$ltrpathdirs" != "X"; then
13328 for found_dir in $ltrpathdirs; do
13329 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13334 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13335 if eval \${$gt_func_gnugettext_libintl+:} false; then :
13336 $as_echo_n "(cached) " >&6
13338 gt_save_CPPFLAGS="$CPPFLAGS"
13339 CPPFLAGS="$CPPFLAGS $INCINTL"
13340 gt_save_LIBS="$LIBS"
13341 LIBS="$LIBS $LIBINTL"
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h. */
13344 #include <libintl.h>
13345 $gt_revision_test_code
13346 extern int _nl_msg_cat_cntr;
13351 const char *_nl_expand_alias (const char *);
13355 bindtextdomain ("", "");
13356 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 eval "$gt_func_gnugettext_libintl=yes"
13364 eval "$gt_func_gnugettext_libintl=no"
13366 rm -f core conftest.err conftest.$ac_objext \
13367 conftest$ac_exeext conftest.$ac_ext
13368 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13369 LIBS="$LIBS $LIBICONV"
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13372 #include <libintl.h>
13373 $gt_revision_test_code
13374 extern int _nl_msg_cat_cntr;
13379 const char *_nl_expand_alias (const char *);
13383 bindtextdomain ("", "");
13384 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 LIBINTL="$LIBINTL $LIBICONV"
13391 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13392 eval "$gt_func_gnugettext_libintl=yes"
13395 rm -f core conftest.err conftest.$ac_objext \
13396 conftest$ac_exeext conftest.$ac_ext
13398 CPPFLAGS="$gt_save_CPPFLAGS"
13399 LIBS="$gt_save_LIBS"
13401 eval ac_res=\$$gt_func_gnugettext_libintl
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13403 $as_echo "$ac_res" >&6; }
13406 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13407 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13408 && test "$PACKAGE" != gettext-runtime \
13409 && test "$PACKAGE" != gettext-tools; }; then
13410 gt_use_preinstalled_gnugettext=yes
13419 if test -n "$INTL_MACOSX_LIBS"; then
13420 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13421 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13422 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13423 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13427 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13428 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13430 $as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13438 $as_echo_n "checking whether to use NLS... " >&6; }
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13440 $as_echo "$USE_NLS" >&6; }
13441 if test "$USE_NLS" = "yes"; then
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13443 $as_echo_n "checking where the gettext function comes from... " >&6; }
13444 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13445 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13446 gt_source="external libintl"
13451 gt_source="included intl directory"
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13454 $as_echo "$gt_source" >&6; }
13457 if test "$USE_NLS" = "yes"; then
13459 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13460 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13462 $as_echo_n "checking how to link with libintl... " >&6; }
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13464 $as_echo "$LIBINTL" >&6; }
13466 for element in $INCINTL; do
13468 for x in $CPPFLAGS; do
13470 acl_save_prefix="$prefix"
13471 prefix="$acl_final_prefix"
13472 acl_save_exec_prefix="$exec_prefix"
13473 exec_prefix="$acl_final_exec_prefix"
13475 exec_prefix="$acl_save_exec_prefix"
13476 prefix="$acl_save_prefix"
13478 if test "X$x" = "X$element"; then
13483 if test -z "$haveit"; then
13484 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13491 $as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
13494 $as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h
13503 INTLLIBS="$LIBINTL"
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
13512 $as_echo_n "checking option: dmalloc enabled... " >&6; }
13513 @%:@ Check whether --enable-dmalloc was given.
13514 if test "${enable_dmalloc+set}" = set; then :
13515 enableval=$enable_dmalloc;
13518 if test x$enable_dmalloc = "xyes" ; then
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13520 $as_echo "yes" >&6; }
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13523 $as_echo "no" >&6; }
13527 @%:@ Check whether --with-dmalloc-dir was given.
13528 if test "${with_dmalloc_dir+set}" = set; then :
13529 withval=$with_dmalloc_dir;
13530 if test "x$withval" != "xno" ; then
13531 enable_dmalloc = "yes"
13532 CPPFLAGS="$CPPFLAGS -I${withval}"
13533 LDFLAGS="$LDFLAGS -L${withval}"
13539 if test x$enable_dmalloc = "xyes" ; then
13541 $as_echo "@%:@define ENABLE_DMALLOC 1" >>confdefs.h
13547 if test -d /opt/local ; then
13548 localedir="/opt/local/share/locale"
13550 localedir="\${datadir}/locale"
13554 localedir="\${datadir}/locale"
13558 @%:@ Check whether --with-localedir was given.
13559 if test "${with_localedir+set}" = set; then :
13560 withval=$with_localedir;
13573 localedir="$localedir"
13576 # Setup OS-Specific features
13579 @%:@ Check whether --enable-osx-universal-binaries was given.
13580 if test "${enable_osx_universal_binaries+set}" = set; then :
13581 enableval=$enable_osx_universal_binaries;
13584 if test "x$enable_osx_universal_binaries" = "xyes" ; then
13585 if test "x$enable_dependency_tracking" != xno ; then
13586 as_fn_error $? "--enable-osx-universal-binary requires --disable-dependency-tracking.
13587 Please re-run configure with these options:
13588 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
13590 if test -d /Developer/SDKs/MacOSX10.5.sdk ; then
13591 alpine_sysroot=/Developer/SDKs/MacOSX10.5.sdk
13592 elif test -d /Developer/SDKs/MacOSX10.4u.sdk ; then
13593 alpine_sysroot=/Developer/SDKs/MacOSX10.4u.sdk
13595 as_fn_error $? "No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
13597 ub_cflags="-isysroot $alpine_sysroot -arch ppc -arch i386"
13598 ub_ldflags="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
13599 AM_CFLAGS="$AM_CFLAGS $ub_cflags"
13600 AM_LDFLAGS="$AM_LDFLAGS $ub_ldflags"
13601 alpine_c_client_cflags="$alpine_c_client_cflags $ub_cflags"
13602 alpine_c_client_ldflags="$alpine_c_client_ldflags $ub_ldflags"
13608 @%:@ Check whether --with-include-path was given.
13609 if test "${with_include_path+set}" = set; then :
13610 withval=$with_include_path;
13617 new_cppflags="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
13618 CPPFLAGS="$CPPFLAGS ${new_cppflags}"
13619 alpine_c_client_cflags="$alpine_c_client_cflags ${new_cppflags}"
13627 @%:@ Check whether --with-lib-path was given.
13628 if test "${with_lib_path+set}" = set; then :
13629 withval=$with_lib_path;
13636 new_ldflags="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
13637 LDFLAGS="$LDFLAGS $new_ldflags"
13638 alpine_c_client_ldflags="$alpine_c_client_ldflags ${new_ldflags}"
13646 @%:@ Check whether --with-pubcookie was given.
13647 if test "${with_pubcookie+set}" = set; then :
13648 withval=$with_pubcookie;
13649 if test "x$withval" != "xno" ; then
13650 WEB_PUBCOOKIE_BUILD=web/src/pubcookie
13658 @%:@ Check whether --with-web-bin was given.
13659 if test "${with_web_bin+set}" = set; then :
13660 withval=$with_web_bin;
13667 WEB_BINDIR=$withval
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
13675 $as_echo_n "checking option: debugging is enabled... " >&6; }
13676 @%:@ Check whether --enable-debug was given.
13677 if test "${enable_debug+set}" = set; then :
13678 enableval=$enable_debug;
13681 if test x$enable_debug != "xno" ; then
13682 AM_CFLAGS="$AM_CFLAGS -g"
13684 $as_echo "@%:@define DEBUG 1" >>confdefs.h
13687 $as_echo "@%:@define DEBUGJOURNAL 1" >>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: optimization is enabled" >&5
13697 $as_echo_n "checking option: optimization is enabled... " >&6; }
13698 @%:@ Check whether --enable-optimization was given.
13699 if test "${enable_optimization+set}" = set; then :
13700 enableval=$enable_optimization;
13703 if test x$enable_optimization != "xno" ; then
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13705 $as_echo "yes" >&6; }
13707 CFLAGS="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
13708 alpine_c_client_gccoptlevel="-O0"
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13710 $as_echo "no" >&6; }
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
13714 $as_echo_n "checking option: mouse support enabled... " >&6; }
13715 @%:@ Check whether --enable-mouse was given.
13716 if test "${enable_mouse+set}" = set; then :
13717 enableval=$enable_mouse;
13720 if test x$enable_mouse != "xno" ; then
13722 $as_echo "@%:@define MOUSE /**/" >>confdefs.h
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13725 $as_echo "yes" >&6; }
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 $as_echo "no" >&6; }
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
13732 $as_echo_n "checking option: quotas enabled... " >&6; }
13733 @%:@ Check whether --enable-quotas was given.
13734 if test "${enable_quotas+set}" = set; then :
13735 enableval=$enable_quotas;
13738 if test x$enable_quotas = "xyes" ; then
13740 $as_echo "@%:@define USE_QUOTAS /**/" >>confdefs.h
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13743 $as_echo "yes" >&6; }
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13746 $as_echo "no" >&6; }
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
13750 $as_echo_n "checking option: From changing enabled... " >&6; }
13751 @%:@ Check whether --enable-from_changing was given.
13752 if test "${enable_from_changing+set}" = set; then :
13753 enableval=$enable_from_changing;
13756 if test x$enable_from_changing != "xno" ; then
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13758 $as_echo "yes" >&6; }
13761 $as_echo "@%:@define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13764 $as_echo "no" >&6; }
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
13768 $as_echo_n "checking option: background post enabled... " >&6; }
13769 @%:@ Check whether --enable-background-post was given.
13770 if test "${enable_background_post+set}" = set; then :
13771 enableval=$enable_background_post;
13774 if test x$enable_background_post != "xno" ; then
13776 $as_echo "@%:@define BACKGROUND_POST /**/" >>confdefs.h
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13779 $as_echo "yes" >&6; }
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13782 $as_echo "no" >&6; }
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
13786 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
13787 @%:@ Check whether --enable-keyboard-lock was given.
13788 if test "${enable_keyboard_lock+set}" = set; then :
13789 enableval=$enable_keyboard_lock;
13792 if test x$enable_keyboard_lock != "xno" ; then
13794 $as_echo "@%:@define KEYBOARD_LOCK /**/" >>confdefs.h
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13797 $as_echo "yes" >&6; }
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13800 $as_echo "no" >&6; }
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
13804 $as_echo_n "checking option: from encoding enabled... " >&6; }
13805 @%:@ Check whether --enable-from-encoding was given.
13806 if test "${enable_from_encoding+set}" = set; then :
13807 enableval=$enable_from_encoding;
13810 if test x$enable_from_encoding = "xyes" ; then
13812 $as_echo "@%:@define ENCODE_FROMS /**/" >>confdefs.h
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13815 $as_echo "yes" >&6; }
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818 $as_echo "no" >&6; }
13822 @%:@ Check whether --with-smtp-msa was given.
13823 if test "${with_smtp_msa+set}" = set; then :
13824 withval=$with_smtp_msa;
13829 # Extract the first word of "sendmail", so it can be a program name with args.
13830 set dummy sendmail; ac_word=$2
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13832 $as_echo_n "checking for $ac_word... " >&6; }
13833 if ${ac_cv_path_SENDMAIL+:} false; then :
13834 $as_echo_n "(cached) " >&6
13838 ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
13841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842 as_dummy="$PATH:/usr/sbin:/usr/lib"
13843 for as_dir in $as_dummy
13846 test -z "$as_dir" && as_dir=.
13847 for ac_exec_ext in '' $ac_executable_extensions; do
13848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13849 ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
13850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13857 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL=""""
13861 SENDMAIL=$ac_cv_path_SENDMAIL
13862 if test -n "$SENDMAIL"; then
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13864 $as_echo "$SENDMAIL" >&6; }
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13867 $as_echo "no" >&6; }
13879 # Extract the first word of "sendmail", so it can be a program name with args.
13880 set dummy sendmail; ac_word=$2
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13882 $as_echo_n "checking for $ac_word... " >&6; }
13883 if ${ac_cv_path_SENDMAIL+:} false; then :
13884 $as_echo_n "(cached) " >&6
13888 ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
13891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13892 as_dummy="$PATH:/usr/sbin:/usr/lib"
13893 for as_dir in $as_dummy
13896 test -z "$as_dir" && as_dir=.
13897 for ac_exec_ext in '' $ac_executable_extensions; do
13898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13899 ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
13900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13907 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL=""""
13911 SENDMAIL=$ac_cv_path_SENDMAIL
13912 if test -n "$SENDMAIL"; then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13914 $as_echo "$SENDMAIL" >&6; }
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13917 $as_echo "no" >&6; }
13924 if test -n "$SENDMAIL" ; then
13926 cat >>confdefs.h <<_ACEOF
13927 @%:@define SENDMAIL "$SENDMAIL"
13932 smtp_msa_flags="-bs -odb -oem"
13934 @%:@ Check whether --with-smtp-msa-flags was given.
13935 if test "${with_smtp_msa_flags+set}" = set; then :
13936 withval=$with_smtp_msa_flags;
13937 if test "x$withval" != "xno" ; then
13938 smtp_msa_flags=$withval
13944 cat >>confdefs.h <<_ACEOF
13945 @%:@define SENDMAILFLAGS "$smtp_msa_flags"
13951 @%:@ Check whether --with-npa was given.
13952 if test "${with_npa+set}" = set; then :
13958 # Extract the first word of "inews", so it can be a program name with args.
13959 set dummy inews; ac_word=$2
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13961 $as_echo_n "checking for $ac_word... " >&6; }
13962 if ${ac_cv_path_NPA_PROG+:} false; then :
13963 $as_echo_n "(cached) " >&6
13967 ac_cv_path_NPA_PROG="$NPA_PROG" # Let the user override the test with a path.
13970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13971 as_dummy="$PATH:/usr/sbin:/usr/lib"
13972 for as_dir in $as_dummy
13975 test -z "$as_dir" && as_dir=.
13976 for ac_exec_ext in '' $ac_executable_extensions; do
13977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13978 ac_cv_path_NPA_PROG="$as_dir/$ac_word$ac_exec_ext"
13979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13986 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG=""""
13990 NPA_PROG=$ac_cv_path_NPA_PROG
13991 if test -n "$NPA_PROG"; then
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
13993 $as_echo "$NPA_PROG" >&6; }
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
14008 # Extract the first word of "inews", so it can be a program name with args.
14009 set dummy inews; ac_word=$2
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14011 $as_echo_n "checking for $ac_word... " >&6; }
14012 if ${ac_cv_path_NPA_PROG+:} false; then :
14013 $as_echo_n "(cached) " >&6
14017 ac_cv_path_NPA_PROG="$NPA_PROG" # Let the user override the test with a path.
14020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14021 as_dummy="$PATH:/usr/sbin:/usr/lib"
14022 for as_dir in $as_dummy
14025 test -z "$as_dir" && as_dir=.
14026 for ac_exec_ext in '' $ac_executable_extensions; do
14027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14028 ac_cv_path_NPA_PROG="$as_dir/$ac_word$ac_exec_ext"
14029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14036 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG=""""
14040 NPA_PROG=$ac_cv_path_NPA_PROG
14041 if test -n "$NPA_PROG"; then
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
14043 $as_echo "$NPA_PROG" >&6; }
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14046 $as_echo "no" >&6; }
14056 @%:@ Check whether --with-npa-flags was given.
14057 if test "${with_npa_flags+set}" = set; then :
14058 withval=$with_npa_flags;
14059 if test "x$withval" != "xno" ; then
14065 if test -n "$NPA_PROG" ; then
14067 cat >>confdefs.h <<_ACEOF
14068 @%:@define SENDNEWS "$NPA_PROG $npa_flags"
14074 @%:@ Check whether --with-password-prog was given.
14075 if test "${with_password_prog+set}" = set; then :
14076 withval=$with_password_prog;
14081 # Extract the first word of "passwd", so it can be a program name with args.
14082 set dummy passwd; ac_word=$2
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14084 $as_echo_n "checking for $ac_word... " >&6; }
14085 if ${ac_cv_path_PWPROG+:} false; then :
14086 $as_echo_n "(cached) " >&6
14090 ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14094 as_dummy="$PATH:/usr/sbin:/usr/lib"
14095 for as_dir in $as_dummy
14098 test -z "$as_dir" && as_dir=.
14099 for ac_exec_ext in '' $ac_executable_extensions; do
14100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14101 ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14109 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14113 PWPROG=$ac_cv_path_PWPROG
14114 if test -n "$PWPROG"; then
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14116 $as_echo "$PWPROG" >&6; }
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14119 $as_echo "no" >&6; }
14125 # Extract the first word of "$withval", so it can be a program name with args.
14126 set dummy $withval; ac_word=$2
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14128 $as_echo_n "checking for $ac_word... " >&6; }
14129 if ${ac_cv_path_PWPROG+:} false; then :
14130 $as_echo_n "(cached) " >&6
14134 ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14138 as_dummy="$PATH:/usr/sbin:/usr/lib"
14139 for as_dir in $as_dummy
14142 test -z "$as_dir" && as_dir=.
14143 for ac_exec_ext in '' $ac_executable_extensions; do
14144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14145 ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14153 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14157 PWPROG=$ac_cv_path_PWPROG
14158 if test -n "$PWPROG"; then
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14160 $as_echo "$PWPROG" >&6; }
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14163 $as_echo "no" >&6; }
14172 # Extract the first word of "passwd", so it can be a program name with args.
14173 set dummy passwd; ac_word=$2
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14175 $as_echo_n "checking for $ac_word... " >&6; }
14176 if ${ac_cv_path_PWPROG+:} false; then :
14177 $as_echo_n "(cached) " >&6
14181 ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14185 as_dummy="$PATH:/usr/sbin:/usr/lib"
14186 for as_dir in $as_dummy
14189 test -z "$as_dir" && as_dir=.
14190 for ac_exec_ext in '' $ac_executable_extensions; do
14191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14192 ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14200 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14204 PWPROG=$ac_cv_path_PWPROG
14205 if test -n "$PWPROG"; then
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14207 $as_echo "$PWPROG" >&6; }
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210 $as_echo "no" >&6; }
14217 if test -n "$PWPROG" ; then
14219 cat >>confdefs.h <<_ACEOF
14220 @%:@define PASSWD_PROG "$PWPROG"
14226 @%:@ Check whether --with-simple-spellcheck was given.
14227 if test "${with_simple_spellcheck+set}" = set; then :
14228 withval=$with_simple_spellcheck;
14229 if test "x$withval" != "xno" ; then
14235 # Extract the first word of "hunspell", so it can be a program name with args.
14236 set dummy hunspell; ac_word=$2
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14238 $as_echo_n "checking for $ac_word... " >&6; }
14239 if ${ac_cv_prog_SPELLPROG+:} false; then :
14240 $as_echo_n "(cached) " >&6
14242 if test -n "$SPELLPROG"; then
14243 ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14246 for as_dir in $PATH
14249 test -z "$as_dir" && as_dir=.
14250 for ac_exec_ext in '' $ac_executable_extensions; do
14251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14252 ac_cv_prog_SPELLPROG="hunspell"
14253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14262 SPELLPROG=$ac_cv_prog_SPELLPROG
14263 if test -n "$SPELLPROG"; then
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14265 $as_echo "$SPELLPROG" >&6; }
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14268 $as_echo "no" >&6; }
14272 if test -z "$SPELLPROG" ; then
14273 # Extract the first word of "aspell", so it can be a program name with args.
14274 set dummy aspell; ac_word=$2
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14276 $as_echo_n "checking for $ac_word... " >&6; }
14277 if ${ac_cv_prog_SPELLPROG+:} false; then :
14278 $as_echo_n "(cached) " >&6
14280 if test -n "$SPELLPROG"; then
14281 ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14284 for as_dir in $PATH
14287 test -z "$as_dir" && as_dir=.
14288 for ac_exec_ext in '' $ac_executable_extensions; do
14289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14290 ac_cv_prog_SPELLPROG="aspell"
14291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14300 SPELLPROG=$ac_cv_prog_SPELLPROG
14301 if test -n "$SPELLPROG"; then
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14303 $as_echo "$SPELLPROG" >&6; }
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14306 $as_echo "no" >&6; }
14310 if test -z "$SPELLPROG" ; then
14311 # Extract the first word of "ispell", so it can be a program name with args.
14312 set dummy ispell; ac_word=$2
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14314 $as_echo_n "checking for $ac_word... " >&6; }
14315 if ${ac_cv_prog_SPELLPROG+:} false; then :
14316 $as_echo_n "(cached) " >&6
14318 if test -n "$SPELLPROG"; then
14319 ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14322 for as_dir in $PATH
14325 test -z "$as_dir" && as_dir=.
14326 for ac_exec_ext in '' $ac_executable_extensions; do
14327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14328 ac_cv_prog_SPELLPROG="ispell"
14329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14338 SPELLPROG=$ac_cv_prog_SPELLPROG
14339 if test -n "$SPELLPROG"; then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14341 $as_echo "$SPELLPROG" >&6; }
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14344 $as_echo "no" >&6; }
14348 if test -z "$SPELLPROG" ; then
14357 if test "x$SPELLPROG" != "xno" ; then
14358 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
14359 set dummy $SPELLPROG; ac_word=$2
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14361 $as_echo_n "checking for $ac_word... " >&6; }
14362 if ${ac_cv_path_alpine_simple_spellcheck+:} false; then :
14363 $as_echo_n "(cached) " >&6
14365 case $alpine_simple_spellcheck in
14367 ac_cv_path_alpine_simple_spellcheck="$alpine_simple_spellcheck" # Let the user override the test with a path.
14370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14371 for as_dir in $PATH
14374 test -z "$as_dir" && as_dir=.
14375 for ac_exec_ext in '' $ac_executable_extensions; do
14376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14377 ac_cv_path_alpine_simple_spellcheck="$as_dir/$ac_word$ac_exec_ext"
14378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14388 alpine_simple_spellcheck=$ac_cv_path_alpine_simple_spellcheck
14389 if test -n "$alpine_simple_spellcheck"; then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
14391 $as_echo "$alpine_simple_spellcheck" >&6; }
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14394 $as_echo "no" >&6; }
14398 if test -n "$alpine_simple_spellcheck" ; then
14399 case "$SPELLPROG" in
14401 alpine_simple_spellcheck="$alpine_simple_spellcheck -l"
14404 alpine_simple_spellcheck="$alpine_simple_spellcheck --dont-backup --mode=email list"
14407 alpine_simple_spellcheck="$alpine_simple_spellcheck -l"
14416 @%:@ Check whether --with-interactive-spellcheck was given.
14417 if test "${with_interactive_spellcheck+set}" = set; then :
14418 withval=$with_interactive_spellcheck;
14419 if test "x$withval" != "xno" ; then
14420 ISPELLPROG=$withval
14425 # Extract the first word of "hunspell", so it can be a program name with args.
14426 set dummy hunspell; ac_word=$2
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14428 $as_echo_n "checking for $ac_word... " >&6; }
14429 if ${ac_cv_prog_ISPELLPROG+:} false; then :
14430 $as_echo_n "(cached) " >&6
14432 if test -n "$ISPELLPROG"; then
14433 ac_cv_prog_ISPELLPROG="$ISPELLPROG" # Let the user override the test.
14435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14436 for as_dir in $PATH
14439 test -z "$as_dir" && as_dir=.
14440 for ac_exec_ext in '' $ac_executable_extensions; do
14441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14442 ac_cv_prog_ISPELLPROG="hunspell"
14443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14452 ISPELLPROG=$ac_cv_prog_ISPELLPROG
14453 if test -n "$ISPELLPROG"; then
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14455 $as_echo "$ISPELLPROG" >&6; }
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14458 $as_echo "no" >&6; }
14462 if test -z "$ISPELLPROG" ; then
14463 # Extract the first word of "aspell", so it can be a program name with args.
14464 set dummy aspell; ac_word=$2
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14466 $as_echo_n "checking for $ac_word... " >&6; }
14467 if ${ac_cv_prog_ISPELLPROG+:} false; then :
14468 $as_echo_n "(cached) " >&6
14470 if test -n "$ISPELLPROG"; then
14471 ac_cv_prog_ISPELLPROG="$ISPELLPROG" # Let the user override the test.
14473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14474 for as_dir in $PATH
14477 test -z "$as_dir" && as_dir=.
14478 for ac_exec_ext in '' $ac_executable_extensions; do
14479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14480 ac_cv_prog_ISPELLPROG="aspell"
14481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14490 ISPELLPROG=$ac_cv_prog_ISPELLPROG
14491 if test -n "$ISPELLPROG"; then
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14493 $as_echo "$ISPELLPROG" >&6; }
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14496 $as_echo "no" >&6; }
14500 if test -z "$SPELLPROG" ; then
14501 ISPELLPROG="ispell"
14508 if test "x$ISPELLPROG" != "xno" ; then
14509 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
14510 set dummy $ISPELLPROG; ac_word=$2
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14512 $as_echo_n "checking for $ac_word... " >&6; }
14513 if ${ac_cv_path_alpine_interactive_spellcheck+:} false; then :
14514 $as_echo_n "(cached) " >&6
14516 case $alpine_interactive_spellcheck in
14518 ac_cv_path_alpine_interactive_spellcheck="$alpine_interactive_spellcheck" # Let the user override the test with a path.
14521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14522 for as_dir in $PATH
14525 test -z "$as_dir" && as_dir=.
14526 for ac_exec_ext in '' $ac_executable_extensions; do
14527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14528 ac_cv_path_alpine_interactive_spellcheck="$as_dir/$ac_word$ac_exec_ext"
14529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14539 alpine_interactive_spellcheck=$ac_cv_path_alpine_interactive_spellcheck
14540 if test -n "$alpine_interactive_spellcheck"; then
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
14542 $as_echo "$alpine_interactive_spellcheck" >&6; }
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14545 $as_echo "no" >&6; }
14549 if test -n "$alpine_interactive_spellcheck" ; then
14550 case "$ISPELLPROG" in
14552 alpine_interactive_spellcheck="$alpine_interactive_spellcheck --dont-backup --mode=email check"
14560 if test -n "$alpine_interactive_spellcheck" ; then
14562 cat >>confdefs.h <<_ACEOF
14563 @%:@define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
14568 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
14569 alpine_simple_spellcheck=test
14572 cat >>confdefs.h <<_ACEOF
14573 @%:@define SPELLER "$alpine_simple_spellcheck"
14578 NONE) dpv=/usr/local/lib/pine.conf ;;
14579 *) dpv=${prefix}/lib/pine.conf ;;
14582 @%:@ Check whether --with-system-pinerc was given.
14583 if test "${with_system_pinerc+set}" = set; then :
14584 withval=$with_system_pinerc;
14598 cat >>confdefs.h <<_ACEOF
14599 @%:@define SYSTEM_PINERC "$dpv"
14604 NONE) dpv=/usr/local/lib/pine.conf.fixed ;;
14605 *) dpv=${prefix}/lib/pine.conf.fixed ;;
14608 @%:@ Check whether --with-system-fixed-pinerc was given.
14609 if test "${with_system_fixed_pinerc+set}" = set; then :
14610 withval=$with_system_fixed_pinerc;
14624 cat >>confdefs.h <<_ACEOF
14625 @%:@define SYSTEM_PINERC_FIXED "$dpv"
14630 NONE) dpv=/usr/local/lib/pine.info ;;
14631 *) dpv=${prefix}/lib/pine.info ;;
14634 @%:@ Check whether --with-local-support-info was given.
14635 if test "${with_local_support_info+set}" = set; then :
14636 withval=$with_local_support_info;
14650 cat >>confdefs.h <<_ACEOF
14651 @%:@define SYSTEM_PINE_INFO_PATH "$dpv"
14662 @%:@ Check whether --with-mailcheck-interval was given.
14663 if test "${with_mailcheck_interval+set}" = set; then :
14664 withval=$with_mailcheck_interval;
14665 if test "x$withval" != "xno" ; then
14672 cat >>confdefs.h <<_ACEOF
14673 @%:@define DF_MAILCHECK "$dpv"
14680 @%:@ Check whether --with-checkpoint-interval was given.
14681 if test "${with_checkpoint_interval+set}" = set; then :
14682 withval=$with_checkpoint_interval;
14683 if test "x$withval" != "xno" ; then
14690 cat >>confdefs.h <<_ACEOF
14691 @%:@define CHECK_POINT_TIME $dpv
14698 @%:@ Check whether --with-checkpoint-frequency was given.
14699 if test "${with_checkpoint_frequency+set}" = set; then :
14700 withval=$with_checkpoint_frequency;
14701 if test "x$withval" != "xno" ; then
14708 cat >>confdefs.h <<_ACEOF
14709 @%:@define CHECK_POINT_FREQ $dpv
14716 @%:@ Check whether --with-display-rows was given.
14717 if test "${with_display_rows+set}" = set; then :
14718 withval=$with_display_rows;
14719 if test "x$withval" != "xno" ; then
14726 cat >>confdefs.h <<_ACEOF
14727 @%:@define DEFAULT_LINES_ON_TERMINAL $dpv
14734 @%:@ Check whether --with-display-columns was given.
14735 if test "${with_display_columns+set}" = set; then :
14736 withval=$with_display_columns;
14737 if test "x$withval" != "xno" ; then
14744 cat >>confdefs.h <<_ACEOF
14745 @%:@define DEFAULT_COLUMNS_ON_TERMINAL $dpv
14752 @%:@ Check whether --with-max-display-rows was given.
14753 if test "${with_max_display_rows+set}" = set; then :
14754 withval=$with_max_display_rows;
14755 if test "x$withval" != "xno" ; then
14762 cat >>confdefs.h <<_ACEOF
14763 @%:@define MAX_SCREEN_ROWS $dpv
14770 @%:@ Check whether --with-max-display-columns was given.
14771 if test "${with_max_display_columns+set}" = set; then :
14772 withval=$with_max_display_columns;
14773 if test "x$withval" != "xno" ; then
14780 cat >>confdefs.h <<_ACEOF
14781 @%:@define MAX_SCREEN_COLS $dpv
14788 @%:@ Check whether --with-fill-column was given.
14789 if test "${with_fill_column+set}" = set; then :
14790 withval=$with_fill_column;
14791 if test "x$withval" != "xno" ; then
14798 cat >>confdefs.h <<_ACEOF
14799 @%:@define DF_FILLCOL "$dpv"
14806 @%:@ Check whether --with-max_fill-column was given.
14807 if test "${with_max_fill_column+set}" = set; then :
14808 withval=$with_max_fill_column;
14809 if test "x$withval" != "xno" ; then
14816 cat >>confdefs.h <<_ACEOF
14817 @%:@define MAX_FILLCOL $dpv
14824 @%:@ Check whether --with-debug-level was given.
14825 if test "${with_debug_level+set}" = set; then :
14826 withval=$with_debug_level;
14827 if test "x$withval" != "xno" ; then
14834 cat >>confdefs.h <<_ACEOF
14835 @%:@define DEFAULT_DEBUG $dpv
14842 @%:@ Check whether --with-debug-files was given.
14843 if test "${with_debug_files+set}" = set; then :
14844 withval=$with_debug_files;
14845 if test "x$withval" != "xno" ; then
14852 cat >>confdefs.h <<_ACEOF
14853 @%:@define NUMDEBUGFILES $dpv
14860 @%:@ Check whether --with-debug-file was given.
14861 if test "${with_debug_file+set}" = set; then :
14862 withval=$with_debug_file;
14863 if test "x$withval" != "xno" ; then
14870 cat >>confdefs.h <<_ACEOF
14871 @%:@define DEBUGFILE "$dpv"
14878 @%:@ Check whether --with-forwarded-keyword was given.
14879 if test "${with_forwarded_keyword+set}" = set; then :
14880 withval=$with_forwarded_keyword;
14881 if test "x$withval" != "xno" ; then
14888 cat >>confdefs.h <<_ACEOF
14889 @%:@define FORWARDED_FLAG "$dpv"
14896 @%:@ Check whether --with-display-overlap was given.
14897 if test "${with_display_overlap+set}" = set; then :
14898 withval=$with_display_overlap;
14899 if test "x$withval" != "xno" ; then
14906 cat >>confdefs.h <<_ACEOF
14907 @%:@define DF_OVERLAP "$dpv"
14914 @%:@ Check whether --with-display-margin was given.
14915 if test "${with_display_margin+set}" = set; then :
14916 withval=$with_display_margin;
14917 if test "x$withval" != "xno" ; then
14924 cat >>confdefs.h <<_ACEOF
14925 @%:@define DF_MARGIN "$dpv"
14932 @%:@ Check whether --with-default-fcc was given.
14933 if test "${with_default_fcc+set}" = set; then :
14934 withval=$with_default_fcc;
14935 if test "x$withval" != "xno" ; then
14942 cat >>confdefs.h <<_ACEOF
14943 @%:@define DF_DEFAULT_FCC "$dpv"
14950 @%:@ Check whether --with-default-save-folder was given.
14951 if test "${with_default_save_folder+set}" = set; then :
14952 withval=$with_default_save_folder;
14953 if test "x$withval" != "xno" ; then
14960 cat >>confdefs.h <<_ACEOF
14961 @%:@define DEFAULT_SAVE "$dpv"
14968 @%:@ Check whether --with-default-legacy-postponed-folder was given.
14969 if test "${with_default_legacy_postponed_folder+set}" = set; then :
14970 withval=$with_default_legacy_postponed_folder;
14971 if test "x$withval" != "xno" ; then
14978 cat >>confdefs.h <<_ACEOF
14979 @%:@define POSTPONED_MAIL "$dpv"
14986 @%:@ Check whether --with-default-postponed-folder was given.
14987 if test "${with_default_postponed_folder+set}" = set; then :
14988 withval=$with_default_postponed_folder;
14989 if test "x$withval" != "xno" ; then
14996 cat >>confdefs.h <<_ACEOF
14997 @%:@define POSTPONED_MSGS "$dpv"
15004 @%:@ Check whether --with-default-trash-folder was given.
15005 if test "${with_default_trash_folder+set}" = set; then :
15006 withval=$with_default_trash_folder;
15007 if test "x$withval" != "xno" ; then
15014 cat >>confdefs.h <<_ACEOF
15015 @%:@define TRASH_FOLDER "$dpv"
15020 dpv=.pine-interrupted-mail
15022 @%:@ Check whether --with-default-interrupted-mail was given.
15023 if test "${with_default_interrupted_mail+set}" = set; then :
15024 withval=$with_default_interrupted_mail;
15025 if test "x$withval" != "xno" ; then
15032 cat >>confdefs.h <<_ACEOF
15033 @%:@define INTERRUPTED_MAIL "$dpv"
15040 @%:@ Check whether --with-default-dead-letter-folder was given.
15041 if test "${with_default_dead_letter_folder+set}" = set; then :
15042 withval=$with_default_dead_letter_folder;
15043 if test "x$withval" != "xno" ; then
15050 cat >>confdefs.h <<_ACEOF
15051 @%:@define DEADLETTER "$dpv"
15058 @%:@ Check whether --with-default-mail-directory was given.
15059 if test "${with_default_mail_directory+set}" = set; then :
15060 withval=$with_default_mail_directory;
15061 if test "x$withval" != "xno" ; then
15068 cat >>confdefs.h <<_ACEOF
15069 @%:@define DF_MAIL_DIRECTORY "$dpv"
15076 @%:@ Check whether --with-default-inbox-name was given.
15077 if test "${with_default_inbox_name+set}" = set; then :
15078 withval=$with_default_inbox_name;
15079 if test "x$withval" != "xno" ; then
15086 cat >>confdefs.h <<_ACEOF
15087 @%:@define INBOX_NAME "$dpv"
15094 @%:@ Check whether --with-default-signature-file was given.
15095 if test "${with_default_signature_file+set}" = set; then :
15096 withval=$with_default_signature_file;
15097 if test "x$withval" != "xno" ; then
15104 cat >>confdefs.h <<_ACEOF
15105 @%:@define DF_SIGNATURE_FILE "$dpv"
15112 @%:@ Check whether --with-default-elm-style-save was given.
15113 if test "${with_default_elm_style_save+set}" = set; then :
15114 withval=$with_default_elm_style_save;
15115 if test "x$withval" != "xno" ; then
15122 cat >>confdefs.h <<_ACEOF
15123 @%:@define DF_ELM_STYLE_SAVE "$dpv"
15130 @%:@ Check whether --with-default-header-in-reply was given.
15131 if test "${with_default_header_in_reply+set}" = set; then :
15132 withval=$with_default_header_in_reply;
15133 if test "x$withval" != "xno" ; then
15140 cat >>confdefs.h <<_ACEOF
15141 @%:@define DF_HEADER_IN_REPLY "$dpv"
15148 @%:@ Check whether --with-default-old-style-reply was given.
15149 if test "${with_default_old_style_reply+set}" = set; then :
15150 withval=$with_default_old_style_reply;
15151 if test "x$withval" != "xno" ; then
15158 cat >>confdefs.h <<_ACEOF
15159 @%:@define DF_OLD_STYLE_REPLY "$dpv"
15166 @%:@ Check whether --with-default-use-only-domain-name was given.
15167 if test "${with_default_use_only_domain_name+set}" = set; then :
15168 withval=$with_default_use_only_domain_name;
15169 if test "x$withval" != "xno" ; then
15176 cat >>confdefs.h <<_ACEOF
15177 @%:@define DF_USE_ONLY_DOMAIN_NAME "$dpv"
15184 @%:@ Check whether --with-default-save-by-sender was given.
15185 if test "${with_default_save_by_sender+set}" = set; then :
15186 withval=$with_default_save_by_sender;
15187 if test "x$withval" != "xno" ; then
15194 cat >>confdefs.h <<_ACEOF
15195 @%:@define DF_SAVE_BY_SENDER "$dpv"
15202 @%:@ Check whether --with-default-sort-key was given.
15203 if test "${with_default_sort_key+set}" = set; then :
15204 withval=$with_default_sort_key;
15205 if test "x$withval" != "xno" ; then
15212 cat >>confdefs.h <<_ACEOF
15213 @%:@define DF_SORT_KEY "$dpv"
15218 dpv=fullname-with-lists-last
15220 @%:@ Check whether --with-default-addressbook-sort-rule was given.
15221 if test "${with_default_addressbook_sort_rule+set}" = set; then :
15222 withval=$with_default_addressbook_sort_rule;
15223 if test "x$withval" != "xno" ; then
15230 cat >>confdefs.h <<_ACEOF
15231 @%:@define DF_AB_SORT_RULE "$dpv"
15238 @%:@ Check whether --with-default-folder-sort-rule was given.
15239 if test "${with_default_folder_sort_rule+set}" = set; then :
15240 withval=$with_default_folder_sort_rule;
15241 if test "x$withval" != "xno" ; then
15248 cat >>confdefs.h <<_ACEOF
15249 @%:@define DF_FLD_SORT_RULE "$dpv"
15256 @%:@ Check whether --with-default-saved-message-name-rule was given.
15257 if test "${with_default_saved_message_name_rule+set}" = set; then :
15258 withval=$with_default_saved_message_name_rule;
15259 if test "x$withval" != "xno" ; then
15266 cat >>confdefs.h <<_ACEOF
15267 @%:@define DF_SAVED_MSG_NAME_RULE "$dpv"
15274 @%:@ Check whether --with-default-fcc-rule was given.
15275 if test "${with_default_fcc_rule+set}" = set; then :
15276 withval=$with_default_fcc_rule;
15277 if test "x$withval" != "xno" ; then
15284 cat >>confdefs.h <<_ACEOF
15285 @%:@define DF_FCC_RULE "$dpv"
15292 @%:@ Check whether --with-default-standard-printer was given.
15293 if test "${with_default_standard_printer+set}" = set; then :
15294 withval=$with_default_standard_printer;
15295 if test "x$withval" != "xno" ; then
15302 cat >>confdefs.h <<_ACEOF
15303 @%:@define DF_STANDARD_PRINTER "$dpv"
15308 dpv=attached-to-ansi
15310 @%:@ Check whether --with-default-ansi-printer was given.
15311 if test "${with_default_ansi_printer+set}" = set; then :
15312 withval=$with_default_ansi_printer;
15313 if test "x$withval" != "xno" ; then
15320 cat >>confdefs.h <<_ACEOF
15321 @%:@define ANSI_PRINTER "$dpv"
15328 @%:@ Check whether --with-default-addressbook was given.
15329 if test "${with_default_addressbook+set}" = set; then :
15330 withval=$with_default_addressbook;
15331 if test "x$withval" != "xno" ; then
15338 cat >>confdefs.h <<_ACEOF
15339 @%:@define DF_ADDRESSBOOK "$dpv"
15344 dpv="Local Support"
15346 @%:@ Check whether --with-default-local-fullname was given.
15347 if test "${with_default_local_fullname+set}" = set; then :
15348 withval=$with_default_local_fullname;
15349 if test "x$withval" != "xno" ; then
15356 cat >>confdefs.h <<_ACEOF
15357 @%:@define DF_LOCAL_FULLNAME "$dpv"
15364 @%:@ Check whether --with-default-local-address was given.
15365 if test "${with_default_local_address+set}" = set; then :
15366 withval=$with_default_local_address;
15367 if test "x$withval" != "xno" ; then
15374 cat >>confdefs.h <<_ACEOF
15375 @%:@define DF_LOCAL_ADDRESS "$dpv"
15382 @%:@ Check whether --with-default-keyboard-lock-count was given.
15383 if test "${with_default_keyboard_lock_count+set}" = set; then :
15384 withval=$with_default_keyboard_lock_count;
15385 if test "x$withval" != "xno" ; then
15392 cat >>confdefs.h <<_ACEOF
15393 @%:@define DF_KBLOCK_PASSWD_COUNT "$dpv"
15400 @%:@ Check whether --with-default-remote-addressbook-history was given.
15401 if test "${with_default_remote_addressbook_history+set}" = set; then :
15402 withval=$with_default_remote_addressbook_history;
15403 if test "x$withval" != "xno" ; then
15410 cat >>confdefs.h <<_ACEOF
15411 @%:@define DF_REMOTE_ABOOK_HISTORY "$dpv"
15416 dpv=.alpine-smime/public
15418 @%:@ Check whether --with-smime-public-cert-directory was given.
15419 if test "${with_smime_public_cert_directory+set}" = set; then :
15420 withval=$with_smime_public_cert_directory;
15421 if test "x$withval" != "xno" ; then
15428 cat >>confdefs.h <<_ACEOF
15429 @%:@define DF_PUBLICCERT_DIR "$dpv"
15434 dpv=.alpine-smime/private
15436 @%:@ Check whether --with-smime-private-key-directory was given.
15437 if test "${with_smime_private_key_directory+set}" = set; then :
15438 withval=$with_smime_private_key_directory;
15439 if test "x$withval" != "xno" ; then
15446 cat >>confdefs.h <<_ACEOF
15447 @%:@define DF_PRIVATEKEY_DIR "$dpv"
15452 dpv=.alpine-smime/ca
15454 @%:@ Check whether --with-smime-cacert-directory was given.
15455 if test "${with_smime_cacert_directory+set}" = set; then :
15456 withval=$with_smime_cacert_directory;
15457 if test "x$withval" != "xno" ; then
15464 cat >>confdefs.h <<_ACEOF
15465 @%:@define DF_CACERT_DIR "$dpv"
15472 @%:@ Check whether --with-default-printer was given.
15473 if test "${with_default_printer+set}" = set; then :
15474 withval=$with_default_printer;
15475 if test "x$withval" != "xno" ; then
15482 cat >>confdefs.h <<_ACEOF
15483 @%:@define DF_DEFAULT_PRINTER $dpv
15489 @%:@ Check whether --with-passfile was given.
15490 if test "${with_passfile+set}" = set; then :
15491 withval=$with_passfile;
15498 alpine_PASSFILE=$withval
15506 @%:@ Check whether --with-local-password-cache was given.
15507 if test "${with_local_password_cache+set}" = set; then :
15508 withval=$with_local_password_cache;
15509 alpine_os_credential_cache=$withval
15515 @%:@ Check whether --with-local-password-cache-method was given.
15516 if test "${with_local_password_cache_method+set}" = set; then :
15517 withval=$with_local_password_cache_method;
15518 alpine_os_credential_cache_method=$withval
15523 if test -n "$alpine_PASSFILE" ; then
15524 case $alpine_os_credential_cache in
15528 alpine_os_credential_cache="no"
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
15530 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
15534 cat >>confdefs.h <<_ACEOF
15535 @%:@define PASSFILE "$alpine_PASSFILE"
15541 @%:@ Check whether --with-default-sshpath was given.
15542 if test "${with_default_sshpath+set}" = set; then :
15543 withval=$with_default_sshpath;
15551 cat >>confdefs.h <<_ACEOF
15552 @%:@define DF_SSHPATH "$withval"
15562 @%:@ Check whether --with-default-sshcmd was given.
15563 if test "${with_default_sshcmd+set}" = set; then :
15564 withval=$with_default_sshcmd;
15572 cat >>confdefs.h <<_ACEOF
15573 @%:@define DF_SSHCMD "$withval"
15583 @%:@ Check whether --with-ssl was given.
15584 if test "${with_ssl+set}" = set; then :
15585 withval=$with_ssl; with_ssl=$withval
15589 if test "x$with_ssl" = "xno" ; then
15590 alpine_SSLTYPE="none"
15594 if test -f /etc/fedora-release -o -f /etc/redhat-release -o -f /etc/redhat_version ; then
15595 alpine_SSLTYPE="nopwd"
15596 if test -d /etc/pki/tls ; then
15597 alpine_SSLDIR="/etc/pki/tls"
15599 alpine_SSLDIR="/usr/share/ssl"
15601 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15602 alpine_SSLKEYS="$alpine_SSLDIR/private"
15603 alpine_SSLINCLUDE="/usr/include/openssl"
15604 alpine_SSLLIB="/usr/lib"
15605 elif test -f /etc/mandrake-release ; then
15606 alpine_SSLDIR="/usr/lib/ssl"
15607 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15608 alpine_SSLKEYS="$alpine_SSLDIR/private"
15609 alpine_SSLINCLUDE="/usr/include/openssl"
15610 alpine_SSLLIB="/usr/lib"
15611 elif test -f /etc/SuSE-release ; then
15612 alpine_SSLTYPE="nopwd"
15613 alpine_SSLDIR="/etc/ssl"
15614 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15615 alpine_SSLKEYS="$alpine_SSLDIR/private"
15616 alpine_SSLINCLUDE="/usr/include/openssl"
15617 alpine_SSLLIB="/usr/lib"
15618 elif test -d /etc/osso-af-init ; then
15619 alpine_SSLTYPE="nopwd"
15620 alpine_SSLDIR="/usr"
15621 alpine_SSLCERTS="/usr/share/certs"
15622 alpine_SSLINCLUDE="/usr/include/openssl"
15623 alpine_SSLLIB="/usr/lib"
15624 elif test -f /etc/debian_release -o -f /etc/debian_version ; then
15625 if test ! -d /etc/osso-af-init ; then
15626 alpine_SSLDIR="/etc/ssl"
15627 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15628 alpine_SSLKEYS="$alpine_SSLDIR/private"
15629 alpine_SSLINCLUDE="/usr/include/openssl"
15630 alpine_SSLLIB="/usr/lib"
15633 alpine_SSLTYPE="nopwd"
15634 alpine_SSLDIR="/usr"
15635 alpine_SSLCERTS="/etc/ssl/certs"
15639 alpine_SSLTYPE="nopwd"
15640 if test -d /usr/local/Cellar/openssl ; then
15641 alpine_SSLVERSION=""
15642 if test -x /usr/local/bin/openssl ; then
15643 alpine_SSLVERSION="`/usr/local/bin/openssl version | ${AWK} '{ printf $2 }'`"
15645 alpine_TEST="`${LS} /usr/local/Cellar/openssl`"
15646 for dir in ${alpine_TEST} ; do
15647 if test -d "/usr/local/Cellar/openssl/${alpine_TEST}" ; then
15648 if test -z "$alpine_SSLVERSION" -o test "/usr/local/Cellar/openssl/${alpine_TEST}" -nt "/usr/local/Cellar/openssl/${alpine_SSLVERSION}" ; then
15649 alpine_SSLVERSION="${alpine_TEST}"
15654 if test -z "${alpine_SSLVERSION}" ; then
15655 as_fn_error $? "Did not find suitable SSL version, use --with-ssl-dir to specify one" "$LINENO" 5
15657 alpine_SSLDIR="/usr/local/Cellar/openssl/$alpine_SSLVERSION"
15658 alpine_SSLINCLUDE="$alpine_SSLDIR/include"
15659 alpine_SSLLIB="$alpine_SSLDIR/lib"
15660 alpine_SSLCERTS="/usr/local/etc/openssl/certs"
15661 alpine_SSLKEYS="/usr/local/etc/openssl/private"
15663 elif test -d /opt/local/etc/openssl ; then
15664 alpine_SSLDIR="/opt/local"
15665 alpine_SSLINCLUDE="$alpine_SSLDIR/include"
15666 alpine_SSLLIB="$alpine_SSLDIR/lib"
15667 alpine_SSLCERTS="/opt/local/etc/openssl/certs"
15668 alpine_SSLKEYS="/opt/local/etc/openssl/private"
15669 elif test -d /System/Library/OpenSSL ; then
15670 alpine_SSLDIR="/System/Library/OpenSSL"
15671 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15672 alpine_SSLKEYS="$alpine_SSLDIR/private"
15673 alpine_SSLLIB="/usr/lib"
15674 alpine_SSLINCLUDE="/usr/include/openssl"
15678 alpine_SSLDIR="/etc/openssl"
15679 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15680 alpine_SSLKEYS="$alpine_SSLDIR/private"
15681 alpine_SSLINCLUDE="/usr/include/openssl"
15682 alpine_SSLLIB="/usr/lib"
15685 alpine_SSLDIR="/etc/openssl"
15686 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15687 alpine_SSLKEYS="$alpine_SSLDIR/private"
15688 alpine_SSLINCLUDE="/usr/include/openssl"
15689 alpine_SSLLIB="/usr/lib"
15692 alpine_SSLTYPE="nopwd"
15693 alpine_SSLDIR="/usr"
15694 alpine_SSLCERTS="/etc/ssl/certs"
15697 alpine_SSLDIR="/etc/ssl"
15698 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15699 alpine_SSLKEYS="$alpine_SSLDIR/private"
15700 alpine_SSLINCLUDE="/usr/include/openssl"
15701 alpine_SSLLIB="/usr/lib"
15704 alpine_SSLDIR="/etc/ssl"
15705 alpine_SSLINCLUDE="/usr/include/openssl"
15706 alpine_SSLLIB="/usr/lib"
15707 alpine_SSLCERTS="/etc/ssl"
15708 alpine_SSLKEYS="/etc/ssl/private"
15711 alpine_SSLDIR="/usr/ssl"
15712 alpine_SSLCERTS="$alpine_SSLDIR/certs"
15713 alpine_SSLKEYS="$alpine_SSLDIR/certs"
15714 alpine_SSLINCLUDE="/usr/include/openssl"
15715 alpine_SSLLIB="/usr/lib"
15717 *-sco-sysv* | *-sysv*UnixWare | *-sysv*OpenUNIX)
15718 alpine_SSLTYPE="sco.nopwd"
15719 alpine_SSLDIR="/usr/local/ssl"
15722 if test -d /usr/sfw/include/openssl ; then
15723 alpine_SSLDIR="/usr/sfw"
15724 elif test -d /opt/csw/include/openssl ; then
15725 alpine_SSLDIR="/opt/csw"
15726 if test -d /opt/csw/ssl/certs ; then
15727 alpine_SSLCERTS="/opt/csw/ssl/certs"
15730 if test -z "$alpine_SSLCERTS" -a -d /etc/certs ; then
15731 alpine_SSLCERTS="/etc/certs"
15735 alpine_SSLTYPE="nopwd"
15736 alpine_SSLDIR="/usr/local/ssl"
15741 @%:@ Check whether --with-ssl-dir was given.
15742 if test "${with_ssl_dir+set}" = set; then :
15743 withval=$with_ssl_dir;
15744 if test "x$withval" != "xno" ; then
15745 alpine_SSLDIR=$withval
15746 alpine_SSLINCLUDE=$alpine_SSLDIR/include
15747 alpine_SSLLIB=$alpine_SSLDIR/lib
15754 @%:@ Check whether --with-ssl-certs-dir was given.
15755 if test "${with_ssl_certs_dir+set}" = set; then :
15756 withval=$with_ssl_certs_dir;
15757 if test "x$withval" != "xno" ; then
15758 alpine_SSLCERTS=$withval
15765 @%:@ Check whether --with-ssl-include-dir was given.
15766 if test "${with_ssl_include_dir+set}" = set; then :
15767 withval=$with_ssl_include_dir;
15768 if test "x$withval" != "xno" ; then
15769 alpine_SSLINCLUDE=$withval
15776 @%:@ Check whether --with-ssl-lib-dir was given.
15777 if test "${with_ssl_lib_dir+set}" = set; then :
15778 withval=$with_ssl_lib_dir;
15779 if test "x$withval" != "xno" ; then
15780 alpine_SSLLIB=$withval
15785 if test -n "$alpine_SSLINCLUDE" ; then
15786 CPPFLAGS="-I$alpine_SSLINCLUDE $CPPFLAGS"
15787 elif test -n "$alpine_SSLDIR" ; then
15788 CPPFLAGS="-I${alpine_SSLDIR}/include $CPPFLAGS"
15790 if test -n "$alpine_SSLLIB" ; then
15791 LDFLAGS="-L$alpine_SSLLIB $LDFLAGS"
15792 elif test -n "$alpine_SSLDIR" ; then
15793 LDFLAGS="-L${alpine_SSLDIR}/lib $LDFLAGS"
15798 @%:@ Check whether --with-krb5 was given.
15799 if test "${with_krb5+set}" = set; then :
15800 withval=$with_krb5; with_krb5=$withval
15804 if test "x$with_krb5" = "xno" ; then
15805 alpine_GSSTYPE="none"
15810 @%:@ Check whether --with-krb5-dir was given.
15811 if test "${with_krb5_dir+set}" = set; then :
15812 withval=$with_krb5_dir;
15813 if test "x$withval" != "xno" ; then
15814 CPPFLAGS="$CPPFLAGS -I${withval}/include"
15815 LDFLAGS="$LDFLAGS -L${withval}/lib"
15822 @%:@ Check whether --with-krb5-include-dir was given.
15823 if test "${with_krb5_include_dir+set}" = set; then :
15824 withval=$with_krb5_include_dir;
15825 if test "x$withval" != "xno" ; then
15826 CPPFLAGS="$CPPFLAGS -I$withval"
15833 @%:@ Check whether --with-krb5-lib-dir was given.
15834 if test "${with_krb5_lib_dir+set}" = set; then :
15835 withval=$with_krb5_lib_dir;
15836 if test "x$withval" != "xno" ; then
15837 LDFLAGS="$LDFLAGS -L$withval"
15845 @%:@ Check whether --with-ldap was given.
15846 if test "${with_ldap+set}" = set; then :
15847 withval=$with_ldap; with_ldap=$withval
15851 if test "x$with_ldap" = "xno" ; then
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
15854 $as_echo "$as_me: Excluding LDAP Support" >&6;}
15857 alpine_with_ldap=yes
15859 @%:@ Check whether --with-ldap-dir was given.
15860 if test "${with_ldap_dir+set}" = set; then :
15861 withval=$with_ldap_dir;
15862 if test "x$withval" != "xno" ; then
15863 CPPFLAGS="$CPPFLAGS -I${withval}/include"
15864 LDFLAGS="$LDFLAGS -L${withval}/lib"
15871 @%:@ Check whether --with-ldap-include-dir was given.
15872 if test "${with_ldap_include_dir+set}" = set; then :
15873 withval=$with_ldap_include_dir;
15874 if test "x$withval" != "xno" ; then
15875 CPPFLAGS="$CPPFLAGS -I$withval"
15882 @%:@ Check whether --with-ldap-lib-dir was given.
15883 if test "${with_ldap_lib_dir+set}" = set; then :
15884 withval=$with_ldap_lib_dir;
15885 if test "x$withval" != "xno" ; then
15886 LDFLAGS="$LDFLAGS -L$withval"
15894 @%:@ Check whether --with-smime was given.
15895 if test "${with_smime+set}" = set; then :
15896 withval=$with_smime; with_smime=$withval
15901 @%:@ Check whether --with-tcl was given.
15902 if test "${with_tcl+set}" = set; then :
15903 withval=$with_tcl; with_tcl=$withval
15907 if test "x$with_tcl" = "xno" ; then
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
15910 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
15913 @%:@ Check whether --with-tcl-lib was given.
15914 if test "${with_tcl_lib+set}" = set; then :
15915 withval=$with_tcl_lib;
15916 if test "x$withval" != "xno" ; then
15917 alpine_TCLLIB=$withval
15923 @%:@ Check whether --with-tcl-include was given.
15924 if test "${with_tcl_include+set}" = set; then :
15925 withval=$with_tcl_include;
15926 if test "x$withval" != "xno" ; then
15927 CPPFLAGS="$CPPFLAGS -I$withval"
15928 alpine_TCLINC=$withval
15936 @%:@ Check whether --with-supplied-regex was given.
15937 if test "${with_supplied_regex+set}" = set; then :
15938 withval=$with_supplied_regex; alpine_REGEX=$withval
15943 @%:@ Check whether --with-pthread was given.
15944 if test "${with_pthread+set}" = set; then :
15945 withval=$with_pthread; with_pthread=$withval
15950 @%:@ Check whether --with-system-mail-directory was given.
15951 if test "${with_system_mail_directory+set}" = set; then :
15952 withval=$with_system_mail_directory;
15953 if test "x$withval" != "xno" ; then
15954 alpine_with_local_maildir="$withval"
15961 @%:@ Check whether --with-c-client-target was given.
15962 if test "${with_c_client_target+set}" = set; then :
15963 withval=$with_c_client_target;
15964 if test "x$withval" != "xno" ;then
15965 alpine_with_c_client_target="$withval"
15975 *-linux-gnu*|*-k*bsd*-gnu*)
15976 alpine_path_delim="/"
15977 alpine_mode_readonly="(0600)"
15978 if test -f /etc/fedora-release ; then
15981 if test -d /etc/pki/tls ; then
15982 alpine_c_client_target="lfd"
15984 alpine_c_client_target="lrh"
15986 elif test -f /etc/mandrake-release ; then
15988 alpine_c_client_target="lmd"
15990 elif test -f /etc/redhat-release -o -f /etc/redhat_version ; then
15993 if test -d /etc/pki/tls ; then
15994 alpine_c_client_target="lr5"
15996 alpine_c_client_target="lrh"
15998 elif test -f /etc/debian_release -o -f /etc/debian_version ; then
15999 if test -d /etc/osso-af-init ; then
16001 alpine_c_client_target="ln8"
16004 alpine_c_client_target="ldb"
16007 elif test -f /etc/SuSE-release ; then
16009 alpine_c_client_target="lsu"
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16014 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16015 if ${ac_cv_lib_pam_pam_start+:} false; then :
16016 $as_echo_n "(cached) " >&6
16018 ac_check_lib_save_LIBS=$LIBS
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16023 /* Override any GCC internal prototype to avoid an error.
16024 Use char because int might match the return type of a GCC
16025 builtin and then its argument prototype would still apply. */
16033 return pam_start ();
16038 if ac_fn_c_try_link "$LINENO"; then :
16039 ac_cv_lib_pam_pam_start=yes
16041 ac_cv_lib_pam_pam_start=no
16043 rm -f core conftest.err conftest.$ac_objext \
16044 conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_lib_save_LIBS
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16048 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16049 if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
16051 alpine_c_client_target="lnp"
16056 if test -f /etc/shadow ; then
16057 alpine_c_client_target="slx"
16059 alpine_c_client_target="lnx"
16068 alpine_path_delim="/"
16069 alpine_mode_readonly="(0600)"
16070 LIBS="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
16071 AM_CFLAGS="$AM_CFLAGS -Dbsd"
16073 $as_echo "@%:@define OSX_TARGET 1" >>confdefs.h
16075 case "$alpine_os_credential_cache" in
16080 $as_echo "@%:@define APPLEKEYCHAIN 1" >>confdefs.h
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16085 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16086 if ${ac_cv_lib_pam_pam_start+:} false; then :
16087 $as_echo_n "(cached) " >&6
16089 ac_check_lib_save_LIBS=$LIBS
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16094 /* Override any GCC internal prototype to avoid an error.
16095 Use char because int might match the return type of a GCC
16096 builtin and then its argument prototype would still apply. */
16104 return pam_start ();
16109 if ac_fn_c_try_link "$LINENO"; then :
16110 ac_cv_lib_pam_pam_start=yes
16112 ac_cv_lib_pam_pam_start=no
16114 rm -f core conftest.err conftest.$ac_objext \
16115 conftest$ac_exeext conftest.$ac_ext
16116 LIBS=$ac_check_lib_save_LIBS
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16119 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16120 if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
16122 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
16126 alpine_c_client_target="oxs"
16129 ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
16130 if test "x$ac_cv_header_pam_pam_appl_h" = xyes; then :
16133 alpine_c_client_target="oxp"
16138 alpine_pam_none_reason="header files not found"
16150 alpine_c_client_target="osx"
16156 if test x$GCC = "xyes" ; then
16158 alpine_c_client_target="gso"
16161 alpine_c_client_target="soc"
16163 $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
16166 alpine_path_delim="/"
16167 alpine_mode_readonly="(0600)"
16171 alpine_path_delim="/"
16172 alpine_mode_readonly="(0600)"
16173 alpine_c_client_target="s40"
16176 if test x$GCC = "xyes" ; then
16178 alpine_c_client_target="go5"
16181 alpine_c_client_target="sc5"
16183 alpine_path_delim="/"
16184 alpine_mode_readonly="(0600)"
16188 alpine_path_delim="/"
16189 alpine_mode_readonly="(0600)"
16190 alpine_c_client_target="nx3"
16194 alpine_path_delim="/"
16195 alpine_mode_readonly="(0600)"
16196 alpine_c_client_target="neb"
16200 alpine_path_delim="/"
16201 alpine_mode_readonly="(0600)"
16202 alpine_c_client_target="neb"
16206 alpine_path_delim="/"
16207 alpine_mode_readonly="(0600)"
16208 alpine_c_client_target="bsi"
16212 alpine_path_delim="/"
16213 alpine_mode_readonly="(0600)"
16214 alpine_c_client_target="bsf"
16215 LIBS="$LIBS $LIBINTL"
16219 alpine_path_delim="/"
16220 alpine_mode_readonly="(0600)"
16221 alpine_c_client_target="bso"
16222 LIBS="$LIBS $LIBINTL"
16226 alpine_path_delim="/"
16227 alpine_mode_readonly="(0600)"
16228 alpine_c_client_target="a52"
16232 alpine_path_delim="/"
16233 alpine_mode_readonly="(0600)"
16234 alpine_c_client_target="a41"
16238 alpine_path_delim="/"
16239 alpine_mode_readonly="(0600)"
16240 alpine_c_client_target="a32"
16242 *-*UNIX_SV | *-*-sysv5UnixWare7* | *-*OpenUNIX*)
16244 alpine_path_delim="/"
16245 alpine_mode_readonly="(0600)"
16246 alpine_c_client_target="uw2"
16250 alpine_path_delim="/"
16251 alpine_mode_readonly="(0600)"
16252 alpine_c_client_target="osf"
16256 alpine_path_delim="/"
16257 alpine_mode_readonly="(S_IREAD | S_IWRITE)"
16258 alpine_c_client_target="cyg"
16259 LIBS="$LIBS $LIBINTL"
16261 windows* | *-*-pw32*)
16263 alpine_path_delim="\\"
16264 alpine_mode_readonly="(S_IREAD | S_IWRITE)"
16265 alpine_c_client_target="wnt"
16267 $as_echo "@%:@define _WINDOWS 1" >>confdefs.h
16271 as_fn_error $? "Unrecognized system: $host" "$LINENO" 5
16276 @%:@ Check whether --with-ipv6 was given.
16277 if test "${with_ipv6+set}" = set; then :
16278 withval=$with_ipv6; with_ipv6=$withval
16282 if test "x$with_ipv6" = "xno" ; then
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
16284 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
16285 c_client_specials="${c_client_specials}IP6=4 "
16286 c_client_ip6="true"
16288 c_client_ip6="touch imap/ip6"
16293 if test x$enable_dmalloc = "xyes" ; then
16294 if test "x$with_pthread" = "xyes" ; then
16295 dmalloc_lib=dmallocth
16297 dmalloc_lib=dmalloc
16300 as_ac_Lib=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
16302 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
16303 if eval \${$as_ac_Lib+:} false; then :
16304 $as_echo_n "(cached) " >&6
16306 ac_check_lib_save_LIBS=$LIBS
16307 LIBS="-l$dmalloc_lib $LIBS"
16308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h. */
16311 /* Override any GCC internal prototype to avoid an error.
16312 Use char because int might match the return type of a GCC
16313 builtin and then its argument prototype would still apply. */
16317 char dmalloc_shutdown ();
16321 return dmalloc_shutdown ();
16326 if ac_fn_c_try_link "$LINENO"; then :
16327 eval "$as_ac_Lib=yes"
16329 eval "$as_ac_Lib=no"
16331 rm -f core conftest.err conftest.$ac_objext \
16332 conftest$ac_exeext conftest.$ac_ext
16333 LIBS=$ac_check_lib_save_LIBS
16335 eval ac_res=\$$as_ac_Lib
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16337 $as_echo "$ac_res" >&6; }
16338 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16339 cat >>confdefs.h <<_ACEOF
16340 @%:@define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
16343 LIBS="-l$dmalloc_lib $LIBS"
16347 as_fn_error but -ldmalloc not found "$dmalloc_lib requested" "$LINENO" 5
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
16354 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
16355 if ${ac_cv_lib_tinfo_setupterm+:} false; then :
16356 $as_echo_n "(cached) " >&6
16358 ac_check_lib_save_LIBS=$LIBS
16359 LIBS="-ltinfo $LIBS"
16360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16363 /* Override any GCC internal prototype to avoid an error.
16364 Use char because int might match the return type of a GCC
16365 builtin and then its argument prototype would still apply. */
16373 return setupterm ();
16378 if ac_fn_c_try_link "$LINENO"; then :
16379 ac_cv_lib_tinfo_setupterm=yes
16381 ac_cv_lib_tinfo_setupterm=no
16383 rm -f core conftest.err conftest.$ac_objext \
16384 conftest$ac_exeext conftest.$ac_ext
16385 LIBS=$ac_check_lib_save_LIBS
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
16388 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
16389 if test "x$ac_cv_lib_tinfo_setupterm" = xyes; then :
16391 alpine_termdata=info
16392 LIBS="$LIBS -ltinfo"
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
16397 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
16398 if ${ac_cv_lib_ncurses_setupterm+:} false; then :
16399 $as_echo_n "(cached) " >&6
16401 ac_check_lib_save_LIBS=$LIBS
16402 LIBS="-lncurses $LIBS"
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h. */
16406 /* Override any GCC internal prototype to avoid an error.
16407 Use char because int might match the return type of a GCC
16408 builtin and then its argument prototype would still apply. */
16416 return setupterm ();
16421 if ac_fn_c_try_link "$LINENO"; then :
16422 ac_cv_lib_ncurses_setupterm=yes
16424 ac_cv_lib_ncurses_setupterm=no
16426 rm -f core conftest.err conftest.$ac_objext \
16427 conftest$ac_exeext conftest.$ac_ext
16428 LIBS=$ac_check_lib_save_LIBS
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
16431 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
16432 if test "x$ac_cv_lib_ncurses_setupterm" = xyes; then :
16434 alpine_termdata=info
16435 LIBS="$LIBS -lncurses"
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
16440 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
16441 if ${ac_cv_lib_curses_setupterm+:} false; then :
16442 $as_echo_n "(cached) " >&6
16444 ac_check_lib_save_LIBS=$LIBS
16445 LIBS="-lcurses $LIBS"
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16449 /* Override any GCC internal prototype to avoid an error.
16450 Use char because int might match the return type of a GCC
16451 builtin and then its argument prototype would still apply. */
16459 return setupterm ();
16464 if ac_fn_c_try_link "$LINENO"; then :
16465 ac_cv_lib_curses_setupterm=yes
16467 ac_cv_lib_curses_setupterm=no
16469 rm -f core conftest.err conftest.$ac_objext \
16470 conftest$ac_exeext conftest.$ac_ext
16471 LIBS=$ac_check_lib_save_LIBS
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
16474 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
16475 if test "x$ac_cv_lib_curses_setupterm" = xyes; then :
16477 alpine_termdata=info
16478 LIBS="$LIBS -lcurses"
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
16483 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
16484 if ${ac_cv_lib_termlib_tgetent+:} false; then :
16485 $as_echo_n "(cached) " >&6
16487 ac_check_lib_save_LIBS=$LIBS
16488 LIBS="-ltermlib $LIBS"
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h. */
16492 /* Override any GCC internal prototype to avoid an error.
16493 Use char because int might match the return type of a GCC
16494 builtin and then its argument prototype would still apply. */
16507 if ac_fn_c_try_link "$LINENO"; then :
16508 ac_cv_lib_termlib_tgetent=yes
16510 ac_cv_lib_termlib_tgetent=no
16512 rm -f core conftest.err conftest.$ac_objext \
16513 conftest$ac_exeext conftest.$ac_ext
16514 LIBS=$ac_check_lib_save_LIBS
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
16517 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
16518 if test "x$ac_cv_lib_termlib_tgetent" = xyes; then :
16520 alpine_termdata=cap
16521 LIBS="$LIBS -ltermlib"
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
16526 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
16527 if ${ac_cv_lib_termcap_tgetent+:} false; then :
16528 $as_echo_n "(cached) " >&6
16530 ac_check_lib_save_LIBS=$LIBS
16531 LIBS="-ltermcap $LIBS"
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16535 /* Override any GCC internal prototype to avoid an error.
16536 Use char because int might match the return type of a GCC
16537 builtin and then its argument prototype would still apply. */
16550 if ac_fn_c_try_link "$LINENO"; then :
16551 ac_cv_lib_termcap_tgetent=yes
16553 ac_cv_lib_termcap_tgetent=no
16555 rm -f core conftest.err conftest.$ac_objext \
16556 conftest$ac_exeext conftest.$ac_ext
16557 LIBS=$ac_check_lib_save_LIBS
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
16560 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
16561 if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
16563 alpine_termdata=cap
16564 LIBS="$LIBS -ltermcap"
16568 as_fn_error $? "Terminfo/termcap not found" "$LINENO" 5
16584 case $alpine_termdata in
16587 $as_echo "@%:@define HAS_TERMINFO 1" >>confdefs.h
16592 $as_echo "@%:@define HAS_TERMCAP 1" >>confdefs.h
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16598 $as_echo_n "checking for library containing dlopen... " >&6; }
16599 if ${ac_cv_search_dlopen+:} false; then :
16600 $as_echo_n "(cached) " >&6
16602 ac_func_search_save_LIBS=$LIBS
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16621 for ac_lib in '' dl dld; do
16622 if test -z "$ac_lib"; then
16623 ac_res="none required"
16626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16628 if ac_fn_c_try_link "$LINENO"; then :
16629 ac_cv_search_dlopen=$ac_res
16631 rm -f core conftest.err conftest.$ac_objext \
16633 if ${ac_cv_search_dlopen+:} false; then :
16637 if ${ac_cv_search_dlopen+:} false; then :
16640 ac_cv_search_dlopen=no
16642 rm conftest.$ac_ext
16643 LIBS=$ac_func_search_save_LIBS
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16646 $as_echo "$ac_cv_search_dlopen" >&6; }
16647 ac_res=$ac_cv_search_dlopen
16648 if test "$ac_res" != no; then :
16649 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16655 if test "x$alpine_DL" = "xnone" ; then
16656 as_fn_error $? "No library containing dlopen found" "$LINENO" 5
16660 if test "x$alpine_SSLTYPE" != "xnone" ; then
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
16662 $as_echo_n "checking for library containing SSLeay... " >&6; }
16663 if ${ac_cv_search_SSLeay+:} false; then :
16664 $as_echo_n "(cached) " >&6
16666 ac_func_search_save_LIBS=$LIBS
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h. */
16670 /* Override any GCC internal prototype to avoid an error.
16671 Use char because int might match the return type of a GCC
16672 builtin and then its argument prototype would still apply. */
16685 for ac_lib in '' crypto; do
16686 if test -z "$ac_lib"; then
16687 ac_res="none required"
16690 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16692 if ac_fn_c_try_link "$LINENO"; then :
16693 ac_cv_search_SSLeay=$ac_res
16695 rm -f core conftest.err conftest.$ac_objext \
16697 if ${ac_cv_search_SSLeay+:} false; then :
16701 if ${ac_cv_search_SSLeay+:} false; then :
16704 ac_cv_search_SSLeay=no
16706 rm conftest.$ac_ext
16707 LIBS=$ac_func_search_save_LIBS
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
16710 $as_echo "$ac_cv_search_SSLeay" >&6; }
16711 ac_res=$ac_cv_search_SSLeay
16712 if test "$ac_res" != no; then :
16713 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16716 alpine_CRYPTO="none"
16719 if test "x$alpine_CRYPTO" = "xnone" ; then
16720 as_fn_error $? "crypto library NOT found" "$LINENO" 5
16725 if test "x$alpine_SSLTYPE" != "xnone" ; then
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
16727 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
16728 if ${ac_cv_search_SSL_library_init+:} false; then :
16729 $as_echo_n "(cached) " >&6
16731 ac_func_search_save_LIBS=$LIBS
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16735 /* Override any GCC internal prototype to avoid an error.
16736 Use char because int might match the return type of a GCC
16737 builtin and then its argument prototype would still apply. */
16741 char SSL_library_init ();
16745 return SSL_library_init ();
16750 for ac_lib in '' ssl; do
16751 if test -z "$ac_lib"; then
16752 ac_res="none required"
16755 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 ac_cv_search_SSL_library_init=$ac_res
16760 rm -f core conftest.err conftest.$ac_objext \
16762 if ${ac_cv_search_SSL_library_init+:} false; then :
16766 if ${ac_cv_search_SSL_library_init+:} false; then :
16769 ac_cv_search_SSL_library_init=no
16771 rm conftest.$ac_ext
16772 LIBS=$ac_func_search_save_LIBS
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
16775 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
16776 ac_res=$ac_cv_search_SSL_library_init
16777 if test "$ac_res" != no; then :
16778 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16781 alpine_SSLTYPE="none"
16785 if test "x$alpine_SSLTYPE" = "xnone" ; then
16786 as_fn_error $? "No library containing SSL_library_init found in your path" "$LINENO" 5
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
16791 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
16792 if test "$cross_compiling" = yes; then :
16793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16795 as_fn_error $? "cannot run test program while cross compiling
16796 See \`config.log' for more details" "$LINENO" 5; }
16798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16802 #include <stdlib.h>
16803 #include <openssl/ssl.h>
16806 if (OPENSSL_VERSION_NUMBER >= 0x1000003f)
16813 if ac_fn_c_try_run "$LINENO"; then :
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16815 $as_echo "yes" >&6; }
16817 alpine_SSLTYPE="none"
16819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16820 conftest.$ac_objext conftest.beam conftest.$ac_ext
16824 if test "x$alpine_SSLTYPE" = "xnone" ; then
16825 as_fn_error $? "Install openssl version >= 1.0.0c" "$LINENO" 5
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
16829 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
16830 if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16831 $as_echo_n "(cached) " >&6
16833 ac_func_search_save_LIBS=$LIBS
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16837 /* Override any GCC internal prototype to avoid an error.
16838 Use char because int might match the return type of a GCC
16839 builtin and then its argument prototype would still apply. */
16843 char TLSv1_2_client_method ();
16847 return TLSv1_2_client_method ();
16852 for ac_lib in '' ssl; do
16853 if test -z "$ac_lib"; then
16854 ac_res="none required"
16857 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 ac_cv_search_TLSv1_2_client_method=$ac_res
16862 rm -f core conftest.err conftest.$ac_objext \
16864 if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16868 if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16871 ac_cv_search_TLSv1_2_client_method=no
16873 rm conftest.$ac_ext
16874 LIBS=$ac_func_search_save_LIBS
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
16877 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
16878 ac_res=$ac_cv_search_TLSv1_2_client_method
16879 if test "$ac_res" != no; then :
16880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16881 alpine_c_client_cflags="$alpine_c_client_cflags -DTLSV1_2"
16883 $as_echo "@%:@define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
16890 if test "$alpine_with_ldap" = "yes" ; then
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
16893 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
16894 if ${ac_cv_lib_lber_ber_alloc+:} false; then :
16895 $as_echo_n "(cached) " >&6
16897 ac_check_lib_save_LIBS=$LIBS
16898 LIBS="-llber $LIBS"
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16902 /* Override any GCC internal prototype to avoid an error.
16903 Use char because int might match the return type of a GCC
16904 builtin and then its argument prototype would still apply. */
16912 return ber_alloc ();
16917 if ac_fn_c_try_link "$LINENO"; then :
16918 ac_cv_lib_lber_ber_alloc=yes
16920 ac_cv_lib_lber_ber_alloc=no
16922 rm -f core conftest.err conftest.$ac_objext \
16923 conftest$ac_exeext conftest.$ac_ext
16924 LIBS=$ac_check_lib_save_LIBS
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
16927 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
16928 if test "x$ac_cv_lib_lber_ber_alloc" = xyes; then :
16930 LIBS="$LIBS -llber"
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_init" >&5
16935 $as_echo_n "checking for library containing ldap_init... " >&6; }
16936 if ${ac_cv_search_ldap_init+:} false; then :
16937 $as_echo_n "(cached) " >&6
16939 ac_func_search_save_LIBS=$LIBS
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16943 /* Override any GCC internal prototype to avoid an error.
16944 Use char because int might match the return type of a GCC
16945 builtin and then its argument prototype would still apply. */
16953 return ldap_init ();
16958 for ac_lib in '' ldap; do
16959 if test -z "$ac_lib"; then
16960 ac_res="none required"
16963 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16965 if ac_fn_c_try_link "$LINENO"; then :
16966 ac_cv_search_ldap_init=$ac_res
16968 rm -f core conftest.err conftest.$ac_objext \
16970 if ${ac_cv_search_ldap_init+:} false; then :
16974 if ${ac_cv_search_ldap_init+:} false; then :
16977 ac_cv_search_ldap_init=no
16979 rm conftest.$ac_ext
16980 LIBS=$ac_func_search_save_LIBS
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
16983 $as_echo "$ac_cv_search_ldap_init" >&6; }
16984 ac_res=$ac_cv_search_ldap_init
16985 if test "$ac_res" != no; then :
16986 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16988 alpine_has_ldap=yes
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
16993 $as_echo_n "checking for library containing ldap_open... " >&6; }
16994 if ${ac_cv_search_ldap_open+:} false; then :
16995 $as_echo_n "(cached) " >&6
16997 ac_func_search_save_LIBS=$LIBS
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17001 /* Override any GCC internal prototype to avoid an error.
17002 Use char because int might match the return type of a GCC
17003 builtin and then its argument prototype would still apply. */
17011 return ldap_open ();
17016 for ac_lib in '' ldap; do
17017 if test -z "$ac_lib"; then
17018 ac_res="none required"
17021 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17023 if ac_fn_c_try_link "$LINENO"; then :
17024 ac_cv_search_ldap_open=$ac_res
17026 rm -f core conftest.err conftest.$ac_objext \
17028 if ${ac_cv_search_ldap_open+:} false; then :
17032 if ${ac_cv_search_ldap_open+:} false; then :
17035 ac_cv_search_ldap_open=no
17037 rm conftest.$ac_ext
17038 LIBS=$ac_func_search_save_LIBS
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
17041 $as_echo "$ac_cv_search_ldap_open" >&6; }
17042 ac_res=$ac_cv_search_ldap_open
17043 if test "$ac_res" != no; then :
17044 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17046 alpine_has_ldap=yes
17054 if test "$alpine_has_ldap" = "yes" ; then
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: Including LDAP Support" >&5
17056 $as_echo "$as_me: Including LDAP Support" >&6;}
17058 $as_echo "@%:@define ENABLE_LDAP /**/" >>confdefs.h
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should define LDAP_DEPRECATED" >&5
17062 $as_echo_n "checking if we should define LDAP_DEPRECATED... " >&6; }
17063 if test "$cross_compiling" = yes; then :
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
17066 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17074 #include <stdlib.h>
17078 if (LDAP_VENDOR_VERSION >= 20300)
17085 if ac_fn_c_try_run "$LINENO"; then :
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17088 $as_echo "yes" >&6; }
17090 $as_echo "@%:@define LDAP_DEPRECATED 1" >>confdefs.h
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17097 $as_echo "no" >&6; }
17100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17101 conftest.$ac_objext conftest.beam conftest.$ac_ext
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: Cannot find LDAP functions! Excluding LDAP support." >&5
17107 $as_echo "$as_me: Cannot find LDAP functions! Excluding LDAP support." >&6;}
17111 if test "x$alpine_PAM" != "xnone" ; then
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
17113 $as_echo_n "checking for library containing pam_start... " >&6; }
17114 if ${ac_cv_search_pam_start+:} false; then :
17115 $as_echo_n "(cached) " >&6
17117 ac_func_search_save_LIBS=$LIBS
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17121 /* Override any GCC internal prototype to avoid an error.
17122 Use char because int might match the return type of a GCC
17123 builtin and then its argument prototype would still apply. */
17131 return pam_start ();
17136 for ac_lib in '' pam; do
17137 if test -z "$ac_lib"; then
17138 ac_res="none required"
17141 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17143 if ac_fn_c_try_link "$LINENO"; then :
17144 ac_cv_search_pam_start=$ac_res
17146 rm -f core conftest.err conftest.$ac_objext \
17148 if ${ac_cv_search_pam_start+:} false; then :
17152 if ${ac_cv_search_pam_start+:} false; then :
17155 ac_cv_search_pam_start=no
17157 rm conftest.$ac_ext
17158 LIBS=$ac_func_search_save_LIBS
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
17161 $as_echo "$ac_cv_search_pam_start" >&6; }
17162 ac_res=$ac_cv_search_pam_start
17163 if test "$ac_res" != no; then :
17164 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17167 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17168 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
17173 ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17174 if test "x$ac_cv_header_pam_pam_appl_h" = xyes; then :
17177 if test "x$alpine_c_client_target" != "xoxp" ; then
17179 alpine_pam_none_reason="header files not in security/ directory"
17185 alpine_pam_none_reason="header files not found"
17198 alpine_pam_none_reason="library files not found"
17202 if test -n "$alpine_pam_none_reason" ; then
17203 as_fn_error $? "No PAM support: $alpine_pam_none_reason" "$LINENO" 5
17208 if test "x$alpine_GSSTYPE" != "xnone" ; then
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
17210 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
17211 if ${ac_cv_search_gss_init_sec_context+:} false; then :
17212 $as_echo_n "(cached) " >&6
17214 ac_func_search_save_LIBS=$LIBS
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17218 /* Override any GCC internal prototype to avoid an error.
17219 Use char because int might match the return type of a GCC
17220 builtin and then its argument prototype would still apply. */
17224 char gss_init_sec_context ();
17228 return gss_init_sec_context ();
17233 for ac_lib in '' gss gssapi gssapi_krb5; do
17234 if test -z "$ac_lib"; then
17235 ac_res="none required"
17238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17240 if ac_fn_c_try_link "$LINENO"; then :
17241 ac_cv_search_gss_init_sec_context=$ac_res
17243 rm -f core conftest.err conftest.$ac_objext \
17245 if ${ac_cv_search_gss_init_sec_context+:} false; then :
17249 if ${ac_cv_search_gss_init_sec_context+:} false; then :
17252 ac_cv_search_gss_init_sec_context=no
17254 rm conftest.$ac_ext
17255 LIBS=$ac_func_search_save_LIBS
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
17258 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
17259 ac_res=$ac_cv_search_gss_init_sec_context
17260 if test "$ac_res" != no; then :
17261 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17263 LIBS="$LIBS -lkrb5"
17264 ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
17265 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes; then :
17269 if test ! -d /usr/kerberos/include ; then
17270 alpine_GSSTYPE="none"
17271 alpine_gss_none_reason="header files not found"
17280 alpine_GSSTYPE="none"
17281 alpine_gss_none_reason="libraries not found"
17285 if test -n "$alpine_gss_none_reason" ; then
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
17287 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
17291 if test -n "$WEB_BUILD" ; then
17292 TCL_VERSIONS_DOT="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
17293 TCL_VERSIONS_NODOT="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
17294 TCL_VERSIONS="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
17296 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
17297 if ${ac_cv_search_Tcl_Eval+:} false; then :
17298 $as_echo_n "(cached) " >&6
17300 ac_func_search_save_LIBS=$LIBS
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17304 /* Override any GCC internal prototype to avoid an error.
17305 Use char because int might match the return type of a GCC
17306 builtin and then its argument prototype would still apply. */
17314 return Tcl_Eval ();
17319 for ac_lib in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
17320 if test -z "$ac_lib"; then
17321 ac_res="none required"
17324 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17326 if ac_fn_c_try_link "$LINENO"; then :
17327 ac_cv_search_Tcl_Eval=$ac_res
17329 rm -f core conftest.err conftest.$ac_objext \
17331 if ${ac_cv_search_Tcl_Eval+:} false; then :
17335 if ${ac_cv_search_Tcl_Eval+:} false; then :
17338 ac_cv_search_Tcl_Eval=no
17340 rm conftest.$ac_ext
17341 LIBS=$ac_func_search_save_LIBS
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
17344 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
17345 ac_res=$ac_cv_search_Tcl_Eval
17346 if test "$ac_res" != no; then :
17347 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17356 if test -n "$alpine_TCLINC" ; then
17357 as_ac_Header=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
17358 ac_fn_c_check_header_mongrel "$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
17359 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17368 if test -z "$WEB_BUILD" ; then
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
17370 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
17373 ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
17374 if test "x$ac_cv_header_tcl_h" = xyes; then :
17378 for base in /usr /usr/local ; do
17379 for dir in ${TCL_VERSIONS} ; do
17380 as_ac_File=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
17382 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
17383 if eval \${$as_ac_File+:} false; then :
17384 $as_echo_n "(cached) " >&6
17386 test "$cross_compiling" = yes &&
17387 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17388 if test -r "$base/include/$dir/tcl.h"; then
17389 eval "$as_ac_File=yes"
17391 eval "$as_ac_File=no"
17394 eval ac_res=\$$as_ac_File
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17396 $as_echo "$ac_res" >&6; }
17397 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
17403 if test "$found" = "yes" ; then
17404 CPPFLAGS="$CPPFLAGS -I$base/include/$dir"
17408 if test "$found" = "yes" ; then
17412 if test "$found" != "yes" ; then
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
17415 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
17424 if test "x$alpine_REGEX" != "xyes" ; then
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
17426 $as_echo_n "checking for library containing regcomp... " >&6; }
17427 if ${ac_cv_search_regcomp+:} false; then :
17428 $as_echo_n "(cached) " >&6
17430 ac_func_search_save_LIBS=$LIBS
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17434 /* Override any GCC internal prototype to avoid an error.
17435 Use char because int might match the return type of a GCC
17436 builtin and then its argument prototype would still apply. */
17449 for ac_lib in '' posix regexp regex re; do
17450 if test -z "$ac_lib"; then
17451 ac_res="none required"
17454 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17456 if ac_fn_c_try_link "$LINENO"; then :
17457 ac_cv_search_regcomp=$ac_res
17459 rm -f core conftest.err conftest.$ac_objext \
17461 if ${ac_cv_search_regcomp+:} false; then :
17465 if ${ac_cv_search_regcomp+:} false; then :
17468 ac_cv_search_regcomp=no
17470 rm conftest.$ac_ext
17471 LIBS=$ac_func_search_save_LIBS
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
17474 $as_echo "$ac_cv_search_regcomp" >&6; }
17475 ac_res=$ac_cv_search_regcomp
17476 if test "$ac_res" != no; then :
17477 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17481 if test x$alpine_REGEX = "xno" ; then
17482 as_fn_error $? "Unable to find system regex library" "$LINENO" 5
17490 if test "x$alpine_REGEX" != "xyes" ; then
17491 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
17492 if test "x$ac_cv_header_regex_h" = xyes; then :
17496 if test x$alpine_REGEX = "xno" ; then
17497 as_fn_error $? "Unable to find system regex include file" "$LINENO" 5
17507 $as_echo "@%:@define HAVE_REGEX_H 1" >>confdefs.h
17509 if test "x$alpine_REGEX" = "xyes" ; then
17510 CPPFLAGS="$CPPFLAGS -I${top_builddir}/regex"
17511 LDFLAGS="$LDFLAGS -L${top_builddir}/regex -lregex"
17513 REGEX_MAKEFILE="$REGEX_BUILD/Makefile"
17516 if test "x$with_pthread" != "xno" ; then
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
17518 $as_echo_n "checking for pthread support... " >&6; }
17523 ac_cpp='$CPP $CPPFLAGS'
17524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17530 # We used to check for pthread.h first, but this fails if pthread.h
17531 # requires special compiler flags (e.g. on True64 or Sequent).
17532 # It gets checked for in the link test anyway.
17534 # First of all, check if the user has set any of the PTHREAD_LIBS,
17535 # etcetera environment variables, and if threads linking works using
17537 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17538 save_CFLAGS="$CFLAGS"
17539 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17541 LIBS="$PTHREAD_LIBS $LIBS"
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17543 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17553 char pthread_join ();
17557 return pthread_join ();
17562 if ac_fn_c_try_link "$LINENO"; then :
17565 rm -f core conftest.err conftest.$ac_objext \
17566 conftest$ac_exeext conftest.$ac_ext
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17568 $as_echo "$acx_pthread_ok" >&6; }
17569 if test x"$acx_pthread_ok" = xno; then
17574 CFLAGS="$save_CFLAGS"
17577 # We must check for the threads library under a number of different
17578 # names; the ordering is very important because some systems
17579 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17580 # libraries is broken (non-POSIX).
17582 # Create a list of thread flags to try. Items starting with a "-" are
17583 # C compiler flags, and other items are library names, except for "none"
17584 # which indicates that we try without any flags at all, and "pthread-config"
17585 # which is a program returning the flags for the Pth emulation library.
17587 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17589 # The ordering *is* (sometimes) important. Some notes on the
17590 # individual items follow:
17592 # pthreads: AIX (must check this before -lpthread)
17593 # none: in case threads are in libc; should be tried before -Kthread and
17594 # other compiler flags to prevent continual compiler warnings
17595 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17596 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17597 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17598 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17599 # -pthreads: Solaris/gcc
17600 # -mthreads: Mingw32/gcc, Lynx/gcc
17601 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17602 # doesn't hurt to check since this sometimes defines pthreads too;
17603 # also defines -D_REENTRANT)
17604 # ... -mt is also the pthreads flag for HP/aCC
17605 # pthread: Linux, etcetera
17606 # --thread-safe: KAI C++
17607 # pthread-config: use pthread-config program (for GNU Pth library)
17609 case "${host_cpu}-${host_os}" in
17612 # On Solaris (at least, for some versions), libc contains stubbed
17613 # (non-functional) versions of the pthreads routines, so link-based
17614 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17615 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17616 # a function called by this macro, so we could check for that, but
17617 # who knows whether they'll stub that too in a future libc.) So,
17618 # we'll just look for -pthreads and -lpthread first:
17620 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17624 if test x"$acx_pthread_ok" = xno; then
17625 for flag in $acx_pthread_flags; do
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17630 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17635 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17636 PTHREAD_CFLAGS="$flag"
17640 # Extract the first word of "pthread-config", so it can be a program name with args.
17641 set dummy pthread-config; ac_word=$2
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17643 $as_echo_n "checking for $ac_word... " >&6; }
17644 if ${ac_cv_prog_acx_pthread_config+:} false; then :
17645 $as_echo_n "(cached) " >&6
17647 if test -n "$acx_pthread_config"; then
17648 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17651 for as_dir in $PATH
17654 test -z "$as_dir" && as_dir=.
17655 for ac_exec_ext in '' $ac_executable_extensions; do
17656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17657 ac_cv_prog_acx_pthread_config="yes"
17658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17665 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17668 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17669 if test -n "$acx_pthread_config"; then
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17671 $as_echo "$acx_pthread_config" >&6; }
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17674 $as_echo "no" >&6; }
17678 if test x"$acx_pthread_config" = xno; then continue; fi
17679 PTHREAD_CFLAGS="`pthread-config --cflags`"
17680 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17685 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17686 PTHREAD_LIBS="-l$flag"
17691 save_CFLAGS="$CFLAGS"
17692 LIBS="$PTHREAD_LIBS $LIBS"
17693 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17695 # Check for various functions. We must include pthread.h,
17696 # since some functions may be macros. (On the Sequent, we
17697 # need a special flag -Kthread to make this header compile.)
17698 # We check for pthread_join because it is in -lpthread on IRIX
17699 # while pthread_create is in libc. We check for pthread_attr_init
17700 # due to DEC craziness with -lpthreads. We check for
17701 # pthread_cleanup_push because it is one of the few pthread
17702 # functions on Solaris that doesn't have a non-functional libc stub.
17703 # We try pthread_create on general principles.
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 #include <pthread.h>
17710 pthread_t th; pthread_join(th, 0);
17711 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17712 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17717 if ac_fn_c_try_link "$LINENO"; then :
17720 rm -f core conftest.err conftest.$ac_objext \
17721 conftest$ac_exeext conftest.$ac_ext
17724 CFLAGS="$save_CFLAGS"
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17727 $as_echo "$acx_pthread_ok" >&6; }
17728 if test "x$acx_pthread_ok" = xyes; then
17737 # Various other checks:
17738 if test "x$acx_pthread_ok" = xyes; then
17740 LIBS="$PTHREAD_LIBS $LIBS"
17741 save_CFLAGS="$CFLAGS"
17742 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17744 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17746 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17748 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 #include <pthread.h>
17755 int attr=$attr; return attr;
17760 if ac_fn_c_try_link "$LINENO"; then :
17761 attr_name=$attr; break
17763 rm -f core conftest.err conftest.$ac_objext \
17764 conftest$ac_exeext conftest.$ac_ext
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17767 $as_echo "$attr_name" >&6; }
17768 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17770 cat >>confdefs.h <<_ACEOF
17771 @%:@define PTHREAD_CREATE_JOINABLE $attr_name
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17777 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17779 case "${host_cpu}-${host_os}" in
17780 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
17781 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17784 $as_echo "${flag}" >&6; }
17785 if test "x$flag" != xno; then
17786 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17790 CFLAGS="$save_CFLAGS"
17792 # More AIX lossage: must compile with xlc_r or cc_r
17793 if test x"$GCC" != xyes; then
17794 for ac_prog in xlc_r cc_r
17796 # Extract the first word of "$ac_prog", so it can be a program name with args.
17797 set dummy $ac_prog; ac_word=$2
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17799 $as_echo_n "checking for $ac_word... " >&6; }
17800 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
17801 $as_echo_n "(cached) " >&6
17803 if test -n "$PTHREAD_CC"; then
17804 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17807 for as_dir in $PATH
17810 test -z "$as_dir" && as_dir=.
17811 for ac_exec_ext in '' $ac_executable_extensions; do
17812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17813 ac_cv_prog_PTHREAD_CC="$ac_prog"
17814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17823 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17824 if test -n "$PTHREAD_CC"; then
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17826 $as_echo "$PTHREAD_CC" >&6; }
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17829 $as_echo "no" >&6; }
17833 test -n "$PTHREAD_CC" && break
17835 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17848 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17849 if test x"$acx_pthread_ok" = xyes; then
17851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17852 $as_echo "yes" >&6; }
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
17856 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
17857 AM_CFLAGS="$AM_CFLAGS -pthread"
17860 LIBS="$PTHREAD_LIBS $LIBS"
17861 AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS"
17864 $as_echo "@%:@define HAVE_PTHREAD 1" >>confdefs.h
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17872 $as_echo "no" >&6; }
17876 ac_cpp='$CPP $CPPFLAGS'
17877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
17884 $as_echo_n "checking for library containing nanosleep... " >&6; }
17885 if ${ac_cv_search_nanosleep+:} false; then :
17886 $as_echo_n "(cached) " >&6
17888 ac_func_search_save_LIBS=$LIBS
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17892 /* Override any GCC internal prototype to avoid an error.
17893 Use char because int might match the return type of a GCC
17894 builtin and then its argument prototype would still apply. */
17902 return nanosleep ();
17907 for ac_lib in '' rt posix4; do
17908 if test -z "$ac_lib"; then
17909 ac_res="none required"
17912 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17914 if ac_fn_c_try_link "$LINENO"; then :
17915 ac_cv_search_nanosleep=$ac_res
17917 rm -f core conftest.err conftest.$ac_objext \
17919 if ${ac_cv_search_nanosleep+:} false; then :
17923 if ${ac_cv_search_nanosleep+:} false; then :
17926 ac_cv_search_nanosleep=no
17928 rm conftest.$ac_ext
17929 LIBS=$ac_func_search_save_LIBS
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
17932 $as_echo "$ac_cv_search_nanosleep" >&6; }
17933 ac_res=$ac_cv_search_nanosleep
17934 if test "$ac_res" != no; then :
17935 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17938 $as_echo "@%:@define HAVE_NANOSLEEP 1" >>confdefs.h
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17949 $as_echo_n "checking for ANSI C header files... " >&6; }
17950 if ${ac_cv_header_stdc+:} false; then :
17951 $as_echo_n "(cached) " >&6
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17955 #include <stdlib.h>
17956 #include <stdarg.h>
17957 #include <string.h>
17968 if ac_fn_c_try_compile "$LINENO"; then :
17969 ac_cv_header_stdc=yes
17971 ac_cv_header_stdc=no
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 if test $ac_cv_header_stdc = yes; then
17976 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17979 #include <string.h>
17982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17983 $EGREP "memchr" >/dev/null 2>&1; then :
17986 ac_cv_header_stdc=no
17992 if test $ac_cv_header_stdc = yes; then
17993 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996 #include <stdlib.h>
17999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18000 $EGREP "free" >/dev/null 2>&1; then :
18003 ac_cv_header_stdc=no
18009 if test $ac_cv_header_stdc = yes; then
18010 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18011 if test "$cross_compiling" = yes; then :
18014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015 /* end confdefs.h. */
18017 #include <stdlib.h>
18018 #if ((' ' & 0x0FF) == 0x020)
18019 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18020 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18022 # define ISLOWER(c) \
18023 (('a' <= (c) && (c) <= 'i') \
18024 || ('j' <= (c) && (c) <= 'r') \
18025 || ('s' <= (c) && (c) <= 'z'))
18026 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18029 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18034 for (i = 0; i < 256; i++)
18035 if (XOR (islower (i), ISLOWER (i))
18036 || toupper (i) != TOUPPER (i))
18041 if ac_fn_c_try_run "$LINENO"; then :
18044 ac_cv_header_stdc=no
18046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18047 conftest.$ac_objext conftest.beam conftest.$ac_ext
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18053 $as_echo "$ac_cv_header_stdc" >&6; }
18054 if test $ac_cv_header_stdc = yes; then
18056 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
18060 ac_header_dirent=no
18061 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
18062 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
18064 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
18065 if eval \${$as_ac_Header+:} false; then :
18066 $as_echo_n "(cached) " >&6
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18070 #include <sys/types.h>
18082 if ac_fn_c_try_compile "$LINENO"; then :
18083 eval "$as_ac_Header=yes"
18085 eval "$as_ac_Header=no"
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18089 eval ac_res=\$$as_ac_Header
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18091 $as_echo "$ac_res" >&6; }
18092 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18093 cat >>confdefs.h <<_ACEOF
18094 @%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18097 ac_header_dirent=$ac_hdr; break
18101 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18102 if test $ac_header_dirent = dirent.h; then
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18104 $as_echo_n "checking for library containing opendir... " >&6; }
18105 if ${ac_cv_search_opendir+:} false; then :
18106 $as_echo_n "(cached) " >&6
18108 ac_func_search_save_LIBS=$LIBS
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h. */
18112 /* Override any GCC internal prototype to avoid an error.
18113 Use char because int might match the return type of a GCC
18114 builtin and then its argument prototype would still apply. */
18127 for ac_lib in '' dir; do
18128 if test -z "$ac_lib"; then
18129 ac_res="none required"
18132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18134 if ac_fn_c_try_link "$LINENO"; then :
18135 ac_cv_search_opendir=$ac_res
18137 rm -f core conftest.err conftest.$ac_objext \
18139 if ${ac_cv_search_opendir+:} false; then :
18143 if ${ac_cv_search_opendir+:} false; then :
18146 ac_cv_search_opendir=no
18148 rm conftest.$ac_ext
18149 LIBS=$ac_func_search_save_LIBS
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18152 $as_echo "$ac_cv_search_opendir" >&6; }
18153 ac_res=$ac_cv_search_opendir
18154 if test "$ac_res" != no; then :
18155 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18161 $as_echo_n "checking for library containing opendir... " >&6; }
18162 if ${ac_cv_search_opendir+:} false; then :
18163 $as_echo_n "(cached) " >&6
18165 ac_func_search_save_LIBS=$LIBS
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18169 /* Override any GCC internal prototype to avoid an error.
18170 Use char because int might match the return type of a GCC
18171 builtin and then its argument prototype would still apply. */
18184 for ac_lib in '' x; do
18185 if test -z "$ac_lib"; then
18186 ac_res="none required"
18189 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18191 if ac_fn_c_try_link "$LINENO"; then :
18192 ac_cv_search_opendir=$ac_res
18194 rm -f core conftest.err conftest.$ac_objext \
18196 if ${ac_cv_search_opendir+:} false; then :
18200 if ${ac_cv_search_opendir+:} false; then :
18203 ac_cv_search_opendir=no
18205 rm conftest.$ac_ext
18206 LIBS=$ac_func_search_save_LIBS
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18209 $as_echo "$ac_cv_search_opendir" >&6; }
18210 ac_res=$ac_cv_search_opendir
18211 if test "$ac_res" != no; then :
18212 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
18219 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
18220 if ${ac_cv_header_stat_broken+:} false; then :
18221 $as_echo_n "(cached) " >&6
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18225 #include <sys/types.h>
18226 #include <sys/stat.h>
18228 #if defined S_ISBLK && defined S_IFDIR
18229 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
18232 #if defined S_ISBLK && defined S_IFCHR
18233 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
18236 #if defined S_ISLNK && defined S_IFREG
18237 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
18240 #if defined S_ISSOCK && defined S_IFREG
18241 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
18245 if ac_fn_c_try_compile "$LINENO"; then :
18246 ac_cv_header_stat_broken=no
18248 ac_cv_header_stat_broken=yes
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
18253 $as_echo "$ac_cv_header_stat_broken" >&6; }
18254 if test $ac_cv_header_stat_broken = yes; then
18256 $as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
18261 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
18262 if ${ac_cv_header_sys_wait_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 <sys/wait.h>
18269 #ifndef WEXITSTATUS
18270 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
18273 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
18281 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
18286 if ac_fn_c_try_compile "$LINENO"; then :
18287 ac_cv_header_sys_wait_h=yes
18289 ac_cv_header_sys_wait_h=no
18291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
18294 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
18295 if test $ac_cv_header_sys_wait_h = yes; then
18297 $as_echo "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be Included" >&5
18302 $as_echo_n "checking whether time.h and sys/time.h may both be Included... " >&6; }
18303 if ${ac_cv_header_time+:} false; then :
18304 $as_echo_n "(cached) " >&6
18306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h. */
18308 #include <sys/types.h>
18309 #include <sys/time.h>
18315 if ((struct tm *) 0)
18321 if ac_fn_c_try_compile "$LINENO"; then :
18322 ac_cv_header_time=yes
18324 ac_cv_header_time=no
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18329 $as_echo "$ac_cv_header_time" >&6; }
18330 if test $ac_cv_header_time = yes; then
18332 $as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
18337 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
18338 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false; then :
18339 $as_echo_n "(cached) " >&6
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18343 #include <sys/types.h>
18344 #include <termios.h>
18350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18351 $EGREP "yes" >/dev/null 2>&1; then :
18352 ac_cv_sys_tiocgwinsz_in_termios_h=yes
18354 ac_cv_sys_tiocgwinsz_in_termios_h=no
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
18360 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
18362 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
18364 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
18365 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false; then :
18366 $as_echo_n "(cached) " >&6
18368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h. */
18370 #include <sys/types.h>
18371 #include <sys/ioctl.h>
18377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18378 $EGREP "yes" >/dev/null 2>&1; then :
18379 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes
18381 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
18387 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
18389 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
18391 $as_echo "@%:@define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
18397 for ac_header in unistd.h
18399 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
18400 if test "x$ac_cv_header_unistd_h" = xyes; then :
18401 cat >>confdefs.h <<_ACEOF
18402 @%:@define HAVE_UNISTD_H 1
18410 for ac_header in errno.h \
18435 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18436 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18438 cat >>confdefs.h <<_ACEOF
18439 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18447 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
18448 if test "x$ac_cv_header_termios_h" = xyes; then :
18450 $as_echo "@%:@define HAS_TERMIOS 1" >>confdefs.h
18454 ac_fn_c_check_header_mongrel "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
18455 if test "x$ac_cv_header_termio_h" = xyes; then :
18457 $as_echo "@%:@define HAS_TERMIO 1" >>confdefs.h
18461 ac_fn_c_check_header_mongrel "$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
18462 if test "x$ac_cv_header_sgtty_h" = xyes; then :
18464 $as_echo "@%:@define HAS_SGTTY 1" >>confdefs.h
18468 as_fn_error $? "Unable to figure out terminal control method" "$LINENO" 5
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
18485 $as_echo_n "checking return type of signal handlers... " >&6; }
18486 if ${ac_cv_type_signal+:} false; then :
18487 $as_echo_n "(cached) " >&6
18489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18490 /* end confdefs.h. */
18491 #include <sys/types.h>
18492 #include <signal.h>
18497 return *(signal (0, 0)) (0) == 1;
18502 if ac_fn_c_try_compile "$LINENO"; then :
18503 ac_cv_type_signal=int
18505 ac_cv_type_signal=void
18507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
18510 $as_echo "$ac_cv_type_signal" >&6; }
18512 cat >>confdefs.h <<_ACEOF
18513 @%:@define RETSIGTYPE $ac_cv_type_signal
18517 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18518 if test "x$ac_cv_type_size_t" = xyes; then :
18522 cat >>confdefs.h <<_ACEOF
18523 @%:@define size_t unsigned int
18528 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
18529 if test "x$ac_cv_type_mode_t" = xyes; then :
18533 cat >>confdefs.h <<_ACEOF
18534 @%:@define mode_t int
18539 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
18540 if test "x$ac_cv_type_pid_t" = xyes; then :
18544 cat >>confdefs.h <<_ACEOF
18545 @%:@define pid_t int
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
18551 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
18552 if ${ac_cv_type_uid_t+:} false; then :
18553 $as_echo_n "(cached) " >&6
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h. */
18557 #include <sys/types.h>
18560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18561 $EGREP "uid_t" >/dev/null 2>&1; then :
18562 ac_cv_type_uid_t=yes
18564 ac_cv_type_uid_t=no
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
18570 $as_echo "$ac_cv_type_uid_t" >&6; }
18571 if test $ac_cv_type_uid_t = no; then
18573 $as_echo "@%:@define uid_t int" >>confdefs.h
18576 $as_echo "@%:@define gid_t int" >>confdefs.h
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
18581 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
18582 if ${ac_cv_struct_tm+:} false; then :
18583 $as_echo_n "(cached) " >&6
18585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h. */
18587 #include <sys/types.h>
18594 int *p = &tm.tm_sec;
18600 if ac_fn_c_try_compile "$LINENO"; then :
18601 ac_cv_struct_tm=time.h
18603 ac_cv_struct_tm=sys/time.h
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18608 $as_echo "$ac_cv_struct_tm" >&6; }
18609 if test $ac_cv_struct_tm = sys/time.h; then
18611 $as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
18616 ac_fn_c_check_type "$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
18617 if test "x$ac_cv_type_union_wait" = xyes; then :
18619 cat >>confdefs.h <<_ACEOF
18620 @%:@define HAVE_UNION_WAIT 1
18627 for ac_header in stdint.h
18629 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18630 if test "x$ac_cv_header_stdint_h" = xyes; then :
18631 cat >>confdefs.h <<_ACEOF
18632 @%:@define HAVE_STDINT_H 1
18637 for ac_header in inttypes.h
18639 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18640 if test "x$ac_cv_header_inttypes_h" = xyes; then :
18641 cat >>confdefs.h <<_ACEOF
18642 @%:@define HAVE_INTTYPES_H 1
18647 for ac_header in sys/types.h
18649 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18650 if test "x$ac_cv_header_sys_types_h" = xyes; then :
18651 cat >>confdefs.h <<_ACEOF
18652 @%:@define HAVE_SYS_TYPES_H 1
18657 # The cast to long int works around a bug in the HP C Compiler
18658 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18659 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18660 # This bug is HP SR number 8606223364.
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
18662 $as_echo_n "checking size of unsigned short... " >&6; }
18663 if ${ac_cv_sizeof_unsigned_short+:} false; then :
18664 $as_echo_n "(cached) " >&6
18666 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
18669 if test "$ac_cv_type_unsigned_short" = yes; then
18670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18672 as_fn_error 77 "cannot compute sizeof (unsigned short)
18673 See \`config.log' for more details" "$LINENO" 5; }
18675 ac_cv_sizeof_unsigned_short=0
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
18681 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
18685 cat >>confdefs.h <<_ACEOF
18686 @%:@define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
18690 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
18691 uint16="unsigned short"
18693 # The cast to long int works around a bug in the HP C Compiler
18694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18696 # This bug is HP SR number 8606223364.
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18698 $as_echo_n "checking size of unsigned int... " >&6; }
18699 if ${ac_cv_sizeof_unsigned_int+:} false; then :
18700 $as_echo_n "(cached) " >&6
18702 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
18705 if test "$ac_cv_type_unsigned_int" = yes; then
18706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18708 as_fn_error 77 "cannot compute sizeof (unsigned int)
18709 See \`config.log' for more details" "$LINENO" 5; }
18711 ac_cv_sizeof_unsigned_int=0
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18717 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18721 cat >>confdefs.h <<_ACEOF
18722 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18726 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
18727 uint16="unsigned int"
18729 as_fn_error $? "Unable to determine 16 bit integer type" "$LINENO" 5
18748 cat >>confdefs.h <<_ACEOF
18749 @%:@define UINT16 $uint16
18753 for ac_header in stdint.h
18755 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18756 if test "x$ac_cv_header_stdint_h" = xyes; then :
18757 cat >>confdefs.h <<_ACEOF
18758 @%:@define HAVE_STDINT_H 1
18763 for ac_header in inttypes.h
18765 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18766 if test "x$ac_cv_header_inttypes_h" = xyes; then :
18767 cat >>confdefs.h <<_ACEOF
18768 @%:@define HAVE_INTTYPES_H 1
18773 for ac_header in sys/types.h
18775 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18776 if test "x$ac_cv_header_sys_types_h" = xyes; then :
18777 cat >>confdefs.h <<_ACEOF
18778 @%:@define HAVE_SYS_TYPES_H 1
18783 # The cast to long int works around a bug in the HP C Compiler
18784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18786 # This bug is HP SR number 8606223364.
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18788 $as_echo_n "checking size of unsigned int... " >&6; }
18789 if ${ac_cv_sizeof_unsigned_int+:} false; then :
18790 $as_echo_n "(cached) " >&6
18792 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
18795 if test "$ac_cv_type_unsigned_int" = yes; then
18796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18798 as_fn_error 77 "cannot compute sizeof (unsigned int)
18799 See \`config.log' for more details" "$LINENO" 5; }
18801 ac_cv_sizeof_unsigned_int=0
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18807 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18811 cat >>confdefs.h <<_ACEOF
18812 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18816 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
18817 uint32="unsigned int"
18819 # The cast to long int works around a bug in the HP C Compiler
18820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18822 # This bug is HP SR number 8606223364.
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
18824 $as_echo_n "checking size of unsigned long... " >&6; }
18825 if ${ac_cv_sizeof_unsigned_long+:} false; then :
18826 $as_echo_n "(cached) " >&6
18828 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
18831 if test "$ac_cv_type_unsigned_long" = yes; then
18832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18834 as_fn_error 77 "cannot compute sizeof (unsigned long)
18835 See \`config.log' for more details" "$LINENO" 5; }
18837 ac_cv_sizeof_unsigned_long=0
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
18843 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
18847 cat >>confdefs.h <<_ACEOF
18848 @%:@define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
18852 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
18853 uint32="unsigned long"
18855 as_fn_error $? "Unable to determine 32 bit integer type" "$LINENO" 5
18874 cat >>confdefs.h <<_ACEOF
18875 @%:@define UINT32 $uint32
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
18880 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
18881 if ${ac_cv_func_qsort_argtype+:} false; then :
18882 $as_echo_n "(cached) " >&6
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18888 #include "stdlib.h"
18892 extern sortf(const void *, const void *);
18895 const void *b; { return 0; }
18901 qsort(base, 2, sizeof(char *), sortf);
18907 if ac_fn_c_try_compile "$LINENO"; then :
18908 ac_cv_func_qsort_argtype=void
18910 ac_cv_func_qsort_argtype=char
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
18916 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
18918 cat >>confdefs.h <<_ACEOF
18919 @%:@define qsort_t $ac_cv_func_qsort_argtype
18924 for ac_header in sys/select.h sys/socket.h
18926 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18927 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18929 cat >>confdefs.h <<_ACEOF
18930 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18938 $as_echo_n "checking types of arguments for select... " >&6; }
18939 if ${ac_cv_func_select_args+:} false; then :
18940 $as_echo_n "(cached) " >&6
18942 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
18943 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18944 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18947 $ac_includes_default
18948 #ifdef HAVE_SYS_SELECT_H
18949 # include <sys/select.h>
18951 #ifdef HAVE_SYS_SOCKET_H
18952 # include <sys/socket.h>
18958 extern int select ($ac_arg1,
18959 $ac_arg234, $ac_arg234, $ac_arg234,
18965 if ac_fn_c_try_compile "$LINENO"; then :
18966 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972 # Provide a safe default value.
18973 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
18977 $as_echo "$ac_cv_func_select_args" >&6; }
18978 ac_save_IFS=$IFS; IFS=','
18979 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
18983 cat >>confdefs.h <<_ACEOF
18984 @%:@define SELECT_TYPE_ARG1 $1
18988 cat >>confdefs.h <<_ACEOF
18989 @%:@define SELECT_TYPE_ARG234 ($2)
18993 cat >>confdefs.h <<_ACEOF
18994 @%:@define SELECT_TYPE_ARG5 ($3)
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
19001 $as_echo_n "checking for working strcoll... " >&6; }
19002 if ${ac_cv_func_strcoll_works+:} false; then :
19003 $as_echo_n "(cached) " >&6
19005 if test "$cross_compiling" = yes; then :
19006 ac_cv_func_strcoll_works=no
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19010 $ac_includes_default
19014 return (strcoll ("abc", "def") >= 0 ||
19015 strcoll ("ABC", "DEF") >= 0 ||
19016 strcoll ("123", "456") >= 0)
19021 if ac_fn_c_try_run "$LINENO"; then :
19022 ac_cv_func_strcoll_works=yes
19024 ac_cv_func_strcoll_works=no
19026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19027 conftest.$ac_objext conftest.beam conftest.$ac_ext
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
19032 $as_echo "$ac_cv_func_strcoll_works" >&6; }
19033 if test $ac_cv_func_strcoll_works = yes; then
19035 $as_echo "@%:@define HAVE_STRCOLL 1" >>confdefs.h
19041 for ac_header in vfork.h
19043 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
19044 if test "x$ac_cv_header_vfork_h" = xyes; then :
19045 cat >>confdefs.h <<_ACEOF
19046 @%:@define HAVE_VFORK_H 1
19053 for ac_func in fork vfork
19055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19057 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19058 cat >>confdefs.h <<_ACEOF
19059 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19065 if test "x$ac_cv_func_fork" = xyes; then
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
19067 $as_echo_n "checking for working fork... " >&6; }
19068 if ${ac_cv_func_fork_works+:} false; then :
19069 $as_echo_n "(cached) " >&6
19071 if test "$cross_compiling" = yes; then :
19072 ac_cv_func_fork_works=cross
19074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h. */
19076 $ac_includes_default
19081 /* By Ruediger Kuhlmann. */
19082 return fork () < 0;
19088 if ac_fn_c_try_run "$LINENO"; then :
19089 ac_cv_func_fork_works=yes
19091 ac_cv_func_fork_works=no
19093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19094 conftest.$ac_objext conftest.beam conftest.$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
19099 $as_echo "$ac_cv_func_fork_works" >&6; }
19102 ac_cv_func_fork_works=$ac_cv_func_fork
19104 if test "x$ac_cv_func_fork_works" = xcross; then
19106 *-*-amigaos* | *-*-msdosdjgpp*)
19107 # Override, as these systems have only a dummy fork() stub
19108 ac_cv_func_fork_works=no
19111 ac_cv_func_fork_works=yes
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
19115 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
19117 ac_cv_func_vfork_works=$ac_cv_func_vfork
19118 if test "x$ac_cv_func_vfork" = xyes; then
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
19120 $as_echo_n "checking for working vfork... " >&6; }
19121 if ${ac_cv_func_vfork_works+:} false; then :
19122 $as_echo_n "(cached) " >&6
19124 if test "$cross_compiling" = yes; then :
19125 ac_cv_func_vfork_works=cross
19127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19128 /* end confdefs.h. */
19129 /* Thanks to Paul Eggert for this test. */
19130 $ac_includes_default
19131 #include <sys/wait.h>
19132 #ifdef HAVE_VFORK_H
19133 # include <vfork.h>
19135 /* On some sparc systems, changes by the child to local and incoming
19136 argument registers are propagated back to the parent. The compiler
19137 is told about this with #include <vfork.h>, but some compilers
19138 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
19139 static variable whose address is put into a register that is
19140 clobbered by the vfork. */
19143 sparc_address_test (int arg)
19145 sparc_address_test (arg) int arg;
19148 static pid_t child;
19166 pid_t parent = getpid ();
19169 sparc_address_test (0);
19174 /* Here is another test for sparc vfork register problems. This
19175 test uses lots of local variables, at least as many local
19176 variables as main has allocated so far including compiler
19177 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
19178 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
19179 reuse the register of parent for one of the local variables,
19180 since it will think that parent can't possibly be used any more
19181 in this routine. Assigning to the local variable will thus
19182 munge parent in the parent process. */
19184 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19185 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19186 /* Convince the compiler that p..p7 are live; otherwise, it might
19187 use the same hardware register for all 8 local variables. */
19188 if (p != p1 || p != p2 || p != p3 || p != p4
19189 || p != p5 || p != p6 || p != p7)
19192 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19193 from child file descriptors. If the child closes a descriptor
19194 before it execs or exits, this munges the parent's descriptor
19195 as well. Test for this by closing stdout in the child. */
19196 _exit(close(fileno(stdout)) != 0);
19201 while (wait(&status) != child)
19204 /* Was there some problem with vforking? */
19207 /* Did the child fail? (This shouldn't happen.) */
19210 /* Did the vfork/compiler bug occur? */
19211 || parent != getpid()
19213 /* Did the file descriptor bug occur? */
19214 || fstat(fileno(stdout), &st) != 0
19219 if ac_fn_c_try_run "$LINENO"; then :
19220 ac_cv_func_vfork_works=yes
19222 ac_cv_func_vfork_works=no
19224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19225 conftest.$ac_objext conftest.beam conftest.$ac_ext
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
19230 $as_echo "$ac_cv_func_vfork_works" >&6; }
19233 if test "x$ac_cv_func_fork_works" = xcross; then
19234 ac_cv_func_vfork_works=$ac_cv_func_vfork
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19236 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19239 if test "x$ac_cv_func_vfork_works" = xyes; then
19241 $as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
19245 $as_echo "@%:@define vfork fork" >>confdefs.h
19248 if test "x$ac_cv_func_fork_works" = xyes; then
19250 $as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
19254 for ac_func in strchr \
19287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19289 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19290 cat >>confdefs.h <<_ACEOF
19291 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
19299 $as_echo_n "checking for library containing gethostname... " >&6; }
19300 if ${ac_cv_search_gethostname+:} false; then :
19301 $as_echo_n "(cached) " >&6
19303 ac_func_search_save_LIBS=$LIBS
19304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19307 /* Override any GCC internal prototype to avoid an error.
19308 Use char because int might match the return type of a GCC
19309 builtin and then its argument prototype would still apply. */
19313 char gethostname ();
19317 return gethostname ();
19322 for ac_lib in '' nsl; do
19323 if test -z "$ac_lib"; then
19324 ac_res="none required"
19327 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19329 if ac_fn_c_try_link "$LINENO"; then :
19330 ac_cv_search_gethostname=$ac_res
19332 rm -f core conftest.err conftest.$ac_objext \
19334 if ${ac_cv_search_gethostname+:} false; then :
19338 if ${ac_cv_search_gethostname+:} false; then :
19341 ac_cv_search_gethostname=no
19343 rm conftest.$ac_ext
19344 LIBS=$ac_func_search_save_LIBS
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
19347 $as_echo "$ac_cv_search_gethostname" >&6; }
19348 ac_res=$ac_cv_search_gethostname
19349 if test "$ac_res" != no; then :
19350 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
19356 $as_echo_n "checking for library containing socket... " >&6; }
19357 if ${ac_cv_search_socket+:} false; then :
19358 $as_echo_n "(cached) " >&6
19360 ac_func_search_save_LIBS=$LIBS
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19364 /* Override any GCC internal prototype to avoid an error.
19365 Use char because int might match the return type of a GCC
19366 builtin and then its argument prototype would still apply. */
19379 for ac_lib in '' socket; do
19380 if test -z "$ac_lib"; then
19381 ac_res="none required"
19384 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19386 if ac_fn_c_try_link "$LINENO"; then :
19387 ac_cv_search_socket=$ac_res
19389 rm -f core conftest.err conftest.$ac_objext \
19391 if ${ac_cv_search_socket+:} false; then :
19395 if ${ac_cv_search_socket+:} false; then :
19398 ac_cv_search_socket=no
19400 rm conftest.$ac_ext
19401 LIBS=$ac_func_search_save_LIBS
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
19404 $as_echo "$ac_cv_search_socket" >&6; }
19405 ac_res=$ac_cv_search_socket
19406 if test "$ac_res" != no; then :
19407 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
19417 $as_echo_n "checking for library containing bind... " >&6; }
19418 if ${ac_cv_search_bind+:} false; then :
19419 $as_echo_n "(cached) " >&6
19421 ac_func_search_save_LIBS=$LIBS
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h. */
19425 /* Override any GCC internal prototype to avoid an error.
19426 Use char because int might match the return type of a GCC
19427 builtin and then its argument prototype would still apply. */
19440 for ac_lib in '' bind; do
19441 if test -z "$ac_lib"; then
19442 ac_res="none required"
19445 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19447 if ac_fn_c_try_link "$LINENO"; then :
19448 ac_cv_search_bind=$ac_res
19450 rm -f core conftest.err conftest.$ac_objext \
19452 if ${ac_cv_search_bind+:} false; then :
19456 if ${ac_cv_search_bind+:} false; then :
19459 ac_cv_search_bind=no
19461 rm conftest.$ac_ext
19462 LIBS=$ac_func_search_save_LIBS
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
19465 $as_echo "$ac_cv_search_bind" >&6; }
19466 ac_res=$ac_cv_search_bind
19467 if test "$ac_res" != no; then :
19468 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19477 for ac_func in sigaction sigemptyset sigaddset sigprocmask
19479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19482 cat >>confdefs.h <<_ACEOF
19483 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19487 $as_echo "@%:@define POSIX_SIGNALS /**/" >>confdefs.h
19492 for ac_func in sigset sigrelse
19494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19496 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19497 cat >>confdefs.h <<_ACEOF
19498 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19502 $as_echo "@%:@define SYSV_SIGNALS /**/" >>confdefs.h
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
19514 $as_echo_n "checking for library containing syslog... " >&6; }
19515 if ${ac_cv_search_syslog+:} false; then :
19516 $as_echo_n "(cached) " >&6
19518 ac_func_search_save_LIBS=$LIBS
19519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19522 /* Override any GCC internal prototype to avoid an error.
19523 Use char because int might match the return type of a GCC
19524 builtin and then its argument prototype would still apply. */
19537 for ac_lib in '' bsd socket inet; do
19538 if test -z "$ac_lib"; then
19539 ac_res="none required"
19542 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19544 if ac_fn_c_try_link "$LINENO"; then :
19545 ac_cv_search_syslog=$ac_res
19547 rm -f core conftest.err conftest.$ac_objext \
19549 if ${ac_cv_search_syslog+:} false; then :
19553 if ${ac_cv_search_syslog+:} false; then :
19556 ac_cv_search_syslog=no
19558 rm conftest.$ac_ext
19559 LIBS=$ac_func_search_save_LIBS
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
19562 $as_echo "$ac_cv_search_syslog" >&6; }
19563 ac_res=$ac_cv_search_syslog
19564 if test "$ac_res" != no; then :
19565 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19568 $as_echo "@%:@define HAVE_SYSLOG 1" >>confdefs.h
19575 if test -n "$alpine_with_local_maildir" ; then
19576 alpine_local_maildir=$alpine_with_local_maildir
19577 elif test -d /var/spool/mail ; then
19578 alpine_local_maildir="/var/spool/mail"
19579 elif test -d /var/mail ; then
19580 alpine_local_maildir="/var/mail"
19582 alpine_local_maildir="/usr/spool/mail"
19585 if test -n "$alpine_with_c_client_target" ; then
19586 alpine_c_client_target=$alpine_with_c_client_target
19590 cat >>confdefs.h <<_ACEOF
19591 @%:@define SYSTYPE "$systype"
19595 cat >>confdefs.h <<_ACEOF
19596 @%:@define C_FILESEP '$alpine_path_delim'
19600 cat >>confdefs.h <<_ACEOF
19601 @%:@define S_FILESEP "$alpine_path_delim"
19605 cat >>confdefs.h <<_ACEOF
19606 @%:@define MAILDIR "$alpine_local_maildir"
19610 cat >>confdefs.h <<_ACEOF
19611 @%:@define MODE_READONLY $alpine_mode_readonly
19615 C_CLIENT_TARGET=$alpine_c_client_target
19617 C_CLIENT_WITH_IPV6=$c_client_ip6
19619 if test "x$alpine_SSLTYPE" = "xnone" ; then
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
19621 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
19622 c_client_specials="${c_client_specials}SSLTYPE=none "
19625 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
19626 certdir="$alpine_SSLCERTS"
19627 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
19628 certdir="${alpine_SSLDIR}/certs"
19629 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
19630 certdir="${alpine_SSLDIR}/ssl/certs"
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
19633 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
19636 if test "x$with_smime" != "xno" ; then
19637 if test -n "$certdir" ; then
19639 $as_echo "@%:@define SMIME /**/" >>confdefs.h
19642 cat >>confdefs.h <<_ACEOF
19643 @%:@define SMIME_SSLCERTS "$certdir"
19649 if test ! -f ${certdir}/factory.pem ; then
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * SSL file \"${certdir}/factory.pem\" is missing." >&5
19651 $as_echo "$as_me: * * * SSL file \"${certdir}/factory.pem\" is missing." >&6;}
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
19653 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
19655 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
19657 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
19660 if test -z "`ls ${certdir} | $EGREP '^@<:@0-9A-Fa-f@:>@{8}\.@<:@0-9@:>@'`" ; then
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&5
19662 $as_echo "$as_me: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&6;}
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
19664 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
19666 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
19668 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
19671 if test -n "$alpine_SSLINCLUDE" ; then
19672 c_client_specials="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
19675 if test -n "$alpine_SSLLIB" ; then
19676 c_client_specials="${c_client_specials}SSLLIB=$alpine_SSLLIB "
19679 if test -n "$alpine_SSLDIR" ; then
19680 c_client_specials="${c_client_specials}SSLDIR=$alpine_SSLDIR "
19683 if test -n "$alpine_SSLCERTS" ; then
19684 c_client_specials="${c_client_specials}SSLCERTS=$alpine_SSLCERTS "
19687 if test -n "$alpine_SSLKEYS" ; then
19688 c_client_specials="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
19692 if test "x$alpine_GSSTYPE" != "xnone" ; then
19693 c_client_specials="${c_client_specials}EXTRAAUTHENTICATORS=gss "
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
19695 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
19698 if test -n "$CPPFLAGS" ; then
19699 alpine_c_client_cflags="$alpine_c_client_cflags ${CPPFLAGS}"
19701 if test -n "$CFLAGS" ; then
19702 alpine_c_client_cflags="$alpine_c_client_cflags ${CFLAGS}"
19705 if test -n "$alpine_c_client_cflags" ; then
19706 C_CLIENT_CFLAGS=EXTRACFLAGS=\"$alpine_c_client_cflags\"
19710 if test -n "$LDFLAGS" ; then
19711 alpine_c_client_ldflags="$alpine_c_client_ldflags ${LDFLAGS}"
19713 if test -n "$LIBS" ; then
19714 alpine_c_client_ldflags="$alpine_c_client_ldflags ${LIBS}"
19717 if test -n "$alpine_c_client_ldflags" ; then
19718 C_CLIENT_LDFLAGS=EXTRALDFLAGS=\"$alpine_c_client_ldflags\"
19722 if test -n "$alpine_c_client_gccoptlevel" ; then
19723 C_CLIENT_GCCOPTLEVEL=GCCOPTLEVEL=\"$alpine_c_client_gccoptlevel\"
19727 C_CLIENT_SPECIALS=$c_client_specials
19730 if test -z "$WEB_BUILD" ; then
19731 WEB_PUBCOOKIE_BUILD=
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
19733 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
19735 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
19737 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
19738 if test "x$alpine_GSSTYPE" = "xnone" ; then
19739 WEB_PUBCOOKIE_BUILD=
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
19741 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
19742 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
19743 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
19744 elif test -z "$WEB_BINDIR" ; then
19745 WEB_PUBCOOKIE_BUILD=
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
19747 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
19748 as_fn_error $? "* * * --with-pubcookie requires --with-web-bin=PATH.
19749 Please re-run configure with these options:
19750 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
19753 $as_echo "@%:@define PUBCOOKIE 1" >>confdefs.h
19755 WEB_PUBCOOKIE_LIB=../pubcookie/libauthgssproxy.a
19756 WEB_PUBCOOKIE_LINK=gssapi_proxy.l
19772 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"
19774 cat >confcache <<\_ACEOF
19775 # This file is a shell script that caches the results of configure
19776 # tests run on this system so they can be shared between configure
19777 # scripts and configure runs, see configure's option --config-cache.
19778 # It is not useful on other systems. If it contains results you don't
19779 # want to keep, you may remove or edit it.
19781 # config.status only pays attention to the cache file if you give it
19782 # the --recheck option to rerun configure.
19784 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19785 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19786 # following values.
19790 # The following way of writing the cache mishandles newlines in values,
19791 # but we know of no workaround that is simple, portable, and efficient.
19792 # So, we kill variables containing newlines.
19793 # Ultrix sh set writes to stderr and can't be redirected directly,
19794 # and sets the high bit in the cache file unless we assign to the vars.
19796 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19797 eval ac_val=\$$ac_var
19801 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19802 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19805 _ | IFS | as_nl) ;; #(
19806 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19807 *) { eval $ac_var=; unset $ac_var;} ;;
19813 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19814 *${as_nl}ac_space=\ *)
19815 # `set' does not quote correctly, so add quotes: double-quote
19816 # substitution turns \\\\ into \\, and sed turns \\ into \.
19819 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19822 # `set' quotes correctly as required by POSIX, so do not add quotes.
19823 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19832 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19834 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19836 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19837 if test -w "$cache_file"; then
19838 if test "x$cache_file" != "x/dev/null"; then
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19840 $as_echo "$as_me: updating cache $cache_file" >&6;}
19841 if test ! -f "$cache_file" || test -h "$cache_file"; then
19842 cat confcache >"$cache_file"
19844 case $cache_file in #(
19846 mv -f confcache "$cache_file"$$ &&
19847 mv -f "$cache_file"$$ "$cache_file" ;; #(
19849 mv -f confcache "$cache_file" ;;
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19855 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19860 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19861 # Let make expand exec_prefix.
19862 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19864 DEFS=-DHAVE_CONFIG_H
19869 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
19870 # 1. Remove the extension, and $U if already installed.
19871 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19872 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19873 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19874 # will be set to the directory where LIBOBJS objects are built.
19875 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19876 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19878 LIB@&t@OBJS=$ac_libobjs
19880 LTLIBOBJS=$ac_ltlibobjs
19883 if test -n "$EXEEXT"; then
19885 am__EXEEXT_FALSE='#'
19887 am__EXEEXT_TRUE='#'
19891 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19892 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19895 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19896 as_fn_error $? "conditional \"AMDEP\" was never defined.
19897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19899 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19900 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19904 : "${CONFIG_STATUS=./config.status}"
19906 ac_clean_files_save=$ac_clean_files
19907 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19909 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19911 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19913 # Generated by $as_me.
19914 # Run this file to recreate the current configuration.
19915 # Compiler output produced by configure, useful for debugging
19916 # configure, is in config.log if it exists.
19919 ac_cs_recheck=false
19922 SHELL=\${CONFIG_SHELL-$SHELL}
19925 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19926 ## -------------------- ##
19927 ## M4sh Initialization. ##
19928 ## -------------------- ##
19930 # Be more Bourne compatible
19931 DUALCASE=1; export DUALCASE # for MKS sh
19932 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19935 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19936 # is contrary to our usage. Disable this feature.
19937 alias -g '${1+"$@"}'='"$@"'
19938 setopt NO_GLOB_SUBST
19940 case `(set -o) 2>/dev/null` in @%:@(
19942 set -o posix ;; @%:@(
19952 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19953 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19954 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19956 # Prefer a ksh shell builtin over an external printf program on Solaris,
19957 # but without wasting forks for bash or zsh.
19958 if test -z "$BASH_VERSION$ZSH_VERSION" \
19959 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19960 as_echo='print -r --'
19961 as_echo_n='print -rn --'
19962 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19963 as_echo='printf %s\n'
19964 as_echo_n='printf %s'
19966 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19967 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19968 as_echo_n='/usr/ucb/echo -n'
19970 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19971 as_echo_n_body='eval
19975 expr "X$arg" : "X\\(.*\\)$as_nl";
19976 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19978 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19980 export as_echo_n_body
19981 as_echo_n='sh -c $as_echo_n_body as_echo'
19983 export as_echo_body
19984 as_echo='sh -c $as_echo_body as_echo'
19987 # The user is always right.
19988 if test "${PATH_SEPARATOR+set}" != set; then
19990 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19991 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19998 # We need space, tab and new line, in precisely that order. Quoting is
19999 # there to prevent editors from complaining about space-tab.
20000 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20001 # splitting by setting IFS to empty value.)
20004 # Find who we are. Look in the path if we contain no directory separator.
20007 *[\\/]* ) as_myself=$0 ;;
20008 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20009 for as_dir in $PATH
20012 test -z "$as_dir" && as_dir=.
20013 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20019 # We did not find ourselves, most probably we were run as `sh COMMAND'
20020 # in which case we are not to be found in the path.
20021 if test "x$as_myself" = x; then
20024 if test ! -f "$as_myself"; then
20025 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20029 # Unset variables that we do not need and which cause bugs (e.g. in
20030 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20031 # suppresses any "Segmentation fault" message there. '((' could
20032 # trigger a bug in pdksh 5.2.14.
20033 for as_var in BASH_ENV ENV MAIL MAILPATH
20034 do eval test x\${$as_var+set} = xset \
20035 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20048 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20051 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
20052 @%:@ ----------------------------------------
20053 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20054 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20055 @%:@ script with STATUS, using 1 if that was 0.
20058 as_status=$1; test $as_status -eq 0 && as_status=1
20060 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20061 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20063 $as_echo "$as_me: error: $2" >&2
20064 as_fn_exit $as_status
20068 @%:@ as_fn_set_status STATUS
20069 @%:@ -----------------------
20070 @%:@ Set @S|@? to STATUS, without forking.
20071 as_fn_set_status ()
20074 } @%:@ as_fn_set_status
20076 @%:@ as_fn_exit STATUS
20077 @%:@ -----------------
20078 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20082 as_fn_set_status $1
20086 @%:@ as_fn_unset VAR
20087 @%:@ ---------------
20088 @%:@ Portably unset VAR.
20091 { eval $1=; unset $1;}
20093 as_unset=as_fn_unset
20094 @%:@ as_fn_append VAR VALUE
20095 @%:@ ----------------------
20096 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
20097 @%:@ advantage of any shell optimizations that allow amortized linear growth over
20098 @%:@ repeated appends, instead of the typical quadratic growth present in naive
20099 @%:@ implementations.
20100 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20101 eval 'as_fn_append ()
20112 @%:@ as_fn_arith ARG...
20113 @%:@ ------------------
20114 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
20115 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
20116 @%:@ must be portable across @S|@(()) and expr.
20117 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20118 eval 'as_fn_arith ()
20125 as_val=`expr "$@" || test $? -eq 1`
20130 if expr a : '\(a\)' >/dev/null 2>&1 &&
20131 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20137 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20138 as_basename=basename
20143 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20149 as_me=`$as_basename -- "$0" ||
20150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20151 X"$0" : 'X\(//\)$' \| \
20152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20154 sed '/^.*\/\([^/][^/]*\)\/*$/{
20168 # Avoid depending upon Character Ranges.
20169 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20170 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20171 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20172 as_cr_digits='0123456789'
20173 as_cr_alnum=$as_cr_Letters$as_cr_digits
20175 ECHO_C= ECHO_N= ECHO_T=
20176 case `echo -n x` in @%:@(((((
20178 case `echo 'xy\c'` in
20179 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20181 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20188 rm -f conf$$ conf$$.exe conf$$.file
20189 if test -d conf$$.dir; then
20190 rm -f conf$$.dir/conf$$.file
20193 mkdir conf$$.dir 2>/dev/null
20195 if (echo >conf$$.file) 2>/dev/null; then
20196 if ln -s conf$$.file conf$$ 2>/dev/null; then
20198 # ... but there are two gotchas:
20199 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20200 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20201 # In both cases, we have to default to `cp -pR'.
20202 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20204 elif ln conf$$.file conf$$ 2>/dev/null; then
20212 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20213 rmdir conf$$.dir 2>/dev/null
20218 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
20223 -*) as_dir=./$as_dir;;
20225 test -d "$as_dir" || eval $as_mkdir_p || {
20229 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20230 *) as_qdir=$as_dir;;
20232 as_dirs="'$as_qdir' $as_dirs"
20233 as_dir=`$as_dirname -- "$as_dir" ||
20234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20235 X"$as_dir" : 'X\(//\)[^/]' \| \
20236 X"$as_dir" : 'X\(//\)$' \| \
20237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20238 $as_echo X"$as_dir" |
20239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20243 /^X\(\/\/\)[^/].*/{
20256 test -d "$as_dir" && break
20258 test -z "$as_dirs" || eval "mkdir $as_dirs"
20259 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20262 } @%:@ as_fn_mkdir_p
20263 if mkdir -p . 2>/dev/null; then
20264 as_mkdir_p='mkdir -p "$as_dir"'
20266 test -d ./-p && rmdir ./-p
20271 @%:@ as_fn_executable_p FILE
20272 @%:@ -----------------------
20273 @%:@ Test if FILE is an executable regular file.
20274 as_fn_executable_p ()
20276 test -f "$1" && test -x "$1"
20277 } @%:@ as_fn_executable_p
20278 as_test_x='test -x'
20279 as_executable_p=as_fn_executable_p
20281 # Sed expression to map a string onto a valid CPP name.
20282 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20284 # Sed expression to map a string onto a valid variable name.
20285 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20289 ## ----------------------------------- ##
20290 ## Main body of $CONFIG_STATUS script. ##
20291 ## ----------------------------------- ##
20293 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20296 # Save the log message, to keep $0 and so on meaningful, and to
20297 # report actual input values of CONFIG_FILES etc. instead of their
20298 # values after options handling.
20300 This file was extended by alpine $as_me 2.19.2, which was
20301 generated by GNU Autoconf 2.69. Invocation command line was
20303 CONFIG_FILES = $CONFIG_FILES
20304 CONFIG_HEADERS = $CONFIG_HEADERS
20305 CONFIG_LINKS = $CONFIG_LINKS
20306 CONFIG_COMMANDS = $CONFIG_COMMANDS
20309 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20314 case $ac_config_files in *"
20315 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20318 case $ac_config_headers in *"
20319 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20324 # Files that config.status was made for.
20325 config_files="$ac_config_files"
20326 config_headers="$ac_config_headers"
20327 config_commands="$ac_config_commands"
20331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20333 \`$as_me' instantiates files and other configuration actions
20334 from templates according to the current configuration. Unless the files
20335 and actions are specified as TAGs, all are instantiated by default.
20337 Usage: $0 [OPTION]... [TAG]...
20339 -h, --help print this help, then exit
20340 -V, --version print version number and configuration settings, then exit
20341 --config print configuration, then exit
20342 -q, --quiet, --silent
20343 do not print progress messages
20344 -d, --debug don't remove temporary files
20345 --recheck update $as_me by reconfiguring in the same conditions
20346 --file=FILE[:TEMPLATE]
20347 instantiate the configuration file FILE
20348 --header=FILE[:TEMPLATE]
20349 instantiate the configuration header FILE
20351 Configuration files:
20354 Configuration headers:
20357 Configuration commands:
20360 Report bugs to <chappa@washington.edu>."
20363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20364 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20366 alpine config.status 2.19.2
20367 configured by $0, generated by GNU Autoconf 2.69,
20368 with options \\"\$ac_cs_config\\"
20370 Copyright (C) 2012 Free Software Foundation, Inc.
20371 This config.status script is free software; the Free Software Foundation
20372 gives unlimited permission to copy, distribute and modify it."
20379 test -n "\$AWK" || AWK=awk
20382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20383 # The default lists apply if the user does not specify any file.
20389 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20390 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20394 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20406 # Handling of the options.
20407 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20409 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20410 $as_echo "$ac_cs_version"; exit ;;
20411 --config | --confi | --conf | --con | --co | --c )
20412 $as_echo "$ac_cs_config"; exit ;;
20413 --debug | --debu | --deb | --de | --d | -d )
20415 --file | --fil | --fi | --f )
20418 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20419 '') as_fn_error $? "missing file argument" ;;
20421 as_fn_append CONFIG_FILES " '$ac_optarg'"
20422 ac_need_defaults=false;;
20423 --header | --heade | --head | --hea )
20426 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20428 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20429 ac_need_defaults=false;;
20431 # Conflict between --help and --header
20432 as_fn_error $? "ambiguous option: \`$1'
20433 Try \`$0 --help' for more information.";;
20434 --help | --hel | -h )
20435 $as_echo "$ac_cs_usage"; exit ;;
20436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20437 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20440 # This is an error.
20441 -*) as_fn_error $? "unrecognized option: \`$1'
20442 Try \`$0 --help' for more information." ;;
20444 *) as_fn_append ac_config_targets " $1"
20445 ac_need_defaults=false ;;
20451 ac_configure_extra_args=
20453 if $ac_cs_silent; then
20455 ac_configure_extra_args="$ac_configure_extra_args --silent"
20459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20460 if \$ac_cs_recheck; then
20461 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20463 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20464 CONFIG_SHELL='$SHELL'
20465 export CONFIG_SHELL
20470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20474 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
20475 @%:@@%:@ Running $as_me. @%:@@%:@
20481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20485 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20488 # The HP-UX ksh and POSIX shell print the target directory to stdout
20489 # if CDPATH is set.
20490 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20492 sed_quote_subst='$sed_quote_subst'
20493 double_quote_subst='$double_quote_subst'
20494 delay_variable_subst='$delay_variable_subst'
20495 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20496 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20497 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20498 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20499 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20500 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20501 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20502 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20503 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20504 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20505 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20506 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20507 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20508 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20509 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20510 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20511 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20512 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20513 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20514 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20515 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20516 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20517 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20518 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20519 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20520 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20521 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20522 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20523 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20524 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20525 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20526 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20527 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20528 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20529 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20530 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20531 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20532 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20533 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20534 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20535 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20536 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20537 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20538 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20539 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"`'
20540 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"`'
20541 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20542 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20543 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20544 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20545 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20546 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20547 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20548 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20549 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20550 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20551 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20552 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20553 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20554 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20555 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20556 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20557 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20558 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20559 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20560 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20561 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20562 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20563 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20564 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20565 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20566 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20567 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20568 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20569 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20570 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20571 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20572 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20573 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20574 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20575 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20576 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20577 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20578 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20579 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20580 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20581 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20582 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20583 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20584 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20585 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20586 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20587 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20588 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20589 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20590 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20591 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20592 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20593 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20594 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20595 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20596 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20597 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20598 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20599 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20600 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20601 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20602 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20603 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20604 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20605 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20606 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20607 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20608 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20609 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20610 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20611 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20612 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20615 LTCFLAGS='$LTCFLAGS'
20616 compiler='$compiler_DEFAULT'
20618 # Quote evaled strings.
20630 deplibs_check_method \
20639 lt_cv_sys_global_symbol_pipe \
20640 lt_cv_sys_global_symbol_to_cdecl \
20641 lt_cv_sys_global_symbol_to_c_name_address \
20642 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20645 lt_prog_compiler_no_builtin_flag \
20646 lt_prog_compiler_wl \
20647 lt_prog_compiler_pic \
20648 lt_prog_compiler_static \
20649 lt_cv_prog_compiler_c_o \
20657 export_dynamic_flag_spec \
20658 whole_archive_flag_spec \
20659 compiler_needs_object \
20661 allow_undefined_flag \
20662 no_undefined_flag \
20663 hardcode_libdir_flag_spec \
20664 hardcode_libdir_flag_spec_ld \
20665 hardcode_libdir_separator \
20670 variables_saved_for_relink \
20672 library_names_spec \
20677 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20678 *[\\\\\\\`\\"\\\$]*)
20679 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20682 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20687 # Double-quote double-evaled strings.
20688 for var in reload_cmds \
20689 old_postinstall_cmds \
20690 old_postuninstall_cmds \
20692 extract_expsyms_cmds \
20693 old_archive_from_new_cmds \
20694 old_archive_from_expsyms_cmds \
20696 archive_expsym_cmds \
20698 module_expsym_cmds \
20699 export_symbols_cmds \
20702 postuninstall_cmds \
20704 sys_lib_search_path_spec \
20705 sys_lib_dlsearch_path_spec; do
20706 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20707 *[\\\\\\\`\\"\\\$]*)
20708 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20711 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20716 # Fix-up fallback echo if it was mangled by the above quoting rules.
20718 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20722 ac_aux_dir='$ac_aux_dir'
20723 xsi_shell='$xsi_shell'
20724 lt_shell_append='$lt_shell_append'
20726 # See if we are running on zsh, and set the options which allow our
20727 # commands through without removal of \ escapes INIT.
20728 if test -n "\${ZSH_VERSION+set}" ; then
20729 setopt NO_GLOB_SUBST
20735 TIMESTAMP='$TIMESTAMP'
20741 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20742 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20743 # from automake < 1.5.
20744 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20745 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20746 LINGUAS="${LINGUAS-%UNSET%}"
20751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20753 # Handling of arguments.
20754 for ac_config_target in $ac_config_targets
20756 case $ac_config_target in
20757 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20758 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20759 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20760 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
20761 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
20762 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
20763 "$REGEX_MAKEFILE") CONFIG_FILES="$CONFIG_FILES $REGEX_MAKEFILE" ;;
20764 "pith/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES pith/osdep/Makefile" ;;
20765 "pith/charconv/Makefile") CONFIG_FILES="$CONFIG_FILES pith/charconv/Makefile" ;;
20766 "pith/Makefile") CONFIG_FILES="$CONFIG_FILES pith/Makefile" ;;
20767 "pico/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES pico/osdep/Makefile" ;;
20768 "pico/Makefile") CONFIG_FILES="$CONFIG_FILES pico/Makefile" ;;
20769 "alpine/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES alpine/osdep/Makefile" ;;
20770 "alpine/Makefile") CONFIG_FILES="$CONFIG_FILES alpine/Makefile" ;;
20771 "web/src/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/Makefile" ;;
20772 "web/src/pubcookie/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
20773 "web/src/alpined.d/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
20774 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20776 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20781 # If the user did not use the arguments to specify the items to instantiate,
20782 # then the envvar interface is used. Set only those that are not.
20783 # We use the long form for the default assignment because of an extremely
20784 # bizarre bug on SunOS 4.1.3.
20785 if $ac_need_defaults; then
20786 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20787 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20788 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20791 # Have a temporary directory for convenience. Make it in the build tree
20792 # simply because there is no reason against having it here, and in addition,
20793 # creating and moving files from /tmp can sometimes cause problems.
20794 # Hook for its removal unless debugging.
20795 # Note that there is a small window in which the directory will not be cleaned:
20796 # after its creation but before its name has been assigned to `$tmp'.
20800 trap 'exit_status=$?
20801 : "${ac_tmp:=$tmp}"
20802 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20804 trap 'as_fn_exit 1' 1 2 13 15
20806 # Create a (secure) tmp directory for tmp files.
20809 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20813 tmp=./conf$$-$RANDOM
20814 (umask 077 && mkdir "$tmp")
20815 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20818 # Set up the scripts for CONFIG_FILES section.
20819 # No need to generate them if there are no CONFIG_FILES.
20820 # This happens for instance with `./config.status config.h'.
20821 if test -n "$CONFIG_FILES"; then
20824 ac_cr=`echo X | tr X '\015'`
20825 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20826 # But we know of no other shell where ac_cr would be empty at this
20827 # point, so we can use a bashism as a fallback.
20828 if test "x$ac_cr" = x; then
20829 eval ac_cr=\$\'\\r\'
20831 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20832 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20835 ac_cs_awk_cr=$ac_cr
20838 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20843 echo "cat >conf$$subs.awk <<_ACEOF" &&
20844 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20846 } >conf$$subs.sh ||
20847 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20848 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20850 for ac_last_try in false false false false false :; do
20851 . ./conf$$subs.sh ||
20852 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20854 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20855 if test $ac_delim_n = $ac_delim_num; then
20857 elif $ac_last_try; then
20858 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20860 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20863 rm -f conf$$subs.sh
20865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20866 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20870 s/^/S["/; s/!.*/"]=/
20880 s/\(.\{148\}\)..*/\1/
20882 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20887 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20894 s/\(.\{148\}\)..*/\1/
20896 s/["\\]/\\&/g; s/^/"/; s/$/"/
20900 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20905 ' <conf$$subs.awk | sed '
20910 ' >>$CONFIG_STATUS || ac_write_fail=1
20911 rm -f conf$$subs.awk
20912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20914 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20915 for (key in S) S_is_set[key] = 1
20921 nfields = split(line, field, "@")
20923 len = length(field[1])
20924 for (i = 2; i < nfields; i++) {
20926 keylen = length(key)
20927 if (S_is_set[key]) {
20929 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20930 len += length(value) + length(field[++i])
20941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20942 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20943 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20946 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20947 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20950 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20951 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20952 # trailing colons and then remove the whole line if VPATH becomes empty
20953 # (actually we leave an empty line to preserve line numbers).
20954 if test "x$srcdir" = x.; then
20955 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20974 fi # test -n "$CONFIG_FILES"
20976 # Set up the scripts for CONFIG_HEADERS section.
20977 # No need to generate them if there are no CONFIG_HEADERS.
20978 # This happens for instance with `./config.status Makefile'.
20979 if test -n "$CONFIG_HEADERS"; then
20980 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20984 # Transform confdefs.h into an awk script `defines.awk', embedded as
20985 # here-document in config.status, that substitutes the proper values into
20986 # config.h.in to produce config.h.
20988 # Create a delimiter string that does not exist in confdefs.h, to ease
20989 # handling of long lines.
20991 for ac_last_try in false false :; do
20992 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20993 if test -z "$ac_tt"; then
20995 elif $ac_last_try; then
20996 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20998 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21002 # For the awk script, D is an array of macro values keyed by name,
21003 # likewise P contains macro parameters if any. Preserve backslash
21004 # newline sequences.
21006 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21008 s/.\{148\}/&'"$ac_delim"'/g
21011 s/^[ ]*#[ ]*define[ ][ ]*/ /
21018 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21020 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21024 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21025 D["\1"]=" \3\\\\\\n"\\/p
21027 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21032 s/.\{148\}/&'"$ac_delim"'/g
21037 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21040 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21042 ' <confdefs.h | sed '
21043 s/'"$ac_delim"'/"\\\
21044 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21047 for (key in D) D_is_set[key] = 1
21050 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21052 split(line, arg, " ")
21053 if (arg[1] == "#") {
21057 defundef = substr(arg[1], 2)
21060 split(mac1, mac2, "(") #)
21062 prefix = substr(line, 1, index(line, defundef) - 1)
21063 if (D_is_set[macro]) {
21064 # Preserve the white space surrounding the "#".
21065 print prefix "define", macro P[macro] D[macro]
21068 # Replace #undef with comments. This is necessary, for example,
21069 # in the case of _POSIX_SOURCE, which is predefined and required
21070 # on some systems where configure will not decide to define it.
21071 if (defundef == "undef") {
21072 print "/*", prefix defundef, macro, "*/"
21080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21081 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21082 fi # test -n "$CONFIG_HEADERS"
21085 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21090 :[FHLC]) ac_mode=$ac_tag; continue;;
21092 case $ac_mode$ac_tag in
21094 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21095 :[FH]-) ac_tag=-:-;;
21096 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21113 -) ac_f="$ac_tmp/stdin";;
21114 *) # Look for the file first in the build tree, then in the source tree
21115 # (if the path is not absolute). The absolute path cannot be DOS-style,
21116 # because $ac_f cannot contain `:'.
21120 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21122 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21124 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21125 as_fn_append ac_file_inputs " '$ac_f'"
21128 # Let's still pretend it is `configure' which instantiates (i.e., don't
21129 # use $as_me), people would be surprised to read:
21130 # /* config.h. Generated by config.status. */
21131 configure_input='Generated from '`
21132 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21134 if test x"$ac_file" != x-; then
21135 configure_input="$ac_file. $configure_input"
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21137 $as_echo "$as_me: creating $ac_file" >&6;}
21139 # Neutralize special characters interpreted by sed in replacement strings.
21140 case $configure_input in #(
21141 *\&* | *\|* | *\\* )
21142 ac_sed_conf_input=`$as_echo "$configure_input" |
21143 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21144 *) ac_sed_conf_input=$configure_input;;
21148 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21149 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21154 ac_dir=`$as_dirname -- "$ac_file" ||
21155 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21156 X"$ac_file" : 'X\(//\)[^/]' \| \
21157 X"$ac_file" : 'X\(//\)$' \| \
21158 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21159 $as_echo X"$ac_file" |
21160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21164 /^X\(\/\/\)[^/].*/{
21177 as_dir="$ac_dir"; as_fn_mkdir_p
21181 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21183 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21184 # A ".." for each directory in $ac_dir_suffix.
21185 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21186 case $ac_top_builddir_sub in
21187 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21188 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21191 ac_abs_top_builddir=$ac_pwd
21192 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21193 # for backward compatibility:
21194 ac_top_builddir=$ac_top_build_prefix
21197 .) # We are building in place.
21199 ac_top_srcdir=$ac_top_builddir_sub
21200 ac_abs_top_srcdir=$ac_pwd ;;
21201 [\\/]* | ?:[\\/]* ) # Absolute name.
21202 ac_srcdir=$srcdir$ac_dir_suffix;
21203 ac_top_srcdir=$srcdir
21204 ac_abs_top_srcdir=$srcdir ;;
21205 *) # Relative name.
21206 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21207 ac_top_srcdir=$ac_top_build_prefix$srcdir
21208 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21210 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21220 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21221 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21223 ac_MKDIR_P=$MKDIR_P
21225 [\\/$]* | ?:[\\/]* ) ;;
21226 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21231 # If the template does not know about datarootdir, expand it.
21232 # FIXME: This hack should be removed a few years after 2.60.
21233 ac_datarootdir_hack=; ac_datarootdir_seen=
21244 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21245 *datarootdir*) ac_datarootdir_seen=yes;;
21246 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21248 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21251 ac_datarootdir_hack='
21252 s&@datadir@&$datadir&g
21253 s&@docdir@&$docdir&g
21254 s&@infodir@&$infodir&g
21255 s&@localedir@&$localedir&g
21256 s&@mandir@&$mandir&g
21257 s&\\\${datarootdir}&$datarootdir&g' ;;
21261 # Neutralize VPATH when `$srcdir' = `.'.
21262 # Shell code in configure.ac might set extrasub.
21263 # FIXME: do we really want to maintain this feature?
21264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21265 ac_sed_extra="$ac_vpsub
21268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21270 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21271 s|@configure_input@|$ac_sed_conf_input|;t t
21272 s&@top_builddir@&$ac_top_builddir_sub&;t t
21273 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21274 s&@srcdir@&$ac_srcdir&;t t
21275 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21276 s&@top_srcdir@&$ac_top_srcdir&;t t
21277 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21278 s&@builddir@&$ac_builddir&;t t
21279 s&@abs_builddir@&$ac_abs_builddir&;t t
21280 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21281 s&@INSTALL@&$ac_INSTALL&;t t
21282 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21283 $ac_datarootdir_hack
21285 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21286 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21288 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21289 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21290 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21291 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21293 which seems to be undefined. Please make sure it is defined" >&5
21294 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21295 which seems to be undefined. Please make sure it is defined" >&2;}
21297 rm -f "$ac_tmp/stdin"
21299 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21300 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21302 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21308 if test x"$ac_file" != x-; then
21310 $as_echo "/* $configure_input */" \
21311 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21312 } >"$ac_tmp/config.h" \
21313 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21314 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21316 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21319 mv "$ac_tmp/config.h" "$ac_file" \
21320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21323 $as_echo "/* $configure_input */" \
21324 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21325 || as_fn_error $? "could not create -" "$LINENO" 5
21327 # Compute "$ac_file"'s index in $config_headers.
21330 for _am_header in $config_headers :; do
21331 case $_am_header in
21332 $_am_arg | $_am_arg:* )
21335 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21338 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21339 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21340 X"$_am_arg" : 'X\(//\)[^/]' \| \
21341 X"$_am_arg" : 'X\(//\)$' \| \
21342 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21343 $as_echo X"$_am_arg" |
21344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21348 /^X\(\/\/\)[^/].*/{
21360 s/.*/./; q'`/stamp-h$_am_stamp_count
21363 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21364 $as_echo "$as_me: executing $ac_file commands" >&6;}
21369 case $ac_file$ac_mode in
21370 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21371 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21372 # are listed without --file. Let's play safe and only enable the eval
21373 # if we detect the quoting.
21374 case $CONFIG_FILES in
21375 *\'*) eval set x "$CONFIG_FILES" ;;
21376 *) set x $CONFIG_FILES ;;
21381 # Strip MF so we end up with the name of the file.
21382 mf=`echo "$mf" | sed -e 's/:.*$//'`
21383 # Check whether this is an Automake generated Makefile or not.
21384 # We used to match only the files named `Makefile.in', but
21385 # some people rename them; so instead we look at the file content.
21386 # Grep'ing the first line is not enough: some people post-process
21387 # each Makefile.in and add a new line on top of each file to say so.
21388 # Grep'ing the whole file is not good either: AIX grep has a line
21389 # limit of 2048, but all sed's we know have understand at least 4000.
21390 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21391 dirpart=`$as_dirname -- "$mf" ||
21392 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21393 X"$mf" : 'X\(//\)[^/]' \| \
21394 X"$mf" : 'X\(//\)$' \| \
21395 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21401 /^X\(\/\/\)[^/].*/{
21417 # Extract the definition of DEPDIR, am__include, and am__quote
21418 # from the Makefile without running `make'.
21419 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21420 test -z "$DEPDIR" && continue
21421 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21422 test -z "am__include" && continue
21423 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21424 # When using ansi2knr, U may be empty or an underscore; expand it
21425 U=`sed -n 's/^U = //p' < "$mf"`
21426 # Find all dependency output files, they are included files with
21427 # $(DEPDIR) in their names. We invoke sed twice because it is the
21428 # simplest approach to changing $(DEPDIR) to its actual value in the
21430 for file in `sed -n "
21431 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21432 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21433 # Make sure the directory exists.
21434 test -f "$dirpart/$file" && continue
21435 fdir=`$as_dirname -- "$file" ||
21436 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21437 X"$file" : 'X\(//\)[^/]' \| \
21438 X"$file" : 'X\(//\)$' \| \
21439 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21440 $as_echo X"$file" |
21441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21445 /^X\(\/\/\)[^/].*/{
21458 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21459 # echo "creating $dirpart/$file"
21460 echo '# dummy' > "$dirpart/$file"
21467 # See if we are running on zsh, and set the options which allow our
21468 # commands through without removal of \ escapes.
21469 if test -n "${ZSH_VERSION+set}" ; then
21470 setopt NO_GLOB_SUBST
21473 cfgfile="${ofile}T"
21474 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21477 cat <<_LT_EOF >> "$cfgfile"
21480 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21481 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21482 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21484 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21485 # 2006, 2007, 2008 Free Software Foundation, Inc.
21486 # Written by Gordon Matzigkeit, 1996
21488 # This file is part of GNU Libtool.
21490 # GNU Libtool is free software; you can redistribute it and/or
21491 # modify it under the terms of the GNU General Public License as
21492 # published by the Free Software Foundation; either version 2 of
21493 # the License, or (at your option) any later version.
21495 # As a special exception to the GNU General Public License,
21496 # if you distribute this file as part of a program or library that
21497 # is built using GNU Libtool, you may include this file under the
21498 # same distribution terms that you use for the rest of that program.
21500 # GNU Libtool is distributed in the hope that it will be useful,
21501 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21502 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21503 # GNU General Public License for more details.
21505 # You should have received a copy of the GNU General Public License
21506 # along with GNU Libtool; see the file COPYING. If not, a copy
21507 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21508 # obtained by writing to the Free Software Foundation, Inc.,
21509 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21512 # The names of the tagged configurations supported by this script.
21515 # ### BEGIN LIBTOOL CONFIG
21517 # Which release of libtool.m4 was used?
21518 macro_version=$macro_version
21519 macro_revision=$macro_revision
21521 # Whether or not to build shared libraries.
21522 build_libtool_libs=$enable_shared
21524 # Whether or not to build static libraries.
21525 build_old_libs=$enable_static
21527 # What type of objects to build.
21530 # Whether or not to optimize for fast installation.
21531 fast_install=$enable_fast_install
21534 host_alias=$host_alias
21538 # The build system.
21539 build_alias=$build_alias
21543 # A sed program that does not truncate output.
21546 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21547 Xsed="\$SED -e 1s/^X//"
21549 # A grep program that handles long lines.
21555 # A literal string matcher.
21558 # A BSD- or MS-compatible name lister.
21561 # Whether we need soft or hard links.
21564 # What is the maximum length of a command?
21565 max_cmd_len=$max_cmd_len
21567 # Object file suffix (normally "o").
21570 # Executable file suffix (normally "").
21573 # whether the shell understands "unset".
21576 # turn spaces into newlines.
21579 # turn newlines into spaces.
21582 # How to create reloadable object files.
21583 reload_flag=$lt_reload_flag
21584 reload_cmds=$lt_reload_cmds
21586 # An object symbol dumper.
21587 OBJDUMP=$lt_OBJDUMP
21589 # Method to check whether dependent libraries are shared objects.
21590 deplibs_check_method=$lt_deplibs_check_method
21592 # Command to use when deplibs_check_method == "file_magic".
21593 file_magic_cmd=$lt_file_magic_cmd
21597 AR_FLAGS=$lt_AR_FLAGS
21599 # A symbol stripping program.
21602 # Commands used to install an old-style archive.
21604 old_postinstall_cmds=$lt_old_postinstall_cmds
21605 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21610 # LTCC compiler flags.
21611 LTCFLAGS=$lt_CFLAGS
21613 # Take the output of nm and produce a listing of raw symbols and C names.
21614 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21616 # Transform the output of nm in a proper C declaration.
21617 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21619 # Transform the output of nm in a C name address pair.
21620 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21622 # Transform the output of nm in a C name address pair when lib prefix is needed.
21623 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21625 # The name of the directory that contains temporary libtool files.
21628 # Shell to use when invoking shell scripts.
21631 # An echo program that does not interpret backslashes.
21634 # Used to examine libraries when file_magic_cmd begins with "file".
21635 MAGIC_CMD=$MAGIC_CMD
21637 # Must we lock files when doing compilation?
21638 need_locks=$lt_need_locks
21640 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21641 DSYMUTIL=$lt_DSYMUTIL
21643 # Tool to change global to local symbols on Mac OS X.
21646 # Tool to manipulate fat objects and archives on Mac OS X.
21649 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21652 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21653 OTOOL64=$lt_OTOOL64
21655 # Old archive suffix (normally "a").
21658 # Shared library suffix (normally ".so").
21659 shrext_cmds=$lt_shrext_cmds
21661 # The commands to extract the exported symbol list from a shared archive.
21662 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21664 # Variables whose values should be saved in libtool wrapper scripts and
21665 # restored at link time.
21666 variables_saved_for_relink=$lt_variables_saved_for_relink
21668 # Do we need the "lib" prefix for modules?
21669 need_lib_prefix=$need_lib_prefix
21671 # Do we need a version for libraries?
21672 need_version=$need_version
21674 # Library versioning type.
21675 version_type=$version_type
21677 # Shared library runtime path variable.
21678 runpath_var=$runpath_var
21680 # Shared library path variable.
21681 shlibpath_var=$shlibpath_var
21683 # Is shlibpath searched before the hard-coded library search path?
21684 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21686 # Format of library name prefix.
21687 libname_spec=$lt_libname_spec
21689 # List of archive names. First name is the real one, the rest are links.
21690 # The last name is the one that the linker finds with -lNAME
21691 library_names_spec=$lt_library_names_spec
21693 # The coded name of the library, if different from the real name.
21694 soname_spec=$lt_soname_spec
21696 # Command to use after installation of a shared archive.
21697 postinstall_cmds=$lt_postinstall_cmds
21699 # Command to use after uninstallation of a shared archive.
21700 postuninstall_cmds=$lt_postuninstall_cmds
21702 # Commands used to finish a libtool library installation in a directory.
21703 finish_cmds=$lt_finish_cmds
21705 # As "finish_cmds", except a single script fragment to be evaled but
21707 finish_eval=$lt_finish_eval
21709 # Whether we should hardcode library paths into libraries.
21710 hardcode_into_libs=$hardcode_into_libs
21712 # Compile-time system search path for libraries.
21713 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21715 # Run-time system search path for libraries.
21716 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21718 # Whether dlopen is supported.
21719 dlopen_support=$enable_dlopen
21721 # Whether dlopen of programs is supported.
21722 dlopen_self=$enable_dlopen_self
21724 # Whether dlopen of statically linked programs is supported.
21725 dlopen_self_static=$enable_dlopen_self_static
21727 # Commands to strip libraries.
21728 old_striplib=$lt_old_striplib
21729 striplib=$lt_striplib
21732 # The linker used to build libraries.
21735 # Commands used to build an old-style archive.
21736 old_archive_cmds=$lt_old_archive_cmds
21738 # A language specific compiler.
21741 # Is the compiler the GNU compiler?
21744 # Compiler flag to turn off builtin functions.
21745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21747 # How to pass a linker flag through the compiler.
21748 wl=$lt_lt_prog_compiler_wl
21750 # Additional compiler flags for building library objects.
21751 pic_flag=$lt_lt_prog_compiler_pic
21753 # Compiler flag to prevent dynamic linking.
21754 link_static_flag=$lt_lt_prog_compiler_static
21756 # Does compiler simultaneously support -c and -o options?
21757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21759 # Whether or not to add -lc for building shared libraries.
21760 build_libtool_need_lc=$archive_cmds_need_lc
21762 # Whether or not to disallow shared libs when runtime libs are static.
21763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21765 # Compiler flag to allow reflexive dlopens.
21766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21768 # Compiler flag to generate shared objects directly from archives.
21769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21771 # Whether the compiler copes with passing no objects directly.
21772 compiler_needs_object=$lt_compiler_needs_object
21774 # Create an old-style archive from a shared archive.
21775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21777 # Create a temporary old-style archive to link instead of a shared archive.
21778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21780 # Commands used to build a shared archive.
21781 archive_cmds=$lt_archive_cmds
21782 archive_expsym_cmds=$lt_archive_expsym_cmds
21784 # Commands used to build a loadable module if different from building
21785 # a shared archive.
21786 module_cmds=$lt_module_cmds
21787 module_expsym_cmds=$lt_module_expsym_cmds
21789 # Whether we are building with GNU ld or not.
21790 with_gnu_ld=$lt_with_gnu_ld
21792 # Flag that allows shared libraries with undefined symbols to be built.
21793 allow_undefined_flag=$lt_allow_undefined_flag
21795 # Flag that enforces no undefined symbols.
21796 no_undefined_flag=$lt_no_undefined_flag
21798 # Flag to hardcode \$libdir into a binary during linking.
21799 # This must work even if \$libdir does not exist
21800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21802 # If ld is used when linking, flag to hardcode \$libdir into a binary
21803 # during linking. This must work even if \$libdir does not exist.
21804 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21806 # Whether we need a single "-rpath" flag with a separated argument.
21807 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21810 # DIR into the resulting binary.
21811 hardcode_direct=$hardcode_direct
21813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21814 # DIR into the resulting binary and the resulting library dependency is
21815 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21816 # library is relocated.
21817 hardcode_direct_absolute=$hardcode_direct_absolute
21819 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21820 # into the resulting binary.
21821 hardcode_minus_L=$hardcode_minus_L
21823 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21824 # into the resulting binary.
21825 hardcode_shlibpath_var=$hardcode_shlibpath_var
21827 # Set to "yes" if building a shared library automatically hardcodes DIR
21828 # into the library and all subsequent libraries and executables linked
21830 hardcode_automatic=$hardcode_automatic
21832 # Set to yes if linker adds runtime paths of dependent libraries
21833 # to runtime path list.
21834 inherit_rpath=$inherit_rpath
21836 # Whether libtool must link a program against all its dependency libraries.
21837 link_all_deplibs=$link_all_deplibs
21839 # Fix the shell variable \$srcfile for the compiler.
21840 fix_srcfile_path=$lt_fix_srcfile_path
21842 # Set to "yes" if exported symbols are required.
21843 always_export_symbols=$always_export_symbols
21845 # The commands to list exported symbols.
21846 export_symbols_cmds=$lt_export_symbols_cmds
21848 # Symbols that should not be listed in the preloaded symbols.
21849 exclude_expsyms=$lt_exclude_expsyms
21851 # Symbols that must always be exported.
21852 include_expsyms=$lt_include_expsyms
21854 # Commands necessary for linking programs (against libraries) with templates.
21855 prelink_cmds=$lt_prelink_cmds
21857 # Specify filename containing input files.
21858 file_list_spec=$lt_file_list_spec
21860 # How to hardcode a shared library path into an executable.
21861 hardcode_action=$hardcode_action
21863 # ### END LIBTOOL CONFIG
21869 cat <<\_LT_EOF >> "$cfgfile"
21870 # AIX sometimes has problems with the GCC collect2 program. For some
21871 # reason, if we set the COLLECT_NAMES environment variable, the problems
21872 # vanish in a puff of smoke.
21873 if test "X${COLLECT_NAMES+set}" != Xset; then
21875 export COLLECT_NAMES
21882 ltmain="$ac_aux_dir/ltmain.sh"
21885 # We use sed instead of cat because bash on DJGPP gets confused if
21886 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21887 # text mode, it properly converts lines to CR/LF. This bash problem
21888 # is reportedly fixed, but why not run on old versions too?
21889 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21890 || (rm -f "$cfgfile"; exit 1)
21894 cat << \_LT_EOF >> "$cfgfile"
21896 # func_dirname file append nondir_replacement
21897 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21898 # otherwise set result to NONDIR_REPLACEMENT.
21902 */*) func_dirname_result="${1%/*}${2}" ;;
21903 * ) func_dirname_result="${3}" ;;
21907 # func_basename file
21910 func_basename_result="${1##*/}"
21913 # func_dirname_and_basename file append nondir_replacement
21914 # perform func_basename and func_dirname in a single function
21916 # dirname: Compute the dirname of FILE. If nonempty,
21917 # add APPEND to the result, otherwise set result
21918 # to NONDIR_REPLACEMENT.
21919 # value returned in "$func_dirname_result"
21920 # basename: Compute filename of FILE.
21921 # value retuned in "$func_basename_result"
21922 # Implementation must be kept synchronized with func_dirname
21923 # and func_basename. For efficiency, we do not delegate to
21924 # those functions but instead duplicate the functionality here.
21925 func_dirname_and_basename ()
21928 */*) func_dirname_result="${1%/*}${2}" ;;
21929 * ) func_dirname_result="${3}" ;;
21931 func_basename_result="${1##*/}"
21934 # func_stripname prefix suffix name
21935 # strip PREFIX and SUFFIX off of NAME.
21936 # PREFIX and SUFFIX must not contain globbing or regex special
21937 # characters, hashes, percent signs, but SUFFIX may contain a leading
21938 # dot (in which case that matches only a dot).
21941 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21942 # positional parameters, so assign one to ordinary parameter first.
21943 func_stripname_result=${3}
21944 func_stripname_result=${func_stripname_result#"${1}"}
21945 func_stripname_result=${func_stripname_result%"${2}"}
21951 func_opt_split_opt=${1%%=*}
21952 func_opt_split_arg=${1#*=}
21959 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21960 *) func_lo2o_result=${1} ;;
21964 # func_xform libobj-or-source
21967 func_xform_result=${1%.*}.lo
21970 # func_arith arithmetic-term...
21973 func_arith_result=$(( $* ))
21977 # STRING may not start with a hyphen.
21980 func_len_result=${#1}
21985 *) # Bourne compatible functions.
21986 cat << \_LT_EOF >> "$cfgfile"
21988 # func_dirname file append nondir_replacement
21989 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21990 # otherwise set result to NONDIR_REPLACEMENT.
21993 # Extract subdirectory from the argument.
21994 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21995 if test "X$func_dirname_result" = "X${1}"; then
21996 func_dirname_result="${3}"
21998 func_dirname_result="$func_dirname_result${2}"
22002 # func_basename file
22005 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
22009 # func_stripname prefix suffix name
22010 # strip PREFIX and SUFFIX off of NAME.
22011 # PREFIX and SUFFIX must not contain globbing or regex special
22012 # characters, hashes, percent signs, but SUFFIX may contain a leading
22013 # dot (in which case that matches only a dot).
22014 # func_strip_suffix prefix name
22018 .*) func_stripname_result=`$ECHO "X${3}" \
22019 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22020 *) func_stripname_result=`$ECHO "X${3}" \
22021 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22026 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
22027 my_sed_long_arg='1s/^-[^=]*=//'
22032 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22033 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22039 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22042 # func_xform libobj-or-source
22045 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22048 # func_arith arithmetic-term...
22051 func_arith_result=`expr "$@"`
22055 # STRING may not start with a hyphen.
22058 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22064 case $lt_shell_append in
22066 cat << \_LT_EOF >> "$cfgfile"
22068 # func_append var value
22069 # Append VALUE to the end of shell variable VAR.
22077 cat << \_LT_EOF >> "$cfgfile"
22079 # func_append var value
22080 # Append VALUE to the end of shell variable VAR.
22091 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22092 || (rm -f "$cfgfile"; exit 1)
22094 mv -f "$cfgfile" "$ofile" ||
22095 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22099 "po-directories":C)
22100 for ac_file in $CONFIG_FILES; do
22101 # Support "outfile[:infile[:infile...]]"
22103 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22105 # PO directories have a Makefile.in generated from Makefile.in.in.
22106 case "$ac_file" in */Makefile.in)
22107 # Adjust a relative srcdir.
22108 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22109 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
22110 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22111 # In autoconf-2.13 it is called $ac_given_srcdir.
22112 # In autoconf-2.50 it is called $srcdir.
22113 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
22114 case "$ac_given_srcdir" in
22115 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
22116 /*) top_srcdir="$ac_given_srcdir" ;;
22117 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
22119 # Treat a directory as a PO directory if and only if it has a
22120 # POTFILES.in file. This allows packages to have multiple PO
22121 # directories under different names or in different locations.
22122 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22123 rm -f "$ac_dir/POTFILES"
22124 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
22125 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22126 POMAKEFILEDEPS="POTFILES.in"
22127 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
22128 # on $ac_dir but don't depend on user-specified configuration
22130 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22131 # The LINGUAS file contains the set of available languages.
22132 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22133 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
22135 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22136 # Hide the ALL_LINGUAS assigment from automake < 1.5.
22137 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22138 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
22140 # The set of available languages was given in configure.in.
22141 # Hide the ALL_LINGUAS assigment from automake < 1.5.
22142 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22145 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
22146 # Compute UPDATEPOFILES
22147 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
22148 # Compute DUMMYPOFILES
22149 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
22151 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
22152 case "$ac_given_srcdir" in
22154 *) srcdirpre='$(srcdir)/' ;;
22160 for lang in $ALL_LINGUAS; do
22161 POFILES="$POFILES $srcdirpre$lang.po"
22162 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
22163 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
22164 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
22166 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22167 # environment variable.
22169 if test -n "$ALL_LINGUAS"; then
22170 for presentlang in $ALL_LINGUAS; do
22172 if test "%UNSET%" != "$LINGUAS"; then
22173 desiredlanguages="$LINGUAS"
22175 desiredlanguages="$ALL_LINGUAS"
22177 for desiredlang in $desiredlanguages; do
22178 # Use the presentlang catalog if desiredlang is
22179 # a. equal to presentlang, or
22180 # b. a variant of presentlang (because in this case,
22181 # presentlang can be used as a fallback for messages
22182 # which are not translated in the desiredlang catalog).
22183 case "$desiredlang" in
22184 "$presentlang"*) useit=yes;;
22187 if test $useit = yes; then
22188 INST_LINGUAS="$INST_LINGUAS $presentlang"
22193 if test -n "$INST_LINGUAS"; then
22194 for lang in $INST_LINGUAS; do
22195 CATALOGS="$CATALOGS $lang.gmo"
22198 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
22199 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"
22200 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
22201 if test -f "$f"; then
22203 *.orig | *.bak | *~) ;;
22204 *) cat "$f" >> "$ac_dir/Makefile" ;;
22219 ac_clean_files=$ac_clean_files_save
22221 test $ac_write_fail = 0 ||
22222 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22225 # configure is writing to config.log, and then calls config.status.
22226 # config.status does its own redirection, appending to config.log.
22227 # Unfortunately, on DOS this fails, as config.log is still kept open
22228 # by configure, so config.status won't be able to write to it; its
22229 # output is simply discarded. So we exec the FD to /dev/null,
22230 # effectively closing config.log, so it can be properly (re)opened and
22231 # appended to by config.status. When coming back to configure, we
22232 # need to make the FD available again.
22233 if test "$no_create" != yes; then
22235 ac_config_status_args=
22236 test "$silent" = yes &&
22237 ac_config_status_args="$ac_config_status_args --quiet"
22239 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22241 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22242 # would make configure fail if this is the last instruction.
22243 $ac_cs_success || as_fn_exit 1
22245 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22247 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}