2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libratbox devel.
5 # $Id: configure.ac 26260 2008-12-10 04:08:39Z androsyn $
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev
/null
; then :
183 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
188 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir
=.
195 for as_base
in sh bash ksh sh5
; do
196 # Try only shells that exist, to save several forks.
197 as_shell
=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
200 CONFIG_SHELL
=$as_shell as_have_required
=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
211 CONFIG_SHELL
=$SHELL as_have_required
=yes
216 if test "x$CONFIG_SHELL" != x
; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
226 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x
$as_have_required = xno
; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x
${ZSH_VERSION+set} = xset
; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
242 $0: including any error possibly output before this
243 $0: message. Then install a modern shell, or manually run
244 $0: the script under such a shell if you do have one."
250 SHELL
=${CONFIG_SHELL-/bin/sh}
252 # Unset more variables known to interfere with behavior of common tools.
253 CLICOLOR_FORCE
= GREP_OPTIONS
=
254 unset CLICOLOR_FORCE GREP_OPTIONS
256 ## --------------------- ##
257 ## M4sh Shell Functions. ##
258 ## --------------------- ##
261 # Portably unset VAR.
264 { eval $1=; unset $1;}
268 # as_fn_set_status STATUS
269 # -----------------------
270 # Set $? to STATUS, without forking.
278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 # Create "$as_dir" as a directory, including parents if necessary.
293 -*) as_dir
=.
/$as_dir;;
295 test -d "$as_dir" || eval $as_mkdir_p || {
299 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
302 as_dirs
="'$as_qdir' $as_dirs"
303 as_dir
=`$as_dirname -- "$as_dir" ||
304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
305 X"$as_dir" : 'X\(//\)[^/]' \| \
306 X"$as_dir" : 'X\(//\)$' \| \
307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
308 $as_echo X"$as_dir" |
309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
326 test -d "$as_dir" && break
328 test -z "$as_dirs" || eval "mkdir $as_dirs"
329 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
333 # as_fn_append VAR VALUE
334 # ----------------------
335 # Append the text in VALUE to the end of the definition contained in VAR. Take
336 # advantage of any shell optimizations that allow amortized linear growth over
337 # repeated appends, instead of the typical quadratic growth present in naive
339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
340 eval 'as_fn_append ()
353 # Perform arithmetic evaluation on the ARGs, and store the result in the
354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
355 # must be portable across $(()) and expr.
356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
364 as_val
=`expr "$@" || test $? -eq 1`
369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
370 # ----------------------------------------
371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
373 # script with STATUS, using 1 if that was 0.
376 as_status
=$1; test $as_status -eq 0 && as_status
=1
378 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 $as_echo "$as_me: error: $2" >&2
382 as_fn_exit
$as_status
385 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
386 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
392 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
398 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
404 as_me
=`$as_basename -- "$0" ||
405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
423 # Avoid depending upon Character Ranges.
424 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
425 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
426 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
427 as_cr_digits
='0123456789'
428 as_cr_alnum
=$as_cr_Letters$as_cr_digits
431 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
432 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
433 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
434 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
435 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
447 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451 chmod +x
"$as_me.lineno" ||
452 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
462 ECHO_C
= ECHO_N
= ECHO_T
=
463 case `echo -n x` in #(((((
465 case `echo 'xy\c'` in
466 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
468 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
475 rm -f conf$$ conf$$.exe conf$$.
file
476 if test -d conf$$.dir
; then
477 rm -f conf$$.dir
/conf$$.
file
480 mkdir conf$$.dir
2>/dev
/null
482 if (echo >conf$$.
file) 2>/dev
/null
; then
483 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
485 # ... but there are two gotchas:
486 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
487 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
488 # In both cases, we have to default to `cp -p'.
489 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
491 elif ln conf$$.
file conf$$
2>/dev
/null
; then
499 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
500 rmdir conf$$.dir
2>/dev
/null
502 if mkdir -p .
2>/dev
/null
; then
503 as_mkdir_p
='mkdir -p "$as_dir"'
505 test -d .
/-p && rmdir .
/-p
509 if test -x / >/dev
/null
2>&1; then
512 if ls -dL / >/dev
/null
2>&1; then
519 if test -d "$1"; then
525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
526 ???[sx]*):;;*)false;;esac;fi
530 as_executable_p
=$as_test_x
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 # Check that we are running under the correct shell.
541 SHELL
=${CONFIG_SHELL-/bin/sh}
545 # Remove one level of quotation (which was required for Make).
546 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
551 if test "X$1" = X
--no-reexec; then
552 # Discard the --no-reexec flag, and continue.
554 elif test "X$1" = X
--fallback-echo; then
555 # Avoid inline document here, it may be left over
557 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
558 # Yippee, $ECHO works!
561 # Restart under the correct shell.
562 exec $SHELL "$0" --no-reexec ${1+"$@"}
565 if test "X$1" = X
--fallback-echo; then
566 # used as fallback echo
574 # The HP-UX ksh and POSIX shell print the target directory to stdout
576 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
578 if test -z "$lt_ECHO"; then
579 if test "X${echo_test_string+set}" != Xset
; then
580 # find a string as large as possible, as long as the shell can cope with it
581 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
582 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
583 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
584 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
591 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
592 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
593 test "X$echo_testing_string" = "X$echo_test_string"; then
596 # The Solaris, AIX, and Digital Unix default echo programs unquote
597 # backslashes. This makes it impossible to quote backslashes using
598 # echo "$something" | sed 's/\\/\\\\/g'
600 # So, first we look for a working echo in the user's PATH.
602 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
603 for dir
in $PATH /usr
/ucb
; do
605 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
606 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
607 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
608 test "X$echo_testing_string" = "X$echo_test_string"; then
615 if test "X$ECHO" = Xecho
; then
616 # We didn't find a better echo, so look for alternatives.
617 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
618 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
619 test "X$echo_testing_string" = "X$echo_test_string"; then
620 # This shell has a builtin print -r that does the trick.
622 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
623 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
624 # If we have ksh, try running configure again with it.
625 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
626 export ORIGINAL_CONFIG_SHELL
627 CONFIG_SHELL
=/bin
/ksh
629 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
633 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
638 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
639 test "X$echo_testing_string" = 'X\t' &&
640 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
641 test "X$echo_testing_string" = "X$echo_test_string"; then
642 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
644 SHELL
="$CONFIG_SHELL"
646 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
647 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
648 test "X$echo_testing_string" = 'X\t' &&
649 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
650 test "X$echo_testing_string" = "X$echo_test_string"; then
651 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
653 # maybe with a smaller string...
656 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
657 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
664 if test "$prev" != 'sed 50q "$0"'; then
665 echo_test_string
=`eval $prev`
666 export echo_test_string
667 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
669 # Oops. We lost completely, so just stick with echo.
678 # Copy echo and quote the copy suitably for passing to libtool from
679 # the Makefile, instead of quoting the original, which is used later.
681 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
682 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
688 test -n "$DJDIR" || exec 7<&0 </dev
/null
692 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
693 # so uname gets run too.
694 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
699 ac_default_prefix
=/usr
/local
701 ac_config_libobj_dir
=.
708 # Identity of this package.
709 PACKAGE_NAME
='libratbox'
710 PACKAGE_TARNAME
='libratbox'
711 PACKAGE_VERSION
='devel'
712 PACKAGE_STRING
='libratbox devel'
716 ac_default_prefix
=/usr
/local
/libratbox
717 # Factoring default headers for most tests.
718 ac_includes_default
="\
720 #ifdef HAVE_SYS_TYPES_H
721 # include <sys/types.h>
723 #ifdef HAVE_SYS_STAT_H
724 # include <sys/stat.h>
730 # ifdef HAVE_STDLIB_H
735 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
740 #ifdef HAVE_STRINGS_H
741 # include <strings.h>
743 #ifdef HAVE_INTTYPES_H
744 # include <inttypes.h>
754 ac_subst_vars
='am__EXEEXT_FALSE
800 MAINTAINER_MODE_FALSE
830 INSTALL_STRIP_PROGRAM
872 program_transform_name
885 enable_option_checking
886 enable_dependency_tracking
889 enable_maintainer_mode
902 ac_precious_vars
='build_alias
916 # Initialize some variables set by options.
918 ac_init_version
=false
919 ac_unrecognized_opts
=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
930 program_transform_name
=s
,x
,x
,
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir
='${exec_prefix}/bin'
945 sbindir
='${exec_prefix}/sbin'
946 libexecdir
='${exec_prefix}/libexec'
947 datarootdir
='${prefix}/share'
948 datadir
='${datarootdir}'
949 sysconfdir
='${prefix}/etc'
950 sharedstatedir
='${prefix}/com'
951 localstatedir
='${prefix}/var'
952 includedir
='${prefix}/include'
953 oldincludedir
='/usr/include'
954 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir
='${datarootdir}/info'
960 libdir
='${exec_prefix}/lib'
961 localedir
='${datarootdir}/locale'
962 mandir
='${datarootdir}/man'
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\
$ac_option
976 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
981 # Accept the important Cygnus configure options, so we can diagnose typos.
983 case $ac_dashdash$ac_option in
987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
992 -build | --build | --buil | --bui | --bu)
993 ac_prev
=build_alias
;;
994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995 build_alias
=$ac_optarg ;;
997 -cache-file | --cache-file | --cache-fil | --cache-fi \
998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999 ac_prev
=cache_file
;;
1000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002 cache_file
=$ac_optarg ;;
1004 --config-cache | -C)
1005 cache_file
=config.cache
;;
1007 -datadir | --datadir | --datadi | --datad)
1009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010 datadir
=$ac_optarg ;;
1012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013 | --dataroo | --dataro | --datar)
1014 ac_prev
=datarootdir
;;
1015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017 datarootdir
=$ac_optarg ;;
1019 -disable-* | --disable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 as_fn_error $?
"invalid feature name: $ac_useropt"
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=no
;;
1035 -docdir | --docdir | --docdi | --doc | --do)
1037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038 docdir
=$ac_optarg ;;
1040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043 dvidir
=$ac_optarg ;;
1045 -enable-* | --enable-*)
1046 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1049 as_fn_error $?
"invalid feature name: $ac_useropt"
1050 ac_useropt_orig
=$ac_useropt
1051 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_
$ac_useropt"
1056 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep
=', ';;
1059 eval enable_
$ac_useropt=\
$ac_optarg ;;
1061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063 | --exec | --exe | --ex)
1064 ac_prev
=exec_prefix
;;
1065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067 | --exec=* | --exe=* | --ex=*)
1068 exec_prefix
=$ac_optarg ;;
1070 -gas | --gas | --ga | --g)
1071 # Obsolete; use --with-gas.
1074 -help | --help | --hel | --he | -h)
1075 ac_init_help
=long
;;
1076 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1077 ac_init_help
=recursive
;;
1078 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1079 ac_init_help
=short
;;
1081 -host | --host | --hos | --ho)
1082 ac_prev
=host_alias
;;
1083 -host=* | --host=* | --hos=* | --ho=*)
1084 host_alias
=$ac_optarg ;;
1086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1090 htmldir
=$ac_optarg ;;
1092 -includedir | --includedir | --includedi | --included | --include \
1093 | --includ | --inclu | --incl | --inc)
1094 ac_prev
=includedir
;;
1095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096 | --includ=* | --inclu=* | --incl=* | --inc=*)
1097 includedir
=$ac_optarg ;;
1099 -infodir | --infodir | --infodi | --infod | --info | --inf)
1101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102 infodir
=$ac_optarg ;;
1104 -libdir | --libdir | --libdi | --libd)
1106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107 libdir
=$ac_optarg ;;
1109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110 | --libexe | --libex | --libe)
1111 ac_prev
=libexecdir
;;
1112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113 | --libexe=* | --libex=* | --libe=*)
1114 libexecdir
=$ac_optarg ;;
1116 -localedir | --localedir | --localedi | --localed | --locale)
1117 ac_prev
=localedir
;;
1118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119 localedir
=$ac_optarg ;;
1121 -localstatedir | --localstatedir | --localstatedi | --localstated \
1122 | --localstate | --localstat | --localsta | --localst | --locals)
1123 ac_prev
=localstatedir
;;
1124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126 localstatedir
=$ac_optarg ;;
1128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131 mandir
=$ac_optarg ;;
1133 -nfp | --nfp | --nf)
1134 # Obsolete; use --without-fp.
1137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138 | --no-cr | --no-c | -n)
1141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147 | --oldin | --oldi | --old | --ol | --o)
1148 ac_prev
=oldincludedir
;;
1149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152 oldincludedir
=$ac_optarg ;;
1154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157 prefix
=$ac_optarg ;;
1159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160 | --program-pre | --program-pr | --program-p)
1161 ac_prev
=program_prefix
;;
1162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164 program_prefix
=$ac_optarg ;;
1166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167 | --program-suf | --program-su | --program-s)
1168 ac_prev
=program_suffix
;;
1169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171 program_suffix
=$ac_optarg ;;
1173 -program-transform-name | --program-transform-name \
1174 | --program-transform-nam | --program-transform-na \
1175 | --program-transform-n | --program-transform- \
1176 | --program-transform | --program-transfor \
1177 | --program-transfo | --program-transf \
1178 | --program-trans | --program-tran \
1179 | --progr-tra | --program-tr | --program-t)
1180 ac_prev
=program_transform_name
;;
1181 -program-transform-name=* | --program-transform-name=* \
1182 | --program-transform-nam=* | --program-transform-na=* \
1183 | --program-transform-n=* | --program-transform-=* \
1184 | --program-transform=* | --program-transfor=* \
1185 | --program-transfo=* | --program-transf=* \
1186 | --program-trans=* | --program-tran=* \
1187 | --progr-tra=* | --program-tr=* | --program-t=*)
1188 program_transform_name
=$ac_optarg ;;
1190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193 pdfdir
=$ac_optarg ;;
1195 -psdir | --psdir | --psdi | --psd | --ps)
1197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1204 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1206 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1208 sbindir
=$ac_optarg ;;
1210 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1211 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1212 | --sharedst | --shareds | --shared | --share | --shar \
1214 ac_prev
=sharedstatedir
;;
1215 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1216 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1217 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1219 sharedstatedir
=$ac_optarg ;;
1221 -site | --site | --sit)
1223 -site=* | --site=* | --sit=*)
1226 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1228 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1229 srcdir
=$ac_optarg ;;
1231 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1232 | --syscon | --sysco | --sysc | --sys | --sy)
1233 ac_prev
=sysconfdir
;;
1234 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1235 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1236 sysconfdir
=$ac_optarg ;;
1238 -target | --target | --targe | --targ | --tar | --ta | --t)
1239 ac_prev
=target_alias
;;
1240 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1241 target_alias
=$ac_optarg ;;
1243 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1246 -version | --version | --versio | --versi | --vers | -V)
1247 ac_init_version
=: ;;
1250 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1253 as_fn_error $?
"invalid package name: $ac_useropt"
1254 ac_useropt_orig
=$ac_useropt
1255 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1260 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep
=', ';;
1263 eval with_
$ac_useropt=\
$ac_optarg ;;
1265 -without-* | --without-*)
1266 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1269 as_fn_error $?
"invalid package name: $ac_useropt"
1270 ac_useropt_orig
=$ac_useropt
1271 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1276 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep
=', ';;
1279 eval with_
$ac_useropt=no
;;
1282 # Obsolete; use --with-x.
1285 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1286 | --x-incl | --x-inc | --x-in | --x-i)
1287 ac_prev
=x_includes
;;
1288 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1289 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1290 x_includes
=$ac_optarg ;;
1292 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1293 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1294 ac_prev
=x_libraries
;;
1295 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1296 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1297 x_libraries
=$ac_optarg ;;
1299 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information"
1304 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' | [0-9]* | *[!_$as_cr_alnum]* )
1308 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1310 eval $ac_envvar=\
$ac_optarg
1311 export $ac_envvar ;;
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1324 if test -n "$ac_prev"; then
1325 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error $?
"missing argument to $ac_option"
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1332 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1337 # Check all directory arguments for consistency.
1338 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val
=\$
$ac_var
1344 # Remove trailing slashes.
1347 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\
$ac_val;;
1350 # Be sure to have absolute directory names.
1352 [\\/$
]* | ?
:[\\/]* ) continue;;
1353 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1355 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1363 target
=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x
; then
1367 if test "x$build_alias" = x
; then
1368 cross_compiling
=maybe
1369 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used" >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1377 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1379 test "$silent" = yes && exec 6>/dev
/null
1382 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di
=`ls -di .` &&
1384 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1385 as_fn_error $?
"working directory cannot be determined"
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 as_fn_error $?
"pwd does not report name of working directory"
1390 # Find the source files, if location was not specified.
1391 if test -z "$srcdir"; then
1392 ac_srcdir_defaulted
=yes
1393 # Try the directory containing this script, then the parent directory.
1394 ac_confdir
=`$as_dirname -- "$as_myself" ||
1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396 X"$as_myself" : 'X\(//\)[^/]' \| \
1397 X"$as_myself" : 'X\(//\)$' \| \
1398 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1399 $as_echo X"$as_myself" |
1400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1422 ac_srcdir_defaulted
=no
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1426 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1428 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1430 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1440 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442 for ac_var
in $ac_precious_vars; do
1443 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1444 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1445 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1446 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1450 # Report the --help message.
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1456 \`configure' configures libratbox devel to adapt to many kinds of systems.
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1463 Defaults for the options are specified in brackets.
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking ...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1487 For better control, use the options below.
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/libratbox]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1514 --program-prefix=PREFIX prepend PREFIX to installed program names
1515 --program-suffix=SUFFIX append SUFFIX to installed program names
1516 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1519 --build=BUILD configure
for building on BUILD
[guessed
]
1520 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short
| recursive
) echo "Configuration of libratbox devel:";;
1531 --disable-option-checking ignore unrecognized
--enable/--with options
1532 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1533 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1534 --disable-dependency-tracking speeds up one
-time build
1535 --enable-dependency-tracking do not reject slow dependency extractors
1536 --enable-static[=PKGS
] build static libraries
[default
=no
]
1537 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1538 --enable-maintainer-mode enable make rules and dependencies not useful
1539 (and sometimes confusing
) to the casual installer
1540 --enable-fast-install[=PKGS
]
1541 optimize
for fast installation
[default
=yes]
1542 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1543 --disable-ipv6 Disable IPv6 support
1544 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1545 --disable-openssl Disable OpenSSL support.
1546 --enable-gnutls Enable GnuTLS support.
1547 --disable-gnutls Disable GnuTLS support.
1548 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1549 hard
(aborts the daemon
)
1550 --enable-profile Enable profiling
1551 --disable-balloc Disable the block allocator.
1552 --enable-warnings Enable all sorts of warnings
for debugging.
1555 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1556 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1557 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1559 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1561 Some influential environment variables
:
1562 CC C compiler
command
1563 CFLAGS C compiler flags
1564 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1565 nonstandard directory
<lib dir
>
1566 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1567 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1568 you have headers
in a nonstandard directory
<include dir
>
1570 PKG_CONFIG path to pkg
-config utility
1572 C compiler flags
for GNUTLS
, overriding pkg
-config
1573 GNUTLS_LIBS linker flags
for GNUTLS
, overriding pkg
-config
1575 Use these variables to override the choices made by
`configure' or to help
1576 it to find libraries and programs with nonstandard names/locations.
1578 Report bugs to the package provider.
1583 if test "$ac_init_help" = "recursive"; then
1584 # If there are subdirs, report their specific --help.
1585 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1586 test -d "$ac_dir" ||
1587 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1595 # A ".." for each directory in $ac_dir_suffix.
1596 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1597 case $ac_top_builddir_sub in
1598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1602 ac_abs_top_builddir=$ac_pwd
1603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604 # for backward compatibility:
1605 ac_top_builddir=$ac_top_build_prefix
1608 .) # We are building in place.
1610 ac_top_srcdir=$ac_top_builddir_sub
1611 ac_abs_top_srcdir=$ac_pwd ;;
1612 [\\/]* | ?:[\\/]* ) # Absolute name.
1613 ac_srcdir=$srcdir$ac_dir_suffix;
1614 ac_top_srcdir=$srcdir
1615 ac_abs_top_srcdir=$srcdir ;;
1617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618 ac_top_srcdir=$ac_top_build_prefix$srcdir
1619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1623 cd "$ac_dir" || { ac_status=$?; continue; }
1624 # Check for guested configure.
1625 if test -f "$ac_srcdir/configure.gnu"; then
1627 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628 elif test -f "$ac_srcdir/configure"; then
1630 $SHELL "$ac_srcdir/configure" --help=recursive
1632 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1634 cd "$ac_pwd" || { ac_status=$?; break; }
1638 test -n "$ac_init_help" && exit $ac_status
1639 if $ac_init_version; then
1641 libratbox configure devel
1642 generated by GNU Autoconf 2.68
1644 Copyright (C) 2010 Free Software Foundation, Inc.
1645 This configure script is free software; the Free Software Foundation
1646 gives unlimited permission to copy, distribute and modify it.
1648 $Id: configure.ac 26260 2008-12-10 04:08:39Z androsyn $
1653 ## ------------------------ ##
1654 ## Autoconf initialization. ##
1655 ## ------------------------ ##
1657 # ac_fn_c_try_compile LINENO
1658 # --------------------------
1659 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1660 ac_fn_c_try_compile ()
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 rm -f conftest.$ac_objext
1664 if { { ac_try="$ac_compile"
1666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1667 *) ac_try_echo
=$ac_try;;
1669 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_compile") 2>conftest.err
1673 if test -s conftest.err
; then
1674 grep -v '^ *+' conftest.err
>conftest.er1
1675 cat conftest.er1
>&5
1676 mv -f conftest.er1 conftest.err
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } && {
1680 test -z "$ac_c_werror_flag" ||
1681 test ! -s conftest.err
1682 } && test -s conftest.
$ac_objext; then :
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.
$ac_ext >&5
1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 as_fn_set_status
$ac_retval
1693 } # ac_fn_c_try_compile
1695 # ac_fn_c_try_cpp LINENO
1696 # ----------------------
1697 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1701 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1710 if test -s conftest.err; then
1711 grep -v '^ *+' conftest.err >conftest.er1
1712 cat conftest.er1 >&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } > conftest.i && {
1717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1732 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1733 # -------------------------------------------------------
1734 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1735 # the include files in INCLUDES and setting the cache variable VAR
1737 ac_fn_c_check_header_mongrel ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 if eval \${$3+:} false; then :
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1742 $as_echo_n "checking for $2... " >&6; }
1743 if eval \${$3+:} false; then :
1744 $as_echo_n "(cached) " >&6
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1748 $as_echo "$ac_res" >&6; }
1750 # Is the header compilable?
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1752 $as_echo_n "checking $2 usability... " >&6; }
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1758 if ac_fn_c_try_compile "$LINENO"; then :
1759 ac_header_compiler=yes
1761 ac_header_compiler=no
1763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1765 $as_echo "$ac_header_compiler" >&6; }
1767 # Is the header present?
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1769 $as_echo_n "checking $2 presence... " >&6; }
1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1774 if ac_fn_c_try_cpp "$LINENO"; then :
1775 ac_header_preproc=yes
1777 ac_header_preproc=no
1779 rm -f conftest.err conftest.i conftest.$ac_ext
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1781 $as_echo "$ac_header_preproc" >&6; }
1783 # So? What about this header?
1784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1787 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1789 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1793 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1795 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1797 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1799 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1801 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1809 eval "$3=\$ac_header_compiler"
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 } # ac_fn_c_check_header_mongrel
1819 # ac_fn_c_try_run LINENO
1820 # ----------------------
1821 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1822 # that executables *can* be run.
1825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826 if { { ac_try="$ac_link"
1828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1829 *) ac_try_echo
=$ac_try;;
1831 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_link") 2>&5
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1837 { { case "(($ac_try" in
1838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_try") 2>&5
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; }; }; then :
1849 $as_echo "$as_me: program exited with status $ac_status" >&5
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1853 ac_retval=$ac_status
1855 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status $ac_retval
1861 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1862 # -------------------------------------------------------
1863 # Tests whether HEADER exists and can be compiled using the include files in
1864 # INCLUDES, setting the cache variable VAR accordingly.
1865 ac_fn_c_check_header_compile ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \${$3+:} false; then :
1871 $as_echo_n "(cached) " >&6
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h. */
1878 if ac_fn_c_try_compile "$LINENO"; then :
1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890 } # ac_fn_c_check_header_compile
1892 # ac_fn_c_try_link LINENO
1893 # -----------------------
1894 # Try to link conftest.$ac_ext, and return whether this succeeded.
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 rm -f conftest.$ac_objext conftest$ac_exeext
1899 if { { ac_try="$ac_link"
1901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1902 *) ac_try_echo
=$ac_try;;
1904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_link") 2>conftest.err
1908 if test -s conftest.err
; then
1909 grep -v '^ *+' conftest.err
>conftest.er1
1910 cat conftest.er1
>&5
1911 mv -f conftest.er1 conftest.err
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } && {
1915 test -z "$ac_c_werror_flag" ||
1916 test ! -s conftest.err
1917 } && test -s conftest
$ac_exeext && {
1918 test "$cross_compiling" = yes ||
1919 $as_test_x conftest
$ac_exeext
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.
$ac_ext >&5
1928 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1929 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1930 # interfere with the next link command; also delete a directory that is
1931 # left behind by Apple's compiler. We do this before executing the actions.
1932 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934 as_fn_set_status
$ac_retval
1936 } # ac_fn_c_try_link
1938 # ac_fn_c_check_func LINENO FUNC VAR
1939 # ----------------------------------
1940 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1941 ac_fn_c_check_func
()
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1945 $as_echo_n "checking for $2... " >&6; }
1946 if eval \
${$3+:} false
; then :
1947 $as_echo_n "(cached) " >&6
1949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1953 #define $2 innocuous_$2
1955 /* System header to define __stub macros and hopefully few prototypes,
1956 which can conflict with char $2 (); below.
1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1958 <limits.h> exists even on freestanding compilers. */
1961 # include <limits.h>
1963 # include <assert.h>
1968 /* Override any GCC internal prototype to avoid an error.
1969 Use char because int might match the return type of a GCC
1970 builtin and then its argument prototype would still apply. */
1975 /* The GNU C library defines this for functions which it implements
1976 to always fail with ENOSYS. Some functions are actually named
1977 something starting with __ and the normal name is an alias. */
1978 #if defined __stub_$2 || defined __stub___$2
1990 if ac_fn_c_try_link
"$LINENO"; then :
1995 rm -f core conftest.err conftest.
$ac_objext \
1996 conftest
$ac_exeext conftest.
$ac_ext
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 } # ac_fn_c_check_func
2005 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2006 # -------------------------------------------
2007 # Tests whether TYPE exists after having included INCLUDES, setting cache
2008 # variable VAR accordingly.
2009 ac_fn_c_check_type
()
2011 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if eval \
${$3+:} false
; then :
2015 $as_echo_n "(cached) " >&6
2018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2030 if ac_fn_c_try_compile
"$LINENO"; then :
2031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2043 if ac_fn_c_try_compile
"$LINENO"; then :
2048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2054 $as_echo "$ac_res" >&6; }
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2057 } # ac_fn_c_check_type
2059 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2060 # ----------------------------------------------------
2061 # Tries to find if the field MEMBER exists in type AGGR, after including
2062 # INCLUDES, setting cache variable VAR accordingly.
2063 ac_fn_c_check_member
()
2065 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2067 $as_echo_n "checking for $2.$3... " >&6; }
2068 if eval \
${$4+:} false
; then :
2069 $as_echo_n "(cached) " >&6
2071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2084 if ac_fn_c_try_compile
"$LINENO"; then :
2087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2094 if (sizeof ac_aggr.$3)
2100 if ac_fn_c_try_compile
"$LINENO"; then :
2105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2111 $as_echo "$ac_res" >&6; }
2112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114 } # ac_fn_c_check_member
2115 cat >config.log
<<_ACEOF
2116 This file contains any messages produced by compilers while
2117 running configure, to aid debugging if configure makes a mistake.
2119 It was created by libratbox $as_me devel, which was
2120 generated by GNU Autoconf 2.68. Invocation command line was
2132 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2133 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2134 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2135 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2136 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2138 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2139 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2141 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2142 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2143 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2144 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2145 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2146 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2147 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir
=.
2156 $as_echo "PATH: $as_dir"
2172 # Keep a trace of the command line.
2173 # Strip out --no-create and --no-recursion so they do not pile up.
2174 # Strip out --silent because we don't want to record it for future runs.
2175 # Also quote any args containing shell meta-characters.
2176 # Make two passes to allow for proper duplicate-argument suppression.
2180 ac_must_keep_next
=false
2186 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2188 | -silent | --silent | --silen | --sile | --sil)
2191 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2194 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2196 as_fn_append ac_configure_args1
" '$ac_arg'"
2197 if test $ac_must_keep_next = true
; then
2198 ac_must_keep_next
=false
# Got value, back to normal.
2201 *=* | --config-cache | -C | -disable-* | --disable-* \
2202 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2203 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2204 | -with-* | --with-* | -without-* | --without-* | --x)
2205 case "$ac_configure_args0 " in
2206 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2209 -* ) ac_must_keep_next
=true
;;
2212 as_fn_append ac_configure_args
" '$ac_arg'"
2217 { ac_configure_args0
=; unset ac_configure_args0
;}
2218 { ac_configure_args1
=; unset ac_configure_args1
;}
2220 # When interrupted or exit'd, cleanup temporary files, and complete
2221 # config.log. We remove comments because anyway the quotes in there
2222 # would cause problems or look ugly.
2223 # WARNING: Use '\'' to represent an apostrophe within the trap.
2224 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2225 trap 'exit_status=$?
2226 # Save into config.log some information that might help in debugging.
2230 $as_echo "## ---------------- ##
2231 ## Cache variables. ##
2232 ## ---------------- ##"
2234 # The following way of writing the cache mishandles newlines in values,
2236 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2237 eval ac_val=\$$ac_var
2241 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2245 _ | IFS | as_nl) ;; #(
2246 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2247 *) { eval $ac_var=; unset $ac_var;} ;;
2252 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2253 *${as_nl}ac_space=\ *)
2255 "s/'\''/'\''\\\\'\'''\''/g;
2256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2266 $as_echo "## ----------------- ##
2267 ## Output variables. ##
2268 ## ----------------- ##"
2270 for ac_var in $ac_subst_vars
2272 eval ac_val=\$$ac_var
2274 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2276 $as_echo "$ac_var='\''$ac_val'\''"
2280 if test -n "$ac_subst_files"; then
2281 $as_echo "## ------------------- ##
2282 ## File substitutions. ##
2283 ## ------------------- ##"
2285 for ac_var
in $ac_subst_files
2287 eval ac_val
=\$
$ac_var
2289 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291 $as_echo "$ac_var='\''$ac_val'\''"
2296 if test -s confdefs.h; then
2297 $as_echo "## ----------- ##
2304 test "$ac_signal" != 0 &&
2305 $as_echo "$as_me: caught signal $ac_signal"
2306 $as_echo "$as_me: exit $exit_status"
2308 rm -f core *.core core.conftest.* &&
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2312 for ac_signal
in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest
* confdefs.h
2320 $as_echo "/* confdefs.h */" > confdefs.h
2322 # Predefined preprocessor variables.
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_NAME "$PACKAGE_NAME"
2328 cat >>confdefs.h
<<_ACEOF
2329 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2332 cat >>confdefs.h
<<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2336 cat >>confdefs.h
<<_ACEOF
2337 #define PACKAGE_STRING "$PACKAGE_STRING"
2340 cat >>confdefs.h
<<_ACEOF
2341 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2344 cat >>confdefs.h
<<_ACEOF
2345 #define PACKAGE_URL "$PACKAGE_URL"
2349 # Let the site file select an alternate cache file if it wants to.
2350 # Prefer an explicitly selected file to automatically selected ones.
2353 if test -n "$CONFIG_SITE"; then
2354 # We do not want a PATH search for config.site.
2355 case $CONFIG_SITE in #((
2356 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2357 */*) ac_site_file1
=$CONFIG_SITE;;
2358 *) ac_site_file1
=.
/$CONFIG_SITE;;
2360 elif test "x$prefix" != xNONE
; then
2361 ac_site_file1
=$prefix/share
/config.site
2362 ac_site_file2
=$prefix/etc
/config.site
2364 ac_site_file1
=$ac_default_prefix/share
/config.site
2365 ac_site_file2
=$ac_default_prefix/etc
/config.site
2367 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2369 test "x$ac_site_file" = xNONE
&& continue
2370 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2372 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2373 sed 's/^/| /' "$ac_site_file" >&5
2375 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 as_fn_error $?
"failed to load site script $ac_site_file
2378 See \`config.log' for more details" "$LINENO" 5; }
2382 if test -r "$cache_file"; then
2383 # Some versions of bash will fail to source /dev/null (special files
2384 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2385 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2387 $as_echo "$as_me: loading cache $cache_file" >&6;}
2389 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2390 *) .
"./$cache_file";;
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2395 $as_echo "$as_me: creating cache $cache_file" >&6;}
2399 as_fn_append ac_header_list
" stdlib.h"
2400 as_fn_append ac_header_list
" unistd.h"
2401 as_fn_append ac_header_list
" sys/param.h"
2402 # Check that the precious variables saved in the cache have kept the same
2404 ac_cache_corrupted
=false
2405 for ac_var
in $ac_precious_vars; do
2406 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2407 eval ac_new_set
=\
$ac_env_${ac_var}_set
2408 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2409 eval ac_new_val
=\
$ac_env_${ac_var}_value
2410 case $ac_old_set,$ac_new_set in
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2413 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2414 ac_cache_corrupted
=: ;;
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2417 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2418 ac_cache_corrupted
=: ;;
2421 if test "x$ac_old_val" != "x$ac_new_val"; then
2422 # differences in whitespace do not lead to failure.
2423 ac_old_val_w
=`echo x $ac_old_val`
2424 ac_new_val_w
=`echo x $ac_new_val`
2425 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2427 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2428 ac_cache_corrupted
=:
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2431 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2432 eval $ac_var=\
$ac_old_val
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2435 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2437 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2440 # Pass precious variables to config.status.
2441 if test "$ac_new_set" = set; then
2443 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2444 *) ac_arg
=$ac_var=$ac_new_val ;;
2446 case " $ac_configure_args " in
2447 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2448 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2452 if $ac_cache_corrupted; then
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2456 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2457 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2459 ## -------------------- ##
2460 ## Main body of script. ##
2461 ## -------------------- ##
2464 ac_cpp
='$CPP $CPPFLAGS'
2465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2470 am__api_version
='1.11'
2473 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2474 if test -f "$ac_dir/install-sh"; then
2476 ac_install_sh
="$ac_aux_dir/install-sh -c"
2478 elif test -f "$ac_dir/install.sh"; then
2480 ac_install_sh
="$ac_aux_dir/install.sh -c"
2482 elif test -f "$ac_dir/shtool"; then
2484 ac_install_sh
="$ac_aux_dir/shtool install -c"
2488 if test -z "$ac_aux_dir"; then
2489 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2492 # These three variables are undocumented and unsupported,
2493 # and are intended to be withdrawn in a future Autoconf release.
2494 # They can cause serious problems if a builder's source tree is in a directory
2495 # whose full name contains unusual characters.
2496 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2497 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2498 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2501 # Find a good install program. We prefer a C program (faster),
2502 # so one script is as good as another. But avoid the broken or
2503 # incompatible versions:
2504 # SysV /etc/install, /usr/sbin/install
2505 # SunOS /usr/etc/install
2506 # IRIX /sbin/install
2508 # AmigaOS /C/install, which installs bootblocks on floppy discs
2509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2512 # OS/2's system install, which has a completely different semantic
2513 # ./install, which can be erroneously created by make from ./install.sh.
2514 # Reject install programs that cannot install multiple files.
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2516 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2517 if test -z "$INSTALL"; then
2518 if ${ac_cv_path_install+:} false
; then :
2519 $as_echo_n "(cached) " >&6
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 # Account for people who put trailing slashes in PATH elements.
2527 case $as_dir/ in #((
2528 .
/ | .
// | /[cC
]/* | \
2529 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2530 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2533 # OSF1 and SCO ODT 3.0 have their own names for install.
2534 # Don't use installbsd from OSF since it installs stuff as root
2536 for ac_prog
in ginstall scoinst
install; do
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2539 if test $ac_prog = install &&
2540 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2541 # AIX install. It has an incompatible calling convention.
2543 elif test $ac_prog = install &&
2544 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2545 # program-specific install script used by HP pwplus--don't use.
2548 rm -rf conftest.one conftest.two conftest.dir
2549 echo one
> conftest.one
2550 echo two
> conftest.two
2552 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2553 test -s conftest.one
&& test -s conftest.two
&&
2554 test -s conftest.dir
/conftest.one
&&
2555 test -s conftest.dir
/conftest.two
2557 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2570 rm -rf conftest.one conftest.two conftest.dir
2573 if test "${ac_cv_path_install+set}" = set; then
2574 INSTALL
=$ac_cv_path_install
2576 # As a last resort, use the slow shell script. Don't cache a
2577 # value for INSTALL within a source directory, because that will
2578 # break other packages using the cache if that directory is
2579 # removed, or if the value is a relative name.
2580 INSTALL
=$ac_install_sh
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2584 $as_echo "$INSTALL" >&6; }
2586 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2587 # It thinks the first close brace ends the variable substitution.
2588 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2590 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2592 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2595 $as_echo_n "checking whether build environment is sane... " >&6; }
2598 echo timestamp
> conftest.
file
2599 # Reject unsafe characters in $srcdir or the absolute working directory
2600 # name. Accept space and tab only in the latter.
2604 *[\\\"\#\$\&\'\`$am_lf]*)
2605 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2608 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2609 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2612 # Do `set' in a subshell so we don't clobber the current shell's
2613 # arguments. Must try -L first in case configure is actually a
2614 # symlink; some systems play weird games with the mod time of symlinks
2615 # (eg FreeBSD returns the mod time of the symlink's containing
2618 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2619 if test "$*" = "X"; then
2621 set X
`ls -t "$srcdir/configure" conftest.file`
2624 if test "$*" != "X $srcdir/configure conftest.file" \
2625 && test "$*" != "X conftest.file $srcdir/configure"; then
2627 # If neither matched, then we have a broken ls. This can happen
2628 # if, for instance, CONFIG_SHELL is bash and it inherits a
2629 # broken ls alias from the environment. This has actually
2630 # happened. Such a system could not be considered "sane".
2631 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2632 alias in your environment" "$LINENO" 5
2635 test "$2" = conftest.
file
2641 as_fn_error $?
"newly created file is older than distributed files!
2642 Check your system clock" "$LINENO" 5
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2645 $as_echo "yes" >&6; }
2646 test "$program_prefix" != NONE
&&
2647 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2648 # Use a double $ so make ignores it.
2649 test "$program_suffix" != NONE
&&
2650 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2651 # Double any \ or $.
2652 # By default was `s,x,x', remove it if useless.
2653 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2654 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2656 # expand $ac_aux_dir to an absolute path
2657 am_aux_dir
=`cd $ac_aux_dir && pwd`
2659 if test x
"${MISSING+set}" != xset
; then
2662 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2664 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2667 # Use eval to expand $SHELL
2668 if eval "$MISSING --run true"; then
2669 am_missing_run
="$MISSING --run "
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2673 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2676 if test x
"${install_sh}" != xset
; then
2679 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2681 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2685 # Installed binaries are usually stripped using `strip' when the user
2686 # run `make install-strip'. However `strip' might not be the right
2687 # tool to use in cross-compilation environments, therefore Automake
2688 # will honor the `STRIP' environment variable to overrule this program.
2689 if test "$cross_compiling" != no
; then
2690 if test -n "$ac_tool_prefix"; then
2691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2692 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694 $as_echo_n "checking for $ac_word... " >&6; }
2695 if ${ac_cv_prog_STRIP+:} false
; then :
2696 $as_echo_n "(cached) " >&6
2698 if test -n "$STRIP"; then
2699 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2705 test -z "$as_dir" && as_dir
=.
2706 for ac_exec_ext
in '' $ac_executable_extensions; do
2707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 STRIP
=$ac_cv_prog_STRIP
2719 if test -n "$STRIP"; then
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2721 $as_echo "$STRIP" >&6; }
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724 $as_echo "no" >&6; }
2729 if test -z "$ac_cv_prog_STRIP"; then
2731 # Extract the first word of "strip", so it can be a program name with args.
2732 set dummy strip
; ac_word
=$2
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734 $as_echo_n "checking for $ac_word... " >&6; }
2735 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2736 $as_echo_n "(cached) " >&6
2738 if test -n "$ac_ct_STRIP"; then
2739 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 for ac_exec_ext
in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 ac_cv_prog_ac_ct_STRIP
="strip"
2749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2759 if test -n "$ac_ct_STRIP"; then
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2761 $as_echo "$ac_ct_STRIP" >&6; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764 $as_echo "no" >&6; }
2767 if test "x$ac_ct_STRIP" = x
; then
2770 case $cross_compiling:$ac_tool_warned in
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2774 ac_tool_warned
=yes ;;
2779 STRIP
="$ac_cv_prog_STRIP"
2783 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2786 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2787 if test -z "$MKDIR_P"; then
2788 if ${ac_cv_path_mkdir+:} false
; then :
2789 $as_echo_n "(cached) " >&6
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2795 test -z "$as_dir" && as_dir
=.
2796 for ac_prog
in mkdir gmkdir
; do
2797 for ac_exec_ext
in '' $ac_executable_extensions; do
2798 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2799 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2800 'mkdir (GNU coreutils) '* | \
2801 'mkdir (coreutils) '* | \
2802 'mkdir (fileutils) '4.1*)
2803 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2813 test -d .
/--version && rmdir .
/--version
2814 if test "${ac_cv_path_mkdir+set}" = set; then
2815 MKDIR_P
="$ac_cv_path_mkdir -p"
2817 # As a last resort, use the slow shell script. Don't cache a
2818 # value for MKDIR_P within a source directory, because that will
2819 # break other packages using the cache if that directory is
2820 # removed, or if the value is a relative name.
2821 MKDIR_P
="$ac_install_sh -d"
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2825 $as_echo "$MKDIR_P" >&6; }
2829 [\\/$
]* | ?
:[\\/]*) ;;
2830 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2833 for ac_prog
in gawk mawk nawk
awk
2835 # Extract the first word of "$ac_prog", so it can be a program name with args.
2836 set dummy
$ac_prog; ac_word
=$2
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838 $as_echo_n "checking for $ac_word... " >&6; }
2839 if ${ac_cv_prog_AWK+:} false
; then :
2840 $as_echo_n "(cached) " >&6
2842 if test -n "$AWK"; then
2843 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir
=.
2850 for ac_exec_ext
in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 ac_cv_prog_AWK
="$ac_prog"
2853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 if test -n "$AWK"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2865 $as_echo "$AWK" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2872 test -n "$AWK" && break
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2876 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2878 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2879 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2880 $as_echo_n "(cached) " >&6
2882 cat >conftest.
make <<\_ACEOF
2885 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2887 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2888 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2890 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2892 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2896 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2898 $as_echo "yes" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2903 SET_MAKE
="MAKE=${MAKE-make}"
2906 rm -rf .tst
2>/dev
/null
2907 mkdir .tst
2>/dev
/null
2908 if test -d .tst
; then
2913 rmdir .tst
2>/dev
/null
2915 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2916 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2917 # is not polluted with repeated "-I."
2918 am__isrc
=' -I$(srcdir)'
2919 # test to see if srcdir already configured
2920 if test -f $srcdir/config.status
; then
2921 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2925 # test whether we have cygpath
2926 if test -z "$CYGPATH_W"; then
2927 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2928 CYGPATH_W
='cygpath -w'
2935 # Define the identity of the package.
2940 # Some tools Automake needs.
2942 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2945 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2948 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2951 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2954 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2956 # We need awk for the "check" target. The system "awk" is bad on
2958 # Always define AMTAR for backward compatibility.
2960 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2962 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2969 ac_config_headers
="$ac_config_headers include/libratbox_config.h"
2973 DEPDIR
="${am__leading_dot}deps"
2975 ac_config_commands
="$ac_config_commands depfiles"
2978 am_make
=${MAKE-make}
2979 cat > confinc
<< 'END'
2981 @echo this is the am__doit target
2984 # If we don't find an include directive, just comment out the code.
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2986 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2990 # First try GNU make style include.
2991 echo "include confinc" > confmf
2992 # Ignore all kinds of additional output from `make'.
2993 case `$am_make -s -f confmf 2> /dev/null` in #(
2994 *the\ am__doit\ target
*)
3000 # Now try BSD make style include.
3001 if test "$am__include" = "#"; then
3002 echo '.include "confinc"' > confmf
3003 case `$am_make -s -f confmf 2> /dev/null` in #(
3004 *the\ am__doit\ target
*)
3005 am__include
=.include
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3014 $as_echo "$_am_result" >&6; }
3015 rm -f confinc confmf
3017 # Check whether --enable-dependency-tracking was given.
3018 if test "${enable_dependency_tracking+set}" = set; then :
3019 enableval
=$enable_dependency_tracking;
3022 if test "x$enable_dependency_tracking" != xno
; then
3023 am_depcomp
="$ac_aux_dir/depcomp"
3026 if test "x$enable_dependency_tracking" != xno; then
3036 ac_cpp
='$CPP $CPPFLAGS'
3037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3040 if test -n "$ac_tool_prefix"; then
3041 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3042 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3044 $as_echo_n "checking for $ac_word... " >&6; }
3045 if ${ac_cv_prog_CC+:} false
; then :
3046 $as_echo_n "(cached) " >&6
3048 if test -n "$CC"; then
3049 ac_cv_prog_CC
="$CC" # Let the user override the test.
3051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3055 test -z "$as_dir" && as_dir
=.
3056 for ac_exec_ext
in '' $ac_executable_extensions; do
3057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3058 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 if test -n "$CC"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3071 $as_echo "$CC" >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3079 if test -z "$ac_cv_prog_CC"; then
3081 # Extract the first word of "gcc", so it can be a program name with args.
3082 set dummy gcc
; ac_word
=$2
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3084 $as_echo_n "checking for $ac_word... " >&6; }
3085 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3086 $as_echo_n "(cached) " >&6
3088 if test -n "$ac_ct_CC"; then
3089 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3095 test -z "$as_dir" && as_dir
=.
3096 for ac_exec_ext
in '' $ac_executable_extensions; do
3097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3098 ac_cv_prog_ac_ct_CC
="gcc"
3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3109 if test -n "$ac_ct_CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3111 $as_echo "$ac_ct_CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3117 if test "x$ac_ct_CC" = x
; then
3120 case $cross_compiling:$ac_tool_warned in
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3124 ac_tool_warned
=yes ;;
3132 if test -z "$CC"; then
3133 if test -n "$ac_tool_prefix"; then
3134 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3135 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_CC+:} false
; then :
3139 $as_echo_n "(cached) " >&6
3141 if test -n "$CC"; then
3142 ac_cv_prog_CC
="$CC" # Let the user override the test.
3144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir
=.
3149 for ac_exec_ext
in '' $ac_executable_extensions; do
3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 if test -n "$CC"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3164 $as_echo "$CC" >&6; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3173 if test -z "$CC"; then
3174 # Extract the first word of "cc", so it can be a program name with args.
3175 set dummy cc
; ac_word
=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if ${ac_cv_prog_CC+:} false
; then :
3179 $as_echo_n "(cached) " >&6
3181 if test -n "$CC"; then
3182 ac_cv_prog_CC
="$CC" # Let the user override the test.
3185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir
=.
3190 for ac_exec_ext
in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3193 ac_prog_rejected
=yes
3197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 if test $ac_prog_rejected = yes; then
3205 # We found a bogon in the path, so make sure we never use it.
3206 set dummy
$ac_cv_prog_CC
3208 if test $# != 0; then
3209 # We chose a different compiler from the bogus one.
3210 # However, it has the same basename, so the bogon will be chosen
3211 # first if we set CC to just the basename; use the full file name.
3213 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3219 if test -n "$CC"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3221 $as_echo "$CC" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3229 if test -z "$CC"; then
3230 if test -n "$ac_tool_prefix"; then
3231 for ac_prog
in cl.exe
3233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3234 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236 $as_echo_n "checking for $ac_word... " >&6; }
3237 if ${ac_cv_prog_CC+:} false
; then :
3238 $as_echo_n "(cached) " >&6
3240 if test -n "$CC"; then
3241 ac_cv_prog_CC
="$CC" # Let the user override the test.
3243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3247 test -z "$as_dir" && as_dir
=.
3248 for ac_exec_ext
in '' $ac_executable_extensions; do
3249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3250 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 if test -n "$CC"; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3263 $as_echo "$CC" >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3270 test -n "$CC" && break
3273 if test -z "$CC"; then
3275 for ac_prog
in cl.exe
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_ac_ct_CC+:} false
; then :
3282 $as_echo_n "(cached) " >&6
3284 if test -n "$ac_ct_CC"; then
3285 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3294 ac_cv_prog_ac_ct_CC
="$ac_prog"
3295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3305 if test -n "$ac_ct_CC"; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3307 $as_echo "$ac_ct_CC" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3314 test -n "$ac_ct_CC" && break
3317 if test "x$ac_ct_CC" = x
; then
3320 case $cross_compiling:$ac_tool_warned in
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3324 ac_tool_warned
=yes ;;
3333 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335 as_fn_error $?
"no acceptable C compiler found in \$PATH
3336 See \`config.log' for more details" "$LINENO" 5; }
3338 # Provide some information about the compiler.
3339 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3342 for ac_option
in --version -v -V -qversion; do
3343 { { ac_try
="$ac_compiler $ac_option >&5"
3345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3352 if test -s conftest.err; then
3354 ... rest of stderr output deleted ...
3355 10q' conftest.err >conftest.er1
3356 cat conftest.er1 >&5
3358 rm -f conftest.er1 conftest.err
3359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3360 test $ac_status = 0; }
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3374 ac_clean_files_save=$ac_clean_files
3375 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3376 # Try to create an executable without -o first, disregard a.out.
3377 # It will help us diagnose broken compilers, and finding out an intuition
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3380 $as_echo_n "checking whether the C compiler works... " >&6; }
3381 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3383 # The possible output files:
3384 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3387 for ac_file in $ac_files
3390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3391 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3396 if { { ac_try="$ac_link_default"
3398 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3399 *) ac_try_echo
=$ac_try;;
3401 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402 $as_echo "$ac_try_echo"; } >&5
3403 (eval "$ac_link_default") 2>&5
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }; then :
3407 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3408 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3409 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3410 # so that the user can short-circuit this test for compilers unknown to
3412 for ac_file
in $ac_files ''
3414 test -f "$ac_file" || continue
3416 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3419 # We found the default executable, but exeext='' is most
3423 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3425 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3427 # We set ac_cv_exeext here because the later test for it is not
3428 # safe: cross compilers may not add the suffix if given an `-o'
3429 # argument, so we may need to know it at that point already.
3430 # Even if this section looks crufty: it has the advantage of
3437 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3442 if test -z "$ac_file"; then :
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3445 $as_echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.
$ac_ext >&5
3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error
77 "C compiler cannot create executables
3451 See \`config.log' for more details" "$LINENO" 5; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3454 $as_echo "yes" >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3457 $as_echo_n "checking for C compiler default output file name... " >&6; }
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3459 $as_echo "$ac_file" >&6; }
3460 ac_exeext
=$ac_cv_exeext
3462 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3463 ac_clean_files
=$ac_clean_files_save
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3465 $as_echo_n "checking for suffix of executables... " >&6; }
3466 if { { ac_try
="$ac_link"
3468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472 $as_echo "$ac_try_echo"; } >&5
3473 (eval "$ac_link") 2>&5
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }; then :
3477 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3478 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3479 # work properly (i.e., refer to `conftest.exe'), while it won't with
3481 for ac_file
in conftest.exe conftest conftest.
*; do
3482 test -f "$ac_file" || continue
3484 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3485 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3493 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3494 See \`config.log' for more details" "$LINENO" 5; }
3496 rm -f conftest conftest
$ac_cv_exeext
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3498 $as_echo "$ac_cv_exeext" >&6; }
3500 rm -f conftest.
$ac_ext
3501 EXEEXT
=$ac_cv_exeext
3503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3509 FILE *f = fopen ("conftest.out", "w");
3510 return ferror (f) || fclose (f) != 0;
3516 ac_clean_files
="$ac_clean_files conftest.out"
3517 # Check that the compiler produces executables we can run. If not, either
3518 # the compiler is broken, or we cross compile.
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3520 $as_echo_n "checking whether we are cross compiling... " >&6; }
3521 if test "$cross_compiling" != yes; then
3522 { { ac_try
="$ac_link"
3524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3525 *) ac_try_echo=$ac_try;;
3527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3528 $as_echo "$ac_try_echo"; } >&5
3529 (eval "$ac_link") 2>&5
3531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3532 test $ac_status = 0; }
3533 if { ac_try='./conftest$ac_cv_exeext'
3534 { { case "(($ac_try" in
3535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3536 *) ac_try_echo
=$ac_try;;
3538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_try") 2>&5
3542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543 test $ac_status = 0; }; }; then
3546 if test "$cross_compiling" = maybe
; then
3549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551 as_fn_error $?
"cannot run C compiled programs.
3552 If you meant to cross compile, use \`--host'.
3553 See \`config.log' for more details" "$LINENO" 5; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3558 $as_echo "$cross_compiling" >&6; }
3560 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3561 ac_clean_files
=$ac_clean_files_save
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3563 $as_echo_n "checking for suffix of object files... " >&6; }
3564 if ${ac_cv_objext+:} false
; then :
3565 $as_echo_n "(cached) " >&6
3567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3578 rm -f conftest.o conftest.obj
3579 if { { ac_try
="$ac_compile"
3581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3582 *) ac_try_echo=$ac_try;;
3584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3585 $as_echo "$ac_try_echo"; } >&5
3586 (eval "$ac_compile") 2>&5
3588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3589 test $ac_status = 0; }; then :
3590 for ac_file in conftest.o conftest.obj conftest.*; do
3591 test -f "$ac_file" || continue;
3593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3594 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3599 $as_echo "$as_me: failed program was:" >&5
3600 sed 's/^/| /' conftest.$ac_ext >&5
3602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3604 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3605 See \
`config.log' for more details" "$LINENO" 5; }
3607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3610 $as_echo "$ac_cv_objext" >&6; }
3611 OBJEXT=$ac_cv_objext
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3614 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3615 if ${ac_cv_c_compiler_gnu+:} false; then :
3616 $as_echo_n "(cached) " >&6
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3632 if ac_fn_c_try_compile "$LINENO"; then :
3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3642 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3643 if test $ac_compiler_gnu = yes; then
3648 ac_test_CFLAGS=${CFLAGS+set}
3649 ac_save_CFLAGS=$CFLAGS
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3651 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3652 if ${ac_cv_prog_cc_g+:} false; then :
3653 $as_echo_n "(cached) " >&6
3655 ac_save_c_werror_flag=$ac_c_werror_flag
3656 ac_c_werror_flag=yes
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3670 if ac_fn_c_try_compile "$LINENO"; then :
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h. */
3685 if ac_fn_c_try_compile "$LINENO"; then :
3688 ac_c_werror_flag=$ac_save_c_werror_flag
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3701 if ac_fn_c_try_compile "$LINENO"; then :
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709 ac_c_werror_flag=$ac_save_c_werror_flag
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3712 $as_echo "$ac_cv_prog_cc_g" >&6; }
3713 if test "$ac_test_CFLAGS" = set; then
3714 CFLAGS=$ac_save_CFLAGS
3715 elif test $ac_cv_prog_cc_g = yes; then
3716 if test "$GCC" = yes; then
3722 if test "$GCC" = yes; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3729 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3730 if ${ac_cv_prog_cc_c89+:} false; then :
3731 $as_echo_n "(cached) " >&6
3733 ac_cv_prog_cc_c89=no
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3739 #include <sys/types.h>
3740 #include <sys/stat.h>
3741 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3742 struct buf { int x; };
3743 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3744 static char *e (p, i)
3750 static char *f (char * (*g) (char **, int), char **p, ...)
3755 s = g (p, va_arg (v,int));
3760 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3761 function prototypes and stuff, but not '\xHH' hex character constants.
3762 These don't provoke an error unfortunately, instead are silently treated
3763 as 'x'. The following induces an error, until -std is added to get
3764 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3765 array size at least. It's necessary to write '\x00'==0 to get something
3766 that's true only with -std. */
3767 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3769 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3770 inside strings and character constants. */
3772 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3774 int test (int i, double x);
3775 struct s1 {int (*f) (int a);};
3776 struct s2 {int (*f) (double a);};
3777 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3783 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3788 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3789 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3791 CC="$ac_save_CC $ac_arg"
3792 if ac_fn_c_try_compile "$LINENO"; then :
3793 ac_cv_prog_cc_c89=$ac_arg
3795 rm -f core conftest.err conftest.$ac_objext
3796 test "x$ac_cv_prog_cc_c89" != "xno" && break
3798 rm -f conftest.$ac_ext
3803 case "x$ac_cv_prog_cc_c89" in
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3806 $as_echo "none needed" >&6; } ;;
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3809 $as_echo "unsupported" >&6; } ;;
3811 CC="$CC $ac_cv_prog_cc_c89"
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3813 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3815 if test "x$ac_cv_prog_cc_c89" != xno; then :
3820 ac_cpp='$CPP $CPPFLAGS'
3821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3825 depcc="$CC" am_compiler_list=
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3828 $as_echo_n "checking dependency style of $depcc... " >&6; }
3829 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3830 $as_echo_n "(cached) " >&6
3832 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3833 # We make a subdir and do the tests there. Otherwise we can end up
3834 # making bogus files that we don't know about and never remove. For
3835 # instance it was reported that on HP-UX the gcc test will end up
3836 # making a dummy file named `D
' -- because `-MD' means
`put the output
3839 # Copy depcomp to subdir because otherwise we won't find it if we're
3840 # using a relative directory.
3841 cp "$am_depcomp" conftest.dir
3843 # We will build objects and dependencies in a subdirectory because
3844 # it helps to detect inapplicable dependency modes. For instance
3845 # both Tru64's cc and ICC support -MD to output dependencies as a
3846 # side effect of compilation, but ICC will put the dependencies in
3847 # the current directory while Tru64 will put them in the object
3851 am_cv_CC_dependencies_compiler_type=none
3852 if test "$am_compiler_list" = ""; then
3853 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3856 case " $depcc " in #(
3857 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3860 for depmode in $am_compiler_list; do
3861 # Setup a source with many dependencies, because some compilers
3862 # like to wrap large dependency lists on column 80 (with \), and
3863 # we should not choose a depcomp mode which is confused by this.
3865 # We need to recreate these files for each test, as the compiler may
3866 # overwrite some of them when testing with obscure command lines.
3867 # This happens at least with the AIX C compiler.
3869 for i in 1 2 3 4 5 6; do
3870 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3871 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3872 # Solaris 8's
{/usr
,}/bin
/sh.
3873 touch sub
/conftst
$i.h
3875 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3877 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3878 # mode. It turns out that the SunPro C++ compiler does not properly
3879 # handle `-M -o', and we need to detect this. Also, some Intel
3880 # versions had trouble with output in subdirs
3881 am__obj
=sub
/conftest.
${OBJEXT-o}
3882 am__minus_obj
="-o $am__obj"
3885 # This depmode causes a compiler race in universal mode.
3886 test "$am__universal" = false
|| continue
3889 # after this tag, mechanisms are not by side-effect, so they'll
3890 # only be used when explicitly requested
3891 if test "x$enable_dependency_tracking" = xyes
; then
3897 msvisualcpp
| msvcmsys
)
3898 # This compiler won't grok `-c -o', but also, the minuso test has
3899 # not run yet. These depmodes are late enough in the game, and
3900 # so weak that their functioning should not be impacted.
3901 am__obj
=conftest.
${OBJEXT-o}
3906 if depmode
=$depmode \
3907 source=sub
/conftest.c object
=$am__obj \
3908 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3909 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3910 >/dev
/null
2>conftest.err
&&
3911 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3912 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3913 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3914 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3915 # icc doesn't choke on unknown options, it will just issue warnings
3916 # or remarks (even with -Werror). So we grep stderr for any message
3917 # that says an option was ignored or not supported.
3918 # When given -MP, icc 7.0 and 7.1 complain thusly:
3919 # icc: Command line warning: ignoring option '-M'; no argument required
3920 # The diagnosis changed in icc 8.0:
3921 # icc: Command line remark: option '-MP' not supported
3922 if (grep 'ignoring option' conftest.err
||
3923 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3924 am_cv_CC_dependencies_compiler_type
=$depmode
3933 am_cv_CC_dependencies_compiler_type
=none
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3938 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3939 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3942 test "x$enable_dependency_tracking" != xno \
3943 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3945 am__fastdepCC_FALSE
='#'
3947 am__fastdepCC_TRUE
='#'
3948 am__fastdepCC_FALSE
=
3954 ac_cpp
='$CPP $CPPFLAGS'
3955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3959 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3960 # On Suns, sometimes $CPP names a directory.
3961 if test -n "$CPP" && test -d "$CPP"; then
3964 if test -z "$CPP"; then
3965 if ${ac_cv_prog_CPP+:} false
; then :
3966 $as_echo_n "(cached) " >&6
3968 # Double quotes because CPP needs to be expanded
3969 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3972 for ac_c_preproc_warn_flag
in '' yes
3974 # Use a header file that comes with gcc, so configuring glibc
3975 # with a fresh cross-compiler works.
3976 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3977 # <limits.h> exists even on freestanding compilers.
3978 # On the NeXT, cc -E runs the code through the compiler's parser,
3979 # not just through cpp. "Syntax error" is here to catch this case.
3980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3983 # include <limits.h>
3985 # include <assert.h>
3989 if ac_fn_c_try_cpp
"$LINENO"; then :
3992 # Broken: fails on valid input.
3995 rm -f conftest.err conftest.i conftest.
$ac_ext
3997 # OK, works on sane cases. Now check whether nonexistent headers
3998 # can be detected and how.
3999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4001 #include <ac_nonexistent.h>
4003 if ac_fn_c_try_cpp
"$LINENO"; then :
4004 # Broken: success on invalid input.
4007 # Passes both tests.
4011 rm -f conftest.err conftest.i conftest.
$ac_ext
4014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4015 rm -f conftest.i conftest.err conftest.
$ac_ext
4016 if $ac_preproc_ok; then :
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4029 $as_echo "$CPP" >&6; }
4031 for ac_c_preproc_warn_flag
in '' yes
4033 # Use a header file that comes with gcc, so configuring glibc
4034 # with a fresh cross-compiler works.
4035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4036 # <limits.h> exists even on freestanding compilers.
4037 # On the NeXT, cc -E runs the code through the compiler's parser,
4038 # not just through cpp. "Syntax error" is here to catch this case.
4039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4042 # include <limits.h>
4044 # include <assert.h>
4048 if ac_fn_c_try_cpp
"$LINENO"; then :
4051 # Broken: fails on valid input.
4054 rm -f conftest.err conftest.i conftest.
$ac_ext
4056 # OK, works on sane cases. Now check whether nonexistent headers
4057 # can be detected and how.
4058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4060 #include <ac_nonexistent.h>
4062 if ac_fn_c_try_cpp
"$LINENO"; then :
4063 # Broken: success on invalid input.
4066 # Passes both tests.
4070 rm -f conftest.err conftest.i conftest.
$ac_ext
4073 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4074 rm -f conftest.i conftest.err conftest.
$ac_ext
4075 if $ac_preproc_ok; then :
4078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4081 See \`config.log' for more details" "$LINENO" 5; }
4085 ac_cpp
='$CPP $CPPFLAGS'
4086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4092 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4093 if ${ac_cv_path_GREP+:} false
; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -z "$GREP"; then
4097 ac_path_GREP_found
=false
4098 # Loop through the user's path and test for each of PROGNAME-LIST
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4100 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_prog
in grep ggrep
; do
4105 for ac_exec_ext
in '' $ac_executable_extensions; do
4106 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4107 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4108 # Check for GNU ac_path_GREP and select it if it is found.
4109 # Check for GNU $ac_path_GREP
4110 case `"$ac_path_GREP" --version 2>&1` in
4112 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4115 $as_echo_n 0123456789 >"conftest.in"
4118 cat "conftest.in" "conftest.in" >"conftest.tmp"
4119 mv "conftest.tmp" "conftest.in"
4120 cp "conftest.in" "conftest.nl"
4121 $as_echo 'GREP' >> "conftest.nl"
4122 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4123 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4124 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4125 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4126 # Best one so far, save it but keep looking for a better one
4127 ac_cv_path_GREP
="$ac_path_GREP"
4128 ac_path_GREP_max
=$ac_count
4130 # 10*(2^10) chars as input seems more than enough
4131 test $ac_count -gt 10 && break
4133 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4136 $ac_path_GREP_found && break 3
4141 if test -z "$ac_cv_path_GREP"; then
4142 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4145 ac_cv_path_GREP
=$GREP
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4150 $as_echo "$ac_cv_path_GREP" >&6; }
4151 GREP
="$ac_cv_path_GREP"
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4155 $as_echo_n "checking for egrep... " >&6; }
4156 if ${ac_cv_path_EGREP+:} false
; then :
4157 $as_echo_n "(cached) " >&6
4159 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4160 then ac_cv_path_EGREP
="$GREP -E"
4162 if test -z "$EGREP"; then
4163 ac_path_EGREP_found
=false
4164 # Loop through the user's path and test for each of PROGNAME-LIST
4165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4166 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4169 test -z "$as_dir" && as_dir
=.
4170 for ac_prog
in egrep; do
4171 for ac_exec_ext
in '' $ac_executable_extensions; do
4172 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4173 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4174 # Check for GNU ac_path_EGREP and select it if it is found.
4175 # Check for GNU $ac_path_EGREP
4176 case `"$ac_path_EGREP" --version 2>&1` in
4178 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4181 $as_echo_n 0123456789 >"conftest.in"
4184 cat "conftest.in" "conftest.in" >"conftest.tmp"
4185 mv "conftest.tmp" "conftest.in"
4186 cp "conftest.in" "conftest.nl"
4187 $as_echo 'EGREP' >> "conftest.nl"
4188 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4189 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4190 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4191 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4192 # Best one so far, save it but keep looking for a better one
4193 ac_cv_path_EGREP
="$ac_path_EGREP"
4194 ac_path_EGREP_max
=$ac_count
4196 # 10*(2^10) chars as input seems more than enough
4197 test $ac_count -gt 10 && break
4199 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4202 $ac_path_EGREP_found && break 3
4207 if test -z "$ac_cv_path_EGREP"; then
4208 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4211 ac_cv_path_EGREP
=$EGREP
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4217 $as_echo "$ac_cv_path_EGREP" >&6; }
4218 EGREP
="$ac_cv_path_EGREP"
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4222 $as_echo_n "checking for ANSI C header files... " >&6; }
4223 if ${ac_cv_header_stdc+:} false
; then :
4224 $as_echo_n "(cached) " >&6
4226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4241 if ac_fn_c_try_compile
"$LINENO"; then :
4242 ac_cv_header_stdc
=yes
4244 ac_cv_header_stdc
=no
4246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4248 if test $ac_cv_header_stdc = yes; then
4249 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4256 $EGREP "memchr" >/dev
/null
2>&1; then :
4259 ac_cv_header_stdc
=no
4265 if test $ac_cv_header_stdc = yes; then
4266 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4273 $EGREP "free" >/dev
/null
2>&1; then :
4276 ac_cv_header_stdc
=no
4282 if test $ac_cv_header_stdc = yes; then
4283 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4284 if test "$cross_compiling" = yes; then :
4287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 #if ((' ' & 0x0FF) == 0x020)
4292 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4293 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4295 # define ISLOWER(c) \
4296 (('a' <= (c) && (c) <= 'i') \
4297 || ('j' <= (c) && (c) <= 'r') \
4298 || ('s' <= (c) && (c) <= 'z'))
4299 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4302 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4307 for (i = 0; i < 256; i++)
4308 if (XOR (islower (i), ISLOWER (i))
4309 || toupper (i) != TOUPPER (i))
4314 if ac_fn_c_try_run
"$LINENO"; then :
4317 ac_cv_header_stdc
=no
4319 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4320 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4326 $as_echo "$ac_cv_header_stdc" >&6; }
4327 if test $ac_cv_header_stdc = yes; then
4329 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4333 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4334 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4335 inttypes.h stdint.h unistd.h
4337 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4338 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4340 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4341 cat >>confdefs.h
<<_ACEOF
4342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4351 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4352 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4359 if test "$MINIX" = yes; then
4361 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4364 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4367 $as_echo "#define _MINIX 1" >>confdefs.h
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4373 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4374 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4375 $as_echo_n "(cached) " >&6
4377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4378 /* end confdefs.h. */
4380 # define __EXTENSIONS__ 1
4381 $ac_includes_default
4390 if ac_fn_c_try_compile
"$LINENO"; then :
4391 ac_cv_safe_to_define___extensions__
=yes
4393 ac_cv_safe_to_define___extensions__
=no
4395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4398 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4399 test $ac_cv_safe_to_define___extensions__ = yes &&
4400 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4402 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4404 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4406 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4408 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4414 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4415 if ${ac_cv_prog_cc_c99+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 ac_cv_prog_cc_c99
=no
4420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4423 #include <stdbool.h>
4428 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4429 #define debug(...) fprintf (stderr, __VA_ARGS__)
4430 #define showlist(...) puts (#__VA_ARGS__)
4431 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4433 test_varargs_macros (void)
4438 debug ("X = %d\n", x);
4439 showlist (The first, second, and third items.);
4440 report (x>y, "x is %d but y is %d", x, y);
4443 // Check long long types.
4444 #define BIG64 18446744073709551615ull
4445 #define BIG32 4294967295ul
4446 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4448 your preprocessor is broken;
4452 your preprocessor is broken;
4454 static long long int bignum = -9223372036854775807LL;
4455 static unsigned long long int ubignum = BIG64;
4457 struct incomplete_array
4465 const wchar_t *name;
4469 typedef const char *ccp;
4472 test_restrict (ccp restrict text)
4474 // See if C++-style comments work.
4475 // Iterate through items via the restricted pointer.
4476 // Also check for declarations in for loops.
4477 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4482 // Check varargs and va_copy.
4484 test_varargs (const char *format, ...)
4487 va_start (args, format);
4489 va_copy (args_copy, args);
4500 str = va_arg (args_copy, const char *);
4503 number = va_arg (args_copy, int);
4506 fnumber = va_arg (args_copy, double);
4521 _Bool success = false;
4524 if (test_restrict ("String literal") == 0)
4526 char *restrict newvar = "Another string";
4529 test_varargs ("s, d' f .", "string", 65, 34.234);
4530 test_varargs_macros ();
4532 // Check flexible array members.
4533 struct incomplete_array *ia =
4534 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4536 for (int i = 0; i < ia->datasize; ++i)
4537 ia->data[i] = i * 1.234;
4539 // Check named initializers.
4540 struct named_init ni = {
4542 .name = L"Test wide string",
4543 .average = 543.34343,
4548 int dynamic_array[ni.number];
4549 dynamic_array[ni.number - 1] = 543;
4551 // work around unused variable warnings
4552 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4553 || dynamic_array[ni.number - 1] != 543);
4559 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
4561 CC
="$ac_save_CC $ac_arg"
4562 if ac_fn_c_try_compile
"$LINENO"; then :
4563 ac_cv_prog_cc_c99
=$ac_arg
4565 rm -f core conftest.err conftest.
$ac_objext
4566 test "x$ac_cv_prog_cc_c99" != "xno" && break
4568 rm -f conftest.
$ac_ext
4573 case "x$ac_cv_prog_cc_c99" in
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4576 $as_echo "none needed" >&6; } ;;
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4579 $as_echo "unsupported" >&6; } ;;
4581 CC
="$CC $ac_cv_prog_cc_c99"
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4583 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4585 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4591 if test x
"$ac_cv_prog_cc_c99" = "xno"; then
4592 as_fn_error $?
"ircd-ratbox requires a C99 capable compiler" "$LINENO" 5
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4598 $as_echo_n "checking for egrep... " >&6; }
4599 if ${ac_cv_path_EGREP+:} false
; then :
4600 $as_echo_n "(cached) " >&6
4602 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4603 then ac_cv_path_EGREP
="$GREP -E"
4605 if test -z "$EGREP"; then
4606 ac_path_EGREP_found
=false
4607 # Loop through the user's path and test for each of PROGNAME-LIST
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4609 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_prog
in egrep; do
4614 for ac_exec_ext
in '' $ac_executable_extensions; do
4615 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4616 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4617 # Check for GNU ac_path_EGREP and select it if it is found.
4618 # Check for GNU $ac_path_EGREP
4619 case `"$ac_path_EGREP" --version 2>&1` in
4621 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4624 $as_echo_n 0123456789 >"conftest.in"
4627 cat "conftest.in" "conftest.in" >"conftest.tmp"
4628 mv "conftest.tmp" "conftest.in"
4629 cp "conftest.in" "conftest.nl"
4630 $as_echo 'EGREP' >> "conftest.nl"
4631 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4632 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4633 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4634 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4635 # Best one so far, save it but keep looking for a better one
4636 ac_cv_path_EGREP
="$ac_path_EGREP"
4637 ac_path_EGREP_max
=$ac_count
4639 # 10*(2^10) chars as input seems more than enough
4640 test $ac_count -gt 10 && break
4642 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4645 $ac_path_EGREP_found && break 3
4650 if test -z "$ac_cv_path_EGREP"; then
4651 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4654 ac_cv_path_EGREP
=$EGREP
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4660 $as_echo "$ac_cv_path_EGREP" >&6; }
4661 EGREP
="$ac_cv_path_EGREP"
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4665 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4666 if ${ac_cv_path_SED+:} false
; then :
4667 $as_echo_n "(cached) " >&6
4669 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4670 for ac_i
in 1 2 3 4 5 6 7; do
4671 ac_script
="$ac_script$as_nl$ac_script"
4673 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
4674 { ac_script
=; unset ac_script
;}
4675 if test -z "$SED"; then
4676 ac_path_SED_found
=false
4677 # Loop through the user's path and test for each of PROGNAME-LIST
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_prog
in sed gsed
; do
4684 for ac_exec_ext
in '' $ac_executable_extensions; do
4685 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4686 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4687 # Check for GNU ac_path_SED and select it if it is found.
4688 # Check for GNU $ac_path_SED
4689 case `"$ac_path_SED" --version 2>&1` in
4691 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4694 $as_echo_n 0123456789 >"conftest.in"
4697 cat "conftest.in" "conftest.in" >"conftest.tmp"
4698 mv "conftest.tmp" "conftest.in"
4699 cp "conftest.in" "conftest.nl"
4700 $as_echo '' >> "conftest.nl"
4701 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4702 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4703 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4704 if test $ac_count -gt ${ac_path_SED_max-0}; then
4705 # Best one so far, save it but keep looking for a better one
4706 ac_cv_path_SED
="$ac_path_SED"
4707 ac_path_SED_max
=$ac_count
4709 # 10*(2^10) chars as input seems more than enough
4710 test $ac_count -gt 10 && break
4712 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4715 $ac_path_SED_found && break 3
4720 if test -z "$ac_cv_path_SED"; then
4721 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4729 $as_echo "$ac_cv_path_SED" >&6; }
4730 SED
="$ac_cv_path_SED"
4738 # Check whether --enable-static was given.
4739 if test "${enable_static+set}" = set; then :
4740 enableval
=$enable_static; p
=${PACKAGE-default}
4742 yes) enable_static
=yes ;;
4743 no
) enable_static
=no
;;
4746 # Look at the argument we got. We use all the common list separators.
4747 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4748 for pkg
in $enableval; do
4750 if test "X$pkg" = "X$p"; then
4769 # Check whether --enable-shared was given.
4770 if test "${enable_shared+set}" = set; then :
4771 enableval
=$enable_shared; p
=${PACKAGE-default}
4773 yes) enable_shared
=yes ;;
4774 no
) enable_shared
=no
;;
4777 # Look at the argument we got. We use all the common list separators.
4778 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4779 for pkg
in $enableval; do
4781 if test "X$pkg" = "X$p"; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4802 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4803 # Check whether --enable-maintainer-mode was given.
4804 if test "${enable_maintainer_mode+set}" = set; then :
4805 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4807 USE_MAINTAINER_MODE
=no
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4811 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4812 if test $USE_MAINTAINER_MODE = yes; then
4813 MAINTAINER_MODE_TRUE
=
4814 MAINTAINER_MODE_FALSE
='#'
4816 MAINTAINER_MODE_TRUE
='#'
4817 MAINTAINER_MODE_FALSE
=
4820 MAINT
=$MAINTAINER_MODE_TRUE
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4825 $as_echo_n "checking for library containing strerror... " >&6; }
4826 if ${ac_cv_search_strerror+:} false
; then :
4827 $as_echo_n "(cached) " >&6
4829 ac_func_search_save_LIBS
=$LIBS
4830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4833 /* Override any GCC internal prototype to avoid an error.
4834 Use char because int might match the return type of a GCC
4835 builtin and then its argument prototype would still apply. */
4848 for ac_lib
in '' cposix
; do
4849 if test -z "$ac_lib"; then
4850 ac_res
="none required"
4853 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4855 if ac_fn_c_try_link
"$LINENO"; then :
4856 ac_cv_search_strerror
=$ac_res
4858 rm -f core conftest.err conftest.
$ac_objext \
4860 if ${ac_cv_search_strerror+:} false
; then :
4864 if ${ac_cv_search_strerror+:} false
; then :
4867 ac_cv_search_strerror
=no
4870 LIBS
=$ac_func_search_save_LIBS
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4873 $as_echo "$ac_cv_search_strerror" >&6; }
4874 ac_res
=$ac_cv_search_strerror
4875 if test "$ac_res" != no
; then :
4876 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4881 $as_echo_n "checking for inline... " >&6; }
4882 if ${ac_cv_c_inline+:} false
; then :
4883 $as_echo_n "(cached) " >&6
4886 for ac_kw
in inline __inline__ __inline
; do
4887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4891 static $ac_kw foo_t static_foo () {return 0; }
4892 $ac_kw foo_t foo () {return 0; }
4896 if ac_fn_c_try_compile
"$LINENO"; then :
4897 ac_cv_c_inline
=$ac_kw
4899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4900 test "$ac_cv_c_inline" != no
&& break
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4905 $as_echo "$ac_cv_c_inline" >&6; }
4907 case $ac_cv_c_inline in
4910 case $ac_cv_c_inline in
4912 *) ac_val
=$ac_cv_c_inline;;
4914 cat >>confdefs.h
<<_ACEOF
4916 #define inline $ac_val
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4923 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4924 if ${ac_cv_c_const+:} false
; then :
4925 $as_echo_n "(cached) " >&6
4927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4933 /* FIXME: Include the comments suggested by Paul. */
4935 /* Ultrix mips cc rejects this. */
4936 typedef int charset[2];
4938 /* SunOS 4.1.1 cc rejects this. */
4939 char const *const *pcpcc;
4941 /* NEC SVR4.0.2 mips cc rejects this. */
4942 struct point {int x, y;};
4943 static struct point const zero = {0,0};
4944 /* AIX XL C 1.02.0.0 rejects this.
4945 It does not let you subtract one const X* pointer from another in
4946 an arm of an if-expression whose if-part is not a constant
4948 const char *g = "string";
4949 pcpcc = &g + (g ? g-g : 0);
4950 /* HPUX 7.0 cc rejects these. */
4952 ppc = (char**) pcpcc;
4953 pcpcc = (char const *const *) ppc;
4954 { /* SCO 3.2v4 cc rejects this. */
4956 char const *s = 0 ? (char *) 0 : (char const *) 0;
4961 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4963 const int *foo = &x[0];
4966 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4967 typedef const int *iptr;
4971 { /* AIX XL C 1.02.0.0 rejects this saying
4972 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4973 struct s { int j; const int *ap[3]; };
4974 struct s *b; b->j = 5;
4976 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4980 return !cs[0] && !zero.x;
4987 if ac_fn_c_try_compile
"$LINENO"; then :
4992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4995 $as_echo "$ac_cv_c_const" >&6; }
4996 if test $ac_cv_c_const = no
; then
4998 $as_echo "#define const /**/" >>confdefs.h
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5003 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5004 if ${ac_cv_c_bigendian+:} false
; then :
5005 $as_echo_n "(cached) " >&6
5007 ac_cv_c_bigendian
=unknown
5008 # See if we're dealing with a universal compiler.
5009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5011 #ifndef __APPLE_CC__
5012 not a universal capable compiler
5017 if ac_fn_c_try_compile
"$LINENO"; then :
5019 # Check for potential -arch flags. It is not universal unless
5020 # there are at least two -arch flags with different values.
5023 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5024 if test -n "$ac_prev"; then
5026 i?
86 | x86_64
| ppc
| ppc64
)
5027 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5030 ac_cv_c_bigendian
=universal
5036 elif test "x$ac_word" = "x-arch"; then
5041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5042 if test $ac_cv_c_bigendian = unknown
; then
5043 # See if sys/param.h defines the BYTE_ORDER macro.
5044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5046 #include <sys/types.h>
5047 #include <sys/param.h>
5052 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5053 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5062 if ac_fn_c_try_compile
"$LINENO"; then :
5063 # It does; now see whether it defined to BIG_ENDIAN or not.
5064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5066 #include <sys/types.h>
5067 #include <sys/param.h>
5072 #if BYTE_ORDER != BIG_ENDIAN
5080 if ac_fn_c_try_compile
"$LINENO"; then :
5081 ac_cv_c_bigendian
=yes
5083 ac_cv_c_bigendian
=no
5085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5089 if test $ac_cv_c_bigendian = unknown
; then
5090 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5098 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5106 if ac_fn_c_try_compile
"$LINENO"; then :
5107 # It does; now see whether it defined to _BIG_ENDIAN or not.
5108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5123 if ac_fn_c_try_compile
"$LINENO"; then :
5124 ac_cv_c_bigendian
=yes
5126 ac_cv_c_bigendian
=no
5128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5132 if test $ac_cv_c_bigendian = unknown
; then
5133 # Compile a test program.
5134 if test "$cross_compiling" = yes; then :
5135 # Try to guess by grepping values from an object file.
5136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5138 short int ascii_mm[] =
5139 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5140 short int ascii_ii[] =
5141 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5142 int use_ascii (int i) {
5143 return ascii_mm[i] + ascii_ii[i];
5145 short int ebcdic_ii[] =
5146 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5147 short int ebcdic_mm[] =
5148 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5149 int use_ebcdic (int i) {
5150 return ebcdic_mm[i] + ebcdic_ii[i];
5157 return use_ascii (foo) == use_ebcdic (foo);
5162 if ac_fn_c_try_compile
"$LINENO"; then :
5163 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5164 ac_cv_c_bigendian
=yes
5166 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5167 if test "$ac_cv_c_bigendian" = unknown
; then
5168 ac_cv_c_bigendian
=no
5170 # finding both strings is unlikely to happen, but who knows?
5171 ac_cv_c_bigendian
=unknown
5175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5178 /* end confdefs.h. */
5179 $ac_includes_default
5184 /* Are we little or big endian? From Harbison&Steele. */
5188 char c[sizeof (long int)];
5191 return u.c[sizeof (long int) - 1] == 1;
5197 if ac_fn_c_try_run
"$LINENO"; then :
5198 ac_cv_c_bigendian
=no
5200 ac_cv_c_bigendian
=yes
5202 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5203 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5209 $as_echo "$ac_cv_c_bigendian" >&6; }
5210 case $ac_cv_c_bigendian in #(
5212 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5218 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5222 as_fn_error $?
"unknown endianness
5223 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5227 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5229 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5230 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5231 $as_echo_n "(cached) " >&6
5233 cat >conftest.
make <<\_ACEOF
5236 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5238 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5239 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5241 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5243 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5247 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5249 $as_echo "yes" >&6; }
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5254 SET_MAKE
="MAKE=${MAKE-make}"
5258 # Extract the first word of "automake", so it can be a program name with args.
5259 set dummy automake
; ac_word
=$2
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5261 $as_echo_n "checking for $ac_word... " >&6; }
5262 if ${ac_cv_path_AUTOMAKE+:} false
; then :
5263 $as_echo_n "(cached) " >&6
5267 ac_cv_path_AUTOMAKE
="$AUTOMAKE" # Let the user override the test with a path.
5270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir
=.
5275 for ac_exec_ext
in '' $ac_executable_extensions; do
5276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5277 ac_cv_path_AUTOMAKE
="$as_dir/$ac_word$ac_exec_ext"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 AUTOMAKE
=$ac_cv_path_AUTOMAKE
5289 if test -n "$AUTOMAKE"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOMAKE" >&5
5291 $as_echo "$AUTOMAKE" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5298 # Extract the first word of "aclocal", so it can be a program name with args.
5299 set dummy aclocal
; ac_word
=$2
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5301 $as_echo_n "checking for $ac_word... " >&6; }
5302 if ${ac_cv_path_ACLOCAL+:} false
; then :
5303 $as_echo_n "(cached) " >&6
5307 ac_cv_path_ACLOCAL
="$ACLOCAL" # Let the user override the test with a path.
5310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir
=.
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5317 ac_cv_path_ACLOCAL
="$as_dir/$ac_word$ac_exec_ext"
5318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 ACLOCAL
=$ac_cv_path_ACLOCAL
5329 if test -n "$ACLOCAL"; then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
5331 $as_echo "$ACLOCAL" >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5338 # Extract the first word of "autoheader", so it can be a program name with args.
5339 set dummy autoheader
; ac_word
=$2
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5341 $as_echo_n "checking for $ac_word... " >&6; }
5342 if ${ac_cv_path_AUTOHEADER+:} false
; then :
5343 $as_echo_n "(cached) " >&6
5347 ac_cv_path_AUTOHEADER
="$AUTOHEADER" # Let the user override the test with a path.
5350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir
=.
5355 for ac_exec_ext
in '' $ac_executable_extensions; do
5356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357 ac_cv_path_AUTOHEADER
="$as_dir/$ac_word$ac_exec_ext"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 AUTOHEADER
=$ac_cv_path_AUTOHEADER
5369 if test -n "$AUTOHEADER"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
5371 $as_echo "$AUTOHEADER" >&6; }
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5378 # Extract the first word of "as", so it can be a program name with args.
5379 set dummy as
; ac_word
=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if ${ac_cv_path_AS+:} false
; then :
5383 $as_echo_n "(cached) " >&6
5387 ac_cv_path_AS
="$AS" # Let the user override the test with a path.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5397 ac_cv_path_AS
="$as_dir/$ac_word$ac_exec_ext"
5398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5409 if test -n "$AS"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5411 $as_echo "$AS" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5418 # Extract the first word of "rm", so it can be a program name with args.
5419 set dummy
rm; ac_word
=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_path_RM+:} false
; then :
5423 $as_echo_n "(cached) " >&6
5427 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
5430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5434 test -z "$as_dir" && as_dir
=.
5435 for ac_exec_ext
in '' $ac_executable_extensions; do
5436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5437 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
5438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 if test -n "$RM"; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5451 $as_echo "$RM" >&6; }
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5458 # Extract the first word of "cp", so it can be a program name with args.
5459 set dummy
cp; ac_word
=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_path_CP+:} false
; then :
5463 $as_echo_n "(cached) " >&6
5467 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
5470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5474 test -z "$as_dir" && as_dir
=.
5475 for ac_exec_ext
in '' $ac_executable_extensions; do
5476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5477 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 if test -n "$CP"; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5491 $as_echo "$CP" >&6; }
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5494 $as_echo "no" >&6; }
5498 # Extract the first word of "mv", so it can be a program name with args.
5499 set dummy
mv; ac_word
=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_path_MV+:} false
; then :
5503 $as_echo_n "(cached) " >&6
5507 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
5510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5514 test -z "$as_dir" && as_dir
=.
5515 for ac_exec_ext
in '' $ac_executable_extensions; do
5516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5517 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 if test -n "$MV"; then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5531 $as_echo "$MV" >&6; }
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5538 # Extract the first word of "ln", so it can be a program name with args.
5539 set dummy
ln; ac_word
=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_path_LN+:} false
; then :
5543 $as_echo_n "(cached) " >&6
5547 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
5550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir
=.
5555 for ac_exec_ext
in '' $ac_executable_extensions; do
5556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 if test -n "$LN"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
5571 $as_echo "$LN" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5578 # Extract the first word of "touch", so it can be a program name with args.
5579 set dummy
touch; ac_word
=$2
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581 $as_echo_n "checking for $ac_word... " >&6; }
5582 if ${ac_cv_path_TOUCH+:} false
; then :
5583 $as_echo_n "(cached) " >&6
5587 ac_cv_path_TOUCH
="$TOUCH" # Let the user override the test with a path.
5590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5594 test -z "$as_dir" && as_dir
=.
5595 for ac_exec_ext
in '' $ac_executable_extensions; do
5596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5597 ac_cv_path_TOUCH
="$as_dir/$ac_word$ac_exec_ext"
5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 TOUCH
=$ac_cv_path_TOUCH
5609 if test -n "$TOUCH"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5611 $as_echo "$TOUCH" >&6; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5619 ac_cpp
='$CPP $CPPFLAGS'
5620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5628 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5633 macro_version
='2.2.6b'
5634 macro_revision
='1.3017'
5648 ltmain
="$ac_aux_dir/ltmain.sh"
5650 # Make sure we can run config.sub.
5651 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5652 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5655 $as_echo_n "checking build system type... " >&6; }
5656 if ${ac_cv_build+:} false
; then :
5657 $as_echo_n "(cached) " >&6
5659 ac_build_alias
=$build_alias
5660 test "x$ac_build_alias" = x
&&
5661 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5662 test "x$ac_build_alias" = x
&&
5663 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5664 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5665 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5669 $as_echo "$ac_cv_build" >&6; }
5670 case $ac_cv_build in
5672 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5675 ac_save_IFS
=$IFS; IFS
='-'
5681 # Remember, the first character of IFS is used to create $*,
5682 # except with old shells:
5685 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5689 $as_echo_n "checking host system type... " >&6; }
5690 if ${ac_cv_host+:} false
; then :
5691 $as_echo_n "(cached) " >&6
5693 if test "x$host_alias" = x
; then
5694 ac_cv_host
=$ac_cv_build
5696 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5697 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5702 $as_echo "$ac_cv_host" >&6; }
5705 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5708 ac_save_IFS
=$IFS; IFS
='-'
5714 # Remember, the first character of IFS is used to create $*,
5715 # except with old shells:
5718 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5722 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5723 if ${ac_cv_path_SED+:} false
; then :
5724 $as_echo_n "(cached) " >&6
5726 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5727 for ac_i
in 1 2 3 4 5 6 7; do
5728 ac_script
="$ac_script$as_nl$ac_script"
5730 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
5731 { ac_script
=; unset ac_script
;}
5732 if test -z "$SED"; then
5733 ac_path_SED_found
=false
5734 # Loop through the user's path and test for each of PROGNAME-LIST
5735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5739 test -z "$as_dir" && as_dir
=.
5740 for ac_prog
in sed gsed
; do
5741 for ac_exec_ext
in '' $ac_executable_extensions; do
5742 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5743 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5744 # Check for GNU ac_path_SED and select it if it is found.
5745 # Check for GNU $ac_path_SED
5746 case `"$ac_path_SED" --version 2>&1` in
5748 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5751 $as_echo_n 0123456789 >"conftest.in"
5754 cat "conftest.in" "conftest.in" >"conftest.tmp"
5755 mv "conftest.tmp" "conftest.in"
5756 cp "conftest.in" "conftest.nl"
5757 $as_echo '' >> "conftest.nl"
5758 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5759 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5760 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5761 if test $ac_count -gt ${ac_path_SED_max-0}; then
5762 # Best one so far, save it but keep looking for a better one
5763 ac_cv_path_SED
="$ac_path_SED"
5764 ac_path_SED_max
=$ac_count
5766 # 10*(2^10) chars as input seems more than enough
5767 test $ac_count -gt 10 && break
5769 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5772 $ac_path_SED_found && break 3
5777 if test -z "$ac_cv_path_SED"; then
5778 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5786 $as_echo "$ac_cv_path_SED" >&6; }
5787 SED
="$ac_cv_path_SED"
5790 test -z "$SED" && SED
=sed
5791 Xsed
="$SED -e 1s/^X//"
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5804 $as_echo_n "checking for fgrep... " >&6; }
5805 if ${ac_cv_path_FGREP+:} false
; then :
5806 $as_echo_n "(cached) " >&6
5808 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
5809 then ac_cv_path_FGREP
="$GREP -F"
5811 if test -z "$FGREP"; then
5812 ac_path_FGREP_found
=false
5813 # Loop through the user's path and test for each of PROGNAME-LIST
5814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5815 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5818 test -z "$as_dir" && as_dir
=.
5819 for ac_prog
in fgrep
; do
5820 for ac_exec_ext
in '' $ac_executable_extensions; do
5821 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5822 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5823 # Check for GNU ac_path_FGREP and select it if it is found.
5824 # Check for GNU $ac_path_FGREP
5825 case `"$ac_path_FGREP" --version 2>&1` in
5827 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5830 $as_echo_n 0123456789 >"conftest.in"
5833 cat "conftest.in" "conftest.in" >"conftest.tmp"
5834 mv "conftest.tmp" "conftest.in"
5835 cp "conftest.in" "conftest.nl"
5836 $as_echo 'FGREP' >> "conftest.nl"
5837 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5838 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5839 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5840 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5841 # Best one so far, save it but keep looking for a better one
5842 ac_cv_path_FGREP
="$ac_path_FGREP"
5843 ac_path_FGREP_max
=$ac_count
5845 # 10*(2^10) chars as input seems more than enough
5846 test $ac_count -gt 10 && break
5848 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5851 $ac_path_FGREP_found && break 3
5856 if test -z "$ac_cv_path_FGREP"; then
5857 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5860 ac_cv_path_FGREP
=$FGREP
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5866 $as_echo "$ac_cv_path_FGREP" >&6; }
5867 FGREP
="$ac_cv_path_FGREP"
5870 test -z "$GREP" && GREP
=grep
5890 # Check whether --with-gnu-ld was given.
5891 if test "${with_gnu_ld+set}" = set; then :
5892 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
5898 if test "$GCC" = yes; then
5899 # Check if gcc -print-prog-name=ld gives a path.
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5901 $as_echo_n "checking for ld used by $CC... " >&6; }
5904 # gcc leaves a trailing carriage return which upsets mingw
5905 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5907 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5910 # Accept absolute paths.
5912 re_direlt
='/[^/][^/]*/\.\./'
5913 # Canonicalize the pathname of ld
5914 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5915 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
5916 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5918 test -z "$LD" && LD
="$ac_prog"
5921 # If it fails, then pretend we aren't using GCC.
5925 # If it is relative, then search for the first ld in PATH.
5929 elif test "$with_gnu_ld" = yes; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5931 $as_echo_n "checking for GNU ld... " >&6; }
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5934 $as_echo_n "checking for non-GNU ld... " >&6; }
5936 if ${lt_cv_path_LD+:} false
; then :
5937 $as_echo_n "(cached) " >&6
5939 if test -z "$LD"; then
5940 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5941 for ac_dir
in $PATH; do
5943 test -z "$ac_dir" && ac_dir
=.
5944 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5945 lt_cv_path_LD
="$ac_dir/$ac_prog"
5946 # Check to see if the program is GNU ld. I'd rather use --version,
5947 # but apparently some variants of GNU ld only accept -v.
5948 # Break only if it was the GNU/non-GNU ld that we prefer.
5949 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5950 *GNU
* | *'with BFD'*)
5951 test "$with_gnu_ld" != no
&& break
5954 test "$with_gnu_ld" != yes && break
5961 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5966 if test -n "$LD"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5968 $as_echo "$LD" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5973 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5975 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5976 if ${lt_cv_prog_gnu_ld+:} false
; then :
5977 $as_echo_n "(cached) " >&6
5979 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5980 case `$LD -v 2>&1 </dev/null` in
5981 *GNU
* | *'with BFD'*)
5982 lt_cv_prog_gnu_ld
=yes
5985 lt_cv_prog_gnu_ld
=no
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5990 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5991 with_gnu_ld
=$lt_cv_prog_gnu_ld
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6002 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6003 if ${lt_cv_path_NM+:} false
; then :
6004 $as_echo_n "(cached) " >&6
6006 if test -n "$NM"; then
6007 # Let the user override the test.
6010 lt_nm_to_check
="${ac_tool_prefix}nm"
6011 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6012 lt_nm_to_check
="$lt_nm_to_check nm"
6014 for lt_tmp_nm
in $lt_nm_to_check; do
6015 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6016 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6018 test -z "$ac_dir" && ac_dir
=.
6019 tmp_nm
="$ac_dir/$lt_tmp_nm"
6020 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6021 # Check to see if the nm accepts a BSD-compat flag.
6022 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6023 # nm: unknown option "B" ignored
6024 # Tru64's nm complains that /dev/null is an invalid object file
6025 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6026 */dev
/null
* | *'Invalid file or object type'*)
6027 lt_cv_path_NM
="$tmp_nm -B"
6031 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6033 lt_cv_path_NM
="$tmp_nm -p"
6037 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6038 continue # so that we can try to find one that supports BSD flags
6047 : ${lt_cv_path_NM=no}
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6051 $as_echo "$lt_cv_path_NM" >&6; }
6052 if test "$lt_cv_path_NM" != "no"; then
6055 # Didn't find any BSD compatible name lister, look for dumpbin.
6056 if test -n "$ac_tool_prefix"; then
6057 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6060 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6064 $as_echo_n "(cached) " >&6
6066 if test -n "$DUMPBIN"; then
6067 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir
=.
6074 for ac_exec_ext
in '' $ac_executable_extensions; do
6075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 DUMPBIN
=$ac_cv_prog_DUMPBIN
6087 if test -n "$DUMPBIN"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6089 $as_echo "$DUMPBIN" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6096 test -n "$DUMPBIN" && break
6099 if test -z "$DUMPBIN"; then
6100 ac_ct_DUMPBIN
=$DUMPBIN
6101 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6103 # Extract the first word of "$ac_prog", so it can be a program name with args.
6104 set dummy
$ac_prog; ac_word
=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6108 $as_echo_n "(cached) " >&6
6110 if test -n "$ac_ct_DUMPBIN"; then
6111 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6117 test -z "$as_dir" && as_dir
=.
6118 for ac_exec_ext
in '' $ac_executable_extensions; do
6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6120 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6130 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6131 if test -n "$ac_ct_DUMPBIN"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6133 $as_echo "$ac_ct_DUMPBIN" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6140 test -n "$ac_ct_DUMPBIN" && break
6143 if test "x$ac_ct_DUMPBIN" = x
; then
6146 case $cross_compiling:$ac_tool_warned in
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned
=yes ;;
6152 DUMPBIN
=$ac_ct_DUMPBIN
6157 if test "$DUMPBIN" != ":"; then
6161 test -z "$NM" && NM
=nm
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6169 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6170 if ${lt_cv_nm_interface+:} false
; then :
6171 $as_echo_n "(cached) " >&6
6173 lt_cv_nm_interface
="BSD nm"
6174 echo "int some_variable = 0;" > conftest.
$ac_ext
6175 (eval echo "\"\$as_me:6175: $ac_compile\"" >&5)
6176 (eval "$ac_compile" 2>conftest.err
)
6177 cat conftest.err
>&5
6178 (eval echo "\"\$as_me:6178: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6179 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6180 cat conftest.err
>&5
6181 (eval echo "\"\$as_me:6181: output\"" >&5)
6182 cat conftest.out
>&5
6183 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6184 lt_cv_nm_interface
="MS dumpbin"
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6189 $as_echo "$lt_cv_nm_interface" >&6; }
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6192 $as_echo_n "checking whether ln -s works... " >&6; }
6194 if test "$LN_S" = "ln -s"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6196 $as_echo "yes" >&6; }
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6199 $as_echo "no, using $LN_S" >&6; }
6202 # find the maximum length of command line arguments
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6204 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6205 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6206 $as_echo_n "(cached) " >&6
6213 # On DJGPP, this test can blow up pretty badly due to problems in libc
6214 # (any single argument exceeding 2000 bytes causes a buffer overrun
6215 # during glob expansion). Even if it were fixed, the result of this
6216 # check would be larger than it should be.
6217 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6221 # Under GNU Hurd, this test is not required because there is
6222 # no limit to the length of command line arguments.
6223 # Libtool will interpret -1 as no limit whatsoever
6224 lt_cv_sys_max_cmd_len
=-1;
6227 cygwin
* | mingw
* | cegcc
*)
6228 # On Win9x/ME, this test blows up -- it succeeds, but takes
6229 # about 5 minutes as the teststring grows exponentially.
6230 # Worse, since 9x/ME are not pre-emptively multitasking,
6231 # you end up with a "frozen" computer, even though with patience
6232 # the test eventually succeeds (with a max line length of 256k).
6233 # Instead, let's just punt: use the minimum linelength reported by
6234 # all of the supported platforms: 8192 (on NT/2K/XP).
6235 lt_cv_sys_max_cmd_len
=8192;
6239 # On AmigaOS with pdksh, this test takes hours, literally.
6240 # So we just punt and use a minimum line length of 8192.
6241 lt_cv_sys_max_cmd_len
=8192;
6244 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6245 # This has been around since 386BSD, at least. Likely further.
6246 if test -x /sbin
/sysctl
; then
6247 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6248 elif test -x /usr
/sbin
/sysctl
; then
6249 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6251 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6253 # And add a safety zone
6254 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6255 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6259 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6260 lt_cv_sys_max_cmd_len
=196608
6264 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6265 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6266 # nice to cause kernel panics so lets avoid the loop below.
6267 # First set a reasonable default.
6268 lt_cv_sys_max_cmd_len
=16384
6270 if test -x /sbin
/sysconfig
; then
6271 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6272 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6277 lt_cv_sys_max_cmd_len
=102400
6279 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6280 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6281 if test -n "$kargmax"; then
6282 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6284 lt_cv_sys_max_cmd_len
=32768
6288 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6289 if test -n "$lt_cv_sys_max_cmd_len"; then
6290 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6291 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6293 # Make teststring a little bigger before we do anything with it.
6294 # a 1K string should be a reasonable start.
6295 for i
in 1 2 3 4 5 6 7 8 ; do
6296 teststring
=$teststring$teststring
6298 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6299 # If test is not a shell built-in, we'll probably end up computing a
6300 # maximum length that is only half of the actual maximum length, but
6302 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6303 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6304 test $i != 17 # 1/2 MB should be enough
6307 teststring
=$teststring$teststring
6309 # Only check the string length outside the loop.
6310 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6312 # Add a significant safety factor because C++ compilers can tack on
6313 # massive amounts of additional arguments before passing them to the
6314 # linker. It appears as though 1/2 is a usable value.
6315 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6322 if test -n $lt_cv_sys_max_cmd_len ; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6324 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6327 $as_echo "none" >&6; }
6329 max_cmd_len
=$lt_cv_sys_max_cmd_len
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6341 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6342 # Try some XSI features
6345 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6347 && eval 'test $(( 1 + 1 )) -eq 2 \
6348 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6351 $as_echo "$xsi_shell" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6355 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6357 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6359 && lt_shell_append
=yes
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6361 $as_echo "$lt_shell_append" >&6; }
6364 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
6374 # test EBCDIC or ASCII
6375 case `echo X|tr X '\101'` in
6376 A
) # ASCII based system
6377 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6378 lt_SP2NL
='tr \040 \012'
6379 lt_NL2SP
='tr \015\012 \040\040'
6381 *) # EBCDIC based system
6382 lt_SP2NL
='tr \100 \n'
6383 lt_NL2SP
='tr \r\n \100\100'
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6396 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6397 if ${lt_cv_ld_reload_flag+:} false
; then :
6398 $as_echo_n "(cached) " >&6
6400 lt_cv_ld_reload_flag
='-r'
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6403 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6404 reload_flag
=$lt_cv_ld_reload_flag
6405 case $reload_flag in
6407 *) reload_flag
=" $reload_flag" ;;
6409 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6412 if test "$GCC" = yes; then
6413 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6415 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6428 if test -n "$ac_tool_prefix"; then
6429 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6430 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6432 $as_echo_n "checking for $ac_word... " >&6; }
6433 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6434 $as_echo_n "(cached) " >&6
6436 if test -n "$OBJDUMP"; then
6437 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6443 test -z "$as_dir" && as_dir
=.
6444 for ac_exec_ext
in '' $ac_executable_extensions; do
6445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6446 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 OBJDUMP
=$ac_cv_prog_OBJDUMP
6457 if test -n "$OBJDUMP"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6459 $as_echo "$OBJDUMP" >&6; }
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6467 if test -z "$ac_cv_prog_OBJDUMP"; then
6468 ac_ct_OBJDUMP
=$OBJDUMP
6469 # Extract the first word of "objdump", so it can be a program name with args.
6470 set dummy objdump
; ac_word
=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6474 $as_echo_n "(cached) " >&6
6476 if test -n "$ac_ct_OBJDUMP"; then
6477 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6483 test -z "$as_dir" && as_dir
=.
6484 for ac_exec_ext
in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6497 if test -n "$ac_ct_OBJDUMP"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6499 $as_echo "$ac_ct_OBJDUMP" >&6; }
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6505 if test "x$ac_ct_OBJDUMP" = x
; then
6508 case $cross_compiling:$ac_tool_warned in
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6512 ac_tool_warned
=yes ;;
6514 OBJDUMP
=$ac_ct_OBJDUMP
6517 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6520 test -z "$OBJDUMP" && OBJDUMP
=objdump
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6531 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6532 if ${lt_cv_deplibs_check_method+:} false
; then :
6533 $as_echo_n "(cached) " >&6
6535 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6536 lt_cv_file_magic_test_file
=
6537 lt_cv_deplibs_check_method
='unknown'
6538 # Need to set the preceding variable on all platforms that support
6539 # interlibrary dependencies.
6540 # 'none' -- dependencies not supported.
6541 # `unknown' -- same as none, but documents that we really don't know.
6542 # 'pass_all' -- all dependencies passed with no checks.
6543 # 'test_compile' -- check by making test program.
6544 # 'file_magic [[regex]]' -- check by looking for files in library path
6545 # which responds to the $file_magic_cmd with a given extended regex.
6546 # If you have `file' or equivalent on your system and you're not sure
6547 # whether `pass_all' will *always* work, you probably want this one.
6551 lt_cv_deplibs_check_method
=pass_all
6555 lt_cv_deplibs_check_method
=pass_all
6559 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6560 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6561 lt_cv_file_magic_test_file
=/shlib
/libc.so
6565 # func_win32_libid is a shell function defined in ltmain.sh
6566 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6567 lt_cv_file_magic_cmd
='func_win32_libid'
6571 # Base MSYS/MinGW do not provide the 'file' command needed by
6572 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6573 # unless we find 'file', for example because we are cross-compiling.
6574 if ( file / ) >/dev
/null
2>&1; then
6575 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6576 lt_cv_file_magic_cmd
='func_win32_libid'
6578 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6579 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6584 # use the weaker test based on 'objdump'. See mingw*.
6585 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6586 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6589 darwin
* | rhapsody
*)
6590 lt_cv_deplibs_check_method
=pass_all
6593 freebsd
* | dragonfly
*)
6594 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6597 # Not sure whether the presence of OpenBSD here was a mistake.
6598 # Let's accept both of them until this is cleared up.
6599 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6600 lt_cv_file_magic_cmd
=/usr
/bin
/file
6601 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6605 lt_cv_deplibs_check_method
=pass_all
6610 lt_cv_deplibs_check_method
=pass_all
6613 hpux10.20
* | hpux11
*)
6614 lt_cv_file_magic_cmd
=/usr
/bin
/file
6617 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6618 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
6621 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]'
6622 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
6625 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6626 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6632 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6633 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6636 irix5
* | irix6
* | nonstopux
*)
6638 *-32|*"-32 ") libmagic
=32-bit;;
6639 *-n32|*"-n32 ") libmagic
=N32
;;
6640 *-64|*"-64 ") libmagic
=64-bit;;
6641 *) libmagic
=never
-match;;
6643 lt_cv_deplibs_check_method
=pass_all
6646 # This must be Linux ELF.
6647 linux
* | k
*bsd
*-gnu)
6648 lt_cv_deplibs_check_method
=pass_all
6652 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6653 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6655 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6660 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6661 lt_cv_file_magic_cmd
=/usr
/bin
/file
6662 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6666 lt_cv_deplibs_check_method
=pass_all
6670 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6671 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6673 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6677 osf3
* | osf4
* | osf5
*)
6678 lt_cv_deplibs_check_method
=pass_all
6682 lt_cv_deplibs_check_method
=pass_all
6686 lt_cv_deplibs_check_method
=pass_all
6689 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6690 lt_cv_deplibs_check_method
=pass_all
6694 case $host_vendor in
6696 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]'
6697 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6700 lt_cv_deplibs_check_method
=pass_all
6703 lt_cv_file_magic_cmd
='/bin/file'
6704 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6707 lt_cv_file_magic_cmd
='/bin/file'
6708 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6709 lt_cv_file_magic_test_file
=/lib
/libc.so
6712 lt_cv_deplibs_check_method
=pass_all
6715 lt_cv_deplibs_check_method
=pass_all
6721 lt_cv_deplibs_check_method
=pass_all
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6727 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6728 file_magic_cmd
=$lt_cv_file_magic_cmd
6729 deplibs_check_method
=$lt_cv_deplibs_check_method
6730 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6743 if test -n "$ac_tool_prefix"; then
6744 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6745 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if ${ac_cv_prog_AR+:} false
; then :
6749 $as_echo_n "(cached) " >&6
6751 if test -n "$AR"; then
6752 ac_cv_prog_AR
="$AR" # Let the user override the test.
6754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6758 test -z "$as_dir" && as_dir
=.
6759 for ac_exec_ext
in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 if test -n "$AR"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6774 $as_echo "$AR" >&6; }
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6782 if test -z "$ac_cv_prog_AR"; then
6784 # Extract the first word of "ar", so it can be a program name with args.
6785 set dummy
ar; ac_word
=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 $as_echo_n "checking for $ac_word... " >&6; }
6788 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6789 $as_echo_n "(cached) " >&6
6791 if test -n "$ac_ct_AR"; then
6792 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6798 test -z "$as_dir" && as_dir
=.
6799 for ac_exec_ext
in '' $ac_executable_extensions; do
6800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6801 ac_cv_prog_ac_ct_AR
="ar"
6802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6812 if test -n "$ac_ct_AR"; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6814 $as_echo "$ac_ct_AR" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 $as_echo "no" >&6; }
6820 if test "x$ac_ct_AR" = x
; then
6823 case $cross_compiling:$ac_tool_warned in
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6827 ac_tool_warned
=yes ;;
6835 test -z "$AR" && AR
=ar
6836 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6848 if test -n "$ac_tool_prefix"; then
6849 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6850 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 $as_echo_n "checking for $ac_word... " >&6; }
6853 if ${ac_cv_prog_STRIP+:} false
; then :
6854 $as_echo_n "(cached) " >&6
6856 if test -n "$STRIP"; then
6857 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir
=.
6864 for ac_exec_ext
in '' $ac_executable_extensions; do
6865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6866 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 STRIP
=$ac_cv_prog_STRIP
6877 if test -n "$STRIP"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6879 $as_echo "$STRIP" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6882 $as_echo "no" >&6; }
6887 if test -z "$ac_cv_prog_STRIP"; then
6889 # Extract the first word of "strip", so it can be a program name with args.
6890 set dummy strip
; ac_word
=$2
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892 $as_echo_n "checking for $ac_word... " >&6; }
6893 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6894 $as_echo_n "(cached) " >&6
6896 if test -n "$ac_ct_STRIP"; then
6897 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6903 test -z "$as_dir" && as_dir
=.
6904 for ac_exec_ext
in '' $ac_executable_extensions; do
6905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6906 ac_cv_prog_ac_ct_STRIP
="strip"
6907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6917 if test -n "$ac_ct_STRIP"; then
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6919 $as_echo "$ac_ct_STRIP" >&6; }
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6922 $as_echo "no" >&6; }
6925 if test "x$ac_ct_STRIP" = x
; then
6928 case $cross_compiling:$ac_tool_warned in
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6932 ac_tool_warned
=yes ;;
6937 STRIP
="$ac_cv_prog_STRIP"
6940 test -z "$STRIP" && STRIP
=:
6947 if test -n "$ac_tool_prefix"; then
6948 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6949 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_RANLIB+:} false
; then :
6953 $as_echo_n "(cached) " >&6
6955 if test -n "$RANLIB"; then
6956 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6962 test -z "$as_dir" && as_dir
=.
6963 for ac_exec_ext
in '' $ac_executable_extensions; do
6964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6965 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 RANLIB
=$ac_cv_prog_RANLIB
6976 if test -n "$RANLIB"; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6978 $as_echo "$RANLIB" >&6; }
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6986 if test -z "$ac_cv_prog_RANLIB"; then
6987 ac_ct_RANLIB
=$RANLIB
6988 # Extract the first word of "ranlib", so it can be a program name with args.
6989 set dummy ranlib
; ac_word
=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6993 $as_echo_n "(cached) " >&6
6995 if test -n "$ac_ct_RANLIB"; then
6996 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir
=.
7003 for ac_exec_ext
in '' $ac_executable_extensions; do
7004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7005 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7016 if test -n "$ac_ct_RANLIB"; then
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7018 $as_echo "$ac_ct_RANLIB" >&6; }
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7024 if test "x$ac_ct_RANLIB" = x
; then
7027 case $cross_compiling:$ac_tool_warned in
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7031 ac_tool_warned
=yes ;;
7033 RANLIB
=$ac_ct_RANLIB
7036 RANLIB
="$ac_cv_prog_RANLIB"
7039 test -z "$RANLIB" && RANLIB
=:
7046 # Determine commands to create old-style static archives.
7047 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7048 old_postinstall_cmds
='chmod 644 $oldlib'
7049 old_postuninstall_cmds
=
7051 if test -n "$RANLIB"; then
7054 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7057 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7060 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7096 # If no C compiler was specified, use CC.
7099 # If no C compiler flags were specified, use CFLAGS.
7100 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7102 # Allow CC to be a program name with arguments.
7106 # Check for command to grab the raw symbol name followed by C symbol from nm.
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7108 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7109 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7110 $as_echo_n "(cached) " >&6
7113 # These are sane defaults that work on at least a few old systems.
7114 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7116 # Character class describing NM global symbol codes.
7117 symcode
='[BCDEGRST]'
7119 # Regexp to match symbols that can be accessed directly from C.
7120 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7122 # Define system-specific variables.
7127 cygwin
* | mingw
* | pw32
* | cegcc
*)
7128 symcode
='[ABCDGISTW]'
7131 if test "$host_cpu" = ia64
; then
7132 symcode
='[ABCDEGRST]'
7136 symcode
='[BCDEGRST]'
7139 symcode
='[BCDEGQRST]'
7150 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7158 # If we're using GNU nm, then use its standard symbol codes.
7159 case `$NM -V 2>&1` in
7160 *GNU
* | *'with BFD'*)
7161 symcode
='[ABCDGIRSTW]' ;;
7164 # Transform an extracted symbol line into a proper C declaration.
7165 # Some systems (esp. on ia64) link data and code symbols differently,
7166 # so use this general approach.
7167 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7169 # Transform an extracted symbol line into symbol name and symbol address
7170 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7171 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'"
7173 # Handle CRLF in mingw tool chain
7177 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7181 # Try without a prefix underscore, then with it.
7182 for ac_symprfx
in "" "_"; do
7184 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7185 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7187 # Write the raw and C identifiers.
7188 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7189 # Fake it for dumpbin and say T for any non-static function
7190 # and D for any global variable.
7191 # Also find C++ and __fastcall symbols from MSVC++,
7192 # which start with @ or ?.
7193 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7194 " {last_section=section; section=\$ 3};"\
7195 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7196 " \$ 0!~/External *\|/{next};"\
7197 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7198 " {if(hide[section]) next};"\
7199 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7200 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7201 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7202 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7203 " ' prfx=^$ac_symprfx"
7205 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7208 # Check to see that the pipe works correctly.
7212 cat > conftest.
$ac_ext <<_LT_EOF
7217 void nm_test_func(void);
7218 void nm_test_func(void){}
7222 int main(){nm_test_var='a';nm_test_func();return(0);}
7225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7226 (eval $ac_compile) 2>&5
7228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7229 test $ac_status = 0; }; then
7230 # Now try to grab the symbols.
7232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7233 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7236 test $ac_status = 0; } && test -s "$nlist"; then
7237 # Try sorting and uniquifying the output.
7238 if sort "$nlist" | uniq > "$nlist"T
; then
7239 mv -f "$nlist"T
"$nlist"
7244 # Make sure that we snagged all the symbols we need.
7245 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7246 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7247 cat <<_LT_EOF > conftest.$ac_ext
7253 # Now generate the symbol file.
7254 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7256 cat <<_LT_EOF >> conftest.$ac_ext
7258 /* The mapping between symbol names and symbols. */
7263 lt__PROGRAM__LTX_preloaded_symbols[] =
7265 { "@PROGRAM@", (void *) 0 },
7267 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
7268 cat <<\_LT_EOF
>> conftest.
$ac_ext
7272 /* This works around a problem
in FreeBSD linker
*/
7273 #ifdef FREEBSD_WORKAROUND
7274 static const void
*lt_preloaded_setup
() {
7275 return lt__PROGRAM__LTX_preloaded_symbols
;
7283 # Now try linking the two files.
7284 mv conftest.
$ac_objext conftstm.
$ac_objext
7285 lt_save_LIBS
="$LIBS"
7286 lt_save_CFLAGS
="$CFLAGS"
7287 LIBS
="conftstm.$ac_objext"
7288 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7290 (eval $ac_link) 2>&5
7292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7293 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7296 LIBS
="$lt_save_LIBS"
7297 CFLAGS
="$lt_save_CFLAGS"
7299 echo "cannot find nm_test_func in $nlist" >&5
7302 echo "cannot find nm_test_var in $nlist" >&5
7305 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7308 echo "$progname: failed program was:" >&5
7309 cat conftest.
$ac_ext >&5
7311 rm -rf conftest
* conftst
*
7313 # Do not use the global_symbol_pipe unless it works.
7314 if test "$pipe_works" = yes; then
7317 lt_cv_sys_global_symbol_pipe
=
7323 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7324 lt_cv_sys_global_symbol_to_cdecl
=
7326 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7328 $as_echo "failed" >&6; }
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7331 $as_echo "ok" >&6; }
7355 # Check whether --enable-libtool-lock was given.
7356 if test "${enable_libtool_lock+set}" = set; then :
7357 enableval
=$enable_libtool_lock;
7360 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7362 # Some flags need to be propagated to the compiler or linker for good
7366 # Find out which ABI we are using.
7367 echo 'int i;' > conftest.
$ac_ext
7368 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7369 (eval $ac_compile) 2>&5
7371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7372 test $ac_status = 0; }; then
7373 case `/usr/bin/file conftest.$ac_objext` in
7385 # Find out which ABI we are using.
7386 echo '#line 7386 "configure"' > conftest.
$ac_ext
7387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7388 (eval $ac_compile) 2>&5
7390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7391 test $ac_status = 0; }; then
7392 if test "$lt_cv_prog_gnu_ld" = yes; then
7393 case `/usr/bin/file conftest.$ac_objext` in
7395 LD
="${LD-ld} -melf32bsmip"
7398 LD
="${LD-ld} -melf32bmipn32"
7401 LD
="${LD-ld} -melf64bmip"
7405 case `/usr/bin/file conftest.$ac_objext` in
7421 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7422 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7423 # Find out which ABI we are using.
7424 echo 'int i;' > conftest.
$ac_ext
7425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7426 (eval $ac_compile) 2>&5
7428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7429 test $ac_status = 0; }; then
7430 case `/usr/bin/file conftest.o` in
7433 x86_64
-*kfreebsd
*-gnu)
7434 LD
="${LD-ld} -m elf_i386_fbsd"
7437 LD
="${LD-ld} -m elf_i386"
7439 ppc64
-*linux
*|powerpc64
-*linux
*)
7440 LD
="${LD-ld} -m elf32ppclinux"
7443 LD
="${LD-ld} -m elf_s390"
7446 LD
="${LD-ld} -m elf32_sparc"
7452 x86_64
-*kfreebsd
*-gnu)
7453 LD
="${LD-ld} -m elf_x86_64_fbsd"
7456 LD
="${LD-ld} -m elf_x86_64"
7458 ppc
*-*linux
*|powerpc
*-*linux
*)
7459 LD
="${LD-ld} -m elf64ppc"
7461 s390
*-*linux
*|s390
*-*tpf
*)
7462 LD
="${LD-ld} -m elf64_s390"
7465 LD
="${LD-ld} -m elf64_sparc"
7475 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7476 SAVE_CFLAGS
="$CFLAGS"
7477 CFLAGS
="$CFLAGS -belf"
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7479 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7480 if ${lt_cv_cc_needs_belf+:} false
; then :
7481 $as_echo_n "(cached) " >&6
7484 ac_cpp
='$CPP $CPPFLAGS'
7485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7490 /* end confdefs.h. */
7500 if ac_fn_c_try_link
"$LINENO"; then :
7501 lt_cv_cc_needs_belf
=yes
7503 lt_cv_cc_needs_belf
=no
7505 rm -f core conftest.err conftest.
$ac_objext \
7506 conftest
$ac_exeext conftest.
$ac_ext
7508 ac_cpp
='$CPP $CPPFLAGS'
7509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7515 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7516 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7517 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7518 CFLAGS
="$SAVE_CFLAGS"
7522 # Find out which ABI we are using.
7523 echo 'int i;' > conftest.
$ac_ext
7524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7525 (eval $ac_compile) 2>&5
7527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7528 test $ac_status = 0; }; then
7529 case `/usr/bin/file conftest.o` in
7531 case $lt_cv_prog_gnu_ld in
7532 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7534 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7546 need_locks
="$enable_libtool_lock"
7550 rhapsody
* | darwin
*)
7551 if test -n "$ac_tool_prefix"; then
7552 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7553 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7555 $as_echo_n "checking for $ac_word... " >&6; }
7556 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7557 $as_echo_n "(cached) " >&6
7559 if test -n "$DSYMUTIL"; then
7560 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7566 test -z "$as_dir" && as_dir
=.
7567 for ac_exec_ext
in '' $ac_executable_extensions; do
7568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7569 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7580 if test -n "$DSYMUTIL"; then
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7582 $as_echo "$DSYMUTIL" >&6; }
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7585 $as_echo "no" >&6; }
7590 if test -z "$ac_cv_prog_DSYMUTIL"; then
7591 ac_ct_DSYMUTIL
=$DSYMUTIL
7592 # Extract the first word of "dsymutil", so it can be a program name with args.
7593 set dummy dsymutil
; ac_word
=$2
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7595 $as_echo_n "checking for $ac_word... " >&6; }
7596 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7597 $as_echo_n "(cached) " >&6
7599 if test -n "$ac_ct_DSYMUTIL"; then
7600 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7606 test -z "$as_dir" && as_dir
=.
7607 for ac_exec_ext
in '' $ac_executable_extensions; do
7608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7609 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7620 if test -n "$ac_ct_DSYMUTIL"; then
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7622 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625 $as_echo "no" >&6; }
7628 if test "x$ac_ct_DSYMUTIL" = x
; then
7631 case $cross_compiling:$ac_tool_warned in
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7635 ac_tool_warned
=yes ;;
7637 DSYMUTIL
=$ac_ct_DSYMUTIL
7640 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7643 if test -n "$ac_tool_prefix"; then
7644 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7645 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7647 $as_echo_n "checking for $ac_word... " >&6; }
7648 if ${ac_cv_prog_NMEDIT+:} false
; then :
7649 $as_echo_n "(cached) " >&6
7651 if test -n "$NMEDIT"; then
7652 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7658 test -z "$as_dir" && as_dir
=.
7659 for ac_exec_ext
in '' $ac_executable_extensions; do
7660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7661 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 NMEDIT
=$ac_cv_prog_NMEDIT
7672 if test -n "$NMEDIT"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7674 $as_echo "$NMEDIT" >&6; }
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7677 $as_echo "no" >&6; }
7682 if test -z "$ac_cv_prog_NMEDIT"; then
7683 ac_ct_NMEDIT
=$NMEDIT
7684 # Extract the first word of "nmedit", so it can be a program name with args.
7685 set dummy nmedit
; ac_word
=$2
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7687 $as_echo_n "checking for $ac_word... " >&6; }
7688 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7689 $as_echo_n "(cached) " >&6
7691 if test -n "$ac_ct_NMEDIT"; then
7692 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7698 test -z "$as_dir" && as_dir
=.
7699 for ac_exec_ext
in '' $ac_executable_extensions; do
7700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7701 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7711 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7712 if test -n "$ac_ct_NMEDIT"; then
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7714 $as_echo "$ac_ct_NMEDIT" >&6; }
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7717 $as_echo "no" >&6; }
7720 if test "x$ac_ct_NMEDIT" = x
; then
7723 case $cross_compiling:$ac_tool_warned in
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7727 ac_tool_warned
=yes ;;
7729 NMEDIT
=$ac_ct_NMEDIT
7732 NMEDIT
="$ac_cv_prog_NMEDIT"
7735 if test -n "$ac_tool_prefix"; then
7736 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7737 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7739 $as_echo_n "checking for $ac_word... " >&6; }
7740 if ${ac_cv_prog_LIPO+:} false
; then :
7741 $as_echo_n "(cached) " >&6
7743 if test -n "$LIPO"; then
7744 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7750 test -z "$as_dir" && as_dir
=.
7751 for ac_exec_ext
in '' $ac_executable_extensions; do
7752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7753 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 LIPO
=$ac_cv_prog_LIPO
7764 if test -n "$LIPO"; then
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7766 $as_echo "$LIPO" >&6; }
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7769 $as_echo "no" >&6; }
7774 if test -z "$ac_cv_prog_LIPO"; then
7776 # Extract the first word of "lipo", so it can be a program name with args.
7777 set dummy lipo
; ac_word
=$2
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7779 $as_echo_n "checking for $ac_word... " >&6; }
7780 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7781 $as_echo_n "(cached) " >&6
7783 if test -n "$ac_ct_LIPO"; then
7784 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7790 test -z "$as_dir" && as_dir
=.
7791 for ac_exec_ext
in '' $ac_executable_extensions; do
7792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7793 ac_cv_prog_ac_ct_LIPO
="lipo"
7794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7803 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7804 if test -n "$ac_ct_LIPO"; then
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7806 $as_echo "$ac_ct_LIPO" >&6; }
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7809 $as_echo "no" >&6; }
7812 if test "x$ac_ct_LIPO" = x
; then
7815 case $cross_compiling:$ac_tool_warned in
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7819 ac_tool_warned
=yes ;;
7824 LIPO
="$ac_cv_prog_LIPO"
7827 if test -n "$ac_tool_prefix"; then
7828 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7829 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7831 $as_echo_n "checking for $ac_word... " >&6; }
7832 if ${ac_cv_prog_OTOOL+:} false
; then :
7833 $as_echo_n "(cached) " >&6
7835 if test -n "$OTOOL"; then
7836 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7842 test -z "$as_dir" && as_dir
=.
7843 for ac_exec_ext
in '' $ac_executable_extensions; do
7844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7845 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7855 OTOOL
=$ac_cv_prog_OTOOL
7856 if test -n "$OTOOL"; then
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7858 $as_echo "$OTOOL" >&6; }
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7861 $as_echo "no" >&6; }
7866 if test -z "$ac_cv_prog_OTOOL"; then
7868 # Extract the first word of "otool", so it can be a program name with args.
7869 set dummy otool
; ac_word
=$2
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7871 $as_echo_n "checking for $ac_word... " >&6; }
7872 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7873 $as_echo_n "(cached) " >&6
7875 if test -n "$ac_ct_OTOOL"; then
7876 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7882 test -z "$as_dir" && as_dir
=.
7883 for ac_exec_ext
in '' $ac_executable_extensions; do
7884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7885 ac_cv_prog_ac_ct_OTOOL
="otool"
7886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7896 if test -n "$ac_ct_OTOOL"; then
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7898 $as_echo "$ac_ct_OTOOL" >&6; }
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7901 $as_echo "no" >&6; }
7904 if test "x$ac_ct_OTOOL" = x
; then
7907 case $cross_compiling:$ac_tool_warned in
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7911 ac_tool_warned
=yes ;;
7916 OTOOL
="$ac_cv_prog_OTOOL"
7919 if test -n "$ac_tool_prefix"; then
7920 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7921 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_OTOOL64+:} false
; then :
7925 $as_echo_n "(cached) " >&6
7927 if test -n "$OTOOL64"; then
7928 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir
=.
7935 for ac_exec_ext
in '' $ac_executable_extensions; do
7936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7937 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 OTOOL64
=$ac_cv_prog_OTOOL64
7948 if test -n "$OTOOL64"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7950 $as_echo "$OTOOL64" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7958 if test -z "$ac_cv_prog_OTOOL64"; then
7959 ac_ct_OTOOL64
=$OTOOL64
7960 # Extract the first word of "otool64", so it can be a program name with args.
7961 set dummy otool64
; ac_word
=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7965 $as_echo_n "(cached) " >&6
7967 if test -n "$ac_ct_OTOOL64"; then
7968 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir
=.
7975 for ac_exec_ext
in '' $ac_executable_extensions; do
7976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7977 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7988 if test -n "$ac_ct_OTOOL64"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7990 $as_echo "$ac_ct_OTOOL64" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7996 if test "x$ac_ct_OTOOL64" = x
; then
7999 case $cross_compiling:$ac_tool_warned in
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8003 ac_tool_warned
=yes ;;
8005 OTOOL64
=$ac_ct_OTOOL64
8008 OTOOL64
="$ac_cv_prog_OTOOL64"
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8038 $as_echo_n "checking for -single_module linker flag... " >&6; }
8039 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8040 $as_echo_n "(cached) " >&6
8042 lt_cv_apple_cc_single_mod
=no
8043 if test -z "${LT_MULTI_MODULE}"; then
8044 # By default we will add the -single_module flag. You can override
8045 # by either setting the environment variable LT_MULTI_MODULE
8046 # non-empty at configure time, or by adding -multi_module to the
8048 rm -rf libconftest.dylib
*
8049 echo "int foo(void){return 1;}" > conftest.c
8050 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8051 -dynamiclib -Wl,-single_module conftest.c" >&5
8052 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8053 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8055 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8056 lt_cv_apple_cc_single_mod
=yes
8058 cat conftest.err
>&5
8060 rm -rf libconftest.dylib
*
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8065 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8067 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8068 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8069 $as_echo_n "(cached) " >&6
8071 lt_cv_ld_exported_symbols_list
=no
8072 save_LDFLAGS
=$LDFLAGS
8073 echo "_main" > conftest.sym
8074 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8076 /* end confdefs.h. */
8086 if ac_fn_c_try_link
"$LINENO"; then :
8087 lt_cv_ld_exported_symbols_list
=yes
8089 lt_cv_ld_exported_symbols_list
=no
8091 rm -f core conftest.err conftest.
$ac_objext \
8092 conftest
$ac_exeext conftest.
$ac_ext
8093 LDFLAGS
="$save_LDFLAGS"
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8097 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8099 rhapsody
* | darwin1.
[012])
8100 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8102 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8103 darwin
*) # darwin 5.x on
8104 # if running on 10.5 or later, the deployment target defaults
8105 # to the OS version, if on x86, and 10.4, the deployment
8106 # target defaults to 10.4. Don't you love it?
8107 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8108 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8109 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8111 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8113 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8117 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8118 _lt_dar_single_mod
='$single_module'
8120 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8121 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8123 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8125 if test "$DSYMUTIL" != ":"; then
8126 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8133 for ac_header
in dlfcn.h
8135 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8137 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8138 cat >>confdefs.h
<<_ACEOF
8139 #define HAVE_DLFCN_H 1
8161 # Check whether --with-pic was given.
8162 if test "${with_pic+set}" = set; then :
8163 withval
=$with_pic; pic_mode
="$withval"
8169 test -z "$pic_mode" && pic_mode
=default
8177 # Check whether --enable-fast-install was given.
8178 if test "${enable_fast_install+set}" = set; then :
8179 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8181 yes) enable_fast_install
=yes ;;
8182 no
) enable_fast_install
=no
;;
8184 enable_fast_install
=no
8185 # Look at the argument we got. We use all the common list separators.
8186 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8187 for pkg
in $enableval; do
8189 if test "X$pkg" = "X$p"; then
8190 enable_fast_install
=yes
8197 enable_fast_install
=yes
8210 # This can be used to rebuild libtool when needed
8211 LIBTOOL_DEPS
="$ltmain"
8213 # Always use our own libtool.
8214 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8240 test -z "$LN_S" && LN_S
="ln -s"
8255 if test -n "${ZSH_VERSION+set}" ; then
8256 setopt NO_GLOB_SUBST
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8260 $as_echo_n "checking for objdir... " >&6; }
8261 if ${lt_cv_objdir+:} false
; then :
8262 $as_echo_n "(cached) " >&6
8264 rm -f .libs
2>/dev
/null
8265 mkdir .libs
2>/dev
/null
8266 if test -d .libs
; then
8269 # MS-DOS does not allow filenames that begin with a dot.
8272 rmdir .libs
2>/dev
/null
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8275 $as_echo "$lt_cv_objdir" >&6; }
8276 objdir
=$lt_cv_objdir
8282 cat >>confdefs.h
<<_ACEOF
8283 #define LT_OBJDIR "$lt_cv_objdir/"
8304 # AIX sometimes has problems with the GCC collect2 program. For some
8305 # reason, if we set the COLLECT_NAMES environment variable, the problems
8306 # vanish in a puff of smoke.
8307 if test "X${COLLECT_NAMES+set}" != Xset
; then
8309 export COLLECT_NAMES
8314 # Sed substitution that helps us do robust quoting. It backslashifies
8315 # metacharacters that are still active within double-quoted strings.
8316 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8318 # Same as above, but do not quote variable references.
8319 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8321 # Sed substitution to delay expansion of an escaped shell variable in a
8322 # double_quote_subst'ed string.
8323 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8325 # Sed substitution to delay expansion of an escaped single quote.
8326 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8328 # Sed substitution to avoid accidental globbing in evaled expressions
8329 no_glob_subst
='s/\*/\\\*/g'
8333 can_build_shared
=yes
8335 # All known linkers require a `.a' archive for static linking (except MSVC,
8336 # which needs '.lib').
8339 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8342 old_CFLAGS
="$CFLAGS"
8344 # Set sane defaults for various variables
8345 test -z "$CC" && CC
=cc
8346 test -z "$LTCC" && LTCC
=$CC
8347 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8348 test -z "$LD" && LD
=ld
8349 test -z "$ac_objext" && ac_objext
=o
8351 for cc_temp
in $compiler""; do
8353 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8354 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8359 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8362 # Only perform the check for file, if the check method requires it
8363 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8364 case $deplibs_check_method in
8366 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8368 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8369 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8370 $as_echo_n "(cached) " >&6
8374 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8377 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8378 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8379 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8380 for ac_dir
in $ac_dummy; do
8382 test -z "$ac_dir" && ac_dir
=.
8383 if test -f $ac_dir/${ac_tool_prefix}file; then
8384 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8385 if test -n "$file_magic_test_file"; then
8386 case $deplibs_check_method in
8388 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8389 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8390 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8391 $EGREP "$file_magic_regex" > /dev
/null
; then
8396 *** Warning: the command libtool uses to detect shared libraries,
8397 *** $file_magic_cmd, produces output that libtool cannot recognize.
8398 *** The result is that libtool may fail to recognize shared libraries
8399 *** as such. This will affect the creation of libtool libraries that
8400 *** depend on shared libraries, but programs linked with such libtool
8401 *** libraries will work regardless of this problem. Nevertheless, you
8402 *** may want to report the problem to your system manager and/or to
8403 *** bug-libtool@gnu.org
8413 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8418 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8419 if test -n "$MAGIC_CMD"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8421 $as_echo "$MAGIC_CMD" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8424 $as_echo "no" >&6; }
8431 if test -z "$lt_cv_path_MAGIC_CMD"; then
8432 if test -n "$ac_tool_prefix"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8434 $as_echo_n "checking for file... " >&6; }
8435 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8436 $as_echo_n "(cached) " >&6
8440 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8443 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8444 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8445 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8446 for ac_dir
in $ac_dummy; do
8448 test -z "$ac_dir" && ac_dir
=.
8449 if test -f $ac_dir/file; then
8450 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8451 if test -n "$file_magic_test_file"; then
8452 case $deplibs_check_method in
8454 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8455 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8456 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8457 $EGREP "$file_magic_regex" > /dev
/null
; then
8462 *** Warning: the command libtool uses to detect shared libraries,
8463 *** $file_magic_cmd, produces output that libtool cannot recognize.
8464 *** The result is that libtool may fail to recognize shared libraries
8465 *** as such. This will affect the creation of libtool libraries that
8466 *** depend on shared libraries, but programs linked with such libtool
8467 *** libraries will work regardless of this problem. Nevertheless, you
8468 *** may want to report the problem to your system manager and/or to
8469 *** bug-libtool@gnu.org
8479 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8484 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8485 if test -n "$MAGIC_CMD"; then
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8487 $as_echo "$MAGIC_CMD" >&6; }
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8490 $as_echo "no" >&6; }
8503 # Use C for the default configuration in the libtool script
8507 ac_cpp
='$CPP $CPPFLAGS'
8508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8513 # Source file extension for C test sources.
8516 # Object file extension for compiled C test sources.
8520 # Code to be used in simple compile tests
8521 lt_simple_compile_test_code
="int some_variable = 0;"
8523 # Code to be used in simple link tests
8524 lt_simple_link_test_code
='int main(){return(0);}'
8532 # If no C compiler was specified, use CC.
8535 # If no C compiler flags were specified, use CFLAGS.
8536 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8538 # Allow CC to be a program name with arguments.
8541 # Save the default compiler, since it gets overwritten when the other
8542 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8543 compiler_DEFAULT
=$CC
8545 # save warnings/boilerplate of simple test code
8546 ac_outfile
=conftest.
$ac_objext
8547 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8548 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8549 _lt_compiler_boilerplate
=`cat conftest.err`
8552 ac_outfile
=conftest.
$ac_objext
8553 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8554 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8555 _lt_linker_boilerplate
=`cat conftest.err`
8559 if test -n "$compiler"; then
8561 lt_prog_compiler_no_builtin_flag
=
8563 if test "$GCC" = yes; then
8564 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8567 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8568 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8569 $as_echo_n "(cached) " >&6
8571 lt_cv_prog_compiler_rtti_exceptions
=no
8572 ac_outfile
=conftest.
$ac_objext
8573 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8574 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8575 # Insert the option either (1) after the last *FLAGS variable, or
8576 # (2) before a word containing "conftest.", or (3) at the end.
8577 # Note that $ac_compile itself does not contain backslashes and begins
8578 # with a dollar sign (not a hyphen), so the echo should work correctly.
8579 # The option is referenced via a variable to avoid confusing sed.
8580 lt_compile
=`echo "$ac_compile" | $SED \
8581 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8582 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8583 -e 's:$: $lt_compiler_flag:'`
8584 (eval echo "\"\$as_me:8584: $lt_compile\"" >&5)
8585 (eval "$lt_compile" 2>conftest.err
)
8587 cat conftest.err
>&5
8588 echo "$as_me:8588: \$? = $ac_status" >&5
8589 if (exit $ac_status) && test -s "$ac_outfile"; then
8590 # The compiler can only warn and ignore the option if not recognized
8591 # So say no if there are warnings other than the usual output.
8592 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8593 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8594 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8595 lt_cv_prog_compiler_rtti_exceptions
=yes
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8602 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8604 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8605 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8617 lt_prog_compiler_wl
=
8618 lt_prog_compiler_pic
=
8619 lt_prog_compiler_static
=
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8622 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8624 if test "$GCC" = yes; then
8625 lt_prog_compiler_wl
='-Wl,'
8626 lt_prog_compiler_static
='-static'
8630 # All AIX code is PIC.
8631 if test "$host_cpu" = ia64
; then
8632 # AIX 5 now supports IA64 processor
8633 lt_prog_compiler_static
='-Bstatic'
8640 # see comment about AmigaOS4 .so support
8641 lt_prog_compiler_pic
='-fPIC'
8644 # FIXME: we need at least 68020 code to build shared libraries, but
8645 # adding the `-m68020' flag to GCC prevents building anything better,
8647 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8652 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8653 # PIC is the default for these OSes.
8656 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8657 # This hack is so that the source file can tell whether it is being
8658 # built for inclusion in a dll (and should export symbols for example).
8659 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8660 # (--disable-auto-import) libraries
8661 lt_prog_compiler_pic
='-DDLL_EXPORT'
8664 darwin
* | rhapsody
*)
8665 # PIC is the default on this platform
8666 # Common symbols not allowed in MH_DYLIB files
8667 lt_prog_compiler_pic
='-fno-common'
8671 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8672 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8673 # sets the default TLS model and affects inlining.
8679 lt_prog_compiler_pic
='-fPIC'
8685 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8686 # Instead, we relocate shared libraries at runtime.
8690 # Just because we use GCC doesn't mean we suddenly get shared libraries
8691 # on systems that don't support them.
8692 lt_prog_compiler_can_build_shared
=no
8697 # QNX uses GNU C++, but need to define -shared option too, otherwise
8699 lt_prog_compiler_pic
='-fPIC -shared'
8703 if test -d /usr
/nec
; then
8704 lt_prog_compiler_pic
=-Kconform_pic
8709 lt_prog_compiler_pic
='-fPIC'
8713 # PORTME Check for flag to pass linker flags through the system compiler.
8716 lt_prog_compiler_wl
='-Wl,'
8717 if test "$host_cpu" = ia64
; then
8718 # AIX 5 now supports IA64 processor
8719 lt_prog_compiler_static
='-Bstatic'
8721 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8725 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8726 # This hack is so that the source file can tell whether it is being
8727 # built for inclusion in a dll (and should export symbols for example).
8728 lt_prog_compiler_pic
='-DDLL_EXPORT'
8731 hpux9
* | hpux10
* | hpux11
*)
8732 lt_prog_compiler_wl
='-Wl,'
8733 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8740 lt_prog_compiler_pic
='+Z'
8743 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8744 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8747 irix5
* | irix6
* | nonstopux
*)
8748 lt_prog_compiler_wl
='-Wl,'
8749 # PIC (with -KPIC) is the default.
8750 lt_prog_compiler_static
='-non_shared'
8753 linux
* | k
*bsd
*-gnu)
8754 case $cc_basename in
8755 # old Intel for x86_64 which still supported -KPIC.
8757 lt_prog_compiler_wl
='-Wl,'
8758 lt_prog_compiler_pic
='-KPIC'
8759 lt_prog_compiler_static
='-static'
8761 # icc used to be incompatible with GCC.
8762 # ICC 10 doesn't accept -KPIC any more.
8764 lt_prog_compiler_wl
='-Wl,'
8765 lt_prog_compiler_pic
='-fPIC'
8766 lt_prog_compiler_static
='-static'
8768 # Lahey Fortran 8.1.
8770 lt_prog_compiler_wl
='-Wl,'
8771 lt_prog_compiler_pic
='--shared'
8772 lt_prog_compiler_static
='--static'
8774 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8775 # Portland Group compilers (*not* the Pentium gcc compiler,
8776 # which looks to be a dead project)
8777 lt_prog_compiler_wl
='-Wl,'
8778 lt_prog_compiler_pic
='-fpic'
8779 lt_prog_compiler_static
='-Bstatic'
8782 lt_prog_compiler_wl
='-Wl,'
8783 # All Alpha code is PIC.
8784 lt_prog_compiler_static
='-non_shared'
8787 # IBM XL C 8.0/Fortran 10.1 on PPC
8788 lt_prog_compiler_wl
='-Wl,'
8789 lt_prog_compiler_pic
='-qpic'
8790 lt_prog_compiler_static
='-qstaticlink'
8793 case `$CC -V 2>&1 | sed 5q` in
8796 lt_prog_compiler_pic
='-KPIC'
8797 lt_prog_compiler_static
='-Bstatic'
8798 lt_prog_compiler_wl
='-Wl,'
8801 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8802 lt_prog_compiler_pic
='-KPIC'
8803 lt_prog_compiler_static
='-Bstatic'
8804 lt_prog_compiler_wl
=''
8812 lt_prog_compiler_pic
='-KPIC'
8813 lt_prog_compiler_static
='-Bstatic'
8817 # QNX uses GNU C++, but need to define -shared option too, otherwise
8819 lt_prog_compiler_pic
='-fPIC -shared'
8822 osf3
* | osf4
* | osf5
*)
8823 lt_prog_compiler_wl
='-Wl,'
8824 # All OSF/1 code is PIC.
8825 lt_prog_compiler_static
='-non_shared'
8829 lt_prog_compiler_static
='-non_shared'
8833 lt_prog_compiler_pic
='-KPIC'
8834 lt_prog_compiler_static
='-Bstatic'
8835 case $cc_basename in
8837 lt_prog_compiler_wl
='-Qoption ld ';;
8839 lt_prog_compiler_wl
='-Wl,';;
8844 lt_prog_compiler_wl
='-Qoption ld '
8845 lt_prog_compiler_pic
='-PIC'
8846 lt_prog_compiler_static
='-Bstatic'
8849 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8850 lt_prog_compiler_wl
='-Wl,'
8851 lt_prog_compiler_pic
='-KPIC'
8852 lt_prog_compiler_static
='-Bstatic'
8856 if test -d /usr
/nec
;then
8857 lt_prog_compiler_pic
='-Kconform_pic'
8858 lt_prog_compiler_static
='-Bstatic'
8862 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8863 lt_prog_compiler_wl
='-Wl,'
8864 lt_prog_compiler_pic
='-KPIC'
8865 lt_prog_compiler_static
='-Bstatic'
8869 lt_prog_compiler_wl
='-Wl,'
8870 lt_prog_compiler_can_build_shared
=no
8874 lt_prog_compiler_pic
='-pic'
8875 lt_prog_compiler_static
='-Bstatic'
8879 lt_prog_compiler_can_build_shared
=no
8885 # For platforms which do not support PIC, -DPIC is meaningless:
8887 lt_prog_compiler_pic
=
8890 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8894 $as_echo "$lt_prog_compiler_pic" >&6; }
8902 # Check to make sure the PIC flag actually works.
8904 if test -n "$lt_prog_compiler_pic"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8906 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8907 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 lt_cv_prog_compiler_pic_works
=no
8911 ac_outfile
=conftest.
$ac_objext
8912 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8913 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8914 # Insert the option either (1) after the last *FLAGS variable, or
8915 # (2) before a word containing "conftest.", or (3) at the end.
8916 # Note that $ac_compile itself does not contain backslashes and begins
8917 # with a dollar sign (not a hyphen), so the echo should work correctly.
8918 # The option is referenced via a variable to avoid confusing sed.
8919 lt_compile
=`echo "$ac_compile" | $SED \
8920 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8921 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8922 -e 's:$: $lt_compiler_flag:'`
8923 (eval echo "\"\$as_me:8923: $lt_compile\"" >&5)
8924 (eval "$lt_compile" 2>conftest.err
)
8926 cat conftest.err
>&5
8927 echo "$as_me:8927: \$? = $ac_status" >&5
8928 if (exit $ac_status) && test -s "$ac_outfile"; then
8929 # The compiler can only warn and ignore the option if not recognized
8930 # So say no if there are warnings other than the usual output.
8931 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8932 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8933 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8934 lt_cv_prog_compiler_pic_works
=yes
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8941 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8943 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8944 case $lt_prog_compiler_pic in
8946 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8949 lt_prog_compiler_pic
=
8950 lt_prog_compiler_can_build_shared
=no
8961 # Check to make sure the static flag actually works.
8963 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8965 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8966 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8967 $as_echo_n "(cached) " >&6
8969 lt_cv_prog_compiler_static_works
=no
8970 save_LDFLAGS
="$LDFLAGS"
8971 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8972 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8973 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8974 # The linker can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 if test -s conftest.err
; then
8977 # Append any errors to the config.log.
8978 cat conftest.err
1>&5
8979 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8980 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8981 if diff conftest.exp conftest.er2
>/dev
/null
; then
8982 lt_cv_prog_compiler_static_works
=yes
8985 lt_cv_prog_compiler_static_works
=yes
8989 LDFLAGS
="$save_LDFLAGS"
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8993 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8995 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8998 lt_prog_compiler_static
=
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9008 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9009 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9010 $as_echo_n "(cached) " >&6
9012 lt_cv_prog_compiler_c_o
=no
9013 $RM -r conftest
2>/dev
/null
9017 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9019 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9020 # Insert the option either (1) after the last *FLAGS variable, or
9021 # (2) before a word containing "conftest.", or (3) at the end.
9022 # Note that $ac_compile itself does not contain backslashes and begins
9023 # with a dollar sign (not a hyphen), so the echo should work correctly.
9024 lt_compile
=`echo "$ac_compile" | $SED \
9025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9027 -e 's:$: $lt_compiler_flag:'`
9028 (eval echo "\"\$as_me:9028: $lt_compile\"" >&5)
9029 (eval "$lt_compile" 2>out
/conftest.err
)
9031 cat out
/conftest.err
>&5
9032 echo "$as_me:9032: \$? = $ac_status" >&5
9033 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9035 # The compiler can only warn and ignore the option if not recognized
9036 # So say no if there are warnings
9037 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
9038 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9039 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9040 lt_cv_prog_compiler_c_o
=yes
9045 # SGI C++ compiler will create directory out/ii_files/ for
9046 # template instantiation
9047 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9048 $RM out
/* && rmdir out
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9055 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9063 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9064 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9065 $as_echo_n "(cached) " >&6
9067 lt_cv_prog_compiler_c_o
=no
9068 $RM -r conftest
2>/dev
/null
9072 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9074 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9075 # Insert the option either (1) after the last *FLAGS variable, or
9076 # (2) before a word containing "conftest.", or (3) at the end.
9077 # Note that $ac_compile itself does not contain backslashes and begins
9078 # with a dollar sign (not a hyphen), so the echo should work correctly.
9079 lt_compile
=`echo "$ac_compile" | $SED \
9080 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9081 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9082 -e 's:$: $lt_compiler_flag:'`
9083 (eval echo "\"\$as_me:9083: $lt_compile\"" >&5)
9084 (eval "$lt_compile" 2>out
/conftest.err
)
9086 cat out
/conftest.err
>&5
9087 echo "$as_me:9087: \$? = $ac_status" >&5
9088 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9090 # The compiler can only warn and ignore the option if not recognized
9091 # So say no if there are warnings
9092 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
9093 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9094 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9095 lt_cv_prog_compiler_c_o
=yes
9100 # SGI C++ compiler will create directory out/ii_files/ for
9101 # template instantiation
9102 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9103 $RM out
/* && rmdir out
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9110 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9115 hard_links
="nottested"
9116 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9117 # do not overwrite the value of need_locks provided by the user
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9119 $as_echo_n "checking if we can lock with hard links... " >&6; }
9122 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9124 ln conftest.a conftest.b
2>&5 || hard_links
=no
9125 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9127 $as_echo "$hard_links" >&6; }
9128 if test "$hard_links" = no
; then
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9130 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9143 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9146 allow_undefined_flag
=
9147 always_export_symbols
=no
9149 archive_expsym_cmds
=
9150 compiler_needs_object
=no
9151 enable_shared_with_static_runtimes
=no
9152 export_dynamic_flag_spec
=
9153 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9154 hardcode_automatic
=no
9156 hardcode_direct_absolute
=no
9157 hardcode_libdir_flag_spec
=
9158 hardcode_libdir_flag_spec_ld
=
9159 hardcode_libdir_separator
=
9161 hardcode_shlibpath_var
=unsupported
9163 link_all_deplibs
=unknown
9166 old_archive_from_new_cmds
=
9167 old_archive_from_expsyms_cmds
=
9168 thread_safe_flag_spec
=
9169 whole_archive_flag_spec
=
9170 # include_expsyms should be a list of space-separated symbols to be *always*
9171 # included in the symbol list
9173 # exclude_expsyms can be an extended regexp of symbols to exclude
9174 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9175 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9176 # as well as any symbol that contains `d'.
9177 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9178 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9179 # platforms (ab)use it in PIC code, but their linkers get confused if
9180 # the symbol is explicitly referenced. Since portable code cannot
9181 # rely on this symbol name, it's probably fine to never include it in
9182 # preloaded symbol tables.
9183 # Exclude shared library initialization/finalization symbols.
9184 extract_expsyms_cmds
=
9187 cygwin
* | mingw
* | pw32
* | cegcc
*)
9188 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9189 # When not using gcc, we currently assume that we are using
9190 # Microsoft Visual C++.
9191 if test "$GCC" != yes; then
9196 # we just hope/assume this is gcc and not c89 (= MSVC++)
9205 if test "$with_gnu_ld" = yes; then
9206 # If archive_cmds runs LD, not CC, wlarc should be empty
9209 # Set some defaults for GNU ld with shared library support. These
9210 # are reset later if shared libraries are not supported. Putting them
9211 # here allows them to be overridden if necessary.
9212 runpath_var
=LD_RUN_PATH
9213 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9214 export_dynamic_flag_spec
='${wl}--export-dynamic'
9215 # ancient GNU ld didn't support --whole-archive et. al.
9216 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9217 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9219 whole_archive_flag_spec
=
9221 supports_anon_versioning
=no
9222 case `$LD -v 2>&1` in
9223 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9224 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9225 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9226 *\
2.11.
*) ;; # other 2.11 versions
9227 *) supports_anon_versioning
=yes ;;
9230 # See if GNU ld supports shared libraries.
9233 # On AIX/PPC, the GNU linker is very broken
9234 if test "$host_cpu" != ia64
; then
9238 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9239 *** to be unable to reliably create shared libraries on AIX.
9240 *** Therefore, libtool is disabling shared libraries support. If you
9241 *** really care for shared libraries, you may want to modify your PATH
9242 *** so that a non-GNU linker is found, and then restart.
9251 # see comment about AmigaOS4 .so support
9252 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9253 archive_expsym_cmds
=''
9256 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)'
9257 hardcode_libdir_flag_spec
='-L$libdir'
9258 hardcode_minus_L
=yes
9264 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9265 allow_undefined_flag
=unsupported
9266 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9267 # support --undefined. This deserves some investigation. FIXME
9268 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9274 cygwin
* | mingw
* | pw32
* | cegcc
*)
9275 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9276 # as there is no search path for DLLs.
9277 hardcode_libdir_flag_spec
='-L$libdir'
9278 allow_undefined_flag
=unsupported
9279 always_export_symbols
=no
9280 enable_shared_with_static_runtimes
=yes
9281 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9283 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9284 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9285 # If the export-symbols file already is a .def file (1st line
9286 # is EXPORTS), use it as is; otherwise, prepend...
9287 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9288 cp $export_symbols $output_objdir/$soname.def;
9290 echo EXPORTS > $output_objdir/$soname.def;
9291 cat $export_symbols >> $output_objdir/$soname.def;
9293 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9301 hardcode_shlibpath_var
=no
9302 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9303 export_dynamic_flag_spec
='${wl}-E'
9304 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9305 # Instead, shared libraries are loaded at an image base (0x10000000 by
9306 # default) and relocated if they conflict, which is a slow very memory
9307 # consuming and fragmenting process. To avoid this, we pick a random,
9308 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9309 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9310 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9311 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'
9314 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9316 if test "$host_os" = linux
-dietlibc; then
9317 case $cc_basename in
9318 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9321 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9322 && test "$tmp_diet" = no
9325 tmp_sharedflag
='-shared'
9326 case $cc_basename,$host_cpu in
9327 pgcc
*) # Portland Group C compiler
9328 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'
9329 tmp_addflag
=' $pic_flag'
9331 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9332 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'
9333 tmp_addflag
=' $pic_flag -Mnomain' ;;
9334 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9335 tmp_addflag
=' -i_dynamic' ;;
9336 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9337 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9338 ifc
* | ifort
*) # Intel Fortran compiler
9339 tmp_addflag
=' -nofor_main' ;;
9340 lf95
*) # Lahey Fortran 8.1
9341 whole_archive_flag_spec
=
9342 tmp_sharedflag
='--shared' ;;
9343 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9344 tmp_sharedflag
='-qmkshrobj'
9347 case `$CC -V 2>&1 | sed 5q` in
9348 *Sun\ C
*) # Sun C 5.9
9349 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'
9350 compiler_needs_object
=yes
9351 tmp_sharedflag
='-G' ;;
9352 *Sun\ F
*) # Sun Fortran 8.3
9353 tmp_sharedflag
='-G' ;;
9355 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9357 if test "x$supports_anon_versioning" = xyes
; then
9358 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9359 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9360 echo "local: *; };" >> $output_objdir/$libname.ver~
9361 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9364 case $cc_basename in
9366 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9367 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9368 hardcode_libdir_flag_spec
=
9369 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9370 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9371 if test "x$supports_anon_versioning" = xyes
; then
9372 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9373 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9374 echo "local: *; };" >> $output_objdir/$libname.ver~
9375 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9385 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9386 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9389 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9390 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9395 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9399 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9400 *** create shared libraries on Solaris systems. Therefore, libtool
9401 *** is disabling shared libraries support. We urge you to upgrade GNU
9402 *** binutils to release 2.9.1 or newer. Another option is to modify
9403 *** your PATH or compiler configuration so that the native linker is
9404 *** used, and then restart.
9407 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9408 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9409 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9415 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9416 case `$LD -v 2>&1` in
9417 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9421 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9422 *** reliably create shared libraries on SCO systems. Therefore, libtool
9423 *** is disabling shared libraries support. We urge you to upgrade GNU
9424 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9425 *** your PATH or compiler configuration so that the native linker is
9426 *** used, and then restart.
9431 # For security reasons, it is highly recommended that you always
9432 # use absolute paths for naming shared libraries, and exclude the
9433 # DT_RUNPATH tag from executables and libraries. But doing so
9434 # requires that you compile everything twice, which is a pain.
9435 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9436 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9437 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9438 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9447 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9450 hardcode_shlibpath_var
=no
9454 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9455 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9456 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9463 if test "$ld_shlibs" = no
; then
9465 hardcode_libdir_flag_spec
=
9466 export_dynamic_flag_spec
=
9467 whole_archive_flag_spec
=
9470 # PORTME fill in a description of your system's linker (not GNU ld)
9473 allow_undefined_flag
=unsupported
9474 always_export_symbols
=yes
9475 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'
9476 # Note: this linker hardcodes the directories in LIBPATH if there
9477 # are no directories specified by -L.
9478 hardcode_minus_L
=yes
9479 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9480 # Neither direct hardcoding nor static linking is supported with a
9482 hardcode_direct
=unsupported
9487 if test "$host_cpu" = ia64
; then
9488 # On IA64, the linker does run time linking by default, so we don't
9489 # have to do anything special.
9490 aix_use_runtimelinking
=no
9491 exp_sym_flag
='-Bexport'
9494 # If we're using GNU nm, then we don't want the "-C" option.
9495 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9496 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9497 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'
9499 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'
9501 aix_use_runtimelinking
=no
9503 # Test if we are trying to use run time linking or normal
9504 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9505 # need to do runtime linking.
9506 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9507 for ld_flag
in $LDFLAGS; do
9508 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9509 aix_use_runtimelinking
=yes
9516 exp_sym_flag
='-bexport'
9517 no_entry_flag
='-bnoentry'
9520 # When large executables or shared objects are built, AIX ld can
9521 # have problems creating the table of contents. If linking a library
9522 # or program results in "error TOC overflow" add -mminimal-toc to
9523 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9524 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9528 hardcode_direct_absolute
=yes
9529 hardcode_libdir_separator
=':'
9530 link_all_deplibs
=yes
9531 file_list_spec
='${wl}-f,'
9533 if test "$GCC" = yes; then
9534 case $host_os in aix4.
[012]|aix4.
[012].
*)
9535 # We only want to do this on AIX 4.2 and lower, the check
9536 # below for broken collect2 doesn't work under 4.3+
9537 collect2name
=`${CC} -print-prog-name=collect2`
9538 if test -f "$collect2name" &&
9539 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9541 # We have reworked collect2
9544 # We have old collect2
9545 hardcode_direct
=unsupported
9546 # It fails to find uninstalled libraries when the uninstalled
9547 # path is not listed in the libpath. Setting hardcode_minus_L
9548 # to unsupported forces relinking
9549 hardcode_minus_L
=yes
9550 hardcode_libdir_flag_spec
='-L$libdir'
9551 hardcode_libdir_separator
=
9555 shared_flag
='-shared'
9556 if test "$aix_use_runtimelinking" = yes; then
9557 shared_flag
="$shared_flag "'${wl}-G'
9561 if test "$host_cpu" = ia64
; then
9562 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9563 # chokes on -Wl,-G. The following line is correct:
9566 if test "$aix_use_runtimelinking" = yes; then
9567 shared_flag
='${wl}-G'
9569 shared_flag
='${wl}-bM:SRE'
9574 export_dynamic_flag_spec
='${wl}-bexpall'
9575 # It seems that -bexpall does not export symbols beginning with
9576 # underscore (_), so it is better to generate a list of symbols to export.
9577 always_export_symbols
=yes
9578 if test "$aix_use_runtimelinking" = yes; then
9579 # Warning - without using the other runtime loading flags (-brtl),
9580 # -berok will link without error, but may produce a broken library.
9581 allow_undefined_flag
='-berok'
9582 # Determine the default libpath from the value encoded in an
9584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9585 /* end confdefs.h. */
9595 if ac_fn_c_try_link
"$LINENO"; then :
9597 lt_aix_libpath_sed
='
9598 /Import File Strings/,/^$/ {
9604 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9605 # Check for a 64-bit object if we didn't find anything.
9606 if test -z "$aix_libpath"; then
9607 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9610 rm -f core conftest.err conftest.
$ac_objext \
9611 conftest
$ac_exeext conftest.
$ac_ext
9612 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9614 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9615 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"
9617 if test "$host_cpu" = ia64
; then
9618 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9619 allow_undefined_flag
="-z nodefs"
9620 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"
9622 # Determine the default libpath from the value encoded in an
9624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9635 if ac_fn_c_try_link
"$LINENO"; then :
9637 lt_aix_libpath_sed
='
9638 /Import File Strings/,/^$/ {
9644 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9645 # Check for a 64-bit object if we didn't find anything.
9646 if test -z "$aix_libpath"; then
9647 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9650 rm -f core conftest.err conftest.
$ac_objext \
9651 conftest
$ac_exeext conftest.
$ac_ext
9652 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9654 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9655 # Warning - without using the other run time loading flags,
9656 # -berok will link without error, but may produce a broken library.
9657 no_undefined_flag
=' ${wl}-bernotok'
9658 allow_undefined_flag
=' ${wl}-berok'
9659 # Exported symbols can be pulled into shared objects from archives
9660 whole_archive_flag_spec
='$convenience'
9661 archive_cmds_need_lc
=yes
9662 # This is similar to how AIX traditionally builds its shared libraries.
9663 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'
9671 # see comment about AmigaOS4 .so support
9672 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9673 archive_expsym_cmds
=''
9676 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)'
9677 hardcode_libdir_flag_spec
='-L$libdir'
9678 hardcode_minus_L
=yes
9684 export_dynamic_flag_spec
=-rdynamic
9687 cygwin
* | mingw
* | pw32
* | cegcc
*)
9688 # When not using gcc, we currently assume that we are using
9689 # Microsoft Visual C++.
9690 # hardcode_libdir_flag_spec is actually meaningless, as there is
9691 # no search path for DLLs.
9692 hardcode_libdir_flag_spec
=' '
9693 allow_undefined_flag
=unsupported
9694 # Tell ltmain to make .lib files, not .a files.
9696 # Tell ltmain to make .dll files, not .so files.
9698 # FIXME: Setting linknames here is a bad hack.
9699 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9700 # The linker will automatically build a .lib file if we build a DLL.
9701 old_archive_from_new_cmds
='true'
9702 # FIXME: Should let the user specify the lib program.
9703 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9704 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9705 enable_shared_with_static_runtimes
=yes
9708 darwin
* | rhapsody
*)
9711 archive_cmds_need_lc
=no
9713 hardcode_automatic
=yes
9714 hardcode_shlibpath_var
=unsupported
9715 whole_archive_flag_spec
=''
9716 link_all_deplibs
=yes
9717 allow_undefined_flag
="$_lt_dar_allow_undefined"
9718 case $cc_basename in
9719 ifort
*) _lt_dar_can_shared
=yes ;;
9720 *) _lt_dar_can_shared
=$GCC ;;
9722 if test "$_lt_dar_can_shared" = "yes"; then
9723 output_verbose_link_cmd
=echo
9724 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9725 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9726 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}"
9727 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}"
9736 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9737 hardcode_libdir_flag_spec
='-L$libdir'
9738 hardcode_shlibpath_var
=no
9745 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9746 # support. Future versions do this automatically, but an explicit c++rt0.o
9747 # does not break anything, and helps significantly (at the cost of a little
9750 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9751 hardcode_libdir_flag_spec
='-R$libdir'
9753 hardcode_shlibpath_var
=no
9756 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9758 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9760 hardcode_minus_L
=yes
9761 hardcode_shlibpath_var
=no
9764 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9765 freebsd
* | dragonfly
*)
9766 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9767 hardcode_libdir_flag_spec
='-R$libdir'
9769 hardcode_shlibpath_var
=no
9773 if test "$GCC" = yes; then
9774 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'
9776 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'
9778 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9779 hardcode_libdir_separator
=:
9782 # hardcode_minus_L: Not really in the search PATH,
9783 # but as the default location of the library.
9784 hardcode_minus_L
=yes
9785 export_dynamic_flag_spec
='${wl}-E'
9789 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9790 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9794 if test "$with_gnu_ld" = no
; then
9795 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9796 hardcode_libdir_flag_spec_ld
='+b $libdir'
9797 hardcode_libdir_separator
=:
9799 hardcode_direct_absolute
=yes
9800 export_dynamic_flag_spec
='${wl}-E'
9801 # hardcode_minus_L: Not really in the search PATH,
9802 # but as the default location of the library.
9803 hardcode_minus_L
=yes
9808 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9811 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9814 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9817 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9823 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9826 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9829 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9833 if test "$with_gnu_ld" = no
; then
9834 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9835 hardcode_libdir_separator
=:
9840 hardcode_shlibpath_var
=no
9844 hardcode_direct_absolute
=yes
9845 export_dynamic_flag_spec
='${wl}-E'
9847 # hardcode_minus_L: Not really in the search PATH,
9848 # but as the default location of the library.
9849 hardcode_minus_L
=yes
9855 irix5
* | irix6
* | nonstopux
*)
9856 if test "$GCC" = yes; then
9857 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'
9858 # Try to use the -exported_symbol ld option, if it does not
9859 # work, assume that -exports_file does not work either and
9860 # implicitly export all symbols.
9861 save_LDFLAGS
="$LDFLAGS"
9862 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9867 if ac_fn_c_try_link
"$LINENO"; then :
9868 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'
9871 rm -f core conftest.err conftest.
$ac_objext \
9872 conftest
$ac_exeext conftest.
$ac_ext
9873 LDFLAGS
="$save_LDFLAGS"
9875 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'
9876 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'
9878 archive_cmds_need_lc
='no'
9879 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9880 hardcode_libdir_separator
=:
9882 link_all_deplibs
=yes
9886 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9887 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9889 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9891 hardcode_libdir_flag_spec
='-R$libdir'
9893 hardcode_shlibpath_var
=no
9897 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9899 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9900 hardcode_libdir_separator
=:
9901 hardcode_shlibpath_var
=no
9908 if test -f /usr
/libexec
/ld.so
; then
9910 hardcode_shlibpath_var
=no
9911 hardcode_direct_absolute
=yes
9912 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9913 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9914 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9915 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9916 export_dynamic_flag_spec
='${wl}-E'
9919 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9920 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9921 hardcode_libdir_flag_spec
='-R$libdir'
9924 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9925 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9935 hardcode_libdir_flag_spec
='-L$libdir'
9936 hardcode_minus_L
=yes
9937 allow_undefined_flag
=unsupported
9938 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'
9939 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9943 if test "$GCC" = yes; then
9944 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9945 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'
9947 allow_undefined_flag
=' -expect_unresolved \*'
9948 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'
9950 archive_cmds_need_lc
='no'
9951 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9952 hardcode_libdir_separator
=:
9955 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9956 if test "$GCC" = yes; then
9957 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9958 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'
9959 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9961 allow_undefined_flag
=' -expect_unresolved \*'
9962 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'
9963 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~
9964 $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'
9966 # Both c and cxx compiler support -rpath directly
9967 hardcode_libdir_flag_spec
='-rpath $libdir'
9969 archive_cmds_need_lc
='no'
9970 hardcode_libdir_separator
=:
9974 no_undefined_flag
=' -z defs'
9975 if test "$GCC" = yes; then
9977 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9978 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9979 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9981 case `$CC -V 2>&1` in
9984 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9986 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9990 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9991 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9992 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9996 hardcode_libdir_flag_spec
='-R$libdir'
9997 hardcode_shlibpath_var
=no
9999 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10001 # The compiler driver will combine and reorder linker options,
10002 # but understands `-z linker_flag'. GCC discards it without `$wl',
10003 # but is careful enough not to reorder.
10004 # Supported since Solaris 2.6 (maybe 2.5.1?)
10005 if test "$GCC" = yes; then
10006 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10008 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10012 link_all_deplibs
=yes
10016 if test "x$host_vendor" = xsequent
; then
10017 # Use $CC to link under sequent, because it throws in some extra .o
10018 # files that make .init and .fini sections work.
10019 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10021 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_libdir_flag_spec
='-L$libdir'
10024 hardcode_direct
=yes
10025 hardcode_minus_L
=yes
10026 hardcode_shlibpath_var
=no
10030 case $host_vendor in
10032 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10033 hardcode_direct
=yes # is this really true???
10036 ## LD is ld it makes a PLAMLIB
10037 ## CC just makes a GrossModule.
10038 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10039 reload_cmds
='$CC -r -o $output$reload_objs'
10043 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10044 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10047 runpath_var
='LD_RUN_PATH'
10048 hardcode_shlibpath_var
=no
10052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10053 hardcode_shlibpath_var
=no
10054 export_dynamic_flag_spec
='-Bexport'
10058 if test -d /usr
/nec
; then
10059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10060 hardcode_shlibpath_var
=no
10061 runpath_var
=LD_RUN_PATH
10062 hardcode_runpath_var
=yes
10067 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10068 no_undefined_flag
='${wl}-z,text'
10069 archive_cmds_need_lc
=no
10070 hardcode_shlibpath_var
=no
10071 runpath_var
='LD_RUN_PATH'
10073 if test "$GCC" = yes; then
10074 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10082 sysv5
* | sco3.2v5
* | sco5v6
*)
10083 # Note: We can NOT use -z defs as we might desire, because we do not
10084 # link with -lc, and that would cause any symbols used from libc to
10085 # always be unresolved, which means just about no library would
10086 # ever link correctly. If we're not using GNU ld we use -z text
10087 # though, which does catch some bad symbols but isn't as heavy-handed
10089 no_undefined_flag
='${wl}-z,text'
10090 allow_undefined_flag
='${wl}-z,nodefs'
10091 archive_cmds_need_lc
=no
10092 hardcode_shlibpath_var
=no
10093 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10094 hardcode_libdir_separator
=':'
10095 link_all_deplibs
=yes
10096 export_dynamic_flag_spec
='${wl}-Bexport'
10097 runpath_var
='LD_RUN_PATH'
10099 if test "$GCC" = yes; then
10100 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10110 hardcode_libdir_flag_spec
='-L$libdir'
10111 hardcode_shlibpath_var
=no
10119 if test x
$host_vendor = xsni
; then
10121 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10122 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10129 $as_echo "$ld_shlibs" >&6; }
10130 test "$ld_shlibs" = no
&& can_build_shared
=no
10132 with_gnu_ld
=$with_gnu_ld
10149 # Do we need to explicitly link libc?
10151 case "x$archive_cmds_need_lc" in
10153 # Assume -lc should be added
10154 archive_cmds_need_lc
=yes
10156 if test "$enable_shared" = yes && test "$GCC" = yes; then
10157 case $archive_cmds in
10159 # FIXME: we may have to deal with multi-command sequences.
10162 # Test whether the compiler implicitly links with -lc since on some
10163 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10164 # to ld, don't add -lc before -lgcc.
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10166 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10168 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10171 (eval $ac_compile) 2>&5
10173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10174 test $ac_status = 0; } 2>conftest.err
; then
10177 libobjs
=conftest.
$ac_objext
10179 wl
=$lt_prog_compiler_wl
10180 pic_flag
=$lt_prog_compiler_pic
10186 lt_save_allow_undefined_flag
=$allow_undefined_flag
10187 allow_undefined_flag
=
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10189 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; }
10194 archive_cmds_need_lc
=no
10196 archive_cmds_need_lc
=yes
10198 allow_undefined_flag
=$lt_save_allow_undefined_flag
10200 cat conftest.err
1>&5
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10204 $as_echo "$archive_cmds_need_lc" >&6; }
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10368 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10370 if test "$GCC" = yes; then
10372 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10373 *) lt_awk_arg
="/^libraries:/" ;;
10375 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10376 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
10377 # if the path contains ";" then we assume it to be the separator
10378 # otherwise default to the standard path separator (i.e. ":") - it is
10379 # assumed that no part of a normal pathname contains ";" but that should
10380 # okay in the real world where ";" in dirpaths is itself problematic.
10381 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10383 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10385 # Ok, now we have the path, separated by spaces, we can step through it
10386 # and add multilib dir if necessary.
10387 lt_tmp_lt_search_path_spec
=
10388 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10389 for lt_sys_path
in $lt_search_path_spec; do
10390 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10391 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10393 test -d "$lt_sys_path" && \
10394 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10397 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10398 BEGIN {RS=" "; FS="/|\n";} {
10401 for (lt_i = NF; lt_i > 0; lt_i--) {
10402 if ($lt_i != "" && $lt_i != ".") {
10403 if ($lt_i == "..") {
10406 if (lt_count == 0) {
10407 lt_foo="/" $lt_i lt_foo;
10414 if (lt_foo != "") { lt_freq[lt_foo]++; }
10415 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10417 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10419 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10421 library_names_spec
=
10422 libname_spec
='lib$name'
10426 postuninstall_cmds
=
10430 shlibpath_overrides_runpath
=unknown
10432 dynamic_linker
="$host_os ld.so"
10433 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10434 need_lib_prefix
=unknown
10435 hardcode_into_libs
=no
10437 # when you set need_version to no, make sure it does not cause -set_version
10438 # flags to be left without arguments
10439 need_version
=unknown
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10445 shlibpath_var
=LIBPATH
10447 # AIX 3 has no versioning support, so we append a major version to the name.
10448 soname_spec
='${libname}${release}${shared_ext}$major'
10455 hardcode_into_libs
=yes
10456 if test "$host_cpu" = ia64
; then
10457 # AIX 5 supports IA64
10458 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10459 shlibpath_var
=LD_LIBRARY_PATH
10461 # With GCC up to 2.95.x, collect2 would create an import file
10462 # for dependence libraries. The import file would start with
10463 # the line `#! .'. This would cause the generated library to
10464 # depend on `.', always an invalid library. This was fixed in
10465 # development snapshots of GCC prior to 3.0.
10467 aix4
| aix4.
[01] | aix4.
[01].
*)
10468 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10470 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
10473 can_build_shared
=no
10477 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10478 # soname into executable. Probably we can add versioning support to
10479 # collect2, so additional links can be useful in future.
10480 if test "$aix_use_runtimelinking" = yes; then
10481 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10482 # instead of lib<name>.a to let people know that these are not
10483 # typical AIX shared libraries.
10484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10486 # We preserve .a as extension for shared libraries through AIX4.2
10487 # and later when we are not doing run time linking.
10488 library_names_spec
='${libname}${release}.a $libname.a'
10489 soname_spec
='${libname}${release}${shared_ext}$major'
10491 shlibpath_var
=LIBPATH
10498 # Since July 2007 AmigaOS4 officially supports .so libraries.
10499 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 library_names_spec
='$libname.ixlibrary $libname.a'
10504 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10505 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'
10511 library_names_spec
='${libname}${shared_ext}'
10512 dynamic_linker
="$host_os ld.so"
10513 shlibpath_var
=LIBRARY_PATH
10519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10520 soname_spec
='${libname}${release}${shared_ext}$major'
10521 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10522 shlibpath_var
=LD_LIBRARY_PATH
10523 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10524 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10525 # the default ld.so.conf also contains /usr/contrib/lib and
10526 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10527 # libtool to hard-code these into programs
10530 cygwin
* | mingw
* | pw32
* | cegcc
*)
10531 version_type
=windows
10536 case $GCC,$host_os in
10537 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
10538 library_names_spec
='$libname.dll.a'
10539 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10540 postinstall_cmds
='base_file=`basename \${file}`~
10541 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10542 dldir=$destdir/`dirname \$dlpath`~
10543 test -d \$dldir || mkdir -p \$dldir~
10544 $install_prog $dir/$dlname \$dldir/$dlname~
10545 chmod a+x \$dldir/$dlname~
10546 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10547 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10549 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10550 dlpath=$dir/\$dldll~
10552 shlibpath_overrides_runpath
=yes
10556 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10557 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10558 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10561 # MinGW DLLs use traditional 'lib' prefix
10562 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10563 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10564 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
10565 # It is most probably a Windows format PATH printed by
10566 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10567 # path with ; separators, and with drive letters. We can handle the
10568 # drive letters (cygwin fileutils understands them), so leave them,
10569 # especially as we might pass files found there to a mingw objdump,
10570 # which wouldn't understand a cygwinified path. Ahh.
10571 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10573 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10577 # pw32 DLLs use 'pw' prefix rather than 'lib'
10578 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10584 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10587 dynamic_linker
='Win32 ld.exe'
10588 # FIXME: first we should search . and the directory the executable is in
10592 darwin
* | rhapsody
*)
10593 dynamic_linker
="$host_os dyld"
10594 version_type
=darwin
10597 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10598 soname_spec
='${libname}${release}${major}$shared_ext'
10599 shlibpath_overrides_runpath
=yes
10600 shlibpath_var
=DYLD_LIBRARY_PATH
10601 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10603 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10604 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10612 soname_spec
='${libname}${release}${shared_ext}$major'
10613 shlibpath_var
=LD_LIBRARY_PATH
10620 freebsd
* | dragonfly
*)
10621 # DragonFly does not have aout. When/if they implement a new
10622 # versioning mechanism, adjust this.
10623 if test -x /usr
/bin
/objformat
; then
10624 objformat
=`/usr/bin/objformat`
10627 freebsd
[123]*) objformat
=aout
;;
10628 *) objformat
=elf
;;
10631 # Handle Gentoo/FreeBSD as it was Linux
10632 case $host_vendor in
10634 version_type
=linux
;;
10636 version_type
=freebsd
-$objformat ;;
10639 case $version_type in
10641 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10646 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10651 soname_spec
='${libname}${release}${shared_ext}$major'
10656 shlibpath_var
=LD_LIBRARY_PATH
10659 shlibpath_overrides_runpath
=yes
10661 freebsd3.
[01]* | freebsdelf3.
[01]*)
10662 shlibpath_overrides_runpath
=yes
10663 hardcode_into_libs
=yes
10665 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10666 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10667 shlibpath_overrides_runpath
=no
10668 hardcode_into_libs
=yes
10670 *) # from 4.6 on, and DragonFly
10671 shlibpath_overrides_runpath
=yes
10672 hardcode_into_libs
=yes
10681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10682 soname_spec
='${libname}${release}${shared_ext}$major'
10683 shlibpath_var
=LD_LIBRARY_PATH
10684 hardcode_into_libs
=yes
10687 hpux9
* | hpux10
* | hpux11
*)
10688 # Give a soname corresponding to the major version so that dld.sl refuses to
10689 # link against other versions.
10696 hardcode_into_libs
=yes
10697 dynamic_linker
="$host_os dld.so"
10698 shlibpath_var
=LD_LIBRARY_PATH
10699 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10701 soname_spec
='${libname}${release}${shared_ext}$major'
10702 if test "X$HPUX_IA64_MODE" = X32
; then
10703 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10705 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10707 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10711 hardcode_into_libs
=yes
10712 dynamic_linker
="$host_os dld.sl"
10713 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10714 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10716 soname_spec
='${libname}${release}${shared_ext}$major'
10717 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10718 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10722 dynamic_linker
="$host_os dld.sl"
10723 shlibpath_var
=SHLIB_PATH
10724 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10725 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10726 soname_spec
='${libname}${release}${shared_ext}$major'
10729 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10730 postinstall_cmds
='chmod 555 $lib'
10737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10738 soname_spec
='${libname}${release}${shared_ext}$major'
10739 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10740 shlibpath_var
=LD_LIBRARY_PATH
10741 shlibpath_overrides_runpath
=no
10742 hardcode_into_libs
=yes
10745 irix5
* | irix6
* | nonstopux
*)
10747 nonstopux
*) version_type
=nonstopux
;;
10749 if test "$lt_cv_prog_gnu_ld" = yes; then
10757 soname_spec
='${libname}${release}${shared_ext}$major'
10758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10760 irix5
* | nonstopux
*)
10761 libsuff
= shlibsuff
=
10764 case $LD in # libtool.m4 will add one of these switches to LD
10765 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10766 libsuff
= shlibsuff
= libmagic
=32-bit;;
10767 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10768 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10769 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10770 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10771 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10775 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10776 shlibpath_overrides_runpath
=no
10777 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10778 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10779 hardcode_into_libs
=yes
10782 # No shared lib support for Linux oldld, aout, or coff.
10783 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10787 # This must be Linux ELF.
10788 linux
* | k
*bsd
*-gnu)
10792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10793 soname_spec
='${libname}${release}${shared_ext}$major'
10794 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10795 shlibpath_var
=LD_LIBRARY_PATH
10796 shlibpath_overrides_runpath
=no
10797 # Some binutils ld are patched to set DT_RUNPATH
10798 save_LDFLAGS
=$LDFLAGS
10799 save_libdir
=$libdir
10800 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10801 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10813 if ac_fn_c_try_link
"$LINENO"; then :
10814 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
10815 shlibpath_overrides_runpath
=yes
10818 rm -f core conftest.err conftest.
$ac_objext \
10819 conftest
$ac_exeext conftest.
$ac_ext
10820 LDFLAGS
=$save_LDFLAGS
10821 libdir
=$save_libdir
10823 # This implies no fast_install, which is unacceptable.
10824 # Some rework will be needed to allow for fast_install
10825 # before this can be enabled.
10826 hardcode_into_libs
=yes
10828 # Append ld.so.conf contents to the search path
10829 if test -f /etc
/ld.so.conf
; then
10830 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' ' '`
10831 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10834 # We used to test for /lib/ld.so.1 and disable shared libraries on
10835 # powerpc, because MkLinux only supported shared libraries with the
10836 # GNU dynamic linker. Since this was broken with cross compilers,
10837 # most powerpc-linux boxes support dynamic linking these days and
10838 # people can always --disable-shared, the test was removed, and we
10839 # assume the GNU/Linux dynamic linker is in use.
10840 dynamic_linker
='GNU/Linux ld.so'
10847 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10849 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10850 dynamic_linker
='NetBSD (a.out) ld.so'
10852 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853 soname_spec
='${libname}${release}${shared_ext}$major'
10854 dynamic_linker
='NetBSD ld.elf_so'
10856 shlibpath_var
=LD_LIBRARY_PATH
10857 shlibpath_overrides_runpath
=yes
10858 hardcode_into_libs
=yes
10863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864 shlibpath_var
=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath
=yes
10872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873 soname_spec
='${libname}${release}${shared_ext}$major'
10874 shlibpath_var
=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath
=no
10876 hardcode_into_libs
=yes
10877 dynamic_linker
='ldqnx.so'
10882 sys_lib_dlsearch_path_spec
="/usr/lib"
10884 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10886 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10887 *) need_version
=no
;;
10889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10890 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10891 shlibpath_var
=LD_LIBRARY_PATH
10892 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10894 openbsd2.
[89] | openbsd2.
[89].
*)
10895 shlibpath_overrides_runpath
=no
10898 shlibpath_overrides_runpath
=yes
10902 shlibpath_overrides_runpath
=yes
10907 libname_spec
='$name'
10910 library_names_spec
='$libname${shared_ext} $libname.a'
10911 dynamic_linker
='OS/2 ld.exe'
10912 shlibpath_var
=LIBPATH
10915 osf3
* | osf4
* | osf5
*)
10919 soname_spec
='${libname}${release}${shared_ext}$major'
10920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921 shlibpath_var
=LD_LIBRARY_PATH
10922 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10923 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935 soname_spec
='${libname}${release}${shared_ext}$major'
10936 shlibpath_var
=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath
=yes
10938 hardcode_into_libs
=yes
10939 # ldd complains unless libraries are executable
10940 postinstall_cmds
='chmod +x $lib'
10945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10946 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10947 shlibpath_var
=LD_LIBRARY_PATH
10948 shlibpath_overrides_runpath
=yes
10949 if test "$with_gnu_ld" = yes; then
10957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10958 soname_spec
='${libname}${release}${shared_ext}$major'
10959 shlibpath_var
=LD_LIBRARY_PATH
10960 case $host_vendor in
10962 shlibpath_overrides_runpath
=no
10964 runpath_var
=LD_RUN_PATH
10972 shlibpath_overrides_runpath
=no
10973 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10979 if test -d /usr
/nec
;then
10981 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10982 soname_spec
='$libname${shared_ext}.$major'
10983 shlibpath_var
=LD_LIBRARY_PATH
10987 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10988 version_type
=freebsd
-elf
10991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10992 soname_spec
='${libname}${release}${shared_ext}$major'
10993 shlibpath_var
=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath
=yes
10995 hardcode_into_libs
=yes
10996 if test "$with_gnu_ld" = yes; then
10997 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10999 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11002 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11006 sys_lib_dlsearch_path_spec
='/usr/lib'
11010 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11015 shlibpath_var
=LD_LIBRARY_PATH
11016 shlibpath_overrides_runpath
=no
11017 hardcode_into_libs
=yes
11022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 soname_spec
='${libname}${release}${shared_ext}$major'
11024 shlibpath_var
=LD_LIBRARY_PATH
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11032 $as_echo "$dynamic_linker" >&6; }
11033 test "$dynamic_linker" = no
&& can_build_shared
=no
11035 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11036 if test "$GCC" = yes; then
11037 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11040 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11041 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11043 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11044 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11134 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11136 if test -n "$hardcode_libdir_flag_spec" ||
11137 test -n "$runpath_var" ||
11138 test "X$hardcode_automatic" = "Xyes" ; then
11140 # We can hardcode non-existent directories.
11141 if test "$hardcode_direct" != no
&&
11142 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11143 # have to relink, otherwise we might link with an installed library
11144 # when we should be linking with a yet-to-be-installed one
11145 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11146 test "$hardcode_minus_L" != no
; then
11147 # Linking always hardcodes the temporary library directory.
11148 hardcode_action
=relink
11150 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11151 hardcode_action
=immediate
11154 # We cannot hardcode anything, or else we can only hardcode existing
11156 hardcode_action
=unsupported
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11159 $as_echo "$hardcode_action" >&6; }
11161 if test "$hardcode_action" = relink
||
11162 test "$inherit_rpath" = yes; then
11163 # Fast installation is not supported
11164 enable_fast_install
=no
11165 elif test "$shlibpath_overrides_runpath" = yes ||
11166 test "$enable_shared" = no
; then
11167 # Fast installation is not necessary
11168 enable_fast_install
=needless
11176 if test "x$enable_dlopen" != xyes
; then
11177 enable_dlopen
=unknown
11178 enable_dlopen_self
=unknown
11179 enable_dlopen_self_static
=unknown
11186 lt_cv_dlopen
="load_add_on"
11188 lt_cv_dlopen_self
=yes
11191 mingw
* | pw32
* | cegcc
*)
11192 lt_cv_dlopen
="LoadLibrary"
11197 lt_cv_dlopen
="dlopen"
11202 # if libdl is installed we need to link against it
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11204 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11205 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11206 $as_echo_n "(cached) " >&6
11208 ac_check_lib_save_LIBS
=$LIBS
11210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11213 /* Override any GCC internal prototype to avoid an error.
11214 Use char because int might match the return type of a GCC
11215 builtin and then its argument prototype would still apply. */
11228 if ac_fn_c_try_link
"$LINENO"; then :
11229 ac_cv_lib_dl_dlopen
=yes
11231 ac_cv_lib_dl_dlopen
=no
11233 rm -f core conftest.err conftest.
$ac_objext \
11234 conftest
$ac_exeext conftest.
$ac_ext
11235 LIBS
=$ac_check_lib_save_LIBS
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11238 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11239 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11240 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11243 lt_cv_dlopen
="dyld"
11245 lt_cv_dlopen_self
=yes
11252 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11253 if test "x$ac_cv_func_shl_load" = xyes
; then :
11254 lt_cv_dlopen
="shl_load"
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11257 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11258 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11259 $as_echo_n "(cached) " >&6
11261 ac_check_lib_save_LIBS
=$LIBS
11263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11276 return shl_load ();
11281 if ac_fn_c_try_link
"$LINENO"; then :
11282 ac_cv_lib_dld_shl_load
=yes
11284 ac_cv_lib_dld_shl_load
=no
11286 rm -f core conftest.err conftest.
$ac_objext \
11287 conftest
$ac_exeext conftest.
$ac_ext
11288 LIBS
=$ac_check_lib_save_LIBS
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11291 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11292 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11293 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11295 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11296 if test "x$ac_cv_func_dlopen" = xyes
; then :
11297 lt_cv_dlopen
="dlopen"
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11300 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11301 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11302 $as_echo_n "(cached) " >&6
11304 ac_check_lib_save_LIBS
=$LIBS
11306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11324 if ac_fn_c_try_link
"$LINENO"; then :
11325 ac_cv_lib_dl_dlopen
=yes
11327 ac_cv_lib_dl_dlopen
=no
11329 rm -f core conftest.err conftest.
$ac_objext \
11330 conftest
$ac_exeext conftest.
$ac_ext
11331 LIBS
=$ac_check_lib_save_LIBS
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11334 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11335 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11336 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11339 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11340 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11341 $as_echo_n "(cached) " >&6
11343 ac_check_lib_save_LIBS
=$LIBS
11344 LIBS
="-lsvld $LIBS"
11345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11363 if ac_fn_c_try_link
"$LINENO"; then :
11364 ac_cv_lib_svld_dlopen
=yes
11366 ac_cv_lib_svld_dlopen
=no
11368 rm -f core conftest.err conftest.
$ac_objext \
11369 conftest
$ac_exeext conftest.
$ac_ext
11370 LIBS
=$ac_check_lib_save_LIBS
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11373 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11374 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11375 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11378 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11379 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11380 $as_echo_n "(cached) " >&6
11382 ac_check_lib_save_LIBS
=$LIBS
11384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11397 return dld_link ();
11402 if ac_fn_c_try_link
"$LINENO"; then :
11403 ac_cv_lib_dld_dld_link
=yes
11405 ac_cv_lib_dld_dld_link
=no
11407 rm -f core conftest.err conftest.
$ac_objext \
11408 conftest
$ac_exeext conftest.
$ac_ext
11409 LIBS
=$ac_check_lib_save_LIBS
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11412 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11413 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11414 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11435 if test "x$lt_cv_dlopen" != xno
; then
11441 case $lt_cv_dlopen in
11443 save_CPPFLAGS
="$CPPFLAGS"
11444 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11446 save_LDFLAGS
="$LDFLAGS"
11447 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11450 LIBS
="$lt_cv_dlopen_libs $LIBS"
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11453 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11454 if ${lt_cv_dlopen_self+:} false
; then :
11455 $as_echo_n "(cached) " >&6
11457 if test "$cross_compiling" = yes; then :
11458 lt_cv_dlopen_self
=cross
11460 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11461 lt_status
=$lt_dlunknown
11462 cat > conftest.
$ac_ext <<_LT_EOF
11463 #line 11463 "configure"
11464 #include "confdefs.h"
11473 # define LT_DLGLOBAL RTLD_GLOBAL
11476 # define LT_DLGLOBAL DL_GLOBAL
11478 # define LT_DLGLOBAL 0
11482 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11483 find out it does not work in some platform. */
11484 #ifndef LT_DLLAZY_OR_NOW
11486 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11489 # define LT_DLLAZY_OR_NOW DL_LAZY
11492 # define LT_DLLAZY_OR_NOW RTLD_NOW
11495 # define LT_DLLAZY_OR_NOW DL_NOW
11497 # define LT_DLLAZY_OR_NOW 0
11504 void fnord() { int i=42;}
11507 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11508 int status = $lt_dlunknown;
11512 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11513 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11514 /* dlclose (self); */
11522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11523 (eval $ac_link) 2>&5
11525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11526 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11527 (.
/conftest
; exit; ) >&5 2>/dev
/null
11529 case x
$lt_status in
11530 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11531 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11532 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11535 # compilation failed
11536 lt_cv_dlopen_self
=no
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11544 $as_echo "$lt_cv_dlopen_self" >&6; }
11546 if test "x$lt_cv_dlopen_self" = xyes
; then
11547 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11549 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11550 if ${lt_cv_dlopen_self_static+:} false
; then :
11551 $as_echo_n "(cached) " >&6
11553 if test "$cross_compiling" = yes; then :
11554 lt_cv_dlopen_self_static
=cross
11556 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11557 lt_status
=$lt_dlunknown
11558 cat > conftest.
$ac_ext <<_LT_EOF
11559 #line 11559 "configure"
11560 #include "confdefs.h"
11569 # define LT_DLGLOBAL RTLD_GLOBAL
11572 # define LT_DLGLOBAL DL_GLOBAL
11574 # define LT_DLGLOBAL 0
11578 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11579 find out it does not work in some platform. */
11580 #ifndef LT_DLLAZY_OR_NOW
11582 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11585 # define LT_DLLAZY_OR_NOW DL_LAZY
11588 # define LT_DLLAZY_OR_NOW RTLD_NOW
11591 # define LT_DLLAZY_OR_NOW DL_NOW
11593 # define LT_DLLAZY_OR_NOW 0
11600 void fnord() { int i=42;}
11603 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11604 int status = $lt_dlunknown;
11608 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11609 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11610 /* dlclose (self); */
11618 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11619 (eval $ac_link) 2>&5
11621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11622 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11623 (.
/conftest
; exit; ) >&5 2>/dev
/null
11625 case x
$lt_status in
11626 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11627 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11628 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11631 # compilation failed
11632 lt_cv_dlopen_self_static
=no
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11640 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11643 CPPFLAGS
="$save_CPPFLAGS"
11644 LDFLAGS
="$save_LDFLAGS"
11649 case $lt_cv_dlopen_self in
11650 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11651 *) enable_dlopen_self
=unknown
;;
11654 case $lt_cv_dlopen_self_static in
11655 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11656 *) enable_dlopen_self_static
=unknown
;;
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11679 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11680 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
11681 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11682 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11684 $as_echo "yes" >&6; }
11686 # FIXME - insert some real tests, host_os isn't really good enough
11689 if test -n "$STRIP" ; then
11690 striplib
="$STRIP -x"
11691 old_striplib
="$STRIP -S"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11693 $as_echo "yes" >&6; }
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11696 $as_echo "no" >&6; }
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11701 $as_echo "no" >&6; }
11717 # Report which library types will actually be built
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11719 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11721 $as_echo "$can_build_shared" >&6; }
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11724 $as_echo_n "checking whether to build shared libraries... " >&6; }
11725 test "$can_build_shared" = "no" && enable_shared
=no
11727 # On AIX, shared libraries and static libraries use the same namespace, and
11728 # are all built from PIC.
11731 test "$enable_shared" = yes && enable_static
=no
11732 if test -n "$RANLIB"; then
11733 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11734 postinstall_cmds
='$RANLIB $lib'
11739 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11740 test "$enable_shared" = yes && enable_static
=no
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11745 $as_echo "$enable_shared" >&6; }
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11748 $as_echo_n "checking whether to build static libraries... " >&6; }
11749 # Make sure either enable_shared or enable_static is yes.
11750 test "$enable_shared" = yes || enable_static
=yes
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11752 $as_echo "$enable_static" >&6; }
11759 ac_cpp
='$CPP $CPPFLAGS'
11760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11778 ac_config_commands
="$ac_config_commands libtool"
11783 # Only expand once:
11787 LIBTOOL
="$LIBTOOL --silent"
11792 cat >>confdefs.h
<<_ACEOF
11797 cat >>confdefs.h
<<_ACEOF
11804 cat >>confdefs.h
<<_ACEOF
11809 cat >>confdefs.h
<<_ACEOF
11813 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
11814 if test "x$ac_cv_header_windows_h" = xyes
; then :
11817 as_fn_error $?
"** MinGW and no windows.h. I give up." "$LINENO" 5
11821 ac_fn_c_check_header_mongrel
"$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
11822 if test "x$ac_cv_header_winsock2_h" = xyes
; then :
11825 as_fn_error $?
"** MinGW and no winsock2.h. I give up." "$LINENO" 5
11830 cat >>confdefs.h
<<_ACEOF
11831 #define HAVE_WINSOCK2_H 1
11835 cat >>confdefs.h
<<_ACEOF
11836 #define HAVE_WINSOCK_H 1
11839 LIBS
="$LIBS -lws2_32 -liphlpapi"
11843 CPPFLAGS
="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
11846 CPPFLAGS
="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2"
11852 if test "$is_mingw" = "yes"; then
11862 # backwards support for IRC_CFLAGS
11863 CFLAGS
="$IRC_CFLAGS $CFLAGS -Wall"
11865 if test "$libexecdir" = '${exec_prefix}/libexec' &&
11866 test "$localstatedir" = '${prefix}/var'; then
11867 libexecdir
='${bindir}'
11868 localstatedir
='${prefix}'
11871 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11872 if test "x$ac_cv_type_pid_t" = xyes
; then :
11876 cat >>confdefs.h
<<_ACEOF
11882 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11883 if test "x$ac_cv_type_size_t" = xyes
; then :
11887 cat >>confdefs.h
<<_ACEOF
11888 #define size_t unsigned int
11893 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
11894 if test "x$ac_cv_type_ssize_t" = xyes
; then :
11898 cat >>confdefs.h
<<_ACEOF
11899 #define ssize_t int
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11905 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11906 if ${ac_cv_type_uid_t+:} false
; then :
11907 $as_echo_n "(cached) " >&6
11909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 #include <sys/types.h>
11914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11915 $EGREP "uid_t" >/dev
/null
2>&1; then :
11916 ac_cv_type_uid_t
=yes
11918 ac_cv_type_uid_t
=no
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11924 $as_echo "$ac_cv_type_uid_t" >&6; }
11925 if test $ac_cv_type_uid_t = no
; then
11927 $as_echo "#define uid_t int" >>confdefs.h
11930 $as_echo "#define gid_t int" >>confdefs.h
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11937 $as_echo_n "checking for ANSI C header files... " >&6; }
11938 if ${ac_cv_header_stdc+:} false
; then :
11939 $as_echo_n "(cached) " >&6
11941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11943 #include <stdlib.h>
11944 #include <stdarg.h>
11945 #include <string.h>
11956 if ac_fn_c_try_compile
"$LINENO"; then :
11957 ac_cv_header_stdc
=yes
11959 ac_cv_header_stdc
=no
11961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11963 if test $ac_cv_header_stdc = yes; then
11964 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <string.h>
11970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11971 $EGREP "memchr" >/dev
/null
2>&1; then :
11974 ac_cv_header_stdc
=no
11980 if test $ac_cv_header_stdc = yes; then
11981 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11984 #include <stdlib.h>
11987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11988 $EGREP "free" >/dev
/null
2>&1; then :
11991 ac_cv_header_stdc
=no
11997 if test $ac_cv_header_stdc = yes; then
11998 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11999 if test "$cross_compiling" = yes; then :
12002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12005 #include <stdlib.h>
12006 #if ((' ' & 0x0FF) == 0x020)
12007 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12008 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12010 # define ISLOWER(c) \
12011 (('a' <= (c) && (c) <= 'i') \
12012 || ('j' <= (c) && (c) <= 'r') \
12013 || ('s' <= (c) && (c) <= 'z'))
12014 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12017 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12022 for (i = 0; i < 256; i++)
12023 if (XOR (islower (i), ISLOWER (i))
12024 || toupper (i) != TOUPPER (i))
12029 if ac_fn_c_try_run
"$LINENO"; then :
12032 ac_cv_header_stdc
=no
12034 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12035 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12041 $as_echo "$ac_cv_header_stdc" >&6; }
12042 if test $ac_cv_header_stdc = yes; then
12044 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12049 for ac_header
in crypt.h unistd.h sys
/socket.h sys
/stat.h sys
/time.h
time.h netinet
/in.h arpa
/inet.h errno.h sys
/uio.h spawn.h sys
/poll.h sys
/epoll.h sys
/select.h sys
/devpoll.h sys
/event.h port.h signal.h sys
/signalfd.h sys
/timerfd.h
12051 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12052 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12053 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12054 cat >>confdefs.h
<<_ACEOF
12055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12063 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12064 if ${ac_cv_header_time+:} false
; then :
12065 $as_echo_n "(cached) " >&6
12067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12069 #include <sys/types.h>
12070 #include <sys/time.h>
12076 if ((struct tm *) 0)
12082 if ac_fn_c_try_compile
"$LINENO"; then :
12083 ac_cv_header_time
=yes
12085 ac_cv_header_time
=no
12087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12090 $as_echo "$ac_cv_header_time" >&6; }
12091 if test $ac_cv_header_time = yes; then
12093 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12100 $as_echo_n "checking for library containing socket... " >&6; }
12101 if ${ac_cv_search_socket+:} false
; then :
12102 $as_echo_n "(cached) " >&6
12104 ac_func_search_save_LIBS
=$LIBS
12105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12123 for ac_lib
in '' socket
; do
12124 if test -z "$ac_lib"; then
12125 ac_res
="none required"
12128 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12130 if ac_fn_c_try_link
"$LINENO"; then :
12131 ac_cv_search_socket
=$ac_res
12133 rm -f core conftest.err conftest.
$ac_objext \
12135 if ${ac_cv_search_socket+:} false
; then :
12139 if ${ac_cv_search_socket+:} false
; then :
12142 ac_cv_search_socket
=no
12144 rm conftest.
$ac_ext
12145 LIBS
=$ac_func_search_save_LIBS
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12148 $as_echo "$ac_cv_search_socket" >&6; }
12149 ac_res
=$ac_cv_search_socket
12150 if test "$ac_res" != no
; then :
12151 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12157 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
12158 #ifdef HAVE_SYS_TYPES_H
12159 #include <sys/types.h>
12161 #ifdef HAVE_SYS_SOCKET_H
12162 #include <sys/socket.h>
12164 #ifdef HAVE_WINSOCK2_H
12165 #include <winsock2.h>
12169 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
12171 $as_echo "#define SOCKADDR_IN_HAS_LEN 1" >>confdefs.h
12176 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
12177 #include <sys/socket.h>
12179 if test "x$ac_cv_type_socklen_t" = xyes
; then :
12180 rb_cv_socklen_t
=socklen_t
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
12184 $as_echo_n "checking for socklen_t equivalent... " >&6; }
12185 if ${rb_cv_socklen_t+:} false
; then :
12186 $as_echo_n "(cached) " >&6
12189 # Systems have either "struct sockaddr *" or
12190 # "void *" as the second argument to getpeername
12192 for arg2
in "struct sockaddr" void
; do
12193 for t
in int size_t unsigned long
"unsigned long"; do
12194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 #ifdef HAVE_SYS_TYPES_H
12198 #include <sys/types.h>
12200 #ifdef HAVE_SYS_SOCKET_H
12201 #include <sys/socket.h>
12203 #ifdef HAVE_WINSOCK2_H
12204 #include <winsock2.h>
12206 int getpeername (int, $arg2 *, $t *);
12213 getpeername(0,0,&len);
12219 if ac_fn_c_try_compile
"$LINENO"; then :
12221 rb_cv_socklen_t
="$t"
12225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12229 if test "x$rb_cv_socklen_t" = x
; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find a type to use in place of socklen_t using int" >&5
12231 $as_echo "$as_me: WARNING: Cannot find a type to use in place of socklen_t using int" >&2;}
12232 rb_cv_socklen_t
=int
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_socklen_t" >&5
12238 $as_echo "$rb_cv_socklen_t" >&6; }
12242 rb_socklen_t
=$rb_cv_socklen_t
12248 # Check whether --enable-ipv6 was given.
12249 if test "${enable_ipv6+set}" = set; then :
12250 enableval
=$enable_ipv6; ipv6
=$enableval
12256 if test x
$ipv6 != xyes
; then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INET6 protocol support" >&5
12263 $as_echo_n "checking for INET6 protocol support... " >&6; }
12264 if ${rb_cv_proto_inet6+:} false
; then :
12265 $as_echo_n "(cached) " >&6
12268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 #include <sys/types.h>
12272 #include <sys/socket.h>
12275 #error Missing PF_INET6
12278 #error Mlssing AF_INET6
12282 if ac_fn_c_try_cpp
"$LINENO"; then :
12284 rb_cv_proto_inet6
=yes
12288 rb_cv_proto_inet6
=no
12291 rm -f conftest.err conftest.i conftest.
$ac_ext
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_proto_inet6" >&5
12295 $as_echo "$rb_cv_proto_inet6" >&6; }
12297 if test "X$rb_cv_proto_inet6" = "Xyes"; then :
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: PF_INET6 not found" >&5
12302 $as_echo "$as_me: Disabling IPv6 support: PF_INET6 not found" >&6;}
12308 if test "X$have_v6" = "Xyes"; then
12310 rb_have_sockaddr_in6
=
12311 ac_fn_c_check_type
"$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
12312 #include <sys/types.h>
12313 #include <sys/socket.h>
12314 #include <netinet/in.h>
12317 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes
; then :
12319 cat >>confdefs.h
<<_ACEOF
12320 #define HAVE_STRUCT_SOCKADDR_IN6 1
12324 rb_have_sockaddr_in6
=yes
12328 rb_have_sockaddr_in6
=no
12333 if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: struct sockaddr_in6 not found" >&5
12338 $as_echo "$as_me: Disabling IPv6 support: struct sockaddr_in6 not found" >&6;}
12347 ac_fn_c_check_type
"$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
12348 #include <sys/types.h>
12349 #include <sys/socket.h>
12352 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
; then :
12354 cat >>confdefs.h
<<_ACEOF
12355 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12359 rb_have_sockaddr_storage
=yes
12365 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
12366 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
12369 as_fn_error $?
"** stdarg.h could not be found - libratbox will not compile without it **" "$LINENO" 5
12374 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
12375 #include <sys/socket.h>
12377 if test "x$ac_cv_type_sa_family_t" = xyes
; then :
12381 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
12387 for ac_func
in socketpair gettimeofday writev sendmsg gmtime_r strtok_r
usleep posix_spawn strlcpy strlcat strnlen fstat signalfd
select poll kevent port_create epoll_ctl arc4random getrusage timerfd_create
12389 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12390 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12391 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12392 cat >>confdefs.h
<<_ACEOF
12393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
12401 $as_echo_n "checking for library containing nanosleep... " >&6; }
12402 if ${ac_cv_search_nanosleep+:} false
; then :
12403 $as_echo_n "(cached) " >&6
12405 ac_func_search_save_LIBS
=$LIBS
12406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12419 return nanosleep ();
12424 for ac_lib
in '' rt posix4
; do
12425 if test -z "$ac_lib"; then
12426 ac_res
="none required"
12429 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12431 if ac_fn_c_try_link
"$LINENO"; then :
12432 ac_cv_search_nanosleep
=$ac_res
12434 rm -f core conftest.err conftest.
$ac_objext \
12436 if ${ac_cv_search_nanosleep+:} false
; then :
12440 if ${ac_cv_search_nanosleep+:} false
; then :
12443 ac_cv_search_nanosleep
=no
12445 rm conftest.
$ac_ext
12446 LIBS
=$ac_func_search_save_LIBS
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
12449 $as_echo "$ac_cv_search_nanosleep" >&6; }
12450 ac_res
=$ac_cv_search_nanosleep
12451 if test "$ac_res" != no
; then :
12452 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12454 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
12459 $as_echo_n "checking for library containing timer_create... " >&6; }
12460 if ${ac_cv_search_timer_create+:} false
; then :
12461 $as_echo_n "(cached) " >&6
12463 ac_func_search_save_LIBS
=$LIBS
12464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12473 char timer_create ();
12477 return timer_create ();
12482 for ac_lib
in '' rt
; do
12483 if test -z "$ac_lib"; then
12484 ac_res
="none required"
12487 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12489 if ac_fn_c_try_link
"$LINENO"; then :
12490 ac_cv_search_timer_create
=$ac_res
12492 rm -f core conftest.err conftest.
$ac_objext \
12494 if ${ac_cv_search_timer_create+:} false
; then :
12498 if ${ac_cv_search_timer_create+:} false
; then :
12501 ac_cv_search_timer_create
=no
12503 rm conftest.
$ac_ext
12504 LIBS
=$ac_func_search_save_LIBS
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5
12507 $as_echo "$ac_cv_search_timer_create" >&6; }
12508 ac_res
=$ac_cv_search_timer_create
12509 if test "$ac_res" != no
; then :
12510 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12512 $as_echo "#define HAVE_TIMER_CREATE 1" >>confdefs.h
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timer_create(CLOCK_REALTIME)" >&5
12517 $as_echo_n "checking for a working timer_create(CLOCK_REALTIME)... " >&6; }
12518 if ${rb__cv_timer_create_works+:} false
; then :
12519 $as_echo_n "(cached) " >&6
12521 if test "$cross_compiling" = yes; then :
12522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12524 as_fn_error $?
"cannot run test program while cross compiling
12525 See \`config.log' for more details" "$LINENO" 5; }
12527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12533 #ifdef HAVE_SIGNAL_H
12534 #include <signal.h>
12536 #ifdef HAVE_UNISTD_H
12537 #include <unistd.h>
12539 int main(int argc, char *argv[])
12541 #if HAVE_TIMER_CREATE
12542 struct sigevent ev;
12544 ev.sigev_notify = SIGEV_SIGNAL;
12545 ev.sigev_signo = SIGVTALRM;
12546 if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
12556 if ac_fn_c_try_run
"$LINENO"; then :
12557 rb__cv_timer_create_works
=yes
12559 rb__cv_timer_create_works
=no
12561 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12562 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timer_create_works" >&5
12568 $as_echo "$rb__cv_timer_create_works" >&6; }
12569 case $rb__cv_timer_create_works in
12571 $as_echo "#define USE_TIMER_CREATE 1" >>confdefs.h
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timerfd_create(CLOCK_REALTIME)" >&5
12576 $as_echo_n "checking for a working timerfd_create(CLOCK_REALTIME)... " >&6; }
12577 if ${rb__cv_timerfd_create_works+:} false
; then :
12578 $as_echo_n "(cached) " >&6
12580 if test "$cross_compiling" = yes; then :
12581 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12583 as_fn_error $?
"cannot run test program while cross compiling
12584 See \`config.log' for more details" "$LINENO" 5; }
12586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12592 #ifdef HAVE_SIGNAL_H
12593 #include <signal.h>
12595 #ifdef HAVE_UNISTD_H
12596 #include <unistd.h>
12598 #ifdef HAVE_SYS_TIMERFD_H
12599 #include <sys/timerfd.h>
12601 int main(int argc, char *argv[])
12603 #if defined(HAVE_TIMERFD_CREATE) && defined(HAVE_SYS_TIMERFD_H)
12604 if (timerfd_create(CLOCK_REALTIME, 0) < 0) {
12614 if ac_fn_c_try_run
"$LINENO"; then :
12615 rb__cv_timerfd_create_works
=yes
12617 rb__cv_timerfd_create_works
=no
12619 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12620 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timerfd_create_works" >&5
12626 $as_echo "$rb__cv_timerfd_create_works" >&6; }
12627 case $rb__cv_timerfd_create_works in
12629 $as_echo "#define USE_TIMERFD_CREATE 1" >>confdefs.h
12634 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12635 # for constant arguments. Useless!
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
12637 $as_echo_n "checking for working alloca.h... " >&6; }
12638 if ${ac_cv_working_alloca_h+:} false
; then :
12639 $as_echo_n "(cached) " >&6
12641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12643 #include <alloca.h>
12647 char *p = (char *) alloca (2 * sizeof (int));
12653 if ac_fn_c_try_link
"$LINENO"; then :
12654 ac_cv_working_alloca_h
=yes
12656 ac_cv_working_alloca_h
=no
12658 rm -f core conftest.err conftest.
$ac_objext \
12659 conftest
$ac_exeext conftest.
$ac_ext
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
12662 $as_echo "$ac_cv_working_alloca_h" >&6; }
12663 if test $ac_cv_working_alloca_h = yes; then
12665 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12670 $as_echo_n "checking for alloca... " >&6; }
12671 if ${ac_cv_func_alloca_works+:} false
; then :
12672 $as_echo_n "(cached) " >&6
12674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 # define alloca __builtin_alloca
12680 # include <malloc.h>
12681 # define alloca _alloca
12683 # ifdef HAVE_ALLOCA_H
12684 # include <alloca.h>
12689 # ifndef alloca /* predefined by HP cc +Olibcalls */
12690 void *alloca (size_t);
12700 char *p = (char *) alloca (1);
12706 if ac_fn_c_try_link
"$LINENO"; then :
12707 ac_cv_func_alloca_works
=yes
12709 ac_cv_func_alloca_works
=no
12711 rm -f core conftest.err conftest.
$ac_objext \
12712 conftest
$ac_exeext conftest.
$ac_ext
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
12715 $as_echo "$ac_cv_func_alloca_works" >&6; }
12717 if test $ac_cv_func_alloca_works = yes; then
12719 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
12722 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12723 # that cause trouble. Some versions do not even contain alloca or
12724 # contain a buggy version. If you still want to use their alloca,
12725 # use ar to extract alloca.o from them instead of compiling alloca.c.
12727 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
12729 $as_echo "#define C_ALLOCA 1" >>confdefs.h
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12733 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12734 if ${ac_cv_os_cray+:} false
; then :
12735 $as_echo_n "(cached) " >&6
12737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12739 #if defined CRAY && ! defined CRAY2
12746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12747 $EGREP "webecray" >/dev
/null
2>&1; then :
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
12756 $as_echo "$ac_cv_os_cray" >&6; }
12757 if test $ac_cv_os_cray = yes; then
12758 for ac_func
in _getb67 GETB67 getb67
; do
12759 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12760 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12761 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12763 cat >>confdefs.h
<<_ACEOF
12764 #define CRAY_STACKSEG_END $ac_func
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12774 $as_echo_n "checking stack direction for C alloca... " >&6; }
12775 if ${ac_cv_c_stack_direction+:} false
; then :
12776 $as_echo_n "(cached) " >&6
12778 if test "$cross_compiling" = yes; then :
12779 ac_cv_c_stack_direction
=0
12781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12783 $ac_includes_default
12785 find_stack_direction ()
12787 static char *addr = 0;
12792 return find_stack_direction ();
12795 return (&dummy > addr) ? 1 : -1;
12801 return find_stack_direction () < 0;
12804 if ac_fn_c_try_run
"$LINENO"; then :
12805 ac_cv_c_stack_direction
=1
12807 ac_cv_c_stack_direction
=-1
12809 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12810 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
12815 $as_echo "$ac_cv_c_stack_direction" >&6; }
12816 cat >>confdefs.h
<<_ACEOF
12817 #define STACK_DIRECTION $ac_cv_c_stack_direction
12823 for ac_header
in vfork.h
12825 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
12826 if test "x$ac_cv_header_vfork_h" = xyes
; then :
12827 cat >>confdefs.h
<<_ACEOF
12828 #define HAVE_VFORK_H 1
12835 for ac_func
in fork vfork
12837 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12838 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12839 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12840 cat >>confdefs.h
<<_ACEOF
12841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12847 if test "x$ac_cv_func_fork" = xyes
; then
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
12849 $as_echo_n "checking for working fork... " >&6; }
12850 if ${ac_cv_func_fork_works+:} false
; then :
12851 $as_echo_n "(cached) " >&6
12853 if test "$cross_compiling" = yes; then :
12854 ac_cv_func_fork_works
=cross
12856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12858 $ac_includes_default
12863 /* By Ruediger Kuhlmann. */
12864 return fork () < 0;
12870 if ac_fn_c_try_run
"$LINENO"; then :
12871 ac_cv_func_fork_works
=yes
12873 ac_cv_func_fork_works
=no
12875 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12876 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
12881 $as_echo "$ac_cv_func_fork_works" >&6; }
12884 ac_cv_func_fork_works
=$ac_cv_func_fork
12886 if test "x$ac_cv_func_fork_works" = xcross
; then
12888 *-*-amigaos* | *-*-msdosdjgpp*)
12889 # Override, as these systems have only a dummy fork() stub
12890 ac_cv_func_fork_works
=no
12893 ac_cv_func_fork_works
=yes
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12897 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12899 ac_cv_func_vfork_works
=$ac_cv_func_vfork
12900 if test "x$ac_cv_func_vfork" = xyes
; then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
12902 $as_echo_n "checking for working vfork... " >&6; }
12903 if ${ac_cv_func_vfork_works+:} false
; then :
12904 $as_echo_n "(cached) " >&6
12906 if test "$cross_compiling" = yes; then :
12907 ac_cv_func_vfork_works
=cross
12909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12911 /* Thanks to Paul Eggert for this test. */
12912 $ac_includes_default
12913 #include <sys/wait.h>
12914 #ifdef HAVE_VFORK_H
12915 # include <vfork.h>
12917 /* On some sparc systems, changes by the child to local and incoming
12918 argument registers are propagated back to the parent. The compiler
12919 is told about this with #include <vfork.h>, but some compilers
12920 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
12921 static variable whose address is put into a register that is
12922 clobbered by the vfork. */
12925 sparc_address_test (int arg)
12927 sparc_address_test (arg) int arg;
12930 static pid_t child;
12948 pid_t parent = getpid ();
12951 sparc_address_test (0);
12956 /* Here is another test for sparc vfork register problems. This
12957 test uses lots of local variables, at least as many local
12958 variables as main has allocated so far including compiler
12959 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
12960 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
12961 reuse the register of parent for one of the local variables,
12962 since it will think that parent can't possibly be used any more
12963 in this routine. Assigning to the local variable will thus
12964 munge parent in the parent process. */
12966 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
12967 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
12968 /* Convince the compiler that p..p7 are live; otherwise, it might
12969 use the same hardware register for all 8 local variables. */
12970 if (p != p1 || p != p2 || p != p3 || p != p4
12971 || p != p5 || p != p6 || p != p7)
12974 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
12975 from child file descriptors. If the child closes a descriptor
12976 before it execs or exits, this munges the parent's descriptor
12977 as well. Test for this by closing stdout in the child. */
12978 _exit(close(fileno(stdout)) != 0);
12983 while (wait(&status) != child)
12986 /* Was there some problem with vforking? */
12989 /* Did the child fail? (This shouldn't happen.) */
12992 /* Did the vfork/compiler bug occur? */
12993 || parent != getpid()
12995 /* Did the file descriptor bug occur? */
12996 || fstat(fileno(stdout), &st) != 0
13001 if ac_fn_c_try_run
"$LINENO"; then :
13002 ac_cv_func_vfork_works
=yes
13004 ac_cv_func_vfork_works
=no
13006 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13007 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13012 $as_echo "$ac_cv_func_vfork_works" >&6; }
13015 if test "x$ac_cv_func_fork_works" = xcross
; then
13016 ac_cv_func_vfork_works
=$ac_cv_func_vfork
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13018 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13021 if test "x$ac_cv_func_vfork_works" = xyes
; then
13023 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13027 $as_echo "#define vfork fork" >>confdefs.h
13030 if test "x$ac_cv_func_fork_works" = xyes
; then
13032 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13039 for ac_header
in $ac_header_list
13041 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13042 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13044 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13045 cat >>confdefs.h
<<_ACEOF
13046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13060 for ac_func
in getpagesize
13062 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13063 if test "x$ac_cv_func_getpagesize" = xyes
; then :
13064 cat >>confdefs.h
<<_ACEOF
13065 #define HAVE_GETPAGESIZE 1
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13072 $as_echo_n "checking for working mmap... " >&6; }
13073 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
13074 $as_echo_n "(cached) " >&6
13076 if test "$cross_compiling" = yes; then :
13077 ac_cv_func_mmap_fixed_mapped
=no
13079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13081 $ac_includes_default
13082 /* malloc might have been renamed as rpl_malloc. */
13085 /* Thanks to Mike Haertel and Jim Avera for this test.
13086 Here is a matrix of mmap possibilities:
13087 mmap private not fixed
13088 mmap private fixed at somewhere currently unmapped
13089 mmap private fixed at somewhere already mapped
13090 mmap shared not fixed
13091 mmap shared fixed at somewhere currently unmapped
13092 mmap shared fixed at somewhere already mapped
13093 For private mappings, we should verify that changes cannot be read()
13094 back from the file, nor mmap's back from the file at a different
13095 address. (There have been systems where private was not correctly
13096 implemented like the infamous i386 svr4.0, and systems where the
13097 VM page cache was not coherent with the file system buffer cache
13098 like early versions of FreeBSD and possibly contemporary NetBSD.)
13099 For shared mappings, we should conversely verify that changes get
13100 propagated back to all the places they're supposed to be.
13102 Grep wants private fixed already mapped.
13103 The main things grep needs to know about mmap are:
13104 * does it exist and is it safe to write into the mmap'd area
13105 * how to use it (BSD variants) */
13108 #include <sys/mman.h>
13110 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13114 /* This mess was copied from the GNU getpagesize.h. */
13115 #ifndef HAVE_GETPAGESIZE
13116 # ifdef _SC_PAGESIZE
13117 # define getpagesize() sysconf(_SC_PAGESIZE)
13118 # else /* no _SC_PAGESIZE */
13119 # ifdef HAVE_SYS_PARAM_H
13120 # include <sys/param.h>
13121 # ifdef EXEC_PAGESIZE
13122 # define getpagesize() EXEC_PAGESIZE
13123 # else /* no EXEC_PAGESIZE */
13125 # define getpagesize() NBPG * CLSIZE
13128 # endif /* no CLSIZE */
13129 # else /* no NBPG */
13131 # define getpagesize() NBPC
13132 # else /* no NBPC */
13134 # define getpagesize() PAGESIZE
13135 # endif /* PAGESIZE */
13136 # endif /* no NBPC */
13137 # endif /* no NBPG */
13138 # endif /* no EXEC_PAGESIZE */
13139 # else /* no HAVE_SYS_PARAM_H */
13140 # define getpagesize() 8192 /* punt totally */
13141 # endif /* no HAVE_SYS_PARAM_H */
13142 # endif /* no _SC_PAGESIZE */
13144 #endif /* no HAVE_GETPAGESIZE */
13149 char *data, *data2, *data3;
13150 const char *cdata2;
13154 pagesize = getpagesize ();
13156 /* First, make a file with some known garbage in it. */
13157 data = (char *) malloc (pagesize);
13160 for (i = 0; i < pagesize; ++i)
13161 *(data + i) = rand ();
13163 fd = creat ("conftest.mmap", 0600);
13166 if (write (fd, data, pagesize) != pagesize)
13170 /* Next, check that the tail of a page is zero-filled. File must have
13171 non-zero length, otherwise we risk SIGBUS for entire page. */
13172 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13176 if (write (fd2, cdata2, 1) != 1)
13178 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13179 if (data2 == MAP_FAILED)
13181 for (i = 0; i < pagesize; ++i)
13185 if (munmap (data2, pagesize))
13188 /* Next, try to mmap the file at a fixed address which already has
13189 something else allocated at it. If we can, also make sure that
13190 we see the same garbage. */
13191 fd = open ("conftest.mmap", O_RDWR);
13194 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13195 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13197 for (i = 0; i < pagesize; ++i)
13198 if (*(data + i) != *(data2 + i))
13201 /* Finally, make sure that changes to the mapped area do not
13202 percolate back to the file as seen by read(). (This is a bug on
13203 some variants of i386 svr4.0.) */
13204 for (i = 0; i < pagesize; ++i)
13205 *(data2 + i) = *(data2 + i) + 1;
13206 data3 = (char *) malloc (pagesize);
13209 if (read (fd, data3, pagesize) != pagesize)
13211 for (i = 0; i < pagesize; ++i)
13212 if (*(data + i) != *(data3 + i))
13218 if ac_fn_c_try_run
"$LINENO"; then :
13219 ac_cv_func_mmap_fixed_mapped
=yes
13221 ac_cv_func_mmap_fixed_mapped
=no
13223 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13224 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13229 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13230 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13232 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13235 rm -f conftest.mmap conftest.txt
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/poll" >&5
13239 $as_echo_n "checking for /dev/poll... " >&6; }
13240 if test -c "/dev/poll"; then
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13242 $as_echo "yes" >&6; }
13244 $as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13248 $as_echo "no" >&6; }
13252 if test "$is_mingw" = "yes"; then
13254 $as_echo "#define HAVE_WIN32 1" >>confdefs.h
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
13260 $as_echo_n "checking for OpenSSL... " >&6; }
13261 # Check whether --enable-openssl was given.
13262 if test "${enable_openssl+set}" = set; then :
13263 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
13265 cf_enable_openssl
="auto"
13269 if test "$cf_enable_openssl" != "no" ; then
13270 cf_openssl_basedir
=""
13271 if test "$cf_enable_openssl" != "auto" &&
13272 test "$cf_enable_openssl" != "yes" ; then
13273 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
13275 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
13276 /usr
/local
/openssl
; do
13277 if test -f "${dirs}/include/openssl/opensslv.h" ; then
13278 cf_openssl_basedir
="${dirs}"
13284 if test ! -z "$cf_openssl_basedir"; then
13285 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
13286 SSL_CFLAGS
="-I${cf_openssl_basedir}/include"
13287 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
13289 cf_openssl_basedir
=""
13292 if test -f "/usr/include/openssl/opensslv.h" ; then
13293 cf_openssl_basedir
="/usr"
13297 if test ! -z "$cf_openssl_basedir"; then
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13299 $as_echo "$cf_openssl_basedir" >&6; }
13300 cf_enable_openssl
="yes"
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
13303 $as_echo "not found. Specify a correct path?" >&6; }
13304 cf_enable_openssl
="no"
13306 unset cf_openssl_basedir
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13309 $as_echo "disabled" >&6; }
13312 save_CPPFLAGS
="$CPPFLAGS"
13313 CPPFLAGS
="$CPPFLAGS $SSL_CFLAGS"
13315 LIBS
="$LIBS $SSL_LIBS"
13316 if test "$cf_enable_openssl" != no
; then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13318 $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13319 if test "$cross_compiling" = yes; then :
13320 cf_enable_openssl
=no
13322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13323 /* end confdefs.h. */
13324 #include <openssl/opensslv.h>
13325 #include <stdlib.h>
13329 if (OPENSSL_VERSION_NUMBER >= 0x00907000)
13330 exit(0); else exit(1);
13335 if ac_fn_c_try_run
"$LINENO"; then :
13336 cf_enable_openssl
=yes
13338 cf_enable_openssl
=no
13340 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13341 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13345 if test "$cf_enable_openssl" != no
; then
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13347 $as_echo "found" >&6; }
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13350 $as_echo "no - OpenSSL support disabled" >&6; }
13356 if test "$cf_enable_openssl" != no
; then
13357 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_status in -lcrypto" >&5
13359 $as_echo_n "checking for RAND_status in -lcrypto... " >&6; }
13360 if ${ac_cv_lib_crypto_RAND_status+:} false
; then :
13361 $as_echo_n "(cached) " >&6
13363 ac_check_lib_save_LIBS
=$LIBS
13364 LIBS
="-lcrypto $LIBS"
13365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13368 /* Override any GCC internal prototype to avoid an error.
13369 Use char because int might match the return type of a GCC
13370 builtin and then its argument prototype would still apply. */
13374 char RAND_status ();
13378 return RAND_status ();
13383 if ac_fn_c_try_link
"$LINENO"; then :
13384 ac_cv_lib_crypto_RAND_status
=yes
13386 ac_cv_lib_crypto_RAND_status
=no
13388 rm -f core conftest.err conftest.
$ac_objext \
13389 conftest
$ac_exeext conftest.
$ac_ext
13390 LIBS
=$ac_check_lib_save_LIBS
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_status" >&5
13393 $as_echo "$ac_cv_lib_crypto_RAND_status" >&6; }
13394 if test "x$ac_cv_lib_crypto_RAND_status" = xyes
; then :
13395 cf_enable_openssl
=yes
13397 cf_enable_openssl
=no
13402 if test "$cf_enable_openssl" != no
; then
13403 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_read in -lssl" >&5
13405 $as_echo_n "checking for SSL_read in -lssl... " >&6; }
13406 if ${ac_cv_lib_ssl_SSL_read+:} false
; then :
13407 $as_echo_n "(cached) " >&6
13409 ac_check_lib_save_LIBS
=$LIBS
13410 LIBS
="-lssl -lcrypto $LIBS"
13411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13414 /* Override any GCC internal prototype to avoid an error.
13415 Use char because int might match the return type of a GCC
13416 builtin and then its argument prototype would still apply. */
13424 return SSL_read ();
13429 if ac_fn_c_try_link
"$LINENO"; then :
13430 ac_cv_lib_ssl_SSL_read
=yes
13432 ac_cv_lib_ssl_SSL_read
=no
13434 rm -f core conftest.err conftest.
$ac_objext \
13435 conftest
$ac_exeext conftest.
$ac_ext
13436 LIBS
=$ac_check_lib_save_LIBS
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_read" >&5
13439 $as_echo "$ac_cv_lib_ssl_SSL_read" >&6; }
13440 if test "x$ac_cv_lib_ssl_SSL_read" = xyes
; then :
13441 SSL_LIBS
="$SSL_LIBS -lssl -lcrypto"
13443 cf_enable_openssl
=no
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS" >&5
13451 $as_echo_n "checking for GnuTLS... " >&6; }
13452 # Check whether --enable-gnutls was given.
13453 if test "${enable_gnutls+set}" = set; then :
13454 enableval
=$enable_gnutls; cf_enable_gnutls
=$enableval
13456 cf_enable_gnutls
="auto"
13460 if test "$cf_enable_gnutls" != no
; then
13463 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13464 if test -n "$ac_tool_prefix"; then
13465 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13466 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13468 $as_echo_n "checking for $ac_word... " >&6; }
13469 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
13470 $as_echo_n "(cached) " >&6
13472 case $PKG_CONFIG in
13474 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13478 for as_dir
in $PATH
13481 test -z "$as_dir" && as_dir
=.
13482 for ac_exec_ext
in '' $ac_executable_extensions; do
13483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13484 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13495 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13496 if test -n "$PKG_CONFIG"; then
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13498 $as_echo "$PKG_CONFIG" >&6; }
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13501 $as_echo "no" >&6; }
13506 if test -z "$ac_cv_path_PKG_CONFIG"; then
13507 ac_pt_PKG_CONFIG
=$PKG_CONFIG
13508 # Extract the first word of "pkg-config", so it can be a program name with args.
13509 set dummy pkg
-config; ac_word
=$2
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13511 $as_echo_n "checking for $ac_word... " >&6; }
13512 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
13513 $as_echo_n "(cached) " >&6
13515 case $ac_pt_PKG_CONFIG in
13517 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13521 for as_dir
in $PATH
13524 test -z "$as_dir" && as_dir
=.
13525 for ac_exec_ext
in '' $ac_executable_extensions; do
13526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13527 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13538 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
13539 if test -n "$ac_pt_PKG_CONFIG"; then
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13541 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13544 $as_echo "no" >&6; }
13547 if test "x$ac_pt_PKG_CONFIG" = x
; then
13550 case $cross_compiling:$ac_tool_warned in
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13554 ac_tool_warned
=yes ;;
13556 PKG_CONFIG
=$ac_pt_PKG_CONFIG
13559 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13563 if test -n "$PKG_CONFIG"; then
13564 _pkg_min_version
=0.9.0
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13566 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13567 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13569 $as_echo "yes" >&6; }
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13572 $as_echo "no" >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
13580 $as_echo_n "checking for GNUTLS... " >&6; }
13582 if test -n "$GNUTLS_CFLAGS"; then
13583 pkg_cv_GNUTLS_CFLAGS
="$GNUTLS_CFLAGS"
13584 elif test -n "$PKG_CONFIG"; then
13585 if test -n "$PKG_CONFIG" && \
13586 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
13587 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
13589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13590 test $ac_status = 0; }; then
13591 pkg_cv_GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags "gnutls" 2>/dev/null`
13598 if test -n "$GNUTLS_LIBS"; then
13599 pkg_cv_GNUTLS_LIBS
="$GNUTLS_LIBS"
13600 elif test -n "$PKG_CONFIG"; then
13601 if test -n "$PKG_CONFIG" && \
13602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
13603 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
13605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13606 test $ac_status = 0; }; then
13607 pkg_cv_GNUTLS_LIBS
=`$PKG_CONFIG --libs "gnutls" 2>/dev/null`
13617 if test $pkg_failed = yes; then
13619 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13620 _pkg_short_errors_supported
=yes
13622 _pkg_short_errors_supported
=no
13624 if test $_pkg_short_errors_supported = yes; then
13625 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "gnutls" 2>&1`
13627 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "gnutls" 2>&1`
13629 # Put the nasty error message in config.log where it belongs
13630 echo "$GNUTLS_PKG_ERRORS" >&5
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13633 $as_echo "no" >&6; }
13634 cf_enable_gnutls
="no"
13635 elif test $pkg_failed = untried
; then
13636 cf_enable_gnutls
="no"
13638 GNUTLS_CFLAGS
=$pkg_cv_GNUTLS_CFLAGS
13639 GNUTLS_LIBS
=$pkg_cv_GNUTLS_LIBS
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13641 $as_echo "yes" >&6; }
13643 cf_enable_gnutls
="yes"
13648 if test "$cf_enable_gnutls" = "auto" -a "$cf_enable_openssl" = "yes"; then
13649 cf_enable_gnutls
="no"
13652 if test x
"$cf_enable_openssl" != xno
; then
13654 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
13659 elif test x
"$cf_enable_gnutls" != xno
; then
13661 $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
13671 CPPFLAGS
="$save_CPPFLAGS"
13679 # Check whether --enable-assert was given.
13680 if test "${enable_assert+set}" = set; then :
13681 enableval
=$enable_assert; assert
=$enableval
13687 if test "$assert" = no
; then
13689 $as_echo "#define NDEBUG 1" >>confdefs.h
13691 elif test "$assert" = soft
; then
13693 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
13696 $as_echo "#define NDEBUG 1" >>confdefs.h
13698 elif test "$assert" = yes; then
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
13703 $as_echo_n "checking if you want to do a profile build... " >&6; }
13704 # Check whether --enable-profile was given.
13705 if test "${enable_profile+set}" = set; then :
13706 enableval
=$enable_profile; profile
=$enableval
13712 if test "$profile" = yes; then
13713 if test "$ac_cv_c_compiler_gnu" = yes; then
13714 CFLAGS
="$CFLAGS -pg -static"
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg -static" >&5
13716 $as_echo "yes, adding -pg -static" >&6; }
13718 $as_echo "#define RATBOX_PROFILE 1" >>confdefs.h
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
13722 $as_echo "no, profile builds only work with gcc" >&6; }
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13726 $as_echo "no" >&6; }
13729 # Check whether --enable-balloc was given.
13730 if test "${enable_balloc+set}" = set; then :
13731 enableval
=$enable_balloc; balloc
=$enableval
13737 if test "$balloc" = no
; then
13739 $as_echo "#define NOBALLOC 1" >>confdefs.h
13743 # Check whether --enable-warnings was given.
13744 if test "${enable_warnings+set}" = set; then :
13745 enableval
=$enable_warnings; CFLAGS
="$CFLAGS -Wall -Werror -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -W -Wno-unused -Wunused-function -Wunused-variable"
13758 if test "$prefix" = "NONE"; then
13760 cat >>confdefs.h
<<_ACEOF
13761 #define RB_PREFIX "$ac_default_prefix"
13768 prefix
=`echo $prefix | sed 's/\/$//'`
13770 cat >>confdefs.h
<<_ACEOF
13771 #define RB_PREFIX "$prefix"
13779 ac_config_commands
="$ac_config_commands include/librb-config.h"
13783 ac_config_files
="$ac_config_files src/Makefile Makefile libratbox.pc"
13786 cat >confcache
<<\_ACEOF
13787 # This file is a shell script that caches the results of configure
13788 # tests run on this system so they can be shared between configure
13789 # scripts and configure runs, see configure's option --config-cache.
13790 # It is not useful on other systems. If it contains results you don't
13791 # want to keep, you may remove or edit it.
13793 # config.status only pays attention to the cache file if you give it
13794 # the --recheck option to rerun configure.
13796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13798 # following values.
13802 # The following way of writing the cache mishandles newlines in values,
13803 # but we know of no workaround that is simple, portable, and efficient.
13804 # So, we kill variables containing newlines.
13805 # Ultrix sh set writes to stderr and can't be redirected directly,
13806 # and sets the high bit in the cache file unless we assign to the vars.
13808 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13809 eval ac_val
=\$
$ac_var
13813 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13814 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13817 _
| IFS
| as_nl
) ;; #(
13818 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
13819 *) { eval $ac_var=; unset $ac_var;} ;;
13825 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13826 *${as_nl}ac_space
=\
*)
13827 # `set' does not quote correctly, so add quotes: double-quote
13828 # substitution turns \\\\ into \\, and sed turns \\ into \.
13831 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13834 # `set' quotes correctly as required by POSIX, so do not add quotes.
13835 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13844 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13846 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13848 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13849 if test -w "$cache_file"; then
13850 if test "x$cache_file" != "x/dev/null"; then
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13852 $as_echo "$as_me: updating cache $cache_file" >&6;}
13853 if test ! -f "$cache_file" || test -h "$cache_file"; then
13854 cat confcache
>"$cache_file"
13856 case $cache_file in #(
13858 mv -f confcache
"$cache_file"$$
&&
13859 mv -f "$cache_file"$$
"$cache_file" ;; #(
13861 mv -f confcache
"$cache_file" ;;
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13867 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13872 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13873 # Let make expand exec_prefix.
13874 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13876 DEFS
=-DHAVE_CONFIG_H
13881 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13882 # 1. Remove the extension, and $U if already installed.
13883 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13884 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13885 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13886 # will be set to the directory where LIBOBJS objects are built.
13887 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13888 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13890 LIBOBJS
=$ac_libobjs
13892 LTLIBOBJS
=$ac_ltlibobjs
13895 if test -n "$EXEEXT"; then
13897 am__EXEEXT_FALSE
='#'
13899 am__EXEEXT_TRUE
='#'
13903 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13904 as_fn_error $?
"conditional \"AMDEP\" was never defined.
13905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13907 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13908 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
13909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13911 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13912 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
13913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13916 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
13917 as_fn_error $?
"conditional \"MINGW\" was never defined.
13918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13921 : "${CONFIG_STATUS=./config.status}"
13923 ac_clean_files_save
=$ac_clean_files
13924 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13926 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13928 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13930 # Generated by $as_me.
13931 # Run this file to recreate the current configuration.
13932 # Compiler output produced by configure, useful for debugging
13933 # configure, is in config.log if it exists.
13936 ac_cs_recheck=false
13939 SHELL=\${CONFIG_SHELL-$SHELL}
13942 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
13943 ## -------------------- ##
13944 ## M4sh Initialization. ##
13945 ## -------------------- ##
13947 # Be more Bourne compatible
13948 DUALCASE
=1; export DUALCASE
# for MKS sh
13949 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13952 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13953 # is contrary to our usage. Disable this feature.
13954 alias -g '${1+"$@"}'='"$@"'
13955 setopt NO_GLOB_SUBST
13957 case `(set -o) 2>/dev/null` in #(
13969 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13970 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13971 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13972 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13973 # Prefer a ksh shell builtin over an external printf program on Solaris,
13974 # but without wasting forks for bash or zsh.
13975 if test -z "$BASH_VERSION$ZSH_VERSION" \
13976 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13977 as_echo='print
-r --'
13978 as_echo_n='print
-rn --'
13979 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13980 as_echo='printf %s
\n'
13981 as_echo_n='printf %s
'
13983 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13984 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13985 as_echo_n='/usr
/ucb
/echo -n'
13987 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13988 as_echo_n_body='eval
13992 expr "X$arg" : "X\\(.*\\)$as_nl";
13993 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13995 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13997 export as_echo_n_body
13998 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14000 export as_echo_body
14001 as_echo='sh
-c $as_echo_body as_echo
'
14004 # The user is always right.
14005 if test "${PATH_SEPARATOR+set}" != set; then
14007 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14008 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14015 # We need space, tab and new line, in precisely that order. Quoting is
14016 # there to prevent editors from complaining about space-tab.
14017 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14018 # splitting by setting IFS to empty value.)
14021 # Find who we are. Look in the path if we contain no directory separator.
14024 *[\\/]* ) as_myself=$0 ;;
14025 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14026 for as_dir in $PATH
14029 test -z "$as_dir" && as_dir=.
14030 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14036 # We did not find ourselves, most probably we were run as `sh COMMAND'
14037 # in which case we are not to be found in the path.
14038 if test "x$as_myself" = x
; then
14041 if test ! -f "$as_myself"; then
14042 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14046 # Unset variables that we do not need and which cause bugs (e.g. in
14047 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14048 # suppresses any "Segmentation fault" message there. '((' could
14049 # trigger a bug in pdksh 5.2.14.
14050 for as_var
in BASH_ENV ENV MAIL MAILPATH
14051 do eval test x\
${$as_var+set} = xset \
14052 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
14065 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14068 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14069 # ----------------------------------------
14070 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14071 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14072 # script with STATUS, using 1 if that was 0.
14075 as_status
=$1; test $as_status -eq 0 && as_status
=1
14077 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14078 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14080 $as_echo "$as_me: error: $2" >&2
14081 as_fn_exit
$as_status
14085 # as_fn_set_status STATUS
14086 # -----------------------
14087 # Set $? to STATUS, without forking.
14088 as_fn_set_status
()
14091 } # as_fn_set_status
14093 # as_fn_exit STATUS
14094 # -----------------
14095 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14099 as_fn_set_status
$1
14105 # Portably unset VAR.
14108 { eval $1=; unset $1;}
14110 as_unset
=as_fn_unset
14111 # as_fn_append VAR VALUE
14112 # ----------------------
14113 # Append the text in VALUE to the end of the definition contained in VAR. Take
14114 # advantage of any shell optimizations that allow amortized linear growth over
14115 # repeated appends, instead of the typical quadratic growth present in naive
14117 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14118 eval 'as_fn_append ()
14129 # as_fn_arith ARG...
14130 # ------------------
14131 # Perform arithmetic evaluation on the ARGs, and store the result in the
14132 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14133 # must be portable across $(()) and expr.
14134 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14135 eval 'as_fn_arith ()
14142 as_val
=`expr "$@" || test $? -eq 1`
14147 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14148 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14154 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14155 as_basename
=basename
14160 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14166 as_me
=`$as_basename -- "$0" ||
14167 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14168 X"$0" : 'X\(//\)$' \| \
14169 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14171 sed '/^.*\/\([^/][^/]*\)\/*$/{
14185 # Avoid depending upon Character Ranges.
14186 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14187 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14188 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14189 as_cr_digits
='0123456789'
14190 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14192 ECHO_C
= ECHO_N
= ECHO_T
=
14193 case `echo -n x` in #(((((
14195 case `echo 'xy\c'` in
14196 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14198 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14205 rm -f conf$$ conf$$.exe conf$$.
file
14206 if test -d conf$$.dir
; then
14207 rm -f conf$$.dir
/conf$$.
file
14210 mkdir conf$$.dir
2>/dev
/null
14212 if (echo >conf$$.
file) 2>/dev
/null
; then
14213 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14215 # ... but there are two gotchas:
14216 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14217 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14218 # In both cases, we have to default to `cp -p'.
14219 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
14221 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14229 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14230 rmdir conf$$.dir
2>/dev
/null
14235 # Create "$as_dir" as a directory, including parents if necessary.
14240 -*) as_dir
=.
/$as_dir;;
14242 test -d "$as_dir" || eval $as_mkdir_p || {
14246 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14247 *) as_qdir
=$as_dir;;
14249 as_dirs
="'$as_qdir' $as_dirs"
14250 as_dir
=`$as_dirname -- "$as_dir" ||
14251 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14252 X"$as_dir" : 'X\(//\)[^/]' \| \
14253 X"$as_dir" : 'X\(//\)$' \| \
14254 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14255 $as_echo X"$as_dir" |
14256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14260 /^X\(\/\/\)[^/].*/{
14273 test -d "$as_dir" && break
14275 test -z "$as_dirs" || eval "mkdir $as_dirs"
14276 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14280 if mkdir -p .
2>/dev
/null
; then
14281 as_mkdir_p
='mkdir -p "$as_dir"'
14283 test -d .
/-p && rmdir .
/-p
14287 if test -x / >/dev
/null
2>&1; then
14288 as_test_x
='test -x'
14290 if ls -dL / >/dev
/null
2>&1; then
14297 if test -d "$1"; then
14303 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14304 ???[sx]*):;;*)false;;esac;fi
14308 as_executable_p
=$as_test_x
14310 # Sed expression to map a string onto a valid CPP name.
14311 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14313 # Sed expression to map a string onto a valid variable name.
14314 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14318 ## ----------------------------------- ##
14319 ## Main body of $CONFIG_STATUS script. ##
14320 ## ----------------------------------- ##
14322 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14324 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14325 # Save the log message, to keep $0 and so on meaningful, and to
14326 # report actual input values of CONFIG_FILES etc. instead of their
14327 # values after options handling.
14329 This file was extended by libratbox $as_me devel, which was
14330 generated by GNU Autoconf 2.68. Invocation command line was
14332 CONFIG_FILES = $CONFIG_FILES
14333 CONFIG_HEADERS = $CONFIG_HEADERS
14334 CONFIG_LINKS = $CONFIG_LINKS
14335 CONFIG_COMMANDS = $CONFIG_COMMANDS
14338 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14343 case $ac_config_files in *"
14344 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14347 case $ac_config_headers in *"
14348 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14353 # Files that config.status was made for.
14354 config_files="$ac_config_files"
14355 config_headers="$ac_config_headers"
14356 config_commands="$ac_config_commands"
14360 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14362 \`$as_me' instantiates files and other configuration actions
14363 from templates according to the current configuration. Unless the files
14364 and actions are specified as TAGs, all are instantiated by default.
14366 Usage: $0 [OPTION]... [TAG]...
14368 -h, --help print this help, then exit
14369 -V, --version print version number and configuration settings, then exit
14370 --config print configuration, then exit
14371 -q, --quiet, --silent
14372 do not print progress messages
14373 -d, --debug don't remove temporary files
14374 --recheck update $as_me by reconfiguring in the same conditions
14375 --file=FILE[:TEMPLATE]
14376 instantiate the configuration file FILE
14377 --header=FILE[:TEMPLATE]
14378 instantiate the configuration header FILE
14380 Configuration files:
14383 Configuration headers:
14386 Configuration commands:
14389 Report bugs to the package provider."
14392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14393 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14395 libratbox config.status devel
14396 configured by $0, generated by GNU Autoconf 2.68,
14397 with options \\"\$ac_cs_config\\"
14399 Copyright (C) 2010 Free Software Foundation, Inc.
14400 This config.status script is free software; the Free Software Foundation
14401 gives unlimited permission to copy, distribute and modify it."
14408 test -n "\$AWK" || AWK=awk
14411 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14412 # The default lists apply if the user does not specify any file.
14418 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14419 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14423 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14435 # Handling of the options.
14436 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14438 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14439 $as_echo "$ac_cs_version"; exit ;;
14440 --config | --confi | --conf | --con | --co | --c )
14441 $as_echo "$ac_cs_config"; exit ;;
14442 --debug | --debu | --deb | --de | --d | -d )
14444 --file | --fil | --fi | --f )
14447 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14448 '') as_fn_error $?
"missing file argument" ;;
14450 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14451 ac_need_defaults
=false
;;
14452 --header | --heade | --head | --hea )
14455 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14457 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14458 ac_need_defaults
=false
;;
14460 # Conflict between --help and --header
14461 as_fn_error $?
"ambiguous option: \`$1'
14462 Try \`$0 --help' for more information.";;
14463 --help | --hel | -h )
14464 $as_echo "$ac_cs_usage"; exit ;;
14465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14466 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14469 # This is an error.
14470 -*) as_fn_error $?
"unrecognized option: \`$1'
14471 Try \`$0 --help' for more information." ;;
14473 *) as_fn_append ac_config_targets
" $1"
14474 ac_need_defaults
=false
;;
14480 ac_configure_extra_args
=
14482 if $ac_cs_silent; then
14484 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14489 if \$ac_cs_recheck; then
14490 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14492 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14493 CONFIG_SHELL='$SHELL'
14494 export CONFIG_SHELL
14499 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14503 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14504 ## Running $as_me. ##
14510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14514 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14517 # The HP-UX ksh and POSIX shell print the target directory to stdout
14518 # if CDPATH is set.
14519 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14521 sed_quote_subst='$sed_quote_subst'
14522 double_quote_subst='$double_quote_subst'
14523 delay_variable_subst='$delay_variable_subst'
14524 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14525 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14526 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14527 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14528 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14529 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14530 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14531 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14532 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14533 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14534 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14535 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14536 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14537 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14538 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14539 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14540 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14541 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14542 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14543 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14544 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14545 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14546 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14547 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14548 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14549 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14550 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14551 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14552 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14553 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14554 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14555 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14556 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14557 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14558 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14559 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14560 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14561 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14562 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14563 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14564 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14565 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14566 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14567 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14568 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"`'
14569 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"`'
14570 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14571 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14572 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14573 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14574 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14575 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14576 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14577 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14578 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14579 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14580 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14581 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14582 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14583 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14584 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14585 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14586 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14587 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14588 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14589 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14590 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14591 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14592 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14593 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14594 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14595 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14596 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14597 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14598 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14599 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14600 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14601 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14602 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14603 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14604 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14605 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14606 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14607 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14608 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14609 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14610 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14611 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14612 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14613 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14614 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14615 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14616 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14617 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14618 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14619 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14620 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14621 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14622 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14623 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14624 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14625 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14626 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14627 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14628 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14629 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14630 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14631 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14632 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14633 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14634 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14635 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14636 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14637 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14638 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14639 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14640 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14641 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14644 LTCFLAGS='$LTCFLAGS'
14645 compiler='$compiler_DEFAULT'
14647 # Quote evaled strings.
14659 deplibs_check_method \
14668 lt_cv_sys_global_symbol_pipe \
14669 lt_cv_sys_global_symbol_to_cdecl \
14670 lt_cv_sys_global_symbol_to_c_name_address \
14671 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14674 lt_prog_compiler_no_builtin_flag \
14675 lt_prog_compiler_wl \
14676 lt_prog_compiler_pic \
14677 lt_prog_compiler_static \
14678 lt_cv_prog_compiler_c_o \
14686 export_dynamic_flag_spec \
14687 whole_archive_flag_spec \
14688 compiler_needs_object \
14690 allow_undefined_flag \
14691 no_undefined_flag \
14692 hardcode_libdir_flag_spec \
14693 hardcode_libdir_flag_spec_ld \
14694 hardcode_libdir_separator \
14699 variables_saved_for_relink \
14701 library_names_spec \
14706 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14707 *[\\\\\\\`\\"\\\$]*)
14708 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14711 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14716 # Double-quote double-evaled strings.
14717 for var in reload_cmds \
14718 old_postinstall_cmds \
14719 old_postuninstall_cmds \
14721 extract_expsyms_cmds \
14722 old_archive_from_new_cmds \
14723 old_archive_from_expsyms_cmds \
14725 archive_expsym_cmds \
14727 module_expsym_cmds \
14728 export_symbols_cmds \
14731 postuninstall_cmds \
14733 sys_lib_search_path_spec \
14734 sys_lib_dlsearch_path_spec; do
14735 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14736 *[\\\\\\\`\\"\\\$]*)
14737 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14740 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14745 # Fix-up fallback echo if it was mangled by the above quoting rules.
14747 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14751 ac_aux_dir='$ac_aux_dir'
14752 xsi_shell='$xsi_shell'
14753 lt_shell_append='$lt_shell_append'
14755 # See if we are running on zsh, and set the options which allow our
14756 # commands through without removal of \ escapes INIT.
14757 if test -n "\${ZSH_VERSION+set}" ; then
14758 setopt NO_GLOB_SUBST
14764 TIMESTAMP='$TIMESTAMP'
14771 if test x$ac_cv_header_stdc = xyes; then
14774 if test x$ac_cv_header_stdlib_h = xyes; then
14775 rb_header_stdlib_h=yes
14777 if test x$ac_cv_header_string_h = xyes; then
14778 rb_header_string_h=yes
14780 if test x$ac_cv_header_memory_h = xyes; then
14781 rb_header_memory_h=yes
14783 if test "x${ac_cv_working_alloca_h+set}" = xset ; then
14784 rb_alloca_h="$ac_cv_working_alloca_h"
14786 rb_alloc_h="$ac_cv_header_alloca_h"
14788 if test x$ac_cv_member_struct_sockaddr_sa_len = xyes; then
14789 rb_sockaddr_sa_len=yes
14791 if test x$ac_cv_header_sys_socket_h = xyes; then
14792 rb_sys_socket_h=yes
14794 if test x$ac_cv_header_sys_types_h = xyes; then
14797 if test x$ac_cv_header_sys_stat_h = xyes; then
14800 if test x$ac_cv_header_sys_time_h = xyes; then
14803 if test x$ac_cv_header_time = xyes; then
14807 if test x$ac_cv_header_stdint_h = xyes; then
14810 if test x$ac_cv_header_inttypes_h = xyes; then
14813 if test x$ac_cv_header_netinet_in_h = xyes; then
14814 rb_netinet_in_h=yes
14817 if test x$ac_cv_header_crypt_h = xyes; then
14820 if test x$ac_cv_header_errno_h = xyes; then
14823 if test x$ac_cv_header_unistd_h = xyes; then
14826 if test x$ac_cv_header_windows_h = xyes; then
14829 if test x$ac_cv_header_winsock2_h = xyes; then
14833 rb_socklen_t=$rb_socklen_t
14835 if test "x$rb_have_sockaddr_storage" = "xyes"; then
14836 rb_sockaddr_storage="yes"
14838 rb_sockaddr_storage="no"
14841 rb_have_ipv6="$have_v6"
14853 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14855 # Handling of arguments.
14856 for ac_config_target
in $ac_config_targets
14858 case $ac_config_target in
14859 "include/libratbox_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/libratbox_config.h" ;;
14860 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14861 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14862 "include/librb-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/librb-config.h" ;;
14863 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
14864 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14865 "libratbox.pc") CONFIG_FILES
="$CONFIG_FILES libratbox.pc" ;;
14867 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14872 # If the user did not use the arguments to specify the items to instantiate,
14873 # then the envvar interface is used. Set only those that are not.
14874 # We use the long form for the default assignment because of an extremely
14875 # bizarre bug on SunOS 4.1.3.
14876 if $ac_need_defaults; then
14877 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14878 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14879 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14882 # Have a temporary directory for convenience. Make it in the build tree
14883 # simply because there is no reason against having it here, and in addition,
14884 # creating and moving files from /tmp can sometimes cause problems.
14885 # Hook for its removal unless debugging.
14886 # Note that there is a small window in which the directory will not be cleaned:
14887 # after its creation but before its name has been assigned to `$tmp'.
14891 trap 'exit_status=$?
14892 : "${ac_tmp:=$tmp}"
14893 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14895 trap 'as_fn_exit 1' 1 2 13 15
14897 # Create a (secure) tmp directory for tmp files.
14900 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14904 tmp
=.
/conf$$
-$RANDOM
14905 (umask 077 && mkdir "$tmp")
14906 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
14909 # Set up the scripts for CONFIG_FILES section.
14910 # No need to generate them if there are no CONFIG_FILES.
14911 # This happens for instance with `./config.status config.h'.
14912 if test -n "$CONFIG_FILES"; then
14915 ac_cr
=`echo X | tr X '\015'`
14916 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14917 # But we know of no other shell where ac_cr would be empty at this
14918 # point, so we can use a bashism as a fallback.
14919 if test "x$ac_cr" = x
; then
14920 eval ac_cr
=\$
\'\\r
\'
14922 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14923 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14926 ac_cs_awk_cr
=$ac_cr
14929 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14934 echo "cat >conf$$subs.awk <<_ACEOF" &&
14935 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14937 } >conf$$subs.sh ||
14938 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14939 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14941 for ac_last_try in false false false false false :; do
14942 . ./conf$$subs.sh ||
14943 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14945 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14946 if test $ac_delim_n = $ac_delim_num; then
14948 elif $ac_last_try; then
14949 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
14951 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14954 rm -f conf$$subs.sh
14956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14957 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
14961 s/^/S["/; s
/!.
*/"]=/
14971 s/\(.\{148\}\)..*/\1/
14973 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14978 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14985 s/\(.\{148\}\)..*/\1/
14987 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14991 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14996 ' <conf$$subs.awk | sed '
15001 ' >>$CONFIG_STATUS || ac_write_fail=1
15002 rm -f conf$$subs.awk
15003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15005 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15006 for (key in S) S_is_set[key] = 1
15012 nfields = split(line, field, "@
")
15014 len = length(field[1])
15015 for (i = 2; i < nfields; i++) {
15017 keylen = length(key)
15018 if (S_is_set[key]) {
15020 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15021 len += length(value) + length(field[++i])
15032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15033 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15034 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15037 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15038 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15041 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15042 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15043 # trailing colons and then remove the whole line if VPATH becomes empty
15044 # (actually we leave an empty line to preserve line numbers).
15045 if test "x
$srcdir" = x.; then
15046 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15065 fi # test -n "$CONFIG_FILES"
15067 # Set up the scripts for CONFIG_HEADERS section.
15068 # No need to generate them if there are no CONFIG_HEADERS.
15069 # This happens for instance with `./config.status Makefile'.
15070 if test -n "$CONFIG_HEADERS"; then
15071 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15075 # Transform confdefs.h into an awk script `defines.awk', embedded as
15076 # here-document in config.status, that substitutes the proper values into
15077 # config.h.in to produce config.h.
15079 # Create a delimiter string that does not exist in confdefs.h, to ease
15080 # handling of long lines.
15082 for ac_last_try in false false :; do
15083 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15084 if test -z "$ac_tt"; then
15086 elif $ac_last_try; then
15087 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15089 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15093 # For the awk script, D is an array of macro values keyed by name,
15094 # likewise P contains macro parameters if any. Preserve backslash
15095 # newline sequences.
15097 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15099 s/.\{148\}/&'"$ac_delim"'/g
15102 s/^[ ]*#[ ]*define[ ][ ]*/ /
15109 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15111 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15115 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15116 D["\
1"]=" \
3\\\\\\n
"\\/p
15118 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15123 s/.\{148\}/&'"$ac_delim"'/g
15128 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15131 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15133 ' <confdefs.h | sed '
15134 s/'"$ac_delim"'/"\\\
15135 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15138 for (key in D) D_is_set[key] = 1
15141 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15143 split(line, arg, " ")
15144 if (arg[1] == "#") {
15148 defundef
= substr
(arg
[1], 2)
15151 split(mac1
, mac2
, "(") #)
15153 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15154 if (D_is_set
[macro
]) {
15155 # Preserve the white space surrounding the "#".
15156 print prefix
"define", macro P
[macro
] D
[macro
]
15159 # Replace #undef with comments. This is necessary, for example,
15160 # in the case of _POSIX_SOURCE, which is predefined and required
15161 # on some systems where configure will not decide to define it.
15162 if (defundef
== "undef") {
15163 print
"/*", prefix defundef
, macro
, "*/"
15171 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15172 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15173 fi # test -n "$CONFIG_HEADERS"
15176 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15181 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15183 case $ac_mode$ac_tag in
15185 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15186 :[FH
]-) ac_tag
=-:-;;
15187 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15204 -) ac_f
="$ac_tmp/stdin";;
15205 *) # Look for the file first in the build tree, then in the source tree
15206 # (if the path is not absolute). The absolute path cannot be DOS-style,
15207 # because $ac_f cannot contain `:'.
15211 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15213 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15215 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15216 as_fn_append ac_file_inputs
" '$ac_f'"
15219 # Let's still pretend it is `configure' which instantiates (i.e., don't
15220 # use $as_me), people would be surprised to read:
15221 # /* config.h. Generated by config.status. */
15222 configure_input
='Generated from '`
15223 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15225 if test x
"$ac_file" != x
-; then
15226 configure_input
="$ac_file. $configure_input"
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15228 $as_echo "$as_me: creating $ac_file" >&6;}
15230 # Neutralize special characters interpreted by sed in replacement strings.
15231 case $configure_input in #(
15232 *\
&* | *\
|* | *\\* )
15233 ac_sed_conf_input
=`$as_echo "$configure_input" |
15234 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15235 *) ac_sed_conf_input
=$configure_input;;
15239 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15240 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15245 ac_dir
=`$as_dirname -- "$ac_file" ||
15246 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15247 X"$ac_file" : 'X\(//\)[^/]' \| \
15248 X"$ac_file" : 'X\(//\)$' \| \
15249 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15250 $as_echo X"$ac_file" |
15251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15255 /^X\(\/\/\)[^/].*/{
15268 as_dir
="$ac_dir"; as_fn_mkdir_p
15272 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15274 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15275 # A ".." for each directory in $ac_dir_suffix.
15276 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15277 case $ac_top_builddir_sub in
15278 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15279 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15282 ac_abs_top_builddir
=$ac_pwd
15283 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15284 # for backward compatibility:
15285 ac_top_builddir
=$ac_top_build_prefix
15288 .
) # We are building in place.
15290 ac_top_srcdir
=$ac_top_builddir_sub
15291 ac_abs_top_srcdir
=$ac_pwd ;;
15292 [\\/]* | ?
:[\\/]* ) # Absolute name.
15293 ac_srcdir
=$srcdir$ac_dir_suffix;
15294 ac_top_srcdir
=$srcdir
15295 ac_abs_top_srcdir
=$srcdir ;;
15296 *) # Relative name.
15297 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15298 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15299 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15301 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15311 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15312 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15314 ac_MKDIR_P
=$MKDIR_P
15316 [\\/$
]* | ?
:[\\/]* ) ;;
15317 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15321 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15322 # If the template does not know about datarootdir, expand it.
15323 # FIXME: This hack should be removed a few years after 2.60.
15324 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15335 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15336 *datarootdir
*) ac_datarootdir_seen
=yes;;
15337 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15339 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15342 ac_datarootdir_hack='
15343 s&@datadir@&$datadir&g
15344 s&@docdir@&$docdir&g
15345 s&@infodir@&$infodir&g
15346 s&@localedir@&$localedir&g
15347 s&@mandir@&$mandir&g
15348 s&\\\${datarootdir}&$datarootdir&g' ;;
15352 # Neutralize VPATH when `$srcdir' = `.'.
15353 # Shell code in configure.ac might set extrasub.
15354 # FIXME: do we really want to maintain this feature?
15355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15356 ac_sed_extra="$ac_vpsub
15359 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15361 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
15362 s
|@configure_input@
|$ac_sed_conf_input|;t t
15363 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15364 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15365 s
&@srcdir@
&$ac_srcdir&;t t
15366 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15367 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15368 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15369 s
&@builddir@
&$ac_builddir&;t t
15370 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15371 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15372 s
&@INSTALL@
&$ac_INSTALL&;t t
15373 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15374 $ac_datarootdir_hack
15376 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15377 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15379 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15380 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15381 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15382 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15384 which seems to be undefined. Please make sure it is defined" >&5
15385 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15386 which seems to be undefined. Please make sure it is defined" >&2;}
15388 rm -f "$ac_tmp/stdin"
15390 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15391 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15393 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15399 if test x"$ac_file" != x-; then
15401 $as_echo "/* $configure_input */" \
15402 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15403 } >"$ac_tmp/config.h" \
15404 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15405 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15407 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15410 mv "$ac_tmp/config.h" "$ac_file" \
15411 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15414 $as_echo "/* $configure_input */" \
15415 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15416 || as_fn_error $? "could not create -" "$LINENO" 5
15418 # Compute "$ac_file"'s index
in $config_headers.
15421 for _am_header
in $config_headers :; do
15422 case $_am_header in
15423 $_am_arg | $_am_arg:* )
15426 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15429 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15430 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15431 X"$_am_arg" : 'X\(//\)[^/]' \| \
15432 X"$_am_arg" : 'X\(//\)$' \| \
15433 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15434 $as_echo X"$_am_arg" |
15435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15439 /^X\(\/\/\)[^/].*/{
15451 s/.*/./; q'`/stamp
-h$_am_stamp_count
15454 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15455 $as_echo "$as_me: executing $ac_file commands" >&6;}
15460 case $ac_file$ac_mode in
15461 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
15462 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15463 # are listed without --file. Let's play safe and only enable the eval
15464 # if we detect the quoting.
15465 case $CONFIG_FILES in
15466 *\'*) eval set x
"$CONFIG_FILES" ;;
15467 *) set x
$CONFIG_FILES ;;
15472 # Strip MF so we end up with the name of the file.
15473 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15474 # Check whether this is an Automake generated Makefile or not.
15475 # We used to match only the files named `Makefile.in', but
15476 # some people rename them; so instead we look at the file content.
15477 # Grep'ing the first line is not enough: some people post-process
15478 # each Makefile.in and add a new line on top of each file to say so.
15479 # Grep'ing the whole file is not good either: AIX grep has a line
15480 # limit of 2048, but all sed's we know have understand at least 4000.
15481 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
15482 dirpart
=`$as_dirname -- "$mf" ||
15483 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15484 X"$mf" : 'X\(//\)[^/]' \| \
15485 X"$mf" : 'X\(//\)$' \| \
15486 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15492 /^X\(\/\/\)[^/].*/{
15508 # Extract the definition of DEPDIR, am__include, and am__quote
15509 # from the Makefile without running `make'.
15510 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15511 test -z "$DEPDIR" && continue
15512 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15513 test -z "am__include" && continue
15514 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15515 # When using ansi2knr, U may be empty or an underscore; expand it
15516 U
=`sed -n 's/^U = //p' < "$mf"`
15517 # Find all dependency output files, they are included files with
15518 # $(DEPDIR) in their names. We invoke sed twice because it is the
15519 # simplest approach to changing $(DEPDIR) to its actual value in the
15521 for file in `sed -n "
15522 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15523 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15524 # Make sure the directory exists.
15525 test -f "$dirpart/$file" && continue
15526 fdir
=`$as_dirname -- "$file" ||
15527 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15528 X"$file" : 'X\(//\)[^/]' \| \
15529 X"$file" : 'X\(//\)$' \| \
15530 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15531 $as_echo X"$file" |
15532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15536 /^X\(\/\/\)[^/].*/{
15549 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15550 # echo "creating $dirpart/$file"
15551 echo '# dummy' > "$dirpart/$file"
15558 # See if we are running on zsh, and set the options which allow our
15559 # commands through without removal of \ escapes.
15560 if test -n "${ZSH_VERSION+set}" ; then
15561 setopt NO_GLOB_SUBST
15564 cfgfile
="${ofile}T"
15565 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15568 cat <<_LT_EOF >> "$cfgfile"
15571 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15572 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15573 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15574 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15576 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15577 # 2006, 2007, 2008 Free Software Foundation, Inc.
15578 # Written by Gordon Matzigkeit, 1996
15580 # This file is part of GNU Libtool.
15582 # GNU Libtool is free software; you can redistribute it and/or
15583 # modify it under the terms of the GNU General Public License as
15584 # published by the Free Software Foundation; either version 2 of
15585 # the License, or (at your option) any later version.
15587 # As a special exception to the GNU General Public License,
15588 # if you distribute this file as part of a program or library that
15589 # is built using GNU Libtool, you may include this file under the
15590 # same distribution terms that you use for the rest of that program.
15592 # GNU Libtool is distributed in the hope that it will be useful,
15593 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15594 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15595 # GNU General Public License for more details.
15597 # You should have received a copy of the GNU General Public License
15598 # along with GNU Libtool; see the file COPYING. If not, a copy
15599 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15600 # obtained by writing to the Free Software Foundation, Inc.,
15601 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15604 # The names of the tagged configurations supported by this script.
15607 # ### BEGIN LIBTOOL CONFIG
15609 # Whether or not to build static libraries.
15610 build_old_libs=$enable_static
15612 # Whether or not to build shared libraries.
15613 build_libtool_libs=$enable_shared
15615 # Which release of libtool.m4 was used?
15616 macro_version=$macro_version
15617 macro_revision=$macro_revision
15619 # What type of objects to build.
15622 # Whether or not to optimize for fast installation.
15623 fast_install=$enable_fast_install
15626 host_alias=$host_alias
15630 # The build system.
15631 build_alias=$build_alias
15635 # A sed program that does not truncate output.
15638 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15639 Xsed="\$SED -e 1s/^X//"
15641 # A grep program that handles long lines.
15647 # A literal string matcher.
15650 # A BSD- or MS-compatible name lister.
15653 # Whether we need soft or hard links.
15656 # What is the maximum length of a command?
15657 max_cmd_len=$max_cmd_len
15659 # Object file suffix (normally "o").
15662 # Executable file suffix (normally "").
15665 # whether the shell understands "unset".
15668 # turn spaces into newlines.
15671 # turn newlines into spaces.
15674 # How to create reloadable object files.
15675 reload_flag=$lt_reload_flag
15676 reload_cmds=$lt_reload_cmds
15678 # An object symbol dumper.
15679 OBJDUMP=$lt_OBJDUMP
15681 # Method to check whether dependent libraries are shared objects.
15682 deplibs_check_method=$lt_deplibs_check_method
15684 # Command to use when deplibs_check_method == "file_magic".
15685 file_magic_cmd=$lt_file_magic_cmd
15689 AR_FLAGS=$lt_AR_FLAGS
15691 # A symbol stripping program.
15694 # Commands used to install an old-style archive.
15696 old_postinstall_cmds=$lt_old_postinstall_cmds
15697 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15702 # LTCC compiler flags.
15703 LTCFLAGS=$lt_CFLAGS
15705 # Take the output of nm and produce a listing of raw symbols and C names.
15706 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15708 # Transform the output of nm in a proper C declaration.
15709 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15711 # Transform the output of nm in a C name address pair.
15712 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15714 # Transform the output of nm in a C name address pair when lib prefix is needed.
15715 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15717 # The name of the directory that contains temporary libtool files.
15720 # Shell to use when invoking shell scripts.
15723 # An echo program that does not interpret backslashes.
15726 # Used to examine libraries when file_magic_cmd begins with "file".
15727 MAGIC_CMD=$MAGIC_CMD
15729 # Must we lock files when doing compilation?
15730 need_locks=$lt_need_locks
15732 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15733 DSYMUTIL=$lt_DSYMUTIL
15735 # Tool to change global to local symbols on Mac OS X.
15738 # Tool to manipulate fat objects and archives on Mac OS X.
15741 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15744 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15745 OTOOL64=$lt_OTOOL64
15747 # Old archive suffix (normally "a").
15750 # Shared library suffix (normally ".so").
15751 shrext_cmds=$lt_shrext_cmds
15753 # The commands to extract the exported symbol list from a shared archive.
15754 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15756 # Variables whose values should be saved in libtool wrapper scripts and
15757 # restored at link time.
15758 variables_saved_for_relink=$lt_variables_saved_for_relink
15760 # Do we need the "lib" prefix for modules?
15761 need_lib_prefix=$need_lib_prefix
15763 # Do we need a version for libraries?
15764 need_version=$need_version
15766 # Library versioning type.
15767 version_type=$version_type
15769 # Shared library runtime path variable.
15770 runpath_var=$runpath_var
15772 # Shared library path variable.
15773 shlibpath_var=$shlibpath_var
15775 # Is shlibpath searched before the hard-coded library search path?
15776 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15778 # Format of library name prefix.
15779 libname_spec=$lt_libname_spec
15781 # List of archive names. First name is the real one, the rest are links.
15782 # The last name is the one that the linker finds with -lNAME
15783 library_names_spec=$lt_library_names_spec
15785 # The coded name of the library, if different from the real name.
15786 soname_spec=$lt_soname_spec
15788 # Command to use after installation of a shared archive.
15789 postinstall_cmds=$lt_postinstall_cmds
15791 # Command to use after uninstallation of a shared archive.
15792 postuninstall_cmds=$lt_postuninstall_cmds
15794 # Commands used to finish a libtool library installation in a directory.
15795 finish_cmds=$lt_finish_cmds
15797 # As "finish_cmds", except a single script fragment to be evaled but
15799 finish_eval=$lt_finish_eval
15801 # Whether we should hardcode library paths into libraries.
15802 hardcode_into_libs=$hardcode_into_libs
15804 # Compile-time system search path for libraries.
15805 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15807 # Run-time system search path for libraries.
15808 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15810 # Whether dlopen is supported.
15811 dlopen_support=$enable_dlopen
15813 # Whether dlopen of programs is supported.
15814 dlopen_self=$enable_dlopen_self
15816 # Whether dlopen of statically linked programs is supported.
15817 dlopen_self_static=$enable_dlopen_self_static
15819 # Commands to strip libraries.
15820 old_striplib=$lt_old_striplib
15821 striplib=$lt_striplib
15824 # The linker used to build libraries.
15827 # Commands used to build an old-style archive.
15828 old_archive_cmds=$lt_old_archive_cmds
15830 # A language specific compiler.
15833 # Is the compiler the GNU compiler?
15836 # Compiler flag to turn off builtin functions.
15837 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15839 # How to pass a linker flag through the compiler.
15840 wl=$lt_lt_prog_compiler_wl
15842 # Additional compiler flags for building library objects.
15843 pic_flag=$lt_lt_prog_compiler_pic
15845 # Compiler flag to prevent dynamic linking.
15846 link_static_flag=$lt_lt_prog_compiler_static
15848 # Does compiler simultaneously support -c and -o options?
15849 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15851 # Whether or not to add -lc for building shared libraries.
15852 build_libtool_need_lc=$archive_cmds_need_lc
15854 # Whether or not to disallow shared libs when runtime libs are static.
15855 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15857 # Compiler flag to allow reflexive dlopens.
15858 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15860 # Compiler flag to generate shared objects directly from archives.
15861 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15863 # Whether the compiler copes with passing no objects directly.
15864 compiler_needs_object=$lt_compiler_needs_object
15866 # Create an old-style archive from a shared archive.
15867 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15869 # Create a temporary old-style archive to link instead of a shared archive.
15870 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15872 # Commands used to build a shared archive.
15873 archive_cmds=$lt_archive_cmds
15874 archive_expsym_cmds=$lt_archive_expsym_cmds
15876 # Commands used to build a loadable module if different from building
15877 # a shared archive.
15878 module_cmds=$lt_module_cmds
15879 module_expsym_cmds=$lt_module_expsym_cmds
15881 # Whether we are building with GNU ld or not.
15882 with_gnu_ld=$lt_with_gnu_ld
15884 # Flag that allows shared libraries with undefined symbols to be built.
15885 allow_undefined_flag=$lt_allow_undefined_flag
15887 # Flag that enforces no undefined symbols.
15888 no_undefined_flag=$lt_no_undefined_flag
15890 # Flag to hardcode \$libdir into a binary during linking.
15891 # This must work even if \$libdir does not exist
15892 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15894 # If ld is used when linking, flag to hardcode \$libdir into a binary
15895 # during linking. This must work even if \$libdir does not exist.
15896 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15898 # Whether we need a single "-rpath" flag with a separated argument.
15899 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15901 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15902 # DIR into the resulting binary.
15903 hardcode_direct=$hardcode_direct
15905 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15906 # DIR into the resulting binary and the resulting library dependency is
15907 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15908 # library is relocated.
15909 hardcode_direct_absolute=$hardcode_direct_absolute
15911 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15912 # into the resulting binary.
15913 hardcode_minus_L=$hardcode_minus_L
15915 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15916 # into the resulting binary.
15917 hardcode_shlibpath_var=$hardcode_shlibpath_var
15919 # Set to "yes" if building a shared library automatically hardcodes DIR
15920 # into the library and all subsequent libraries and executables linked
15922 hardcode_automatic=$hardcode_automatic
15924 # Set to yes if linker adds runtime paths of dependent libraries
15925 # to runtime path list.
15926 inherit_rpath=$inherit_rpath
15928 # Whether libtool must link a program against all its dependency libraries.
15929 link_all_deplibs=$link_all_deplibs
15931 # Fix the shell variable \$srcfile for the compiler.
15932 fix_srcfile_path=$lt_fix_srcfile_path
15934 # Set to "yes" if exported symbols are required.
15935 always_export_symbols=$always_export_symbols
15937 # The commands to list exported symbols.
15938 export_symbols_cmds=$lt_export_symbols_cmds
15940 # Symbols that should not be listed in the preloaded symbols.
15941 exclude_expsyms=$lt_exclude_expsyms
15943 # Symbols that must always be exported.
15944 include_expsyms=$lt_include_expsyms
15946 # Commands necessary for linking programs (against libraries) with templates.
15947 prelink_cmds=$lt_prelink_cmds
15949 # Specify filename containing input files.
15950 file_list_spec=$lt_file_list_spec
15952 # How to hardcode a shared library path into an executable.
15953 hardcode_action=$hardcode_action
15955 # ### END LIBTOOL CONFIG
15961 cat <<\_LT_EOF
>> "$cfgfile"
15962 # AIX sometimes has problems with the GCC collect2 program. For some
15963 # reason, if we set the COLLECT_NAMES environment variable, the problems
15964 # vanish in a puff of smoke.
15965 if test "X${COLLECT_NAMES+set}" != Xset
; then
15967 export COLLECT_NAMES
15974 ltmain
="$ac_aux_dir/ltmain.sh"
15977 # We use sed instead of cat because bash on DJGPP gets confused if
15978 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15979 # text mode, it properly converts lines to CR/LF. This bash problem
15980 # is reportedly fixed, but why not run on old versions too?
15981 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15982 || (rm -f "$cfgfile"; exit 1)
15986 cat << \_LT_EOF
>> "$cfgfile"
15988 # func_dirname file append nondir_replacement
15989 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15990 # otherwise set result to NONDIR_REPLACEMENT.
15994 */*) func_dirname_result
="${1%/*}${2}" ;;
15995 * ) func_dirname_result
="${3}" ;;
15999 # func_basename file
16002 func_basename_result
="${1##*/}"
16005 # func_dirname_and_basename file append nondir_replacement
16006 # perform func_basename and func_dirname in a single function
16008 # dirname: Compute the dirname of FILE. If nonempty,
16009 # add APPEND to the result, otherwise set result
16010 # to NONDIR_REPLACEMENT.
16011 # value returned in "$func_dirname_result"
16012 # basename: Compute filename of FILE.
16013 # value retuned in "$func_basename_result"
16014 # Implementation must be kept synchronized with func_dirname
16015 # and func_basename. For efficiency, we do not delegate to
16016 # those functions but instead duplicate the functionality here.
16017 func_dirname_and_basename
()
16020 */*) func_dirname_result
="${1%/*}${2}" ;;
16021 * ) func_dirname_result
="${3}" ;;
16023 func_basename_result
="${1##*/}"
16026 # func_stripname prefix suffix name
16027 # strip PREFIX and SUFFIX off of NAME.
16028 # PREFIX and SUFFIX must not contain globbing or regex special
16029 # characters, hashes, percent signs, but SUFFIX may contain a leading
16030 # dot (in which case that matches only a dot).
16033 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16034 # positional parameters, so assign one to ordinary parameter first.
16035 func_stripname_result
=${3}
16036 func_stripname_result
=${func_stripname_result#"${1}"}
16037 func_stripname_result
=${func_stripname_result%"${2}"}
16043 func_opt_split_opt
=${1%%=*}
16044 func_opt_split_arg
=${1#*=}
16051 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16052 *) func_lo2o_result
=${1} ;;
16056 # func_xform libobj-or-source
16059 func_xform_result
=${1%.*}.lo
16062 # func_arith arithmetic-term...
16065 func_arith_result
=$(( $* ))
16069 # STRING may not start with a hyphen.
16072 func_len_result
=${#1}
16077 *) # Bourne compatible functions.
16078 cat << \_LT_EOF
>> "$cfgfile"
16080 # func_dirname file append nondir_replacement
16081 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16082 # otherwise set result to NONDIR_REPLACEMENT.
16085 # Extract subdirectory from the argument.
16086 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16087 if test "X$func_dirname_result" = "X${1}"; then
16088 func_dirname_result
="${3}"
16090 func_dirname_result
="$func_dirname_result${2}"
16094 # func_basename file
16097 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
16101 # func_stripname prefix suffix name
16102 # strip PREFIX and SUFFIX off of NAME.
16103 # PREFIX and SUFFIX must not contain globbing or regex special
16104 # characters, hashes, percent signs, but SUFFIX may contain a leading
16105 # dot (in which case that matches only a dot).
16106 # func_strip_suffix prefix name
16110 .
*) func_stripname_result
=`$ECHO "X${3}" \
16111 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16112 *) func_stripname_result
=`$ECHO "X${3}" \
16113 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16118 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16119 my_sed_long_arg
='1s/^-[^=]*=//'
16124 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16125 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16131 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16134 # func_xform libobj-or-source
16137 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16140 # func_arith arithmetic-term...
16143 func_arith_result
=`expr "$@"`
16147 # STRING may not start with a hyphen.
16150 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16156 case $lt_shell_append in
16158 cat << \_LT_EOF
>> "$cfgfile"
16160 # func_append var value
16161 # Append VALUE to the end of shell variable VAR.
16169 cat << \_LT_EOF
>> "$cfgfile"
16171 # func_append var value
16172 # Append VALUE to the end of shell variable VAR.
16183 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16184 || (rm -f "$cfgfile"; exit 1)
16186 mv -f "$cfgfile" "$ofile" ||
16187 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16191 "include/librb-config.h":C
)
16192 outfile
=include
/librb
-config.h.tmp
16193 cat > $outfile <<\_______EOF
16195 * librb
-config.h
: libratbox config
file. Please modify configure.ac
16198 #ifndef __LIBRB_CONFIG_H
16199 #define __LIBRB_CONFIG_H
16203 if test "x$rb_have_ipv6" = "xyes"; then
16204 echo "#define RB_IPV6 1" >> $outfile
16207 if test "x$rb_windows_h" = "xyes"; then
16208 echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
16209 echo '#include <windows.h>' >> $outfile
16210 echo '#include <winsock2.h>' >> $outfile
16211 echo '#include <iphlpapi.h>' >> $outfile
16214 if test "x$rb_alloca_h" = "xyes"; then
16215 echo '#define RB_HAVE_ALLOCA_H 1' >> $outfile
16218 if test "x$rb_header_stdc" = "xyes"; then
16219 echo '#include <stdlib.h>' >> $outfile
16220 echo '#include <stddef.h>' >> $outfile
16221 elif test "x$rb_header_stdlib" = "xyes"; then
16222 echo '#include <stdlib.h>' >> $outfile
16225 if test "x$rb_header_string_h" = "xyes"; then
16226 echo '#include <string.h>' >> $outfile
16229 if test "x$rb_stdint_h" = "xyes"; then
16230 echo '#include <stdint.h>' >> $outfile
16233 if test "x$rb_inttypes_h" = "xyes"; then
16234 echo '#include <inttypes.h>' >> $outfile
16237 if test "x$rb_sys_types_h" = "xyes"; then
16238 echo '#include <sys/types.h>' >> $outfile
16240 if test "x$rb_sys_time_h" = "xyes"; then
16241 echo '#include <sys/time.h>' >> $outfile
16243 if test "x$rb_sys_stat_h" = "xyes"; then
16244 echo '#include <sys/stat.h>' >> $outfile
16246 if test "x$rb_time_h" = "xyes"; then
16247 echo '#include <time.h>' >> $outfile
16250 if test "x$rb_sys_socket_h" = "xyes"; then
16251 echo '#include <sys/socket.h>' >> $outfile
16254 if test "x$rb_netinet_in_h" = "xyes"; then
16255 echo '#include <netinet/in.h>' >> $outfile
16258 if test "x$rb_arpa_inet_h" = "xyes"; then
16259 echo '#include <arpa/inet.h>' >> $outfile
16262 if test "x$rb_unistd_h" = "xyes"; then
16263 echo '#include <unistd.h>' >> $outfile
16266 if test "x$rb_crypt_h" = "xyes"; then
16267 echo '#include <crypt.h>' >> $outfile
16270 if test "x$rb_errno_h" = "xyes"; then
16271 echo '#include <errno.h>' >> $outfile
16274 echo "typedef $rb_socklen_t rb_socklen_t;" >> $outfile
16277 if test "x$rb_sockaddr_sa_len" = "xyes"; then
16278 echo '#define RB_SOCKADDR_HAS_SA_LEN 1' >> $outfile
16281 if test "x$rb_sockaddr_storage" = "xyes"; then
16282 echo '#define rb_sockaddr_storage sockaddr_storage' >> $outfile
16284 echo 'struct rb_sockaddr_storage { uint8_t _padding[128]; };' >> $outfile
16287 cat >> $outfile <<\_______EOF
16288 #endif /* __LIBRB_CONFIG_H */
16291 if cmp -s $outfile include
/librb
-config.h
; then
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: include/librb-config.h is unchanged" >&5
16293 $as_echo "$as_me: include/librb-config.h is unchanged" >&6;}
16294 ${rb_rm} -f $outfile
16296 ${rb_mv} $outfile include
/librb
-config.h
16307 ac_clean_files
=$ac_clean_files_save
16309 test $ac_write_fail = 0 ||
16310 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16313 # configure is writing to config.log, and then calls config.status.
16314 # config.status does its own redirection, appending to config.log.
16315 # Unfortunately, on DOS this fails, as config.log is still kept open
16316 # by configure, so config.status won't be able to write to it; its
16317 # output is simply discarded. So we exec the FD to /dev/null,
16318 # effectively closing config.log, so it can be properly (re)opened and
16319 # appended to by config.status. When coming back to configure, we
16320 # need to make the FD available again.
16321 if test "$no_create" != yes; then
16323 ac_config_status_args
=
16324 test "$silent" = yes &&
16325 ac_config_status_args
="$ac_config_status_args --quiet"
16327 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16329 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16330 # would make configure fail if this is the last instruction.
16331 $ac_cs_success || as_fn_exit
1
16333 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16335 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16341 echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
16344 echo "Installing into: $prefix"
16346 echo "IPv6 support ................... $have_v6"
16347 echo "Assert debugging ............... $assert"
16348 echo "Block allocator ................ $balloc"
16349 echo "SSL Type........................ $SSL_TYPE"