2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 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 Free Software Foundation,
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
234 $0: including any error possibly output before this
235 $0: message. Then install a modern shell, or manually run
236 $0: the script under such a shell if you do have one."
242 SHELL
=${CONFIG_SHELL-/bin/sh}
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE
= GREP_OPTIONS
=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
253 # Portably unset VAR.
256 { eval $1=; unset $1;}
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 # Create "$as_dir" as a directory, including parents if necessary.
285 -*) as_dir
=.
/$as_dir;;
287 test -d "$as_dir" || eval $as_mkdir_p || {
291 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 as_dirs
="'$as_qdir' $as_dirs"
295 as_dir
=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318 test -d "$as_dir" && break
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
332 eval 'as_fn_append ()
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
356 as_val
=`expr "$@" || test $? -eq 1`
361 # as_fn_error ERROR [LINENO LOG_FD]
362 # ---------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with status $?, using 1 if that was 0.
368 as_status
=$?
; test $as_status -eq 0 && as_status
=1
370 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373 $as_echo "$as_me: error: $1" >&2
374 as_fn_exit
$as_status
377 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
384 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
396 as_me
=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
415 # Avoid depending upon Character Ranges.
416 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits
='0123456789'
420 as_cr_alnum
=$as_cr_Letters$as_cr_digits
423 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
424 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443 chmod +x
"$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
450 # Exit status is that of the last command.
454 ECHO_C
= ECHO_N
= ECHO_T
=
455 case `echo -n x` in #(((((
457 case `echo 'xy\c'` in
458 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
467 rm -f conf$$ conf$$.exe conf$$.
file
468 if test -d conf$$.dir
; then
469 rm -f conf$$.dir
/conf$$.
file
472 mkdir conf$$.dir
2>/dev
/null
474 if (echo >conf$$.
file) 2>/dev
/null
; then
475 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
483 elif ln conf$$.
file conf$$
2>/dev
/null
; then
491 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
492 rmdir conf$$.dir
2>/dev
/null
494 if mkdir -p .
2>/dev
/null
; then
495 as_mkdir_p
='mkdir -p "$as_dir"'
497 test -d .
/-p && rmdir .
/-p
501 if test -x / >/dev
/null
2>&1; then
504 if ls -dL / >/dev
/null
2>&1; then
511 if test -d "$1"; then
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
522 as_executable_p
=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 # Check that we are running under the correct shell.
533 SHELL
=${CONFIG_SHELL-/bin/sh}
537 # Remove one level of quotation (which was required for Make).
538 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
543 if test "X$1" = X
--no-reexec; then
544 # Discard the --no-reexec flag, and continue.
546 elif test "X$1" = X
--fallback-echo; then
547 # Avoid inline document here, it may be left over
549 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
550 # Yippee, $ECHO works!
553 # Restart under the correct shell.
554 exec $SHELL "$0" --no-reexec ${1+"$@"}
557 if test "X$1" = X
--fallback-echo; then
558 # used as fallback echo
566 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
570 if test -z "$lt_ECHO"; then
571 if test "X${echo_test_string+set}" != Xset
; then
572 # find a string as large as possible, as long as the shell can cope with it
573 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
574 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
575 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
576 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
583 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
584 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
585 test "X$echo_testing_string" = "X$echo_test_string"; then
588 # The Solaris, AIX, and Digital Unix default echo programs unquote
589 # backslashes. This makes it impossible to quote backslashes using
590 # echo "$something" | sed 's/\\/\\\\/g'
592 # So, first we look for a working echo in the user's PATH.
594 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
595 for dir
in $PATH /usr
/ucb
; do
597 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
598 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
599 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
600 test "X$echo_testing_string" = "X$echo_test_string"; then
607 if test "X$ECHO" = Xecho
; then
608 # We didn't find a better echo, so look for alternatives.
609 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
610 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
611 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # This shell has a builtin print -r that does the trick.
614 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
615 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
616 # If we have ksh, try running configure again with it.
617 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
618 export ORIGINAL_CONFIG_SHELL
619 CONFIG_SHELL
=/bin
/ksh
621 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
625 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
626 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
627 test "X$echo_testing_string" = "X$echo_test_string"; then
630 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
631 test "X$echo_testing_string" = 'X\t' &&
632 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
636 SHELL
="$CONFIG_SHELL"
638 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
639 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
640 test "X$echo_testing_string" = 'X\t' &&
641 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
642 test "X$echo_testing_string" = "X$echo_test_string"; then
643 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
645 # maybe with a smaller string...
648 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
649 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
656 if test "$prev" != 'sed 50q "$0"'; then
657 echo_test_string
=`eval $prev`
658 export echo_test_string
659 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661 # Oops. We lost completely, so just stick with echo.
670 # Copy echo and quote the copy suitably for passing to libtool from
671 # the Makefile, instead of quoting the original, which is used later.
673 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
674 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
680 test -n "$DJDIR" || exec 7<&0 </dev
/null
684 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
685 # so uname gets run too.
686 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
691 ac_default_prefix
=/usr
/local
693 ac_config_libobj_dir
=.
700 # Identity of this package.
701 PACKAGE_NAME
='libratbox'
702 PACKAGE_TARNAME
='libratbox'
703 PACKAGE_VERSION
='devel'
704 PACKAGE_STRING
='libratbox devel'
708 ac_default_prefix
=/usr
/local
/libratbox
709 # Factoring default headers for most tests.
710 ac_includes_default
="\
712 #ifdef HAVE_SYS_TYPES_H
713 # include <sys/types.h>
715 #ifdef HAVE_SYS_STAT_H
716 # include <sys/stat.h>
722 # ifdef HAVE_STDLIB_H
727 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
732 #ifdef HAVE_STRINGS_H
733 # include <strings.h>
735 #ifdef HAVE_INTTYPES_H
736 # include <inttypes.h>
746 ac_subst_vars
='am__EXEEXT_FALSE
795 MAINTAINER_MODE_FALSE
825 INSTALL_STRIP_PROGRAM
867 program_transform_name
880 enable_option_checking
881 enable_dependency_tracking
884 enable_maintainer_mode
897 ac_precious_vars
='build_alias
911 # Initialize some variables set by options.
913 ac_init_version
=false
914 ac_unrecognized_opts
=
916 # The variables have the same names as the options, with
917 # dashes changed to underlines.
925 program_transform_name
=s
,x
,x
,
933 # Installation directory options.
934 # These are left unexpanded so users can "make install exec_prefix=/foo"
935 # and all the variables that are supposed to be based on exec_prefix
936 # by default will actually change.
937 # Use braces instead of parens because sh, perl, etc. also accept them.
938 # (The list follows the same order as the GNU Coding Standards.)
939 bindir
='${exec_prefix}/bin'
940 sbindir
='${exec_prefix}/sbin'
941 libexecdir
='${exec_prefix}/libexec'
942 datarootdir
='${prefix}/share'
943 datadir
='${datarootdir}'
944 sysconfdir
='${prefix}/etc'
945 sharedstatedir
='${prefix}/com'
946 localstatedir
='${prefix}/var'
947 includedir
='${prefix}/include'
948 oldincludedir
='/usr/include'
949 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
950 infodir
='${datarootdir}/info'
955 libdir
='${exec_prefix}/lib'
956 localedir
='${datarootdir}/locale'
957 mandir
='${datarootdir}/man'
963 # If the previous option needs an argument, assign it.
964 if test -n "$ac_prev"; then
965 eval $ac_prev=\
$ac_option
971 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 # Accept the important Cygnus configure options, so we can diagnose typos.
977 case $ac_dashdash$ac_option in
981 -bindir | --bindir | --bindi | --bind | --bin | --bi)
983 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
986 -build | --build | --buil | --bui | --bu)
987 ac_prev
=build_alias
;;
988 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
989 build_alias
=$ac_optarg ;;
991 -cache-file | --cache-file | --cache-fil | --cache-fi \
992 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
993 ac_prev
=cache_file
;;
994 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
995 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
996 cache_file
=$ac_optarg ;;
999 cache_file
=config.cache
;;
1001 -datadir | --datadir | --datadi | --datad)
1003 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1004 datadir
=$ac_optarg ;;
1006 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1007 | --dataroo | --dataro | --datar)
1008 ac_prev
=datarootdir
;;
1009 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1010 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1011 datarootdir
=$ac_optarg ;;
1013 -disable-* | --disable-*)
1014 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1017 as_fn_error
"invalid feature name: $ac_useropt"
1018 ac_useropt_orig
=$ac_useropt
1019 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020 case $ac_user_opts in
1022 "enable_
$ac_useropt"
1024 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1025 ac_unrecognized_sep
=', ';;
1027 eval enable_
$ac_useropt=no
;;
1029 -docdir | --docdir | --docdi | --doc | --do)
1031 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1032 docdir
=$ac_optarg ;;
1034 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1037 dvidir
=$ac_optarg ;;
1039 -enable-* | --enable-*)
1040 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1043 as_fn_error
"invalid feature name: $ac_useropt"
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=\
$ac_optarg ;;
1055 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1056 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1057 | --exec | --exe | --ex)
1058 ac_prev
=exec_prefix
;;
1059 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1060 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1061 | --exec=* | --exe=* | --ex=*)
1062 exec_prefix
=$ac_optarg ;;
1064 -gas | --gas | --ga | --g)
1065 # Obsolete; use --with-gas.
1068 -help | --help | --hel | --he | -h)
1069 ac_init_help
=long
;;
1070 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1071 ac_init_help
=recursive
;;
1072 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1073 ac_init_help
=short
;;
1075 -host | --host | --hos | --ho)
1076 ac_prev
=host_alias
;;
1077 -host=* | --host=* | --hos=* | --ho=*)
1078 host_alias
=$ac_optarg ;;
1080 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084 htmldir
=$ac_optarg ;;
1086 -includedir | --includedir | --includedi | --included | --include \
1087 | --includ | --inclu | --incl | --inc)
1088 ac_prev
=includedir
;;
1089 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1090 | --includ=* | --inclu=* | --incl=* | --inc=*)
1091 includedir
=$ac_optarg ;;
1093 -infodir | --infodir | --infodi | --infod | --info | --inf)
1095 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1096 infodir
=$ac_optarg ;;
1098 -libdir | --libdir | --libdi | --libd)
1100 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1101 libdir
=$ac_optarg ;;
1103 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1104 | --libexe | --libex | --libe)
1105 ac_prev
=libexecdir
;;
1106 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1107 | --libexe=* | --libex=* | --libe=*)
1108 libexecdir
=$ac_optarg ;;
1110 -localedir | --localedir | --localedi | --localed | --locale)
1111 ac_prev
=localedir
;;
1112 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1113 localedir
=$ac_optarg ;;
1115 -localstatedir | --localstatedir | --localstatedi | --localstated \
1116 | --localstate | --localstat | --localsta | --localst | --locals)
1117 ac_prev
=localstatedir
;;
1118 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1119 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1120 localstatedir
=$ac_optarg ;;
1122 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1125 mandir
=$ac_optarg ;;
1127 -nfp | --nfp | --nf)
1128 # Obsolete; use --without-fp.
1131 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1132 | --no-cr | --no-c | -n)
1135 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1136 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1139 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1140 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1141 | --oldin | --oldi | --old | --ol | --o)
1142 ac_prev
=oldincludedir
;;
1143 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1144 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1145 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1146 oldincludedir
=$ac_optarg ;;
1148 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1151 prefix
=$ac_optarg ;;
1153 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1154 | --program-pre | --program-pr | --program-p)
1155 ac_prev
=program_prefix
;;
1156 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1157 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1158 program_prefix
=$ac_optarg ;;
1160 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1161 | --program-suf | --program-su | --program-s)
1162 ac_prev
=program_suffix
;;
1163 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1164 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1165 program_suffix
=$ac_optarg ;;
1167 -program-transform-name | --program-transform-name \
1168 | --program-transform-nam | --program-transform-na \
1169 | --program-transform-n | --program-transform- \
1170 | --program-transform | --program-transfor \
1171 | --program-transfo | --program-transf \
1172 | --program-trans | --program-tran \
1173 | --progr-tra | --program-tr | --program-t)
1174 ac_prev
=program_transform_name
;;
1175 -program-transform-name=* | --program-transform-name=* \
1176 | --program-transform-nam=* | --program-transform-na=* \
1177 | --program-transform-n=* | --program-transform-=* \
1178 | --program-transform=* | --program-transfor=* \
1179 | --program-transfo=* | --program-transf=* \
1180 | --program-trans=* | --program-tran=* \
1181 | --progr-tra=* | --program-tr=* | --program-t=*)
1182 program_transform_name
=$ac_optarg ;;
1184 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1187 pdfdir
=$ac_optarg ;;
1189 -psdir | --psdir | --psdi | --psd | --ps)
1191 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1194 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1195 | -silent | --silent | --silen | --sile | --sil)
1198 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202 sbindir
=$ac_optarg ;;
1204 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1205 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1206 | --sharedst | --shareds | --shared | --share | --shar \
1208 ac_prev
=sharedstatedir
;;
1209 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1210 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1211 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213 sharedstatedir
=$ac_optarg ;;
1215 -site | --site | --sit)
1217 -site=* | --site=* | --sit=*)
1220 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1223 srcdir
=$ac_optarg ;;
1225 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1226 | --syscon | --sysco | --sysc | --sys | --sy)
1227 ac_prev
=sysconfdir
;;
1228 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1229 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1230 sysconfdir
=$ac_optarg ;;
1232 -target | --target | --targe | --targ | --tar | --ta | --t)
1233 ac_prev
=target_alias
;;
1234 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1235 target_alias
=$ac_optarg ;;
1237 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1240 -version | --version | --versio | --versi | --vers | -V)
1241 ac_init_version
=: ;;
1244 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1247 as_fn_error
"invalid package name: $ac_useropt"
1248 ac_useropt_orig
=$ac_useropt
1249 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1255 ac_unrecognized_sep
=', ';;
1257 eval with_
$ac_useropt=\
$ac_optarg ;;
1259 -without-* | --without-*)
1260 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1261 # Reject names that are not valid shell variable names.
1262 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1263 as_fn_error
"invalid package name: $ac_useropt"
1264 ac_useropt_orig
=$ac_useropt
1265 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1266 case $ac_user_opts in
1270 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1271 ac_unrecognized_sep
=', ';;
1273 eval with_
$ac_useropt=no
;;
1276 # Obsolete; use --with-x.
1279 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1280 | --x-incl | --x-inc | --x-in | --x-i)
1281 ac_prev
=x_includes
;;
1282 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1283 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1284 x_includes
=$ac_optarg ;;
1286 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1287 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1288 ac_prev
=x_libraries
;;
1289 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1290 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1291 x_libraries
=$ac_optarg ;;
1293 -*) as_fn_error
"unrecognized option: \`$ac_option'
1294 Try \`$0 --help' for more information."
1298 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1299 # Reject names that are not valid shell variable names.
1300 case $ac_envvar in #(
1301 '' | [0-9]* | *[!_$as_cr_alnum]* )
1302 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1304 eval $ac_envvar=\
$ac_optarg
1305 export $ac_envvar ;;
1308 # FIXME: should be removed in autoconf 3.0.
1309 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1310 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1311 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1312 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1318 if test -n "$ac_prev"; then
1319 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1320 as_fn_error
"missing argument to $ac_option"
1323 if test -n "$ac_unrecognized_opts"; then
1324 case $enable_option_checking in
1326 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1327 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 # Check all directory arguments for consistency.
1332 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1333 datadir sysconfdir sharedstatedir localstatedir includedir \
1334 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1335 libdir localedir mandir
1337 eval ac_val
=\$
$ac_var
1338 # Remove trailing slashes.
1341 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1342 eval $ac_var=\
$ac_val;;
1344 # Be sure to have absolute directory names.
1346 [\\/$
]* | ?
:[\\/]* ) continue;;
1347 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1349 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1352 # There might be people who depend on the old broken behavior: `$host'
1353 # used to hold the argument of --host etc.
1354 # FIXME: To remove some day.
1357 target
=$target_alias
1359 # FIXME: To remove some day.
1360 if test "x$host_alias" != x
; then
1361 if test "x$build_alias" = x
; then
1362 cross_compiling
=maybe
1363 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1364 If a cross compiler is detected then cross compile mode will be used." >&2
1365 elif test "x$build_alias" != "x$host_alias"; then
1371 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1373 test "$silent" = yes && exec 6>/dev
/null
1376 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1377 ac_ls_di
=`ls -di .` &&
1378 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1379 as_fn_error
"working directory cannot be determined"
1380 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1381 as_fn_error
"pwd does not report name of working directory"
1384 # Find the source files, if location was not specified.
1385 if test -z "$srcdir"; then
1386 ac_srcdir_defaulted
=yes
1387 # Try the directory containing this script, then the parent directory.
1388 ac_confdir
=`$as_dirname -- "$as_myself" ||
1389 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1390 X"$as_myself" : 'X\(//\)[^/]' \| \
1391 X"$as_myself" : 'X\(//\)$' \| \
1392 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1393 $as_echo X"$as_myself" |
1394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1412 if test ! -r "$srcdir/$ac_unique_file"; then
1416 ac_srcdir_defaulted
=no
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1419 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1420 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1422 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1424 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1426 # When building in place, set srcdir=.
1427 if test "$ac_abs_confdir" = "$ac_pwd"; then
1430 # Remove unnecessary trailing slashes from srcdir.
1431 # Double slashes in file names in object file debugging info
1432 # mess up M-x gdb in Emacs.
1434 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 for ac_var
in $ac_precious_vars; do
1437 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1438 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1439 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1440 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1444 # Report the --help message.
1446 if test "$ac_init_help" = "long"; then
1447 # Omit some internal or obsolete options to make the list less imposing.
1448 # This message is too long to be a string in the A/UX 3.1 sh.
1450 \`configure' configures libratbox devel to adapt to many kinds of systems.
1452 Usage: $0 [OPTION]... [VAR=VALUE]...
1454 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1455 VAR=VALUE. See below for descriptions of some of the useful variables.
1457 Defaults for the options are specified in brackets.
1460 -h, --help display this help and exit
1461 --help=short display options specific to this package
1462 --help=recursive display the short help of all the included packages
1463 -V, --version display version information and exit
1464 -q, --quiet, --silent do not print \`checking...' messages
1465 --cache-file=FILE cache test results in FILE [disabled]
1466 -C, --config-cache alias for \`--cache-file=config.cache'
1467 -n, --no-create do not create output files
1468 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1470 Installation directories:
1471 --prefix=PREFIX install architecture-independent files in PREFIX
1472 [$ac_default_prefix]
1473 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1476 By default, \`make install' will install all the files in
1477 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1478 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1479 for instance \`--prefix=\$HOME'.
1481 For better control, use the options below.
1483 Fine tuning of the installation directories:
1484 --bindir=DIR user executables [EPREFIX/bin]
1485 --sbindir=DIR system admin executables [EPREFIX/sbin]
1486 --libexecdir=DIR program executables [EPREFIX/libexec]
1487 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1488 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1489 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1490 --libdir=DIR object code libraries [EPREFIX/lib]
1491 --includedir=DIR C header files [PREFIX/include]
1492 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1493 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1494 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1495 --infodir=DIR info documentation [DATAROOTDIR/info]
1496 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1497 --mandir=DIR man documentation [DATAROOTDIR/man]
1498 --docdir=DIR documentation root [DATAROOTDIR/doc/libratbox]
1499 --htmldir=DIR html documentation [DOCDIR]
1500 --dvidir=DIR dvi documentation [DOCDIR]
1501 --pdfdir=DIR pdf documentation [DOCDIR]
1502 --psdir=DIR ps documentation [DOCDIR]
1508 --program-prefix=PREFIX prepend PREFIX to installed program names
1509 --program-suffix=SUFFIX append SUFFIX to installed program names
1510 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1513 --build=BUILD configure
for building on BUILD
[guessed
]
1514 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1518 if test -n "$ac_init_help"; then
1519 case $ac_init_help in
1520 short
| recursive
) echo "Configuration of libratbox devel:";;
1525 --disable-option-checking ignore unrecognized
--enable/--with options
1526 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1527 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1528 --disable-dependency-tracking speeds up one
-time build
1529 --enable-dependency-tracking do not reject slow dependency extractors
1530 --enable-static[=PKGS
] build static libraries
[default
=no
]
1531 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1532 --enable-maintainer-mode enable make rules and dependencies not useful
1533 (and sometimes confusing
) to the casual installer
1534 --enable-fast-install[=PKGS
]
1535 optimize
for fast installation
[default
=yes]
1536 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1537 --disable-ipv6 Disable IPv6 support
1538 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1539 --disable-openssl Disable OpenSSL support.
1540 --enable-gnutls Enable GnuTLS support.
1541 --disable-gnutls Disable GnuTLS support.
1542 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1543 hard
(aborts the daemon
)
1544 --enable-profile Enable profiling
1545 --disable-balloc Disable the block allocator.
1546 --enable-warnings Enable all sorts of warnings
for debugging.
1549 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1550 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1551 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1553 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1555 Some influential environment variables
:
1556 CC C compiler
command
1557 CFLAGS C compiler flags
1558 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1559 nonstandard directory
<lib dir
>
1560 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1561 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1562 you have headers
in a nonstandard directory
<include dir
>
1564 PKG_CONFIG path to pkg
-config utility
1566 C compiler flags
for GNUTLS
, overriding pkg
-config
1567 GNUTLS_LIBS linker flags
for GNUTLS
, overriding pkg
-config
1569 Use these variables to override the choices made by
`configure' or to help
1570 it to find libraries and programs with nonstandard names/locations.
1572 Report bugs to the package provider.
1577 if test "$ac_init_help" = "recursive"; then
1578 # If there are subdirs, report their specific --help.
1579 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1580 test -d "$ac_dir" ||
1581 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1586 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1588 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1589 # A ".." for each directory in $ac_dir_suffix.
1590 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1591 case $ac_top_builddir_sub in
1592 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1596 ac_abs_top_builddir=$ac_pwd
1597 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1598 # for backward compatibility:
1599 ac_top_builddir=$ac_top_build_prefix
1602 .) # We are building in place.
1604 ac_top_srcdir=$ac_top_builddir_sub
1605 ac_abs_top_srcdir=$ac_pwd ;;
1606 [\\/]* | ?:[\\/]* ) # Absolute name.
1607 ac_srcdir=$srcdir$ac_dir_suffix;
1608 ac_top_srcdir=$srcdir
1609 ac_abs_top_srcdir=$srcdir ;;
1611 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1612 ac_top_srcdir=$ac_top_build_prefix$srcdir
1613 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1615 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1617 cd "$ac_dir" || { ac_status=$?; continue; }
1618 # Check for guested configure.
1619 if test -f "$ac_srcdir/configure.gnu"; then
1621 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1622 elif test -f "$ac_srcdir/configure"; then
1624 $SHELL "$ac_srcdir/configure" --help=recursive
1626 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1628 cd "$ac_pwd" || { ac_status=$?; break; }
1632 test -n "$ac_init_help" && exit $ac_status
1633 if $ac_init_version; then
1635 libratbox configure devel
1636 generated by GNU Autoconf 2.65
1638 Copyright (C) 2009 Free Software Foundation, Inc.
1639 This configure script is free software; the Free Software Foundation
1640 gives unlimited permission to copy, distribute and modify it.
1642 $Id: configure.ac 26260 2008-12-10 04:08:39Z androsyn $
1647 ## ------------------------ ##
1648 ## Autoconf initialization. ##
1649 ## ------------------------ ##
1651 # ac_fn_c_try_compile LINENO
1652 # --------------------------
1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_compile ()
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 rm -f conftest.$ac_objext
1658 if { { ac_try="$ac_compile"
1660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1661 *) ac_try_echo
=$ac_try;;
1663 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_compile") 2>conftest.err
1667 if test -s conftest.err
; then
1668 grep -v '^ *+' conftest.err
>conftest.er1
1669 cat conftest.er1
>&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest.
$ac_objext; then :
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.
$ac_ext >&5
1684 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1685 as_fn_set_status
$ac_retval
1687 } # ac_fn_c_try_compile
1689 # ac_fn_c_try_cpp LINENO
1690 # ----------------------
1691 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1695 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1704 if test -s conftest.err; then
1705 grep -v '^ *+' conftest.err >conftest.er1
1706 cat conftest.er1 >&5
1707 mv -f conftest.er1 conftest.err
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } >/dev/null && {
1711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1712 test ! -s conftest.err
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 as_fn_set_status $ac_retval
1726 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1727 # -------------------------------------------------------
1728 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1729 # the include files in INCLUDES and setting the cache variable VAR
1731 ac_fn_c_check_header_mongrel ()
1733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1736 $as_echo_n "checking for $2... " >&6; }
1737 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1738 $as_echo_n "(cached) " >&6
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1744 # Is the header compilable?
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1746 $as_echo_n "checking $2 usability... " >&6; }
1747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile "$LINENO"; then :
1753 ac_header_compiler=yes
1755 ac_header_compiler=no
1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1759 $as_echo "$ac_header_compiler" >&6; }
1761 # Is the header present?
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1763 $as_echo_n "checking $2 presence... " >&6; }
1764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1765 /* end confdefs.h. */
1768 if ac_fn_c_try_cpp "$LINENO"; then :
1769 ac_header_preproc=yes
1771 ac_header_preproc=no
1773 rm -f conftest.err conftest.$ac_ext
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1775 $as_echo "$ac_header_preproc" >&6; }
1777 # So? What about this header?
1778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1781 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1783 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1787 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1789 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1791 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1793 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1801 $as_echo_n "(cached) " >&6
1803 eval "$3=\$ac_header_compiler"
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1809 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1811 } # ac_fn_c_check_header_mongrel
1813 # ac_fn_c_try_run LINENO
1814 # ----------------------
1815 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1816 # that executables *can* be run.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 if { { ac_try="$ac_link"
1822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1823 *) ac_try_echo
=$ac_try;;
1825 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_link") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1831 { { case "(($ac_try" in
1832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_try") 2>&5
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; }; }; then :
1843 $as_echo "$as_me: program exited with status $ac_status" >&5
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.$ac_ext >&5
1847 ac_retval=$ac_status
1849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 as_fn_set_status $ac_retval
1855 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1856 # -------------------------------------------------------
1857 # Tests whether HEADER exists and can be compiled using the include files in
1858 # INCLUDES, setting the cache variable VAR accordingly.
1859 ac_fn_c_check_header_compile ()
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1865 $as_echo_n "(cached) " >&6
1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1868 /* end confdefs.h. */
1872 if ac_fn_c_try_compile "$LINENO"; then :
1877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884 } # ac_fn_c_check_header_compile
1886 # ac_fn_c_try_link LINENO
1887 # -----------------------
1888 # Try to link conftest.$ac_ext, and return whether this succeeded.
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 rm -f conftest.$ac_objext conftest$ac_exeext
1893 if { { ac_try="$ac_link"
1895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1896 *) ac_try_echo
=$ac_try;;
1898 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900 (eval "$ac_link") 2>conftest.err
1902 if test -s conftest.err
; then
1903 grep -v '^ *+' conftest.err
>conftest.er1
1904 cat conftest.er1
>&5
1905 mv -f conftest.er1 conftest.err
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; } && {
1909 test -z "$ac_c_werror_flag" ||
1910 test ! -s conftest.err
1911 } && test -s conftest
$ac_exeext && {
1912 test "$cross_compiling" = yes ||
1913 $as_test_x conftest
$ac_exeext
1917 $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.
$ac_ext >&5
1922 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1923 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1924 # interfere with the next link command; also delete a directory that is
1925 # left behind by Apple's compiler. We do this before executing the actions.
1926 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1927 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1928 as_fn_set_status
$ac_retval
1930 } # ac_fn_c_try_link
1932 # ac_fn_c_check_func LINENO FUNC VAR
1933 # ----------------------------------
1934 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1935 ac_fn_c_check_func
()
1937 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941 $as_echo_n "(cached) " >&6
1943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1945 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1947 #define $2 innocuous_$2
1949 /* System header to define __stub macros and hopefully few prototypes,
1950 which can conflict with char $2 (); below.
1951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1952 <limits.h> exists even on freestanding compilers. */
1955 # include <limits.h>
1957 # include <assert.h>
1962 /* Override any GCC internal prototype to avoid an error.
1963 Use char because int might match the return type of a GCC
1964 builtin and then its argument prototype would still apply. */
1969 /* The GNU C library defines this for functions which it implements
1970 to always fail with ENOSYS. Some functions are actually named
1971 something starting with __ and the normal name is an alias. */
1972 #if defined __stub_$2 || defined __stub___$2
1984 if ac_fn_c_try_link
"$LINENO"; then :
1989 rm -f core conftest.err conftest.
$ac_objext \
1990 conftest
$ac_exeext conftest.
$ac_ext
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1997 } # ac_fn_c_check_func
1999 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2000 # -------------------------------------------
2001 # Tests whether TYPE exists after having included INCLUDES, setting cache
2002 # variable VAR accordingly.
2003 ac_fn_c_check_type
()
2005 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2009 $as_echo_n "(cached) " >&6
2012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2024 if ac_fn_c_try_compile
"$LINENO"; then :
2025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2026 /* end confdefs.h. */
2037 if ac_fn_c_try_compile
"$LINENO"; then :
2042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2051 } # ac_fn_c_check_type
2053 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2054 # ----------------------------------------------------
2055 # Tries to find if the field MEMBER exists in type AGGR, after including
2056 # INCLUDES, setting cache variable VAR accordingly.
2057 ac_fn_c_check_member
()
2059 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2061 $as_echo_n "checking for $2.$3... " >&6; }
2062 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2063 $as_echo_n "(cached) " >&6
2065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2078 if ac_fn_c_try_compile
"$LINENO"; then :
2081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2088 if (sizeof ac_aggr.$3)
2094 if ac_fn_c_try_compile
"$LINENO"; then :
2099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2105 $as_echo "$ac_res" >&6; }
2106 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2108 } # ac_fn_c_check_member
2109 cat >config.log
<<_ACEOF
2110 This file contains any messages produced by compilers while
2111 running configure, to aid debugging if configure makes a mistake.
2113 It was created by libratbox $as_me devel, which was
2114 generated by GNU Autoconf 2.65. Invocation command line was
2126 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2127 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2128 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2129 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2130 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2132 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2133 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2135 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2136 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2137 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2138 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir
=.
2150 $as_echo "PATH: $as_dir"
2166 # Keep a trace of the command line.
2167 # Strip out --no-create and --no-recursion so they do not pile up.
2168 # Strip out --silent because we don't want to record it for future runs.
2169 # Also quote any args containing shell meta-characters.
2170 # Make two passes to allow for proper duplicate-argument suppression.
2174 ac_must_keep_next
=false
2180 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2182 | -silent | --silent | --silen | --sile | --sil)
2185 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2188 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2190 as_fn_append ac_configure_args1
" '$ac_arg'"
2191 if test $ac_must_keep_next = true
; then
2192 ac_must_keep_next
=false
# Got value, back to normal.
2195 *=* | --config-cache | -C | -disable-* | --disable-* \
2196 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2197 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2198 | -with-* | --with-* | -without-* | --without-* | --x)
2199 case "$ac_configure_args0 " in
2200 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2203 -* ) ac_must_keep_next
=true
;;
2206 as_fn_append ac_configure_args
" '$ac_arg'"
2211 { ac_configure_args0
=; unset ac_configure_args0
;}
2212 { ac_configure_args1
=; unset ac_configure_args1
;}
2214 # When interrupted or exit'd, cleanup temporary files, and complete
2215 # config.log. We remove comments because anyway the quotes in there
2216 # would cause problems or look ugly.
2217 # WARNING: Use '\'' to represent an apostrophe within the trap.
2218 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2219 trap 'exit_status=$?
2220 # Save into config.log some information that might help in debugging.
2225 ## ---------------- ##
2226 ## Cache variables. ##
2227 ## ---------------- ##
2230 # The following way of writing the cache mishandles newlines in values,
2232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2233 eval ac_val=\$$ac_var
2237 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2238 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2241 _ | IFS | as_nl) ;; #(
2242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2243 *) { eval $ac_var=; unset $ac_var;} ;;
2248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2249 *${as_nl}ac_space=\ *)
2251 "s/'\''/'\''\\\\'\'''\''/g;
2252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2263 ## ----------------- ##
2264 ## Output variables. ##
2265 ## ----------------- ##
2268 for ac_var in $ac_subst_vars
2270 eval ac_val=\$$ac_var
2272 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2274 $as_echo "$ac_var='\''$ac_val'\''"
2278 if test -n "$ac_subst_files"; then
2280 ## ------------------- ##
2281 ## File substitutions. ##
2282 ## ------------------- ##
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
2306 test "$ac_signal" != 0 &&
2307 $as_echo "$as_me: caught signal $ac_signal"
2308 $as_echo "$as_me: exit $exit_status"
2310 rm -f core *.core core.conftest.* &&
2311 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2314 for ac_signal
in 1 2 13 15; do
2315 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2320 rm -f -r conftest
* confdefs.h
2322 $as_echo "/* confdefs.h */" > confdefs.h
2324 # Predefined preprocessor variables.
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_NAME "$PACKAGE_NAME"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2334 cat >>confdefs.h
<<_ACEOF
2335 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2338 cat >>confdefs.h
<<_ACEOF
2339 #define PACKAGE_STRING "$PACKAGE_STRING"
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2346 cat >>confdefs.h
<<_ACEOF
2347 #define PACKAGE_URL "$PACKAGE_URL"
2351 # Let the site file select an alternate cache file if it wants to.
2352 # Prefer an explicitly selected file to automatically selected ones.
2355 if test -n "$CONFIG_SITE"; then
2356 ac_site_file1
=$CONFIG_SITE
2357 elif test "x$prefix" != xNONE
; then
2358 ac_site_file1
=$prefix/share
/config.site
2359 ac_site_file2
=$prefix/etc
/config.site
2361 ac_site_file1
=$ac_default_prefix/share
/config.site
2362 ac_site_file2
=$ac_default_prefix/etc
/config.site
2364 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2366 test "x$ac_site_file" = xNONE
&& continue
2367 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2369 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2370 sed 's/^/| /' "$ac_site_file" >&5
2375 if test -r "$cache_file"; then
2376 # Some versions of bash will fail to source /dev/null (special files
2377 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2378 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2380 $as_echo "$as_me: loading cache $cache_file" >&6;}
2382 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2383 *) .
"./$cache_file";;
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2388 $as_echo "$as_me: creating cache $cache_file" >&6;}
2392 as_fn_append ac_header_list
" stdlib.h"
2393 as_fn_append ac_header_list
" unistd.h"
2394 as_fn_append ac_header_list
" sys/param.h"
2395 # Check that the precious variables saved in the cache have kept the same
2397 ac_cache_corrupted
=false
2398 for ac_var
in $ac_precious_vars; do
2399 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2400 eval ac_new_set
=\
$ac_env_${ac_var}_set
2401 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2402 eval ac_new_val
=\
$ac_env_${ac_var}_value
2403 case $ac_old_set,$ac_new_set in
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2406 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2407 ac_cache_corrupted
=: ;;
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2410 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2411 ac_cache_corrupted
=: ;;
2414 if test "x$ac_old_val" != "x$ac_new_val"; then
2415 # differences in whitespace do not lead to failure.
2416 ac_old_val_w
=`echo x $ac_old_val`
2417 ac_new_val_w
=`echo x $ac_new_val`
2418 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2420 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2421 ac_cache_corrupted
=:
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2424 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2425 eval $ac_var=\
$ac_old_val
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2428 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2430 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2433 # Pass precious variables to config.status.
2434 if test "$ac_new_set" = set; then
2436 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2437 *) ac_arg
=$ac_var=$ac_new_val ;;
2439 case " $ac_configure_args " in
2440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2441 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2445 if $ac_cache_corrupted; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2449 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2450 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2452 ## -------------------- ##
2453 ## Main body of script. ##
2454 ## -------------------- ##
2457 ac_cpp
='$CPP $CPPFLAGS'
2458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2463 am__api_version
='1.11'
2466 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2467 for ac_t
in install-sh install.sh shtool
; do
2468 if test -f "$ac_dir/$ac_t"; then
2470 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2475 if test -z "$ac_aux_dir"; then
2476 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2479 # These three variables are undocumented and unsupported,
2480 # and are intended to be withdrawn in a future Autoconf release.
2481 # They can cause serious problems if a builder's source tree is in a directory
2482 # whose full name contains unusual characters.
2483 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2484 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2485 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2488 # Find a good install program. We prefer a C program (faster),
2489 # so one script is as good as another. But avoid the broken or
2490 # incompatible versions:
2491 # SysV /etc/install, /usr/sbin/install
2492 # SunOS /usr/etc/install
2493 # IRIX /sbin/install
2495 # AmigaOS /C/install, which installs bootblocks on floppy discs
2496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499 # OS/2's system install, which has a completely different semantic
2500 # ./install, which can be erroneously created by make from ./install.sh.
2501 # Reject install programs that cannot install multiple files.
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504 if test -z "$INSTALL"; then
2505 if test "${ac_cv_path_install+set}" = set; then :
2506 $as_echo_n "(cached) " >&6
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 # Account for people who put trailing slashes in PATH elements.
2514 case $as_dir/ in #((
2515 .
/ | .
// | /[cC
]/* | \
2516 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2517 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2520 # OSF1 and SCO ODT 3.0 have their own names for install.
2521 # Don't use installbsd from OSF since it installs stuff as root
2523 for ac_prog
in ginstall scoinst
install; do
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2526 if test $ac_prog = install &&
2527 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2528 # AIX install. It has an incompatible calling convention.
2530 elif test $ac_prog = install &&
2531 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2532 # program-specific install script used by HP pwplus--don't use.
2535 rm -rf conftest.one conftest.two conftest.dir
2536 echo one
> conftest.one
2537 echo two
> conftest.two
2539 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2540 test -s conftest.one
&& test -s conftest.two
&&
2541 test -s conftest.dir
/conftest.one
&&
2542 test -s conftest.dir
/conftest.two
2544 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2557 rm -rf conftest.one conftest.two conftest.dir
2560 if test "${ac_cv_path_install+set}" = set; then
2561 INSTALL
=$ac_cv_path_install
2563 # As a last resort, use the slow shell script. Don't cache a
2564 # value for INSTALL within a source directory, because that will
2565 # break other packages using the cache if that directory is
2566 # removed, or if the value is a relative name.
2567 INSTALL
=$ac_install_sh
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2571 $as_echo "$INSTALL" >&6; }
2573 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2574 # It thinks the first close brace ends the variable substitution.
2575 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2577 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2579 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582 $as_echo_n "checking whether build environment is sane... " >&6; }
2585 echo timestamp
> conftest.
file
2586 # Reject unsafe characters in $srcdir or the absolute working directory
2587 # name. Accept space and tab only in the latter.
2591 *[\\\"\#\$\&\'\`$am_lf]*)
2592 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2595 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2596 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2599 # Do `set' in a subshell so we don't clobber the current shell's
2600 # arguments. Must try -L first in case configure is actually a
2601 # symlink; some systems play weird games with the mod time of symlinks
2602 # (eg FreeBSD returns the mod time of the symlink's containing
2605 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606 if test "$*" = "X"; then
2608 set X
`ls -t "$srcdir/configure" conftest.file`
2611 if test "$*" != "X $srcdir/configure conftest.file" \
2612 && test "$*" != "X conftest.file $srcdir/configure"; then
2614 # If neither matched, then we have a broken ls. This can happen
2615 # if, for instance, CONFIG_SHELL is bash and it inherits a
2616 # broken ls alias from the environment. This has actually
2617 # happened. Such a system could not be considered "sane".
2618 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2619 alias in your environment" "$LINENO" 5
2622 test "$2" = conftest.
file
2628 as_fn_error
"newly created file is older than distributed files!
2629 Check your system clock" "$LINENO" 5
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632 $as_echo "yes" >&6; }
2633 test "$program_prefix" != NONE
&&
2634 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2635 # Use a double $ so make ignores it.
2636 test "$program_suffix" != NONE
&&
2637 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2638 # Double any \ or $.
2639 # By default was `s,x,x', remove it if useless.
2640 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2641 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2643 # expand $ac_aux_dir to an absolute path
2644 am_aux_dir
=`cd $ac_aux_dir && pwd`
2646 if test x
"${MISSING+set}" != xset
; then
2649 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2651 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2654 # Use eval to expand $SHELL
2655 if eval "$MISSING --run true"; then
2656 am_missing_run
="$MISSING --run "
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2660 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2663 if test x
"${install_sh}" != xset
; then
2666 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2668 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2672 # Installed binaries are usually stripped using `strip' when the user
2673 # run `make install-strip'. However `strip' might not be the right
2674 # tool to use in cross-compilation environments, therefore Automake
2675 # will honor the `STRIP' environment variable to overrule this program.
2676 if test "$cross_compiling" != no
; then
2677 if test -n "$ac_tool_prefix"; then
2678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2679 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if test "${ac_cv_prog_STRIP+set}" = set; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$STRIP"; then
2686 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir
=.
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 STRIP
=$ac_cv_prog_STRIP
2706 if test -n "$STRIP"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2708 $as_echo "$STRIP" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$ac_cv_prog_STRIP"; then
2718 # Extract the first word of "strip", so it can be a program name with args.
2719 set dummy strip
; ac_word
=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$ac_ct_STRIP"; then
2726 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_ac_ct_STRIP
="strip"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2746 if test -n "$ac_ct_STRIP"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2748 $as_echo "$ac_ct_STRIP" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2754 if test "x$ac_ct_STRIP" = x
; then
2757 case $cross_compiling:$ac_tool_warned in
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761 ac_tool_warned
=yes ;;
2766 STRIP
="$ac_cv_prog_STRIP"
2770 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2773 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2774 if test -z "$MKDIR_P"; then
2775 if test "${ac_cv_path_mkdir+set}" = set; then :
2776 $as_echo_n "(cached) " >&6
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2779 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_prog
in mkdir gmkdir
; do
2784 for ac_exec_ext
in '' $ac_executable_extensions; do
2785 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2786 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2787 'mkdir (GNU coreutils) '* | \
2788 'mkdir (coreutils) '* | \
2789 'mkdir (fileutils) '4.1*)
2790 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2800 test -d .
/--version && rmdir .
/--version
2801 if test "${ac_cv_path_mkdir+set}" = set; then
2802 MKDIR_P
="$ac_cv_path_mkdir -p"
2804 # As a last resort, use the slow shell script. Don't cache a
2805 # value for MKDIR_P within a source directory, because that will
2806 # break other packages using the cache if that directory is
2807 # removed, or if the value is a relative name.
2808 MKDIR_P
="$ac_install_sh -d"
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2812 $as_echo "$MKDIR_P" >&6; }
2816 [\\/$
]* | ?
:[\\/]*) ;;
2817 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2820 for ac_prog
in gawk mawk nawk
awk
2822 # Extract the first word of "$ac_prog", so it can be a program name with args.
2823 set dummy
$ac_prog; ac_word
=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if test "${ac_cv_prog_AWK+set}" = set; then :
2827 $as_echo_n "(cached) " >&6
2829 if test -n "$AWK"; then
2830 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 for ac_exec_ext
in '' $ac_executable_extensions; do
2838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839 ac_cv_prog_AWK
="$ac_prog"
2840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 if test -n "$AWK"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2852 $as_echo "$AWK" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2859 test -n "$AWK" && break
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2863 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2865 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2866 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then :
2867 $as_echo_n "(cached) " >&6
2869 cat >conftest.
make <<\_ACEOF
2872 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2874 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2875 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2877 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2879 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2883 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2885 $as_echo "yes" >&6; }
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889 $as_echo "no" >&6; }
2890 SET_MAKE
="MAKE=${MAKE-make}"
2893 rm -rf .tst
2>/dev
/null
2894 mkdir .tst
2>/dev
/null
2895 if test -d .tst
; then
2900 rmdir .tst
2>/dev
/null
2902 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2903 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2904 # is not polluted with repeated "-I."
2905 am__isrc
=' -I$(srcdir)'
2906 # test to see if srcdir already configured
2907 if test -f $srcdir/config.status
; then
2908 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912 # test whether we have cygpath
2913 if test -z "$CYGPATH_W"; then
2914 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2915 CYGPATH_W
='cygpath -w'
2922 # Define the identity of the package.
2927 # Some tools Automake needs.
2929 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2932 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2935 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2938 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2941 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2943 # We need awk for the "check" target. The system "awk" is bad on
2945 # Always define AMTAR for backward compatibility.
2947 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2949 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2956 ac_config_headers
="$ac_config_headers include/libratbox_config.h"
2960 DEPDIR
="${am__leading_dot}deps"
2962 ac_config_commands
="$ac_config_commands depfiles"
2965 am_make
=${MAKE-make}
2966 cat > confinc
<< 'END'
2968 @echo this is the am__doit target
2971 # If we don't find an include directive, just comment out the code.
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2973 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2977 # First try GNU make style include.
2978 echo "include confinc" > confmf
2979 # Ignore all kinds of additional output from `make'.
2980 case `$am_make -s -f confmf 2> /dev/null` in #(
2981 *the\ am__doit\ target
*)
2987 # Now try BSD make style include.
2988 if test "$am__include" = "#"; then
2989 echo '.include "confinc"' > confmf
2990 case `$am_make -s -f confmf 2> /dev/null` in #(
2991 *the\ am__doit\ target
*)
2992 am__include
=.include
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3001 $as_echo "$_am_result" >&6; }
3002 rm -f confinc confmf
3004 # Check whether --enable-dependency-tracking was given.
3005 if test "${enable_dependency_tracking+set}" = set; then :
3006 enableval
=$enable_dependency_tracking;
3009 if test "x$enable_dependency_tracking" != xno
; then
3010 am_depcomp
="$ac_aux_dir/depcomp"
3013 if test "x$enable_dependency_tracking" != xno; then
3023 ac_cpp
='$CPP $CPPFLAGS'
3024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3027 if test -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3029 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if test "${ac_cv_prog_CC+set}" = set; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC
="$CC" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3066 if test -z "$ac_cv_prog_CC"; then
3068 # Extract the first word of "gcc", so it can be a program name with args.
3069 set dummy gcc
; ac_word
=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$ac_ct_CC"; then
3076 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir
=.
3083 for ac_exec_ext
in '' $ac_executable_extensions; do
3084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3085 ac_cv_prog_ac_ct_CC
="gcc"
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3096 if test -n "$ac_ct_CC"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3098 $as_echo "$ac_ct_CC" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3104 if test "x$ac_ct_CC" = x
; then
3107 case $cross_compiling:$ac_tool_warned in
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111 ac_tool_warned
=yes ;;
3119 if test -z "$CC"; then
3120 if test -n "$ac_tool_prefix"; then
3121 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if test "${ac_cv_prog_CC+set}" = set; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC
="$CC" # Let the user override the test.
3131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir
=.
3136 for ac_exec_ext
in '' $ac_executable_extensions; do
3137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3160 if test -z "$CC"; then
3161 # Extract the first word of "cc", so it can be a program name with args.
3162 set dummy cc
; ac_word
=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if test "${ac_cv_prog_CC+set}" = set; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC
="$CC" # Let the user override the test.
3172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir
=.
3177 for ac_exec_ext
in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3180 ac_prog_rejected
=yes
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 if test $ac_prog_rejected = yes; then
3192 # We found a bogon in the path, so make sure we never use it.
3193 set dummy
$ac_cv_prog_CC
3195 if test $# != 0; then
3196 # We chose a different compiler from the bogus one.
3197 # However, it has the same basename, so the bogon will be chosen
3198 # first if we set CC to just the basename; use the full file name.
3200 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3206 if test -n "$CC"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3216 if test -z "$CC"; then
3217 if test -n "$ac_tool_prefix"; then
3218 for ac_prog
in cl.exe
3220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3221 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if test "${ac_cv_prog_CC+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC
="$CC" # Let the user override the test.
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_exec_ext
in '' $ac_executable_extensions; do
3236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3237 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 if test -n "$CC"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3257 test -n "$CC" && break
3260 if test -z "$CC"; then
3262 for ac_prog
in cl.exe
3264 # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy
$ac_prog; ac_word
=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$ac_ct_CC"; then
3272 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir
=.
3279 for ac_exec_ext
in '' $ac_executable_extensions; do
3280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281 ac_cv_prog_ac_ct_CC
="$ac_prog"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3292 if test -n "$ac_ct_CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3294 $as_echo "$ac_ct_CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3301 test -n "$ac_ct_CC" && break
3304 if test "x$ac_ct_CC" = x
; then
3307 case $cross_compiling:$ac_tool_warned in
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311 ac_tool_warned
=yes ;;
3320 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error
"no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details." "$LINENO" 5; }
3325 # Provide some information about the compiler.
3326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3329 for ac_option
in --version -v -V -qversion; do
3330 { { ac_try
="$ac_compiler $ac_option >&5"
3332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3339 if test -s conftest.err; then
3341 ... rest of stderr output deleted ...
3342 10q' conftest.err >conftest.er1
3343 cat conftest.er1 >&5
3345 rm -f conftest.er1 conftest.err
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 ac_clean_files_save=$ac_clean_files
3362 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363 # Try to create an executable without -o first, disregard a.out.
3364 # It will help us diagnose broken compilers, and finding out an intuition
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367 $as_echo_n "checking whether the C compiler works... " >&6; }
3368 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3370 # The possible output files:
3371 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3374 for ac_file in $ac_files
3377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3383 if { { ac_try="$ac_link_default"
3385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3386 *) ac_try_echo
=$ac_try;;
3388 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link_default") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; then :
3394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3397 # so that the user can short-circuit this test for compilers unknown to
3399 for ac_file
in $ac_files ''
3401 test -f "$ac_file" || continue
3403 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3406 # We found the default executable, but exeext='' is most
3410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3412 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3414 # We set ac_cv_exeext here because the later test for it is not
3415 # safe: cross compilers may not add the suffix if given an `-o'
3416 # argument, so we may need to know it at that point already.
3417 # Even if this section looks crufty: it has the advantage of
3424 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3429 if test -z "$ac_file"; then :
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 $as_echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.
$ac_ext >&5
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 { as_fn_set_status
77
3438 as_fn_error
"C compiler cannot create executables
3439 See \`config.log' for more details." "$LINENO" 5; }; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3442 $as_echo "yes" >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3445 $as_echo_n "checking for C compiler default output file name... " >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3447 $as_echo "$ac_file" >&6; }
3448 ac_exeext
=$ac_cv_exeext
3450 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3451 ac_clean_files
=$ac_clean_files_save
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3453 $as_echo_n "checking for suffix of executables... " >&6; }
3454 if { { ac_try
="$ac_link"
3456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3457 *) ac_try_echo=$ac_try;;
3459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3460 $as_echo "$ac_try_echo"; } >&5
3461 (eval "$ac_link") 2>&5
3463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3464 test $ac_status = 0; }; then :
3465 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3466 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3467 # work properly (i.e., refer to `conftest.exe'), while it won't with
3469 for ac_file
in conftest.exe conftest conftest.
*; do
3470 test -f "$ac_file" || continue
3472 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3473 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3482 See \`config.log' for more details." "$LINENO" 5; }
3484 rm -f conftest conftest
$ac_cv_exeext
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3486 $as_echo "$ac_cv_exeext" >&6; }
3488 rm -f conftest.
$ac_ext
3489 EXEEXT
=$ac_cv_exeext
3491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3497 FILE *f = fopen ("conftest.out", "w");
3498 return ferror (f) || fclose (f) != 0;
3504 ac_clean_files
="$ac_clean_files conftest.out"
3505 # Check that the compiler produces executables we can run. If not, either
3506 # the compiler is broken, or we cross compile.
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3508 $as_echo_n "checking whether we are cross compiling... " >&6; }
3509 if test "$cross_compiling" != yes; then
3510 { { ac_try
="$ac_link"
3512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3516 $as_echo "$ac_try_echo"; } >&5
3517 (eval "$ac_link") 2>&5
3519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3520 test $ac_status = 0; }
3521 if { ac_try='./conftest$ac_cv_exeext'
3522 { { case "(($ac_try" in
3523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3524 *) ac_try_echo
=$ac_try;;
3526 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3527 $as_echo "$ac_try_echo"; } >&5
3528 (eval "$ac_try") 2>&5
3530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3531 test $ac_status = 0; }; }; then
3534 if test "$cross_compiling" = maybe
; then
3537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3539 as_fn_error
"cannot run C compiled programs.
3540 If you meant to cross compile, use \`--host'.
3541 See \`config.log' for more details." "$LINENO" 5; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3546 $as_echo "$cross_compiling" >&6; }
3548 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3549 ac_clean_files
=$ac_clean_files_save
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3551 $as_echo_n "checking for suffix of object files... " >&6; }
3552 if test "${ac_cv_objext+set}" = set; then :
3553 $as_echo_n "(cached) " >&6
3555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3566 rm -f conftest.o conftest.obj
3567 if { { ac_try
="$ac_compile"
3569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3570 *) ac_try_echo=$ac_try;;
3572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3573 $as_echo "$ac_try_echo"; } >&5
3574 (eval "$ac_compile") 2>&5
3576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577 test $ac_status = 0; }; then :
3578 for ac_file in conftest.o conftest.obj conftest.*; do
3579 test -f "$ac_file" || continue;
3581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3587 $as_echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.$ac_ext >&5
3590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592 as_fn_error "cannot compute suffix of object files
: cannot compile
3593 See \
`config.log' for more details." "$LINENO" 5; }
3595 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3598 $as_echo "$ac_cv_objext" >&6; }
3599 OBJEXT=$ac_cv_objext
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3602 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3603 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3604 $as_echo_n "(cached) " >&6
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3620 if ac_fn_c_try_compile "$LINENO"; then :
3625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3626 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3630 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3631 if test $ac_compiler_gnu = yes; then
3636 ac_test_CFLAGS=${CFLAGS+set}
3637 ac_save_CFLAGS=$CFLAGS
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3639 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3640 if test "${ac_cv_prog_cc_g+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3643 ac_save_c_werror_flag=$ac_c_werror_flag
3644 ac_c_werror_flag=yes
3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3658 if ac_fn_c_try_compile "$LINENO"; then :
3662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663 /* end confdefs.h. */
3673 if ac_fn_c_try_compile "$LINENO"; then :
3676 ac_c_werror_flag=$ac_save_c_werror_flag
3678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3689 if ac_fn_c_try_compile "$LINENO"; then :
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3697 ac_c_werror_flag=$ac_save_c_werror_flag
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3700 $as_echo "$ac_cv_prog_cc_g" >&6; }
3701 if test "$ac_test_CFLAGS" = set; then
3702 CFLAGS=$ac_save_CFLAGS
3703 elif test $ac_cv_prog_cc_g = yes; then
3704 if test "$GCC" = yes; then
3710 if test "$GCC" = yes; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3717 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3718 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3719 $as_echo_n "(cached) " >&6
3721 ac_cv_prog_cc_c89=no
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3727 #include <sys/types.h>
3728 #include <sys/stat.h>
3729 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3730 struct buf { int x; };
3731 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3732 static char *e (p, i)
3738 static char *f (char * (*g) (char **, int), char **p, ...)
3743 s = g (p, va_arg (v,int));
3748 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3749 function prototypes and stuff, but not '\xHH' hex character constants.
3750 These don't provoke an error unfortunately, instead are silently treated
3751 as 'x'. The following induces an error, until -std is added to get
3752 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3753 array size at least. It's necessary to write '\x00'==0 to get something
3754 that's true only with -std. */
3755 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3757 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3758 inside strings and character constants. */
3760 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3762 int test (int i, double x);
3763 struct s1 {int (*f) (int a);};
3764 struct s2 {int (*f) (double a);};
3765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3771 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3776 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3777 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3779 CC="$ac_save_CC $ac_arg"
3780 if ac_fn_c_try_compile "$LINENO"; then :
3781 ac_cv_prog_cc_c89=$ac_arg
3783 rm -f core conftest.err conftest.$ac_objext
3784 test "x$ac_cv_prog_cc_c89" != "xno" && break
3786 rm -f conftest.$ac_ext
3791 case "x$ac_cv_prog_cc_c89" in
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3794 $as_echo "none needed" >&6; } ;;
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3797 $as_echo "unsupported" >&6; } ;;
3799 CC="$CC $ac_cv_prog_cc_c89"
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3801 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3803 if test "x$ac_cv_prog_cc_c89" != xno; then :
3808 ac_cpp='$CPP $CPPFLAGS'
3809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813 depcc="$CC" am_compiler_list=
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3816 $as_echo_n "checking dependency style of $depcc... " >&6; }
3817 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3818 $as_echo_n "(cached) " >&6
3820 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3821 # We make a subdir and do the tests there. Otherwise we can end up
3822 # making bogus files that we don't know about and never remove. For
3823 # instance it was reported that on HP-UX the gcc test will end up
3824 # making a dummy file named `D
' -- because `-MD' means
`put the output
3827 # Copy depcomp to subdir because otherwise we won't find it if we're
3828 # using a relative directory.
3829 cp "$am_depcomp" conftest.dir
3831 # We will build objects and dependencies in a subdirectory because
3832 # it helps to detect inapplicable dependency modes. For instance
3833 # both Tru64's cc and ICC support -MD to output dependencies as a
3834 # side effect of compilation, but ICC will put the dependencies in
3835 # the current directory while Tru64 will put them in the object
3839 am_cv_CC_dependencies_compiler_type=none
3840 if test "$am_compiler_list" = ""; then
3841 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3844 case " $depcc " in #(
3845 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3848 for depmode in $am_compiler_list; do
3849 # Setup a source with many dependencies, because some compilers
3850 # like to wrap large dependency lists on column 80 (with \), and
3851 # we should not choose a depcomp mode which is confused by this.
3853 # We need to recreate these files for each test, as the compiler may
3854 # overwrite some of them when testing with obscure command lines.
3855 # This happens at least with the AIX C compiler.
3857 for i in 1 2 3 4 5 6; do
3858 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3859 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3860 # Solaris 8's
{/usr
,}/bin
/sh.
3861 touch sub
/conftst
$i.h
3863 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3865 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3866 # mode. It turns out that the SunPro C++ compiler does not properly
3867 # handle `-M -o', and we need to detect this. Also, some Intel
3868 # versions had trouble with output in subdirs
3869 am__obj
=sub
/conftest.
${OBJEXT-o}
3870 am__minus_obj
="-o $am__obj"
3873 # This depmode causes a compiler race in universal mode.
3874 test "$am__universal" = false
|| continue
3877 # after this tag, mechanisms are not by side-effect, so they'll
3878 # only be used when explicitly requested
3879 if test "x$enable_dependency_tracking" = xyes
; then
3885 msvisualcpp
| msvcmsys
)
3886 # This compiler won't grok `-c -o', but also, the minuso test has
3887 # not run yet. These depmodes are late enough in the game, and
3888 # so weak that their functioning should not be impacted.
3889 am__obj
=conftest.
${OBJEXT-o}
3894 if depmode
=$depmode \
3895 source=sub
/conftest.c object
=$am__obj \
3896 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3897 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3898 >/dev
/null
2>conftest.err
&&
3899 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3900 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3901 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3902 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3903 # icc doesn't choke on unknown options, it will just issue warnings
3904 # or remarks (even with -Werror). So we grep stderr for any message
3905 # that says an option was ignored or not supported.
3906 # When given -MP, icc 7.0 and 7.1 complain thusly:
3907 # icc: Command line warning: ignoring option '-M'; no argument required
3908 # The diagnosis changed in icc 8.0:
3909 # icc: Command line remark: option '-MP' not supported
3910 if (grep 'ignoring option' conftest.err
||
3911 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3912 am_cv_CC_dependencies_compiler_type
=$depmode
3921 am_cv_CC_dependencies_compiler_type
=none
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3926 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3927 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3930 test "x$enable_dependency_tracking" != xno \
3931 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3933 am__fastdepCC_FALSE
='#'
3935 am__fastdepCC_TRUE
='#'
3936 am__fastdepCC_FALSE
=
3942 ac_cpp
='$CPP $CPPFLAGS'
3943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3947 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3948 # On Suns, sometimes $CPP names a directory.
3949 if test -n "$CPP" && test -d "$CPP"; then
3952 if test -z "$CPP"; then
3953 if test "${ac_cv_prog_CPP+set}" = set; then :
3954 $as_echo_n "(cached) " >&6
3956 # Double quotes because CPP needs to be expanded
3957 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3960 for ac_c_preproc_warn_flag
in '' yes
3962 # Use a header file that comes with gcc, so configuring glibc
3963 # with a fresh cross-compiler works.
3964 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3965 # <limits.h> exists even on freestanding compilers.
3966 # On the NeXT, cc -E runs the code through the compiler's parser,
3967 # not just through cpp. "Syntax error" is here to catch this case.
3968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3971 # include <limits.h>
3973 # include <assert.h>
3977 if ac_fn_c_try_cpp
"$LINENO"; then :
3980 # Broken: fails on valid input.
3983 rm -f conftest.err conftest.
$ac_ext
3985 # OK, works on sane cases. Now check whether nonexistent headers
3986 # can be detected and how.
3987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3989 #include <ac_nonexistent.h>
3991 if ac_fn_c_try_cpp
"$LINENO"; then :
3992 # Broken: success on invalid input.
3995 # Passes both tests.
3999 rm -f conftest.err conftest.
$ac_ext
4002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4003 rm -f conftest.err conftest.
$ac_ext
4004 if $ac_preproc_ok; then :
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4017 $as_echo "$CPP" >&6; }
4019 for ac_c_preproc_warn_flag
in '' yes
4021 # Use a header file that comes with gcc, so configuring glibc
4022 # with a fresh cross-compiler works.
4023 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4024 # <limits.h> exists even on freestanding compilers.
4025 # On the NeXT, cc -E runs the code through the compiler's parser,
4026 # not just through cpp. "Syntax error" is here to catch this case.
4027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4030 # include <limits.h>
4032 # include <assert.h>
4036 if ac_fn_c_try_cpp
"$LINENO"; then :
4039 # Broken: fails on valid input.
4042 rm -f conftest.err conftest.
$ac_ext
4044 # OK, works on sane cases. Now check whether nonexistent headers
4045 # can be detected and how.
4046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4048 #include <ac_nonexistent.h>
4050 if ac_fn_c_try_cpp
"$LINENO"; then :
4051 # Broken: success on invalid input.
4054 # Passes both tests.
4058 rm -f conftest.err conftest.
$ac_ext
4061 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4062 rm -f conftest.err conftest.
$ac_ext
4063 if $ac_preproc_ok; then :
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4069 See \`config.log' for more details." "$LINENO" 5; }
4073 ac_cpp
='$CPP $CPPFLAGS'
4074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4080 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4081 if test "${ac_cv_path_GREP+set}" = set; then :
4082 $as_echo_n "(cached) " >&6
4084 if test -z "$GREP"; then
4085 ac_path_GREP_found
=false
4086 # Loop through the user's path and test for each of PROGNAME-LIST
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4088 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_prog
in grep ggrep
; do
4093 for ac_exec_ext
in '' $ac_executable_extensions; do
4094 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4095 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4096 # Check for GNU ac_path_GREP and select it if it is found.
4097 # Check for GNU $ac_path_GREP
4098 case `"$ac_path_GREP" --version 2>&1` in
4100 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4103 $as_echo_n 0123456789 >"conftest.in"
4106 cat "conftest.in" "conftest.in" >"conftest.tmp"
4107 mv "conftest.tmp" "conftest.in"
4108 cp "conftest.in" "conftest.nl"
4109 $as_echo 'GREP' >> "conftest.nl"
4110 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4111 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4112 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4113 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4114 # Best one so far, save it but keep looking for a better one
4115 ac_cv_path_GREP
="$ac_path_GREP"
4116 ac_path_GREP_max
=$ac_count
4118 # 10*(2^10) chars as input seems more than enough
4119 test $ac_count -gt 10 && break
4121 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4124 $ac_path_GREP_found && break 3
4129 if test -z "$ac_cv_path_GREP"; then
4130 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4133 ac_cv_path_GREP
=$GREP
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4138 $as_echo "$ac_cv_path_GREP" >&6; }
4139 GREP
="$ac_cv_path_GREP"
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4143 $as_echo_n "checking for egrep... " >&6; }
4144 if test "${ac_cv_path_EGREP+set}" = set; then :
4145 $as_echo_n "(cached) " >&6
4147 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4148 then ac_cv_path_EGREP
="$GREP -E"
4150 if test -z "$EGREP"; then
4151 ac_path_EGREP_found
=false
4152 # Loop through the user's path and test for each of PROGNAME-LIST
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_prog
in egrep; do
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4161 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4162 # Check for GNU ac_path_EGREP and select it if it is found.
4163 # Check for GNU $ac_path_EGREP
4164 case `"$ac_path_EGREP" --version 2>&1` in
4166 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4169 $as_echo_n 0123456789 >"conftest.in"
4172 cat "conftest.in" "conftest.in" >"conftest.tmp"
4173 mv "conftest.tmp" "conftest.in"
4174 cp "conftest.in" "conftest.nl"
4175 $as_echo 'EGREP' >> "conftest.nl"
4176 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4177 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4178 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4179 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4180 # Best one so far, save it but keep looking for a better one
4181 ac_cv_path_EGREP
="$ac_path_EGREP"
4182 ac_path_EGREP_max
=$ac_count
4184 # 10*(2^10) chars as input seems more than enough
4185 test $ac_count -gt 10 && break
4187 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4190 $ac_path_EGREP_found && break 3
4195 if test -z "$ac_cv_path_EGREP"; then
4196 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4199 ac_cv_path_EGREP
=$EGREP
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4205 $as_echo "$ac_cv_path_EGREP" >&6; }
4206 EGREP
="$ac_cv_path_EGREP"
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4210 $as_echo_n "checking for ANSI C header files... " >&6; }
4211 if test "${ac_cv_header_stdc+set}" = set; then :
4212 $as_echo_n "(cached) " >&6
4214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4229 if ac_fn_c_try_compile
"$LINENO"; then :
4230 ac_cv_header_stdc
=yes
4232 ac_cv_header_stdc
=no
4234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4236 if test $ac_cv_header_stdc = yes; then
4237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4244 $EGREP "memchr" >/dev
/null
2>&1; then :
4247 ac_cv_header_stdc
=no
4253 if test $ac_cv_header_stdc = yes; then
4254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4261 $EGREP "free" >/dev
/null
2>&1; then :
4264 ac_cv_header_stdc
=no
4270 if test $ac_cv_header_stdc = yes; then
4271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4272 if test "$cross_compiling" = yes; then :
4275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4279 #if ((' ' & 0x0FF) == 0x020)
4280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4283 # define ISLOWER(c) \
4284 (('a' <= (c) && (c) <= 'i') \
4285 || ('j' <= (c) && (c) <= 'r') \
4286 || ('s' <= (c) && (c) <= 'z'))
4287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4295 for (i = 0; i < 256; i++)
4296 if (XOR (islower (i), ISLOWER (i))
4297 || toupper (i) != TOUPPER (i))
4302 if ac_fn_c_try_run
"$LINENO"; then :
4305 ac_cv_header_stdc
=no
4307 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4308 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4314 $as_echo "$ac_cv_header_stdc" >&6; }
4315 if test $ac_cv_header_stdc = yes; then
4317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4322 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4323 inttypes.h stdint.h unistd.h
4325 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4326 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4328 eval as_val
=\$
$as_ac_Header
4329 if test "x$as_val" = x
""yes; then :
4330 cat >>confdefs.h
<<_ACEOF
4331 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4340 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4341 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4348 if test "$MINIX" = yes; then
4350 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4353 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4356 $as_echo "#define _MINIX 1" >>confdefs.h
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4362 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4363 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4364 $as_echo_n "(cached) " >&6
4366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4369 # define __EXTENSIONS__ 1
4370 $ac_includes_default
4379 if ac_fn_c_try_compile
"$LINENO"; then :
4380 ac_cv_safe_to_define___extensions__
=yes
4382 ac_cv_safe_to_define___extensions__
=no
4384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4387 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4388 test $ac_cv_safe_to_define___extensions__ = yes &&
4389 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4391 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4393 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4395 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4397 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4403 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4404 if test "${ac_cv_prog_cc_c99+set}" = set; then :
4405 $as_echo_n "(cached) " >&6
4407 ac_cv_prog_cc_c99
=no
4409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4412 #include <stdbool.h>
4417 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4418 #define debug(...) fprintf (stderr, __VA_ARGS__)
4419 #define showlist(...) puts (#__VA_ARGS__)
4420 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4422 test_varargs_macros (void)
4427 debug ("X = %d\n", x);
4428 showlist (The first, second, and third items.);
4429 report (x>y, "x is %d but y is %d", x, y);
4432 // Check long long types.
4433 #define BIG64 18446744073709551615ull
4434 #define BIG32 4294967295ul
4435 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4437 your preprocessor is broken;
4441 your preprocessor is broken;
4443 static long long int bignum = -9223372036854775807LL;
4444 static unsigned long long int ubignum = BIG64;
4446 struct incomplete_array
4454 const wchar_t *name;
4458 typedef const char *ccp;
4461 test_restrict (ccp restrict text)
4463 // See if C++-style comments work.
4464 // Iterate through items via the restricted pointer.
4465 // Also check for declarations in for loops.
4466 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4471 // Check varargs and va_copy.
4473 test_varargs (const char *format, ...)
4476 va_start (args, format);
4478 va_copy (args_copy, args);
4489 str = va_arg (args_copy, const char *);
4492 number = va_arg (args_copy, int);
4495 fnumber = va_arg (args_copy, double);
4510 _Bool success = false;
4513 if (test_restrict ("String literal") == 0)
4515 char *restrict newvar = "Another string";
4518 test_varargs ("s, d' f .", "string", 65, 34.234);
4519 test_varargs_macros ();
4521 // Check flexible array members.
4522 struct incomplete_array *ia =
4523 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4525 for (int i = 0; i < ia->datasize; ++i)
4526 ia->data[i] = i * 1.234;
4528 // Check named initializers.
4529 struct named_init ni = {
4531 .name = L"Test wide string",
4532 .average = 543.34343,
4537 int dynamic_array[ni.number];
4538 dynamic_array[ni.number - 1] = 543;
4540 // work around unused variable warnings
4541 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4542 || dynamic_array[ni.number - 1] != 543);
4548 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
4550 CC
="$ac_save_CC $ac_arg"
4551 if ac_fn_c_try_compile
"$LINENO"; then :
4552 ac_cv_prog_cc_c99
=$ac_arg
4554 rm -f core conftest.err conftest.
$ac_objext
4555 test "x$ac_cv_prog_cc_c99" != "xno" && break
4557 rm -f conftest.
$ac_ext
4562 case "x$ac_cv_prog_cc_c99" in
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4565 $as_echo "none needed" >&6; } ;;
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4568 $as_echo "unsupported" >&6; } ;;
4570 CC
="$CC $ac_cv_prog_cc_c99"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4572 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4574 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4580 if test x
"$ac_cv_prog_cc_c99" = "xno"; then
4581 as_fn_error
"ircd-ratbox requires a C99 capable compiler" "$LINENO" 5
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4587 $as_echo_n "checking for egrep... " >&6; }
4588 if test "${ac_cv_path_EGREP+set}" = set; then :
4589 $as_echo_n "(cached) " >&6
4591 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4592 then ac_cv_path_EGREP
="$GREP -E"
4594 if test -z "$EGREP"; then
4595 ac_path_EGREP_found
=false
4596 # Loop through the user's path and test for each of PROGNAME-LIST
4597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4601 test -z "$as_dir" && as_dir
=.
4602 for ac_prog
in egrep; do
4603 for ac_exec_ext
in '' $ac_executable_extensions; do
4604 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4605 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4606 # Check for GNU ac_path_EGREP and select it if it is found.
4607 # Check for GNU $ac_path_EGREP
4608 case `"$ac_path_EGREP" --version 2>&1` in
4610 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4613 $as_echo_n 0123456789 >"conftest.in"
4616 cat "conftest.in" "conftest.in" >"conftest.tmp"
4617 mv "conftest.tmp" "conftest.in"
4618 cp "conftest.in" "conftest.nl"
4619 $as_echo 'EGREP' >> "conftest.nl"
4620 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4621 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4622 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4623 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4624 # Best one so far, save it but keep looking for a better one
4625 ac_cv_path_EGREP
="$ac_path_EGREP"
4626 ac_path_EGREP_max
=$ac_count
4628 # 10*(2^10) chars as input seems more than enough
4629 test $ac_count -gt 10 && break
4631 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4634 $ac_path_EGREP_found && break 3
4639 if test -z "$ac_cv_path_EGREP"; then
4640 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4643 ac_cv_path_EGREP
=$EGREP
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4649 $as_echo "$ac_cv_path_EGREP" >&6; }
4650 EGREP
="$ac_cv_path_EGREP"
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4654 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4655 if test "${ac_cv_path_SED+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4659 for ac_i
in 1 2 3 4 5 6 7; do
4660 ac_script
="$ac_script$as_nl$ac_script"
4662 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
4663 { ac_script
=; unset ac_script
;}
4664 if test -z "$SED"; then
4665 ac_path_SED_found
=false
4666 # Loop through the user's path and test for each of PROGNAME-LIST
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_prog
in sed gsed
; do
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4675 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4676 # Check for GNU ac_path_SED and select it if it is found.
4677 # Check for GNU $ac_path_SED
4678 case `"$ac_path_SED" --version 2>&1` in
4680 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4683 $as_echo_n 0123456789 >"conftest.in"
4686 cat "conftest.in" "conftest.in" >"conftest.tmp"
4687 mv "conftest.tmp" "conftest.in"
4688 cp "conftest.in" "conftest.nl"
4689 $as_echo '' >> "conftest.nl"
4690 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4691 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4692 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4693 if test $ac_count -gt ${ac_path_SED_max-0}; then
4694 # Best one so far, save it but keep looking for a better one
4695 ac_cv_path_SED
="$ac_path_SED"
4696 ac_path_SED_max
=$ac_count
4698 # 10*(2^10) chars as input seems more than enough
4699 test $ac_count -gt 10 && break
4701 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4704 $ac_path_SED_found && break 3
4709 if test -z "$ac_cv_path_SED"; then
4710 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4718 $as_echo "$ac_cv_path_SED" >&6; }
4719 SED
="$ac_cv_path_SED"
4727 # Check whether --enable-static was given.
4728 if test "${enable_static+set}" = set; then :
4729 enableval
=$enable_static; p
=${PACKAGE-default}
4731 yes) enable_static
=yes ;;
4732 no
) enable_static
=no
;;
4735 # Look at the argument we got. We use all the common list separators.
4736 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4737 for pkg
in $enableval; do
4739 if test "X$pkg" = "X$p"; then
4758 # Check whether --enable-shared was given.
4759 if test "${enable_shared+set}" = set; then :
4760 enableval
=$enable_shared; p
=${PACKAGE-default}
4762 yes) enable_shared
=yes ;;
4763 no
) enable_shared
=no
;;
4766 # Look at the argument we got. We use all the common list separators.
4767 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4768 for pkg
in $enableval; do
4770 if test "X$pkg" = "X$p"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4791 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4792 # Check whether --enable-maintainer-mode was given.
4793 if test "${enable_maintainer_mode+set}" = set; then :
4794 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4796 USE_MAINTAINER_MODE
=no
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4800 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4801 if test $USE_MAINTAINER_MODE = yes; then
4802 MAINTAINER_MODE_TRUE
=
4803 MAINTAINER_MODE_FALSE
='#'
4805 MAINTAINER_MODE_TRUE
='#'
4806 MAINTAINER_MODE_FALSE
=
4809 MAINT
=$MAINTAINER_MODE_TRUE
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4814 $as_echo_n "checking for library containing strerror... " >&6; }
4815 if test "${ac_cv_search_strerror+set}" = set; then :
4816 $as_echo_n "(cached) " >&6
4818 ac_func_search_save_LIBS
=$LIBS
4819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4822 /* Override any GCC internal prototype to avoid an error.
4823 Use char because int might match the return type of a GCC
4824 builtin and then its argument prototype would still apply. */
4837 for ac_lib
in '' cposix
; do
4838 if test -z "$ac_lib"; then
4839 ac_res
="none required"
4842 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4844 if ac_fn_c_try_link
"$LINENO"; then :
4845 ac_cv_search_strerror
=$ac_res
4847 rm -f core conftest.err conftest.
$ac_objext \
4849 if test "${ac_cv_search_strerror+set}" = set; then :
4853 if test "${ac_cv_search_strerror+set}" = set; then :
4856 ac_cv_search_strerror
=no
4859 LIBS
=$ac_func_search_save_LIBS
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4862 $as_echo "$ac_cv_search_strerror" >&6; }
4863 ac_res
=$ac_cv_search_strerror
4864 if test "$ac_res" != no
; then :
4865 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4870 $as_echo_n "checking for inline... " >&6; }
4871 if test "${ac_cv_c_inline+set}" = set; then :
4872 $as_echo_n "(cached) " >&6
4875 for ac_kw
in inline __inline__ __inline
; do
4876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4880 static $ac_kw foo_t static_foo () {return 0; }
4881 $ac_kw foo_t foo () {return 0; }
4885 if ac_fn_c_try_compile
"$LINENO"; then :
4886 ac_cv_c_inline
=$ac_kw
4888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4889 test "$ac_cv_c_inline" != no
&& break
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4894 $as_echo "$ac_cv_c_inline" >&6; }
4896 case $ac_cv_c_inline in
4899 case $ac_cv_c_inline in
4901 *) ac_val
=$ac_cv_c_inline;;
4903 cat >>confdefs.h
<<_ACEOF
4905 #define inline $ac_val
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4912 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4913 if test "${ac_cv_c_const+set}" = set; then :
4914 $as_echo_n "(cached) " >&6
4916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4917 /* end confdefs.h. */
4922 /* FIXME: Include the comments suggested by Paul. */
4924 /* Ultrix mips cc rejects this. */
4925 typedef int charset[2];
4927 /* SunOS 4.1.1 cc rejects this. */
4928 char const *const *pcpcc;
4930 /* NEC SVR4.0.2 mips cc rejects this. */
4931 struct point {int x, y;};
4932 static struct point const zero = {0,0};
4933 /* AIX XL C 1.02.0.0 rejects this.
4934 It does not let you subtract one const X* pointer from another in
4935 an arm of an if-expression whose if-part is not a constant
4937 const char *g = "string";
4938 pcpcc = &g + (g ? g-g : 0);
4939 /* HPUX 7.0 cc rejects these. */
4941 ppc = (char**) pcpcc;
4942 pcpcc = (char const *const *) ppc;
4943 { /* SCO 3.2v4 cc rejects this. */
4945 char const *s = 0 ? (char *) 0 : (char const *) 0;
4950 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4952 const int *foo = &x[0];
4955 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4956 typedef const int *iptr;
4960 { /* AIX XL C 1.02.0.0 rejects this saying
4961 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4962 struct s { int j; const int *ap[3]; };
4963 struct s *b; b->j = 5;
4965 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4969 return !cs[0] && !zero.x;
4976 if ac_fn_c_try_compile
"$LINENO"; then :
4981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4984 $as_echo "$ac_cv_c_const" >&6; }
4985 if test $ac_cv_c_const = no
; then
4987 $as_echo "#define const /**/" >>confdefs.h
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4992 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4994 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4995 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then :
4996 $as_echo_n "(cached) " >&6
4998 cat >conftest.
make <<\_ACEOF
5001 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5003 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5004 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5006 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5008 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5012 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5014 $as_echo "yes" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5019 SET_MAKE
="MAKE=${MAKE-make}"
5023 # Extract the first word of "automake", so it can be a program name with args.
5024 set dummy automake
; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if test "${ac_cv_path_AUTOMAKE+set}" = set; then :
5028 $as_echo_n "(cached) " >&6
5032 ac_cv_path_AUTOMAKE
="$AUTOMAKE" # Let the user override the test with a path.
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_path_AUTOMAKE
="$as_dir/$ac_word$ac_exec_ext"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 AUTOMAKE
=$ac_cv_path_AUTOMAKE
5054 if test -n "$AUTOMAKE"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOMAKE" >&5
5056 $as_echo "$AUTOMAKE" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 # Extract the first word of "aclocal", so it can be a program name with args.
5064 set dummy aclocal
; ac_word
=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if test "${ac_cv_path_ACLOCAL+set}" = set; then :
5068 $as_echo_n "(cached) " >&6
5072 ac_cv_path_ACLOCAL
="$ACLOCAL" # Let the user override the test with a path.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 ac_cv_path_ACLOCAL
="$as_dir/$ac_word$ac_exec_ext"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 ACLOCAL
=$ac_cv_path_ACLOCAL
5094 if test -n "$ACLOCAL"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
5096 $as_echo "$ACLOCAL" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 # Extract the first word of "autoheader", so it can be a program name with args.
5104 set dummy autoheader
; ac_word
=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_path_AUTOHEADER+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5112 ac_cv_path_AUTOHEADER
="$AUTOHEADER" # Let the user override the test with a path.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_path_AUTOHEADER
="$as_dir/$ac_word$ac_exec_ext"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 AUTOHEADER
=$ac_cv_path_AUTOHEADER
5134 if test -n "$AUTOHEADER"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
5136 $as_echo "$AUTOHEADER" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5143 # Extract the first word of "as", so it can be a program name with args.
5144 set dummy as
; ac_word
=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_path_AS+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5152 ac_cv_path_AS
="$AS" # Let the user override the test with a path.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_path_AS
="$as_dir/$ac_word$ac_exec_ext"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 if test -n "$AS"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5176 $as_echo "$AS" >&6; }
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 # Extract the first word of "rm", so it can be a program name with args.
5184 set dummy
rm; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if test "${ac_cv_path_RM+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5192 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
5195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir
=.
5200 for ac_exec_ext
in '' $ac_executable_extensions; do
5201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 if test -n "$RM"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5216 $as_echo "$RM" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5223 # Extract the first word of "cp", so it can be a program name with args.
5224 set dummy
cp; ac_word
=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if test "${ac_cv_path_CP+set}" = set; then :
5228 $as_echo_n "(cached) " >&6
5232 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 if test -n "$CP"; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5256 $as_echo "$CP" >&6; }
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5263 # Extract the first word of "mv", so it can be a program name with args.
5264 set dummy
mv; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if test "${ac_cv_path_MV+set}" = set; then :
5268 $as_echo_n "(cached) " >&6
5272 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
5275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir
=.
5280 for ac_exec_ext
in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 if test -n "$MV"; then
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5296 $as_echo "$MV" >&6; }
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5303 # Extract the first word of "ln", so it can be a program name with args.
5304 set dummy
ln; ac_word
=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if test "${ac_cv_path_LN+set}" = set; then :
5308 $as_echo_n "(cached) " >&6
5312 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5322 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
5323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5334 if test -n "$LN"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
5336 $as_echo "$LN" >&6; }
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 # Extract the first word of "touch", so it can be a program name with args.
5344 set dummy
touch; ac_word
=$2
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if test "${ac_cv_path_TOUCH+set}" = set; then :
5348 $as_echo_n "(cached) " >&6
5352 ac_cv_path_TOUCH
="$TOUCH" # Let the user override the test with a path.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_path_TOUCH
="$as_dir/$ac_word$ac_exec_ext"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 TOUCH
=$ac_cv_path_TOUCH
5374 if test -n "$TOUCH"; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5376 $as_echo "$TOUCH" >&6; }
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5379 $as_echo "no" >&6; }
5384 ac_cpp
='$CPP $CPPFLAGS'
5385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5393 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5398 macro_version
='2.2.6b'
5399 macro_revision
='1.3017'
5413 ltmain
="$ac_aux_dir/ltmain.sh"
5415 # Make sure we can run config.sub.
5416 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5417 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5420 $as_echo_n "checking build system type... " >&6; }
5421 if test "${ac_cv_build+set}" = set; then :
5422 $as_echo_n "(cached) " >&6
5424 ac_build_alias
=$build_alias
5425 test "x$ac_build_alias" = x
&&
5426 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5427 test "x$ac_build_alias" = x
&&
5428 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
5429 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5430 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5434 $as_echo "$ac_cv_build" >&6; }
5435 case $ac_cv_build in
5437 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
5440 ac_save_IFS
=$IFS; IFS
='-'
5446 # Remember, the first character of IFS is used to create $*,
5447 # except with old shells:
5450 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5454 $as_echo_n "checking host system type... " >&6; }
5455 if test "${ac_cv_host+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5458 if test "x$host_alias" = x
; then
5459 ac_cv_host
=$ac_cv_build
5461 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5462 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5467 $as_echo "$ac_cv_host" >&6; }
5470 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
5473 ac_save_IFS
=$IFS; IFS
='-'
5479 # Remember, the first character of IFS is used to create $*,
5480 # except with old shells:
5483 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5487 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5488 if test "${ac_cv_path_SED+set}" = set; then :
5489 $as_echo_n "(cached) " >&6
5491 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5492 for ac_i
in 1 2 3 4 5 6 7; do
5493 ac_script
="$ac_script$as_nl$ac_script"
5495 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
5496 { ac_script
=; unset ac_script
;}
5497 if test -z "$SED"; then
5498 ac_path_SED_found
=false
5499 # Loop through the user's path and test for each of PROGNAME-LIST
5500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5504 test -z "$as_dir" && as_dir
=.
5505 for ac_prog
in sed gsed
; do
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5508 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5509 # Check for GNU ac_path_SED and select it if it is found.
5510 # Check for GNU $ac_path_SED
5511 case `"$ac_path_SED" --version 2>&1` in
5513 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5516 $as_echo_n 0123456789 >"conftest.in"
5519 cat "conftest.in" "conftest.in" >"conftest.tmp"
5520 mv "conftest.tmp" "conftest.in"
5521 cp "conftest.in" "conftest.nl"
5522 $as_echo '' >> "conftest.nl"
5523 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5524 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5525 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5526 if test $ac_count -gt ${ac_path_SED_max-0}; then
5527 # Best one so far, save it but keep looking for a better one
5528 ac_cv_path_SED
="$ac_path_SED"
5529 ac_path_SED_max
=$ac_count
5531 # 10*(2^10) chars as input seems more than enough
5532 test $ac_count -gt 10 && break
5534 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5537 $ac_path_SED_found && break 3
5542 if test -z "$ac_cv_path_SED"; then
5543 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5551 $as_echo "$ac_cv_path_SED" >&6; }
5552 SED
="$ac_cv_path_SED"
5555 test -z "$SED" && SED
=sed
5556 Xsed
="$SED -e 1s/^X//"
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5569 $as_echo_n "checking for fgrep... " >&6; }
5570 if test "${ac_cv_path_FGREP+set}" = set; then :
5571 $as_echo_n "(cached) " >&6
5573 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
5574 then ac_cv_path_FGREP
="$GREP -F"
5576 if test -z "$FGREP"; then
5577 ac_path_FGREP_found
=false
5578 # Loop through the user's path and test for each of PROGNAME-LIST
5579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5580 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5583 test -z "$as_dir" && as_dir
=.
5584 for ac_prog
in fgrep
; do
5585 for ac_exec_ext
in '' $ac_executable_extensions; do
5586 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5587 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5588 # Check for GNU ac_path_FGREP and select it if it is found.
5589 # Check for GNU $ac_path_FGREP
5590 case `"$ac_path_FGREP" --version 2>&1` in
5592 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5595 $as_echo_n 0123456789 >"conftest.in"
5598 cat "conftest.in" "conftest.in" >"conftest.tmp"
5599 mv "conftest.tmp" "conftest.in"
5600 cp "conftest.in" "conftest.nl"
5601 $as_echo 'FGREP' >> "conftest.nl"
5602 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5603 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5604 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5605 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5606 # Best one so far, save it but keep looking for a better one
5607 ac_cv_path_FGREP
="$ac_path_FGREP"
5608 ac_path_FGREP_max
=$ac_count
5610 # 10*(2^10) chars as input seems more than enough
5611 test $ac_count -gt 10 && break
5613 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5616 $ac_path_FGREP_found && break 3
5621 if test -z "$ac_cv_path_FGREP"; then
5622 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5625 ac_cv_path_FGREP
=$FGREP
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5631 $as_echo "$ac_cv_path_FGREP" >&6; }
5632 FGREP
="$ac_cv_path_FGREP"
5635 test -z "$GREP" && GREP
=grep
5655 # Check whether --with-gnu-ld was given.
5656 if test "${with_gnu_ld+set}" = set; then :
5657 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
5663 if test "$GCC" = yes; then
5664 # Check if gcc -print-prog-name=ld gives a path.
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5666 $as_echo_n "checking for ld used by $CC... " >&6; }
5669 # gcc leaves a trailing carriage return which upsets mingw
5670 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5672 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5675 # Accept absolute paths.
5677 re_direlt
='/[^/][^/]*/\.\./'
5678 # Canonicalize the pathname of ld
5679 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5680 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
5681 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5683 test -z "$LD" && LD
="$ac_prog"
5686 # If it fails, then pretend we aren't using GCC.
5690 # If it is relative, then search for the first ld in PATH.
5694 elif test "$with_gnu_ld" = yes; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5696 $as_echo_n "checking for GNU ld... " >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5699 $as_echo_n "checking for non-GNU ld... " >&6; }
5701 if test "${lt_cv_path_LD+set}" = set; then :
5702 $as_echo_n "(cached) " >&6
5704 if test -z "$LD"; then
5705 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5706 for ac_dir
in $PATH; do
5708 test -z "$ac_dir" && ac_dir
=.
5709 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5710 lt_cv_path_LD
="$ac_dir/$ac_prog"
5711 # Check to see if the program is GNU ld. I'd rather use --version,
5712 # but apparently some variants of GNU ld only accept -v.
5713 # Break only if it was the GNU/non-GNU ld that we prefer.
5714 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5715 *GNU
* | *'with BFD'*)
5716 test "$with_gnu_ld" != no
&& break
5719 test "$with_gnu_ld" != yes && break
5726 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5731 if test -n "$LD"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5733 $as_echo "$LD" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5738 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5740 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5741 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5742 $as_echo_n "(cached) " >&6
5744 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5745 case `$LD -v 2>&1 </dev/null` in
5746 *GNU
* | *'with BFD'*)
5747 lt_cv_prog_gnu_ld
=yes
5750 lt_cv_prog_gnu_ld
=no
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5755 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5756 with_gnu_ld
=$lt_cv_prog_gnu_ld
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5767 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5768 if test "${lt_cv_path_NM+set}" = set; then :
5769 $as_echo_n "(cached) " >&6
5771 if test -n "$NM"; then
5772 # Let the user override the test.
5775 lt_nm_to_check
="${ac_tool_prefix}nm"
5776 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5777 lt_nm_to_check
="$lt_nm_to_check nm"
5779 for lt_tmp_nm
in $lt_nm_to_check; do
5780 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5781 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5783 test -z "$ac_dir" && ac_dir
=.
5784 tmp_nm
="$ac_dir/$lt_tmp_nm"
5785 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5786 # Check to see if the nm accepts a BSD-compat flag.
5787 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5788 # nm: unknown option "B" ignored
5789 # Tru64's nm complains that /dev/null is an invalid object file
5790 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5791 */dev
/null
* | *'Invalid file or object type'*)
5792 lt_cv_path_NM
="$tmp_nm -B"
5796 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5798 lt_cv_path_NM
="$tmp_nm -p"
5802 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5803 continue # so that we can try to find one that supports BSD flags
5812 : ${lt_cv_path_NM=no}
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5816 $as_echo "$lt_cv_path_NM" >&6; }
5817 if test "$lt_cv_path_NM" != "no"; then
5820 # Didn't find any BSD compatible name lister, look for dumpbin.
5821 if test -n "$ac_tool_prefix"; then
5822 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5825 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5827 $as_echo_n "checking for $ac_word... " >&6; }
5828 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5829 $as_echo_n "(cached) " >&6
5831 if test -n "$DUMPBIN"; then
5832 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5838 test -z "$as_dir" && as_dir
=.
5839 for ac_exec_ext
in '' $ac_executable_extensions; do
5840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5841 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 DUMPBIN
=$ac_cv_prog_DUMPBIN
5852 if test -n "$DUMPBIN"; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5854 $as_echo "$DUMPBIN" >&6; }
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5861 test -n "$DUMPBIN" && break
5864 if test -z "$DUMPBIN"; then
5865 ac_ct_DUMPBIN
=$DUMPBIN
5866 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5868 # Extract the first word of "$ac_prog", so it can be a program name with args.
5869 set dummy
$ac_prog; ac_word
=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5875 if test -n "$ac_ct_DUMPBIN"; then
5876 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5882 test -z "$as_dir" && as_dir
=.
5883 for ac_exec_ext
in '' $ac_executable_extensions; do
5884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5896 if test -n "$ac_ct_DUMPBIN"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5898 $as_echo "$ac_ct_DUMPBIN" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5905 test -n "$ac_ct_DUMPBIN" && break
5908 if test "x$ac_ct_DUMPBIN" = x
; then
5911 case $cross_compiling:$ac_tool_warned in
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5915 ac_tool_warned
=yes ;;
5917 DUMPBIN
=$ac_ct_DUMPBIN
5922 if test "$DUMPBIN" != ":"; then
5926 test -z "$NM" && NM
=nm
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5934 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5935 if test "${lt_cv_nm_interface+set}" = set; then :
5936 $as_echo_n "(cached) " >&6
5938 lt_cv_nm_interface
="BSD nm"
5939 echo "int some_variable = 0;" > conftest.
$ac_ext
5940 (eval echo "\"\$as_me:5940: $ac_compile\"" >&5)
5941 (eval "$ac_compile" 2>conftest.err
)
5942 cat conftest.err
>&5
5943 (eval echo "\"\$as_me:5943: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5944 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5945 cat conftest.err
>&5
5946 (eval echo "\"\$as_me:5946: output\"" >&5)
5947 cat conftest.out
>&5
5948 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5949 lt_cv_nm_interface
="MS dumpbin"
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5954 $as_echo "$lt_cv_nm_interface" >&6; }
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5957 $as_echo_n "checking whether ln -s works... " >&6; }
5959 if test "$LN_S" = "ln -s"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5961 $as_echo "yes" >&6; }
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5964 $as_echo "no, using $LN_S" >&6; }
5967 # find the maximum length of command line arguments
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5969 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5970 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5971 $as_echo_n "(cached) " >&6
5978 # On DJGPP, this test can blow up pretty badly due to problems in libc
5979 # (any single argument exceeding 2000 bytes causes a buffer overrun
5980 # during glob expansion). Even if it were fixed, the result of this
5981 # check would be larger than it should be.
5982 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5986 # Under GNU Hurd, this test is not required because there is
5987 # no limit to the length of command line arguments.
5988 # Libtool will interpret -1 as no limit whatsoever
5989 lt_cv_sys_max_cmd_len
=-1;
5992 cygwin
* | mingw
* | cegcc
*)
5993 # On Win9x/ME, this test blows up -- it succeeds, but takes
5994 # about 5 minutes as the teststring grows exponentially.
5995 # Worse, since 9x/ME are not pre-emptively multitasking,
5996 # you end up with a "frozen" computer, even though with patience
5997 # the test eventually succeeds (with a max line length of 256k).
5998 # Instead, let's just punt: use the minimum linelength reported by
5999 # all of the supported platforms: 8192 (on NT/2K/XP).
6000 lt_cv_sys_max_cmd_len
=8192;
6004 # On AmigaOS with pdksh, this test takes hours, literally.
6005 # So we just punt and use a minimum line length of 8192.
6006 lt_cv_sys_max_cmd_len
=8192;
6009 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6010 # This has been around since 386BSD, at least. Likely further.
6011 if test -x /sbin
/sysctl
; then
6012 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6013 elif test -x /usr
/sbin
/sysctl
; then
6014 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6016 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6018 # And add a safety zone
6019 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6020 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6024 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6025 lt_cv_sys_max_cmd_len
=196608
6029 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6030 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6031 # nice to cause kernel panics so lets avoid the loop below.
6032 # First set a reasonable default.
6033 lt_cv_sys_max_cmd_len
=16384
6035 if test -x /sbin
/sysconfig
; then
6036 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6037 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6042 lt_cv_sys_max_cmd_len
=102400
6044 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6045 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6046 if test -n "$kargmax"; then
6047 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6049 lt_cv_sys_max_cmd_len
=32768
6053 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6054 if test -n "$lt_cv_sys_max_cmd_len"; then
6055 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6056 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6058 # Make teststring a little bigger before we do anything with it.
6059 # a 1K string should be a reasonable start.
6060 for i
in 1 2 3 4 5 6 7 8 ; do
6061 teststring
=$teststring$teststring
6063 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6064 # If test is not a shell built-in, we'll probably end up computing a
6065 # maximum length that is only half of the actual maximum length, but
6067 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6068 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6069 test $i != 17 # 1/2 MB should be enough
6072 teststring
=$teststring$teststring
6074 # Only check the string length outside the loop.
6075 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6077 # Add a significant safety factor because C++ compilers can tack on
6078 # massive amounts of additional arguments before passing them to the
6079 # linker. It appears as though 1/2 is a usable value.
6080 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6087 if test -n $lt_cv_sys_max_cmd_len ; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6089 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6092 $as_echo "none" >&6; }
6094 max_cmd_len
=$lt_cv_sys_max_cmd_len
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6106 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6107 # Try some XSI features
6110 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6112 && eval 'test $(( 1 + 1 )) -eq 2 \
6113 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6116 $as_echo "$xsi_shell" >&6; }
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6120 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6122 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6124 && lt_shell_append
=yes
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6126 $as_echo "$lt_shell_append" >&6; }
6129 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
6139 # test EBCDIC or ASCII
6140 case `echo X|tr X '\101'` in
6141 A
) # ASCII based system
6142 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6143 lt_SP2NL
='tr \040 \012'
6144 lt_NL2SP
='tr \015\012 \040\040'
6146 *) # EBCDIC based system
6147 lt_SP2NL
='tr \100 \n'
6148 lt_NL2SP
='tr \r\n \100\100'
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6161 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6162 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6163 $as_echo_n "(cached) " >&6
6165 lt_cv_ld_reload_flag
='-r'
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6168 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6169 reload_flag
=$lt_cv_ld_reload_flag
6170 case $reload_flag in
6172 *) reload_flag
=" $reload_flag" ;;
6174 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6177 if test "$GCC" = yes; then
6178 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6180 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6193 if test -n "$ac_tool_prefix"; then
6194 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6195 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6199 $as_echo_n "(cached) " >&6
6201 if test -n "$OBJDUMP"; then
6202 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6208 test -z "$as_dir" && as_dir
=.
6209 for ac_exec_ext
in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221 OBJDUMP
=$ac_cv_prog_OBJDUMP
6222 if test -n "$OBJDUMP"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6224 $as_echo "$OBJDUMP" >&6; }
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6232 if test -z "$ac_cv_prog_OBJDUMP"; then
6233 ac_ct_OBJDUMP
=$OBJDUMP
6234 # Extract the first word of "objdump", so it can be a program name with args.
6235 set dummy objdump
; ac_word
=$2
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 $as_echo_n "checking for $ac_word... " >&6; }
6238 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6239 $as_echo_n "(cached) " >&6
6241 if test -n "$ac_ct_OBJDUMP"; then
6242 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6248 test -z "$as_dir" && as_dir
=.
6249 for ac_exec_ext
in '' $ac_executable_extensions; do
6250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6251 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6262 if test -n "$ac_ct_OBJDUMP"; then
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6264 $as_echo "$ac_ct_OBJDUMP" >&6; }
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6267 $as_echo "no" >&6; }
6270 if test "x$ac_ct_OBJDUMP" = x
; then
6273 case $cross_compiling:$ac_tool_warned in
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6277 ac_tool_warned
=yes ;;
6279 OBJDUMP
=$ac_ct_OBJDUMP
6282 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6285 test -z "$OBJDUMP" && OBJDUMP
=objdump
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6296 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6297 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6298 $as_echo_n "(cached) " >&6
6300 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6301 lt_cv_file_magic_test_file
=
6302 lt_cv_deplibs_check_method
='unknown'
6303 # Need to set the preceding variable on all platforms that support
6304 # interlibrary dependencies.
6305 # 'none' -- dependencies not supported.
6306 # `unknown' -- same as none, but documents that we really don't know.
6307 # 'pass_all' -- all dependencies passed with no checks.
6308 # 'test_compile' -- check by making test program.
6309 # 'file_magic [[regex]]' -- check by looking for files in library path
6310 # which responds to the $file_magic_cmd with a given extended regex.
6311 # If you have `file' or equivalent on your system and you're not sure
6312 # whether `pass_all' will *always* work, you probably want this one.
6316 lt_cv_deplibs_check_method
=pass_all
6320 lt_cv_deplibs_check_method
=pass_all
6324 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6325 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6326 lt_cv_file_magic_test_file
=/shlib
/libc.so
6330 # func_win32_libid is a shell function defined in ltmain.sh
6331 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6332 lt_cv_file_magic_cmd
='func_win32_libid'
6336 # Base MSYS/MinGW do not provide the 'file' command needed by
6337 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6338 # unless we find 'file', for example because we are cross-compiling.
6339 if ( file / ) >/dev
/null
2>&1; then
6340 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6341 lt_cv_file_magic_cmd
='func_win32_libid'
6343 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
6344 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6349 # use the weaker test based on 'objdump'. See mingw*.
6350 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6351 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6354 darwin
* | rhapsody
*)
6355 lt_cv_deplibs_check_method
=pass_all
6358 freebsd
* | dragonfly
*)
6359 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6362 # Not sure whether the presence of OpenBSD here was a mistake.
6363 # Let's accept both of them until this is cleared up.
6364 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6365 lt_cv_file_magic_cmd
=/usr
/bin
/file
6366 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6370 lt_cv_deplibs_check_method
=pass_all
6375 lt_cv_deplibs_check_method
=pass_all
6378 hpux10.20
* | hpux11
*)
6379 lt_cv_file_magic_cmd
=/usr
/bin
/file
6382 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6383 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
6386 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]'
6387 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
6390 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6391 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6397 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6398 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6401 irix5
* | irix6
* | nonstopux
*)
6403 *-32|*"-32 ") libmagic
=32-bit;;
6404 *-n32|*"-n32 ") libmagic
=N32
;;
6405 *-64|*"-64 ") libmagic
=64-bit;;
6406 *) libmagic
=never
-match;;
6408 lt_cv_deplibs_check_method
=pass_all
6411 # This must be Linux ELF.
6412 linux
* | k
*bsd
*-gnu)
6413 lt_cv_deplibs_check_method
=pass_all
6417 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6418 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6420 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6425 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6426 lt_cv_file_magic_cmd
=/usr
/bin
/file
6427 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6431 lt_cv_deplibs_check_method
=pass_all
6435 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6436 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6438 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6442 osf3
* | osf4
* | osf5
*)
6443 lt_cv_deplibs_check_method
=pass_all
6447 lt_cv_deplibs_check_method
=pass_all
6451 lt_cv_deplibs_check_method
=pass_all
6454 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6455 lt_cv_deplibs_check_method
=pass_all
6459 case $host_vendor in
6461 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]'
6462 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6465 lt_cv_deplibs_check_method
=pass_all
6468 lt_cv_file_magic_cmd
='/bin/file'
6469 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6472 lt_cv_file_magic_cmd
='/bin/file'
6473 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6474 lt_cv_file_magic_test_file
=/lib
/libc.so
6477 lt_cv_deplibs_check_method
=pass_all
6480 lt_cv_deplibs_check_method
=pass_all
6486 lt_cv_deplibs_check_method
=pass_all
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6492 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6493 file_magic_cmd
=$lt_cv_file_magic_cmd
6494 deplibs_check_method
=$lt_cv_deplibs_check_method
6495 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6508 if test -n "$ac_tool_prefix"; then
6509 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6510 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6512 $as_echo_n "checking for $ac_word... " >&6; }
6513 if test "${ac_cv_prog_AR+set}" = set; then :
6514 $as_echo_n "(cached) " >&6
6516 if test -n "$AR"; then
6517 ac_cv_prog_AR
="$AR" # Let the user override the test.
6519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6523 test -z "$as_dir" && as_dir
=.
6524 for ac_exec_ext
in '' $ac_executable_extensions; do
6525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6526 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 if test -n "$AR"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6539 $as_echo "$AR" >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6542 $as_echo "no" >&6; }
6547 if test -z "$ac_cv_prog_AR"; then
6549 # Extract the first word of "ar", so it can be a program name with args.
6550 set dummy
ar; ac_word
=$2
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6552 $as_echo_n "checking for $ac_word... " >&6; }
6553 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6554 $as_echo_n "(cached) " >&6
6556 if test -n "$ac_ct_AR"; then
6557 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6563 test -z "$as_dir" && as_dir
=.
6564 for ac_exec_ext
in '' $ac_executable_extensions; do
6565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6566 ac_cv_prog_ac_ct_AR
="ar"
6567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6577 if test -n "$ac_ct_AR"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6579 $as_echo "$ac_ct_AR" >&6; }
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6582 $as_echo "no" >&6; }
6585 if test "x$ac_ct_AR" = x
; then
6588 case $cross_compiling:$ac_tool_warned in
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6592 ac_tool_warned
=yes ;;
6600 test -z "$AR" && AR
=ar
6601 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6613 if test -n "$ac_tool_prefix"; then
6614 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6615 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if test "${ac_cv_prog_STRIP+set}" = set; then :
6619 $as_echo_n "(cached) " >&6
6621 if test -n "$STRIP"; then
6622 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6628 test -z "$as_dir" && as_dir
=.
6629 for ac_exec_ext
in '' $ac_executable_extensions; do
6630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6631 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 STRIP
=$ac_cv_prog_STRIP
6642 if test -n "$STRIP"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6644 $as_echo "$STRIP" >&6; }
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6652 if test -z "$ac_cv_prog_STRIP"; then
6654 # Extract the first word of "strip", so it can be a program name with args.
6655 set dummy strip
; ac_word
=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6659 $as_echo_n "(cached) " >&6
6661 if test -n "$ac_ct_STRIP"; then
6662 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6668 test -z "$as_dir" && as_dir
=.
6669 for ac_exec_ext
in '' $ac_executable_extensions; do
6670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6671 ac_cv_prog_ac_ct_STRIP
="strip"
6672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6682 if test -n "$ac_ct_STRIP"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6684 $as_echo "$ac_ct_STRIP" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6690 if test "x$ac_ct_STRIP" = x
; then
6693 case $cross_compiling:$ac_tool_warned in
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697 ac_tool_warned
=yes ;;
6702 STRIP
="$ac_cv_prog_STRIP"
6705 test -z "$STRIP" && STRIP
=:
6712 if test -n "$ac_tool_prefix"; then
6713 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6714 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6718 $as_echo_n "(cached) " >&6
6720 if test -n "$RANLIB"; then
6721 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir
=.
6728 for ac_exec_ext
in '' $ac_executable_extensions; do
6729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6730 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 RANLIB
=$ac_cv_prog_RANLIB
6741 if test -n "$RANLIB"; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6743 $as_echo "$RANLIB" >&6; }
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746 $as_echo "no" >&6; }
6751 if test -z "$ac_cv_prog_RANLIB"; then
6752 ac_ct_RANLIB
=$RANLIB
6753 # Extract the first word of "ranlib", so it can be a program name with args.
6754 set dummy ranlib
; ac_word
=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6758 $as_echo_n "(cached) " >&6
6760 if test -n "$ac_ct_RANLIB"; then
6761 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6767 test -z "$as_dir" && as_dir
=.
6768 for ac_exec_ext
in '' $ac_executable_extensions; do
6769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6770 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6780 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6781 if test -n "$ac_ct_RANLIB"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6783 $as_echo "$ac_ct_RANLIB" >&6; }
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6789 if test "x$ac_ct_RANLIB" = x
; then
6792 case $cross_compiling:$ac_tool_warned in
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6796 ac_tool_warned
=yes ;;
6798 RANLIB
=$ac_ct_RANLIB
6801 RANLIB
="$ac_cv_prog_RANLIB"
6804 test -z "$RANLIB" && RANLIB
=:
6811 # Determine commands to create old-style static archives.
6812 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6813 old_postinstall_cmds
='chmod 644 $oldlib'
6814 old_postuninstall_cmds
=
6816 if test -n "$RANLIB"; then
6819 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6822 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6825 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6861 # If no C compiler was specified, use CC.
6864 # If no C compiler flags were specified, use CFLAGS.
6865 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6867 # Allow CC to be a program name with arguments.
6871 # Check for command to grab the raw symbol name followed by C symbol from nm.
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6873 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6874 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6875 $as_echo_n "(cached) " >&6
6878 # These are sane defaults that work on at least a few old systems.
6879 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6881 # Character class describing NM global symbol codes.
6882 symcode
='[BCDEGRST]'
6884 # Regexp to match symbols that can be accessed directly from C.
6885 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6887 # Define system-specific variables.
6892 cygwin
* | mingw
* | pw32
* | cegcc
*)
6893 symcode
='[ABCDGISTW]'
6896 if test "$host_cpu" = ia64
; then
6897 symcode
='[ABCDEGRST]'
6901 symcode
='[BCDEGRST]'
6904 symcode
='[BCDEGQRST]'
6915 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6923 # If we're using GNU nm, then use its standard symbol codes.
6924 case `$NM -V 2>&1` in
6925 *GNU
* | *'with BFD'*)
6926 symcode
='[ABCDGIRSTW]' ;;
6929 # Transform an extracted symbol line into a proper C declaration.
6930 # Some systems (esp. on ia64) link data and code symbols differently,
6931 # so use this general approach.
6932 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6934 # Transform an extracted symbol line into symbol name and symbol address
6935 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6936 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'"
6938 # Handle CRLF in mingw tool chain
6942 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6946 # Try without a prefix underscore, then with it.
6947 for ac_symprfx
in "" "_"; do
6949 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6950 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6952 # Write the raw and C identifiers.
6953 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6954 # Fake it for dumpbin and say T for any non-static function
6955 # and D for any global variable.
6956 # Also find C++ and __fastcall symbols from MSVC++,
6957 # which start with @ or ?.
6958 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6959 " {last_section=section; section=\$ 3};"\
6960 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6961 " \$ 0!~/External *\|/{next};"\
6962 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6963 " {if(hide[section]) next};"\
6964 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6965 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6966 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6967 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6968 " ' prfx=^$ac_symprfx"
6970 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6973 # Check to see that the pipe works correctly.
6977 cat > conftest.
$ac_ext <<_LT_EOF
6982 void nm_test_func(void);
6983 void nm_test_func(void){}
6987 int main(){nm_test_var='a';nm_test_func();return(0);}
6990 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6991 (eval $ac_compile) 2>&5
6993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6994 test $ac_status = 0; }; then
6995 # Now try to grab the symbols.
6997 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6998 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7001 test $ac_status = 0; } && test -s "$nlist"; then
7002 # Try sorting and uniquifying the output.
7003 if sort "$nlist" | uniq > "$nlist"T
; then
7004 mv -f "$nlist"T
"$nlist"
7009 # Make sure that we snagged all the symbols we need.
7010 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7011 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7012 cat <<_LT_EOF > conftest.$ac_ext
7018 # Now generate the symbol file.
7019 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7021 cat <<_LT_EOF >> conftest.$ac_ext
7023 /* The mapping between symbol names and symbols. */
7028 lt__PROGRAM__LTX_preloaded_symbols[] =
7030 { "@PROGRAM@", (void *) 0 },
7032 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
7033 cat <<\_LT_EOF
>> conftest.
$ac_ext
7037 /* This works around a problem
in FreeBSD linker
*/
7038 #ifdef FREEBSD_WORKAROUND
7039 static const void
*lt_preloaded_setup
() {
7040 return lt__PROGRAM__LTX_preloaded_symbols
;
7048 # Now try linking the two files.
7049 mv conftest.
$ac_objext conftstm.
$ac_objext
7050 lt_save_LIBS
="$LIBS"
7051 lt_save_CFLAGS
="$CFLAGS"
7052 LIBS
="conftstm.$ac_objext"
7053 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7055 (eval $ac_link) 2>&5
7057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7058 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7061 LIBS
="$lt_save_LIBS"
7062 CFLAGS
="$lt_save_CFLAGS"
7064 echo "cannot find nm_test_func in $nlist" >&5
7067 echo "cannot find nm_test_var in $nlist" >&5
7070 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7073 echo "$progname: failed program was:" >&5
7074 cat conftest.
$ac_ext >&5
7076 rm -rf conftest
* conftst
*
7078 # Do not use the global_symbol_pipe unless it works.
7079 if test "$pipe_works" = yes; then
7082 lt_cv_sys_global_symbol_pipe
=
7088 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7089 lt_cv_sys_global_symbol_to_cdecl
=
7091 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7093 $as_echo "failed" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7096 $as_echo "ok" >&6; }
7120 # Check whether --enable-libtool-lock was given.
7121 if test "${enable_libtool_lock+set}" = set; then :
7122 enableval
=$enable_libtool_lock;
7125 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7127 # Some flags need to be propagated to the compiler or linker for good
7131 # Find out which ABI we are using.
7132 echo 'int i;' > conftest.
$ac_ext
7133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7134 (eval $ac_compile) 2>&5
7136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7137 test $ac_status = 0; }; then
7138 case `/usr/bin/file conftest.$ac_objext` in
7150 # Find out which ABI we are using.
7151 echo '#line 7151 "configure"' > conftest.
$ac_ext
7152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7153 (eval $ac_compile) 2>&5
7155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7156 test $ac_status = 0; }; then
7157 if test "$lt_cv_prog_gnu_ld" = yes; then
7158 case `/usr/bin/file conftest.$ac_objext` in
7160 LD
="${LD-ld} -melf32bsmip"
7163 LD
="${LD-ld} -melf32bmipn32"
7166 LD
="${LD-ld} -melf64bmip"
7170 case `/usr/bin/file conftest.$ac_objext` in
7186 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7187 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7188 # Find out which ABI we are using.
7189 echo 'int i;' > conftest.
$ac_ext
7190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7191 (eval $ac_compile) 2>&5
7193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7194 test $ac_status = 0; }; then
7195 case `/usr/bin/file conftest.o` in
7198 x86_64
-*kfreebsd
*-gnu)
7199 LD
="${LD-ld} -m elf_i386_fbsd"
7202 LD
="${LD-ld} -m elf_i386"
7204 ppc64
-*linux
*|powerpc64
-*linux
*)
7205 LD
="${LD-ld} -m elf32ppclinux"
7208 LD
="${LD-ld} -m elf_s390"
7211 LD
="${LD-ld} -m elf32_sparc"
7217 x86_64
-*kfreebsd
*-gnu)
7218 LD
="${LD-ld} -m elf_x86_64_fbsd"
7221 LD
="${LD-ld} -m elf_x86_64"
7223 ppc
*-*linux
*|powerpc
*-*linux
*)
7224 LD
="${LD-ld} -m elf64ppc"
7226 s390
*-*linux
*|s390
*-*tpf
*)
7227 LD
="${LD-ld} -m elf64_s390"
7230 LD
="${LD-ld} -m elf64_sparc"
7240 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7241 SAVE_CFLAGS
="$CFLAGS"
7242 CFLAGS
="$CFLAGS -belf"
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7244 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7245 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7246 $as_echo_n "(cached) " >&6
7249 ac_cpp
='$CPP $CPPFLAGS'
7250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7255 /* end confdefs.h. */
7265 if ac_fn_c_try_link
"$LINENO"; then :
7266 lt_cv_cc_needs_belf
=yes
7268 lt_cv_cc_needs_belf
=no
7270 rm -f core conftest.err conftest.
$ac_objext \
7271 conftest
$ac_exeext conftest.
$ac_ext
7273 ac_cpp
='$CPP $CPPFLAGS'
7274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7280 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7281 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7282 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7283 CFLAGS
="$SAVE_CFLAGS"
7287 # Find out which ABI we are using.
7288 echo 'int i;' > conftest.
$ac_ext
7289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7290 (eval $ac_compile) 2>&5
7292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7293 test $ac_status = 0; }; then
7294 case `/usr/bin/file conftest.o` in
7296 case $lt_cv_prog_gnu_ld in
7297 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7299 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7311 need_locks
="$enable_libtool_lock"
7315 rhapsody
* | darwin
*)
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7318 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7322 $as_echo_n "(cached) " >&6
7324 if test -n "$DSYMUTIL"; then
7325 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7331 test -z "$as_dir" && as_dir
=.
7332 for ac_exec_ext
in '' $ac_executable_extensions; do
7333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7334 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7345 if test -n "$DSYMUTIL"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7347 $as_echo "$DSYMUTIL" >&6; }
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_DSYMUTIL"; then
7356 ac_ct_DSYMUTIL
=$DSYMUTIL
7357 # Extract the first word of "dsymutil", so it can be a program name with args.
7358 set dummy dsymutil
; ac_word
=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7362 $as_echo_n "(cached) " >&6
7364 if test -n "$ac_ct_DSYMUTIL"; then
7365 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7371 test -z "$as_dir" && as_dir
=.
7372 for ac_exec_ext
in '' $ac_executable_extensions; do
7373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7374 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7385 if test -n "$ac_ct_DSYMUTIL"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7387 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_DSYMUTIL" = x
; then
7396 case $cross_compiling:$ac_tool_warned in
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned
=yes ;;
7402 DSYMUTIL
=$ac_ct_DSYMUTIL
7405 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7408 if test -n "$ac_tool_prefix"; then
7409 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7410 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7414 $as_echo_n "(cached) " >&6
7416 if test -n "$NMEDIT"; then
7417 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7423 test -z "$as_dir" && as_dir
=.
7424 for ac_exec_ext
in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 NMEDIT
=$ac_cv_prog_NMEDIT
7437 if test -n "$NMEDIT"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7439 $as_echo "$NMEDIT" >&6; }
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7447 if test -z "$ac_cv_prog_NMEDIT"; then
7448 ac_ct_NMEDIT
=$NMEDIT
7449 # Extract the first word of "nmedit", so it can be a program name with args.
7450 set dummy nmedit
; ac_word
=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7454 $as_echo_n "(cached) " >&6
7456 if test -n "$ac_ct_NMEDIT"; then
7457 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7463 test -z "$as_dir" && as_dir
=.
7464 for ac_exec_ext
in '' $ac_executable_extensions; do
7465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7466 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7477 if test -n "$ac_ct_NMEDIT"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7479 $as_echo "$ac_ct_NMEDIT" >&6; }
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7485 if test "x$ac_ct_NMEDIT" = x
; then
7488 case $cross_compiling:$ac_tool_warned in
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7492 ac_tool_warned
=yes ;;
7494 NMEDIT
=$ac_ct_NMEDIT
7497 NMEDIT
="$ac_cv_prog_NMEDIT"
7500 if test -n "$ac_tool_prefix"; then
7501 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7502 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504 $as_echo_n "checking for $ac_word... " >&6; }
7505 if test "${ac_cv_prog_LIPO+set}" = set; then :
7506 $as_echo_n "(cached) " >&6
7508 if test -n "$LIPO"; then
7509 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7515 test -z "$as_dir" && as_dir
=.
7516 for ac_exec_ext
in '' $ac_executable_extensions; do
7517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7518 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528 LIPO
=$ac_cv_prog_LIPO
7529 if test -n "$LIPO"; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7531 $as_echo "$LIPO" >&6; }
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7534 $as_echo "no" >&6; }
7539 if test -z "$ac_cv_prog_LIPO"; then
7541 # Extract the first word of "lipo", so it can be a program name with args.
7542 set dummy lipo
; ac_word
=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7546 $as_echo_n "(cached) " >&6
7548 if test -n "$ac_ct_LIPO"; then
7549 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7555 test -z "$as_dir" && as_dir
=.
7556 for ac_exec_ext
in '' $ac_executable_extensions; do
7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7558 ac_cv_prog_ac_ct_LIPO
="lipo"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7569 if test -n "$ac_ct_LIPO"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7571 $as_echo "$ac_ct_LIPO" >&6; }
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7577 if test "x$ac_ct_LIPO" = x
; then
7580 case $cross_compiling:$ac_tool_warned in
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7584 ac_tool_warned
=yes ;;
7589 LIPO
="$ac_cv_prog_LIPO"
7592 if test -n "$ac_tool_prefix"; then
7593 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7594 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7596 $as_echo_n "checking for $ac_word... " >&6; }
7597 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7598 $as_echo_n "(cached) " >&6
7600 if test -n "$OTOOL"; then
7601 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7607 test -z "$as_dir" && as_dir
=.
7608 for ac_exec_ext
in '' $ac_executable_extensions; do
7609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7620 OTOOL
=$ac_cv_prog_OTOOL
7621 if test -n "$OTOOL"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7623 $as_echo "$OTOOL" >&6; }
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7626 $as_echo "no" >&6; }
7631 if test -z "$ac_cv_prog_OTOOL"; then
7633 # Extract the first word of "otool", so it can be a program name with args.
7634 set dummy otool
; ac_word
=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636 $as_echo_n "checking for $ac_word... " >&6; }
7637 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7638 $as_echo_n "(cached) " >&6
7640 if test -n "$ac_ct_OTOOL"; then
7641 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7647 test -z "$as_dir" && as_dir
=.
7648 for ac_exec_ext
in '' $ac_executable_extensions; do
7649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7650 ac_cv_prog_ac_ct_OTOOL
="otool"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7661 if test -n "$ac_ct_OTOOL"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7663 $as_echo "$ac_ct_OTOOL" >&6; }
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 $as_echo "no" >&6; }
7669 if test "x$ac_ct_OTOOL" = x
; then
7672 case $cross_compiling:$ac_tool_warned in
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7676 ac_tool_warned
=yes ;;
7681 OTOOL
="$ac_cv_prog_OTOOL"
7684 if test -n "$ac_tool_prefix"; then
7685 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7686 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7689 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7690 $as_echo_n "(cached) " >&6
7692 if test -n "$OTOOL64"; then
7693 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7699 test -z "$as_dir" && as_dir
=.
7700 for ac_exec_ext
in '' $ac_executable_extensions; do
7701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7702 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7712 OTOOL64
=$ac_cv_prog_OTOOL64
7713 if test -n "$OTOOL64"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7715 $as_echo "$OTOOL64" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7723 if test -z "$ac_cv_prog_OTOOL64"; then
7724 ac_ct_OTOOL64
=$OTOOL64
7725 # Extract the first word of "otool64", so it can be a program name with args.
7726 set dummy otool64
; ac_word
=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728 $as_echo_n "checking for $ac_word... " >&6; }
7729 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7730 $as_echo_n "(cached) " >&6
7732 if test -n "$ac_ct_OTOOL64"; then
7733 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir
=.
7740 for ac_exec_ext
in '' $ac_executable_extensions; do
7741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7742 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7752 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7753 if test -n "$ac_ct_OTOOL64"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7755 $as_echo "$ac_ct_OTOOL64" >&6; }
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758 $as_echo "no" >&6; }
7761 if test "x$ac_ct_OTOOL64" = x
; then
7764 case $cross_compiling:$ac_tool_warned in
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7768 ac_tool_warned
=yes ;;
7770 OTOOL64
=$ac_ct_OTOOL64
7773 OTOOL64
="$ac_cv_prog_OTOOL64"
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7803 $as_echo_n "checking for -single_module linker flag... " >&6; }
7804 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7805 $as_echo_n "(cached) " >&6
7807 lt_cv_apple_cc_single_mod
=no
7808 if test -z "${LT_MULTI_MODULE}"; then
7809 # By default we will add the -single_module flag. You can override
7810 # by either setting the environment variable LT_MULTI_MODULE
7811 # non-empty at configure time, or by adding -multi_module to the
7813 rm -rf libconftest.dylib
*
7814 echo "int foo(void){return 1;}" > conftest.c
7815 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7816 -dynamiclib -Wl,-single_module conftest.c" >&5
7817 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7818 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7820 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
7821 lt_cv_apple_cc_single_mod
=yes
7823 cat conftest.err
>&5
7825 rm -rf libconftest.dylib
*
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7830 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7832 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7833 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7834 $as_echo_n "(cached) " >&6
7836 lt_cv_ld_exported_symbols_list
=no
7837 save_LDFLAGS
=$LDFLAGS
7838 echo "_main" > conftest.sym
7839 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7841 /* end confdefs.h. */
7851 if ac_fn_c_try_link
"$LINENO"; then :
7852 lt_cv_ld_exported_symbols_list
=yes
7854 lt_cv_ld_exported_symbols_list
=no
7856 rm -f core conftest.err conftest.
$ac_objext \
7857 conftest
$ac_exeext conftest.
$ac_ext
7858 LDFLAGS
="$save_LDFLAGS"
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7862 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7864 rhapsody
* | darwin1.
[012])
7865 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7867 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7868 darwin
*) # darwin 5.x on
7869 # if running on 10.5 or later, the deployment target defaults
7870 # to the OS version, if on x86, and 10.4, the deployment
7871 # target defaults to 10.4. Don't you love it?
7872 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7873 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7874 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7876 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7878 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7882 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7883 _lt_dar_single_mod
='$single_module'
7885 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7886 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7888 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7890 if test "$DSYMUTIL" != ":"; then
7891 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7898 for ac_header
in dlfcn.h
7900 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7902 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7903 cat >>confdefs.h
<<_ACEOF
7904 #define HAVE_DLFCN_H 1
7926 # Check whether --with-pic was given.
7927 if test "${with_pic+set}" = set; then :
7928 withval
=$with_pic; pic_mode
="$withval"
7934 test -z "$pic_mode" && pic_mode
=default
7942 # Check whether --enable-fast-install was given.
7943 if test "${enable_fast_install+set}" = set; then :
7944 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7946 yes) enable_fast_install
=yes ;;
7947 no
) enable_fast_install
=no
;;
7949 enable_fast_install
=no
7950 # Look at the argument we got. We use all the common list separators.
7951 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7952 for pkg
in $enableval; do
7954 if test "X$pkg" = "X$p"; then
7955 enable_fast_install
=yes
7962 enable_fast_install
=yes
7975 # This can be used to rebuild libtool when needed
7976 LIBTOOL_DEPS
="$ltmain"
7978 # Always use our own libtool.
7979 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8005 test -z "$LN_S" && LN_S
="ln -s"
8020 if test -n "${ZSH_VERSION+set}" ; then
8021 setopt NO_GLOB_SUBST
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8025 $as_echo_n "checking for objdir... " >&6; }
8026 if test "${lt_cv_objdir+set}" = set; then :
8027 $as_echo_n "(cached) " >&6
8029 rm -f .libs
2>/dev
/null
8030 mkdir .libs
2>/dev
/null
8031 if test -d .libs
; then
8034 # MS-DOS does not allow filenames that begin with a dot.
8037 rmdir .libs
2>/dev
/null
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8040 $as_echo "$lt_cv_objdir" >&6; }
8041 objdir
=$lt_cv_objdir
8047 cat >>confdefs.h
<<_ACEOF
8048 #define LT_OBJDIR "$lt_cv_objdir/"
8069 # AIX sometimes has problems with the GCC collect2 program. For some
8070 # reason, if we set the COLLECT_NAMES environment variable, the problems
8071 # vanish in a puff of smoke.
8072 if test "X${COLLECT_NAMES+set}" != Xset
; then
8074 export COLLECT_NAMES
8079 # Sed substitution that helps us do robust quoting. It backslashifies
8080 # metacharacters that are still active within double-quoted strings.
8081 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8083 # Same as above, but do not quote variable references.
8084 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8086 # Sed substitution to delay expansion of an escaped shell variable in a
8087 # double_quote_subst'ed string.
8088 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8090 # Sed substitution to delay expansion of an escaped single quote.
8091 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8093 # Sed substitution to avoid accidental globbing in evaled expressions
8094 no_glob_subst
='s/\*/\\\*/g'
8098 can_build_shared
=yes
8100 # All known linkers require a `.a' archive for static linking (except MSVC,
8101 # which needs '.lib').
8104 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8107 old_CFLAGS
="$CFLAGS"
8109 # Set sane defaults for various variables
8110 test -z "$CC" && CC
=cc
8111 test -z "$LTCC" && LTCC
=$CC
8112 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8113 test -z "$LD" && LD
=ld
8114 test -z "$ac_objext" && ac_objext
=o
8116 for cc_temp
in $compiler""; do
8118 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8119 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8124 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8127 # Only perform the check for file, if the check method requires it
8128 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8129 case $deplibs_check_method in
8131 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8133 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8134 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8135 $as_echo_n "(cached) " >&6
8139 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8142 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8143 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8144 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8145 for ac_dir
in $ac_dummy; do
8147 test -z "$ac_dir" && ac_dir
=.
8148 if test -f $ac_dir/${ac_tool_prefix}file; then
8149 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8150 if test -n "$file_magic_test_file"; then
8151 case $deplibs_check_method in
8153 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8154 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8155 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8156 $EGREP "$file_magic_regex" > /dev
/null
; then
8161 *** Warning: the command libtool uses to detect shared libraries,
8162 *** $file_magic_cmd, produces output that libtool cannot recognize.
8163 *** The result is that libtool may fail to recognize shared libraries
8164 *** as such. This will affect the creation of libtool libraries that
8165 *** depend on shared libraries, but programs linked with such libtool
8166 *** libraries will work regardless of this problem. Nevertheless, you
8167 *** may want to report the problem to your system manager and/or to
8168 *** bug-libtool@gnu.org
8178 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8183 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8184 if test -n "$MAGIC_CMD"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8186 $as_echo "$MAGIC_CMD" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8189 $as_echo "no" >&6; }
8196 if test -z "$lt_cv_path_MAGIC_CMD"; then
8197 if test -n "$ac_tool_prefix"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8199 $as_echo_n "checking for file... " >&6; }
8200 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8201 $as_echo_n "(cached) " >&6
8205 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8208 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8209 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8210 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8211 for ac_dir
in $ac_dummy; do
8213 test -z "$ac_dir" && ac_dir
=.
8214 if test -f $ac_dir/file; then
8215 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8216 if test -n "$file_magic_test_file"; then
8217 case $deplibs_check_method in
8219 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8220 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8221 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8222 $EGREP "$file_magic_regex" > /dev
/null
; then
8227 *** Warning: the command libtool uses to detect shared libraries,
8228 *** $file_magic_cmd, produces output that libtool cannot recognize.
8229 *** The result is that libtool may fail to recognize shared libraries
8230 *** as such. This will affect the creation of libtool libraries that
8231 *** depend on shared libraries, but programs linked with such libtool
8232 *** libraries will work regardless of this problem. Nevertheless, you
8233 *** may want to report the problem to your system manager and/or to
8234 *** bug-libtool@gnu.org
8244 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8249 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8250 if test -n "$MAGIC_CMD"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8252 $as_echo "$MAGIC_CMD" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255 $as_echo "no" >&6; }
8268 # Use C for the default configuration in the libtool script
8272 ac_cpp
='$CPP $CPPFLAGS'
8273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8278 # Source file extension for C test sources.
8281 # Object file extension for compiled C test sources.
8285 # Code to be used in simple compile tests
8286 lt_simple_compile_test_code
="int some_variable = 0;"
8288 # Code to be used in simple link tests
8289 lt_simple_link_test_code
='int main(){return(0);}'
8297 # If no C compiler was specified, use CC.
8300 # If no C compiler flags were specified, use CFLAGS.
8301 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8303 # Allow CC to be a program name with arguments.
8306 # Save the default compiler, since it gets overwritten when the other
8307 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8308 compiler_DEFAULT
=$CC
8310 # save warnings/boilerplate of simple test code
8311 ac_outfile
=conftest.
$ac_objext
8312 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8313 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8314 _lt_compiler_boilerplate
=`cat conftest.err`
8317 ac_outfile
=conftest.
$ac_objext
8318 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8319 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8320 _lt_linker_boilerplate
=`cat conftest.err`
8324 if test -n "$compiler"; then
8326 lt_prog_compiler_no_builtin_flag
=
8328 if test "$GCC" = yes; then
8329 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8332 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8333 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8336 lt_cv_prog_compiler_rtti_exceptions
=no
8337 ac_outfile
=conftest.
$ac_objext
8338 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8339 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8340 # Insert the option either (1) after the last *FLAGS variable, or
8341 # (2) before a word containing "conftest.", or (3) at the end.
8342 # Note that $ac_compile itself does not contain backslashes and begins
8343 # with a dollar sign (not a hyphen), so the echo should work correctly.
8344 # The option is referenced via a variable to avoid confusing sed.
8345 lt_compile
=`echo "$ac_compile" | $SED \
8346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8348 -e 's:$: $lt_compiler_flag:'`
8349 (eval echo "\"\$as_me:8349: $lt_compile\"" >&5)
8350 (eval "$lt_compile" 2>conftest.err
)
8352 cat conftest.err
>&5
8353 echo "$as_me:8353: \$? = $ac_status" >&5
8354 if (exit $ac_status) && test -s "$ac_outfile"; then
8355 # The compiler can only warn and ignore the option if not recognized
8356 # So say no if there are warnings other than the usual output.
8357 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8358 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8359 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8360 lt_cv_prog_compiler_rtti_exceptions
=yes
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8367 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8369 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8370 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8382 lt_prog_compiler_wl
=
8383 lt_prog_compiler_pic
=
8384 lt_prog_compiler_static
=
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8387 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8389 if test "$GCC" = yes; then
8390 lt_prog_compiler_wl
='-Wl,'
8391 lt_prog_compiler_static
='-static'
8395 # All AIX code is PIC.
8396 if test "$host_cpu" = ia64
; then
8397 # AIX 5 now supports IA64 processor
8398 lt_prog_compiler_static
='-Bstatic'
8405 # see comment about AmigaOS4 .so support
8406 lt_prog_compiler_pic
='-fPIC'
8409 # FIXME: we need at least 68020 code to build shared libraries, but
8410 # adding the `-m68020' flag to GCC prevents building anything better,
8412 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8417 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8418 # PIC is the default for these OSes.
8421 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8422 # This hack is so that the source file can tell whether it is being
8423 # built for inclusion in a dll (and should export symbols for example).
8424 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8425 # (--disable-auto-import) libraries
8426 lt_prog_compiler_pic
='-DDLL_EXPORT'
8429 darwin
* | rhapsody
*)
8430 # PIC is the default on this platform
8431 # Common symbols not allowed in MH_DYLIB files
8432 lt_prog_compiler_pic
='-fno-common'
8436 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8437 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8438 # sets the default TLS model and affects inlining.
8444 lt_prog_compiler_pic
='-fPIC'
8450 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8451 # Instead, we relocate shared libraries at runtime.
8455 # Just because we use GCC doesn't mean we suddenly get shared libraries
8456 # on systems that don't support them.
8457 lt_prog_compiler_can_build_shared
=no
8462 # QNX uses GNU C++, but need to define -shared option too, otherwise
8464 lt_prog_compiler_pic
='-fPIC -shared'
8468 if test -d /usr
/nec
; then
8469 lt_prog_compiler_pic
=-Kconform_pic
8474 lt_prog_compiler_pic
='-fPIC'
8478 # PORTME Check for flag to pass linker flags through the system compiler.
8481 lt_prog_compiler_wl
='-Wl,'
8482 if test "$host_cpu" = ia64
; then
8483 # AIX 5 now supports IA64 processor
8484 lt_prog_compiler_static
='-Bstatic'
8486 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8490 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8491 # This hack is so that the source file can tell whether it is being
8492 # built for inclusion in a dll (and should export symbols for example).
8493 lt_prog_compiler_pic
='-DDLL_EXPORT'
8496 hpux9
* | hpux10
* | hpux11
*)
8497 lt_prog_compiler_wl
='-Wl,'
8498 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8505 lt_prog_compiler_pic
='+Z'
8508 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8509 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8512 irix5
* | irix6
* | nonstopux
*)
8513 lt_prog_compiler_wl
='-Wl,'
8514 # PIC (with -KPIC) is the default.
8515 lt_prog_compiler_static
='-non_shared'
8518 linux
* | k
*bsd
*-gnu)
8519 case $cc_basename in
8520 # old Intel for x86_64 which still supported -KPIC.
8522 lt_prog_compiler_wl
='-Wl,'
8523 lt_prog_compiler_pic
='-KPIC'
8524 lt_prog_compiler_static
='-static'
8526 # icc used to be incompatible with GCC.
8527 # ICC 10 doesn't accept -KPIC any more.
8529 lt_prog_compiler_wl
='-Wl,'
8530 lt_prog_compiler_pic
='-fPIC'
8531 lt_prog_compiler_static
='-static'
8533 # Lahey Fortran 8.1.
8535 lt_prog_compiler_wl
='-Wl,'
8536 lt_prog_compiler_pic
='--shared'
8537 lt_prog_compiler_static
='--static'
8539 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8540 # Portland Group compilers (*not* the Pentium gcc compiler,
8541 # which looks to be a dead project)
8542 lt_prog_compiler_wl
='-Wl,'
8543 lt_prog_compiler_pic
='-fpic'
8544 lt_prog_compiler_static
='-Bstatic'
8547 lt_prog_compiler_wl
='-Wl,'
8548 # All Alpha code is PIC.
8549 lt_prog_compiler_static
='-non_shared'
8552 # IBM XL C 8.0/Fortran 10.1 on PPC
8553 lt_prog_compiler_wl
='-Wl,'
8554 lt_prog_compiler_pic
='-qpic'
8555 lt_prog_compiler_static
='-qstaticlink'
8558 case `$CC -V 2>&1 | sed 5q` in
8561 lt_prog_compiler_pic
='-KPIC'
8562 lt_prog_compiler_static
='-Bstatic'
8563 lt_prog_compiler_wl
='-Wl,'
8566 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8567 lt_prog_compiler_pic
='-KPIC'
8568 lt_prog_compiler_static
='-Bstatic'
8569 lt_prog_compiler_wl
=''
8577 lt_prog_compiler_pic
='-KPIC'
8578 lt_prog_compiler_static
='-Bstatic'
8582 # QNX uses GNU C++, but need to define -shared option too, otherwise
8584 lt_prog_compiler_pic
='-fPIC -shared'
8587 osf3
* | osf4
* | osf5
*)
8588 lt_prog_compiler_wl
='-Wl,'
8589 # All OSF/1 code is PIC.
8590 lt_prog_compiler_static
='-non_shared'
8594 lt_prog_compiler_static
='-non_shared'
8598 lt_prog_compiler_pic
='-KPIC'
8599 lt_prog_compiler_static
='-Bstatic'
8600 case $cc_basename in
8602 lt_prog_compiler_wl
='-Qoption ld ';;
8604 lt_prog_compiler_wl
='-Wl,';;
8609 lt_prog_compiler_wl
='-Qoption ld '
8610 lt_prog_compiler_pic
='-PIC'
8611 lt_prog_compiler_static
='-Bstatic'
8614 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8615 lt_prog_compiler_wl
='-Wl,'
8616 lt_prog_compiler_pic
='-KPIC'
8617 lt_prog_compiler_static
='-Bstatic'
8621 if test -d /usr
/nec
;then
8622 lt_prog_compiler_pic
='-Kconform_pic'
8623 lt_prog_compiler_static
='-Bstatic'
8627 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8628 lt_prog_compiler_wl
='-Wl,'
8629 lt_prog_compiler_pic
='-KPIC'
8630 lt_prog_compiler_static
='-Bstatic'
8634 lt_prog_compiler_wl
='-Wl,'
8635 lt_prog_compiler_can_build_shared
=no
8639 lt_prog_compiler_pic
='-pic'
8640 lt_prog_compiler_static
='-Bstatic'
8644 lt_prog_compiler_can_build_shared
=no
8650 # For platforms which do not support PIC, -DPIC is meaningless:
8652 lt_prog_compiler_pic
=
8655 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8659 $as_echo "$lt_prog_compiler_pic" >&6; }
8667 # Check to make sure the PIC flag actually works.
8669 if test -n "$lt_prog_compiler_pic"; then
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8671 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8672 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8673 $as_echo_n "(cached) " >&6
8675 lt_cv_prog_compiler_pic_works
=no
8676 ac_outfile
=conftest.
$ac_objext
8677 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8678 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8679 # Insert the option either (1) after the last *FLAGS variable, or
8680 # (2) before a word containing "conftest.", or (3) at the end.
8681 # Note that $ac_compile itself does not contain backslashes and begins
8682 # with a dollar sign (not a hyphen), so the echo should work correctly.
8683 # The option is referenced via a variable to avoid confusing sed.
8684 lt_compile
=`echo "$ac_compile" | $SED \
8685 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8686 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8687 -e 's:$: $lt_compiler_flag:'`
8688 (eval echo "\"\$as_me:8688: $lt_compile\"" >&5)
8689 (eval "$lt_compile" 2>conftest.err
)
8691 cat conftest.err
>&5
8692 echo "$as_me:8692: \$? = $ac_status" >&5
8693 if (exit $ac_status) && test -s "$ac_outfile"; then
8694 # The compiler can only warn and ignore the option if not recognized
8695 # So say no if there are warnings other than the usual output.
8696 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8697 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8698 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8699 lt_cv_prog_compiler_pic_works
=yes
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8706 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8708 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8709 case $lt_prog_compiler_pic in
8711 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8714 lt_prog_compiler_pic
=
8715 lt_prog_compiler_can_build_shared
=no
8726 # Check to make sure the static flag actually works.
8728 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8730 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8731 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8732 $as_echo_n "(cached) " >&6
8734 lt_cv_prog_compiler_static_works
=no
8735 save_LDFLAGS
="$LDFLAGS"
8736 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8737 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8738 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8739 # The linker can only warn and ignore the option if not recognized
8740 # So say no if there are warnings
8741 if test -s conftest.err
; then
8742 # Append any errors to the config.log.
8743 cat conftest.err
1>&5
8744 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8745 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8746 if diff conftest.exp conftest.er2
>/dev
/null
; then
8747 lt_cv_prog_compiler_static_works
=yes
8750 lt_cv_prog_compiler_static_works
=yes
8754 LDFLAGS
="$save_LDFLAGS"
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8758 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8760 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8763 lt_prog_compiler_static
=
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8773 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8774 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8775 $as_echo_n "(cached) " >&6
8777 lt_cv_prog_compiler_c_o
=no
8778 $RM -r conftest
2>/dev
/null
8782 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8784 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8785 # Insert the option either (1) after the last *FLAGS variable, or
8786 # (2) before a word containing "conftest.", or (3) at the end.
8787 # Note that $ac_compile itself does not contain backslashes and begins
8788 # with a dollar sign (not a hyphen), so the echo should work correctly.
8789 lt_compile
=`echo "$ac_compile" | $SED \
8790 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8792 -e 's:$: $lt_compiler_flag:'`
8793 (eval echo "\"\$as_me:8793: $lt_compile\"" >&5)
8794 (eval "$lt_compile" 2>out
/conftest.err
)
8796 cat out
/conftest.err
>&5
8797 echo "$as_me:8797: \$? = $ac_status" >&5
8798 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8800 # The compiler can only warn and ignore the option if not recognized
8801 # So say no if there are warnings
8802 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
8803 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8804 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8805 lt_cv_prog_compiler_c_o
=yes
8810 # SGI C++ compiler will create directory out/ii_files/ for
8811 # template instantiation
8812 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8813 $RM out
/* && rmdir out
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8820 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8828 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8829 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8830 $as_echo_n "(cached) " >&6
8832 lt_cv_prog_compiler_c_o
=no
8833 $RM -r conftest
2>/dev
/null
8837 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8839 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8840 # Insert the option either (1) after the last *FLAGS variable, or
8841 # (2) before a word containing "conftest.", or (3) at the end.
8842 # Note that $ac_compile itself does not contain backslashes and begins
8843 # with a dollar sign (not a hyphen), so the echo should work correctly.
8844 lt_compile
=`echo "$ac_compile" | $SED \
8845 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8847 -e 's:$: $lt_compiler_flag:'`
8848 (eval echo "\"\$as_me:8848: $lt_compile\"" >&5)
8849 (eval "$lt_compile" 2>out
/conftest.err
)
8851 cat out
/conftest.err
>&5
8852 echo "$as_me:8852: \$? = $ac_status" >&5
8853 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8855 # The compiler can only warn and ignore the option if not recognized
8856 # So say no if there are warnings
8857 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
8858 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8859 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8860 lt_cv_prog_compiler_c_o
=yes
8865 # SGI C++ compiler will create directory out/ii_files/ for
8866 # template instantiation
8867 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8868 $RM out
/* && rmdir out
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8875 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8880 hard_links
="nottested"
8881 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8882 # do not overwrite the value of need_locks provided by the user
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8884 $as_echo_n "checking if we can lock with hard links... " >&6; }
8887 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8889 ln conftest.a conftest.b
2>&5 || hard_links
=no
8890 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8892 $as_echo "$hard_links" >&6; }
8893 if test "$hard_links" = no
; then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8895 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8908 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8911 allow_undefined_flag
=
8912 always_export_symbols
=no
8914 archive_expsym_cmds
=
8915 compiler_needs_object
=no
8916 enable_shared_with_static_runtimes
=no
8917 export_dynamic_flag_spec
=
8918 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8919 hardcode_automatic
=no
8921 hardcode_direct_absolute
=no
8922 hardcode_libdir_flag_spec
=
8923 hardcode_libdir_flag_spec_ld
=
8924 hardcode_libdir_separator
=
8926 hardcode_shlibpath_var
=unsupported
8928 link_all_deplibs
=unknown
8931 old_archive_from_new_cmds
=
8932 old_archive_from_expsyms_cmds
=
8933 thread_safe_flag_spec
=
8934 whole_archive_flag_spec
=
8935 # include_expsyms should be a list of space-separated symbols to be *always*
8936 # included in the symbol list
8938 # exclude_expsyms can be an extended regexp of symbols to exclude
8939 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8940 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8941 # as well as any symbol that contains `d'.
8942 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8943 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8944 # platforms (ab)use it in PIC code, but their linkers get confused if
8945 # the symbol is explicitly referenced. Since portable code cannot
8946 # rely on this symbol name, it's probably fine to never include it in
8947 # preloaded symbol tables.
8948 # Exclude shared library initialization/finalization symbols.
8949 extract_expsyms_cmds
=
8952 cygwin
* | mingw
* | pw32
* | cegcc
*)
8953 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8954 # When not using gcc, we currently assume that we are using
8955 # Microsoft Visual C++.
8956 if test "$GCC" != yes; then
8961 # we just hope/assume this is gcc and not c89 (= MSVC++)
8970 if test "$with_gnu_ld" = yes; then
8971 # If archive_cmds runs LD, not CC, wlarc should be empty
8974 # Set some defaults for GNU ld with shared library support. These
8975 # are reset later if shared libraries are not supported. Putting them
8976 # here allows them to be overridden if necessary.
8977 runpath_var
=LD_RUN_PATH
8978 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8979 export_dynamic_flag_spec
='${wl}--export-dynamic'
8980 # ancient GNU ld didn't support --whole-archive et. al.
8981 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
8982 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8984 whole_archive_flag_spec
=
8986 supports_anon_versioning
=no
8987 case `$LD -v 2>&1` in
8988 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
8989 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8990 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8991 *\
2.11.
*) ;; # other 2.11 versions
8992 *) supports_anon_versioning
=yes ;;
8995 # See if GNU ld supports shared libraries.
8998 # On AIX/PPC, the GNU linker is very broken
8999 if test "$host_cpu" != ia64
; then
9003 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9004 *** to be unable to reliably create shared libraries on AIX.
9005 *** Therefore, libtool is disabling shared libraries support. If you
9006 *** really care for shared libraries, you may want to modify your PATH
9007 *** so that a non-GNU linker is found, and then restart.
9016 # see comment about AmigaOS4 .so support
9017 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9018 archive_expsym_cmds
=''
9021 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)'
9022 hardcode_libdir_flag_spec
='-L$libdir'
9023 hardcode_minus_L
=yes
9029 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9030 allow_undefined_flag
=unsupported
9031 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9032 # support --undefined. This deserves some investigation. FIXME
9033 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9039 cygwin
* | mingw
* | pw32
* | cegcc
*)
9040 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9041 # as there is no search path for DLLs.
9042 hardcode_libdir_flag_spec
='-L$libdir'
9043 allow_undefined_flag
=unsupported
9044 always_export_symbols
=no
9045 enable_shared_with_static_runtimes
=yes
9046 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9048 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9049 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9050 # If the export-symbols file already is a .def file (1st line
9051 # is EXPORTS), use it as is; otherwise, prepend...
9052 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9053 cp $export_symbols $output_objdir/$soname.def;
9055 echo EXPORTS > $output_objdir/$soname.def;
9056 cat $export_symbols >> $output_objdir/$soname.def;
9058 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9066 hardcode_shlibpath_var
=no
9067 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9068 export_dynamic_flag_spec
='${wl}-E'
9069 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9070 # Instead, shared libraries are loaded at an image base (0x10000000 by
9071 # default) and relocated if they conflict, which is a slow very memory
9072 # consuming and fragmenting process. To avoid this, we pick a random,
9073 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9074 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9075 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9076 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'
9079 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9081 if test "$host_os" = linux
-dietlibc; then
9082 case $cc_basename in
9083 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9086 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9087 && test "$tmp_diet" = no
9090 tmp_sharedflag
='-shared'
9091 case $cc_basename,$host_cpu in
9092 pgcc
*) # Portland Group C compiler
9093 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'
9094 tmp_addflag
=' $pic_flag'
9096 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9097 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'
9098 tmp_addflag
=' $pic_flag -Mnomain' ;;
9099 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9100 tmp_addflag
=' -i_dynamic' ;;
9101 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9102 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9103 ifc
* | ifort
*) # Intel Fortran compiler
9104 tmp_addflag
=' -nofor_main' ;;
9105 lf95
*) # Lahey Fortran 8.1
9106 whole_archive_flag_spec
=
9107 tmp_sharedflag
='--shared' ;;
9108 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9109 tmp_sharedflag
='-qmkshrobj'
9112 case `$CC -V 2>&1 | sed 5q` in
9113 *Sun\ C
*) # Sun C 5.9
9114 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'
9115 compiler_needs_object
=yes
9116 tmp_sharedflag
='-G' ;;
9117 *Sun\ F
*) # Sun Fortran 8.3
9118 tmp_sharedflag
='-G' ;;
9120 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122 if test "x$supports_anon_versioning" = xyes
; then
9123 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9124 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9125 echo "local: *; };" >> $output_objdir/$libname.ver~
9126 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9129 case $cc_basename in
9131 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9132 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9133 hardcode_libdir_flag_spec
=
9134 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9135 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9136 if test "x$supports_anon_versioning" = xyes
; then
9137 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9138 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9139 echo "local: *; };" >> $output_objdir/$libname.ver~
9140 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9150 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9151 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9154 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9155 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9160 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9164 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9165 *** create shared libraries on Solaris systems. Therefore, libtool
9166 *** is disabling shared libraries support. We urge you to upgrade GNU
9167 *** binutils to release 2.9.1 or newer. Another option is to modify
9168 *** your PATH or compiler configuration so that the native linker is
9169 *** used, and then restart.
9172 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9174 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9180 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9181 case `$LD -v 2>&1` in
9182 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9186 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9187 *** reliably create shared libraries on SCO systems. Therefore, libtool
9188 *** is disabling shared libraries support. We urge you to upgrade GNU
9189 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9190 *** your PATH or compiler configuration so that the native linker is
9191 *** used, and then restart.
9196 # For security reasons, it is highly recommended that you always
9197 # use absolute paths for naming shared libraries, and exclude the
9198 # DT_RUNPATH tag from executables and libraries. But doing so
9199 # requires that you compile everything twice, which is a pain.
9200 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9201 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9202 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9203 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9212 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9215 hardcode_shlibpath_var
=no
9219 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9220 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9221 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9228 if test "$ld_shlibs" = no
; then
9230 hardcode_libdir_flag_spec
=
9231 export_dynamic_flag_spec
=
9232 whole_archive_flag_spec
=
9235 # PORTME fill in a description of your system's linker (not GNU ld)
9238 allow_undefined_flag
=unsupported
9239 always_export_symbols
=yes
9240 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'
9241 # Note: this linker hardcodes the directories in LIBPATH if there
9242 # are no directories specified by -L.
9243 hardcode_minus_L
=yes
9244 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9245 # Neither direct hardcoding nor static linking is supported with a
9247 hardcode_direct
=unsupported
9252 if test "$host_cpu" = ia64
; then
9253 # On IA64, the linker does run time linking by default, so we don't
9254 # have to do anything special.
9255 aix_use_runtimelinking
=no
9256 exp_sym_flag
='-Bexport'
9259 # If we're using GNU nm, then we don't want the "-C" option.
9260 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9261 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9262 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'
9264 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'
9266 aix_use_runtimelinking
=no
9268 # Test if we are trying to use run time linking or normal
9269 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9270 # need to do runtime linking.
9271 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9272 for ld_flag
in $LDFLAGS; do
9273 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9274 aix_use_runtimelinking
=yes
9281 exp_sym_flag
='-bexport'
9282 no_entry_flag
='-bnoentry'
9285 # When large executables or shared objects are built, AIX ld can
9286 # have problems creating the table of contents. If linking a library
9287 # or program results in "error TOC overflow" add -mminimal-toc to
9288 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9289 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9293 hardcode_direct_absolute
=yes
9294 hardcode_libdir_separator
=':'
9295 link_all_deplibs
=yes
9296 file_list_spec
='${wl}-f,'
9298 if test "$GCC" = yes; then
9299 case $host_os in aix4.
[012]|aix4.
[012].
*)
9300 # We only want to do this on AIX 4.2 and lower, the check
9301 # below for broken collect2 doesn't work under 4.3+
9302 collect2name
=`${CC} -print-prog-name=collect2`
9303 if test -f "$collect2name" &&
9304 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9306 # We have reworked collect2
9309 # We have old collect2
9310 hardcode_direct
=unsupported
9311 # It fails to find uninstalled libraries when the uninstalled
9312 # path is not listed in the libpath. Setting hardcode_minus_L
9313 # to unsupported forces relinking
9314 hardcode_minus_L
=yes
9315 hardcode_libdir_flag_spec
='-L$libdir'
9316 hardcode_libdir_separator
=
9320 shared_flag
='-shared'
9321 if test "$aix_use_runtimelinking" = yes; then
9322 shared_flag
="$shared_flag "'${wl}-G'
9326 if test "$host_cpu" = ia64
; then
9327 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9328 # chokes on -Wl,-G. The following line is correct:
9331 if test "$aix_use_runtimelinking" = yes; then
9332 shared_flag
='${wl}-G'
9334 shared_flag
='${wl}-bM:SRE'
9339 export_dynamic_flag_spec
='${wl}-bexpall'
9340 # It seems that -bexpall does not export symbols beginning with
9341 # underscore (_), so it is better to generate a list of symbols to export.
9342 always_export_symbols
=yes
9343 if test "$aix_use_runtimelinking" = yes; then
9344 # Warning - without using the other runtime loading flags (-brtl),
9345 # -berok will link without error, but may produce a broken library.
9346 allow_undefined_flag
='-berok'
9347 # Determine the default libpath from the value encoded in an
9349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9360 if ac_fn_c_try_link
"$LINENO"; then :
9362 lt_aix_libpath_sed
='
9363 /Import File Strings/,/^$/ {
9369 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9370 # Check for a 64-bit object if we didn't find anything.
9371 if test -z "$aix_libpath"; then
9372 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9375 rm -f core conftest.err conftest.
$ac_objext \
9376 conftest
$ac_exeext conftest.
$ac_ext
9377 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9379 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9380 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"
9382 if test "$host_cpu" = ia64
; then
9383 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9384 allow_undefined_flag
="-z nodefs"
9385 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"
9387 # Determine the default libpath from the value encoded in an
9389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9390 /* end confdefs.h. */
9400 if ac_fn_c_try_link
"$LINENO"; then :
9402 lt_aix_libpath_sed
='
9403 /Import File Strings/,/^$/ {
9409 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9410 # Check for a 64-bit object if we didn't find anything.
9411 if test -z "$aix_libpath"; then
9412 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9415 rm -f core conftest.err conftest.
$ac_objext \
9416 conftest
$ac_exeext conftest.
$ac_ext
9417 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9419 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9420 # Warning - without using the other run time loading flags,
9421 # -berok will link without error, but may produce a broken library.
9422 no_undefined_flag
=' ${wl}-bernotok'
9423 allow_undefined_flag
=' ${wl}-berok'
9424 # Exported symbols can be pulled into shared objects from archives
9425 whole_archive_flag_spec
='$convenience'
9426 archive_cmds_need_lc
=yes
9427 # This is similar to how AIX traditionally builds its shared libraries.
9428 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'
9436 # see comment about AmigaOS4 .so support
9437 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9438 archive_expsym_cmds
=''
9441 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)'
9442 hardcode_libdir_flag_spec
='-L$libdir'
9443 hardcode_minus_L
=yes
9449 export_dynamic_flag_spec
=-rdynamic
9452 cygwin
* | mingw
* | pw32
* | cegcc
*)
9453 # When not using gcc, we currently assume that we are using
9454 # Microsoft Visual C++.
9455 # hardcode_libdir_flag_spec is actually meaningless, as there is
9456 # no search path for DLLs.
9457 hardcode_libdir_flag_spec
=' '
9458 allow_undefined_flag
=unsupported
9459 # Tell ltmain to make .lib files, not .a files.
9461 # Tell ltmain to make .dll files, not .so files.
9463 # FIXME: Setting linknames here is a bad hack.
9464 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9465 # The linker will automatically build a .lib file if we build a DLL.
9466 old_archive_from_new_cmds
='true'
9467 # FIXME: Should let the user specify the lib program.
9468 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9469 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9470 enable_shared_with_static_runtimes
=yes
9473 darwin
* | rhapsody
*)
9476 archive_cmds_need_lc
=no
9478 hardcode_automatic
=yes
9479 hardcode_shlibpath_var
=unsupported
9480 whole_archive_flag_spec
=''
9481 link_all_deplibs
=yes
9482 allow_undefined_flag
="$_lt_dar_allow_undefined"
9483 case $cc_basename in
9484 ifort
*) _lt_dar_can_shared
=yes ;;
9485 *) _lt_dar_can_shared
=$GCC ;;
9487 if test "$_lt_dar_can_shared" = "yes"; then
9488 output_verbose_link_cmd
=echo
9489 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9490 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9491 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}"
9492 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}"
9501 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9502 hardcode_libdir_flag_spec
='-L$libdir'
9503 hardcode_shlibpath_var
=no
9510 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9511 # support. Future versions do this automatically, but an explicit c++rt0.o
9512 # does not break anything, and helps significantly (at the cost of a little
9515 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9516 hardcode_libdir_flag_spec
='-R$libdir'
9518 hardcode_shlibpath_var
=no
9521 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9523 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9525 hardcode_minus_L
=yes
9526 hardcode_shlibpath_var
=no
9529 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9530 freebsd
* | dragonfly
*)
9531 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9532 hardcode_libdir_flag_spec
='-R$libdir'
9534 hardcode_shlibpath_var
=no
9538 if test "$GCC" = yes; then
9539 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'
9541 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'
9543 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9544 hardcode_libdir_separator
=:
9547 # hardcode_minus_L: Not really in the search PATH,
9548 # but as the default location of the library.
9549 hardcode_minus_L
=yes
9550 export_dynamic_flag_spec
='${wl}-E'
9554 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9555 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9557 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9559 if test "$with_gnu_ld" = no
; then
9560 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9561 hardcode_libdir_flag_spec_ld
='+b $libdir'
9562 hardcode_libdir_separator
=:
9564 hardcode_direct_absolute
=yes
9565 export_dynamic_flag_spec
='${wl}-E'
9566 # hardcode_minus_L: Not really in the search PATH,
9567 # but as the default location of the library.
9568 hardcode_minus_L
=yes
9573 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9576 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9579 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9582 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9588 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9591 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9594 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9598 if test "$with_gnu_ld" = no
; then
9599 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9600 hardcode_libdir_separator
=:
9605 hardcode_shlibpath_var
=no
9609 hardcode_direct_absolute
=yes
9610 export_dynamic_flag_spec
='${wl}-E'
9612 # hardcode_minus_L: Not really in the search PATH,
9613 # but as the default location of the library.
9614 hardcode_minus_L
=yes
9620 irix5
* | irix6
* | nonstopux
*)
9621 if test "$GCC" = yes; then
9622 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'
9623 # Try to use the -exported_symbol ld option, if it does not
9624 # work, assume that -exports_file does not work either and
9625 # implicitly export all symbols.
9626 save_LDFLAGS
="$LDFLAGS"
9627 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9632 if ac_fn_c_try_link
"$LINENO"; then :
9633 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'
9636 rm -f core conftest.err conftest.
$ac_objext \
9637 conftest
$ac_exeext conftest.
$ac_ext
9638 LDFLAGS
="$save_LDFLAGS"
9640 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'
9641 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'
9643 archive_cmds_need_lc
='no'
9644 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9645 hardcode_libdir_separator
=:
9647 link_all_deplibs
=yes
9651 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9652 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9654 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9656 hardcode_libdir_flag_spec
='-R$libdir'
9658 hardcode_shlibpath_var
=no
9662 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9664 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9665 hardcode_libdir_separator
=:
9666 hardcode_shlibpath_var
=no
9673 if test -f /usr
/libexec
/ld.so
; then
9675 hardcode_shlibpath_var
=no
9676 hardcode_direct_absolute
=yes
9677 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9678 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9679 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9680 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9681 export_dynamic_flag_spec
='${wl}-E'
9684 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9685 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9686 hardcode_libdir_flag_spec
='-R$libdir'
9689 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9690 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9700 hardcode_libdir_flag_spec
='-L$libdir'
9701 hardcode_minus_L
=yes
9702 allow_undefined_flag
=unsupported
9703 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'
9704 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9708 if test "$GCC" = yes; then
9709 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9710 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'
9712 allow_undefined_flag
=' -expect_unresolved \*'
9713 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'
9715 archive_cmds_need_lc
='no'
9716 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9717 hardcode_libdir_separator
=:
9720 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9721 if test "$GCC" = yes; then
9722 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9723 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'
9724 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9726 allow_undefined_flag
=' -expect_unresolved \*'
9727 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'
9728 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~
9729 $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'
9731 # Both c and cxx compiler support -rpath directly
9732 hardcode_libdir_flag_spec
='-rpath $libdir'
9734 archive_cmds_need_lc
='no'
9735 hardcode_libdir_separator
=:
9739 no_undefined_flag
=' -z defs'
9740 if test "$GCC" = yes; then
9742 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9744 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9746 case `$CC -V 2>&1` in
9749 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9750 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9751 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9755 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9756 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9757 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9761 hardcode_libdir_flag_spec
='-R$libdir'
9762 hardcode_shlibpath_var
=no
9764 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9766 # The compiler driver will combine and reorder linker options,
9767 # but understands `-z linker_flag'. GCC discards it without `$wl',
9768 # but is careful enough not to reorder.
9769 # Supported since Solaris 2.6 (maybe 2.5.1?)
9770 if test "$GCC" = yes; then
9771 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9773 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9777 link_all_deplibs
=yes
9781 if test "x$host_vendor" = xsequent
; then
9782 # Use $CC to link under sequent, because it throws in some extra .o
9783 # files that make .init and .fini sections work.
9784 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9786 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9788 hardcode_libdir_flag_spec
='-L$libdir'
9790 hardcode_minus_L
=yes
9791 hardcode_shlibpath_var
=no
9795 case $host_vendor in
9797 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798 hardcode_direct
=yes # is this really true???
9801 ## LD is ld it makes a PLAMLIB
9802 ## CC just makes a GrossModule.
9803 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9804 reload_cmds
='$CC -r -o $output$reload_objs'
9808 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9809 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9812 runpath_var
='LD_RUN_PATH'
9813 hardcode_shlibpath_var
=no
9817 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9818 hardcode_shlibpath_var
=no
9819 export_dynamic_flag_spec
='-Bexport'
9823 if test -d /usr
/nec
; then
9824 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9825 hardcode_shlibpath_var
=no
9826 runpath_var
=LD_RUN_PATH
9827 hardcode_runpath_var
=yes
9832 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9833 no_undefined_flag
='${wl}-z,text'
9834 archive_cmds_need_lc
=no
9835 hardcode_shlibpath_var
=no
9836 runpath_var
='LD_RUN_PATH'
9838 if test "$GCC" = yes; then
9839 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9847 sysv5
* | sco3.2v5
* | sco5v6
*)
9848 # Note: We can NOT use -z defs as we might desire, because we do not
9849 # link with -lc, and that would cause any symbols used from libc to
9850 # always be unresolved, which means just about no library would
9851 # ever link correctly. If we're not using GNU ld we use -z text
9852 # though, which does catch some bad symbols but isn't as heavy-handed
9854 no_undefined_flag
='${wl}-z,text'
9855 allow_undefined_flag
='${wl}-z,nodefs'
9856 archive_cmds_need_lc
=no
9857 hardcode_shlibpath_var
=no
9858 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9859 hardcode_libdir_separator
=':'
9860 link_all_deplibs
=yes
9861 export_dynamic_flag_spec
='${wl}-Bexport'
9862 runpath_var
='LD_RUN_PATH'
9864 if test "$GCC" = yes; then
9865 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875 hardcode_libdir_flag_spec
='-L$libdir'
9876 hardcode_shlibpath_var
=no
9884 if test x
$host_vendor = xsni
; then
9886 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9887 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9894 $as_echo "$ld_shlibs" >&6; }
9895 test "$ld_shlibs" = no
&& can_build_shared
=no
9897 with_gnu_ld
=$with_gnu_ld
9914 # Do we need to explicitly link libc?
9916 case "x$archive_cmds_need_lc" in
9918 # Assume -lc should be added
9919 archive_cmds_need_lc
=yes
9921 if test "$enable_shared" = yes && test "$GCC" = yes; then
9922 case $archive_cmds in
9924 # FIXME: we may have to deal with multi-command sequences.
9927 # Test whether the compiler implicitly links with -lc since on some
9928 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9929 # to ld, don't add -lc before -lgcc.
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9931 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9933 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9936 (eval $ac_compile) 2>&5
9938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9939 test $ac_status = 0; } 2>conftest.err
; then
9942 libobjs
=conftest.
$ac_objext
9944 wl
=$lt_prog_compiler_wl
9945 pic_flag
=$lt_prog_compiler_pic
9951 lt_save_allow_undefined_flag
=$allow_undefined_flag
9952 allow_undefined_flag
=
9953 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9954 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9957 test $ac_status = 0; }
9959 archive_cmds_need_lc
=no
9961 archive_cmds_need_lc
=yes
9963 allow_undefined_flag
=$lt_save_allow_undefined_flag
9965 cat conftest.err
1>&5
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9969 $as_echo "$archive_cmds_need_lc" >&6; }
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10133 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10135 if test "$GCC" = yes; then
10137 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10138 *) lt_awk_arg
="/^libraries:/" ;;
10140 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10141 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
10142 # if the path contains ";" then we assume it to be the separator
10143 # otherwise default to the standard path separator (i.e. ":") - it is
10144 # assumed that no part of a normal pathname contains ";" but that should
10145 # okay in the real world where ";" in dirpaths is itself problematic.
10146 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10148 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10150 # Ok, now we have the path, separated by spaces, we can step through it
10151 # and add multilib dir if necessary.
10152 lt_tmp_lt_search_path_spec
=
10153 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10154 for lt_sys_path
in $lt_search_path_spec; do
10155 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10156 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10158 test -d "$lt_sys_path" && \
10159 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10162 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10163 BEGIN {RS=" "; FS="/|\n";} {
10166 for (lt_i = NF; lt_i > 0; lt_i--) {
10167 if ($lt_i != "" && $lt_i != ".") {
10168 if ($lt_i == "..") {
10171 if (lt_count == 0) {
10172 lt_foo="/" $lt_i lt_foo;
10179 if (lt_foo != "") { lt_freq[lt_foo]++; }
10180 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10182 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10184 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10186 library_names_spec
=
10187 libname_spec
='lib$name'
10191 postuninstall_cmds
=
10195 shlibpath_overrides_runpath
=unknown
10197 dynamic_linker
="$host_os ld.so"
10198 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10199 need_lib_prefix
=unknown
10200 hardcode_into_libs
=no
10202 # when you set need_version to no, make sure it does not cause -set_version
10203 # flags to be left without arguments
10204 need_version
=unknown
10209 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10210 shlibpath_var
=LIBPATH
10212 # AIX 3 has no versioning support, so we append a major version to the name.
10213 soname_spec
='${libname}${release}${shared_ext}$major'
10220 hardcode_into_libs
=yes
10221 if test "$host_cpu" = ia64
; then
10222 # AIX 5 supports IA64
10223 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10224 shlibpath_var
=LD_LIBRARY_PATH
10226 # With GCC up to 2.95.x, collect2 would create an import file
10227 # for dependence libraries. The import file would start with
10228 # the line `#! .'. This would cause the generated library to
10229 # depend on `.', always an invalid library. This was fixed in
10230 # development snapshots of GCC prior to 3.0.
10232 aix4
| aix4.
[01] | aix4.
[01].
*)
10233 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10235 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
10238 can_build_shared
=no
10242 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10243 # soname into executable. Probably we can add versioning support to
10244 # collect2, so additional links can be useful in future.
10245 if test "$aix_use_runtimelinking" = yes; then
10246 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10247 # instead of lib<name>.a to let people know that these are not
10248 # typical AIX shared libraries.
10249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10251 # We preserve .a as extension for shared libraries through AIX4.2
10252 # and later when we are not doing run time linking.
10253 library_names_spec
='${libname}${release}.a $libname.a'
10254 soname_spec
='${libname}${release}${shared_ext}$major'
10256 shlibpath_var
=LIBPATH
10263 # Since July 2007 AmigaOS4 officially supports .so libraries.
10264 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10268 library_names_spec
='$libname.ixlibrary $libname.a'
10269 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10270 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'
10276 library_names_spec
='${libname}${shared_ext}'
10277 dynamic_linker
="$host_os ld.so"
10278 shlibpath_var
=LIBRARY_PATH
10284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10285 soname_spec
='${libname}${release}${shared_ext}$major'
10286 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10287 shlibpath_var
=LD_LIBRARY_PATH
10288 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10289 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10290 # the default ld.so.conf also contains /usr/contrib/lib and
10291 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10292 # libtool to hard-code these into programs
10295 cygwin
* | mingw
* | pw32
* | cegcc
*)
10296 version_type
=windows
10301 case $GCC,$host_os in
10302 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
10303 library_names_spec
='$libname.dll.a'
10304 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10305 postinstall_cmds
='base_file=`basename \${file}`~
10306 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10307 dldir=$destdir/`dirname \$dlpath`~
10308 test -d \$dldir || mkdir -p \$dldir~
10309 $install_prog $dir/$dlname \$dldir/$dlname~
10310 chmod a+x \$dldir/$dlname~
10311 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10312 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10314 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10315 dlpath=$dir/\$dldll~
10317 shlibpath_overrides_runpath
=yes
10321 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10322 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10323 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10326 # MinGW DLLs use traditional 'lib' prefix
10327 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10328 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10329 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
10330 # It is most probably a Windows format PATH printed by
10331 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10332 # path with ; separators, and with drive letters. We can handle the
10333 # drive letters (cygwin fileutils understands them), so leave them,
10334 # especially as we might pass files found there to a mingw objdump,
10335 # which wouldn't understand a cygwinified path. Ahh.
10336 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10338 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10342 # pw32 DLLs use 'pw' prefix rather than 'lib'
10343 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
10349 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
10352 dynamic_linker
='Win32 ld.exe'
10353 # FIXME: first we should search . and the directory the executable is in
10357 darwin
* | rhapsody
*)
10358 dynamic_linker
="$host_os dyld"
10359 version_type
=darwin
10362 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10363 soname_spec
='${libname}${release}${major}$shared_ext'
10364 shlibpath_overrides_runpath
=yes
10365 shlibpath_var
=DYLD_LIBRARY_PATH
10366 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10368 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10369 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10377 soname_spec
='${libname}${release}${shared_ext}$major'
10378 shlibpath_var
=LD_LIBRARY_PATH
10385 freebsd
* | dragonfly
*)
10386 # DragonFly does not have aout. When/if they implement a new
10387 # versioning mechanism, adjust this.
10388 if test -x /usr
/bin
/objformat
; then
10389 objformat
=`/usr/bin/objformat`
10392 freebsd
[123]*) objformat
=aout
;;
10393 *) objformat
=elf
;;
10396 # Handle Gentoo/FreeBSD as it was Linux
10397 case $host_vendor in
10399 version_type
=linux
;;
10401 version_type
=freebsd
-$objformat ;;
10404 case $version_type in
10406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10411 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10416 soname_spec
='${libname}${release}${shared_ext}$major'
10421 shlibpath_var
=LD_LIBRARY_PATH
10424 shlibpath_overrides_runpath
=yes
10426 freebsd3.
[01]* | freebsdelf3.
[01]*)
10427 shlibpath_overrides_runpath
=yes
10428 hardcode_into_libs
=yes
10430 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10431 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10432 shlibpath_overrides_runpath
=no
10433 hardcode_into_libs
=yes
10435 *) # from 4.6 on, and DragonFly
10436 shlibpath_overrides_runpath
=yes
10437 hardcode_into_libs
=yes
10446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10447 soname_spec
='${libname}${release}${shared_ext}$major'
10448 shlibpath_var
=LD_LIBRARY_PATH
10449 hardcode_into_libs
=yes
10452 hpux9
* | hpux10
* | hpux11
*)
10453 # Give a soname corresponding to the major version so that dld.sl refuses to
10454 # link against other versions.
10461 hardcode_into_libs
=yes
10462 dynamic_linker
="$host_os dld.so"
10463 shlibpath_var
=LD_LIBRARY_PATH
10464 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10466 soname_spec
='${libname}${release}${shared_ext}$major'
10467 if test "X$HPUX_IA64_MODE" = X32
; then
10468 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10470 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10472 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10476 hardcode_into_libs
=yes
10477 dynamic_linker
="$host_os dld.sl"
10478 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10479 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10481 soname_spec
='${libname}${release}${shared_ext}$major'
10482 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10483 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10487 dynamic_linker
="$host_os dld.sl"
10488 shlibpath_var
=SHLIB_PATH
10489 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 soname_spec
='${libname}${release}${shared_ext}$major'
10494 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10495 postinstall_cmds
='chmod 555 $lib'
10502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10503 soname_spec
='${libname}${release}${shared_ext}$major'
10504 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10505 shlibpath_var
=LD_LIBRARY_PATH
10506 shlibpath_overrides_runpath
=no
10507 hardcode_into_libs
=yes
10510 irix5
* | irix6
* | nonstopux
*)
10512 nonstopux
*) version_type
=nonstopux
;;
10514 if test "$lt_cv_prog_gnu_ld" = yes; then
10522 soname_spec
='${libname}${release}${shared_ext}$major'
10523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10525 irix5
* | nonstopux
*)
10526 libsuff
= shlibsuff
=
10529 case $LD in # libtool.m4 will add one of these switches to LD
10530 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10531 libsuff
= shlibsuff
= libmagic
=32-bit;;
10532 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10533 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10534 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10535 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10536 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
10540 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10541 shlibpath_overrides_runpath
=no
10542 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10543 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10544 hardcode_into_libs
=yes
10547 # No shared lib support for Linux oldld, aout, or coff.
10548 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10552 # This must be Linux ELF.
10553 linux
* | k
*bsd
*-gnu)
10557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10558 soname_spec
='${libname}${release}${shared_ext}$major'
10559 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10560 shlibpath_var
=LD_LIBRARY_PATH
10561 shlibpath_overrides_runpath
=no
10562 # Some binutils ld are patched to set DT_RUNPATH
10563 save_LDFLAGS
=$LDFLAGS
10564 save_libdir
=$libdir
10565 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10566 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10568 /* end confdefs.h. */
10578 if ac_fn_c_try_link
"$LINENO"; then :
10579 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
10580 shlibpath_overrides_runpath
=yes
10583 rm -f core conftest.err conftest.
$ac_objext \
10584 conftest
$ac_exeext conftest.
$ac_ext
10585 LDFLAGS
=$save_LDFLAGS
10586 libdir
=$save_libdir
10588 # This implies no fast_install, which is unacceptable.
10589 # Some rework will be needed to allow for fast_install
10590 # before this can be enabled.
10591 hardcode_into_libs
=yes
10593 # Append ld.so.conf contents to the search path
10594 if test -f /etc
/ld.so.conf
; then
10595 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' ' '`
10596 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10599 # We used to test for /lib/ld.so.1 and disable shared libraries on
10600 # powerpc, because MkLinux only supported shared libraries with the
10601 # GNU dynamic linker. Since this was broken with cross compilers,
10602 # most powerpc-linux boxes support dynamic linking these days and
10603 # people can always --disable-shared, the test was removed, and we
10604 # assume the GNU/Linux dynamic linker is in use.
10605 dynamic_linker
='GNU/Linux ld.so'
10612 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10615 dynamic_linker
='NetBSD (a.out) ld.so'
10617 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10618 soname_spec
='${libname}${release}${shared_ext}$major'
10619 dynamic_linker
='NetBSD ld.elf_so'
10621 shlibpath_var
=LD_LIBRARY_PATH
10622 shlibpath_overrides_runpath
=yes
10623 hardcode_into_libs
=yes
10628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10629 shlibpath_var
=LD_LIBRARY_PATH
10630 shlibpath_overrides_runpath
=yes
10637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec
='${libname}${release}${shared_ext}$major'
10639 shlibpath_var
=LD_LIBRARY_PATH
10640 shlibpath_overrides_runpath
=no
10641 hardcode_into_libs
=yes
10642 dynamic_linker
='ldqnx.so'
10647 sys_lib_dlsearch_path_spec
="/usr/lib"
10649 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10651 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10652 *) need_version
=no
;;
10654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10655 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10656 shlibpath_var
=LD_LIBRARY_PATH
10657 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10659 openbsd2.
[89] | openbsd2.
[89].
*)
10660 shlibpath_overrides_runpath
=no
10663 shlibpath_overrides_runpath
=yes
10667 shlibpath_overrides_runpath
=yes
10672 libname_spec
='$name'
10675 library_names_spec
='$libname${shared_ext} $libname.a'
10676 dynamic_linker
='OS/2 ld.exe'
10677 shlibpath_var
=LIBPATH
10680 osf3
* | osf4
* | osf5
*)
10684 soname_spec
='${libname}${release}${shared_ext}$major'
10685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686 shlibpath_var
=LD_LIBRARY_PATH
10687 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10688 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10700 soname_spec
='${libname}${release}${shared_ext}$major'
10701 shlibpath_var
=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath
=yes
10703 hardcode_into_libs
=yes
10704 # ldd complains unless libraries are executable
10705 postinstall_cmds
='chmod +x $lib'
10710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10711 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10712 shlibpath_var
=LD_LIBRARY_PATH
10713 shlibpath_overrides_runpath
=yes
10714 if test "$with_gnu_ld" = yes; then
10722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10723 soname_spec
='${libname}${release}${shared_ext}$major'
10724 shlibpath_var
=LD_LIBRARY_PATH
10725 case $host_vendor in
10727 shlibpath_overrides_runpath
=no
10729 runpath_var
=LD_RUN_PATH
10737 shlibpath_overrides_runpath
=no
10738 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10744 if test -d /usr
/nec
;then
10746 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10747 soname_spec
='$libname${shared_ext}.$major'
10748 shlibpath_var
=LD_LIBRARY_PATH
10752 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10753 version_type
=freebsd
-elf
10756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10757 soname_spec
='${libname}${release}${shared_ext}$major'
10758 shlibpath_var
=LD_LIBRARY_PATH
10759 shlibpath_overrides_runpath
=yes
10760 hardcode_into_libs
=yes
10761 if test "$with_gnu_ld" = yes; then
10762 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10764 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10767 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10771 sys_lib_dlsearch_path_spec
='/usr/lib'
10775 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780 shlibpath_var
=LD_LIBRARY_PATH
10781 shlibpath_overrides_runpath
=no
10782 hardcode_into_libs
=yes
10787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788 soname_spec
='${libname}${release}${shared_ext}$major'
10789 shlibpath_var
=LD_LIBRARY_PATH
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10797 $as_echo "$dynamic_linker" >&6; }
10798 test "$dynamic_linker" = no
&& can_build_shared
=no
10800 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10801 if test "$GCC" = yes; then
10802 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10805 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10806 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10808 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10809 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10899 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10901 if test -n "$hardcode_libdir_flag_spec" ||
10902 test -n "$runpath_var" ||
10903 test "X$hardcode_automatic" = "Xyes" ; then
10905 # We can hardcode non-existent directories.
10906 if test "$hardcode_direct" != no
&&
10907 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10908 # have to relink, otherwise we might link with an installed library
10909 # when we should be linking with a yet-to-be-installed one
10910 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10911 test "$hardcode_minus_L" != no
; then
10912 # Linking always hardcodes the temporary library directory.
10913 hardcode_action
=relink
10915 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10916 hardcode_action
=immediate
10919 # We cannot hardcode anything, or else we can only hardcode existing
10921 hardcode_action
=unsupported
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10924 $as_echo "$hardcode_action" >&6; }
10926 if test "$hardcode_action" = relink
||
10927 test "$inherit_rpath" = yes; then
10928 # Fast installation is not supported
10929 enable_fast_install
=no
10930 elif test "$shlibpath_overrides_runpath" = yes ||
10931 test "$enable_shared" = no
; then
10932 # Fast installation is not necessary
10933 enable_fast_install
=needless
10941 if test "x$enable_dlopen" != xyes
; then
10942 enable_dlopen
=unknown
10943 enable_dlopen_self
=unknown
10944 enable_dlopen_self_static
=unknown
10951 lt_cv_dlopen
="load_add_on"
10953 lt_cv_dlopen_self
=yes
10956 mingw
* | pw32
* | cegcc
*)
10957 lt_cv_dlopen
="LoadLibrary"
10962 lt_cv_dlopen
="dlopen"
10967 # if libdl is installed we need to link against it
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10969 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10970 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10971 $as_echo_n "(cached) " >&6
10973 ac_check_lib_save_LIBS
=$LIBS
10975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10993 if ac_fn_c_try_link
"$LINENO"; then :
10994 ac_cv_lib_dl_dlopen
=yes
10996 ac_cv_lib_dl_dlopen
=no
10998 rm -f core conftest.err conftest.
$ac_objext \
10999 conftest
$ac_exeext conftest.
$ac_ext
11000 LIBS
=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11003 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11004 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11005 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11008 lt_cv_dlopen
="dyld"
11010 lt_cv_dlopen_self
=yes
11017 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11018 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11019 lt_cv_dlopen
="shl_load"
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11022 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11023 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11024 $as_echo_n "(cached) " >&6
11026 ac_check_lib_save_LIBS
=$LIBS
11028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11041 return shl_load ();
11046 if ac_fn_c_try_link
"$LINENO"; then :
11047 ac_cv_lib_dld_shl_load
=yes
11049 ac_cv_lib_dld_shl_load
=no
11051 rm -f core conftest.err conftest.
$ac_objext \
11052 conftest
$ac_exeext conftest.
$ac_ext
11053 LIBS
=$ac_check_lib_save_LIBS
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11056 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11057 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11058 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11060 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11061 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11062 lt_cv_dlopen
="dlopen"
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11065 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11066 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11067 $as_echo_n "(cached) " >&6
11069 ac_check_lib_save_LIBS
=$LIBS
11071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11089 if ac_fn_c_try_link
"$LINENO"; then :
11090 ac_cv_lib_dl_dlopen
=yes
11092 ac_cv_lib_dl_dlopen
=no
11094 rm -f core conftest.err conftest.
$ac_objext \
11095 conftest
$ac_exeext conftest.
$ac_ext
11096 LIBS
=$ac_check_lib_save_LIBS
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11099 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11100 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11101 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11104 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11105 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11106 $as_echo_n "(cached) " >&6
11108 ac_check_lib_save_LIBS
=$LIBS
11109 LIBS
="-lsvld $LIBS"
11110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11128 if ac_fn_c_try_link
"$LINENO"; then :
11129 ac_cv_lib_svld_dlopen
=yes
11131 ac_cv_lib_svld_dlopen
=no
11133 rm -f core conftest.err conftest.
$ac_objext \
11134 conftest
$ac_exeext conftest.
$ac_ext
11135 LIBS
=$ac_check_lib_save_LIBS
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11138 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11139 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11140 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11143 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11144 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11145 $as_echo_n "(cached) " >&6
11147 ac_check_lib_save_LIBS
=$LIBS
11149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11162 return dld_link ();
11167 if ac_fn_c_try_link
"$LINENO"; then :
11168 ac_cv_lib_dld_dld_link
=yes
11170 ac_cv_lib_dld_dld_link
=no
11172 rm -f core conftest.err conftest.
$ac_objext \
11173 conftest
$ac_exeext conftest.
$ac_ext
11174 LIBS
=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11177 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11178 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11179 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11200 if test "x$lt_cv_dlopen" != xno
; then
11206 case $lt_cv_dlopen in
11208 save_CPPFLAGS
="$CPPFLAGS"
11209 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11211 save_LDFLAGS
="$LDFLAGS"
11212 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11215 LIBS
="$lt_cv_dlopen_libs $LIBS"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11218 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11219 if test "${lt_cv_dlopen_self+set}" = set; then :
11220 $as_echo_n "(cached) " >&6
11222 if test "$cross_compiling" = yes; then :
11223 lt_cv_dlopen_self
=cross
11225 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11226 lt_status
=$lt_dlunknown
11227 cat > conftest.
$ac_ext <<_LT_EOF
11228 #line 11228 "configure"
11229 #include "confdefs.h"
11238 # define LT_DLGLOBAL RTLD_GLOBAL
11241 # define LT_DLGLOBAL DL_GLOBAL
11243 # define LT_DLGLOBAL 0
11247 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11248 find out it does not work in some platform. */
11249 #ifndef LT_DLLAZY_OR_NOW
11251 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11254 # define LT_DLLAZY_OR_NOW DL_LAZY
11257 # define LT_DLLAZY_OR_NOW RTLD_NOW
11260 # define LT_DLLAZY_OR_NOW DL_NOW
11262 # define LT_DLLAZY_OR_NOW 0
11269 void fnord() { int i=42;}
11272 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11273 int status = $lt_dlunknown;
11277 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11278 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11279 /* dlclose (self); */
11287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11288 (eval $ac_link) 2>&5
11290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11291 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11292 (.
/conftest
; exit; ) >&5 2>/dev
/null
11294 case x
$lt_status in
11295 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11296 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11297 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11300 # compilation failed
11301 lt_cv_dlopen_self
=no
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11309 $as_echo "$lt_cv_dlopen_self" >&6; }
11311 if test "x$lt_cv_dlopen_self" = xyes
; then
11312 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11314 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11315 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11316 $as_echo_n "(cached) " >&6
11318 if test "$cross_compiling" = yes; then :
11319 lt_cv_dlopen_self_static
=cross
11321 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11322 lt_status
=$lt_dlunknown
11323 cat > conftest.
$ac_ext <<_LT_EOF
11324 #line 11324 "configure"
11325 #include "confdefs.h"
11334 # define LT_DLGLOBAL RTLD_GLOBAL
11337 # define LT_DLGLOBAL DL_GLOBAL
11339 # define LT_DLGLOBAL 0
11343 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11344 find out it does not work in some platform. */
11345 #ifndef LT_DLLAZY_OR_NOW
11347 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11350 # define LT_DLLAZY_OR_NOW DL_LAZY
11353 # define LT_DLLAZY_OR_NOW RTLD_NOW
11356 # define LT_DLLAZY_OR_NOW DL_NOW
11358 # define LT_DLLAZY_OR_NOW 0
11365 void fnord() { int i=42;}
11368 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11369 int status = $lt_dlunknown;
11373 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11374 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11375 /* dlclose (self); */
11383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11384 (eval $ac_link) 2>&5
11386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11387 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11388 (.
/conftest
; exit; ) >&5 2>/dev
/null
11390 case x
$lt_status in
11391 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11392 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11393 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11396 # compilation failed
11397 lt_cv_dlopen_self_static
=no
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11405 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11408 CPPFLAGS
="$save_CPPFLAGS"
11409 LDFLAGS
="$save_LDFLAGS"
11414 case $lt_cv_dlopen_self in
11415 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11416 *) enable_dlopen_self
=unknown
;;
11419 case $lt_cv_dlopen_self_static in
11420 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11421 *) enable_dlopen_self_static
=unknown
;;
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11444 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11445 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
11446 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11447 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11449 $as_echo "yes" >&6; }
11451 # FIXME - insert some real tests, host_os isn't really good enough
11454 if test -n "$STRIP" ; then
11455 striplib
="$STRIP -x"
11456 old_striplib
="$STRIP -S"
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11458 $as_echo "yes" >&6; }
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11461 $as_echo "no" >&6; }
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11466 $as_echo "no" >&6; }
11482 # Report which library types will actually be built
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11484 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11486 $as_echo "$can_build_shared" >&6; }
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11489 $as_echo_n "checking whether to build shared libraries... " >&6; }
11490 test "$can_build_shared" = "no" && enable_shared
=no
11492 # On AIX, shared libraries and static libraries use the same namespace, and
11493 # are all built from PIC.
11496 test "$enable_shared" = yes && enable_static
=no
11497 if test -n "$RANLIB"; then
11498 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11499 postinstall_cmds
='$RANLIB $lib'
11504 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11505 test "$enable_shared" = yes && enable_static
=no
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11510 $as_echo "$enable_shared" >&6; }
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11513 $as_echo_n "checking whether to build static libraries... " >&6; }
11514 # Make sure either enable_shared or enable_static is yes.
11515 test "$enable_shared" = yes || enable_static
=yes
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11517 $as_echo "$enable_static" >&6; }
11524 ac_cpp
='$CPP $CPPFLAGS'
11525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11543 ac_config_commands
="$ac_config_commands libtool"
11548 # Only expand once:
11552 LIBTOOL
="$LIBTOOL --silent"
11557 cat >>confdefs.h
<<_ACEOF
11562 cat >>confdefs.h
<<_ACEOF
11569 cat >>confdefs.h
<<_ACEOF
11574 cat >>confdefs.h
<<_ACEOF
11578 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
11579 if test "x$ac_cv_header_windows_h" = x
""yes; then :
11582 as_fn_error
"** MinGW and no windows.h. I give up." "$LINENO" 5
11586 ac_fn_c_check_header_mongrel
"$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
11587 if test "x$ac_cv_header_winsock2_h" = x
""yes; then :
11590 as_fn_error
"** MinGW and no winsock2.h. I give up." "$LINENO" 5
11595 cat >>confdefs.h
<<_ACEOF
11596 #define HAVE_WINSOCK2_H 1
11600 cat >>confdefs.h
<<_ACEOF
11601 #define HAVE_WINSOCK_H 1
11604 LIBS
="$LIBS -lws2_32 -liphlpapi"
11608 CPPFLAGS
="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
11611 CPPFLAGS
="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2"
11617 if test "$is_mingw" = "yes"; then
11627 # backwards support for IRC_CFLAGS
11628 CFLAGS
="$IRC_CFLAGS $CFLAGS -Wall"
11630 if test "$libexecdir" = '${exec_prefix}/libexec' &&
11631 test "$localstatedir" = '${prefix}/var'; then
11632 libexecdir
='${bindir}'
11633 localstatedir
='${prefix}'
11636 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11637 if test "x$ac_cv_type_pid_t" = x
""yes; then :
11641 cat >>confdefs.h
<<_ACEOF
11647 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11648 if test "x$ac_cv_type_size_t" = x
""yes; then :
11652 cat >>confdefs.h
<<_ACEOF
11653 #define size_t unsigned int
11658 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
11659 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
11663 cat >>confdefs.h
<<_ACEOF
11664 #define ssize_t int
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11670 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11671 if test "${ac_cv_type_uid_t+set}" = set; then :
11672 $as_echo_n "(cached) " >&6
11674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11676 #include <sys/types.h>
11679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11680 $EGREP "uid_t" >/dev
/null
2>&1; then :
11681 ac_cv_type_uid_t
=yes
11683 ac_cv_type_uid_t
=no
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11689 $as_echo "$ac_cv_type_uid_t" >&6; }
11690 if test $ac_cv_type_uid_t = no
; then
11692 $as_echo "#define uid_t int" >>confdefs.h
11695 $as_echo "#define gid_t int" >>confdefs.h
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11702 $as_echo_n "checking for ANSI C header files... " >&6; }
11703 if test "${ac_cv_header_stdc+set}" = set; then :
11704 $as_echo_n "(cached) " >&6
11706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 #include <stdlib.h>
11709 #include <stdarg.h>
11710 #include <string.h>
11721 if ac_fn_c_try_compile
"$LINENO"; then :
11722 ac_cv_header_stdc
=yes
11724 ac_cv_header_stdc
=no
11726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11728 if test $ac_cv_header_stdc = yes; then
11729 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11732 #include <string.h>
11735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11736 $EGREP "memchr" >/dev
/null
2>&1; then :
11739 ac_cv_header_stdc
=no
11745 if test $ac_cv_header_stdc = yes; then
11746 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11749 #include <stdlib.h>
11752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11753 $EGREP "free" >/dev
/null
2>&1; then :
11756 ac_cv_header_stdc
=no
11762 if test $ac_cv_header_stdc = yes; then
11763 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11764 if test "$cross_compiling" = yes; then :
11767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 #include <stdlib.h>
11771 #if ((' ' & 0x0FF) == 0x020)
11772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11775 # define ISLOWER(c) \
11776 (('a' <= (c) && (c) <= 'i') \
11777 || ('j' <= (c) && (c) <= 'r') \
11778 || ('s' <= (c) && (c) <= 'z'))
11779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11787 for (i = 0; i < 256; i++)
11788 if (XOR (islower (i), ISLOWER (i))
11789 || toupper (i) != TOUPPER (i))
11794 if ac_fn_c_try_run
"$LINENO"; then :
11797 ac_cv_header_stdc
=no
11799 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11800 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11806 $as_echo "$ac_cv_header_stdc" >&6; }
11807 if test $ac_cv_header_stdc = yes; then
11809 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11814 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
11816 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11817 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11818 eval as_val
=\$
$as_ac_Header
11819 if test "x$as_val" = x
""yes; then :
11820 cat >>confdefs.h
<<_ACEOF
11821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11829 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11830 if test "${ac_cv_header_time+set}" = set; then :
11831 $as_echo_n "(cached) " >&6
11833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11835 #include <sys/types.h>
11836 #include <sys/time.h>
11842 if ((struct tm *) 0)
11848 if ac_fn_c_try_compile
"$LINENO"; then :
11849 ac_cv_header_time
=yes
11851 ac_cv_header_time
=no
11853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11856 $as_echo "$ac_cv_header_time" >&6; }
11857 if test $ac_cv_header_time = yes; then
11859 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
11866 $as_echo_n "checking for library containing socket... " >&6; }
11867 if test "${ac_cv_search_socket+set}" = set; then :
11868 $as_echo_n "(cached) " >&6
11870 ac_func_search_save_LIBS
=$LIBS
11871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h. */
11874 /* Override any GCC internal prototype to avoid an error.
11875 Use char because int might match the return type of a GCC
11876 builtin and then its argument prototype would still apply. */
11889 for ac_lib
in '' socket
; do
11890 if test -z "$ac_lib"; then
11891 ac_res
="none required"
11894 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11896 if ac_fn_c_try_link
"$LINENO"; then :
11897 ac_cv_search_socket
=$ac_res
11899 rm -f core conftest.err conftest.
$ac_objext \
11901 if test "${ac_cv_search_socket+set}" = set; then :
11905 if test "${ac_cv_search_socket+set}" = set; then :
11908 ac_cv_search_socket
=no
11910 rm conftest.
$ac_ext
11911 LIBS
=$ac_func_search_save_LIBS
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
11914 $as_echo "$ac_cv_search_socket" >&6; }
11915 ac_res
=$ac_cv_search_socket
11916 if test "$ac_res" != no
; then :
11917 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11923 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
11924 #ifdef HAVE_SYS_TYPES_H
11925 #include <sys/types.h>
11927 #ifdef HAVE_SYS_SOCKET_H
11928 #include <sys/socket.h>
11930 #ifdef HAVE_WINSOCK2_H
11931 #include <winsock2.h>
11935 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
11937 $as_echo "#define SOCKADDR_IN_HAS_LEN 1" >>confdefs.h
11942 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
11943 #include <sys/socket.h>
11945 if test "x$ac_cv_type_socklen_t" = x
""yes; then :
11946 rb_cv_socklen_t
=socklen_t
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
11950 $as_echo_n "checking for socklen_t equivalent... " >&6; }
11951 if test "${rb_cv_socklen_t+set}" = set; then :
11952 $as_echo_n "(cached) " >&6
11955 # Systems have either "struct sockaddr *" or
11956 # "void *" as the second argument to getpeername
11958 for arg2
in "struct sockaddr" void
; do
11959 for t
in int size_t unsigned long
"unsigned long"; do
11960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11963 #ifdef HAVE_SYS_TYPES_H
11964 #include <sys/types.h>
11966 #ifdef HAVE_SYS_SOCKET_H
11967 #include <sys/socket.h>
11969 #ifdef HAVE_WINSOCK2_H
11970 #include <winsock2.h>
11972 int getpeername (int, $arg2 *, $t *);
11979 getpeername(0,0,&len);
11985 if ac_fn_c_try_compile
"$LINENO"; then :
11987 rb_cv_socklen_t
="$t"
11991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11995 if test "x$rb_cv_socklen_t" = x
; then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find a type to use in place of socklen_t using int" >&5
11997 $as_echo "$as_me: WARNING: Cannot find a type to use in place of socklen_t using int" >&2;}
11998 rb_cv_socklen_t
=int
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_socklen_t" >&5
12004 $as_echo "$rb_cv_socklen_t" >&6; }
12008 rb_socklen_t
=$rb_cv_socklen_t
12014 # Check whether --enable-ipv6 was given.
12015 if test "${enable_ipv6+set}" = set; then :
12016 enableval
=$enable_ipv6; ipv6
=$enableval
12022 if test x
$ipv6 != xyes
; then
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INET6 protocol support" >&5
12029 $as_echo_n "checking for INET6 protocol support... " >&6; }
12030 if test "${rb_cv_proto_inet6+set}" = set; then :
12031 $as_echo_n "(cached) " >&6
12034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12037 #include <sys/types.h>
12038 #include <sys/socket.h>
12041 #error Missing PF_INET6
12044 #error Mlssing AF_INET6
12048 if ac_fn_c_try_cpp
"$LINENO"; then :
12050 rb_cv_proto_inet6
=yes
12054 rb_cv_proto_inet6
=no
12057 rm -f conftest.err conftest.
$ac_ext
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_proto_inet6" >&5
12061 $as_echo "$rb_cv_proto_inet6" >&6; }
12063 if test "X$rb_cv_proto_inet6" = "Xyes"; then :
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: PF_INET6 not found" >&5
12068 $as_echo "$as_me: Disabling IPv6 support: PF_INET6 not found" >&6;}
12074 if test "X$have_v6" = "Xyes"; then
12076 rb_have_sockaddr_in6
=
12077 ac_fn_c_check_type
"$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
12078 #include <sys/types.h>
12079 #include <sys/socket.h>
12080 #include <netinet/in.h>
12083 if test "x$ac_cv_type_struct_sockaddr_in6" = x
""yes; then :
12085 cat >>confdefs.h
<<_ACEOF
12086 #define HAVE_STRUCT_SOCKADDR_IN6 1
12090 rb_have_sockaddr_in6
=yes
12094 rb_have_sockaddr_in6
=no
12099 if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: struct sockaddr_in6 not found" >&5
12104 $as_echo "$as_me: Disabling IPv6 support: struct sockaddr_in6 not found" >&6;}
12113 ac_fn_c_check_type
"$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
12114 #include <sys/types.h>
12115 #include <sys/socket.h>
12118 if test "x$ac_cv_type_struct_sockaddr_storage" = x
""yes; then :
12120 cat >>confdefs.h
<<_ACEOF
12121 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
12125 rb_have_sockaddr_storage
=yes
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12133 $as_echo_n "checking for library containing crypt... " >&6; }
12134 if test "${ac_cv_search_crypt+set}" = set; then :
12135 $as_echo_n "(cached) " >&6
12137 ac_func_search_save_LIBS
=$LIBS
12138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12156 for ac_lib
in '' crypt descrypt
; do
12157 if test -z "$ac_lib"; then
12158 ac_res
="none required"
12161 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12163 if ac_fn_c_try_link
"$LINENO"; then :
12164 ac_cv_search_crypt
=$ac_res
12166 rm -f core conftest.err conftest.
$ac_objext \
12168 if test "${ac_cv_search_crypt+set}" = set; then :
12172 if test "${ac_cv_search_crypt+set}" = set; then :
12175 ac_cv_search_crypt
=no
12177 rm conftest.
$ac_ext
12178 LIBS
=$ac_func_search_save_LIBS
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12181 $as_echo "$ac_cv_search_crypt" >&6; }
12182 ac_res
=$ac_cv_search_crypt
12183 if test "$ac_res" != no
; then :
12184 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12190 CRYPT_LIB
=$ac_cv_search_crypt
12192 if test "$CRYPT_LIB" = "none required"; then
12194 elif test "$CRYPT_LIB" = no
; then
12197 $as_echo "#define NEED_CRYPT 1" >>confdefs.h
12202 if test x
"$need_crypt" = "xyes"; then
12204 NEED_CRYPT_FALSE
='#'
12206 NEED_CRYPT_TRUE
='#'
12214 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
12215 if test "x$ac_cv_header_stdarg_h" = x
""yes; then :
12218 as_fn_error
"** stdarg.h could not be found - libratbox will not compile without it **" "$LINENO" 5
12223 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
12224 #include <sys/socket.h>
12226 if test "x$ac_cv_type_sa_family_t" = x
""yes; then :
12230 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
12236 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
12238 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12239 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12240 eval as_val
=\$
$as_ac_var
12241 if test "x$as_val" = x
""yes; then :
12242 cat >>confdefs.h
<<_ACEOF
12243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
12251 $as_echo_n "checking for library containing nanosleep... " >&6; }
12252 if test "${ac_cv_search_nanosleep+set}" = set; then :
12253 $as_echo_n "(cached) " >&6
12255 ac_func_search_save_LIBS
=$LIBS
12256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12269 return nanosleep ();
12274 for ac_lib
in '' rt posix4
; do
12275 if test -z "$ac_lib"; then
12276 ac_res
="none required"
12279 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12281 if ac_fn_c_try_link
"$LINENO"; then :
12282 ac_cv_search_nanosleep
=$ac_res
12284 rm -f core conftest.err conftest.
$ac_objext \
12286 if test "${ac_cv_search_nanosleep+set}" = set; then :
12290 if test "${ac_cv_search_nanosleep+set}" = set; then :
12293 ac_cv_search_nanosleep
=no
12295 rm conftest.
$ac_ext
12296 LIBS
=$ac_func_search_save_LIBS
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
12299 $as_echo "$ac_cv_search_nanosleep" >&6; }
12300 ac_res
=$ac_cv_search_nanosleep
12301 if test "$ac_res" != no
; then :
12302 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12304 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
12309 $as_echo_n "checking for library containing timer_create... " >&6; }
12310 if test "${ac_cv_search_timer_create+set}" = set; then :
12311 $as_echo_n "(cached) " >&6
12313 ac_func_search_save_LIBS
=$LIBS
12314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12315 /* end confdefs.h. */
12317 /* Override any GCC internal prototype to avoid an error.
12318 Use char because int might match the return type of a GCC
12319 builtin and then its argument prototype would still apply. */
12323 char timer_create ();
12327 return timer_create ();
12332 for ac_lib
in '' rt
; do
12333 if test -z "$ac_lib"; then
12334 ac_res
="none required"
12337 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12339 if ac_fn_c_try_link
"$LINENO"; then :
12340 ac_cv_search_timer_create
=$ac_res
12342 rm -f core conftest.err conftest.
$ac_objext \
12344 if test "${ac_cv_search_timer_create+set}" = set; then :
12348 if test "${ac_cv_search_timer_create+set}" = set; then :
12351 ac_cv_search_timer_create
=no
12353 rm conftest.
$ac_ext
12354 LIBS
=$ac_func_search_save_LIBS
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5
12357 $as_echo "$ac_cv_search_timer_create" >&6; }
12358 ac_res
=$ac_cv_search_timer_create
12359 if test "$ac_res" != no
; then :
12360 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12362 $as_echo "#define HAVE_TIMER_CREATE 1" >>confdefs.h
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timer_create(CLOCK_REALTIME)" >&5
12367 $as_echo_n "checking for a working timer_create(CLOCK_REALTIME)... " >&6; }
12368 if test "${rb__cv_timer_create_works+set}" = set; then :
12369 $as_echo_n "(cached) " >&6
12371 if test "$cross_compiling" = yes; then :
12372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12374 as_fn_error
"cannot run test program while cross compiling
12375 See \`config.log' for more details." "$LINENO" 5; }
12377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12383 #ifdef HAVE_SIGNAL_H
12384 #include <signal.h>
12386 #ifdef HAVE_UNISTD_H
12387 #include <unistd.h>
12389 int main(int argc, char *argv[])
12391 #if HAVE_TIMER_CREATE
12392 struct sigevent ev;
12394 ev.sigev_notify = SIGEV_SIGNAL;
12395 ev.sigev_signo = SIGVTALRM;
12396 if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
12406 if ac_fn_c_try_run
"$LINENO"; then :
12407 rb__cv_timer_create_works
=yes
12409 rb__cv_timer_create_works
=no
12411 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12412 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timer_create_works" >&5
12418 $as_echo "$rb__cv_timer_create_works" >&6; }
12419 case $rb__cv_timer_create_works in
12421 $as_echo "#define USE_TIMER_CREATE 1" >>confdefs.h
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timerfd_create(CLOCK_REALTIME)" >&5
12426 $as_echo_n "checking for a working timerfd_create(CLOCK_REALTIME)... " >&6; }
12427 if test "${rb__cv_timerfd_create_works+set}" = set; then :
12428 $as_echo_n "(cached) " >&6
12430 if test "$cross_compiling" = yes; then :
12431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12433 as_fn_error
"cannot run test program while cross compiling
12434 See \`config.log' for more details." "$LINENO" 5; }
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12442 #ifdef HAVE_SIGNAL_H
12443 #include <signal.h>
12445 #ifdef HAVE_UNISTD_H
12446 #include <unistd.h>
12448 #ifdef HAVE_SYS_TIMERFD_H
12449 #include <sys/timerfd.h>
12451 int main(int argc, char *argv[])
12453 #if defined(HAVE_TIMERFD_CREATE) && defined(HAVE_SYS_TIMERFD_H)
12454 if (timerfd_create(CLOCK_REALTIME, 0) < 0) {
12464 if ac_fn_c_try_run
"$LINENO"; then :
12465 rb__cv_timerfd_create_works
=yes
12467 rb__cv_timerfd_create_works
=no
12469 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12470 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timerfd_create_works" >&5
12476 $as_echo "$rb__cv_timerfd_create_works" >&6; }
12477 case $rb__cv_timerfd_create_works in
12479 $as_echo "#define USE_TIMERFD_CREATE 1" >>confdefs.h
12484 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12485 # for constant arguments. Useless!
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
12487 $as_echo_n "checking for working alloca.h... " >&6; }
12488 if test "${ac_cv_working_alloca_h+set}" = set; then :
12489 $as_echo_n "(cached) " >&6
12491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493 #include <alloca.h>
12497 char *p = (char *) alloca (2 * sizeof (int));
12503 if ac_fn_c_try_link
"$LINENO"; then :
12504 ac_cv_working_alloca_h
=yes
12506 ac_cv_working_alloca_h
=no
12508 rm -f core conftest.err conftest.
$ac_objext \
12509 conftest
$ac_exeext conftest.
$ac_ext
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
12512 $as_echo "$ac_cv_working_alloca_h" >&6; }
12513 if test $ac_cv_working_alloca_h = yes; then
12515 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12520 $as_echo_n "checking for alloca... " >&6; }
12521 if test "${ac_cv_func_alloca_works+set}" = set; then :
12522 $as_echo_n "(cached) " >&6
12524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 # define alloca __builtin_alloca
12530 # include <malloc.h>
12531 # define alloca _alloca
12533 # ifdef HAVE_ALLOCA_H
12534 # include <alloca.h>
12539 # ifndef alloca /* predefined by HP cc +Olibcalls */
12550 char *p = (char *) alloca (1);
12556 if ac_fn_c_try_link
"$LINENO"; then :
12557 ac_cv_func_alloca_works
=yes
12559 ac_cv_func_alloca_works
=no
12561 rm -f core conftest.err conftest.
$ac_objext \
12562 conftest
$ac_exeext conftest.
$ac_ext
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
12565 $as_echo "$ac_cv_func_alloca_works" >&6; }
12567 if test $ac_cv_func_alloca_works = yes; then
12569 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
12572 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12573 # that cause trouble. Some versions do not even contain alloca or
12574 # contain a buggy version. If you still want to use their alloca,
12575 # use ar to extract alloca.o from them instead of compiling alloca.c.
12577 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
12579 $as_echo "#define C_ALLOCA 1" >>confdefs.h
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
12583 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
12584 if test "${ac_cv_os_cray+set}" = set; then :
12585 $as_echo_n "(cached) " >&6
12587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12589 #if defined CRAY && ! defined CRAY2
12596 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12597 $EGREP "webecray" >/dev
/null
2>&1; then :
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
12606 $as_echo "$ac_cv_os_cray" >&6; }
12607 if test $ac_cv_os_cray = yes; then
12608 for ac_func
in _getb67 GETB67 getb67
; do
12609 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12610 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12611 eval as_val
=\$
$as_ac_var
12612 if test "x$as_val" = x
""yes; then :
12614 cat >>confdefs.h
<<_ACEOF
12615 #define CRAY_STACKSEG_END $ac_func
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
12625 $as_echo_n "checking stack direction for C alloca... " >&6; }
12626 if test "${ac_cv_c_stack_direction+set}" = set; then :
12627 $as_echo_n "(cached) " >&6
12629 if test "$cross_compiling" = yes; then :
12630 ac_cv_c_stack_direction
=0
12632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12634 $ac_includes_default
12636 find_stack_direction ()
12638 static char *addr = 0;
12643 return find_stack_direction ();
12646 return (&dummy > addr) ? 1 : -1;
12652 return find_stack_direction () < 0;
12655 if ac_fn_c_try_run
"$LINENO"; then :
12656 ac_cv_c_stack_direction
=1
12658 ac_cv_c_stack_direction
=-1
12660 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12661 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
12666 $as_echo "$ac_cv_c_stack_direction" >&6; }
12667 cat >>confdefs.h
<<_ACEOF
12668 #define STACK_DIRECTION $ac_cv_c_stack_direction
12674 for ac_header
in vfork.h
12676 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
12677 if test "x$ac_cv_header_vfork_h" = x
""yes; then :
12678 cat >>confdefs.h
<<_ACEOF
12679 #define HAVE_VFORK_H 1
12686 for ac_func
in fork vfork
12688 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12689 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12690 eval as_val
=\$
$as_ac_var
12691 if test "x$as_val" = x
""yes; then :
12692 cat >>confdefs.h
<<_ACEOF
12693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12699 if test "x$ac_cv_func_fork" = xyes
; then
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
12701 $as_echo_n "checking for working fork... " >&6; }
12702 if test "${ac_cv_func_fork_works+set}" = set; then :
12703 $as_echo_n "(cached) " >&6
12705 if test "$cross_compiling" = yes; then :
12706 ac_cv_func_fork_works
=cross
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 $ac_includes_default
12715 /* By Ruediger Kuhlmann. */
12716 return fork () < 0;
12722 if ac_fn_c_try_run
"$LINENO"; then :
12723 ac_cv_func_fork_works
=yes
12725 ac_cv_func_fork_works
=no
12727 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12728 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
12733 $as_echo "$ac_cv_func_fork_works" >&6; }
12736 ac_cv_func_fork_works
=$ac_cv_func_fork
12738 if test "x$ac_cv_func_fork_works" = xcross
; then
12740 *-*-amigaos* | *-*-msdosdjgpp*)
12741 # Override, as these systems have only a dummy fork() stub
12742 ac_cv_func_fork_works
=no
12745 ac_cv_func_fork_works
=yes
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
12749 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
12751 ac_cv_func_vfork_works
=$ac_cv_func_vfork
12752 if test "x$ac_cv_func_vfork" = xyes
; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
12754 $as_echo_n "checking for working vfork... " >&6; }
12755 if test "${ac_cv_func_vfork_works+set}" = set; then :
12756 $as_echo_n "(cached) " >&6
12758 if test "$cross_compiling" = yes; then :
12759 ac_cv_func_vfork_works
=cross
12761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12762 /* end confdefs.h. */
12763 /* Thanks to Paul Eggert for this test. */
12764 $ac_includes_default
12765 #include <sys/wait.h>
12766 #ifdef HAVE_VFORK_H
12767 # include <vfork.h>
12769 /* On some sparc systems, changes by the child to local and incoming
12770 argument registers are propagated back to the parent. The compiler
12771 is told about this with #include <vfork.h>, but some compilers
12772 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
12773 static variable whose address is put into a register that is
12774 clobbered by the vfork. */
12777 sparc_address_test (int arg)
12779 sparc_address_test (arg) int arg;
12782 static pid_t child;
12800 pid_t parent = getpid ();
12803 sparc_address_test (0);
12808 /* Here is another test for sparc vfork register problems. This
12809 test uses lots of local variables, at least as many local
12810 variables as main has allocated so far including compiler
12811 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
12812 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
12813 reuse the register of parent for one of the local variables,
12814 since it will think that parent can't possibly be used any more
12815 in this routine. Assigning to the local variable will thus
12816 munge parent in the parent process. */
12818 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
12819 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
12820 /* Convince the compiler that p..p7 are live; otherwise, it might
12821 use the same hardware register for all 8 local variables. */
12822 if (p != p1 || p != p2 || p != p3 || p != p4
12823 || p != p5 || p != p6 || p != p7)
12826 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
12827 from child file descriptors. If the child closes a descriptor
12828 before it execs or exits, this munges the parent's descriptor
12829 as well. Test for this by closing stdout in the child. */
12830 _exit(close(fileno(stdout)) != 0);
12835 while (wait(&status) != child)
12838 /* Was there some problem with vforking? */
12841 /* Did the child fail? (This shouldn't happen.) */
12844 /* Did the vfork/compiler bug occur? */
12845 || parent != getpid()
12847 /* Did the file descriptor bug occur? */
12848 || fstat(fileno(stdout), &st) != 0
12853 if ac_fn_c_try_run
"$LINENO"; then :
12854 ac_cv_func_vfork_works
=yes
12856 ac_cv_func_vfork_works
=no
12858 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12859 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
12864 $as_echo "$ac_cv_func_vfork_works" >&6; }
12867 if test "x$ac_cv_func_fork_works" = xcross
; then
12868 ac_cv_func_vfork_works
=$ac_cv_func_vfork
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
12870 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
12873 if test "x$ac_cv_func_vfork_works" = xyes
; then
12875 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
12879 $as_echo "#define vfork fork" >>confdefs.h
12882 if test "x$ac_cv_func_fork_works" = xyes
; then
12884 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
12891 for ac_header
in $ac_header_list
12893 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12894 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12896 eval as_val
=\$
$as_ac_Header
12897 if test "x$as_val" = x
""yes; then :
12898 cat >>confdefs.h
<<_ACEOF
12899 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12913 for ac_func
in getpagesize
12915 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12916 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
12917 cat >>confdefs.h
<<_ACEOF
12918 #define HAVE_GETPAGESIZE 1
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12925 $as_echo_n "checking for working mmap... " >&6; }
12926 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12927 $as_echo_n "(cached) " >&6
12929 if test "$cross_compiling" = yes; then :
12930 ac_cv_func_mmap_fixed_mapped
=no
12932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12934 $ac_includes_default
12935 /* malloc might have been renamed as rpl_malloc. */
12938 /* Thanks to Mike Haertel and Jim Avera for this test.
12939 Here is a matrix of mmap possibilities:
12940 mmap private not fixed
12941 mmap private fixed at somewhere currently unmapped
12942 mmap private fixed at somewhere already mapped
12943 mmap shared not fixed
12944 mmap shared fixed at somewhere currently unmapped
12945 mmap shared fixed at somewhere already mapped
12946 For private mappings, we should verify that changes cannot be read()
12947 back from the file, nor mmap's back from the file at a different
12948 address. (There have been systems where private was not correctly
12949 implemented like the infamous i386 svr4.0, and systems where the
12950 VM page cache was not coherent with the file system buffer cache
12951 like early versions of FreeBSD and possibly contemporary NetBSD.)
12952 For shared mappings, we should conversely verify that changes get
12953 propagated back to all the places they're supposed to be.
12955 Grep wants private fixed already mapped.
12956 The main things grep needs to know about mmap are:
12957 * does it exist and is it safe to write into the mmap'd area
12958 * how to use it (BSD variants) */
12961 #include <sys/mman.h>
12963 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12967 /* This mess was copied from the GNU getpagesize.h. */
12968 #ifndef HAVE_GETPAGESIZE
12969 # ifdef _SC_PAGESIZE
12970 # define getpagesize() sysconf(_SC_PAGESIZE)
12971 # else /* no _SC_PAGESIZE */
12972 # ifdef HAVE_SYS_PARAM_H
12973 # include <sys/param.h>
12974 # ifdef EXEC_PAGESIZE
12975 # define getpagesize() EXEC_PAGESIZE
12976 # else /* no EXEC_PAGESIZE */
12978 # define getpagesize() NBPG * CLSIZE
12981 # endif /* no CLSIZE */
12982 # else /* no NBPG */
12984 # define getpagesize() NBPC
12985 # else /* no NBPC */
12987 # define getpagesize() PAGESIZE
12988 # endif /* PAGESIZE */
12989 # endif /* no NBPC */
12990 # endif /* no NBPG */
12991 # endif /* no EXEC_PAGESIZE */
12992 # else /* no HAVE_SYS_PARAM_H */
12993 # define getpagesize() 8192 /* punt totally */
12994 # endif /* no HAVE_SYS_PARAM_H */
12995 # endif /* no _SC_PAGESIZE */
12997 #endif /* no HAVE_GETPAGESIZE */
13002 char *data, *data2, *data3;
13006 pagesize = getpagesize ();
13008 /* First, make a file with some known garbage in it. */
13009 data = (char *) malloc (pagesize);
13012 for (i = 0; i < pagesize; ++i)
13013 *(data + i) = rand ();
13015 fd = creat ("conftest.mmap", 0600);
13018 if (write (fd, data, pagesize) != pagesize)
13022 /* Next, check that the tail of a page is zero-filled. File must have
13023 non-zero length, otherwise we risk SIGBUS for entire page. */
13024 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13028 if (write (fd2, data2, 1) != 1)
13030 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13031 if (data2 == MAP_FAILED)
13033 for (i = 0; i < pagesize; ++i)
13037 if (munmap (data2, pagesize))
13040 /* Next, try to mmap the file at a fixed address which already has
13041 something else allocated at it. If we can, also make sure that
13042 we see the same garbage. */
13043 fd = open ("conftest.mmap", O_RDWR);
13046 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13047 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13049 for (i = 0; i < pagesize; ++i)
13050 if (*(data + i) != *(data2 + i))
13053 /* Finally, make sure that changes to the mapped area do not
13054 percolate back to the file as seen by read(). (This is a bug on
13055 some variants of i386 svr4.0.) */
13056 for (i = 0; i < pagesize; ++i)
13057 *(data2 + i) = *(data2 + i) + 1;
13058 data3 = (char *) malloc (pagesize);
13061 if (read (fd, data3, pagesize) != pagesize)
13063 for (i = 0; i < pagesize; ++i)
13064 if (*(data + i) != *(data3 + i))
13070 if ac_fn_c_try_run
"$LINENO"; then :
13071 ac_cv_func_mmap_fixed_mapped
=yes
13073 ac_cv_func_mmap_fixed_mapped
=no
13075 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13076 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13081 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13082 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13084 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13087 rm -f conftest.mmap conftest.txt
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/poll" >&5
13091 $as_echo_n "checking for /dev/poll... " >&6; }
13092 if test -c "/dev/poll"; then
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13094 $as_echo "yes" >&6; }
13096 $as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13100 $as_echo "no" >&6; }
13104 if test "$is_mingw" = "yes"; then
13106 $as_echo "#define HAVE_WIN32 1" >>confdefs.h
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
13112 $as_echo_n "checking for OpenSSL... " >&6; }
13113 # Check whether --enable-openssl was given.
13114 if test "${enable_openssl+set}" = set; then :
13115 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
13117 cf_enable_openssl
="auto"
13121 if test "$cf_enable_openssl" != "no" ; then
13122 cf_openssl_basedir
=""
13123 if test "$cf_enable_openssl" != "auto" &&
13124 test "$cf_enable_openssl" != "yes" ; then
13125 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
13127 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
13128 /usr
/local
/openssl
; do
13129 if test -f "${dirs}/include/openssl/opensslv.h" ; then
13130 cf_openssl_basedir
="${dirs}"
13136 if test ! -z "$cf_openssl_basedir"; then
13137 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
13138 SSL_CFLAGS
="-I${cf_openssl_basedir}/include"
13139 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
13141 cf_openssl_basedir
=""
13144 if test -f "/usr/include/openssl/opensslv.h" ; then
13145 cf_openssl_basedir
="/usr"
13149 if test ! -z "$cf_openssl_basedir"; then
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13151 $as_echo "$cf_openssl_basedir" >&6; }
13152 cf_enable_openssl
="yes"
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
13155 $as_echo "not found. Specify a correct path?" >&6; }
13156 cf_enable_openssl
="no"
13158 unset cf_openssl_basedir
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13161 $as_echo "disabled" >&6; }
13164 save_CPPFLAGS
="$CPPFLAGS"
13165 CPPFLAGS
="$CPPFLAGS $SSL_CFLAGS"
13167 LIBS
="$LIBS $SSL_LIBS"
13168 if test "$cf_enable_openssl" != no
; then
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
13170 $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
13171 if test "$cross_compiling" = yes; then :
13172 cf_enable_openssl
=no
13174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13176 #include <openssl/opensslv.h>
13177 #include <stdlib.h>
13181 if (OPENSSL_VERSION_NUMBER >= 0x00907000)
13182 exit(0); else exit(1);
13187 if ac_fn_c_try_run
"$LINENO"; then :
13188 cf_enable_openssl
=yes
13190 cf_enable_openssl
=no
13192 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13193 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13197 if test "$cf_enable_openssl" != no
; then
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13199 $as_echo "found" >&6; }
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
13202 $as_echo "no - OpenSSL support disabled" >&6; }
13208 if test "$cf_enable_openssl" != no
; then
13209 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_status in -lcrypto" >&5
13211 $as_echo_n "checking for RAND_status in -lcrypto... " >&6; }
13212 if test "${ac_cv_lib_crypto_RAND_status+set}" = set; then :
13213 $as_echo_n "(cached) " >&6
13215 ac_check_lib_save_LIBS
=$LIBS
13216 LIBS
="-lcrypto $LIBS"
13217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13226 char RAND_status ();
13230 return RAND_status ();
13235 if ac_fn_c_try_link
"$LINENO"; then :
13236 ac_cv_lib_crypto_RAND_status
=yes
13238 ac_cv_lib_crypto_RAND_status
=no
13240 rm -f core conftest.err conftest.
$ac_objext \
13241 conftest
$ac_exeext conftest.
$ac_ext
13242 LIBS
=$ac_check_lib_save_LIBS
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_status" >&5
13245 $as_echo "$ac_cv_lib_crypto_RAND_status" >&6; }
13246 if test "x$ac_cv_lib_crypto_RAND_status" = x
""yes; then :
13247 cf_enable_openssl
=yes
13249 cf_enable_openssl
=no
13254 if test "$cf_enable_openssl" != no
; then
13255 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_read in -lssl" >&5
13257 $as_echo_n "checking for SSL_read in -lssl... " >&6; }
13258 if test "${ac_cv_lib_ssl_SSL_read+set}" = set; then :
13259 $as_echo_n "(cached) " >&6
13261 ac_check_lib_save_LIBS
=$LIBS
13262 LIBS
="-lssl -lcrypto $LIBS"
13263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13266 /* Override any GCC internal prototype to avoid an error.
13267 Use char because int might match the return type of a GCC
13268 builtin and then its argument prototype would still apply. */
13276 return SSL_read ();
13281 if ac_fn_c_try_link
"$LINENO"; then :
13282 ac_cv_lib_ssl_SSL_read
=yes
13284 ac_cv_lib_ssl_SSL_read
=no
13286 rm -f core conftest.err conftest.
$ac_objext \
13287 conftest
$ac_exeext conftest.
$ac_ext
13288 LIBS
=$ac_check_lib_save_LIBS
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_read" >&5
13291 $as_echo "$ac_cv_lib_ssl_SSL_read" >&6; }
13292 if test "x$ac_cv_lib_ssl_SSL_read" = x
""yes; then :
13293 SSL_LIBS
="$SSL_LIBS -lssl -lcrypto"
13295 cf_enable_openssl
=no
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS" >&5
13303 $as_echo_n "checking for GnuTLS... " >&6; }
13304 # Check whether --enable-gnutls was given.
13305 if test "${enable_gnutls+set}" = set; then :
13306 enableval
=$enable_gnutls; cf_enable_gnutls
=$enableval
13308 cf_enable_gnutls
="auto"
13312 if test "$cf_enable_gnutls" != no
; then
13315 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13316 if test -n "$ac_tool_prefix"; then
13317 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13318 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13320 $as_echo_n "checking for $ac_word... " >&6; }
13321 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13322 $as_echo_n "(cached) " >&6
13324 case $PKG_CONFIG in
13326 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13330 for as_dir
in $PATH
13333 test -z "$as_dir" && as_dir
=.
13334 for ac_exec_ext
in '' $ac_executable_extensions; do
13335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13336 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13347 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
13348 if test -n "$PKG_CONFIG"; then
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13350 $as_echo "$PKG_CONFIG" >&6; }
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13353 $as_echo "no" >&6; }
13358 if test -z "$ac_cv_path_PKG_CONFIG"; then
13359 ac_pt_PKG_CONFIG
=$PKG_CONFIG
13360 # Extract the first word of "pkg-config", so it can be a program name with args.
13361 set dummy pkg
-config; ac_word
=$2
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13363 $as_echo_n "checking for $ac_word... " >&6; }
13364 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13365 $as_echo_n "(cached) " >&6
13367 case $ac_pt_PKG_CONFIG in
13369 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13373 for as_dir
in $PATH
13376 test -z "$as_dir" && as_dir
=.
13377 for ac_exec_ext
in '' $ac_executable_extensions; do
13378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13379 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
13380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13390 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
13391 if test -n "$ac_pt_PKG_CONFIG"; then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13393 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13396 $as_echo "no" >&6; }
13399 if test "x$ac_pt_PKG_CONFIG" = x
; then
13402 case $cross_compiling:$ac_tool_warned in
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13406 ac_tool_warned
=yes ;;
13408 PKG_CONFIG
=$ac_pt_PKG_CONFIG
13411 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13415 if test -n "$PKG_CONFIG"; then
13416 _pkg_min_version
=0.9.0
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13418 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13419 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13421 $as_echo "yes" >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424 $as_echo "no" >&6; }
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
13432 $as_echo_n "checking for GNUTLS... " >&6; }
13434 if test -n "$GNUTLS_CFLAGS"; then
13435 pkg_cv_GNUTLS_CFLAGS
="$GNUTLS_CFLAGS"
13436 elif test -n "$PKG_CONFIG"; then
13437 if test -n "$PKG_CONFIG" && \
13438 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
13439 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13442 test $ac_status = 0; }; then
13443 pkg_cv_GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags "gnutls" 2>/dev/null`
13450 if test -n "$GNUTLS_LIBS"; then
13451 pkg_cv_GNUTLS_LIBS
="$GNUTLS_LIBS"
13452 elif test -n "$PKG_CONFIG"; then
13453 if test -n "$PKG_CONFIG" && \
13454 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
13455 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
13457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13458 test $ac_status = 0; }; then
13459 pkg_cv_GNUTLS_LIBS
=`$PKG_CONFIG --libs "gnutls" 2>/dev/null`
13469 if test $pkg_failed = yes; then
13471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13472 _pkg_short_errors_supported
=yes
13474 _pkg_short_errors_supported
=no
13476 if test $_pkg_short_errors_supported = yes; then
13477 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "gnutls" 2>&1`
13479 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --print-errors "gnutls" 2>&1`
13481 # Put the nasty error message in config.log where it belongs
13482 echo "$GNUTLS_PKG_ERRORS" >&5
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13485 $as_echo "no" >&6; }
13486 cf_enable_gnutls
="no"
13487 elif test $pkg_failed = untried
; then
13488 cf_enable_gnutls
="no"
13490 GNUTLS_CFLAGS
=$pkg_cv_GNUTLS_CFLAGS
13491 GNUTLS_LIBS
=$pkg_cv_GNUTLS_LIBS
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13493 $as_echo "yes" >&6; }
13495 cf_enable_gnutls
="yes"
13500 if test "$cf_enable_gnutls" = "auto" -a "$cf_enable_openssl" = "yes"; then
13501 cf_enable_gnutls
="no"
13504 if test x
"$cf_enable_openssl" != xno
; then
13506 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
13511 elif test x
"$cf_enable_gnutls" != xno
; then
13513 $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
13523 CPPFLAGS
="$save_CPPFLAGS"
13531 # Check whether --enable-assert was given.
13532 if test "${enable_assert+set}" = set; then :
13533 enableval
=$enable_assert; assert
=$enableval
13539 if test "$assert" = no
; then
13541 $as_echo "#define NDEBUG 1" >>confdefs.h
13543 elif test "$assert" = soft
; then
13545 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
13548 $as_echo "#define NDEBUG 1" >>confdefs.h
13550 elif test "$assert" = yes; then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
13555 $as_echo_n "checking if you want to do a profile build... " >&6; }
13556 # Check whether --enable-profile was given.
13557 if test "${enable_profile+set}" = set; then :
13558 enableval
=$enable_profile; profile
=$enableval
13564 if test "$profile" = yes; then
13565 if test "$ac_cv_c_compiler_gnu" = yes; then
13566 CFLAGS
="$CFLAGS -pg -static"
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg -static" >&5
13568 $as_echo "yes, adding -pg -static" >&6; }
13570 $as_echo "#define RATBOX_PROFILE 1" >>confdefs.h
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
13574 $as_echo "no, profile builds only work with gcc" >&6; }
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13578 $as_echo "no" >&6; }
13581 # Check whether --enable-balloc was given.
13582 if test "${enable_balloc+set}" = set; then :
13583 enableval
=$enable_balloc; balloc
=$enableval
13589 if test "$balloc" = no
; then
13591 $as_echo "#define NOBALLOC 1" >>confdefs.h
13595 # Check whether --enable-warnings was given.
13596 if test "${enable_warnings+set}" = set; then :
13597 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"
13610 if test "$prefix" = "NONE"; then
13612 cat >>confdefs.h
<<_ACEOF
13613 #define RB_PREFIX "$ac_default_prefix"
13620 prefix
=`echo $prefix | sed 's/\/$//'`
13622 cat >>confdefs.h
<<_ACEOF
13623 #define RB_PREFIX "$prefix"
13631 ac_config_commands
="$ac_config_commands include/librb-config.h"
13635 ac_config_files
="$ac_config_files src/Makefile Makefile libratbox.pc"
13638 cat >confcache
<<\_ACEOF
13639 # This file is a shell script that caches the results of configure
13640 # tests run on this system so they can be shared between configure
13641 # scripts and configure runs, see configure's option --config-cache.
13642 # It is not useful on other systems. If it contains results you don't
13643 # want to keep, you may remove or edit it.
13645 # config.status only pays attention to the cache file if you give it
13646 # the --recheck option to rerun configure.
13648 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13649 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13650 # following values.
13654 # The following way of writing the cache mishandles newlines in values,
13655 # but we know of no workaround that is simple, portable, and efficient.
13656 # So, we kill variables containing newlines.
13657 # Ultrix sh set writes to stderr and can't be redirected directly,
13658 # and sets the high bit in the cache file unless we assign to the vars.
13660 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13661 eval ac_val
=\$
$ac_var
13665 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13666 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13669 _
| IFS
| as_nl
) ;; #(
13670 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
13671 *) { eval $ac_var=; unset $ac_var;} ;;
13677 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13678 *${as_nl}ac_space
=\
*)
13679 # `set' does not quote correctly, so add quotes: double-quote
13680 # substitution turns \\\\ into \\, and sed turns \\ into \.
13683 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13686 # `set' quotes correctly as required by POSIX, so do not add quotes.
13687 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13696 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13698 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13700 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13701 if test -w "$cache_file"; then
13702 test "x$cache_file" != "x/dev/null" &&
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13704 $as_echo "$as_me: updating cache $cache_file" >&6;}
13705 cat confcache
>$cache_file
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13708 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13713 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13714 # Let make expand exec_prefix.
13715 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13717 DEFS
=-DHAVE_CONFIG_H
13721 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13722 # 1. Remove the extension, and $U if already installed.
13723 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13724 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13725 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13726 # will be set to the directory where LIBOBJS objects are built.
13727 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13728 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13730 LIBOBJS
=$ac_libobjs
13732 LTLIBOBJS
=$ac_ltlibobjs
13735 if test -n "$EXEEXT"; then
13737 am__EXEEXT_FALSE
='#'
13739 am__EXEEXT_TRUE
='#'
13743 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13744 as_fn_error
"conditional \"AMDEP\" was never defined.
13745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13747 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13748 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13751 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13752 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13755 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
13756 as_fn_error
"conditional \"MINGW\" was never defined.
13757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13759 if test -z "${NEED_CRYPT_TRUE}" && test -z "${NEED_CRYPT_FALSE}"; then
13760 as_fn_error
"conditional \"NEED_CRYPT\" was never defined.
13761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13764 : ${CONFIG_STATUS=./config.status}
13766 ac_clean_files_save
=$ac_clean_files
13767 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13769 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13771 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13773 # Generated by $as_me.
13774 # Run this file to recreate the current configuration.
13775 # Compiler output produced by configure, useful for debugging
13776 # configure, is in config.log if it exists.
13779 ac_cs_recheck=false
13782 SHELL=\${CONFIG_SHELL-$SHELL}
13785 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
13786 ## -------------------- ##
13787 ## M4sh Initialization. ##
13788 ## -------------------- ##
13790 # Be more Bourne compatible
13791 DUALCASE
=1; export DUALCASE
# for MKS sh
13792 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13795 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13796 # is contrary to our usage. Disable this feature.
13797 alias -g '${1+"$@"}'='"$@"'
13798 setopt NO_GLOB_SUBST
13800 case `(set -o) 2>/dev/null` in #(
13812 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13813 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13815 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13816 # Prefer a ksh shell builtin over an external printf program on Solaris,
13817 # but without wasting forks for bash or zsh.
13818 if test -z "$BASH_VERSION$ZSH_VERSION" \
13819 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13820 as_echo='print
-r --'
13821 as_echo_n='print
-rn --'
13822 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13823 as_echo='printf %s
\n'
13824 as_echo_n='printf %s
'
13826 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13827 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13828 as_echo_n='/usr
/ucb
/echo -n'
13830 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13831 as_echo_n_body='eval
13835 expr "X$arg" : "X\\(.*\\)$as_nl";
13836 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13838 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13840 export as_echo_n_body
13841 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13843 export as_echo_body
13844 as_echo='sh
-c $as_echo_body as_echo
'
13847 # The user is always right.
13848 if test "${PATH_SEPARATOR+set}" != set; then
13850 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13851 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13858 # We need space, tab and new line, in precisely that order. Quoting is
13859 # there to prevent editors from complaining about space-tab.
13860 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13861 # splitting by setting IFS to empty value.)
13864 # Find who we are. Look in the path if we contain no directory separator.
13866 *[\\/]* ) as_myself=$0 ;;
13867 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13868 for as_dir in $PATH
13871 test -z "$as_dir" && as_dir=.
13872 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13878 # We did not find ourselves, most probably we were run as `sh COMMAND'
13879 # in which case we are not to be found in the path.
13880 if test "x$as_myself" = x
; then
13883 if test ! -f "$as_myself"; then
13884 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13888 # Unset variables that we do not need and which cause bugs (e.g. in
13889 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13890 # suppresses any "Segmentation fault" message there. '((' could
13891 # trigger a bug in pdksh 5.2.14.
13892 for as_var
in BASH_ENV ENV MAIL MAILPATH
13893 do eval test x\
${$as_var+set} = xset \
13894 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
13907 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13910 # as_fn_error ERROR [LINENO LOG_FD]
13911 # ---------------------------------
13912 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13913 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13914 # script with status $?, using 1 if that was 0.
13917 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13919 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13920 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13922 $as_echo "$as_me: error: $1" >&2
13923 as_fn_exit
$as_status
13927 # as_fn_set_status STATUS
13928 # -----------------------
13929 # Set $? to STATUS, without forking.
13930 as_fn_set_status
()
13933 } # as_fn_set_status
13935 # as_fn_exit STATUS
13936 # -----------------
13937 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13941 as_fn_set_status
$1
13947 # Portably unset VAR.
13950 { eval $1=; unset $1;}
13952 as_unset
=as_fn_unset
13953 # as_fn_append VAR VALUE
13954 # ----------------------
13955 # Append the text in VALUE to the end of the definition contained in VAR. Take
13956 # advantage of any shell optimizations that allow amortized linear growth over
13957 # repeated appends, instead of the typical quadratic growth present in naive
13959 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13960 eval 'as_fn_append ()
13971 # as_fn_arith ARG...
13972 # ------------------
13973 # Perform arithmetic evaluation on the ARGs, and store the result in the
13974 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13975 # must be portable across $(()) and expr.
13976 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13977 eval 'as_fn_arith ()
13984 as_val
=`expr "$@" || test $? -eq 1`
13989 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13990 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13996 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13997 as_basename
=basename
14002 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14008 as_me
=`$as_basename -- "$0" ||
14009 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14010 X"$0" : 'X\(//\)$' \| \
14011 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14013 sed '/^.*\/\([^/][^/]*\)\/*$/{
14027 # Avoid depending upon Character Ranges.
14028 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14029 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14030 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14031 as_cr_digits
='0123456789'
14032 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14034 ECHO_C
= ECHO_N
= ECHO_T
=
14035 case `echo -n x` in #(((((
14037 case `echo 'xy\c'` in
14038 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14040 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14047 rm -f conf$$ conf$$.exe conf$$.
file
14048 if test -d conf$$.dir
; then
14049 rm -f conf$$.dir
/conf$$.
file
14052 mkdir conf$$.dir
2>/dev
/null
14054 if (echo >conf$$.
file) 2>/dev
/null
; then
14055 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14057 # ... but there are two gotchas:
14058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14060 # In both cases, we have to default to `cp -p'.
14061 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
14063 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14071 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14072 rmdir conf$$.dir
2>/dev
/null
14077 # Create "$as_dir" as a directory, including parents if necessary.
14082 -*) as_dir
=.
/$as_dir;;
14084 test -d "$as_dir" || eval $as_mkdir_p || {
14088 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14089 *) as_qdir
=$as_dir;;
14091 as_dirs
="'$as_qdir' $as_dirs"
14092 as_dir
=`$as_dirname -- "$as_dir" ||
14093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14094 X"$as_dir" : 'X\(//\)[^/]' \| \
14095 X"$as_dir" : 'X\(//\)$' \| \
14096 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14097 $as_echo X"$as_dir" |
14098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14102 /^X\(\/\/\)[^/].*/{
14115 test -d "$as_dir" && break
14117 test -z "$as_dirs" || eval "mkdir $as_dirs"
14118 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14122 if mkdir -p .
2>/dev
/null
; then
14123 as_mkdir_p
='mkdir -p "$as_dir"'
14125 test -d .
/-p && rmdir .
/-p
14129 if test -x / >/dev
/null
2>&1; then
14130 as_test_x
='test -x'
14132 if ls -dL / >/dev
/null
2>&1; then
14139 if test -d "$1"; then
14145 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14146 ???[sx]*):;;*)false;;esac;fi
14150 as_executable_p
=$as_test_x
14152 # Sed expression to map a string onto a valid CPP name.
14153 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14155 # Sed expression to map a string onto a valid variable name.
14156 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14160 ## ----------------------------------- ##
14161 ## Main body of $CONFIG_STATUS script. ##
14162 ## ----------------------------------- ##
14164 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14166 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14167 # Save the log message, to keep $0 and so on meaningful, and to
14168 # report actual input values of CONFIG_FILES etc. instead of their
14169 # values after options handling.
14171 This file was extended by libratbox $as_me devel, which was
14172 generated by GNU Autoconf 2.65. Invocation command line was
14174 CONFIG_FILES = $CONFIG_FILES
14175 CONFIG_HEADERS = $CONFIG_HEADERS
14176 CONFIG_LINKS = $CONFIG_LINKS
14177 CONFIG_COMMANDS = $CONFIG_COMMANDS
14180 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14185 case $ac_config_files in *"
14186 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14189 case $ac_config_headers in *"
14190 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14195 # Files that config.status was made for.
14196 config_files="$ac_config_files"
14197 config_headers="$ac_config_headers"
14198 config_commands="$ac_config_commands"
14202 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14204 \`$as_me' instantiates files and other configuration actions
14205 from templates according to the current configuration. Unless the files
14206 and actions are specified as TAGs, all are instantiated by default.
14208 Usage: $0 [OPTION]... [TAG]...
14210 -h, --help print this help, then exit
14211 -V, --version print version number and configuration settings, then exit
14212 --config print configuration, then exit
14213 -q, --quiet, --silent
14214 do not print progress messages
14215 -d, --debug don't remove temporary files
14216 --recheck update $as_me by reconfiguring in the same conditions
14217 --file=FILE[:TEMPLATE]
14218 instantiate the configuration file FILE
14219 --header=FILE[:TEMPLATE]
14220 instantiate the configuration header FILE
14222 Configuration files:
14225 Configuration headers:
14228 Configuration commands:
14231 Report bugs to the package provider."
14234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14235 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14237 libratbox config.status devel
14238 configured by $0, generated by GNU Autoconf 2.65,
14239 with options \\"\$ac_cs_config\\"
14241 Copyright (C) 2009 Free Software Foundation, Inc.
14242 This config.status script is free software; the Free Software Foundation
14243 gives unlimited permission to copy, distribute and modify it."
14250 test -n "\$AWK" || AWK=awk
14253 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14254 # The default lists apply if the user does not specify any file.
14260 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14261 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14272 # Handling of the options.
14273 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14275 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14276 $as_echo "$ac_cs_version"; exit ;;
14277 --config | --confi | --conf | --con | --co | --c )
14278 $as_echo "$ac_cs_config"; exit ;;
14279 --debug | --debu | --deb | --de | --d | -d )
14281 --file | --fil | --fi | --f )
14284 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14286 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14287 ac_need_defaults
=false
;;
14288 --header | --heade | --head | --hea )
14291 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14293 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
14294 ac_need_defaults
=false
;;
14296 # Conflict between --help and --header
14297 as_fn_error
"ambiguous option: \`$1'
14298 Try \`$0 --help' for more information.";;
14299 --help | --hel | -h )
14300 $as_echo "$ac_cs_usage"; exit ;;
14301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14302 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14305 # This is an error.
14306 -*) as_fn_error
"unrecognized option: \`$1'
14307 Try \`$0 --help' for more information." ;;
14309 *) as_fn_append ac_config_targets
" $1"
14310 ac_need_defaults
=false
;;
14316 ac_configure_extra_args
=
14318 if $ac_cs_silent; then
14320 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14325 if \$ac_cs_recheck; then
14326 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14328 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14329 CONFIG_SHELL='$SHELL'
14330 export CONFIG_SHELL
14335 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14339 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14340 ## Running $as_me. ##
14346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14350 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14353 # The HP-UX ksh and POSIX shell print the target directory to stdout
14354 # if CDPATH is set.
14355 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14357 sed_quote_subst='$sed_quote_subst'
14358 double_quote_subst='$double_quote_subst'
14359 delay_variable_subst='$delay_variable_subst'
14360 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14361 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14362 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14363 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14364 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14365 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14366 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14367 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14368 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14369 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14370 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14371 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14372 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14373 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14374 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14375 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14376 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14377 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14378 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14379 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14380 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14381 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14382 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14383 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14384 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14385 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14386 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14387 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14388 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14389 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14390 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14391 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14392 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14393 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14394 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14395 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14396 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14397 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14398 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14399 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14400 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14401 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14402 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14403 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14404 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"`'
14405 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"`'
14406 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14407 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14408 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14409 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14410 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14411 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14412 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14413 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14414 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14415 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14416 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14417 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14418 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14419 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14420 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14421 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14422 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14423 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14424 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14425 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14426 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14427 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14428 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14429 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14430 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14431 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14432 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14433 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14434 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14435 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14436 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14437 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14438 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14439 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14440 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14441 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14442 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14443 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14444 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14445 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14446 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14447 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14448 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14449 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14450 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14451 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14452 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14453 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14454 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14455 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14456 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14457 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14458 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14459 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14460 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14461 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14462 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14463 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14464 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14465 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14466 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14467 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14468 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14469 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14470 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14471 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14472 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14473 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14474 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14475 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14476 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14477 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14480 LTCFLAGS='$LTCFLAGS'
14481 compiler='$compiler_DEFAULT'
14483 # Quote evaled strings.
14495 deplibs_check_method \
14504 lt_cv_sys_global_symbol_pipe \
14505 lt_cv_sys_global_symbol_to_cdecl \
14506 lt_cv_sys_global_symbol_to_c_name_address \
14507 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14510 lt_prog_compiler_no_builtin_flag \
14511 lt_prog_compiler_wl \
14512 lt_prog_compiler_pic \
14513 lt_prog_compiler_static \
14514 lt_cv_prog_compiler_c_o \
14522 export_dynamic_flag_spec \
14523 whole_archive_flag_spec \
14524 compiler_needs_object \
14526 allow_undefined_flag \
14527 no_undefined_flag \
14528 hardcode_libdir_flag_spec \
14529 hardcode_libdir_flag_spec_ld \
14530 hardcode_libdir_separator \
14535 variables_saved_for_relink \
14537 library_names_spec \
14542 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14543 *[\\\\\\\`\\"\\\$]*)
14544 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14547 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14552 # Double-quote double-evaled strings.
14553 for var in reload_cmds \
14554 old_postinstall_cmds \
14555 old_postuninstall_cmds \
14557 extract_expsyms_cmds \
14558 old_archive_from_new_cmds \
14559 old_archive_from_expsyms_cmds \
14561 archive_expsym_cmds \
14563 module_expsym_cmds \
14564 export_symbols_cmds \
14567 postuninstall_cmds \
14569 sys_lib_search_path_spec \
14570 sys_lib_dlsearch_path_spec; do
14571 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14572 *[\\\\\\\`\\"\\\$]*)
14573 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14576 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14581 # Fix-up fallback echo if it was mangled by the above quoting rules.
14583 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14587 ac_aux_dir='$ac_aux_dir'
14588 xsi_shell='$xsi_shell'
14589 lt_shell_append='$lt_shell_append'
14591 # See if we are running on zsh, and set the options which allow our
14592 # commands through without removal of \ escapes INIT.
14593 if test -n "\${ZSH_VERSION+set}" ; then
14594 setopt NO_GLOB_SUBST
14600 TIMESTAMP='$TIMESTAMP'
14607 if test x$ac_cv_header_stdc = xyes; then
14610 if test x$ac_cv_header_stdlib_h = xyes; then
14611 rb_header_stdlib_h=yes
14613 if test x$ac_cv_header_string_h = xyes; then
14614 rb_header_string_h=yes
14616 if test x$ac_cv_header_memory_h = xyes; then
14617 rb_header_memory_h=yes
14619 if test "x${ac_cv_working_alloca_h+set}" = xset ; then
14620 rb_alloca_h="$ac_cv_working_alloca_h"
14622 rb_alloc_h="$ac_cv_header_alloca_h"
14624 if test x$ac_cv_member_struct_sockaddr_sa_len = xyes; then
14625 rb_sockaddr_sa_len=yes
14627 if test x$ac_cv_header_sys_socket_h = xyes; then
14628 rb_sys_socket_h=yes
14630 if test x$ac_cv_header_sys_types_h = xyes; then
14633 if test x$ac_cv_header_sys_stat_h = xyes; then
14636 if test x$ac_cv_header_sys_time_h = xyes; then
14639 if test x$ac_cv_header_time = xyes; then
14643 if test x$ac_cv_header_stdint_h = xyes; then
14646 if test x$ac_cv_header_inttypes_h = xyes; then
14649 if test x$ac_cv_header_netinet_in_h = xyes; then
14650 rb_netinet_in_h=yes
14653 if test x$ac_cv_header_crypt_h = xyes; then
14656 if test x$ac_cv_header_errno_h = xyes; then
14659 if test x$ac_cv_header_unistd_h = xyes; then
14662 if test x$ac_cv_header_windows_h = xyes; then
14665 if test x$ac_cv_header_winsock2_h = xyes; then
14669 rb_socklen_t=$rb_socklen_t
14671 if test "x$rb_have_sockaddr_storage" = "xyes"; then
14672 rb_sockaddr_storage="yes"
14674 rb_sockaddr_storage="no"
14677 rb_have_ipv6="$have_v6"
14689 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14691 # Handling of arguments.
14692 for ac_config_target
in $ac_config_targets
14694 case $ac_config_target in
14695 "include/libratbox_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/libratbox_config.h" ;;
14696 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14697 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14698 "include/librb-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/librb-config.h" ;;
14699 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
14700 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14701 "libratbox.pc") CONFIG_FILES
="$CONFIG_FILES libratbox.pc" ;;
14703 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14708 # If the user did not use the arguments to specify the items to instantiate,
14709 # then the envvar interface is used. Set only those that are not.
14710 # We use the long form for the default assignment because of an extremely
14711 # bizarre bug on SunOS 4.1.3.
14712 if $ac_need_defaults; then
14713 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14714 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14715 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14718 # Have a temporary directory for convenience. Make it in the build tree
14719 # simply because there is no reason against having it here, and in addition,
14720 # creating and moving files from /tmp can sometimes cause problems.
14721 # Hook for its removal unless debugging.
14722 # Note that there is a small window in which the directory will not be cleaned:
14723 # after its creation but before its name has been assigned to `$tmp'.
14727 trap 'exit_status=$?
14728 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14730 trap 'as_fn_exit 1' 1 2 13 15
14732 # Create a (secure) tmp directory for tmp files.
14735 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14736 test -n "$tmp" && test -d "$tmp"
14739 tmp
=.
/conf$$
-$RANDOM
14740 (umask 077 && mkdir "$tmp")
14741 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14743 # Set up the scripts for CONFIG_FILES section.
14744 # No need to generate them if there are no CONFIG_FILES.
14745 # This happens for instance with `./config.status config.h'.
14746 if test -n "$CONFIG_FILES"; then
14749 ac_cr
=`echo X | tr X '\015'`
14750 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14751 # But we know of no other shell where ac_cr would be empty at this
14752 # point, so we can use a bashism as a fallback.
14753 if test "x$ac_cr" = x
; then
14754 eval ac_cr
=\$
\'\\r
\'
14756 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14757 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14760 ac_cs_awk_cr
=$ac_cr
14763 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14768 echo "cat >conf$$subs.awk <<_ACEOF" &&
14769 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14771 } >conf$$subs.sh ||
14772 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14773 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14775 for ac_last_try in false false false false false :; do
14776 . ./conf$$subs.sh ||
14777 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14779 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14780 if test $ac_delim_n = $ac_delim_num; then
14782 elif $ac_last_try; then
14783 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14785 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14788 rm -f conf$$subs.sh
14790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14791 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14795 s/^/S["/; s
/!.
*/"]=/
14805 s/\(.\{148\}\)..*/\1/
14807 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14812 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14819 s/\(.\{148\}\)..*/\1/
14821 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14825 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14830 ' <conf$$subs.awk | sed '
14835 ' >>$CONFIG_STATUS || ac_write_fail=1
14836 rm -f conf$$subs.awk
14837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14839 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14840 for (key in S) S_is_set[key] = 1
14846 nfields = split(line, field, "@
")
14848 len = length(field[1])
14849 for (i = 2; i < nfields; i++) {
14851 keylen = length(key)
14852 if (S_is_set[key]) {
14854 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14855 len += length(value) + length(field[++i])
14866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14867 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14868 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14871 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14872 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14875 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14876 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14877 # trailing colons and then remove the whole line if VPATH becomes empty
14878 # (actually we leave an empty line to preserve line numbers).
14879 if test "x
$srcdir" = x.; then
14880 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14881 s/:*\$(srcdir):*/:/
14882 s/:*\${srcdir}:*/:/
14884 s/^\([^=]*=[ ]*\):*/\1/
14890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14891 fi # test -n "$CONFIG_FILES"
14893 # Set up the scripts for CONFIG_HEADERS section.
14894 # No need to generate them if there are no CONFIG_HEADERS.
14895 # This happens for instance with `./config.status Makefile'.
14896 if test -n "$CONFIG_HEADERS"; then
14897 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14901 # Transform confdefs.h into an awk script `defines.awk', embedded as
14902 # here-document in config.status, that substitutes the proper values into
14903 # config.h.in to produce config.h.
14905 # Create a delimiter string that does not exist in confdefs.h, to ease
14906 # handling of long lines.
14908 for ac_last_try in false false :; do
14909 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14910 if test -z "$ac_t"; then
14912 elif $ac_last_try; then
14913 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14915 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14919 # For the awk script, D is an array of macro values keyed by name,
14920 # likewise P contains macro parameters if any. Preserve backslash
14921 # newline sequences.
14923 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14925 s/.\{148\}/&'"$ac_delim"'/g
14928 s/^[ ]*#[ ]*define[ ][ ]*/ /
14935 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14937 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14942 D["\
1"]=" \
3\\\\\\n
"\\/p
14944 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14949 s/.\{148\}/&'"$ac_delim"'/g
14954 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14957 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14959 ' <confdefs.h | sed '
14960 s/'"$ac_delim"'/"\\\
14961 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14964 for (key in D) D_is_set[key] = 1
14967 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14969 split(line, arg, " ")
14970 if (arg[1] == "#") {
14974 defundef
= substr
(arg
[1], 2)
14977 split(mac1
, mac2
, "(") #)
14979 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14980 if (D_is_set
[macro
]) {
14981 # Preserve the white space surrounding the "#".
14982 print prefix
"define", macro P
[macro
] D
[macro
]
14985 # Replace #undef with comments. This is necessary, for example,
14986 # in the case of _POSIX_SOURCE, which is predefined and required
14987 # on some systems where configure will not decide to define it.
14988 if (defundef
== "undef") {
14989 print
"/*", prefix defundef
, macro
, "*/"
14997 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14998 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14999 fi # test -n "$CONFIG_HEADERS"
15002 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15007 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15009 case $ac_mode$ac_tag in
15011 :L
* | :C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15012 :[FH
]-) ac_tag
=-:-;;
15013 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15030 -) ac_f
="$tmp/stdin";;
15031 *) # Look for the file first in the build tree, then in the source tree
15032 # (if the path is not absolute). The absolute path cannot be DOS-style,
15033 # because $ac_f cannot contain `:'.
15037 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15039 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15041 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15042 as_fn_append ac_file_inputs
" '$ac_f'"
15045 # Let's still pretend it is `configure' which instantiates (i.e., don't
15046 # use $as_me), people would be surprised to read:
15047 # /* config.h. Generated by config.status. */
15048 configure_input
='Generated from '`
15049 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15051 if test x
"$ac_file" != x
-; then
15052 configure_input
="$ac_file. $configure_input"
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15054 $as_echo "$as_me: creating $ac_file" >&6;}
15056 # Neutralize special characters interpreted by sed in replacement strings.
15057 case $configure_input in #(
15058 *\
&* | *\
|* | *\\* )
15059 ac_sed_conf_input
=`$as_echo "$configure_input" |
15060 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15061 *) ac_sed_conf_input
=$configure_input;;
15065 *:-:* | *:-) cat >"$tmp/stdin" \
15066 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15071 ac_dir
=`$as_dirname -- "$ac_file" ||
15072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15073 X"$ac_file" : 'X\(//\)[^/]' \| \
15074 X"$ac_file" : 'X\(//\)$' \| \
15075 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15076 $as_echo X"$ac_file" |
15077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15081 /^X\(\/\/\)[^/].*/{
15094 as_dir
="$ac_dir"; as_fn_mkdir_p
15098 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15100 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15101 # A ".." for each directory in $ac_dir_suffix.
15102 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15103 case $ac_top_builddir_sub in
15104 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15105 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15108 ac_abs_top_builddir
=$ac_pwd
15109 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15110 # for backward compatibility:
15111 ac_top_builddir
=$ac_top_build_prefix
15114 .
) # We are building in place.
15116 ac_top_srcdir
=$ac_top_builddir_sub
15117 ac_abs_top_srcdir
=$ac_pwd ;;
15118 [\\/]* | ?
:[\\/]* ) # Absolute name.
15119 ac_srcdir
=$srcdir$ac_dir_suffix;
15120 ac_top_srcdir
=$srcdir
15121 ac_abs_top_srcdir
=$srcdir ;;
15122 *) # Relative name.
15123 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15124 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15125 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15127 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15137 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15138 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15140 ac_MKDIR_P
=$MKDIR_P
15142 [\\/$
]* | ?
:[\\/]* ) ;;
15143 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15147 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15148 # If the template does not know about datarootdir, expand it.
15149 # FIXME: This hack should be removed a few years after 2.60.
15150 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15161 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15162 *datarootdir
*) ac_datarootdir_seen
=yes;;
15163 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15165 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15168 ac_datarootdir_hack='
15169 s&@datadir@&$datadir&g
15170 s&@docdir@&$docdir&g
15171 s&@infodir@&$infodir&g
15172 s&@localedir@&$localedir&g
15173 s&@mandir@&$mandir&g
15174 s&\\\${datarootdir}&$datarootdir&g' ;;
15178 # Neutralize VPATH when `$srcdir' = `.'.
15179 # Shell code in configure.ac might set extrasub.
15180 # FIXME: do we really want to maintain this feature?
15181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15182 ac_sed_extra="$ac_vpsub
15185 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15187 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
15188 s
|@configure_input@
|$ac_sed_conf_input|;t t
15189 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15190 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15191 s
&@srcdir@
&$ac_srcdir&;t t
15192 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15193 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15194 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15195 s
&@builddir@
&$ac_builddir&;t t
15196 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15197 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15198 s
&@INSTALL@
&$ac_INSTALL&;t t
15199 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15200 $ac_datarootdir_hack
15202 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15203 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15205 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15206 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15207 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15209 which seems to be undefined. Please make sure it is defined." >&5
15210 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15211 which seems to be undefined. Please make sure it is defined." >&2;}
15215 -) cat "$tmp/out" && rm -f "$tmp/out";;
15216 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15218 || as_fn_error "could not create $ac_file" "$LINENO" 5
15224 if test x"$ac_file" != x-; then
15226 $as_echo "/* $configure_input */" \
15227 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15228 } >"$tmp/config.h" \
15229 || as_fn_error "could not create $ac_file" "$LINENO" 5
15230 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15232 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15235 mv "$tmp/config.h" "$ac_file" \
15236 || as_fn_error "could not create $ac_file" "$LINENO" 5
15239 $as_echo "/* $configure_input */" \
15240 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15241 || as_fn_error "could not create -" "$LINENO" 5
15243 # Compute "$ac_file"'s index
in $config_headers.
15246 for _am_header
in $config_headers :; do
15247 case $_am_header in
15248 $_am_arg | $_am_arg:* )
15251 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15254 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15255 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15256 X"$_am_arg" : 'X\(//\)[^/]' \| \
15257 X"$_am_arg" : 'X\(//\)$' \| \
15258 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15259 $as_echo X"$_am_arg" |
15260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15264 /^X\(\/\/\)[^/].*/{
15276 s/.*/./; q'`/stamp
-h$_am_stamp_count
15279 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15280 $as_echo "$as_me: executing $ac_file commands" >&6;}
15285 case $ac_file$ac_mode in
15286 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
15287 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15288 # are listed without --file. Let's play safe and only enable the eval
15289 # if we detect the quoting.
15290 case $CONFIG_FILES in
15291 *\'*) eval set x
"$CONFIG_FILES" ;;
15292 *) set x
$CONFIG_FILES ;;
15297 # Strip MF so we end up with the name of the file.
15298 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15299 # Check whether this is an Automake generated Makefile or not.
15300 # We used to match only the files named `Makefile.in', but
15301 # some people rename them; so instead we look at the file content.
15302 # Grep'ing the first line is not enough: some people post-process
15303 # each Makefile.in and add a new line on top of each file to say so.
15304 # Grep'ing the whole file is not good either: AIX grep has a line
15305 # limit of 2048, but all sed's we know have understand at least 4000.
15306 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
15307 dirpart
=`$as_dirname -- "$mf" ||
15308 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15309 X"$mf" : 'X\(//\)[^/]' \| \
15310 X"$mf" : 'X\(//\)$' \| \
15311 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15317 /^X\(\/\/\)[^/].*/{
15333 # Extract the definition of DEPDIR, am__include, and am__quote
15334 # from the Makefile without running `make'.
15335 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15336 test -z "$DEPDIR" && continue
15337 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15338 test -z "am__include" && continue
15339 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15340 # When using ansi2knr, U may be empty or an underscore; expand it
15341 U
=`sed -n 's/^U = //p' < "$mf"`
15342 # Find all dependency output files, they are included files with
15343 # $(DEPDIR) in their names. We invoke sed twice because it is the
15344 # simplest approach to changing $(DEPDIR) to its actual value in the
15346 for file in `sed -n "
15347 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15348 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15349 # Make sure the directory exists.
15350 test -f "$dirpart/$file" && continue
15351 fdir
=`$as_dirname -- "$file" ||
15352 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15353 X"$file" : 'X\(//\)[^/]' \| \
15354 X"$file" : 'X\(//\)$' \| \
15355 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15356 $as_echo X"$file" |
15357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15361 /^X\(\/\/\)[^/].*/{
15374 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
15375 # echo "creating $dirpart/$file"
15376 echo '# dummy' > "$dirpart/$file"
15383 # See if we are running on zsh, and set the options which allow our
15384 # commands through without removal of \ escapes.
15385 if test -n "${ZSH_VERSION+set}" ; then
15386 setopt NO_GLOB_SUBST
15389 cfgfile
="${ofile}T"
15390 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15393 cat <<_LT_EOF >> "$cfgfile"
15396 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15397 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15398 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15399 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15401 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15402 # 2006, 2007, 2008 Free Software Foundation, Inc.
15403 # Written by Gordon Matzigkeit, 1996
15405 # This file is part of GNU Libtool.
15407 # GNU Libtool is free software; you can redistribute it and/or
15408 # modify it under the terms of the GNU General Public License as
15409 # published by the Free Software Foundation; either version 2 of
15410 # the License, or (at your option) any later version.
15412 # As a special exception to the GNU General Public License,
15413 # if you distribute this file as part of a program or library that
15414 # is built using GNU Libtool, you may include this file under the
15415 # same distribution terms that you use for the rest of that program.
15417 # GNU Libtool is distributed in the hope that it will be useful,
15418 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15419 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15420 # GNU General Public License for more details.
15422 # You should have received a copy of the GNU General Public License
15423 # along with GNU Libtool; see the file COPYING. If not, a copy
15424 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15425 # obtained by writing to the Free Software Foundation, Inc.,
15426 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15429 # The names of the tagged configurations supported by this script.
15432 # ### BEGIN LIBTOOL CONFIG
15434 # Whether or not to build static libraries.
15435 build_old_libs=$enable_static
15437 # Whether or not to build shared libraries.
15438 build_libtool_libs=$enable_shared
15440 # Which release of libtool.m4 was used?
15441 macro_version=$macro_version
15442 macro_revision=$macro_revision
15444 # What type of objects to build.
15447 # Whether or not to optimize for fast installation.
15448 fast_install=$enable_fast_install
15451 host_alias=$host_alias
15455 # The build system.
15456 build_alias=$build_alias
15460 # A sed program that does not truncate output.
15463 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15464 Xsed="\$SED -e 1s/^X//"
15466 # A grep program that handles long lines.
15472 # A literal string matcher.
15475 # A BSD- or MS-compatible name lister.
15478 # Whether we need soft or hard links.
15481 # What is the maximum length of a command?
15482 max_cmd_len=$max_cmd_len
15484 # Object file suffix (normally "o").
15487 # Executable file suffix (normally "").
15490 # whether the shell understands "unset".
15493 # turn spaces into newlines.
15496 # turn newlines into spaces.
15499 # How to create reloadable object files.
15500 reload_flag=$lt_reload_flag
15501 reload_cmds=$lt_reload_cmds
15503 # An object symbol dumper.
15504 OBJDUMP=$lt_OBJDUMP
15506 # Method to check whether dependent libraries are shared objects.
15507 deplibs_check_method=$lt_deplibs_check_method
15509 # Command to use when deplibs_check_method == "file_magic".
15510 file_magic_cmd=$lt_file_magic_cmd
15514 AR_FLAGS=$lt_AR_FLAGS
15516 # A symbol stripping program.
15519 # Commands used to install an old-style archive.
15521 old_postinstall_cmds=$lt_old_postinstall_cmds
15522 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15527 # LTCC compiler flags.
15528 LTCFLAGS=$lt_CFLAGS
15530 # Take the output of nm and produce a listing of raw symbols and C names.
15531 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15533 # Transform the output of nm in a proper C declaration.
15534 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15536 # Transform the output of nm in a C name address pair.
15537 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15539 # Transform the output of nm in a C name address pair when lib prefix is needed.
15540 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15542 # The name of the directory that contains temporary libtool files.
15545 # Shell to use when invoking shell scripts.
15548 # An echo program that does not interpret backslashes.
15551 # Used to examine libraries when file_magic_cmd begins with "file".
15552 MAGIC_CMD=$MAGIC_CMD
15554 # Must we lock files when doing compilation?
15555 need_locks=$lt_need_locks
15557 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15558 DSYMUTIL=$lt_DSYMUTIL
15560 # Tool to change global to local symbols on Mac OS X.
15563 # Tool to manipulate fat objects and archives on Mac OS X.
15566 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15569 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15570 OTOOL64=$lt_OTOOL64
15572 # Old archive suffix (normally "a").
15575 # Shared library suffix (normally ".so").
15576 shrext_cmds=$lt_shrext_cmds
15578 # The commands to extract the exported symbol list from a shared archive.
15579 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15581 # Variables whose values should be saved in libtool wrapper scripts and
15582 # restored at link time.
15583 variables_saved_for_relink=$lt_variables_saved_for_relink
15585 # Do we need the "lib" prefix for modules?
15586 need_lib_prefix=$need_lib_prefix
15588 # Do we need a version for libraries?
15589 need_version=$need_version
15591 # Library versioning type.
15592 version_type=$version_type
15594 # Shared library runtime path variable.
15595 runpath_var=$runpath_var
15597 # Shared library path variable.
15598 shlibpath_var=$shlibpath_var
15600 # Is shlibpath searched before the hard-coded library search path?
15601 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15603 # Format of library name prefix.
15604 libname_spec=$lt_libname_spec
15606 # List of archive names. First name is the real one, the rest are links.
15607 # The last name is the one that the linker finds with -lNAME
15608 library_names_spec=$lt_library_names_spec
15610 # The coded name of the library, if different from the real name.
15611 soname_spec=$lt_soname_spec
15613 # Command to use after installation of a shared archive.
15614 postinstall_cmds=$lt_postinstall_cmds
15616 # Command to use after uninstallation of a shared archive.
15617 postuninstall_cmds=$lt_postuninstall_cmds
15619 # Commands used to finish a libtool library installation in a directory.
15620 finish_cmds=$lt_finish_cmds
15622 # As "finish_cmds", except a single script fragment to be evaled but
15624 finish_eval=$lt_finish_eval
15626 # Whether we should hardcode library paths into libraries.
15627 hardcode_into_libs=$hardcode_into_libs
15629 # Compile-time system search path for libraries.
15630 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15632 # Run-time system search path for libraries.
15633 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15635 # Whether dlopen is supported.
15636 dlopen_support=$enable_dlopen
15638 # Whether dlopen of programs is supported.
15639 dlopen_self=$enable_dlopen_self
15641 # Whether dlopen of statically linked programs is supported.
15642 dlopen_self_static=$enable_dlopen_self_static
15644 # Commands to strip libraries.
15645 old_striplib=$lt_old_striplib
15646 striplib=$lt_striplib
15649 # The linker used to build libraries.
15652 # Commands used to build an old-style archive.
15653 old_archive_cmds=$lt_old_archive_cmds
15655 # A language specific compiler.
15658 # Is the compiler the GNU compiler?
15661 # Compiler flag to turn off builtin functions.
15662 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15664 # How to pass a linker flag through the compiler.
15665 wl=$lt_lt_prog_compiler_wl
15667 # Additional compiler flags for building library objects.
15668 pic_flag=$lt_lt_prog_compiler_pic
15670 # Compiler flag to prevent dynamic linking.
15671 link_static_flag=$lt_lt_prog_compiler_static
15673 # Does compiler simultaneously support -c and -o options?
15674 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15676 # Whether or not to add -lc for building shared libraries.
15677 build_libtool_need_lc=$archive_cmds_need_lc
15679 # Whether or not to disallow shared libs when runtime libs are static.
15680 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15682 # Compiler flag to allow reflexive dlopens.
15683 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15685 # Compiler flag to generate shared objects directly from archives.
15686 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15688 # Whether the compiler copes with passing no objects directly.
15689 compiler_needs_object=$lt_compiler_needs_object
15691 # Create an old-style archive from a shared archive.
15692 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15694 # Create a temporary old-style archive to link instead of a shared archive.
15695 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15697 # Commands used to build a shared archive.
15698 archive_cmds=$lt_archive_cmds
15699 archive_expsym_cmds=$lt_archive_expsym_cmds
15701 # Commands used to build a loadable module if different from building
15702 # a shared archive.
15703 module_cmds=$lt_module_cmds
15704 module_expsym_cmds=$lt_module_expsym_cmds
15706 # Whether we are building with GNU ld or not.
15707 with_gnu_ld=$lt_with_gnu_ld
15709 # Flag that allows shared libraries with undefined symbols to be built.
15710 allow_undefined_flag=$lt_allow_undefined_flag
15712 # Flag that enforces no undefined symbols.
15713 no_undefined_flag=$lt_no_undefined_flag
15715 # Flag to hardcode \$libdir into a binary during linking.
15716 # This must work even if \$libdir does not exist
15717 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15719 # If ld is used when linking, flag to hardcode \$libdir into a binary
15720 # during linking. This must work even if \$libdir does not exist.
15721 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15723 # Whether we need a single "-rpath" flag with a separated argument.
15724 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15726 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15727 # DIR into the resulting binary.
15728 hardcode_direct=$hardcode_direct
15730 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15731 # DIR into the resulting binary and the resulting library dependency is
15732 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15733 # library is relocated.
15734 hardcode_direct_absolute=$hardcode_direct_absolute
15736 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15737 # into the resulting binary.
15738 hardcode_minus_L=$hardcode_minus_L
15740 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15741 # into the resulting binary.
15742 hardcode_shlibpath_var=$hardcode_shlibpath_var
15744 # Set to "yes" if building a shared library automatically hardcodes DIR
15745 # into the library and all subsequent libraries and executables linked
15747 hardcode_automatic=$hardcode_automatic
15749 # Set to yes if linker adds runtime paths of dependent libraries
15750 # to runtime path list.
15751 inherit_rpath=$inherit_rpath
15753 # Whether libtool must link a program against all its dependency libraries.
15754 link_all_deplibs=$link_all_deplibs
15756 # Fix the shell variable \$srcfile for the compiler.
15757 fix_srcfile_path=$lt_fix_srcfile_path
15759 # Set to "yes" if exported symbols are required.
15760 always_export_symbols=$always_export_symbols
15762 # The commands to list exported symbols.
15763 export_symbols_cmds=$lt_export_symbols_cmds
15765 # Symbols that should not be listed in the preloaded symbols.
15766 exclude_expsyms=$lt_exclude_expsyms
15768 # Symbols that must always be exported.
15769 include_expsyms=$lt_include_expsyms
15771 # Commands necessary for linking programs (against libraries) with templates.
15772 prelink_cmds=$lt_prelink_cmds
15774 # Specify filename containing input files.
15775 file_list_spec=$lt_file_list_spec
15777 # How to hardcode a shared library path into an executable.
15778 hardcode_action=$hardcode_action
15780 # ### END LIBTOOL CONFIG
15786 cat <<\_LT_EOF
>> "$cfgfile"
15787 # AIX sometimes has problems with the GCC collect2 program. For some
15788 # reason, if we set the COLLECT_NAMES environment variable, the problems
15789 # vanish in a puff of smoke.
15790 if test "X${COLLECT_NAMES+set}" != Xset
; then
15792 export COLLECT_NAMES
15799 ltmain
="$ac_aux_dir/ltmain.sh"
15802 # We use sed instead of cat because bash on DJGPP gets confused if
15803 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15804 # text mode, it properly converts lines to CR/LF. This bash problem
15805 # is reportedly fixed, but why not run on old versions too?
15806 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15807 || (rm -f "$cfgfile"; exit 1)
15811 cat << \_LT_EOF
>> "$cfgfile"
15813 # func_dirname file append nondir_replacement
15814 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15815 # otherwise set result to NONDIR_REPLACEMENT.
15819 */*) func_dirname_result
="${1%/*}${2}" ;;
15820 * ) func_dirname_result
="${3}" ;;
15824 # func_basename file
15827 func_basename_result
="${1##*/}"
15830 # func_dirname_and_basename file append nondir_replacement
15831 # perform func_basename and func_dirname in a single function
15833 # dirname: Compute the dirname of FILE. If nonempty,
15834 # add APPEND to the result, otherwise set result
15835 # to NONDIR_REPLACEMENT.
15836 # value returned in "$func_dirname_result"
15837 # basename: Compute filename of FILE.
15838 # value retuned in "$func_basename_result"
15839 # Implementation must be kept synchronized with func_dirname
15840 # and func_basename. For efficiency, we do not delegate to
15841 # those functions but instead duplicate the functionality here.
15842 func_dirname_and_basename
()
15845 */*) func_dirname_result
="${1%/*}${2}" ;;
15846 * ) func_dirname_result
="${3}" ;;
15848 func_basename_result
="${1##*/}"
15851 # func_stripname prefix suffix name
15852 # strip PREFIX and SUFFIX off of NAME.
15853 # PREFIX and SUFFIX must not contain globbing or regex special
15854 # characters, hashes, percent signs, but SUFFIX may contain a leading
15855 # dot (in which case that matches only a dot).
15858 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15859 # positional parameters, so assign one to ordinary parameter first.
15860 func_stripname_result
=${3}
15861 func_stripname_result
=${func_stripname_result#"${1}"}
15862 func_stripname_result
=${func_stripname_result%"${2}"}
15868 func_opt_split_opt
=${1%%=*}
15869 func_opt_split_arg
=${1#*=}
15876 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15877 *) func_lo2o_result
=${1} ;;
15881 # func_xform libobj-or-source
15884 func_xform_result
=${1%.*}.lo
15887 # func_arith arithmetic-term...
15890 func_arith_result
=$(( $* ))
15894 # STRING may not start with a hyphen.
15897 func_len_result
=${#1}
15902 *) # Bourne compatible functions.
15903 cat << \_LT_EOF
>> "$cfgfile"
15905 # func_dirname file append nondir_replacement
15906 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15907 # otherwise set result to NONDIR_REPLACEMENT.
15910 # Extract subdirectory from the argument.
15911 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15912 if test "X$func_dirname_result" = "X${1}"; then
15913 func_dirname_result
="${3}"
15915 func_dirname_result
="$func_dirname_result${2}"
15919 # func_basename file
15922 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15926 # func_stripname prefix suffix name
15927 # strip PREFIX and SUFFIX off of NAME.
15928 # PREFIX and SUFFIX must not contain globbing or regex special
15929 # characters, hashes, percent signs, but SUFFIX may contain a leading
15930 # dot (in which case that matches only a dot).
15931 # func_strip_suffix prefix name
15935 .
*) func_stripname_result
=`$ECHO "X${3}" \
15936 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15937 *) func_stripname_result
=`$ECHO "X${3}" \
15938 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15943 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15944 my_sed_long_arg
='1s/^-[^=]*=//'
15949 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15950 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15956 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15959 # func_xform libobj-or-source
15962 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15965 # func_arith arithmetic-term...
15968 func_arith_result
=`expr "$@"`
15972 # STRING may not start with a hyphen.
15975 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15981 case $lt_shell_append in
15983 cat << \_LT_EOF
>> "$cfgfile"
15985 # func_append var value
15986 # Append VALUE to the end of shell variable VAR.
15994 cat << \_LT_EOF
>> "$cfgfile"
15996 # func_append var value
15997 # Append VALUE to the end of shell variable VAR.
16008 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16009 || (rm -f "$cfgfile"; exit 1)
16011 mv -f "$cfgfile" "$ofile" ||
16012 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16016 "include/librb-config.h":C
)
16017 outfile
=include
/librb
-config.h.tmp
16018 cat > $outfile <<\_______EOF
16020 * librb
-config.h
: libratbox config
file. Please modify configure.ac
16023 #ifndef __LIBRB_CONFIG_H
16024 #define __LIBRB_CONFIG_H
16028 if test "x$rb_have_ipv6" = "xyes"; then
16029 echo "#define RB_IPV6 1" >> $outfile
16032 if test "x$rb_windows_h" = "xyes"; then
16033 echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
16034 echo '#include <windows.h>' >> $outfile
16035 echo '#include <winsock2.h>' >> $outfile
16036 echo '#include <iphlpapi.h>' >> $outfile
16039 if test "x$rb_alloca_h" = "xyes"; then
16040 echo '#define RB_HAVE_ALLOCA_H 1' >> $outfile
16043 if test "x$rb_header_stdc" = "xyes"; then
16044 echo '#include <stdlib.h>' >> $outfile
16045 echo '#include <stddef.h>' >> $outfile
16046 elif test "x$rb_header_stdlib" = "xyes"; then
16047 echo '#include <stdlib.h>' >> $outfile
16050 if test "x$rb_header_string_h" = "xyes"; then
16051 echo '#include <string.h>' >> $outfile
16054 if test "x$rb_stdint_h" = "xyes"; then
16055 echo '#include <stdint.h>' >> $outfile
16058 if test "x$rb_inttypes_h" = "xyes"; then
16059 echo '#include <inttypes.h>' >> $outfile
16062 if test "x$rb_sys_types_h" = "xyes"; then
16063 echo '#include <sys/types.h>' >> $outfile
16065 if test "x$rb_sys_time_h" = "xyes"; then
16066 echo '#include <sys/time.h>' >> $outfile
16068 if test "x$rb_sys_stat_h" = "xyes"; then
16069 echo '#include <sys/stat.h>' >> $outfile
16071 if test "x$rb_time_h" = "xyes"; then
16072 echo '#include <time.h>' >> $outfile
16075 if test "x$rb_sys_socket_h" = "xyes"; then
16076 echo '#include <sys/socket.h>' >> $outfile
16079 if test "x$rb_netinet_in_h" = "xyes"; then
16080 echo '#include <netinet/in.h>' >> $outfile
16083 if test "x$rb_arpa_inet_h" = "xyes"; then
16084 echo '#include <arpa/inet.h>' >> $outfile
16087 if test "x$rb_unistd_h" = "xyes"; then
16088 echo '#include <unistd.h>' >> $outfile
16091 if test "x$rb_crypt_h" = "xyes"; then
16092 echo '#include <crypt.h>' >> $outfile
16095 if test "x$rb_errno_h" = "xyes"; then
16096 echo '#include <errno.h>' >> $outfile
16099 echo "typedef $rb_socklen_t rb_socklen_t;" >> $outfile
16102 if test "x$rb_sockaddr_sa_len" = "xyes"; then
16103 echo '#define RB_SOCKADDR_HAS_SA_LEN 1' >> $outfile
16106 if test "x$rb_sockaddr_storage" = "xyes"; then
16107 echo '#define rb_sockaddr_storage sockaddr_storage' >> $outfile
16109 echo 'struct rb_sockaddr_storage { uint8_t _padding[128]; };' >> $outfile
16112 cat >> $outfile <<\_______EOF
16113 #endif /* __LIBRB_CONFIG_H */
16116 if cmp -s $outfile include
/librb
-config.h
; then
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: include/librb-config.h is unchanged" >&5
16118 $as_echo "$as_me: include/librb-config.h is unchanged" >&6;}
16119 ${rb_rm} -f $outfile
16121 ${rb_mv} $outfile include
/librb
-config.h
16132 ac_clean_files
=$ac_clean_files_save
16134 test $ac_write_fail = 0 ||
16135 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16138 # configure is writing to config.log, and then calls config.status.
16139 # config.status does its own redirection, appending to config.log.
16140 # Unfortunately, on DOS this fails, as config.log is still kept open
16141 # by configure, so config.status won't be able to write to it; its
16142 # output is simply discarded. So we exec the FD to /dev/null,
16143 # effectively closing config.log, so it can be properly (re)opened and
16144 # appended to by config.status. When coming back to configure, we
16145 # need to make the FD available again.
16146 if test "$no_create" != yes; then
16148 ac_config_status_args
=
16149 test "$silent" = yes &&
16150 ac_config_status_args
="$ac_config_status_args --quiet"
16152 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16154 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16155 # would make configure fail if this is the last instruction.
16156 $ac_cs_success || as_fn_exit $?
16158 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16160 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16166 echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
16169 echo "Installing into: $prefix"
16171 echo "IPv6 support ................... $have_v6"
16172 echo "Assert debugging ............... $assert"
16173 echo "Block allocator ................ $balloc"
16174 echo "SSL Type........................ $SSL_TYPE"