2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libratbox devel.
5 # $Id: configure.ac 26260 2008-12-10 04:08:39Z androsyn $
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev
/null
; then :
191 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
196 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir
=.
203 for as_base
in sh bash ksh sh5
; do
204 # Try only shells that exist, to save several forks.
205 as_shell
=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$as_shell as_have_required
=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
219 CONFIG_SHELL
=$SHELL as_have_required
=yes
224 if test "x$CONFIG_SHELL" != x
; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
234 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x
$as_have_required = xno
; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x
${ZSH_VERSION+set} = xset
; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
250 $0: including any error possibly output before this
251 $0: message. Then install a modern shell, or manually run
252 $0: the script under such a shell if you do have one."
258 SHELL
=${CONFIG_SHELL-/bin/sh}
260 # Unset more variables known to interfere with behavior of common tools.
261 CLICOLOR_FORCE
= GREP_OPTIONS
=
262 unset CLICOLOR_FORCE GREP_OPTIONS
264 ## --------------------- ##
265 ## M4sh Shell Functions. ##
266 ## --------------------- ##
269 # Portably unset VAR.
272 { eval $1=; unset $1;}
276 # as_fn_set_status STATUS
277 # -----------------------
278 # Set $? to STATUS, without forking.
286 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
296 # Create "$as_dir" as a directory, including parents if necessary.
301 -*) as_dir
=.
/$as_dir;;
303 test -d "$as_dir" || eval $as_mkdir_p || {
307 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310 as_dirs
="'$as_qdir' $as_dirs"
311 as_dir
=`$as_dirname -- "$as_dir" ||
312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
313 X"$as_dir" : 'X\(//\)[^/]' \| \
314 X"$as_dir" : 'X\(//\)$' \| \
315 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
316 $as_echo X"$as_dir" |
317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
334 test -d "$as_dir" && break
336 test -z "$as_dirs" || eval "mkdir $as_dirs"
337 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
341 # as_fn_append VAR VALUE
342 # ----------------------
343 # Append the text in VALUE to the end of the definition contained in VAR. Take
344 # advantage of any shell optimizations that allow amortized linear growth over
345 # repeated appends, instead of the typical quadratic growth present in naive
347 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
348 eval 'as_fn_append ()
361 # Perform arithmetic evaluation on the ARGs, and store the result in the
362 # global $as_val. Take advantage of shells that can avoid forks. The arguments
363 # must be portable across $(()) and expr.
364 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
372 as_val
=`expr "$@" || test $? -eq 1`
377 # as_fn_error STATUS ERROR [LINENO LOG_FD]
378 # ----------------------------------------
379 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
380 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
381 # script with STATUS, using 1 if that was 0.
384 as_status
=$1; test $as_status -eq 0 && as_status
=1
386 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
387 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389 $as_echo "$as_me: error: $2" >&2
390 as_fn_exit
$as_status
393 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
394 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
400 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
406 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
412 as_me
=`$as_basename -- "$0" ||
413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
414 X"$0" : 'X\(//\)$' \| \
415 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 sed '/^.*\/\([^/][^/]*\)\/*$/{
431 # Avoid depending upon Character Ranges.
432 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
433 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
434 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
435 as_cr_digits
='0123456789'
436 as_cr_alnum
=$as_cr_Letters$as_cr_digits
439 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
440 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
441 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
442 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
443 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
455 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
459 chmod +x
"$as_me.lineno" ||
460 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
462 # Don't try to exec as it changes $[0], causing all sort of problems
463 # (the dirname of $[0] is not the place where we might find the
464 # original and so on. Autoconf is especially sensitive to this).
466 # Exit status is that of the last command.
470 ECHO_C
= ECHO_N
= ECHO_T
=
471 case `echo -n x` in #(((((
473 case `echo 'xy\c'` in
474 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
476 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
483 rm -f conf$$ conf$$.exe conf$$.
file
484 if test -d conf$$.dir
; then
485 rm -f conf$$.dir
/conf$$.
file
488 mkdir conf$$.dir
2>/dev
/null
490 if (echo >conf$$.
file) 2>/dev
/null
; then
491 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
493 # ... but there are two gotchas:
494 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
495 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
496 # In both cases, we have to default to `cp -p'.
497 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
499 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir -p .
2>/dev
/null
; then
511 as_mkdir_p
='mkdir -p "$as_dir"'
513 test -d .
/-p && rmdir .
/-p
517 if test -x / >/dev
/null
2>&1; then
520 if ls -dL / >/dev
/null
2>&1; then
527 if test -d "$1"; then
533 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
534 ???[sx]*):;;*)false;;esac;fi
538 as_executable_p
=$as_test_x
540 # Sed expression to map a string onto a valid CPP name.
541 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543 # Sed expression to map a string onto a valid variable name.
544 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546 SHELL
=${CONFIG_SHELL-/bin/sh}
549 test -n "$DJDIR" || exec 7<&0 </dev
/null
553 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
554 # so uname gets run too.
555 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 ac_default_prefix
=/usr
/local
562 ac_config_libobj_dir
=.
569 # Identity of this package.
570 PACKAGE_NAME
='libratbox'
571 PACKAGE_TARNAME
='libratbox'
572 PACKAGE_VERSION
='devel'
573 PACKAGE_STRING
='libratbox devel'
577 ac_default_prefix
=/usr
/local
/libratbox
578 # Factoring default headers for most tests.
579 ac_includes_default
="\
581 #ifdef HAVE_SYS_TYPES_H
582 # include <sys/types.h>
584 #ifdef HAVE_SYS_STAT_H
585 # include <sys/stat.h>
591 # ifdef HAVE_STDLIB_H
596 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 #ifdef HAVE_STRINGS_H
602 # include <strings.h>
604 #ifdef HAVE_INTTYPES_H
605 # include <inttypes.h>
615 ac_subst_vars
='am__EXEEXT_FALSE
665 MAINTAINER_MODE_FALSE
695 INSTALL_STRIP_PROGRAM
737 program_transform_name
750 enable_option_checking
751 enable_dependency_tracking
754 enable_maintainer_mode
768 ac_precious_vars
='build_alias
784 # Initialize some variables set by options.
786 ac_init_version
=false
787 ac_unrecognized_opts
=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
798 program_transform_name
=s
,x
,x
,
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir
='${exec_prefix}/bin'
813 sbindir
='${exec_prefix}/sbin'
814 libexecdir
='${exec_prefix}/libexec'
815 datarootdir
='${prefix}/share'
816 datadir
='${datarootdir}'
817 sysconfdir
='${prefix}/etc'
818 sharedstatedir
='${prefix}/com'
819 localstatedir
='${prefix}/var'
820 includedir
='${prefix}/include'
821 oldincludedir
='/usr/include'
822 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir
='${datarootdir}/info'
828 libdir
='${exec_prefix}/lib'
829 localedir
='${datarootdir}/locale'
830 mandir
='${datarootdir}/man'
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\
$ac_option
844 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
855 -bindir | --bindir | --bindi | --bind | --bin | --bi)
857 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860 -build | --build | --buil | --bui | --bu)
861 ac_prev
=build_alias
;;
862 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863 build_alias
=$ac_optarg ;;
865 -cache-file | --cache-file | --cache-fil | --cache-fi \
866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867 ac_prev
=cache_file
;;
868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870 cache_file
=$ac_optarg ;;
873 cache_file
=config.cache
;;
875 -datadir | --datadir | --datadi | --datad)
877 -datadir=* | --datadir=* | --datadi=* | --datad=*)
878 datadir
=$ac_optarg ;;
880 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881 | --dataroo | --dataro | --datar)
882 ac_prev
=datarootdir
;;
883 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885 datarootdir
=$ac_optarg ;;
887 -disable-* | --disable-*)
888 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
891 as_fn_error $?
"invalid feature name: $ac_useropt"
892 ac_useropt_orig
=$ac_useropt
893 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep
=', ';;
901 eval enable_
$ac_useropt=no
;;
903 -docdir | --docdir | --docdi | --doc | --do)
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 -enable-* | --enable-*)
914 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
917 as_fn_error $?
"invalid feature name: $ac_useropt"
918 ac_useropt_orig
=$ac_useropt
919 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep
=', ';;
927 eval enable_
$ac_useropt=\
$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev
=exec_prefix
;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix
=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
942 -help | --help | --hel | --he | -h)
944 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
945 ac_init_help
=recursive
;;
946 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
947 ac_init_help
=short
;;
949 -host | --host | --hos | --ho)
950 ac_prev
=host_alias
;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias
=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958 htmldir
=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev
=includedir
;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir
=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir
=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev
=libexecdir
;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir
=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir
=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev
=localstatedir
;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir
=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev
=oldincludedir
;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir
=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix
=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev
=program_prefix
;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix
=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev
=program_suffix
;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix
=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev
=program_transform_name
;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name
=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir
=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076 sbindir
=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1082 ac_prev
=sharedstatedir
;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087 sharedstatedir
=$ac_optarg ;;
1089 -site | --site | --sit)
1091 -site=* | --site=* | --sit=*)
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir
=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev
=sysconfdir
;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir
=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev
=target_alias
;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias
=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version
=: ;;
1118 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error $?
"invalid package name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval with_
$ac_useropt=\
$ac_optarg ;;
1133 -without-* | --without-*)
1134 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1137 as_fn_error $?
"invalid package name: $ac_useropt"
1138 ac_useropt_orig
=$ac_useropt
1139 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep
=', ';;
1147 eval with_
$ac_useropt=no
;;
1150 # Obsolete; use --with-x.
1153 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154 | --x-incl | --x-inc | --x-in | --x-i)
1155 ac_prev
=x_includes
;;
1156 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158 x_includes
=$ac_optarg ;;
1160 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162 ac_prev
=x_libraries
;;
1163 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165 x_libraries
=$ac_optarg ;;
1167 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1172 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' | [0-9]* | *[!_$as_cr_alnum]* )
1176 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1178 eval $ac_envvar=\
$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1192 if test -n "$ac_prev"; then
1193 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $?
"missing argument to $ac_option"
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1200 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205 # Check all directory arguments for consistency.
1206 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val
=\$
$ac_var
1212 # Remove trailing slashes.
1215 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\
$ac_val;;
1218 # Be sure to have absolute directory names.
1220 [\\/$
]* | ?
:[\\/]* ) continue;;
1221 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1223 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1231 target
=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x
; then
1235 if test "x$build_alias" = x
; then
1236 cross_compiling
=maybe
1237 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1238 If a cross compiler is detected then cross compile mode will be used" >&2
1239 elif test "x$build_alias" != "x$host_alias"; then
1245 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1247 test "$silent" = yes && exec 6>/dev
/null
1250 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1251 ac_ls_di
=`ls -di .` &&
1252 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1253 as_fn_error $?
"working directory cannot be determined"
1254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1255 as_fn_error $?
"pwd does not report name of working directory"
1258 # Find the source files, if location was not specified.
1259 if test -z "$srcdir"; then
1260 ac_srcdir_defaulted
=yes
1261 # Try the directory containing this script, then the parent directory.
1262 ac_confdir
=`$as_dirname -- "$as_myself" ||
1263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1264 X"$as_myself" : 'X\(//\)[^/]' \| \
1265 X"$as_myself" : 'X\(//\)$' \| \
1266 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1267 $as_echo X"$as_myself" |
1268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1290 ac_srcdir_defaulted
=no
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1294 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1296 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1298 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1308 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1310 for ac_var
in $ac_precious_vars; do
1311 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1312 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1313 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1314 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1318 # Report the --help message.
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1324 \`configure' configures libratbox devel to adapt to many kinds of systems.
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1331 Defaults for the options are specified in brackets.
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking ...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1355 For better control, use the options below.
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/libratbox]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1387 --build=BUILD configure
for building on BUILD
[guessed
]
1388 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1392 if test -n "$ac_init_help"; then
1393 case $ac_init_help in
1394 short
| recursive
) echo "Configuration of libratbox devel:";;
1399 --disable-option-checking ignore unrecognized
--enable/--with options
1400 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1401 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1402 --disable-dependency-tracking speeds up one
-time build
1403 --enable-dependency-tracking do not reject slow dependency extractors
1404 --enable-static[=PKGS
] build static libraries
[default
=no
]
1405 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1406 --enable-maintainer-mode enable make rules and dependencies not useful
1407 (and sometimes confusing
) to the casual installer
1408 --enable-fast-install[=PKGS
]
1409 optimize
for fast installation
[default
=yes]
1410 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1411 --disable-ipv6 Disable IPv6 support
1412 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1413 --disable-openssl Disable OpenSSL support.
1414 --enable-gnutls Enable GnuTLS support.
1415 --disable-gnutls Disable GnuTLS support.
1416 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1417 hard
(aborts the daemon
)
1418 --enable-profile Enable profiling
1419 --disable-balloc Disable the block allocator.
1420 --enable-warnings Enable all sorts of warnings
for debugging.
1423 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1424 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1425 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1427 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1428 --with-sysroot=DIR Search
for dependent libraries within DIR
1429 (or the compiler
's sysroot if not specified).
1431 Some influential environment variables:
1432 CC C compiler command
1433 CFLAGS C compiler flags
1434 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1435 nonstandard directory <lib dir>
1436 LIBS libraries to pass to the linker, e.g. -l<library>
1437 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1438 you have headers in a nonstandard directory <include dir>
1440 PKG_CONFIG path to pkg-config utility
1442 directories to add to pkg-config's search path
1444 path overriding pkg
-config's built-in search path
1446 C compiler flags for GNUTLS, overriding pkg-config
1447 GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config
1449 Use these variables to override the choices made by `configure' or to
help
1450 it to
find libraries and programs with nonstandard names
/locations.
1452 Report bugs to the package provider.
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1466 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1468 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1473 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1476 ac_abs_top_builddir
=$ac_pwd
1477 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir
=$ac_top_build_prefix
1482 .
) # We are building in place.
1484 ac_top_srcdir
=$ac_top_builddir_sub
1485 ac_abs_top_srcdir
=$ac_pwd ;;
1486 [\\/]* | ?
:[\\/]* ) # Absolute name.
1487 ac_srcdir
=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir
=$srcdir
1489 ac_abs_top_srcdir
=$srcdir ;;
1491 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1495 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status
=$?
; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508 cd "$ac_pwd" || { ac_status
=$?
; break; }
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1515 libratbox configure devel
1516 generated by GNU Autoconf
2.68
1518 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1519 This configure
script is free software
; the Free Software Foundation
1520 gives unlimited permission to copy
, distribute and modify it.
1522 $Id: configure.ac
26260 2008-12-10 04:08:39Z androsyn $
1527 ## ------------------------ ##
1528 ## Autoconf initialization. ##
1529 ## ------------------------ ##
1531 # ac_fn_c_try_compile LINENO
1532 # --------------------------
1533 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1534 ac_fn_c_try_compile
()
1536 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1537 rm -f conftest.
$ac_objext
1538 if { { ac_try
="$ac_compile"
1540 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_compile") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } && {
1554 test -z "$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1556 } && test -s conftest.$ac_objext; then :
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1567 } # ac_fn_c_try_compile
1569 # ac_fn_c_try_cpp LINENO
1570 # ----------------------
1571 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575 if { { ac_try="$ac_cpp conftest.$ac_ext"
1577 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1578 *) ac_try_echo
=$ac_try;;
1580 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1584 if test -s conftest.err
; then
1585 grep -v '^ *+' conftest.err
>conftest.er1
1586 cat conftest.er1
>&5
1587 mv -f conftest.er1 conftest.err
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } > conftest.i
&& {
1591 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1592 test ! -s conftest.err
1596 $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.
$ac_ext >&5
1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602 as_fn_set_status
$ac_retval
1606 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1607 # -------------------------------------------------------
1608 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1609 # the include files in INCLUDES and setting the cache variable VAR
1611 ac_fn_c_check_header_mongrel
()
1613 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1614 if eval \
${$3+:} false
; then :
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616 $as_echo_n "checking for $2... " >&6; }
1617 if eval \
${$3+:} false
; then :
1618 $as_echo_n "(cached) " >&6
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1624 # Is the header compilable?
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1626 $as_echo_n "checking $2 usability... " >&6; }
1627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1628 /* end confdefs.h. */
1632 if ac_fn_c_try_compile
"$LINENO"; then :
1633 ac_header_compiler
=yes
1635 ac_header_compiler
=no
1637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1639 $as_echo "$ac_header_compiler" >&6; }
1641 # Is the header present?
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1643 $as_echo_n "checking $2 presence... " >&6; }
1644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1645 /* end confdefs.h. */
1648 if ac_fn_c_try_cpp
"$LINENO"; then :
1649 ac_header_preproc
=yes
1651 ac_header_preproc
=no
1653 rm -f conftest.err conftest.i conftest.
$ac_ext
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1655 $as_echo "$ac_header_preproc" >&6; }
1657 # So? What about this header?
1658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1661 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1663 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1667 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1669 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1671 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1673 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1675 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \
${$3+:} false
; then :
1681 $as_echo_n "(cached) " >&6
1683 eval "$3=\$ac_header_compiler"
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1687 $as_echo "$ac_res" >&6; }
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 } # ac_fn_c_check_header_mongrel
1693 # ac_fn_c_try_run LINENO
1694 # ----------------------
1695 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1696 # that executables *can* be run.
1699 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1700 if { { ac_try
="$ac_link"
1702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_link") 2>&5
1709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1711 { { case "(($ac_try" in
1712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1713 *) ac_try_echo
=$ac_try;;
1715 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_try") 2>&5
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; }; }; then :
1723 $as_echo "$as_me: program exited with status $ac_status" >&5
1724 $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.
$ac_ext >&5
1727 ac_retval
=$ac_status
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731 as_fn_set_status
$ac_retval
1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists and can be compiled using the include files in
1738 # INCLUDES, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_compile
()
1741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \
${$3+:} false
; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile
"$LINENO"; then :
1757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 } # ac_fn_c_check_header_compile
1766 # ac_fn_c_try_link LINENO
1767 # -----------------------
1768 # Try to link conftest.$ac_ext, and return whether this succeeded.
1771 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1772 rm -f conftest.
$ac_objext conftest
$ac_exeext
1773 if { { ac_try
="$ac_link"
1775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_link") 2>conftest.err
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } && {
1789 test -z "$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 } && test -s conftest$ac_exeext && {
1792 test "$cross_compiling" = yes ||
1793 $as_test_x conftest$ac_exeext
1797 $as_echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.$ac_ext >&5
1802 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1803 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1804 # interfere with the next link command; also delete a directory that is
1805 # left behind by Apple's compiler. We do this before executing the actions.
1806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1808 as_fn_set_status $ac_retval
1810 } # ac_fn_c_try_link
1812 # ac_fn_c_check_func LINENO FUNC VAR
1813 # ----------------------------------
1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1815 ac_fn_c_check_func ()
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1819 $as_echo_n "checking for $2... " >&6; }
1820 if eval \${$3+:} false; then :
1821 $as_echo_n "(cached) " >&6
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1827 #define $2 innocuous_$2
1829 /* System header to define __stub macros and hopefully few prototypes,
1830 which can conflict with char $2 (); below.
1831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1832 <limits.h> exists even on freestanding compilers. */
1835 # include <limits.h>
1837 # include <assert.h>
1842 /* Override any GCC internal prototype to avoid an error.
1843 Use char because int might match the return type of a GCC
1844 builtin and then its argument prototype would still apply. */
1849 /* The GNU C library defines this for functions which it implements
1850 to always fail with ENOSYS. Some functions are actually named
1851 something starting with __ and the normal name is an alias. */
1852 #if defined __stub_$2 || defined __stub___$2
1864 if ac_fn_c_try_link "$LINENO"; then :
1869 rm -f core conftest.err conftest.$ac_objext \
1870 conftest$ac_exeext conftest.$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 } # ac_fn_c_check_func
1879 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1880 # -------------------------------------------
1881 # Tests whether TYPE exists after having included INCLUDES, setting cache
1882 # variable VAR accordingly.
1883 ac_fn_c_check_type ()
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1888 if eval \${$3+:} false; then :
1889 $as_echo_n "(cached) " >&6
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1917 if ac_fn_c_try_compile "$LINENO"; then :
1922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 } # ac_fn_c_check_type
1933 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1934 # ----------------------------------------------------
1935 # Tries to find if the field MEMBER exists in type AGGR, after including
1936 # INCLUDES, setting cache variable VAR accordingly.
1937 ac_fn_c_check_member ()
1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1941 $as_echo_n "checking for $2.$3... " >&6; }
1942 if eval \${$4+:} false; then :
1943 $as_echo_n "(cached) " >&6
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1958 if ac_fn_c_try_compile "$LINENO"; then :
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1968 if (sizeof ac_aggr.$3)
1974 if ac_fn_c_try_compile "$LINENO"; then :
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1988 } # ac_fn_c_check_member
1989 cat >config.log <<_ACEOF
1990 This file contains any messages produced by compilers while
1991 running configure, to aid debugging if configure makes a mistake.
1993 It was created by libratbox $as_me devel, which was
1994 generated by GNU Autoconf 2.68. Invocation command line was
2006 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2007 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2008 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2009 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2010 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2015 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2018 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2019 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2021 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2029 test -z "$as_dir" && as_dir=.
2030 $as_echo "PATH: $as_dir"
2046 # Keep a trace of the command line.
2047 # Strip out --no-create and --no-recursion so they do not pile up.
2048 # Strip out --silent because we don't want to record it for future runs.
2049 # Also quote any args containing shell meta-characters.
2050 # Make two passes to allow for proper duplicate-argument suppression.
2054 ac_must_keep_next=false
2060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2062 | -silent | --silent | --silen | --sile | --sil)
2065 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2068 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2070 as_fn_append ac_configure_args1 " '$ac_arg'"
2071 if test $ac_must_keep_next = true; then
2072 ac_must_keep_next=false # Got value, back to normal.
2075 *=* | --config-cache | -C | -disable-* | --disable-* \
2076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2078 | -with-* | --with-* | -without-* | --without-* | --x)
2079 case "$ac_configure_args0 " in
2080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2083 -* ) ac_must_keep_next=true ;;
2086 as_fn_append ac_configure_args " '$ac_arg'"
2091 { ac_configure_args0=; unset ac_configure_args0;}
2092 { ac_configure_args1=; unset ac_configure_args1;}
2094 # When interrupted or exit'd, cleanup temporary files, and complete
2095 # config.log. We remove comments because anyway the quotes in there
2096 # would cause problems or look ugly.
2097 # WARNING: Use '\'' to represent an apostrophe within the trap.
2098 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2099 trap 'exit_status=$?
2100 # Save into config.log some information that might help in debugging.
2104 $as_echo "## ---------------- ##
2105 ## Cache variables. ##
2106 ## ---------------- ##"
2108 # The following way of writing the cache mishandles newlines in values,
2110 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2111 eval ac_val=\$$ac_var
2115 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2116 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2119 _ | IFS | as_nl) ;; #(
2120 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2121 *) { eval $ac_var=; unset $ac_var;} ;;
2126 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2127 *${as_nl}ac_space=\ *)
2129 "s/'\''/'\''\\\\'\'''\''/g;
2130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2133 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2140 $as_echo "## ----------------- ##
2141 ## Output variables. ##
2142 ## ----------------- ##"
2144 for ac_var in $ac_subst_vars
2146 eval ac_val=\$$ac_var
2148 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2150 $as_echo "$ac_var='\''$ac_val'\''"
2154 if test -n "$ac_subst_files"; then
2155 $as_echo "## ------------------- ##
2156 ## File substitutions. ##
2157 ## ------------------- ##"
2159 for ac_var in $ac_subst_files
2161 eval ac_val=\$$ac_var
2163 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165 $as_echo "$ac_var='\''$ac_val'\''"
2170 if test -s confdefs.h; then
2171 $as_echo "## ----------- ##
2178 test "$ac_signal" != 0 &&
2179 $as_echo "$as_me: caught signal $ac_signal"
2180 $as_echo "$as_me: exit $exit_status"
2182 rm -f core *.core core.conftest.* &&
2183 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2186 for ac_signal in 1 2 13 15; do
2187 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2191 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2192 rm -f -r conftest* confdefs.h
2194 $as_echo "/* confdefs.h */" > confdefs.h
2196 # Predefined preprocessor variables.
2198 cat >>confdefs.h <<_ACEOF
2199 #define PACKAGE_NAME "$PACKAGE_NAME"
2202 cat >>confdefs.h <<_ACEOF
2203 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2210 cat >>confdefs.h <<_ACEOF
2211 #define PACKAGE_STRING "$PACKAGE_STRING"
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_URL "$PACKAGE_URL"
2223 # Let the site file select an alternate cache file if it wants to.
2224 # Prefer an explicitly selected file to automatically selected ones.
2227 if test -n "$CONFIG_SITE"; then
2228 # We do not want a PATH search for config.site.
2229 case $CONFIG_SITE in #((
2230 -*) ac_site_file1=./$CONFIG_SITE;;
2231 */*) ac_site_file1=$CONFIG_SITE;;
2232 *) ac_site_file1=./$CONFIG_SITE;;
2234 elif test "x$prefix" != xNONE; then
2235 ac_site_file1=$prefix/share/config.site
2236 ac_site_file2=$prefix/etc/config.site
2238 ac_site_file1=$ac_default_prefix/share/config.site
2239 ac_site_file2=$ac_default_prefix/etc/config.site
2241 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2243 test "x$ac_site_file" = xNONE && continue
2244 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2246 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2247 sed 's/^/| /' "$ac_site_file" >&5
2249 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2251 as_fn_error $? "failed to load site
script $ac_site_file
2252 See \
`config.log' for more details" "$LINENO" 5; }
2256 if test -r "$cache_file"; then
2257 # Some versions of bash will fail to source /dev/null (special files
2258 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2259 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2261 $as_echo "$as_me: loading cache $cache_file" >&6;}
2263 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2264 *) . "./$cache_file";;
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2269 $as_echo "$as_me: creating cache $cache_file" >&6;}
2273 as_fn_append ac_header_list " stdlib.h"
2274 as_fn_append ac_header_list " unistd.h"
2275 as_fn_append ac_header_list " sys/param.h"
2276 # Check that the precious variables saved in the cache have kept the same
2278 ac_cache_corrupted=false
2279 for ac_var in $ac_precious_vars; do
2280 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2281 eval ac_new_set=\$ac_env_${ac_var}_set
2282 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2283 eval ac_new_val=\$ac_env_${ac_var}_value
2284 case $ac_old_set,$ac_new_set in
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2287 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2288 ac_cache_corrupted=: ;;
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2291 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2292 ac_cache_corrupted=: ;;
2295 if test "x$ac_old_val" != "x$ac_new_val"; then
2296 # differences in whitespace do not lead to failure.
2297 ac_old_val_w=`echo x
$ac_old_val`
2298 ac_new_val_w=`echo x
$ac_new_val`
2299 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2301 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2302 ac_cache_corrupted=:
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2305 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2306 eval $ac_var=\$ac_old_val
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2309 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2311 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2314 # Pass precious variables to config.status.
2315 if test "$ac_new_set" = set; then
2317 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2318 *) ac_arg=$ac_var=$ac_new_val ;;
2320 case " $ac_configure_args " in
2321 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2322 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2326 if $ac_cache_corrupted; then
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2330 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2331 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2333 ## -------------------- ##
2334 ## Main body of script. ##
2335 ## -------------------- ##
2338 ac_cpp='$CPP $CPPFLAGS'
2339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2344 am__api_version='1.11'
2347 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2348 if test -f "$ac_dir/install-sh"; then
2350 ac_install_sh="$ac_aux_dir/install-sh -c"
2352 elif test -f "$ac_dir/install.sh"; then
2354 ac_install_sh="$ac_aux_dir/install.sh -c"
2356 elif test -f "$ac_dir/shtool"; then
2358 ac_install_sh="$ac_aux_dir/shtool install -c"
2362 if test -z "$ac_aux_dir"; then
2363 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2366 # These three variables are undocumented and unsupported,
2367 # and are intended to be withdrawn in a future Autoconf release.
2368 # They can cause serious problems if a builder's source tree is in a directory
2369 # whose full name contains unusual characters.
2370 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2371 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2372 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2375 # Find a good install program. We prefer a C program (faster),
2376 # so one script is as good as another. But avoid the broken or
2377 # incompatible versions:
2378 # SysV /etc/install, /usr/sbin/install
2379 # SunOS /usr/etc/install
2380 # IRIX /sbin/install
2382 # AmigaOS /C/install, which installs bootblocks on floppy discs
2383 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2384 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2385 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2386 # OS/2's system install, which has a completely different semantic
2387 # ./install, which can be erroneously created by make from ./install.sh.
2388 # Reject install programs that cannot install multiple files.
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2390 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2391 if test -z "$INSTALL"; then
2392 if ${ac_cv_path_install+:} false; then :
2393 $as_echo_n "(cached) " >&6
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 # Account for people who put trailing slashes in PATH elements.
2401 case $as_dir/ in #((
2402 ./ | .// | /[cC]/* | \
2403 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2404 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2407 # OSF1 and SCO ODT 3.0 have their own names for install.
2408 # Don't use installbsd from OSF since it installs stuff as root
2410 for ac_prog in ginstall scoinst install; do
2411 for ac_exec_ext in '' $ac_executable_extensions; do
2412 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2413 if test $ac_prog = install &&
2414 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2415 # AIX install. It has an incompatible calling convention.
2417 elif test $ac_prog = install &&
2418 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2419 # program-specific install script used by HP pwplus--don't use.
2422 rm -rf conftest.one conftest.two conftest.dir
2423 echo one > conftest.one
2424 echo two > conftest.two
2426 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2427 test -s conftest.one && test -s conftest.two &&
2428 test -s conftest.dir/conftest.one &&
2429 test -s conftest.dir/conftest.two
2431 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2444 rm -rf conftest.one conftest.two conftest.dir
2447 if test "${ac_cv_path_install+set}" = set; then
2448 INSTALL=$ac_cv_path_install
2450 # As a last resort, use the slow shell script. Don't cache a
2451 # value for INSTALL within a source directory, because that will
2452 # break other packages using the cache if that directory is
2453 # removed, or if the value is a relative name.
2454 INSTALL=$ac_install_sh
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2458 $as_echo "$INSTALL" >&6; }
2460 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2461 # It thinks the first close brace ends the variable substitution.
2462 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2464 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2466 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2469 $as_echo_n "checking whether build environment is sane... " >&6; }
2472 echo timestamp > conftest.file
2473 # Reject unsafe characters in $srcdir or the absolute working directory
2474 # name. Accept space and tab only in the latter.
2478 *[\\\"\#\$\&\'\`$am_lf]*)
2479 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2482 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2483 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2486 # Do `set' in a subshell so we don
't clobber the current shell's
2487 # arguments. Must try -L first in case configure is actually a
2488 # symlink; some systems play weird games with the mod time of symlinks
2489 # (eg FreeBSD returns the mod time of the symlink's containing
2492 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2493 if test "$*" = "X"; then
2495 set X
`ls -t "$srcdir/configure" conftest.file`
2498 if test "$*" != "X $srcdir/configure conftest.file" \
2499 && test "$*" != "X conftest.file $srcdir/configure"; then
2501 # If neither matched, then we have a broken ls. This can happen
2502 # if, for instance, CONFIG_SHELL is bash and it inherits a
2503 # broken ls alias from the environment. This has actually
2504 # happened. Such a system could not be considered "sane".
2505 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2506 alias in your environment" "$LINENO" 5
2509 test "$2" = conftest.
file
2515 as_fn_error $?
"newly created file is older than distributed files!
2516 Check your system clock" "$LINENO" 5
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2519 $as_echo "yes" >&6; }
2520 test "$program_prefix" != NONE
&&
2521 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2522 # Use a double $ so make ignores it.
2523 test "$program_suffix" != NONE
&&
2524 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2525 # Double any \ or $.
2526 # By default was `s,x,x', remove it if useless.
2527 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2528 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2530 # expand $ac_aux_dir to an absolute path
2531 am_aux_dir
=`cd $ac_aux_dir && pwd`
2533 if test x
"${MISSING+set}" != xset
; then
2536 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2538 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2541 # Use eval to expand $SHELL
2542 if eval "$MISSING --run true"; then
2543 am_missing_run
="$MISSING --run "
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2547 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2550 if test x
"${install_sh}" != xset
; then
2553 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2555 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2559 # Installed binaries are usually stripped using `strip' when the user
2560 # run `make install-strip'. However `strip' might not be the right
2561 # tool to use in cross-compilation environments, therefore Automake
2562 # will honor the `STRIP' environment variable to overrule this program.
2563 if test "$cross_compiling" != no
; then
2564 if test -n "$ac_tool_prefix"; then
2565 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2566 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if ${ac_cv_prog_STRIP+:} false
; then :
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$STRIP"; then
2573 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_exec_ext
in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592 STRIP
=$ac_cv_prog_STRIP
2593 if test -n "$STRIP"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2595 $as_echo "$STRIP" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2603 if test -z "$ac_cv_prog_STRIP"; then
2605 # Extract the first word of "strip", so it can be a program name with args.
2606 set dummy strip
; ac_word
=$2
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2608 $as_echo_n "checking for $ac_word... " >&6; }
2609 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2610 $as_echo_n "(cached) " >&6
2612 if test -n "$ac_ct_STRIP"; then
2613 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2622 ac_cv_prog_ac_ct_STRIP
="strip"
2623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2633 if test -n "$ac_ct_STRIP"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2635 $as_echo "$ac_ct_STRIP" >&6; }
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638 $as_echo "no" >&6; }
2641 if test "x$ac_ct_STRIP" = x
; then
2644 case $cross_compiling:$ac_tool_warned in
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2648 ac_tool_warned
=yes ;;
2653 STRIP
="$ac_cv_prog_STRIP"
2657 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2660 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2661 if test -z "$MKDIR_P"; then
2662 if ${ac_cv_path_mkdir+:} false
; then :
2663 $as_echo_n "(cached) " >&6
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2666 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_prog
in mkdir gmkdir
; do
2671 for ac_exec_ext
in '' $ac_executable_extensions; do
2672 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2673 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2674 'mkdir (GNU coreutils) '* | \
2675 'mkdir (coreutils) '* | \
2676 'mkdir (fileutils) '4.1*)
2677 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2687 test -d .
/--version && rmdir .
/--version
2688 if test "${ac_cv_path_mkdir+set}" = set; then
2689 MKDIR_P
="$ac_cv_path_mkdir -p"
2691 # As a last resort, use the slow shell script. Don't cache a
2692 # value for MKDIR_P within a source directory, because that will
2693 # break other packages using the cache if that directory is
2694 # removed, or if the value is a relative name.
2695 MKDIR_P
="$ac_install_sh -d"
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2699 $as_echo "$MKDIR_P" >&6; }
2703 [\\/$
]* | ?
:[\\/]*) ;;
2704 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2707 for ac_prog
in gawk mawk nawk
awk
2709 # Extract the first word of "$ac_prog", so it can be a program name with args.
2710 set dummy
$ac_prog; ac_word
=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if ${ac_cv_prog_AWK+:} false
; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$AWK"; then
2717 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir
=.
2724 for ac_exec_ext
in '' $ac_executable_extensions; do
2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726 ac_cv_prog_AWK
="$ac_prog"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 if test -n "$AWK"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2739 $as_echo "$AWK" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2746 test -n "$AWK" && break
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2750 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2752 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2753 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2754 $as_echo_n "(cached) " >&6
2756 cat >conftest.
make <<\_ACEOF
2759 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2761 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2762 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2764 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2766 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2770 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2772 $as_echo "yes" >&6; }
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2776 $as_echo "no" >&6; }
2777 SET_MAKE
="MAKE=${MAKE-make}"
2780 rm -rf .tst
2>/dev
/null
2781 mkdir .tst
2>/dev
/null
2782 if test -d .tst
; then
2787 rmdir .tst
2>/dev
/null
2789 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2790 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2791 # is not polluted with repeated "-I."
2792 am__isrc
=' -I$(srcdir)'
2793 # test to see if srcdir already configured
2794 if test -f $srcdir/config.status
; then
2795 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2799 # test whether we have cygpath
2800 if test -z "$CYGPATH_W"; then
2801 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2802 CYGPATH_W
='cygpath -w'
2809 # Define the identity of the package.
2814 # Some tools Automake needs.
2816 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2819 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2822 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2825 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2828 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2830 # We need awk for the "check" target. The system "awk" is bad on
2832 # Always define AMTAR for backward compatibility.
2834 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2836 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2843 ac_config_headers
="$ac_config_headers include/libratbox_config.h"
2847 DEPDIR
="${am__leading_dot}deps"
2849 ac_config_commands
="$ac_config_commands depfiles"
2852 am_make
=${MAKE-make}
2853 cat > confinc
<< 'END'
2855 @echo this is the am__doit target
2858 # If we don't find an include directive, just comment out the code.
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2860 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2864 # First try GNU make style include.
2865 echo "include confinc" > confmf
2866 # Ignore all kinds of additional output from `make'.
2867 case `$am_make -s -f confmf 2> /dev/null` in #(
2868 *the\ am__doit\ target
*)
2874 # Now try BSD make style include.
2875 if test "$am__include" = "#"; then
2876 echo '.include "confinc"' > confmf
2877 case `$am_make -s -f confmf 2> /dev/null` in #(
2878 *the\ am__doit\ target
*)
2879 am__include
=.include
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2888 $as_echo "$_am_result" >&6; }
2889 rm -f confinc confmf
2891 # Check whether --enable-dependency-tracking was given.
2892 if test "${enable_dependency_tracking+set}" = set; then :
2893 enableval
=$enable_dependency_tracking;
2896 if test "x$enable_dependency_tracking" != xno
; then
2897 am_depcomp
="$ac_aux_dir/depcomp"
2900 if test "x$enable_dependency_tracking" != xno; then
2910 ac_cpp
='$CPP $CPPFLAGS'
2911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2914 if test -n "$ac_tool_prefix"; then
2915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2916 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2918 $as_echo_n "checking for $ac_word... " >&6; }
2919 if ${ac_cv_prog_CC+:} false
; then :
2920 $as_echo_n "(cached) " >&6
2922 if test -n "$CC"; then
2923 ac_cv_prog_CC
="$CC" # Let the user override the test.
2925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2929 test -z "$as_dir" && as_dir
=.
2930 for ac_exec_ext
in '' $ac_executable_extensions; do
2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2932 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 if test -n "$CC"; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2945 $as_echo "$CC" >&6; }
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2948 $as_echo "no" >&6; }
2953 if test -z "$ac_cv_prog_CC"; then
2955 # Extract the first word of "gcc", so it can be a program name with args.
2956 set dummy gcc
; ac_word
=$2
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958 $as_echo_n "checking for $ac_word... " >&6; }
2959 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2960 $as_echo_n "(cached) " >&6
2962 if test -n "$ac_ct_CC"; then
2963 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir
=.
2970 for ac_exec_ext
in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972 ac_cv_prog_ac_ct_CC
="gcc"
2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2983 if test -n "$ac_ct_CC"; then
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2985 $as_echo "$ac_ct_CC" >&6; }
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988 $as_echo "no" >&6; }
2991 if test "x$ac_ct_CC" = x
; then
2994 case $cross_compiling:$ac_tool_warned in
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2998 ac_tool_warned
=yes ;;
3006 if test -z "$CC"; then
3007 if test -n "$ac_tool_prefix"; then
3008 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3009 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3011 $as_echo_n "checking for $ac_word... " >&6; }
3012 if ${ac_cv_prog_CC+:} false
; then :
3013 $as_echo_n "(cached) " >&6
3015 if test -n "$CC"; then
3016 ac_cv_prog_CC
="$CC" # Let the user override the test.
3018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3022 test -z "$as_dir" && as_dir
=.
3023 for ac_exec_ext
in '' $ac_executable_extensions; do
3024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3025 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 if test -n "$CC"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3038 $as_echo "$CC" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3047 if test -z "$CC"; then
3048 # Extract the first word of "cc", so it can be a program name with args.
3049 set dummy cc
; ac_word
=$2
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051 $as_echo_n "checking for $ac_word... " >&6; }
3052 if ${ac_cv_prog_CC+:} false
; then :
3053 $as_echo_n "(cached) " >&6
3055 if test -n "$CC"; then
3056 ac_cv_prog_CC
="$CC" # Let the user override the test.
3059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3063 test -z "$as_dir" && as_dir
=.
3064 for ac_exec_ext
in '' $ac_executable_extensions; do
3065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3066 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3067 ac_prog_rejected
=yes
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 if test $ac_prog_rejected = yes; then
3079 # We found a bogon in the path, so make sure we never use it.
3080 set dummy
$ac_cv_prog_CC
3082 if test $# != 0; then
3083 # We chose a different compiler from the bogus one.
3084 # However, it has the same basename, so the bogon will be chosen
3085 # first if we set CC to just the basename; use the full file name.
3087 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3093 if test -n "$CC"; then
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3095 $as_echo "$CC" >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3103 if test -z "$CC"; then
3104 if test -n "$ac_tool_prefix"; then
3105 for ac_prog
in cl.exe
3107 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3108 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_CC+:} false
; then :
3112 $as_echo_n "(cached) " >&6
3114 if test -n "$CC"; then
3115 ac_cv_prog_CC
="$CC" # Let the user override the test.
3117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3121 test -z "$as_dir" && as_dir
=.
3122 for ac_exec_ext
in '' $ac_executable_extensions; do
3123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3124 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135 if test -n "$CC"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3137 $as_echo "$CC" >&6; }
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3144 test -n "$CC" && break
3147 if test -z "$CC"; then
3149 for ac_prog
in cl.exe
3151 # Extract the first word of "$ac_prog", so it can be a program name with args.
3152 set dummy
$ac_prog; ac_word
=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$ac_ct_CC"; then
3159 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir
=.
3166 for ac_exec_ext
in '' $ac_executable_extensions; do
3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168 ac_cv_prog_ac_ct_CC
="$ac_prog"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3179 if test -n "$ac_ct_CC"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3181 $as_echo "$ac_ct_CC" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3188 test -n "$ac_ct_CC" && break
3191 if test "x$ac_ct_CC" = x
; then
3194 case $cross_compiling:$ac_tool_warned in
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3198 ac_tool_warned
=yes ;;
3207 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error $?
"no acceptable C compiler found in \$PATH
3210 See \`config.log' for more details" "$LINENO" 5; }
3212 # Provide some information about the compiler.
3213 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3216 for ac_option
in --version -v -V -qversion; do
3217 { { ac_try
="$ac_compiler $ac_option >&5"
3219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3226 if test -s conftest.err; then
3228 ... rest of stderr output deleted ...
3229 10q' conftest.err >conftest.er1
3230 cat conftest.er1 >&5
3232 rm -f conftest.er1 conftest.err
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }
3237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h. */
3248 ac_clean_files_save=$ac_clean_files
3249 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3250 # Try to create an executable without -o first, disregard a.out.
3251 # It will help us diagnose broken compilers, and finding out an intuition
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3254 $as_echo_n "checking whether the C compiler works... " >&6; }
3255 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3257 # The possible output files:
3258 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3261 for ac_file in $ac_files
3264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3265 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3270 if { { ac_try="$ac_link_default"
3272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3273 *) ac_try_echo
=$ac_try;;
3275 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3276 $as_echo "$ac_try_echo"; } >&5
3277 (eval "$ac_link_default") 2>&5
3279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3280 test $ac_status = 0; }; then :
3281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3284 # so that the user can short-circuit this test for compilers unknown to
3286 for ac_file
in $ac_files ''
3288 test -f "$ac_file" || continue
3290 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3293 # We found the default executable, but exeext='' is most
3297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3299 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3301 # We set ac_cv_exeext here because the later test for it is not
3302 # safe: cross compilers may not add the suffix if given an `-o'
3303 # argument, so we may need to know it at that point already.
3304 # Even if this section looks crufty: it has the advantage of
3311 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3316 if test -z "$ac_file"; then :
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3319 $as_echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.
$ac_ext >&5
3322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 as_fn_error
77 "C compiler cannot create executables
3325 See \`config.log' for more details" "$LINENO" 5; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3328 $as_echo "yes" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3331 $as_echo_n "checking for C compiler default output file name... " >&6; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3333 $as_echo "$ac_file" >&6; }
3334 ac_exeext
=$ac_cv_exeext
3336 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3337 ac_clean_files
=$ac_clean_files_save
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3339 $as_echo_n "checking for suffix of executables... " >&6; }
3340 if { { ac_try
="$ac_link"
3342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_link") 2>&5
3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350 test $ac_status = 0; }; then :
3351 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3352 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3353 # work properly (i.e., refer to `conftest.exe'), while it won't with
3355 for ac_file
in conftest.exe conftest conftest.
*; do
3356 test -f "$ac_file" || continue
3358 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3359 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3368 See \`config.log' for more details" "$LINENO" 5; }
3370 rm -f conftest conftest
$ac_cv_exeext
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3372 $as_echo "$ac_cv_exeext" >&6; }
3374 rm -f conftest.
$ac_ext
3375 EXEEXT
=$ac_cv_exeext
3377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3383 FILE *f = fopen ("conftest.out", "w");
3384 return ferror (f) || fclose (f) != 0;
3390 ac_clean_files
="$ac_clean_files conftest.out"
3391 # Check that the compiler produces executables we can run. If not, either
3392 # the compiler is broken, or we cross compile.
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3394 $as_echo_n "checking whether we are cross compiling... " >&6; }
3395 if test "$cross_compiling" != yes; then
3396 { { ac_try
="$ac_link"
3398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402 $as_echo "$ac_try_echo"; } >&5
3403 (eval "$ac_link") 2>&5
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }
3407 if { ac_try='./conftest$ac_cv_exeext'
3408 { { case "(($ac_try" in
3409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3410 *) ac_try_echo
=$ac_try;;
3412 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3413 $as_echo "$ac_try_echo"; } >&5
3414 (eval "$ac_try") 2>&5
3416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3417 test $ac_status = 0; }; }; then
3420 if test "$cross_compiling" = maybe
; then
3423 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 as_fn_error $?
"cannot run C compiled programs.
3426 If you meant to cross compile, use \`--host'.
3427 See \`config.log' for more details" "$LINENO" 5; }
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3432 $as_echo "$cross_compiling" >&6; }
3434 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3435 ac_clean_files
=$ac_clean_files_save
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3437 $as_echo_n "checking for suffix of object files... " >&6; }
3438 if ${ac_cv_objext+:} false
; then :
3439 $as_echo_n "(cached) " >&6
3441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3452 rm -f conftest.o conftest.obj
3453 if { { ac_try
="$ac_compile"
3455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_compile") 2>&5
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }; then :
3464 for ac_file in conftest.o conftest.obj conftest.*; do
3465 test -f "$ac_file" || continue;
3467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3468 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3473 $as_echo "$as_me: failed program was:" >&5
3474 sed 's/^/| /' conftest.$ac_ext >&5
3476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3478 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3479 See \
`config.log' for more details" "$LINENO" 5; }
3481 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3484 $as_echo "$ac_cv_objext" >&6; }
3485 OBJEXT=$ac_cv_objext
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3488 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3489 if ${ac_cv_c_compiler_gnu+:} false; then :
3490 $as_echo_n "(cached) " >&6
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3506 if ac_fn_c_try_compile "$LINENO"; then :
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3516 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3517 if test $ac_compiler_gnu = yes; then
3522 ac_test_CFLAGS=${CFLAGS+set}
3523 ac_save_CFLAGS=$CFLAGS
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3525 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3526 if ${ac_cv_prog_cc_g+:} false; then :
3527 $as_echo_n "(cached) " >&6
3529 ac_save_c_werror_flag=$ac_c_werror_flag
3530 ac_c_werror_flag=yes
3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h. */
3544 if ac_fn_c_try_compile "$LINENO"; then :
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3562 ac_c_werror_flag=$ac_save_c_werror_flag
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3575 if ac_fn_c_try_compile "$LINENO"; then :
3578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3583 ac_c_werror_flag=$ac_save_c_werror_flag
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3586 $as_echo "$ac_cv_prog_cc_g" >&6; }
3587 if test "$ac_test_CFLAGS" = set; then
3588 CFLAGS=$ac_save_CFLAGS
3589 elif test $ac_cv_prog_cc_g = yes; then
3590 if test "$GCC" = yes; then
3596 if test "$GCC" = yes; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3603 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3604 if ${ac_cv_prog_cc_c89+:} false; then :
3605 $as_echo_n "(cached) " >&6
3607 ac_cv_prog_cc_c89=no
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3613 #include <sys/types.h>
3614 #include <sys/stat.h>
3615 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3616 struct buf { int x; };
3617 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3618 static char *e (p, i)
3624 static char *f (char * (*g) (char **, int), char **p, ...)
3629 s = g (p, va_arg (v,int));
3634 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3635 function prototypes and stuff, but not '\xHH' hex character constants.
3636 These don't provoke an error unfortunately, instead are silently treated
3637 as 'x'. The following induces an error, until -std is added to get
3638 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3639 array size at least. It's necessary to write '\x00'==0 to get something
3640 that's true only with -std. */
3641 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3643 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3644 inside strings and character constants. */
3646 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3648 int test (int i, double x);
3649 struct s1 {int (*f) (int a);};
3650 struct s2 {int (*f) (double a);};
3651 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3657 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3662 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3663 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3665 CC="$ac_save_CC $ac_arg"
3666 if ac_fn_c_try_compile "$LINENO"; then :
3667 ac_cv_prog_cc_c89=$ac_arg
3669 rm -f core conftest.err conftest.$ac_objext
3670 test "x$ac_cv_prog_cc_c89" != "xno" && break
3672 rm -f conftest.$ac_ext
3677 case "x$ac_cv_prog_cc_c89" in
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3680 $as_echo "none needed" >&6; } ;;
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3683 $as_echo "unsupported" >&6; } ;;
3685 CC="$CC $ac_cv_prog_cc_c89"
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3687 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3689 if test "x$ac_cv_prog_cc_c89" != xno; then :
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3699 depcc="$CC" am_compiler_list=
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3702 $as_echo_n "checking dependency style of $depcc... " >&6; }
3703 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3707 # We make a subdir and do the tests there. Otherwise we can end up
3708 # making bogus files that we don't know about and never remove. For
3709 # instance it was reported that on HP-UX the gcc test will end up
3710 # making a dummy file named `D
' -- because `-MD' means
`put the output
3713 # Copy depcomp to subdir because otherwise we won't find it if we're
3714 # using a relative directory.
3715 cp "$am_depcomp" conftest.dir
3717 # We will build objects and dependencies in a subdirectory because
3718 # it helps to detect inapplicable dependency modes. For instance
3719 # both Tru64's cc and ICC support -MD to output dependencies as a
3720 # side effect of compilation, but ICC will put the dependencies in
3721 # the current directory while Tru64 will put them in the object
3725 am_cv_CC_dependencies_compiler_type=none
3726 if test "$am_compiler_list" = ""; then
3727 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3730 case " $depcc " in #(
3731 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3734 for depmode in $am_compiler_list; do
3735 # Setup a source with many dependencies, because some compilers
3736 # like to wrap large dependency lists on column 80 (with \), and
3737 # we should not choose a depcomp mode which is confused by this.
3739 # We need to recreate these files for each test, as the compiler may
3740 # overwrite some of them when testing with obscure command lines.
3741 # This happens at least with the AIX C compiler.
3743 for i in 1 2 3 4 5 6; do
3744 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3745 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3746 # Solaris 8's
{/usr
,}/bin
/sh.
3747 touch sub
/conftst
$i.h
3749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3751 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3752 # mode. It turns out that the SunPro C++ compiler does not properly
3753 # handle `-M -o', and we need to detect this. Also, some Intel
3754 # versions had trouble with output in subdirs
3755 am__obj
=sub
/conftest.
${OBJEXT-o}
3756 am__minus_obj
="-o $am__obj"
3759 # This depmode causes a compiler race in universal mode.
3760 test "$am__universal" = false
|| continue
3763 # after this tag, mechanisms are not by side-effect, so they'll
3764 # only be used when explicitly requested
3765 if test "x$enable_dependency_tracking" = xyes
; then
3771 msvisualcpp
| msvcmsys
)
3772 # This compiler won't grok `-c -o', but also, the minuso test has
3773 # not run yet. These depmodes are late enough in the game, and
3774 # so weak that their functioning should not be impacted.
3775 am__obj
=conftest.
${OBJEXT-o}
3780 if depmode
=$depmode \
3781 source=sub
/conftest.c object
=$am__obj \
3782 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3783 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3784 >/dev
/null
2>conftest.err
&&
3785 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3786 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3787 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3788 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3789 # icc doesn't choke on unknown options, it will just issue warnings
3790 # or remarks (even with -Werror). So we grep stderr for any message
3791 # that says an option was ignored or not supported.
3792 # When given -MP, icc 7.0 and 7.1 complain thusly:
3793 # icc: Command line warning: ignoring option '-M'; no argument required
3794 # The diagnosis changed in icc 8.0:
3795 # icc: Command line remark: option '-MP' not supported
3796 if (grep 'ignoring option' conftest.err
||
3797 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3798 am_cv_CC_dependencies_compiler_type
=$depmode
3807 am_cv_CC_dependencies_compiler_type
=none
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3812 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3813 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3816 test "x$enable_dependency_tracking" != xno \
3817 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3819 am__fastdepCC_FALSE
='#'
3821 am__fastdepCC_TRUE
='#'
3822 am__fastdepCC_FALSE
=
3828 ac_cpp
='$CPP $CPPFLAGS'
3829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3833 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3834 # On Suns, sometimes $CPP names a directory.
3835 if test -n "$CPP" && test -d "$CPP"; then
3838 if test -z "$CPP"; then
3839 if ${ac_cv_prog_CPP+:} false
; then :
3840 $as_echo_n "(cached) " >&6
3842 # Double quotes because CPP needs to be expanded
3843 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3846 for ac_c_preproc_warn_flag
in '' yes
3848 # Use a header file that comes with gcc, so configuring glibc
3849 # with a fresh cross-compiler works.
3850 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3851 # <limits.h> exists even on freestanding compilers.
3852 # On the NeXT, cc -E runs the code through the compiler's parser,
3853 # not just through cpp. "Syntax error" is here to catch this case.
3854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3857 # include <limits.h>
3859 # include <assert.h>
3863 if ac_fn_c_try_cpp
"$LINENO"; then :
3866 # Broken: fails on valid input.
3869 rm -f conftest.err conftest.i conftest.
$ac_ext
3871 # OK, works on sane cases. Now check whether nonexistent headers
3872 # can be detected and how.
3873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3875 #include <ac_nonexistent.h>
3877 if ac_fn_c_try_cpp
"$LINENO"; then :
3878 # Broken: success on invalid input.
3881 # Passes both tests.
3885 rm -f conftest.err conftest.i conftest.
$ac_ext
3888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3889 rm -f conftest.i conftest.err conftest.
$ac_ext
3890 if $ac_preproc_ok; then :
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3903 $as_echo "$CPP" >&6; }
3905 for ac_c_preproc_warn_flag
in '' yes
3907 # Use a header file that comes with gcc, so configuring glibc
3908 # with a fresh cross-compiler works.
3909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3910 # <limits.h> exists even on freestanding compilers.
3911 # On the NeXT, cc -E runs the code through the compiler's parser,
3912 # not just through cpp. "Syntax error" is here to catch this case.
3913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h. */
3916 # include <limits.h>
3918 # include <assert.h>
3922 if ac_fn_c_try_cpp
"$LINENO"; then :
3925 # Broken: fails on valid input.
3928 rm -f conftest.err conftest.i conftest.
$ac_ext
3930 # OK, works on sane cases. Now check whether nonexistent headers
3931 # can be detected and how.
3932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3934 #include <ac_nonexistent.h>
3936 if ac_fn_c_try_cpp
"$LINENO"; then :
3937 # Broken: success on invalid input.
3940 # Passes both tests.
3944 rm -f conftest.err conftest.i conftest.
$ac_ext
3947 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3948 rm -f conftest.i conftest.err conftest.
$ac_ext
3949 if $ac_preproc_ok; then :
3952 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3954 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3955 See \`config.log' for more details" "$LINENO" 5; }
3959 ac_cpp
='$CPP $CPPFLAGS'
3960 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3966 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3967 if ${ac_cv_path_GREP+:} false
; then :
3968 $as_echo_n "(cached) " >&6
3970 if test -z "$GREP"; then
3971 ac_path_GREP_found
=false
3972 # Loop through the user's path and test for each of PROGNAME-LIST
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3977 test -z "$as_dir" && as_dir
=.
3978 for ac_prog
in grep ggrep
; do
3979 for ac_exec_ext
in '' $ac_executable_extensions; do
3980 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3981 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3982 # Check for GNU ac_path_GREP and select it if it is found.
3983 # Check for GNU $ac_path_GREP
3984 case `"$ac_path_GREP" --version 2>&1` in
3986 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3989 $as_echo_n 0123456789 >"conftest.in"
3992 cat "conftest.in" "conftest.in" >"conftest.tmp"
3993 mv "conftest.tmp" "conftest.in"
3994 cp "conftest.in" "conftest.nl"
3995 $as_echo 'GREP' >> "conftest.nl"
3996 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3997 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3998 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3999 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4000 # Best one so far, save it but keep looking for a better one
4001 ac_cv_path_GREP
="$ac_path_GREP"
4002 ac_path_GREP_max
=$ac_count
4004 # 10*(2^10) chars as input seems more than enough
4005 test $ac_count -gt 10 && break
4007 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4010 $ac_path_GREP_found && break 3
4015 if test -z "$ac_cv_path_GREP"; then
4016 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4019 ac_cv_path_GREP
=$GREP
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4024 $as_echo "$ac_cv_path_GREP" >&6; }
4025 GREP
="$ac_cv_path_GREP"
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4029 $as_echo_n "checking for egrep... " >&6; }
4030 if ${ac_cv_path_EGREP+:} false
; then :
4031 $as_echo_n "(cached) " >&6
4033 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4034 then ac_cv_path_EGREP
="$GREP -E"
4036 if test -z "$EGREP"; then
4037 ac_path_EGREP_found
=false
4038 # Loop through the user's path and test for each of PROGNAME-LIST
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4043 test -z "$as_dir" && as_dir
=.
4044 for ac_prog
in egrep; do
4045 for ac_exec_ext
in '' $ac_executable_extensions; do
4046 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4047 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4048 # Check for GNU ac_path_EGREP and select it if it is found.
4049 # Check for GNU $ac_path_EGREP
4050 case `"$ac_path_EGREP" --version 2>&1` in
4052 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4055 $as_echo_n 0123456789 >"conftest.in"
4058 cat "conftest.in" "conftest.in" >"conftest.tmp"
4059 mv "conftest.tmp" "conftest.in"
4060 cp "conftest.in" "conftest.nl"
4061 $as_echo 'EGREP' >> "conftest.nl"
4062 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4063 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4064 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4065 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4066 # Best one so far, save it but keep looking for a better one
4067 ac_cv_path_EGREP
="$ac_path_EGREP"
4068 ac_path_EGREP_max
=$ac_count
4070 # 10*(2^10) chars as input seems more than enough
4071 test $ac_count -gt 10 && break
4073 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4076 $ac_path_EGREP_found && break 3
4081 if test -z "$ac_cv_path_EGREP"; then
4082 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4085 ac_cv_path_EGREP
=$EGREP
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4091 $as_echo "$ac_cv_path_EGREP" >&6; }
4092 EGREP
="$ac_cv_path_EGREP"
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4096 $as_echo_n "checking for ANSI C header files... " >&6; }
4097 if ${ac_cv_header_stdc+:} false
; then :
4098 $as_echo_n "(cached) " >&6
4100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4115 if ac_fn_c_try_compile
"$LINENO"; then :
4116 ac_cv_header_stdc
=yes
4118 ac_cv_header_stdc
=no
4120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4122 if test $ac_cv_header_stdc = yes; then
4123 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4130 $EGREP "memchr" >/dev
/null
2>&1; then :
4133 ac_cv_header_stdc
=no
4139 if test $ac_cv_header_stdc = yes; then
4140 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4147 $EGREP "free" >/dev
/null
2>&1; then :
4150 ac_cv_header_stdc
=no
4156 if test $ac_cv_header_stdc = yes; then
4157 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4158 if test "$cross_compiling" = yes; then :
4161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4165 #if ((' ' & 0x0FF) == 0x020)
4166 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4167 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4169 # define ISLOWER(c) \
4170 (('a' <= (c) && (c) <= 'i') \
4171 || ('j' <= (c) && (c) <= 'r') \
4172 || ('s' <= (c) && (c) <= 'z'))
4173 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4176 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4181 for (i = 0; i < 256; i++)
4182 if (XOR (islower (i), ISLOWER (i))
4183 || toupper (i) != TOUPPER (i))
4188 if ac_fn_c_try_run
"$LINENO"; then :
4191 ac_cv_header_stdc
=no
4193 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4194 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4200 $as_echo "$ac_cv_header_stdc" >&6; }
4201 if test $ac_cv_header_stdc = yes; then
4203 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4207 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4208 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4209 inttypes.h stdint.h unistd.h
4211 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4212 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4214 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4215 cat >>confdefs.h
<<_ACEOF
4216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4225 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4226 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4233 if test "$MINIX" = yes; then
4235 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4238 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4241 $as_echo "#define _MINIX 1" >>confdefs.h
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4247 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4248 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4249 $as_echo_n "(cached) " >&6
4251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4254 # define __EXTENSIONS__ 1
4255 $ac_includes_default
4264 if ac_fn_c_try_compile
"$LINENO"; then :
4265 ac_cv_safe_to_define___extensions__
=yes
4267 ac_cv_safe_to_define___extensions__
=no
4269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4272 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4273 test $ac_cv_safe_to_define___extensions__ = yes &&
4274 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4276 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4278 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4280 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4282 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4288 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4289 if ${ac_cv_prog_cc_c99+:} false
; then :
4290 $as_echo_n "(cached) " >&6
4292 ac_cv_prog_cc_c99
=no
4294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4295 /* end confdefs.h. */
4297 #include <stdbool.h>
4302 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4303 #define debug(...) fprintf (stderr, __VA_ARGS__)
4304 #define showlist(...) puts (#__VA_ARGS__)
4305 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4307 test_varargs_macros (void)
4312 debug ("X = %d\n", x);
4313 showlist (The first, second, and third items.);
4314 report (x>y, "x is %d but y is %d", x, y);
4317 // Check long long types.
4318 #define BIG64 18446744073709551615ull
4319 #define BIG32 4294967295ul
4320 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4322 your preprocessor is broken;
4326 your preprocessor is broken;
4328 static long long int bignum = -9223372036854775807LL;
4329 static unsigned long long int ubignum = BIG64;
4331 struct incomplete_array
4339 const wchar_t *name;
4343 typedef const char *ccp;
4346 test_restrict (ccp restrict text)
4348 // See if C++-style comments work.
4349 // Iterate through items via the restricted pointer.
4350 // Also check for declarations in for loops.
4351 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4356 // Check varargs and va_copy.
4358 test_varargs (const char *format, ...)
4361 va_start (args, format);
4363 va_copy (args_copy, args);
4374 str = va_arg (args_copy, const char *);
4377 number = va_arg (args_copy, int);
4380 fnumber = va_arg (args_copy, double);
4395 _Bool success = false;
4398 if (test_restrict ("String literal") == 0)
4400 char *restrict newvar = "Another string";
4403 test_varargs ("s, d' f .", "string", 65, 34.234);
4404 test_varargs_macros ();
4406 // Check flexible array members.
4407 struct incomplete_array *ia =
4408 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4410 for (int i = 0; i < ia->datasize; ++i)
4411 ia->data[i] = i * 1.234;
4413 // Check named initializers.
4414 struct named_init ni = {
4416 .name = L"Test wide string",
4417 .average = 543.34343,
4422 int dynamic_array[ni.number];
4423 dynamic_array[ni.number - 1] = 543;
4425 // work around unused variable warnings
4426 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4427 || dynamic_array[ni.number - 1] != 543);
4433 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
4435 CC
="$ac_save_CC $ac_arg"
4436 if ac_fn_c_try_compile
"$LINENO"; then :
4437 ac_cv_prog_cc_c99
=$ac_arg
4439 rm -f core conftest.err conftest.
$ac_objext
4440 test "x$ac_cv_prog_cc_c99" != "xno" && break
4442 rm -f conftest.
$ac_ext
4447 case "x$ac_cv_prog_cc_c99" in
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4450 $as_echo "none needed" >&6; } ;;
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4453 $as_echo "unsupported" >&6; } ;;
4455 CC
="$CC $ac_cv_prog_cc_c99"
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4457 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4459 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4465 if test x
"$ac_cv_prog_cc_c99" = "xno"; then
4466 as_fn_error $?
"ircd-ratbox requires a C99 capable compiler" "$LINENO" 5
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4472 $as_echo_n "checking for egrep... " >&6; }
4473 if ${ac_cv_path_EGREP+:} false
; then :
4474 $as_echo_n "(cached) " >&6
4476 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4477 then ac_cv_path_EGREP
="$GREP -E"
4479 if test -z "$EGREP"; then
4480 ac_path_EGREP_found
=false
4481 # Loop through the user's path and test for each of PROGNAME-LIST
4482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4483 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4486 test -z "$as_dir" && as_dir
=.
4487 for ac_prog
in egrep; do
4488 for ac_exec_ext
in '' $ac_executable_extensions; do
4489 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4490 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4491 # Check for GNU ac_path_EGREP and select it if it is found.
4492 # Check for GNU $ac_path_EGREP
4493 case `"$ac_path_EGREP" --version 2>&1` in
4495 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4498 $as_echo_n 0123456789 >"conftest.in"
4501 cat "conftest.in" "conftest.in" >"conftest.tmp"
4502 mv "conftest.tmp" "conftest.in"
4503 cp "conftest.in" "conftest.nl"
4504 $as_echo 'EGREP' >> "conftest.nl"
4505 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4506 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4507 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4508 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4509 # Best one so far, save it but keep looking for a better one
4510 ac_cv_path_EGREP
="$ac_path_EGREP"
4511 ac_path_EGREP_max
=$ac_count
4513 # 10*(2^10) chars as input seems more than enough
4514 test $ac_count -gt 10 && break
4516 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4519 $ac_path_EGREP_found && break 3
4524 if test -z "$ac_cv_path_EGREP"; then
4525 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4528 ac_cv_path_EGREP
=$EGREP
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4534 $as_echo "$ac_cv_path_EGREP" >&6; }
4535 EGREP
="$ac_cv_path_EGREP"
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4539 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4540 if ${ac_cv_path_SED+:} false
; then :
4541 $as_echo_n "(cached) " >&6
4543 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4544 for ac_i
in 1 2 3 4 5 6 7; do
4545 ac_script
="$ac_script$as_nl$ac_script"
4547 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
4548 { ac_script
=; unset ac_script
;}
4549 if test -z "$SED"; then
4550 ac_path_SED_found
=false
4551 # Loop through the user's path and test for each of PROGNAME-LIST
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_prog
in sed gsed
; do
4558 for ac_exec_ext
in '' $ac_executable_extensions; do
4559 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4560 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4561 # Check for GNU ac_path_SED and select it if it is found.
4562 # Check for GNU $ac_path_SED
4563 case `"$ac_path_SED" --version 2>&1` in
4565 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4568 $as_echo_n 0123456789 >"conftest.in"
4571 cat "conftest.in" "conftest.in" >"conftest.tmp"
4572 mv "conftest.tmp" "conftest.in"
4573 cp "conftest.in" "conftest.nl"
4574 $as_echo '' >> "conftest.nl"
4575 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4576 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4577 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4578 if test $ac_count -gt ${ac_path_SED_max-0}; then
4579 # Best one so far, save it but keep looking for a better one
4580 ac_cv_path_SED
="$ac_path_SED"
4581 ac_path_SED_max
=$ac_count
4583 # 10*(2^10) chars as input seems more than enough
4584 test $ac_count -gt 10 && break
4586 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4589 $ac_path_SED_found && break 3
4594 if test -z "$ac_cv_path_SED"; then
4595 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4603 $as_echo "$ac_cv_path_SED" >&6; }
4604 SED
="$ac_cv_path_SED"
4612 # Check whether --enable-static was given.
4613 if test "${enable_static+set}" = set; then :
4614 enableval
=$enable_static; p
=${PACKAGE-default}
4616 yes) enable_static
=yes ;;
4617 no
) enable_static
=no
;;
4620 # Look at the argument we got. We use all the common list separators.
4621 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4622 for pkg
in $enableval; do
4624 if test "X$pkg" = "X$p"; then
4643 # Check whether --enable-shared was given.
4644 if test "${enable_shared+set}" = set; then :
4645 enableval
=$enable_shared; p
=${PACKAGE-default}
4647 yes) enable_shared
=yes ;;
4648 no
) enable_shared
=no
;;
4651 # Look at the argument we got. We use all the common list separators.
4652 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4653 for pkg
in $enableval; do
4655 if test "X$pkg" = "X$p"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4676 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4677 # Check whether --enable-maintainer-mode was given.
4678 if test "${enable_maintainer_mode+set}" = set; then :
4679 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4681 USE_MAINTAINER_MODE
=no
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4685 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4686 if test $USE_MAINTAINER_MODE = yes; then
4687 MAINTAINER_MODE_TRUE
=
4688 MAINTAINER_MODE_FALSE
='#'
4690 MAINTAINER_MODE_TRUE
='#'
4691 MAINTAINER_MODE_FALSE
=
4694 MAINT
=$MAINTAINER_MODE_TRUE
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4699 $as_echo_n "checking for library containing strerror... " >&6; }
4700 if ${ac_cv_search_strerror+:} false
; then :
4701 $as_echo_n "(cached) " >&6
4703 ac_func_search_save_LIBS
=$LIBS
4704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4705 /* end confdefs.h. */
4707 /* Override any GCC internal prototype to avoid an error.
4708 Use char because int might match the return type of a GCC
4709 builtin and then its argument prototype would still apply. */
4722 for ac_lib
in '' cposix
; do
4723 if test -z "$ac_lib"; then
4724 ac_res
="none required"
4727 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4729 if ac_fn_c_try_link
"$LINENO"; then :
4730 ac_cv_search_strerror
=$ac_res
4732 rm -f core conftest.err conftest.
$ac_objext \
4734 if ${ac_cv_search_strerror+:} false
; then :
4738 if ${ac_cv_search_strerror+:} false
; then :
4741 ac_cv_search_strerror
=no
4744 LIBS
=$ac_func_search_save_LIBS
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4747 $as_echo "$ac_cv_search_strerror" >&6; }
4748 ac_res
=$ac_cv_search_strerror
4749 if test "$ac_res" != no
; then :
4750 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4755 $as_echo_n "checking for inline... " >&6; }
4756 if ${ac_cv_c_inline+:} false
; then :
4757 $as_echo_n "(cached) " >&6
4760 for ac_kw
in inline __inline__ __inline
; do
4761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4765 static $ac_kw foo_t static_foo () {return 0; }
4766 $ac_kw foo_t foo () {return 0; }
4770 if ac_fn_c_try_compile
"$LINENO"; then :
4771 ac_cv_c_inline
=$ac_kw
4773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4774 test "$ac_cv_c_inline" != no
&& break
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4779 $as_echo "$ac_cv_c_inline" >&6; }
4781 case $ac_cv_c_inline in
4784 case $ac_cv_c_inline in
4786 *) ac_val
=$ac_cv_c_inline;;
4788 cat >>confdefs.h
<<_ACEOF
4790 #define inline $ac_val
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4797 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4798 if ${ac_cv_c_const+:} false
; then :
4799 $as_echo_n "(cached) " >&6
4801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4802 /* end confdefs.h. */
4807 /* FIXME: Include the comments suggested by Paul. */
4809 /* Ultrix mips cc rejects this. */
4810 typedef int charset[2];
4812 /* SunOS 4.1.1 cc rejects this. */
4813 char const *const *pcpcc;
4815 /* NEC SVR4.0.2 mips cc rejects this. */
4816 struct point {int x, y;};
4817 static struct point const zero = {0,0};
4818 /* AIX XL C 1.02.0.0 rejects this.
4819 It does not let you subtract one const X* pointer from another in
4820 an arm of an if-expression whose if-part is not a constant
4822 const char *g = "string";
4823 pcpcc = &g + (g ? g-g : 0);
4824 /* HPUX 7.0 cc rejects these. */
4826 ppc = (char**) pcpcc;
4827 pcpcc = (char const *const *) ppc;
4828 { /* SCO 3.2v4 cc rejects this. */
4830 char const *s = 0 ? (char *) 0 : (char const *) 0;
4835 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4837 const int *foo = &x[0];
4840 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4841 typedef const int *iptr;
4845 { /* AIX XL C 1.02.0.0 rejects this saying
4846 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4847 struct s { int j; const int *ap[3]; };
4848 struct s *b; b->j = 5;
4850 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4854 return !cs[0] && !zero.x;
4861 if ac_fn_c_try_compile
"$LINENO"; then :
4866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4869 $as_echo "$ac_cv_c_const" >&6; }
4870 if test $ac_cv_c_const = no
; then
4872 $as_echo "#define const /**/" >>confdefs.h
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4877 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4878 if ${ac_cv_c_bigendian+:} false
; then :
4879 $as_echo_n "(cached) " >&6
4881 ac_cv_c_bigendian
=unknown
4882 # See if we're dealing with a universal compiler.
4883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4885 #ifndef __APPLE_CC__
4886 not a universal capable compiler
4891 if ac_fn_c_try_compile
"$LINENO"; then :
4893 # Check for potential -arch flags. It is not universal unless
4894 # there are at least two -arch flags with different values.
4897 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4898 if test -n "$ac_prev"; then
4900 i?
86 | x86_64
| ppc
| ppc64
)
4901 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4904 ac_cv_c_bigendian
=universal
4910 elif test "x$ac_word" = "x-arch"; then
4915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4916 if test $ac_cv_c_bigendian = unknown
; then
4917 # See if sys/param.h defines the BYTE_ORDER macro.
4918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4920 #include <sys/types.h>
4921 #include <sys/param.h>
4926 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4927 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4936 if ac_fn_c_try_compile
"$LINENO"; then :
4937 # It does; now see whether it defined to BIG_ENDIAN or not.
4938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4940 #include <sys/types.h>
4941 #include <sys/param.h>
4946 #if BYTE_ORDER != BIG_ENDIAN
4954 if ac_fn_c_try_compile
"$LINENO"; then :
4955 ac_cv_c_bigendian
=yes
4957 ac_cv_c_bigendian
=no
4959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4963 if test $ac_cv_c_bigendian = unknown
; then
4964 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4972 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4980 if ac_fn_c_try_compile
"$LINENO"; then :
4981 # It does; now see whether it defined to _BIG_ENDIAN or not.
4982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4997 if ac_fn_c_try_compile
"$LINENO"; then :
4998 ac_cv_c_bigendian
=yes
5000 ac_cv_c_bigendian
=no
5002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5006 if test $ac_cv_c_bigendian = unknown
; then
5007 # Compile a test program.
5008 if test "$cross_compiling" = yes; then :
5009 # Try to guess by grepping values from an object file.
5010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5012 short int ascii_mm[] =
5013 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5014 short int ascii_ii[] =
5015 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5016 int use_ascii (int i) {
5017 return ascii_mm[i] + ascii_ii[i];
5019 short int ebcdic_ii[] =
5020 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5021 short int ebcdic_mm[] =
5022 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5023 int use_ebcdic (int i) {
5024 return ebcdic_mm[i] + ebcdic_ii[i];
5031 return use_ascii (foo) == use_ebcdic (foo);
5036 if ac_fn_c_try_compile
"$LINENO"; then :
5037 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5038 ac_cv_c_bigendian
=yes
5040 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5041 if test "$ac_cv_c_bigendian" = unknown
; then
5042 ac_cv_c_bigendian
=no
5044 # finding both strings is unlikely to happen, but who knows?
5045 ac_cv_c_bigendian
=unknown
5049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5052 /* end confdefs.h. */
5053 $ac_includes_default
5058 /* Are we little or big endian? From Harbison&Steele. */
5062 char c[sizeof (long int)];
5065 return u.c[sizeof (long int) - 1] == 1;
5071 if ac_fn_c_try_run
"$LINENO"; then :
5072 ac_cv_c_bigendian
=no
5074 ac_cv_c_bigendian
=yes
5076 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5077 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5083 $as_echo "$ac_cv_c_bigendian" >&6; }
5084 case $ac_cv_c_bigendian in #(
5086 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5092 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5096 as_fn_error $?
"unknown endianness
5097 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5101 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5103 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5104 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5105 $as_echo_n "(cached) " >&6
5107 cat >conftest.
make <<\_ACEOF
5110 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5112 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5113 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5115 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5117 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5121 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5123 $as_echo "yes" >&6; }
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5128 SET_MAKE
="MAKE=${MAKE-make}"
5132 # Extract the first word of "automake", so it can be a program name with args.
5133 set dummy automake
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_path_AUTOMAKE+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5141 ac_cv_path_AUTOMAKE
="$AUTOMAKE" # Let the user override the test with a path.
5144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5148 test -z "$as_dir" && as_dir
=.
5149 for ac_exec_ext
in '' $ac_executable_extensions; do
5150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5151 ac_cv_path_AUTOMAKE
="$as_dir/$ac_word$ac_exec_ext"
5152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 AUTOMAKE
=$ac_cv_path_AUTOMAKE
5163 if test -n "$AUTOMAKE"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOMAKE" >&5
5165 $as_echo "$AUTOMAKE" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5172 # Extract the first word of "aclocal", so it can be a program name with args.
5173 set dummy aclocal
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_path_ACLOCAL+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5181 ac_cv_path_ACLOCAL
="$ACLOCAL" # Let the user override the test with a path.
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191 ac_cv_path_ACLOCAL
="$as_dir/$ac_word$ac_exec_ext"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 ACLOCAL
=$ac_cv_path_ACLOCAL
5203 if test -n "$ACLOCAL"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
5205 $as_echo "$ACLOCAL" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 # Extract the first word of "autoheader", so it can be a program name with args.
5213 set dummy autoheader
; ac_word
=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_path_AUTOHEADER+:} false
; then :
5217 $as_echo_n "(cached) " >&6
5221 ac_cv_path_AUTOHEADER
="$AUTOHEADER" # Let the user override the test with a path.
5224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5228 test -z "$as_dir" && as_dir
=.
5229 for ac_exec_ext
in '' $ac_executable_extensions; do
5230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231 ac_cv_path_AUTOHEADER
="$as_dir/$ac_word$ac_exec_ext"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 AUTOHEADER
=$ac_cv_path_AUTOHEADER
5243 if test -n "$AUTOHEADER"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
5245 $as_echo "$AUTOHEADER" >&6; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 # Extract the first word of "as", so it can be a program name with args.
5253 set dummy as
; ac_word
=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_path_AS+:} false
; then :
5257 $as_echo_n "(cached) " >&6
5261 ac_cv_path_AS
="$AS" # Let the user override the test with a path.
5264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir
=.
5269 for ac_exec_ext
in '' $ac_executable_extensions; do
5270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5271 ac_cv_path_AS
="$as_dir/$ac_word$ac_exec_ext"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 if test -n "$AS"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5285 $as_echo "$AS" >&6; }
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5292 # Extract the first word of "rm", so it can be a program name with args.
5293 set dummy
rm; ac_word
=$2
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5296 if ${ac_cv_path_RM+:} false
; then :
5297 $as_echo_n "(cached) " >&6
5301 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
5304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5308 test -z "$as_dir" && as_dir
=.
5309 for ac_exec_ext
in '' $ac_executable_extensions; do
5310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
5312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 if test -n "$RM"; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5325 $as_echo "$RM" >&6; }
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5332 # Extract the first word of "cp", so it can be a program name with args.
5333 set dummy
cp; ac_word
=$2
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5336 if ${ac_cv_path_CP+:} false
; then :
5337 $as_echo_n "(cached) " >&6
5341 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
5344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5348 test -z "$as_dir" && as_dir
=.
5349 for ac_exec_ext
in '' $ac_executable_extensions; do
5350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5351 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5363 if test -n "$CP"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5365 $as_echo "$CP" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5372 # Extract the first word of "mv", so it can be a program name with args.
5373 set dummy
mv; ac_word
=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_path_MV+:} false
; then :
5377 $as_echo_n "(cached) " >&6
5381 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
5384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5388 test -z "$as_dir" && as_dir
=.
5389 for ac_exec_ext
in '' $ac_executable_extensions; do
5390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5391 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 if test -n "$MV"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5405 $as_echo "$MV" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5412 # Extract the first word of "ln", so it can be a program name with args.
5413 set dummy
ln; ac_word
=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if ${ac_cv_path_LN+:} false
; then :
5417 $as_echo_n "(cached) " >&6
5421 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
5424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5428 test -z "$as_dir" && as_dir
=.
5429 for ac_exec_ext
in '' $ac_executable_extensions; do
5430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5431 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5443 if test -n "$LN"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
5445 $as_echo "$LN" >&6; }
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5452 # Extract the first word of "touch", so it can be a program name with args.
5453 set dummy
touch; ac_word
=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_path_TOUCH+:} false
; then :
5457 $as_echo_n "(cached) " >&6
5461 ac_cv_path_TOUCH
="$TOUCH" # Let the user override the test with a path.
5464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5468 test -z "$as_dir" && as_dir
=.
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5471 ac_cv_path_TOUCH
="$as_dir/$ac_word$ac_exec_ext"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 TOUCH
=$ac_cv_path_TOUCH
5483 if test -n "$TOUCH"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5485 $as_echo "$TOUCH" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 ac_cpp
='$CPP $CPPFLAGS'
5494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5502 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5508 macro_revision
='1.3293'
5522 ltmain
="$ac_aux_dir/ltmain.sh"
5524 # Make sure we can run config.sub.
5525 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5526 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5529 $as_echo_n "checking build system type... " >&6; }
5530 if ${ac_cv_build+:} false
; then :
5531 $as_echo_n "(cached) " >&6
5533 ac_build_alias
=$build_alias
5534 test "x$ac_build_alias" = x
&&
5535 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5536 test "x$ac_build_alias" = x
&&
5537 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5538 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5539 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5543 $as_echo "$ac_cv_build" >&6; }
5544 case $ac_cv_build in
5546 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5549 ac_save_IFS
=$IFS; IFS
='-'
5555 # Remember, the first character of IFS is used to create $*,
5556 # except with old shells:
5559 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5563 $as_echo_n "checking host system type... " >&6; }
5564 if ${ac_cv_host+:} false
; then :
5565 $as_echo_n "(cached) " >&6
5567 if test "x$host_alias" = x
; then
5568 ac_cv_host
=$ac_cv_build
5570 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5571 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5576 $as_echo "$ac_cv_host" >&6; }
5579 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5582 ac_save_IFS
=$IFS; IFS
='-'
5588 # Remember, the first character of IFS is used to create $*,
5589 # except with old shells:
5592 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5595 # Backslashify metacharacters that are still active within
5596 # double-quoted strings.
5597 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5599 # Same as above, but do not quote variable references.
5600 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5602 # Sed substitution to delay expansion of an escaped shell variable in a
5603 # double_quote_subst'ed string.
5604 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5606 # Sed substitution to delay expansion of an escaped single quote.
5607 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5609 # Sed substitution to avoid accidental globbing in evaled expressions
5610 no_glob_subst
='s/\*/\\\*/g'
5612 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5613 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5614 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5617 $as_echo_n "checking how to print strings... " >&6; }
5618 # Test print first, because it will be a builtin if present.
5619 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5620 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5622 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5625 # Use this function as a fallback that always works.
5626 func_fallback_echo ()
5628 eval 'cat <<_LTECHO_EOF
5632 ECHO='func_fallback_echo
'
5635 # func_echo_all arg...
5636 # Invoke $ECHO with all args, space-separated.
5643 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5644 $as_echo "printf" >&6; } ;;
5645 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5646 $as_echo "print -r" >&6; } ;;
5647 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5648 $as_echo "cat" >&6; } ;;
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5665 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5666 if ${ac_cv_path_SED+:} false; then :
5667 $as_echo_n "(cached) " >&6
5669 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5670 for ac_i in 1 2 3 4 5 6 7; do
5671 ac_script="$ac_script$as_nl$ac_script"
5673 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5674 { ac_script=; unset ac_script;}
5675 if test -z "$SED"; then
5676 ac_path_SED_found=false
5677 # Loop through the user's path and
test for each of PROGNAME
-LIST
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_prog
in sed gsed
; do
5684 for ac_exec_ext
in '' $ac_executable_extensions; do
5685 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5686 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5687 # Check for GNU ac_path_SED and select it if it is found.
5688 # Check for GNU $ac_path_SED
5689 case `"$ac_path_SED" --version 2>&1` in
5691 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5694 $as_echo_n 0123456789 >"conftest.in"
5697 cat "conftest.in" "conftest.in" >"conftest.tmp"
5698 mv "conftest.tmp" "conftest.in"
5699 cp "conftest.in" "conftest.nl"
5700 $as_echo '' >> "conftest.nl"
5701 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5702 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5703 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5704 if test $ac_count -gt ${ac_path_SED_max-0}; then
5705 # Best one so far, save it but keep looking for a better one
5706 ac_cv_path_SED
="$ac_path_SED"
5707 ac_path_SED_max
=$ac_count
5709 # 10*(2^10) chars as input seems more than enough
5710 test $ac_count -gt 10 && break
5712 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5715 $ac_path_SED_found && break 3
5720 if test -z "$ac_cv_path_SED"; then
5721 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5729 $as_echo "$ac_cv_path_SED" >&6; }
5730 SED
="$ac_cv_path_SED"
5733 test -z "$SED" && SED
=sed
5734 Xsed
="$SED -e 1s/^X//"
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5747 $as_echo_n "checking for fgrep... " >&6; }
5748 if ${ac_cv_path_FGREP+:} false
; then :
5749 $as_echo_n "(cached) " >&6
5751 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
5752 then ac_cv_path_FGREP
="$GREP -F"
5754 if test -z "$FGREP"; then
5755 ac_path_FGREP_found
=false
5756 # Loop through the user's path and test for each of PROGNAME-LIST
5757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5758 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5761 test -z "$as_dir" && as_dir
=.
5762 for ac_prog
in fgrep
; do
5763 for ac_exec_ext
in '' $ac_executable_extensions; do
5764 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5765 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5766 # Check for GNU ac_path_FGREP and select it if it is found.
5767 # Check for GNU $ac_path_FGREP
5768 case `"$ac_path_FGREP" --version 2>&1` in
5770 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5773 $as_echo_n 0123456789 >"conftest.in"
5776 cat "conftest.in" "conftest.in" >"conftest.tmp"
5777 mv "conftest.tmp" "conftest.in"
5778 cp "conftest.in" "conftest.nl"
5779 $as_echo 'FGREP' >> "conftest.nl"
5780 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5781 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5782 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5783 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5784 # Best one so far, save it but keep looking for a better one
5785 ac_cv_path_FGREP
="$ac_path_FGREP"
5786 ac_path_FGREP_max
=$ac_count
5788 # 10*(2^10) chars as input seems more than enough
5789 test $ac_count -gt 10 && break
5791 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5794 $ac_path_FGREP_found && break 3
5799 if test -z "$ac_cv_path_FGREP"; then
5800 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5803 ac_cv_path_FGREP
=$FGREP
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5809 $as_echo "$ac_cv_path_FGREP" >&6; }
5810 FGREP
="$ac_cv_path_FGREP"
5813 test -z "$GREP" && GREP
=grep
5833 # Check whether --with-gnu-ld was given.
5834 if test "${with_gnu_ld+set}" = set; then :
5835 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
5841 if test "$GCC" = yes; then
5842 # Check if gcc -print-prog-name=ld gives a path.
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5844 $as_echo_n "checking for ld used by $CC... " >&6; }
5847 # gcc leaves a trailing carriage return which upsets mingw
5848 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5850 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5853 # Accept absolute paths.
5855 re_direlt
='/[^/][^/]*/\.\./'
5856 # Canonicalize the pathname of ld
5857 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5858 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
5859 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5861 test -z "$LD" && LD
="$ac_prog"
5864 # If it fails, then pretend we aren't using GCC.
5868 # If it is relative, then search for the first ld in PATH.
5872 elif test "$with_gnu_ld" = yes; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5874 $as_echo_n "checking for GNU ld... " >&6; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5877 $as_echo_n "checking for non-GNU ld... " >&6; }
5879 if ${lt_cv_path_LD+:} false
; then :
5880 $as_echo_n "(cached) " >&6
5882 if test -z "$LD"; then
5883 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5884 for ac_dir
in $PATH; do
5886 test -z "$ac_dir" && ac_dir
=.
5887 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5888 lt_cv_path_LD
="$ac_dir/$ac_prog"
5889 # Check to see if the program is GNU ld. I'd rather use --version,
5890 # but apparently some variants of GNU ld only accept -v.
5891 # Break only if it was the GNU/non-GNU ld that we prefer.
5892 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5893 *GNU
* | *'with BFD'*)
5894 test "$with_gnu_ld" != no
&& break
5897 test "$with_gnu_ld" != yes && break
5904 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5909 if test -n "$LD"; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5911 $as_echo "$LD" >&6; }
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5914 $as_echo "no" >&6; }
5916 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5918 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5919 if ${lt_cv_prog_gnu_ld+:} false
; then :
5920 $as_echo_n "(cached) " >&6
5922 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5923 case `$LD -v 2>&1 </dev/null` in
5924 *GNU
* | *'with BFD'*)
5925 lt_cv_prog_gnu_ld
=yes
5928 lt_cv_prog_gnu_ld
=no
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5933 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5934 with_gnu_ld
=$lt_cv_prog_gnu_ld
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5945 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5946 if ${lt_cv_path_NM+:} false
; then :
5947 $as_echo_n "(cached) " >&6
5949 if test -n "$NM"; then
5950 # Let the user override the test.
5953 lt_nm_to_check
="${ac_tool_prefix}nm"
5954 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5955 lt_nm_to_check
="$lt_nm_to_check nm"
5957 for lt_tmp_nm
in $lt_nm_to_check; do
5958 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5959 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5961 test -z "$ac_dir" && ac_dir
=.
5962 tmp_nm
="$ac_dir/$lt_tmp_nm"
5963 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5964 # Check to see if the nm accepts a BSD-compat flag.
5965 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5966 # nm: unknown option "B" ignored
5967 # Tru64's nm complains that /dev/null is an invalid object file
5968 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5969 */dev
/null
* | *'Invalid file or object type'*)
5970 lt_cv_path_NM
="$tmp_nm -B"
5974 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5976 lt_cv_path_NM
="$tmp_nm -p"
5980 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5981 continue # so that we can try to find one that supports BSD flags
5990 : ${lt_cv_path_NM=no}
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5994 $as_echo "$lt_cv_path_NM" >&6; }
5995 if test "$lt_cv_path_NM" != "no"; then
5998 # Didn't find any BSD compatible name lister, look for dumpbin.
5999 if test -n "$DUMPBIN"; then :
6000 # Let the user override the test.
6002 if test -n "$ac_tool_prefix"; then
6003 for ac_prog
in dumpbin
"link -dump"
6005 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6006 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6010 $as_echo_n "(cached) " >&6
6012 if test -n "$DUMPBIN"; then
6013 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6019 test -z "$as_dir" && as_dir
=.
6020 for ac_exec_ext
in '' $ac_executable_extensions; do
6021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6022 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 DUMPBIN
=$ac_cv_prog_DUMPBIN
6033 if test -n "$DUMPBIN"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6035 $as_echo "$DUMPBIN" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6042 test -n "$DUMPBIN" && break
6045 if test -z "$DUMPBIN"; then
6046 ac_ct_DUMPBIN
=$DUMPBIN
6047 for ac_prog
in dumpbin
"link -dump"
6049 # Extract the first word of "$ac_prog", so it can be a program name with args.
6050 set dummy
$ac_prog; ac_word
=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6054 $as_echo_n "(cached) " >&6
6056 if test -n "$ac_ct_DUMPBIN"; then
6057 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir
=.
6064 for ac_exec_ext
in '' $ac_executable_extensions; do
6065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6066 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6077 if test -n "$ac_ct_DUMPBIN"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6079 $as_echo "$ac_ct_DUMPBIN" >&6; }
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6086 test -n "$ac_ct_DUMPBIN" && break
6089 if test "x$ac_ct_DUMPBIN" = x
; then
6092 case $cross_compiling:$ac_tool_warned in
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6096 ac_tool_warned
=yes ;;
6098 DUMPBIN
=$ac_ct_DUMPBIN
6102 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6104 DUMPBIN
="$DUMPBIN -symbols"
6112 if test "$DUMPBIN" != ":"; then
6116 test -z "$NM" && NM
=nm
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6124 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6125 if ${lt_cv_nm_interface+:} false
; then :
6126 $as_echo_n "(cached) " >&6
6128 lt_cv_nm_interface
="BSD nm"
6129 echo "int some_variable = 0;" > conftest.
$ac_ext
6130 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6131 (eval "$ac_compile" 2>conftest.err
)
6132 cat conftest.err
>&5
6133 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6134 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6135 cat conftest.err
>&5
6136 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6137 cat conftest.out
>&5
6138 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6139 lt_cv_nm_interface
="MS dumpbin"
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6144 $as_echo "$lt_cv_nm_interface" >&6; }
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6147 $as_echo_n "checking whether ln -s works... " >&6; }
6149 if test "$LN_S" = "ln -s"; then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6151 $as_echo "yes" >&6; }
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6154 $as_echo "no, using $LN_S" >&6; }
6157 # find the maximum length of command line arguments
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6159 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6160 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6161 $as_echo_n "(cached) " >&6
6168 # On DJGPP, this test can blow up pretty badly due to problems in libc
6169 # (any single argument exceeding 2000 bytes causes a buffer overrun
6170 # during glob expansion). Even if it were fixed, the result of this
6171 # check would be larger than it should be.
6172 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6176 # Under GNU Hurd, this test is not required because there is
6177 # no limit to the length of command line arguments.
6178 # Libtool will interpret -1 as no limit whatsoever
6179 lt_cv_sys_max_cmd_len
=-1;
6182 cygwin
* | mingw
* | cegcc
*)
6183 # On Win9x/ME, this test blows up -- it succeeds, but takes
6184 # about 5 minutes as the teststring grows exponentially.
6185 # Worse, since 9x/ME are not pre-emptively multitasking,
6186 # you end up with a "frozen" computer, even though with patience
6187 # the test eventually succeeds (with a max line length of 256k).
6188 # Instead, let's just punt: use the minimum linelength reported by
6189 # all of the supported platforms: 8192 (on NT/2K/XP).
6190 lt_cv_sys_max_cmd_len
=8192;
6194 # On MiNT this can take a long time and run out of memory.
6195 lt_cv_sys_max_cmd_len
=8192;
6199 # On AmigaOS with pdksh, this test takes hours, literally.
6200 # So we just punt and use a minimum line length of 8192.
6201 lt_cv_sys_max_cmd_len
=8192;
6204 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6205 # This has been around since 386BSD, at least. Likely further.
6206 if test -x /sbin
/sysctl
; then
6207 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6208 elif test -x /usr
/sbin
/sysctl
; then
6209 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6211 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6213 # And add a safety zone
6214 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6215 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6219 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6220 lt_cv_sys_max_cmd_len
=196608
6224 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6225 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6226 # nice to cause kernel panics so lets avoid the loop below.
6227 # First set a reasonable default.
6228 lt_cv_sys_max_cmd_len
=16384
6230 if test -x /sbin
/sysconfig
; then
6231 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6232 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6237 lt_cv_sys_max_cmd_len
=102400
6239 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6240 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6241 if test -n "$kargmax"; then
6242 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6244 lt_cv_sys_max_cmd_len
=32768
6248 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6249 if test -n "$lt_cv_sys_max_cmd_len"; then
6250 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6251 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6253 # Make teststring a little bigger before we do anything with it.
6254 # a 1K string should be a reasonable start.
6255 for i
in 1 2 3 4 5 6 7 8 ; do
6256 teststring
=$teststring$teststring
6258 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6259 # If test is not a shell built-in, we'll probably end up computing a
6260 # maximum length that is only half of the actual maximum length, but
6262 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6263 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6264 test $i != 17 # 1/2 MB should be enough
6267 teststring
=$teststring$teststring
6269 # Only check the string length outside the loop.
6270 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6272 # Add a significant safety factor because C++ compilers can tack on
6273 # massive amounts of additional arguments before passing them to the
6274 # linker. It appears as though 1/2 is a usable value.
6275 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6282 if test -n $lt_cv_sys_max_cmd_len ; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6284 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6287 $as_echo "none" >&6; }
6289 max_cmd_len
=$lt_cv_sys_max_cmd_len
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6301 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6302 # Try some XSI features
6305 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6307 && eval 'test $(( 1 + 1 )) -eq 2 \
6308 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6311 $as_echo "$xsi_shell" >&6; }
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6315 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6317 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6319 && lt_shell_append
=yes
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6321 $as_echo "$lt_shell_append" >&6; }
6324 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
6334 # test EBCDIC or ASCII
6335 case `echo X|tr X '\101'` in
6336 A
) # ASCII based system
6337 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6338 lt_SP2NL
='tr \040 \012'
6339 lt_NL2SP
='tr \015\012 \040\040'
6341 *) # EBCDIC based system
6342 lt_SP2NL
='tr \100 \n'
6343 lt_NL2SP
='tr \r\n \100\100'
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6356 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6357 if ${lt_cv_to_host_file_cmd+:} false
; then :
6358 $as_echo_n "(cached) " >&6
6363 *-*-mingw* ) # actually msys
6364 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6367 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6369 * ) # otherwise, assume *nix
6370 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6376 *-*-mingw* ) # actually msys
6377 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6380 lt_cv_to_host_file_cmd
=func_convert_file_noop
6382 * ) # otherwise, assume *nix
6383 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6387 * ) # unhandled hosts (and "normal" native builds)
6388 lt_cv_to_host_file_cmd
=func_convert_file_noop
6394 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6396 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6403 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6404 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6405 $as_echo_n "(cached) " >&6
6407 #assume ordinary cross tools, or native build.
6408 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6412 *-*-mingw* ) # actually msys
6413 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6421 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6423 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6430 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6431 if ${lt_cv_ld_reload_flag+:} false
; then :
6432 $as_echo_n "(cached) " >&6
6434 lt_cv_ld_reload_flag
='-r'
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6437 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6438 reload_flag
=$lt_cv_ld_reload_flag
6439 case $reload_flag in
6441 *) reload_flag
=" $reload_flag" ;;
6443 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6445 cygwin
* | mingw
* | pw32
* | cegcc
*)
6446 if test "$GCC" != yes; then
6451 if test "$GCC" = yes; then
6452 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6454 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6467 if test -n "$ac_tool_prefix"; then
6468 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6469 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6473 $as_echo_n "(cached) " >&6
6475 if test -n "$OBJDUMP"; then
6476 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6482 test -z "$as_dir" && as_dir
=.
6483 for ac_exec_ext
in '' $ac_executable_extensions; do
6484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6485 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 OBJDUMP
=$ac_cv_prog_OBJDUMP
6496 if test -n "$OBJDUMP"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6498 $as_echo "$OBJDUMP" >&6; }
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6506 if test -z "$ac_cv_prog_OBJDUMP"; then
6507 ac_ct_OBJDUMP
=$OBJDUMP
6508 # Extract the first word of "objdump", so it can be a program name with args.
6509 set dummy objdump
; ac_word
=$2
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 $as_echo_n "checking for $ac_word... " >&6; }
6512 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6513 $as_echo_n "(cached) " >&6
6515 if test -n "$ac_ct_OBJDUMP"; then
6516 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6522 test -z "$as_dir" && as_dir
=.
6523 for ac_exec_ext
in '' $ac_executable_extensions; do
6524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6525 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6535 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6536 if test -n "$ac_ct_OBJDUMP"; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6538 $as_echo "$ac_ct_OBJDUMP" >&6; }
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6544 if test "x$ac_ct_OBJDUMP" = x
; then
6547 case $cross_compiling:$ac_tool_warned in
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6551 ac_tool_warned
=yes ;;
6553 OBJDUMP
=$ac_ct_OBJDUMP
6556 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6559 test -z "$OBJDUMP" && OBJDUMP
=objdump
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6570 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6571 if ${lt_cv_deplibs_check_method+:} false
; then :
6572 $as_echo_n "(cached) " >&6
6574 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6575 lt_cv_file_magic_test_file
=
6576 lt_cv_deplibs_check_method
='unknown'
6577 # Need to set the preceding variable on all platforms that support
6578 # interlibrary dependencies.
6579 # 'none' -- dependencies not supported.
6580 # `unknown' -- same as none, but documents that we really don't know.
6581 # 'pass_all' -- all dependencies passed with no checks.
6582 # 'test_compile' -- check by making test program.
6583 # 'file_magic [[regex]]' -- check by looking for files in library path
6584 # which responds to the $file_magic_cmd with a given extended regex.
6585 # If you have `file' or equivalent on your system and you're not sure
6586 # whether `pass_all' will *always* work, you probably want this one.
6590 lt_cv_deplibs_check_method
=pass_all
6594 lt_cv_deplibs_check_method
=pass_all
6598 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6599 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6600 lt_cv_file_magic_test_file
=/shlib
/libc.so
6604 # func_win32_libid is a shell function defined in ltmain.sh
6605 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6606 lt_cv_file_magic_cmd
='func_win32_libid'
6610 # Base MSYS/MinGW do not provide the 'file' command needed by
6611 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6612 # unless we find 'file', for example because we are cross-compiling.
6613 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6614 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6615 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6616 lt_cv_file_magic_cmd
='func_win32_libid'
6618 # Keep this pattern in sync with the one in func_win32_libid.
6619 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6620 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6625 # use the weaker test based on 'objdump'. See mingw*.
6626 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6627 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6630 darwin
* | rhapsody
*)
6631 lt_cv_deplibs_check_method
=pass_all
6634 freebsd
* | dragonfly
*)
6635 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6638 # Not sure whether the presence of OpenBSD here was a mistake.
6639 # Let's accept both of them until this is cleared up.
6640 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6641 lt_cv_file_magic_cmd
=/usr
/bin
/file
6642 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6646 lt_cv_deplibs_check_method
=pass_all
6651 lt_cv_deplibs_check_method
=pass_all
6655 lt_cv_deplibs_check_method
=pass_all
6658 hpux10.20
* | hpux11
*)
6659 lt_cv_file_magic_cmd
=/usr
/bin
/file
6662 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6663 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
6666 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6667 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
6670 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6671 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6677 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6678 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6681 irix5
* | irix6
* | nonstopux
*)
6683 *-32|*"-32 ") libmagic
=32-bit;;
6684 *-n32|*"-n32 ") libmagic
=N32
;;
6685 *-64|*"-64 ") libmagic
=64-bit;;
6686 *) libmagic
=never
-match;;
6688 lt_cv_deplibs_check_method
=pass_all
6691 # This must be Linux ELF.
6692 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6693 lt_cv_deplibs_check_method
=pass_all
6697 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6698 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6700 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6705 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6706 lt_cv_file_magic_cmd
=/usr
/bin
/file
6707 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6711 lt_cv_deplibs_check_method
=pass_all
6715 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6716 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6718 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6722 osf3
* | osf4
* | osf5
*)
6723 lt_cv_deplibs_check_method
=pass_all
6727 lt_cv_deplibs_check_method
=pass_all
6731 lt_cv_deplibs_check_method
=pass_all
6734 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6735 lt_cv_deplibs_check_method
=pass_all
6739 case $host_vendor in
6741 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]'
6742 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6745 lt_cv_deplibs_check_method
=pass_all
6748 lt_cv_file_magic_cmd
='/bin/file'
6749 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6752 lt_cv_file_magic_cmd
='/bin/file'
6753 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6754 lt_cv_file_magic_test_file
=/lib
/libc.so
6757 lt_cv_deplibs_check_method
=pass_all
6760 lt_cv_deplibs_check_method
=pass_all
6766 lt_cv_deplibs_check_method
=pass_all
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6772 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6776 if test "$build" = "$host"; then
6779 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
6782 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6788 file_magic_cmd
=$lt_cv_file_magic_cmd
6789 deplibs_check_method
=$lt_cv_deplibs_check_method
6790 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6813 if test -n "$ac_tool_prefix"; then
6814 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6815 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6819 $as_echo_n "(cached) " >&6
6821 if test -n "$DLLTOOL"; then
6822 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir
=.
6829 for ac_exec_ext
in '' $ac_executable_extensions; do
6830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 DLLTOOL
=$ac_cv_prog_DLLTOOL
6842 if test -n "$DLLTOOL"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6844 $as_echo "$DLLTOOL" >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6852 if test -z "$ac_cv_prog_DLLTOOL"; then
6853 ac_ct_DLLTOOL
=$DLLTOOL
6854 # Extract the first word of "dlltool", so it can be a program name with args.
6855 set dummy dlltool
; ac_word
=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 $as_echo_n "checking for $ac_word... " >&6; }
6858 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6859 $as_echo_n "(cached) " >&6
6861 if test -n "$ac_ct_DLLTOOL"; then
6862 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6868 test -z "$as_dir" && as_dir
=.
6869 for ac_exec_ext
in '' $ac_executable_extensions; do
6870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6871 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6881 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6882 if test -n "$ac_ct_DLLTOOL"; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6884 $as_echo "$ac_ct_DLLTOOL" >&6; }
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 $as_echo "no" >&6; }
6890 if test "x$ac_ct_DLLTOOL" = x
; then
6893 case $cross_compiling:$ac_tool_warned in
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6897 ac_tool_warned
=yes ;;
6899 DLLTOOL
=$ac_ct_DLLTOOL
6902 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6905 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6917 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6918 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6919 $as_echo_n "(cached) " >&6
6921 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6924 cygwin
* | mingw
* | pw32
* | cegcc
*)
6925 # two different shell functions defined in ltmain.sh
6926 # decide which to use based on capabilities of $DLLTOOL
6927 case `$DLLTOOL --help 2>&1` in
6928 *--identify-strict*)
6929 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6932 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6937 # fallback: assume linklib IS sharedlib
6938 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6944 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6945 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6946 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6954 if test -n "$ac_tool_prefix"; then
6957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6958 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6960 $as_echo_n "checking for $ac_word... " >&6; }
6961 if ${ac_cv_prog_AR+:} false
; then :
6962 $as_echo_n "(cached) " >&6
6964 if test -n "$AR"; then
6965 ac_cv_prog_AR
="$AR" # Let the user override the test.
6967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6971 test -z "$as_dir" && as_dir
=.
6972 for ac_exec_ext
in '' $ac_executable_extensions; do
6973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6974 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 if test -n "$AR"; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6987 $as_echo "$AR" >&6; }
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6990 $as_echo "no" >&6; }
6994 test -n "$AR" && break
6997 if test -z "$AR"; then
7001 # Extract the first word of "$ac_prog", so it can be a program name with args.
7002 set dummy
$ac_prog; ac_word
=$2
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004 $as_echo_n "checking for $ac_word... " >&6; }
7005 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7006 $as_echo_n "(cached) " >&6
7008 if test -n "$ac_ct_AR"; then
7009 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7015 test -z "$as_dir" && as_dir
=.
7016 for ac_exec_ext
in '' $ac_executable_extensions; do
7017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7018 ac_cv_prog_ac_ct_AR
="$ac_prog"
7019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7029 if test -n "$ac_ct_AR"; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7031 $as_echo "$ac_ct_AR" >&6; }
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034 $as_echo "no" >&6; }
7038 test -n "$ac_ct_AR" && break
7041 if test "x$ac_ct_AR" = x
; then
7044 case $cross_compiling:$ac_tool_warned in
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7048 ac_tool_warned
=yes ;;
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7068 $as_echo_n "checking for archiver @FILE support... " >&6; }
7069 if ${lt_cv_ar_at_file+:} false
; then :
7070 $as_echo_n "(cached) " >&6
7073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7074 /* end confdefs.h. */
7084 if ac_fn_c_try_compile
"$LINENO"; then :
7085 echo conftest.
$ac_objext > conftest.lst
7086 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7087 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7088 (eval $lt_ar_try) 2>&5
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }
7092 if test "$ac_status" -eq 0; then
7093 # Ensure the archiver fails upon bogus file names.
7094 rm -f conftest.
$ac_objext libconftest.a
7095 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7096 (eval $lt_ar_try) 2>&5
7098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7099 test $ac_status = 0; }
7100 if test "$ac_status" -ne 0; then
7104 rm -f conftest.
* libconftest.a
7107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7111 $as_echo "$lt_cv_ar_at_file" >&6; }
7113 if test "x$lt_cv_ar_at_file" = xno
; then
7116 archiver_list_spec
=$lt_cv_ar_at_file
7125 if test -n "$ac_tool_prefix"; then
7126 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7127 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_STRIP+:} false
; then :
7131 $as_echo_n "(cached) " >&6
7133 if test -n "$STRIP"; then
7134 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir
=.
7141 for ac_exec_ext
in '' $ac_executable_extensions; do
7142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 STRIP
=$ac_cv_prog_STRIP
7154 if test -n "$STRIP"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7156 $as_echo "$STRIP" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7164 if test -z "$ac_cv_prog_STRIP"; then
7166 # Extract the first word of "strip", so it can be a program name with args.
7167 set dummy strip
; ac_word
=$2
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 $as_echo_n "checking for $ac_word... " >&6; }
7170 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7171 $as_echo_n "(cached) " >&6
7173 if test -n "$ac_ct_STRIP"; then
7174 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7180 test -z "$as_dir" && as_dir
=.
7181 for ac_exec_ext
in '' $ac_executable_extensions; do
7182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7183 ac_cv_prog_ac_ct_STRIP
="strip"
7184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7193 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7194 if test -n "$ac_ct_STRIP"; then
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7196 $as_echo "$ac_ct_STRIP" >&6; }
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7199 $as_echo "no" >&6; }
7202 if test "x$ac_ct_STRIP" = x
; then
7205 case $cross_compiling:$ac_tool_warned in
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7209 ac_tool_warned
=yes ;;
7214 STRIP
="$ac_cv_prog_STRIP"
7217 test -z "$STRIP" && STRIP
=:
7224 if test -n "$ac_tool_prefix"; then
7225 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7226 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if ${ac_cv_prog_RANLIB+:} false
; then :
7230 $as_echo_n "(cached) " >&6
7232 if test -n "$RANLIB"; then
7233 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7239 test -z "$as_dir" && as_dir
=.
7240 for ac_exec_ext
in '' $ac_executable_extensions; do
7241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7242 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7252 RANLIB
=$ac_cv_prog_RANLIB
7253 if test -n "$RANLIB"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7255 $as_echo "$RANLIB" >&6; }
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7263 if test -z "$ac_cv_prog_RANLIB"; then
7264 ac_ct_RANLIB
=$RANLIB
7265 # Extract the first word of "ranlib", so it can be a program name with args.
7266 set dummy ranlib
; ac_word
=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7270 $as_echo_n "(cached) " >&6
7272 if test -n "$ac_ct_RANLIB"; then
7273 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7279 test -z "$as_dir" && as_dir
=.
7280 for ac_exec_ext
in '' $ac_executable_extensions; do
7281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7282 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7293 if test -n "$ac_ct_RANLIB"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7295 $as_echo "$ac_ct_RANLIB" >&6; }
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7301 if test "x$ac_ct_RANLIB" = x
; then
7304 case $cross_compiling:$ac_tool_warned in
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7308 ac_tool_warned
=yes ;;
7310 RANLIB
=$ac_ct_RANLIB
7313 RANLIB
="$ac_cv_prog_RANLIB"
7316 test -z "$RANLIB" && RANLIB
=:
7323 # Determine commands to create old-style static archives.
7324 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7325 old_postinstall_cmds
='chmod 644 $oldlib'
7326 old_postuninstall_cmds
=
7328 if test -n "$RANLIB"; then
7331 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7334 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7337 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7342 lock_old_archive_extraction
=yes ;;
7344 lock_old_archive_extraction
=no
;;
7385 # If no C compiler was specified, use CC.
7388 # If no C compiler flags were specified, use CFLAGS.
7389 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7391 # Allow CC to be a program name with arguments.
7395 # Check for command to grab the raw symbol name followed by C symbol from nm.
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7397 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7398 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7399 $as_echo_n "(cached) " >&6
7402 # These are sane defaults that work on at least a few old systems.
7403 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7405 # Character class describing NM global symbol codes.
7406 symcode
='[BCDEGRST]'
7408 # Regexp to match symbols that can be accessed directly from C.
7409 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7411 # Define system-specific variables.
7416 cygwin
* | mingw
* | pw32
* | cegcc
*)
7417 symcode
='[ABCDGISTW]'
7420 if test "$host_cpu" = ia64
; then
7421 symcode
='[ABCDEGRST]'
7425 symcode
='[BCDEGRST]'
7428 symcode
='[BCDEGQRST]'
7439 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7447 # If we're using GNU nm, then use its standard symbol codes.
7448 case `$NM -V 2>&1` in
7449 *GNU
* | *'with BFD'*)
7450 symcode
='[ABCDGIRSTW]' ;;
7453 # Transform an extracted symbol line into a proper C declaration.
7454 # Some systems (esp. on ia64) link data and code symbols differently,
7455 # so use this general approach.
7456 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7458 # Transform an extracted symbol line into symbol name and symbol address
7459 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7460 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'"
7462 # Handle CRLF in mingw tool chain
7466 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7470 # Try without a prefix underscore, then with it.
7471 for ac_symprfx
in "" "_"; do
7473 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7474 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7476 # Write the raw and C identifiers.
7477 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7478 # Fake it for dumpbin and say T for any non-static function
7479 # and D for any global variable.
7480 # Also find C++ and __fastcall symbols from MSVC++,
7481 # which start with @ or ?.
7482 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7483 " {last_section=section; section=\$ 3};"\
7484 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7485 " \$ 0!~/External *\|/{next};"\
7486 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7487 " {if(hide[section]) next};"\
7488 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7489 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7490 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7491 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7492 " ' prfx=^$ac_symprfx"
7494 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7496 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7498 # Check to see that the pipe works correctly.
7502 cat > conftest.
$ac_ext <<_LT_EOF
7507 void nm_test_func(void);
7508 void nm_test_func(void){}
7512 int main(){nm_test_var='a';nm_test_func();return(0);}
7515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7516 (eval $ac_compile) 2>&5
7518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7519 test $ac_status = 0; }; then
7520 # Now try to grab the symbols.
7522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7523 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7526 test $ac_status = 0; } && test -s "$nlist"; then
7527 # Try sorting and uniquifying the output.
7528 if sort "$nlist" | uniq > "$nlist"T
; then
7529 mv -f "$nlist"T
"$nlist"
7534 # Make sure that we snagged all the symbols we need.
7535 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7536 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7537 cat <<_LT_EOF > conftest.$ac_ext
7538 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7539 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7540 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7541 relocations are performed -- see ld's documentation on pseudo-relocs. */
7542 # define LT_DLSYM_CONST
7543 #elif defined(__osf__)
7544 /* This system does not cope well with relocations in const data. */
7545 # define LT_DLSYM_CONST
7547 # define LT_DLSYM_CONST const
7555 # Now generate the symbol file.
7556 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7558 cat <<_LT_EOF >> conftest.$ac_ext
7560 /* The mapping between symbol names and symbols. */
7561 LT_DLSYM_CONST struct {
7565 lt__PROGRAM__LTX_preloaded_symbols[] =
7567 { "@PROGRAM@", (void *) 0 },
7569 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
7570 cat <<\_LT_EOF
>> conftest.
$ac_ext
7574 /* This works around a problem
in FreeBSD linker
*/
7575 #ifdef FREEBSD_WORKAROUND
7576 static const void
*lt_preloaded_setup
() {
7577 return lt__PROGRAM__LTX_preloaded_symbols
;
7585 # Now try linking the two files.
7586 mv conftest.
$ac_objext conftstm.
$ac_objext
7587 lt_globsym_save_LIBS
=$LIBS
7588 lt_globsym_save_CFLAGS
=$CFLAGS
7589 LIBS
="conftstm.$ac_objext"
7590 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7592 (eval $ac_link) 2>&5
7594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7595 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7598 LIBS
=$lt_globsym_save_LIBS
7599 CFLAGS
=$lt_globsym_save_CFLAGS
7601 echo "cannot find nm_test_func in $nlist" >&5
7604 echo "cannot find nm_test_var in $nlist" >&5
7607 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7610 echo "$progname: failed program was:" >&5
7611 cat conftest.
$ac_ext >&5
7613 rm -rf conftest
* conftst
*
7615 # Do not use the global_symbol_pipe unless it works.
7616 if test "$pipe_works" = yes; then
7619 lt_cv_sys_global_symbol_pipe
=
7625 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7626 lt_cv_sys_global_symbol_to_cdecl
=
7628 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7630 $as_echo "failed" >&6; }
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7633 $as_echo "ok" >&6; }
7636 # Response file support.
7637 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7638 nm_file_list_spec
='@'
7639 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
7640 nm_file_list_spec
='@'
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7670 $as_echo_n "checking for sysroot... " >&6; }
7672 # Check whether --with-sysroot was given.
7673 if test "${with_sysroot+set}" = set; then :
7674 withval
=$with_sysroot;
7681 case ${with_sysroot} in #(
7683 if test "$GCC" = yes; then
7684 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7688 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7694 $as_echo "${with_sysroot}" >&6; }
7695 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7700 $as_echo "${lt_sysroot:-no}" >&6; }
7706 # Check whether --enable-libtool-lock was given.
7707 if test "${enable_libtool_lock+set}" = set; then :
7708 enableval
=$enable_libtool_lock;
7711 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7713 # Some flags need to be propagated to the compiler or linker for good
7717 # Find out which ABI we are using.
7718 echo 'int i;' > conftest.
$ac_ext
7719 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7720 (eval $ac_compile) 2>&5
7722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7723 test $ac_status = 0; }; then
7724 case `/usr/bin/file conftest.$ac_objext` in
7736 # Find out which ABI we are using.
7737 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7739 (eval $ac_compile) 2>&5
7741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7742 test $ac_status = 0; }; then
7743 if test "$lt_cv_prog_gnu_ld" = yes; then
7744 case `/usr/bin/file conftest.$ac_objext` in
7746 LD
="${LD-ld} -melf32bsmip"
7749 LD
="${LD-ld} -melf32bmipn32"
7752 LD
="${LD-ld} -melf64bmip"
7756 case `/usr/bin/file conftest.$ac_objext` in
7772 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7773 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7774 # Find out which ABI we are using.
7775 echo 'int i;' > conftest.
$ac_ext
7776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7777 (eval $ac_compile) 2>&5
7779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7780 test $ac_status = 0; }; then
7781 case `/usr/bin/file conftest.o` in
7784 x86_64
-*kfreebsd
*-gnu)
7785 LD
="${LD-ld} -m elf_i386_fbsd"
7788 LD
="${LD-ld} -m elf_i386"
7790 ppc64
-*linux
*|powerpc64
-*linux
*)
7791 LD
="${LD-ld} -m elf32ppclinux"
7794 LD
="${LD-ld} -m elf_s390"
7797 LD
="${LD-ld} -m elf32_sparc"
7803 x86_64
-*kfreebsd
*-gnu)
7804 LD
="${LD-ld} -m elf_x86_64_fbsd"
7807 LD
="${LD-ld} -m elf_x86_64"
7809 ppc
*-*linux
*|powerpc
*-*linux
*)
7810 LD
="${LD-ld} -m elf64ppc"
7812 s390
*-*linux
*|s390
*-*tpf
*)
7813 LD
="${LD-ld} -m elf64_s390"
7816 LD
="${LD-ld} -m elf64_sparc"
7826 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7827 SAVE_CFLAGS
="$CFLAGS"
7828 CFLAGS
="$CFLAGS -belf"
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7830 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7831 if ${lt_cv_cc_needs_belf+:} false
; then :
7832 $as_echo_n "(cached) " >&6
7835 ac_cpp
='$CPP $CPPFLAGS'
7836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7841 /* end confdefs.h. */
7851 if ac_fn_c_try_link
"$LINENO"; then :
7852 lt_cv_cc_needs_belf
=yes
7854 lt_cv_cc_needs_belf
=no
7856 rm -f core conftest.err conftest.
$ac_objext \
7857 conftest
$ac_exeext conftest.
$ac_ext
7859 ac_cpp
='$CPP $CPPFLAGS'
7860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7866 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7867 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7868 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7869 CFLAGS
="$SAVE_CFLAGS"
7873 # Find out which ABI we are using.
7874 echo 'int i;' > conftest.
$ac_ext
7875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7876 (eval $ac_compile) 2>&5
7878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7879 test $ac_status = 0; }; then
7880 case `/usr/bin/file conftest.o` in
7882 case $lt_cv_prog_gnu_ld in
7883 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
7885 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7897 need_locks
="$enable_libtool_lock"
7899 if test -n "$ac_tool_prefix"; then
7900 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7901 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7903 $as_echo_n "checking for $ac_word... " >&6; }
7904 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7905 $as_echo_n "(cached) " >&6
7907 if test -n "$MANIFEST_TOOL"; then
7908 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7914 test -z "$as_dir" && as_dir
=.
7915 for ac_exec_ext
in '' $ac_executable_extensions; do
7916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7917 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7927 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7928 if test -n "$MANIFEST_TOOL"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7930 $as_echo "$MANIFEST_TOOL" >&6; }
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933 $as_echo "no" >&6; }
7938 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7939 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7940 # Extract the first word of "mt", so it can be a program name with args.
7941 set dummy mt
; ac_word
=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7943 $as_echo_n "checking for $ac_word... " >&6; }
7944 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7945 $as_echo_n "(cached) " >&6
7947 if test -n "$ac_ct_MANIFEST_TOOL"; then
7948 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7954 test -z "$as_dir" && as_dir
=.
7955 for ac_exec_ext
in '' $ac_executable_extensions; do
7956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7957 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7967 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7968 if test -n "$ac_ct_MANIFEST_TOOL"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7970 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7973 $as_echo "no" >&6; }
7976 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7979 case $cross_compiling:$ac_tool_warned in
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7983 ac_tool_warned
=yes ;;
7985 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7988 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7991 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7993 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7994 if ${lt_cv_path_mainfest_tool+:} false
; then :
7995 $as_echo_n "(cached) " >&6
7997 lt_cv_path_mainfest_tool
=no
7998 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7999 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
8000 cat conftest.err
>&5
8001 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8002 lt_cv_path_mainfest_tool
=yes
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8007 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8008 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
8018 rhapsody
* | darwin
*)
8019 if test -n "$ac_tool_prefix"; then
8020 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8021 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8023 $as_echo_n "checking for $ac_word... " >&6; }
8024 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8025 $as_echo_n "(cached) " >&6
8027 if test -n "$DSYMUTIL"; then
8028 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8034 test -z "$as_dir" && as_dir
=.
8035 for ac_exec_ext
in '' $ac_executable_extensions; do
8036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8037 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8047 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8048 if test -n "$DSYMUTIL"; then
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8050 $as_echo "$DSYMUTIL" >&6; }
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8053 $as_echo "no" >&6; }
8058 if test -z "$ac_cv_prog_DSYMUTIL"; then
8059 ac_ct_DSYMUTIL
=$DSYMUTIL
8060 # Extract the first word of "dsymutil", so it can be a program name with args.
8061 set dummy dsymutil
; ac_word
=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8065 $as_echo_n "(cached) " >&6
8067 if test -n "$ac_ct_DSYMUTIL"; then
8068 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8074 test -z "$as_dir" && as_dir
=.
8075 for ac_exec_ext
in '' $ac_executable_extensions; do
8076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8077 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8088 if test -n "$ac_ct_DSYMUTIL"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8090 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8096 if test "x$ac_ct_DSYMUTIL" = x
; then
8099 case $cross_compiling:$ac_tool_warned in
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8103 ac_tool_warned
=yes ;;
8105 DSYMUTIL
=$ac_ct_DSYMUTIL
8108 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8111 if test -n "$ac_tool_prefix"; then
8112 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8113 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8115 $as_echo_n "checking for $ac_word... " >&6; }
8116 if ${ac_cv_prog_NMEDIT+:} false
; then :
8117 $as_echo_n "(cached) " >&6
8119 if test -n "$NMEDIT"; then
8120 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir
=.
8127 for ac_exec_ext
in '' $ac_executable_extensions; do
8128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8129 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8139 NMEDIT
=$ac_cv_prog_NMEDIT
8140 if test -n "$NMEDIT"; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8142 $as_echo "$NMEDIT" >&6; }
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }
8150 if test -z "$ac_cv_prog_NMEDIT"; then
8151 ac_ct_NMEDIT
=$NMEDIT
8152 # Extract the first word of "nmedit", so it can be a program name with args.
8153 set dummy nmedit
; ac_word
=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8157 $as_echo_n "(cached) " >&6
8159 if test -n "$ac_ct_NMEDIT"; then
8160 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8166 test -z "$as_dir" && as_dir
=.
8167 for ac_exec_ext
in '' $ac_executable_extensions; do
8168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8169 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8179 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8180 if test -n "$ac_ct_NMEDIT"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8182 $as_echo "$ac_ct_NMEDIT" >&6; }
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8188 if test "x$ac_ct_NMEDIT" = x
; then
8191 case $cross_compiling:$ac_tool_warned in
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8195 ac_tool_warned
=yes ;;
8197 NMEDIT
=$ac_ct_NMEDIT
8200 NMEDIT
="$ac_cv_prog_NMEDIT"
8203 if test -n "$ac_tool_prefix"; then
8204 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8205 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8207 $as_echo_n "checking for $ac_word... " >&6; }
8208 if ${ac_cv_prog_LIPO+:} false
; then :
8209 $as_echo_n "(cached) " >&6
8211 if test -n "$LIPO"; then
8212 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8218 test -z "$as_dir" && as_dir
=.
8219 for ac_exec_ext
in '' $ac_executable_extensions; do
8220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8221 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8231 LIPO
=$ac_cv_prog_LIPO
8232 if test -n "$LIPO"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8234 $as_echo "$LIPO" >&6; }
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237 $as_echo "no" >&6; }
8242 if test -z "$ac_cv_prog_LIPO"; then
8244 # Extract the first word of "lipo", so it can be a program name with args.
8245 set dummy lipo
; ac_word
=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8249 $as_echo_n "(cached) " >&6
8251 if test -n "$ac_ct_LIPO"; then
8252 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8258 test -z "$as_dir" && as_dir
=.
8259 for ac_exec_ext
in '' $ac_executable_extensions; do
8260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8261 ac_cv_prog_ac_ct_LIPO
="lipo"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8271 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8272 if test -n "$ac_ct_LIPO"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8274 $as_echo "$ac_ct_LIPO" >&6; }
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8280 if test "x$ac_ct_LIPO" = x
; then
8283 case $cross_compiling:$ac_tool_warned in
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8287 ac_tool_warned
=yes ;;
8292 LIPO
="$ac_cv_prog_LIPO"
8295 if test -n "$ac_tool_prefix"; then
8296 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8297 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8299 $as_echo_n "checking for $ac_word... " >&6; }
8300 if ${ac_cv_prog_OTOOL+:} false
; then :
8301 $as_echo_n "(cached) " >&6
8303 if test -n "$OTOOL"; then
8304 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8310 test -z "$as_dir" && as_dir
=.
8311 for ac_exec_ext
in '' $ac_executable_extensions; do
8312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8313 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 OTOOL
=$ac_cv_prog_OTOOL
8324 if test -n "$OTOOL"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8326 $as_echo "$OTOOL" >&6; }
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8334 if test -z "$ac_cv_prog_OTOOL"; then
8336 # Extract the first word of "otool", so it can be a program name with args.
8337 set dummy otool
; ac_word
=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8341 $as_echo_n "(cached) " >&6
8343 if test -n "$ac_ct_OTOOL"; then
8344 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8350 test -z "$as_dir" && as_dir
=.
8351 for ac_exec_ext
in '' $ac_executable_extensions; do
8352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8353 ac_cv_prog_ac_ct_OTOOL
="otool"
8354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8364 if test -n "$ac_ct_OTOOL"; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8366 $as_echo "$ac_ct_OTOOL" >&6; }
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 $as_echo "no" >&6; }
8372 if test "x$ac_ct_OTOOL" = x
; then
8375 case $cross_compiling:$ac_tool_warned in
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8379 ac_tool_warned
=yes ;;
8384 OTOOL
="$ac_cv_prog_OTOOL"
8387 if test -n "$ac_tool_prefix"; then
8388 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8389 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8391 $as_echo_n "checking for $ac_word... " >&6; }
8392 if ${ac_cv_prog_OTOOL64+:} false
; then :
8393 $as_echo_n "(cached) " >&6
8395 if test -n "$OTOOL64"; then
8396 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8402 test -z "$as_dir" && as_dir
=.
8403 for ac_exec_ext
in '' $ac_executable_extensions; do
8404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8405 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8415 OTOOL64
=$ac_cv_prog_OTOOL64
8416 if test -n "$OTOOL64"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8418 $as_echo "$OTOOL64" >&6; }
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8421 $as_echo "no" >&6; }
8426 if test -z "$ac_cv_prog_OTOOL64"; then
8427 ac_ct_OTOOL64
=$OTOOL64
8428 # Extract the first word of "otool64", so it can be a program name with args.
8429 set dummy otool64
; ac_word
=$2
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431 $as_echo_n "checking for $ac_word... " >&6; }
8432 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8433 $as_echo_n "(cached) " >&6
8435 if test -n "$ac_ct_OTOOL64"; then
8436 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8442 test -z "$as_dir" && as_dir
=.
8443 for ac_exec_ext
in '' $ac_executable_extensions; do
8444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8445 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8455 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8456 if test -n "$ac_ct_OTOOL64"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8458 $as_echo "$ac_ct_OTOOL64" >&6; }
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8464 if test "x$ac_ct_OTOOL64" = x
; then
8467 case $cross_compiling:$ac_tool_warned in
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8471 ac_tool_warned
=yes ;;
8473 OTOOL64
=$ac_ct_OTOOL64
8476 OTOOL64
="$ac_cv_prog_OTOOL64"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8506 $as_echo_n "checking for -single_module linker flag... " >&6; }
8507 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8508 $as_echo_n "(cached) " >&6
8510 lt_cv_apple_cc_single_mod
=no
8511 if test -z "${LT_MULTI_MODULE}"; then
8512 # By default we will add the -single_module flag. You can override
8513 # by either setting the environment variable LT_MULTI_MODULE
8514 # non-empty at configure time, or by adding -multi_module to the
8516 rm -rf libconftest.dylib
*
8517 echo "int foo(void){return 1;}" > conftest.c
8518 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8519 -dynamiclib -Wl,-single_module conftest.c" >&5
8520 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8521 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8523 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8524 lt_cv_apple_cc_single_mod
=yes
8526 cat conftest.err
>&5
8528 rm -rf libconftest.dylib
*
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8533 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8535 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8536 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8537 $as_echo_n "(cached) " >&6
8539 lt_cv_ld_exported_symbols_list
=no
8540 save_LDFLAGS
=$LDFLAGS
8541 echo "_main" > conftest.sym
8542 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8554 if ac_fn_c_try_link
"$LINENO"; then :
8555 lt_cv_ld_exported_symbols_list
=yes
8557 lt_cv_ld_exported_symbols_list
=no
8559 rm -f core conftest.err conftest.
$ac_objext \
8560 conftest
$ac_exeext conftest.
$ac_ext
8561 LDFLAGS
="$save_LDFLAGS"
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8565 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8567 $as_echo_n "checking for -force_load linker flag... " >&6; }
8568 if ${lt_cv_ld_force_load+:} false
; then :
8569 $as_echo_n "(cached) " >&6
8571 lt_cv_ld_force_load
=no
8572 cat > conftest.c
<< _LT_EOF
8573 int forced_loaded() { return 2;}
8575 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8576 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8577 echo "$AR cru libconftest.a conftest.o" >&5
8578 $AR cru libconftest.a conftest.o
2>&5
8579 echo "$RANLIB libconftest.a" >&5
8580 $RANLIB libconftest.a
2>&5
8581 cat > conftest.c
<< _LT_EOF
8582 int main() { return 0;}
8584 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8585 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8587 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8588 lt_cv_ld_force_load
=yes
8590 cat conftest.err
>&5
8592 rm -f conftest.err libconftest.a conftest conftest.c
8593 rm -rf conftest.dSYM
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8597 $as_echo "$lt_cv_ld_force_load" >&6; }
8599 rhapsody
* | darwin1.
[012])
8600 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8602 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8603 darwin
*) # darwin 5.x on
8604 # if running on 10.5 or later, the deployment target defaults
8605 # to the OS version, if on x86, and 10.4, the deployment
8606 # target defaults to 10.4. Don't you love it?
8607 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8608 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8609 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8611 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8613 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8617 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8618 _lt_dar_single_mod
='$single_module'
8620 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8621 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8623 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8625 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8626 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8633 for ac_header
in dlfcn.h
8635 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8637 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8638 cat >>confdefs.h
<<_ACEOF
8639 #define HAVE_DLFCN_H 1
8663 # Check whether --with-pic was given.
8664 if test "${with_pic+set}" = set; then :
8665 withval
=$with_pic; pic_mode
="$withval"
8671 test -z "$pic_mode" && pic_mode
=default
8679 # Check whether --enable-fast-install was given.
8680 if test "${enable_fast_install+set}" = set; then :
8681 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8683 yes) enable_fast_install
=yes ;;
8684 no
) enable_fast_install
=no
;;
8686 enable_fast_install
=no
8687 # Look at the argument we got. We use all the common list separators.
8688 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8689 for pkg
in $enableval; do
8691 if test "X$pkg" = "X$p"; then
8692 enable_fast_install
=yes
8699 enable_fast_install
=yes
8712 # This can be used to rebuild libtool when needed
8713 LIBTOOL_DEPS
="$ltmain"
8715 # Always use our own libtool.
8716 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8743 test -z "$LN_S" && LN_S
="ln -s"
8758 if test -n "${ZSH_VERSION+set}" ; then
8759 setopt NO_GLOB_SUBST
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8763 $as_echo_n "checking for objdir... " >&6; }
8764 if ${lt_cv_objdir+:} false
; then :
8765 $as_echo_n "(cached) " >&6
8767 rm -f .libs
2>/dev
/null
8768 mkdir .libs
2>/dev
/null
8769 if test -d .libs
; then
8772 # MS-DOS does not allow filenames that begin with a dot.
8775 rmdir .libs
2>/dev
/null
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8778 $as_echo "$lt_cv_objdir" >&6; }
8779 objdir
=$lt_cv_objdir
8785 cat >>confdefs.h
<<_ACEOF
8786 #define LT_OBJDIR "$lt_cv_objdir/"
8794 # AIX sometimes has problems with the GCC collect2 program. For some
8795 # reason, if we set the COLLECT_NAMES environment variable, the problems
8796 # vanish in a puff of smoke.
8797 if test "X${COLLECT_NAMES+set}" != Xset
; then
8799 export COLLECT_NAMES
8806 can_build_shared
=yes
8808 # All known linkers require a `.a' archive for static linking (except MSVC,
8809 # which needs '.lib').
8812 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8815 old_CFLAGS
="$CFLAGS"
8817 # Set sane defaults for various variables
8818 test -z "$CC" && CC
=cc
8819 test -z "$LTCC" && LTCC
=$CC
8820 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8821 test -z "$LD" && LD
=ld
8822 test -z "$ac_objext" && ac_objext
=o
8824 for cc_temp
in $compiler""; do
8826 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8827 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8832 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8835 # Only perform the check for file, if the check method requires it
8836 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8837 case $deplibs_check_method in
8839 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8841 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8842 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8843 $as_echo_n "(cached) " >&6
8847 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8850 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8851 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8852 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8853 for ac_dir
in $ac_dummy; do
8855 test -z "$ac_dir" && ac_dir
=.
8856 if test -f $ac_dir/${ac_tool_prefix}file; then
8857 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8858 if test -n "$file_magic_test_file"; then
8859 case $deplibs_check_method in
8861 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8862 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8863 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8864 $EGREP "$file_magic_regex" > /dev
/null
; then
8869 *** Warning: the command libtool uses to detect shared libraries,
8870 *** $file_magic_cmd, produces output that libtool cannot recognize.
8871 *** The result is that libtool may fail to recognize shared libraries
8872 *** as such. This will affect the creation of libtool libraries that
8873 *** depend on shared libraries, but programs linked with such libtool
8874 *** libraries will work regardless of this problem. Nevertheless, you
8875 *** may want to report the problem to your system manager and/or to
8876 *** bug-libtool@gnu.org
8886 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8891 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8892 if test -n "$MAGIC_CMD"; then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8894 $as_echo "$MAGIC_CMD" >&6; }
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8897 $as_echo "no" >&6; }
8904 if test -z "$lt_cv_path_MAGIC_CMD"; then
8905 if test -n "$ac_tool_prefix"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8907 $as_echo_n "checking for file... " >&6; }
8908 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8909 $as_echo_n "(cached) " >&6
8913 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8916 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8917 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8918 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8919 for ac_dir
in $ac_dummy; do
8921 test -z "$ac_dir" && ac_dir
=.
8922 if test -f $ac_dir/file; then
8923 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8924 if test -n "$file_magic_test_file"; then
8925 case $deplibs_check_method in
8927 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8928 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8929 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8930 $EGREP "$file_magic_regex" > /dev
/null
; then
8935 *** Warning: the command libtool uses to detect shared libraries,
8936 *** $file_magic_cmd, produces output that libtool cannot recognize.
8937 *** The result is that libtool may fail to recognize shared libraries
8938 *** as such. This will affect the creation of libtool libraries that
8939 *** depend on shared libraries, but programs linked with such libtool
8940 *** libraries will work regardless of this problem. Nevertheless, you
8941 *** may want to report the problem to your system manager and/or to
8942 *** bug-libtool@gnu.org
8952 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8957 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8958 if test -n "$MAGIC_CMD"; then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8960 $as_echo "$MAGIC_CMD" >&6; }
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8963 $as_echo "no" >&6; }
8976 # Use C for the default configuration in the libtool script
8980 ac_cpp
='$CPP $CPPFLAGS'
8981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8986 # Source file extension for C test sources.
8989 # Object file extension for compiled C test sources.
8993 # Code to be used in simple compile tests
8994 lt_simple_compile_test_code
="int some_variable = 0;"
8996 # Code to be used in simple link tests
8997 lt_simple_link_test_code
='int main(){return(0);}'
9005 # If no C compiler was specified, use CC.
9008 # If no C compiler flags were specified, use CFLAGS.
9009 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9011 # Allow CC to be a program name with arguments.
9014 # Save the default compiler, since it gets overwritten when the other
9015 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9016 compiler_DEFAULT
=$CC
9018 # save warnings/boilerplate of simple test code
9019 ac_outfile
=conftest.
$ac_objext
9020 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9021 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9022 _lt_compiler_boilerplate
=`cat conftest.err`
9025 ac_outfile
=conftest.
$ac_objext
9026 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9027 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9028 _lt_linker_boilerplate
=`cat conftest.err`
9032 if test -n "$compiler"; then
9034 lt_prog_compiler_no_builtin_flag
=
9036 if test "$GCC" = yes; then
9037 case $cc_basename in
9039 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9041 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9045 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9046 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9047 $as_echo_n "(cached) " >&6
9049 lt_cv_prog_compiler_rtti_exceptions
=no
9050 ac_outfile
=conftest.
$ac_objext
9051 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9052 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9053 # Insert the option either (1) after the last *FLAGS variable, or
9054 # (2) before a word containing "conftest.", or (3) at the end.
9055 # Note that $ac_compile itself does not contain backslashes and begins
9056 # with a dollar sign (not a hyphen), so the echo should work correctly.
9057 # The option is referenced via a variable to avoid confusing sed.
9058 lt_compile
=`echo "$ac_compile" | $SED \
9059 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9060 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9061 -e 's:$: $lt_compiler_flag:'`
9062 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9063 (eval "$lt_compile" 2>conftest.err
)
9065 cat conftest.err
>&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 if (exit $ac_status) && test -s "$ac_outfile"; then
9068 # The compiler can only warn and ignore the option if not recognized
9069 # So say no if there are warnings other than the usual output.
9070 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9071 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9072 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9073 lt_cv_prog_compiler_rtti_exceptions
=yes
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9080 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9082 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9083 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9095 lt_prog_compiler_wl
=
9096 lt_prog_compiler_pic
=
9097 lt_prog_compiler_static
=
9100 if test "$GCC" = yes; then
9101 lt_prog_compiler_wl
='-Wl,'
9102 lt_prog_compiler_static
='-static'
9106 # All AIX code is PIC.
9107 if test "$host_cpu" = ia64
; then
9108 # AIX 5 now supports IA64 processor
9109 lt_prog_compiler_static
='-Bstatic'
9116 # see comment about AmigaOS4 .so support
9117 lt_prog_compiler_pic
='-fPIC'
9120 # FIXME: we need at least 68020 code to build shared libraries, but
9121 # adding the `-m68020' flag to GCC prevents building anything better,
9123 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9128 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9129 # PIC is the default for these OSes.
9132 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9133 # This hack is so that the source file can tell whether it is being
9134 # built for inclusion in a dll (and should export symbols for example).
9135 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9136 # (--disable-auto-import) libraries
9137 lt_prog_compiler_pic
='-DDLL_EXPORT'
9140 darwin
* | rhapsody
*)
9141 # PIC is the default on this platform
9142 # Common symbols not allowed in MH_DYLIB files
9143 lt_prog_compiler_pic
='-fno-common'
9147 # PIC is the default for Haiku.
9148 # The "-static" flag exists, but is broken.
9149 lt_prog_compiler_static
=
9153 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9154 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9155 # sets the default TLS model and affects inlining.
9161 lt_prog_compiler_pic
='-fPIC'
9167 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9168 # Instead, we relocate shared libraries at runtime.
9172 # Just because we use GCC doesn't mean we suddenly get shared libraries
9173 # on systems that don't support them.
9174 lt_prog_compiler_can_build_shared
=no
9179 # QNX uses GNU C++, but need to define -shared option too, otherwise
9181 lt_prog_compiler_pic
='-fPIC -shared'
9185 if test -d /usr
/nec
; then
9186 lt_prog_compiler_pic
=-Kconform_pic
9191 lt_prog_compiler_pic
='-fPIC'
9195 case $cc_basename in
9196 nvcc
*) # Cuda Compiler Driver 2.2
9197 lt_prog_compiler_wl
='-Xlinker '
9198 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9202 # PORTME Check for flag to pass linker flags through the system compiler.
9205 lt_prog_compiler_wl
='-Wl,'
9206 if test "$host_cpu" = ia64
; then
9207 # AIX 5 now supports IA64 processor
9208 lt_prog_compiler_static
='-Bstatic'
9210 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9214 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9215 # This hack is so that the source file can tell whether it is being
9216 # built for inclusion in a dll (and should export symbols for example).
9217 lt_prog_compiler_pic
='-DDLL_EXPORT'
9220 hpux9
* | hpux10
* | hpux11
*)
9221 lt_prog_compiler_wl
='-Wl,'
9222 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9229 lt_prog_compiler_pic
='+Z'
9232 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9233 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9236 irix5
* | irix6
* | nonstopux
*)
9237 lt_prog_compiler_wl
='-Wl,'
9238 # PIC (with -KPIC) is the default.
9239 lt_prog_compiler_static
='-non_shared'
9242 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9243 case $cc_basename in
9244 # old Intel for x86_64 which still supported -KPIC.
9246 lt_prog_compiler_wl
='-Wl,'
9247 lt_prog_compiler_pic
='-KPIC'
9248 lt_prog_compiler_static
='-static'
9250 # icc used to be incompatible with GCC.
9251 # ICC 10 doesn't accept -KPIC any more.
9253 lt_prog_compiler_wl
='-Wl,'
9254 lt_prog_compiler_pic
='-fPIC'
9255 lt_prog_compiler_static
='-static'
9257 # Lahey Fortran 8.1.
9259 lt_prog_compiler_wl
='-Wl,'
9260 lt_prog_compiler_pic
='--shared'
9261 lt_prog_compiler_static
='--static'
9264 # NAG Fortran compiler
9265 lt_prog_compiler_wl
='-Wl,-Wl,,'
9266 lt_prog_compiler_pic
='-PIC'
9267 lt_prog_compiler_static
='-Bstatic'
9269 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9270 # Portland Group compilers (*not* the Pentium gcc compiler,
9271 # which looks to be a dead project)
9272 lt_prog_compiler_wl
='-Wl,'
9273 lt_prog_compiler_pic
='-fpic'
9274 lt_prog_compiler_static
='-Bstatic'
9277 lt_prog_compiler_wl
='-Wl,'
9278 # All Alpha code is PIC.
9279 lt_prog_compiler_static
='-non_shared'
9281 xl
* | bgxl
* | bgf
* | mpixl
*)
9282 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9283 lt_prog_compiler_wl
='-Wl,'
9284 lt_prog_compiler_pic
='-qpic'
9285 lt_prog_compiler_static
='-qstaticlink'
9288 case `$CC -V 2>&1 | sed 5q` in
9289 *Sun\ F
* | *Sun
*Fortran
*)
9290 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9291 lt_prog_compiler_pic
='-KPIC'
9292 lt_prog_compiler_static
='-Bstatic'
9293 lt_prog_compiler_wl
=''
9297 lt_prog_compiler_pic
='-KPIC'
9298 lt_prog_compiler_static
='-Bstatic'
9299 lt_prog_compiler_wl
='-Wl,'
9307 lt_prog_compiler_pic
='-KPIC'
9308 lt_prog_compiler_static
='-Bstatic'
9312 # QNX uses GNU C++, but need to define -shared option too, otherwise
9314 lt_prog_compiler_pic
='-fPIC -shared'
9317 osf3
* | osf4
* | osf5
*)
9318 lt_prog_compiler_wl
='-Wl,'
9319 # All OSF/1 code is PIC.
9320 lt_prog_compiler_static
='-non_shared'
9324 lt_prog_compiler_static
='-non_shared'
9328 lt_prog_compiler_pic
='-KPIC'
9329 lt_prog_compiler_static
='-Bstatic'
9330 case $cc_basename in
9331 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9332 lt_prog_compiler_wl
='-Qoption ld ';;
9334 lt_prog_compiler_wl
='-Wl,';;
9339 lt_prog_compiler_wl
='-Qoption ld '
9340 lt_prog_compiler_pic
='-PIC'
9341 lt_prog_compiler_static
='-Bstatic'
9344 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9345 lt_prog_compiler_wl
='-Wl,'
9346 lt_prog_compiler_pic
='-KPIC'
9347 lt_prog_compiler_static
='-Bstatic'
9351 if test -d /usr
/nec
;then
9352 lt_prog_compiler_pic
='-Kconform_pic'
9353 lt_prog_compiler_static
='-Bstatic'
9357 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9358 lt_prog_compiler_wl
='-Wl,'
9359 lt_prog_compiler_pic
='-KPIC'
9360 lt_prog_compiler_static
='-Bstatic'
9364 lt_prog_compiler_wl
='-Wl,'
9365 lt_prog_compiler_can_build_shared
=no
9369 lt_prog_compiler_pic
='-pic'
9370 lt_prog_compiler_static
='-Bstatic'
9374 lt_prog_compiler_can_build_shared
=no
9380 # For platforms which do not support PIC, -DPIC is meaningless:
9382 lt_prog_compiler_pic
=
9385 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9390 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9391 if ${lt_cv_prog_compiler_pic+:} false
; then :
9392 $as_echo_n "(cached) " >&6
9394 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9397 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9398 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9401 # Check to make sure the PIC flag actually works.
9403 if test -n "$lt_prog_compiler_pic"; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9405 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9406 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9407 $as_echo_n "(cached) " >&6
9409 lt_cv_prog_compiler_pic_works
=no
9410 ac_outfile
=conftest.
$ac_objext
9411 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9412 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9413 # Insert the option either (1) after the last *FLAGS variable, or
9414 # (2) before a word containing "conftest.", or (3) at the end.
9415 # Note that $ac_compile itself does not contain backslashes and begins
9416 # with a dollar sign (not a hyphen), so the echo should work correctly.
9417 # The option is referenced via a variable to avoid confusing sed.
9418 lt_compile
=`echo "$ac_compile" | $SED \
9419 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9420 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9421 -e 's:$: $lt_compiler_flag:'`
9422 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9423 (eval "$lt_compile" 2>conftest.err
)
9425 cat conftest.err
>&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 if (exit $ac_status) && test -s "$ac_outfile"; then
9428 # The compiler can only warn and ignore the option if not recognized
9429 # So say no if there are warnings other than the usual output.
9430 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9431 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9432 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9433 lt_cv_prog_compiler_pic_works
=yes
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9440 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9442 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9443 case $lt_prog_compiler_pic in
9445 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9448 lt_prog_compiler_pic
=
9449 lt_prog_compiler_can_build_shared
=no
9465 # Check to make sure the static flag actually works.
9467 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9469 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9470 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9471 $as_echo_n "(cached) " >&6
9473 lt_cv_prog_compiler_static_works
=no
9474 save_LDFLAGS
="$LDFLAGS"
9475 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9476 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9477 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9478 # The linker can only warn and ignore the option if not recognized
9479 # So say no if there are warnings
9480 if test -s conftest.err
; then
9481 # Append any errors to the config.log.
9482 cat conftest.err
1>&5
9483 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9484 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9485 if diff conftest.exp conftest.er2
>/dev
/null
; then
9486 lt_cv_prog_compiler_static_works
=yes
9489 lt_cv_prog_compiler_static_works
=yes
9493 LDFLAGS
="$save_LDFLAGS"
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9497 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9499 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9502 lt_prog_compiler_static
=
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9512 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9513 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9514 $as_echo_n "(cached) " >&6
9516 lt_cv_prog_compiler_c_o
=no
9517 $RM -r conftest
2>/dev
/null
9521 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9523 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9524 # Insert the option either (1) after the last *FLAGS variable, or
9525 # (2) before a word containing "conftest.", or (3) at the end.
9526 # Note that $ac_compile itself does not contain backslashes and begins
9527 # with a dollar sign (not a hyphen), so the echo should work correctly.
9528 lt_compile
=`echo "$ac_compile" | $SED \
9529 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9530 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9531 -e 's:$: $lt_compiler_flag:'`
9532 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9533 (eval "$lt_compile" 2>out
/conftest.err
)
9535 cat out
/conftest.err
>&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9539 # The compiler can only warn and ignore the option if not recognized
9540 # So say no if there are warnings
9541 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9542 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9543 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9544 lt_cv_prog_compiler_c_o
=yes
9549 # SGI C++ compiler will create directory out/ii_files/ for
9550 # template instantiation
9551 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9552 $RM out
/* && rmdir out
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9559 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9567 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9568 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9569 $as_echo_n "(cached) " >&6
9571 lt_cv_prog_compiler_c_o
=no
9572 $RM -r conftest
2>/dev
/null
9576 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9578 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9579 # Insert the option either (1) after the last *FLAGS variable, or
9580 # (2) before a word containing "conftest.", or (3) at the end.
9581 # Note that $ac_compile itself does not contain backslashes and begins
9582 # with a dollar sign (not a hyphen), so the echo should work correctly.
9583 lt_compile
=`echo "$ac_compile" | $SED \
9584 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9585 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9586 -e 's:$: $lt_compiler_flag:'`
9587 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9588 (eval "$lt_compile" 2>out
/conftest.err
)
9590 cat out
/conftest.err
>&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9594 # The compiler can only warn and ignore the option if not recognized
9595 # So say no if there are warnings
9596 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9597 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9598 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9599 lt_cv_prog_compiler_c_o
=yes
9604 # SGI C++ compiler will create directory out/ii_files/ for
9605 # template instantiation
9606 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9607 $RM out
/* && rmdir out
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9614 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9619 hard_links
="nottested"
9620 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9621 # do not overwrite the value of need_locks provided by the user
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9623 $as_echo_n "checking if we can lock with hard links... " >&6; }
9626 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9628 ln conftest.a conftest.b
2>&5 || hard_links
=no
9629 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9631 $as_echo "$hard_links" >&6; }
9632 if test "$hard_links" = no
; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9634 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9647 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9650 allow_undefined_flag
=
9651 always_export_symbols
=no
9653 archive_expsym_cmds
=
9654 compiler_needs_object
=no
9655 enable_shared_with_static_runtimes
=no
9656 export_dynamic_flag_spec
=
9657 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9658 hardcode_automatic
=no
9660 hardcode_direct_absolute
=no
9661 hardcode_libdir_flag_spec
=
9662 hardcode_libdir_flag_spec_ld
=
9663 hardcode_libdir_separator
=
9665 hardcode_shlibpath_var
=unsupported
9667 link_all_deplibs
=unknown
9670 old_archive_from_new_cmds
=
9671 old_archive_from_expsyms_cmds
=
9672 thread_safe_flag_spec
=
9673 whole_archive_flag_spec
=
9674 # include_expsyms should be a list of space-separated symbols to be *always*
9675 # included in the symbol list
9677 # exclude_expsyms can be an extended regexp of symbols to exclude
9678 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9679 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9680 # as well as any symbol that contains `d'.
9681 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9682 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9683 # platforms (ab)use it in PIC code, but their linkers get confused if
9684 # the symbol is explicitly referenced. Since portable code cannot
9685 # rely on this symbol name, it's probably fine to never include it in
9686 # preloaded symbol tables.
9687 # Exclude shared library initialization/finalization symbols.
9688 extract_expsyms_cmds
=
9691 cygwin
* | mingw
* | pw32
* | cegcc
*)
9692 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9693 # When not using gcc, we currently assume that we are using
9694 # Microsoft Visual C++.
9695 if test "$GCC" != yes; then
9700 # we just hope/assume this is gcc and not c89 (= MSVC++)
9710 # On some targets, GNU ld is compatible enough with the native linker
9711 # that we're better off using the native interface for both.
9712 lt_use_gnu_ld_interface
=no
9713 if test "$with_gnu_ld" = yes; then
9716 # The AIX port of GNU ld has always aspired to compatibility
9717 # with the native linker. However, as the warning in the GNU ld
9718 # block says, versions before 2.19.5* couldn't really create working
9719 # shared libraries, regardless of the interface used.
9720 case `$LD -v 2>&1` in
9721 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9722 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9723 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9725 lt_use_gnu_ld_interface
=yes
9730 lt_use_gnu_ld_interface
=yes
9735 if test "$lt_use_gnu_ld_interface" = yes; then
9736 # If archive_cmds runs LD, not CC, wlarc should be empty
9739 # Set some defaults for GNU ld with shared library support. These
9740 # are reset later if shared libraries are not supported. Putting them
9741 # here allows them to be overridden if necessary.
9742 runpath_var
=LD_RUN_PATH
9743 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9744 export_dynamic_flag_spec
='${wl}--export-dynamic'
9745 # ancient GNU ld didn't support --whole-archive et. al.
9746 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9747 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9749 whole_archive_flag_spec
=
9751 supports_anon_versioning
=no
9752 case `$LD -v 2>&1` in
9753 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9754 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9755 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9756 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9757 *\
2.11.
*) ;; # other 2.11 versions
9758 *) supports_anon_versioning
=yes ;;
9761 # See if GNU ld supports shared libraries.
9764 # On AIX/PPC, the GNU linker is very broken
9765 if test "$host_cpu" != ia64
; then
9769 *** Warning: the GNU linker, at least up to release 2.19, is reported
9770 *** to be unable to reliably create shared libraries on AIX.
9771 *** Therefore, libtool is disabling shared libraries support. If you
9772 *** really care for shared libraries, you may want to install binutils
9773 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9774 *** You will then need to restart the configuration process.
9783 # see comment about AmigaOS4 .so support
9784 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9785 archive_expsym_cmds
=''
9788 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)'
9789 hardcode_libdir_flag_spec
='-L$libdir'
9790 hardcode_minus_L
=yes
9796 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9797 allow_undefined_flag
=unsupported
9798 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9799 # support --undefined. This deserves some investigation. FIXME
9800 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9806 cygwin
* | mingw
* | pw32
* | cegcc
*)
9807 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9808 # as there is no search path for DLLs.
9809 hardcode_libdir_flag_spec
='-L$libdir'
9810 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9811 allow_undefined_flag
=unsupported
9812 always_export_symbols
=no
9813 enable_shared_with_static_runtimes
=yes
9814 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9815 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9817 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9818 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9819 # If the export-symbols file already is a .def file (1st line
9820 # is EXPORTS), use it as is; otherwise, prepend...
9821 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9822 cp $export_symbols $output_objdir/$soname.def;
9824 echo EXPORTS > $output_objdir/$soname.def;
9825 cat $export_symbols >> $output_objdir/$soname.def;
9827 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9834 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9835 link_all_deplibs
=yes
9840 hardcode_shlibpath_var
=no
9841 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9842 export_dynamic_flag_spec
='${wl}-E'
9843 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9844 # Instead, shared libraries are loaded at an image base (0x10000000 by
9845 # default) and relocated if they conflict, which is a slow very memory
9846 # consuming and fragmenting process. To avoid this, we pick a random,
9847 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9848 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9849 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9850 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'
9853 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9855 if test "$host_os" = linux
-dietlibc; then
9856 case $cc_basename in
9857 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9860 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9861 && test "$tmp_diet" = no
9863 tmp_addflag
=' $pic_flag'
9864 tmp_sharedflag
='-shared'
9865 case $cc_basename,$host_cpu in
9866 pgcc
*) # Portland Group C compiler
9867 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9868 tmp_addflag
=' $pic_flag'
9870 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9871 # Portland Group f77 and f90 compilers
9872 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9873 tmp_addflag
=' $pic_flag -Mnomain' ;;
9874 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9875 tmp_addflag
=' -i_dynamic' ;;
9876 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9877 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9878 ifc
* | ifort
*) # Intel Fortran compiler
9879 tmp_addflag
=' -nofor_main' ;;
9880 lf95
*) # Lahey Fortran 8.1
9881 whole_archive_flag_spec
=
9882 tmp_sharedflag
='--shared' ;;
9883 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9884 tmp_sharedflag
='-qmkshrobj'
9886 nvcc
*) # Cuda Compiler Driver 2.2
9887 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9888 compiler_needs_object
=yes
9891 case `$CC -V 2>&1 | sed 5q` in
9892 *Sun\ C
*) # Sun C 5.9
9893 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9894 compiler_needs_object
=yes
9895 tmp_sharedflag
='-G' ;;
9896 *Sun\ F
*) # Sun Fortran 8.3
9897 tmp_sharedflag
='-G' ;;
9899 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9901 if test "x$supports_anon_versioning" = xyes
; then
9902 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9903 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9904 echo "local: *; };" >> $output_objdir/$libname.ver~
9905 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9908 case $cc_basename in
9909 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9910 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9911 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9912 hardcode_libdir_flag_spec
=
9913 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9914 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9915 if test "x$supports_anon_versioning" = xyes
; then
9916 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9917 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9918 echo "local: *; };" >> $output_objdir/$libname.ver~
9919 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9929 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9930 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9933 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9939 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9943 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9944 *** create shared libraries on Solaris systems. Therefore, libtool
9945 *** is disabling shared libraries support. We urge you to upgrade GNU
9946 *** binutils to release 2.9.1 or newer. Another option is to modify
9947 *** your PATH or compiler configuration so that the native linker is
9948 *** used, and then restart.
9951 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9952 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9953 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9959 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9960 case `$LD -v 2>&1` in
9961 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9965 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9966 *** reliably create shared libraries on SCO systems. Therefore, libtool
9967 *** is disabling shared libraries support. We urge you to upgrade GNU
9968 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9969 *** your PATH or compiler configuration so that the native linker is
9970 *** used, and then restart.
9975 # For security reasons, it is highly recommended that you always
9976 # use absolute paths for naming shared libraries, and exclude the
9977 # DT_RUNPATH tag from executables and libraries. But doing so
9978 # requires that you compile everything twice, which is a pain.
9979 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9980 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9982 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9991 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_shlibpath_var
=no
9998 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9999 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10000 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10007 if test "$ld_shlibs" = no
; then
10009 hardcode_libdir_flag_spec
=
10010 export_dynamic_flag_spec
=
10011 whole_archive_flag_spec
=
10014 # PORTME fill in a description of your system's linker (not GNU ld)
10017 allow_undefined_flag
=unsupported
10018 always_export_symbols
=yes
10019 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'
10020 # Note: this linker hardcodes the directories in LIBPATH if there
10021 # are no directories specified by -L.
10022 hardcode_minus_L
=yes
10023 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10024 # Neither direct hardcoding nor static linking is supported with a
10026 hardcode_direct
=unsupported
10031 if test "$host_cpu" = ia64
; then
10032 # On IA64, the linker does run time linking by default, so we don't
10033 # have to do anything special.
10034 aix_use_runtimelinking
=no
10035 exp_sym_flag
='-Bexport'
10038 # If we're using GNU nm, then we don't want the "-C" option.
10039 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10040 # Also, AIX nm treats weak defined symbols like other global
10041 # defined symbols, whereas GNU nm marks them as "W".
10042 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10043 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10045 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'
10047 aix_use_runtimelinking
=no
10049 # Test if we are trying to use run time linking or normal
10050 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10051 # need to do runtime linking.
10052 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10053 for ld_flag
in $LDFLAGS; do
10054 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10055 aix_use_runtimelinking
=yes
10062 exp_sym_flag
='-bexport'
10063 no_entry_flag
='-bnoentry'
10066 # When large executables or shared objects are built, AIX ld can
10067 # have problems creating the table of contents. If linking a library
10068 # or program results in "error TOC overflow" add -mminimal-toc to
10069 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10070 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10073 hardcode_direct
=yes
10074 hardcode_direct_absolute
=yes
10075 hardcode_libdir_separator
=':'
10076 link_all_deplibs
=yes
10077 file_list_spec
='${wl}-f,'
10079 if test "$GCC" = yes; then
10080 case $host_os in aix4.
[012]|aix4.
[012].
*)
10081 # We only want to do this on AIX 4.2 and lower, the check
10082 # below for broken collect2 doesn't work under 4.3+
10083 collect2name
=`${CC} -print-prog-name=collect2`
10084 if test -f "$collect2name" &&
10085 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10087 # We have reworked collect2
10090 # We have old collect2
10091 hardcode_direct
=unsupported
10092 # It fails to find uninstalled libraries when the uninstalled
10093 # path is not listed in the libpath. Setting hardcode_minus_L
10094 # to unsupported forces relinking
10095 hardcode_minus_L
=yes
10096 hardcode_libdir_flag_spec
='-L$libdir'
10097 hardcode_libdir_separator
=
10101 shared_flag
='-shared'
10102 if test "$aix_use_runtimelinking" = yes; then
10103 shared_flag
="$shared_flag "'${wl}-G'
10107 if test "$host_cpu" = ia64
; then
10108 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10109 # chokes on -Wl,-G. The following line is correct:
10112 if test "$aix_use_runtimelinking" = yes; then
10113 shared_flag
='${wl}-G'
10115 shared_flag
='${wl}-bM:SRE'
10120 export_dynamic_flag_spec
='${wl}-bexpall'
10121 # It seems that -bexpall does not export symbols beginning with
10122 # underscore (_), so it is better to generate a list of symbols to export.
10123 always_export_symbols
=yes
10124 if test "$aix_use_runtimelinking" = yes; then
10125 # Warning - without using the other runtime loading flags (-brtl),
10126 # -berok will link without error, but may produce a broken library.
10127 allow_undefined_flag
='-berok'
10128 # Determine the default libpath from the value encoded in an
10129 # empty executable.
10130 if test "${lt_cv_aix_libpath+set}" = set; then
10131 aix_libpath
=$lt_cv_aix_libpath
10133 if ${lt_cv_aix_libpath_+:} false
; then :
10134 $as_echo_n "(cached) " >&6
10136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10147 if ac_fn_c_try_link
"$LINENO"; then :
10149 lt_aix_libpath_sed
='
10150 /Import File Strings/,/^$/ {
10152 s/^0 *\([^ ]*\) *$/\1/
10156 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10157 # Check for a 64-bit object if we didn't find anything.
10158 if test -z "$lt_cv_aix_libpath_"; then
10159 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10162 rm -f core conftest.err conftest.
$ac_objext \
10163 conftest
$ac_exeext conftest.
$ac_ext
10164 if test -z "$lt_cv_aix_libpath_"; then
10165 lt_cv_aix_libpath_
="/usr/lib:/lib"
10170 aix_libpath
=$lt_cv_aix_libpath_
10173 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10174 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10176 if test "$host_cpu" = ia64
; then
10177 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10178 allow_undefined_flag
="-z nodefs"
10179 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"
10181 # Determine the default libpath from the value encoded in an
10182 # empty executable.
10183 if test "${lt_cv_aix_libpath+set}" = set; then
10184 aix_libpath
=$lt_cv_aix_libpath
10186 if ${lt_cv_aix_libpath_+:} false
; then :
10187 $as_echo_n "(cached) " >&6
10189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10200 if ac_fn_c_try_link
"$LINENO"; then :
10202 lt_aix_libpath_sed
='
10203 /Import File Strings/,/^$/ {
10205 s/^0 *\([^ ]*\) *$/\1/
10209 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10210 # Check for a 64-bit object if we didn't find anything.
10211 if test -z "$lt_cv_aix_libpath_"; then
10212 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10215 rm -f core conftest.err conftest.
$ac_objext \
10216 conftest
$ac_exeext conftest.
$ac_ext
10217 if test -z "$lt_cv_aix_libpath_"; then
10218 lt_cv_aix_libpath_
="/usr/lib:/lib"
10223 aix_libpath
=$lt_cv_aix_libpath_
10226 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10227 # Warning - without using the other run time loading flags,
10228 # -berok will link without error, but may produce a broken library.
10229 no_undefined_flag
=' ${wl}-bernotok'
10230 allow_undefined_flag
=' ${wl}-berok'
10231 if test "$with_gnu_ld" = yes; then
10232 # We only use this code for GNU lds that support --whole-archive.
10233 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10235 # Exported symbols can be pulled into shared objects from archives
10236 whole_archive_flag_spec
='$convenience'
10238 archive_cmds_need_lc
=yes
10239 # This is similar to how AIX traditionally builds its shared libraries.
10240 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'
10248 # see comment about AmigaOS4 .so support
10249 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10250 archive_expsym_cmds
=''
10253 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)'
10254 hardcode_libdir_flag_spec
='-L$libdir'
10255 hardcode_minus_L
=yes
10261 export_dynamic_flag_spec
=-rdynamic
10264 cygwin
* | mingw
* | pw32
* | cegcc
*)
10265 # When not using gcc, we currently assume that we are using
10266 # Microsoft Visual C++.
10267 # hardcode_libdir_flag_spec is actually meaningless, as there is
10268 # no search path for DLLs.
10269 case $cc_basename in
10272 hardcode_libdir_flag_spec
=' '
10273 allow_undefined_flag
=unsupported
10274 always_export_symbols
=yes
10276 # Tell ltmain to make .lib files, not .a files.
10278 # Tell ltmain to make .dll files, not .so files.
10280 # FIXME: Setting linknames here is a bad hack.
10281 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10282 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10283 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10285 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10287 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10289 # The linker will not automatically build a static lib if we build a DLL.
10290 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10291 enable_shared_with_static_runtimes
=yes
10292 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10294 old_postinstall_cmds
='chmod 644 $oldlib'
10295 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10296 lt_tool_outputfile="@TOOL_OUTPUT@"~
10297 case $lt_outputfile in
10300 lt_outputfile="$lt_outputfile.exe"
10301 lt_tool_outputfile="$lt_tool_outputfile.exe"
10304 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10305 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10306 $RM "$lt_outputfile.manifest";
10310 # Assume MSVC wrapper
10311 hardcode_libdir_flag_spec
=' '
10312 allow_undefined_flag
=unsupported
10313 # Tell ltmain to make .lib files, not .a files.
10315 # Tell ltmain to make .dll files, not .so files.
10317 # FIXME: Setting linknames here is a bad hack.
10318 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10319 # The linker will automatically build a .lib file if we build a DLL.
10320 old_archive_from_new_cmds
='true'
10321 # FIXME: Should let the user specify the lib program.
10322 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10323 enable_shared_with_static_runtimes
=yes
10328 darwin
* | rhapsody
*)
10331 archive_cmds_need_lc
=no
10333 hardcode_automatic
=yes
10334 hardcode_shlibpath_var
=unsupported
10335 if test "$lt_cv_ld_force_load" = "yes"; then
10336 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10338 whole_archive_flag_spec
=''
10340 link_all_deplibs
=yes
10341 allow_undefined_flag
="$_lt_dar_allow_undefined"
10342 case $cc_basename in
10343 ifort
*) _lt_dar_can_shared
=yes ;;
10344 *) _lt_dar_can_shared
=$GCC ;;
10346 if test "$_lt_dar_can_shared" = "yes"; then
10347 output_verbose_link_cmd
=func_echo_all
10348 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10349 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10350 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}"
10351 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}"
10360 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10361 hardcode_libdir_flag_spec
='-L$libdir'
10362 hardcode_shlibpath_var
=no
10369 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10370 # support. Future versions do this automatically, but an explicit c++rt0.o
10371 # does not break anything, and helps significantly (at the cost of a little
10374 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10375 hardcode_libdir_flag_spec
='-R$libdir'
10376 hardcode_direct
=yes
10377 hardcode_shlibpath_var
=no
10380 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10382 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10383 hardcode_direct
=yes
10384 hardcode_minus_L
=yes
10385 hardcode_shlibpath_var
=no
10388 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10389 freebsd
* | dragonfly
*)
10390 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10391 hardcode_libdir_flag_spec
='-R$libdir'
10392 hardcode_direct
=yes
10393 hardcode_shlibpath_var
=no
10397 if test "$GCC" = yes; then
10398 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10400 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'
10402 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10403 hardcode_libdir_separator
=:
10404 hardcode_direct
=yes
10406 # hardcode_minus_L: Not really in the search PATH,
10407 # but as the default location of the library.
10408 hardcode_minus_L
=yes
10409 export_dynamic_flag_spec
='${wl}-E'
10413 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10414 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10416 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10418 if test "$with_gnu_ld" = no
; then
10419 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10420 hardcode_libdir_flag_spec_ld
='+b $libdir'
10421 hardcode_libdir_separator
=:
10422 hardcode_direct
=yes
10423 hardcode_direct_absolute
=yes
10424 export_dynamic_flag_spec
='${wl}-E'
10425 # hardcode_minus_L: Not really in the search PATH,
10426 # but as the default location of the library.
10427 hardcode_minus_L
=yes
10432 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10435 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10438 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10441 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10447 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10450 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10454 # Older versions of the 11.00 compiler do not understand -b yet
10455 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10457 $as_echo_n "checking if $CC understands -b... " >&6; }
10458 if ${lt_cv_prog_compiler__b+:} false
; then :
10459 $as_echo_n "(cached) " >&6
10461 lt_cv_prog_compiler__b
=no
10462 save_LDFLAGS
="$LDFLAGS"
10463 LDFLAGS
="$LDFLAGS -b"
10464 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10465 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10466 # The linker can only warn and ignore the option if not recognized
10467 # So say no if there are warnings
10468 if test -s conftest.err
; then
10469 # Append any errors to the config.log.
10470 cat conftest.err
1>&5
10471 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10472 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10473 if diff conftest.exp conftest.er2
>/dev
/null
; then
10474 lt_cv_prog_compiler__b
=yes
10477 lt_cv_prog_compiler__b
=yes
10481 LDFLAGS
="$save_LDFLAGS"
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10485 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10487 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10488 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10490 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10496 if test "$with_gnu_ld" = no
; then
10497 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10498 hardcode_libdir_separator
=:
10503 hardcode_shlibpath_var
=no
10506 hardcode_direct
=yes
10507 hardcode_direct_absolute
=yes
10508 export_dynamic_flag_spec
='${wl}-E'
10510 # hardcode_minus_L: Not really in the search PATH,
10511 # but as the default location of the library.
10512 hardcode_minus_L
=yes
10518 irix5
* | irix6
* | nonstopux
*)
10519 if test "$GCC" = yes; then
10520 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10521 # Try to use the -exported_symbol ld option, if it does not
10522 # work, assume that -exports_file does not work either and
10523 # implicitly export all symbols.
10524 # This should be the same for all languages, so no per-tag cache variable.
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10526 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10527 if ${lt_cv_irix_exported_symbol+:} false
; then :
10528 $as_echo_n "(cached) " >&6
10530 save_LDFLAGS
="$LDFLAGS"
10531 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10534 int foo (void) { return 0; }
10536 if ac_fn_c_try_link
"$LINENO"; then :
10537 lt_cv_irix_exported_symbol
=yes
10539 lt_cv_irix_exported_symbol
=no
10541 rm -f core conftest.err conftest.
$ac_objext \
10542 conftest
$ac_exeext conftest.
$ac_ext
10543 LDFLAGS
="$save_LDFLAGS"
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10546 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10547 if test "$lt_cv_irix_exported_symbol" = yes; then
10548 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10551 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10552 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10554 archive_cmds_need_lc
='no'
10555 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10556 hardcode_libdir_separator
=:
10558 link_all_deplibs
=yes
10562 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10563 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10565 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10567 hardcode_libdir_flag_spec
='-R$libdir'
10568 hardcode_direct
=yes
10569 hardcode_shlibpath_var
=no
10573 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10574 hardcode_direct
=yes
10575 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10576 hardcode_libdir_separator
=:
10577 hardcode_shlibpath_var
=no
10584 if test -f /usr
/libexec
/ld.so
; then
10585 hardcode_direct
=yes
10586 hardcode_shlibpath_var
=no
10587 hardcode_direct_absolute
=yes
10588 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10589 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10590 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10591 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10592 export_dynamic_flag_spec
='${wl}-E'
10595 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10596 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10597 hardcode_libdir_flag_spec
='-R$libdir'
10600 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10601 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10611 hardcode_libdir_flag_spec
='-L$libdir'
10612 hardcode_minus_L
=yes
10613 allow_undefined_flag
=unsupported
10614 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'
10615 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10619 if test "$GCC" = yes; then
10620 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10621 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10623 allow_undefined_flag
=' -expect_unresolved \*'
10624 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10626 archive_cmds_need_lc
='no'
10627 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10628 hardcode_libdir_separator
=:
10631 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10632 if test "$GCC" = yes; then
10633 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10634 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10635 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10637 allow_undefined_flag
=' -expect_unresolved \*'
10638 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10639 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~
10640 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10642 # Both c and cxx compiler support -rpath directly
10643 hardcode_libdir_flag_spec
='-rpath $libdir'
10645 archive_cmds_need_lc
='no'
10646 hardcode_libdir_separator
=:
10650 no_undefined_flag
=' -z defs'
10651 if test "$GCC" = yes; then
10653 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10654 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10655 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10657 case `$CC -V 2>&1` in
10660 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10661 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10662 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10666 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10667 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10668 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10672 hardcode_libdir_flag_spec
='-R$libdir'
10673 hardcode_shlibpath_var
=no
10675 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10677 # The compiler driver will combine and reorder linker options,
10678 # but understands `-z linker_flag'. GCC discards it without `$wl',
10679 # but is careful enough not to reorder.
10680 # Supported since Solaris 2.6 (maybe 2.5.1?)
10681 if test "$GCC" = yes; then
10682 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10684 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10688 link_all_deplibs
=yes
10692 if test "x$host_vendor" = xsequent
; then
10693 # Use $CC to link under sequent, because it throws in some extra .o
10694 # files that make .init and .fini sections work.
10695 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10697 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10699 hardcode_libdir_flag_spec
='-L$libdir'
10700 hardcode_direct
=yes
10701 hardcode_minus_L
=yes
10702 hardcode_shlibpath_var
=no
10706 case $host_vendor in
10708 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10709 hardcode_direct
=yes # is this really true???
10712 ## LD is ld it makes a PLAMLIB
10713 ## CC just makes a GrossModule.
10714 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10715 reload_cmds
='$CC -r -o $output$reload_objs'
10719 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10720 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10723 runpath_var
='LD_RUN_PATH'
10724 hardcode_shlibpath_var
=no
10728 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10729 hardcode_shlibpath_var
=no
10730 export_dynamic_flag_spec
='-Bexport'
10734 if test -d /usr
/nec
; then
10735 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10736 hardcode_shlibpath_var
=no
10737 runpath_var
=LD_RUN_PATH
10738 hardcode_runpath_var
=yes
10743 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10744 no_undefined_flag
='${wl}-z,text'
10745 archive_cmds_need_lc
=no
10746 hardcode_shlibpath_var
=no
10747 runpath_var
='LD_RUN_PATH'
10749 if test "$GCC" = yes; then
10750 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10751 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10754 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10758 sysv5
* | sco3.2v5
* | sco5v6
*)
10759 # Note: We can NOT use -z defs as we might desire, because we do not
10760 # link with -lc, and that would cause any symbols used from libc to
10761 # always be unresolved, which means just about no library would
10762 # ever link correctly. If we're not using GNU ld we use -z text
10763 # though, which does catch some bad symbols but isn't as heavy-handed
10765 no_undefined_flag
='${wl}-z,text'
10766 allow_undefined_flag
='${wl}-z,nodefs'
10767 archive_cmds_need_lc
=no
10768 hardcode_shlibpath_var
=no
10769 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10770 hardcode_libdir_separator
=':'
10771 link_all_deplibs
=yes
10772 export_dynamic_flag_spec
='${wl}-Bexport'
10773 runpath_var
='LD_RUN_PATH'
10775 if test "$GCC" = yes; then
10776 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10786 hardcode_libdir_flag_spec
='-L$libdir'
10787 hardcode_shlibpath_var
=no
10795 if test x
$host_vendor = xsni
; then
10797 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10798 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10805 $as_echo "$ld_shlibs" >&6; }
10806 test "$ld_shlibs" = no
&& can_build_shared
=no
10808 with_gnu_ld
=$with_gnu_ld
10825 # Do we need to explicitly link libc?
10827 case "x$archive_cmds_need_lc" in
10829 # Assume -lc should be added
10830 archive_cmds_need_lc
=yes
10832 if test "$enable_shared" = yes && test "$GCC" = yes; then
10833 case $archive_cmds in
10835 # FIXME: we may have to deal with multi-command sequences.
10838 # Test whether the compiler implicitly links with -lc since on some
10839 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10840 # to ld, don't add -lc before -lgcc.
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10842 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10843 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10844 $as_echo_n "(cached) " >&6
10847 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10850 (eval $ac_compile) 2>&5
10852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10853 test $ac_status = 0; } 2>conftest.err
; then
10856 libobjs
=conftest.
$ac_objext
10858 wl
=$lt_prog_compiler_wl
10859 pic_flag
=$lt_prog_compiler_pic
10865 lt_save_allow_undefined_flag
=$allow_undefined_flag
10866 allow_undefined_flag
=
10867 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10868 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10871 test $ac_status = 0; }
10873 lt_cv_archive_cmds_need_lc
=no
10875 lt_cv_archive_cmds_need_lc
=yes
10877 allow_undefined_flag
=$lt_save_allow_undefined_flag
10879 cat conftest.err
1>&5
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10885 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10886 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11050 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11052 if test "$GCC" = yes; then
11054 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11055 *) lt_awk_arg
="/^libraries:/" ;;
11058 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11059 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11061 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11062 case $lt_search_path_spec in
11064 # if the path contains ";" then we assume it to be the separator
11065 # otherwise default to the standard path separator (i.e. ":") - it is
11066 # assumed that no part of a normal pathname contains ";" but that should
11067 # okay in the real world where ";" in dirpaths is itself problematic.
11068 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11071 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11074 # Ok, now we have the path, separated by spaces, we can step through it
11075 # and add multilib dir if necessary.
11076 lt_tmp_lt_search_path_spec
=
11077 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11078 for lt_sys_path
in $lt_search_path_spec; do
11079 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11080 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11082 test -d "$lt_sys_path" && \
11083 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11086 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11087 BEGIN {RS=" "; FS="/|\n";} {
11090 for (lt_i = NF; lt_i > 0; lt_i--) {
11091 if ($lt_i != "" && $lt_i != ".") {
11092 if ($lt_i == "..") {
11095 if (lt_count == 0) {
11096 lt_foo="/" $lt_i lt_foo;
11103 if (lt_foo != "") { lt_freq[lt_foo]++; }
11104 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11106 # AWK program above erroneously prepends '/' to C:/dos/paths
11109 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11110 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11112 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11114 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11116 library_names_spec
=
11117 libname_spec
='lib$name'
11121 postuninstall_cmds
=
11125 shlibpath_overrides_runpath
=unknown
11127 dynamic_linker
="$host_os ld.so"
11128 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11129 need_lib_prefix
=unknown
11130 hardcode_into_libs
=no
11132 # when you set need_version to no, make sure it does not cause -set_version
11133 # flags to be left without arguments
11134 need_version
=unknown
11139 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11140 shlibpath_var
=LIBPATH
11142 # AIX 3 has no versioning support, so we append a major version to the name.
11143 soname_spec
='${libname}${release}${shared_ext}$major'
11150 hardcode_into_libs
=yes
11151 if test "$host_cpu" = ia64
; then
11152 # AIX 5 supports IA64
11153 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11154 shlibpath_var
=LD_LIBRARY_PATH
11156 # With GCC up to 2.95.x, collect2 would create an import file
11157 # for dependence libraries. The import file would start with
11158 # the line `#! .'. This would cause the generated library to
11159 # depend on `.', always an invalid library. This was fixed in
11160 # development snapshots of GCC prior to 3.0.
11162 aix4
| aix4.
[01] | aix4.
[01].
*)
11163 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11165 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11168 can_build_shared
=no
11172 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11173 # soname into executable. Probably we can add versioning support to
11174 # collect2, so additional links can be useful in future.
11175 if test "$aix_use_runtimelinking" = yes; then
11176 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11177 # instead of lib<name>.a to let people know that these are not
11178 # typical AIX shared libraries.
11179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11181 # We preserve .a as extension for shared libraries through AIX4.2
11182 # and later when we are not doing run time linking.
11183 library_names_spec
='${libname}${release}.a $libname.a'
11184 soname_spec
='${libname}${release}${shared_ext}$major'
11186 shlibpath_var
=LIBPATH
11193 # Since July 2007 AmigaOS4 officially supports .so libraries.
11194 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11198 library_names_spec
='$libname.ixlibrary $libname.a'
11199 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11200 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11206 library_names_spec
='${libname}${shared_ext}'
11207 dynamic_linker
="$host_os ld.so"
11208 shlibpath_var
=LIBRARY_PATH
11214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11215 soname_spec
='${libname}${release}${shared_ext}$major'
11216 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11217 shlibpath_var
=LD_LIBRARY_PATH
11218 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11219 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11220 # the default ld.so.conf also contains /usr/contrib/lib and
11221 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11222 # libtool to hard-code these into programs
11225 cygwin
* | mingw
* | pw32
* | cegcc
*)
11226 version_type
=windows
11231 case $GCC,$cc_basename in
11234 library_names_spec
='$libname.dll.a'
11235 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11236 postinstall_cmds
='base_file=`basename \${file}`~
11237 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11238 dldir=$destdir/`dirname \$dlpath`~
11239 test -d \$dldir || mkdir -p \$dldir~
11240 $install_prog $dir/$dlname \$dldir/$dlname~
11241 chmod a+x \$dldir/$dlname~
11242 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11243 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11245 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11246 dlpath=$dir/\$dldll~
11248 shlibpath_overrides_runpath
=yes
11252 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11253 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11255 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11258 # MinGW DLLs use traditional 'lib' prefix
11259 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11262 # pw32 DLLs use 'pw' prefix rather than 'lib'
11263 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11266 dynamic_linker
='Win32 ld.exe'
11271 libname_spec
='$name'
11272 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11273 library_names_spec
='${libname}.dll.lib'
11277 sys_lib_search_path_spec
=
11280 for lt_path
in $LIB
11283 # Let DOS variable expansion print the short 8.3 style file name.
11284 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11285 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11288 # Convert to MSYS style.
11289 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11292 # Convert to unix form, then to dos form, then back to unix form
11293 # but this time dos style (no spaces!) so that the unix form looks
11294 # like /cygdrive/c/PROGRA~1:/cygdr...
11295 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11296 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11297 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11300 sys_lib_search_path_spec
="$LIB"
11301 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11302 # It is most probably a Windows format PATH.
11303 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11305 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11307 # FIXME: find the short name or the path components, as spaces are
11308 # common. (e.g. "Program Files" -> "PROGRA~1")
11312 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11313 postinstall_cmds
='base_file=`basename \${file}`~
11314 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11315 dldir=$destdir/`dirname \$dlpath`~
11316 test -d \$dldir || mkdir -p \$dldir~
11317 $install_prog $dir/$dlname \$dldir/$dlname'
11318 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11319 dlpath=$dir/\$dldll~
11321 shlibpath_overrides_runpath
=yes
11322 dynamic_linker
='Win32 link.exe'
11326 # Assume MSVC wrapper
11327 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11328 dynamic_linker
='Win32 ld.exe'
11331 # FIXME: first we should search . and the directory the executable is in
11335 darwin
* | rhapsody
*)
11336 dynamic_linker
="$host_os dyld"
11337 version_type
=darwin
11340 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11341 soname_spec
='${libname}${release}${major}$shared_ext'
11342 shlibpath_overrides_runpath
=yes
11343 shlibpath_var
=DYLD_LIBRARY_PATH
11344 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11346 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11347 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11355 soname_spec
='${libname}${release}${shared_ext}$major'
11356 shlibpath_var
=LD_LIBRARY_PATH
11363 freebsd
* | dragonfly
*)
11364 # DragonFly does not have aout. When/if they implement a new
11365 # versioning mechanism, adjust this.
11366 if test -x /usr
/bin
/objformat
; then
11367 objformat
=`/usr/bin/objformat`
11370 freebsd
[123]*) objformat
=aout
;;
11371 *) objformat
=elf
;;
11374 # Handle Gentoo/FreeBSD as it was Linux
11375 case $host_vendor in
11377 version_type
=linux
;;
11379 version_type
=freebsd
-$objformat ;;
11382 case $version_type in
11384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11389 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11394 soname_spec
='${libname}${release}${shared_ext}$major'
11399 shlibpath_var
=LD_LIBRARY_PATH
11402 shlibpath_overrides_runpath
=yes
11404 freebsd3.
[01]* | freebsdelf3.
[01]*)
11405 shlibpath_overrides_runpath
=yes
11406 hardcode_into_libs
=yes
11408 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11409 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11410 shlibpath_overrides_runpath
=no
11411 hardcode_into_libs
=yes
11413 *) # from 4.6 on, and DragonFly
11414 shlibpath_overrides_runpath
=yes
11415 hardcode_into_libs
=yes
11424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11425 soname_spec
='${libname}${release}${shared_ext}$major'
11426 shlibpath_var
=LD_LIBRARY_PATH
11427 hardcode_into_libs
=yes
11434 dynamic_linker
="$host_os runtime_loader"
11435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11436 soname_spec
='${libname}${release}${shared_ext}$major'
11437 shlibpath_var
=LIBRARY_PATH
11438 shlibpath_overrides_runpath
=yes
11439 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11440 hardcode_into_libs
=yes
11443 hpux9
* | hpux10
* | hpux11
*)
11444 # Give a soname corresponding to the major version so that dld.sl refuses to
11445 # link against other versions.
11452 hardcode_into_libs
=yes
11453 dynamic_linker
="$host_os dld.so"
11454 shlibpath_var
=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11456 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11457 soname_spec
='${libname}${release}${shared_ext}$major'
11458 if test "X$HPUX_IA64_MODE" = X32
; then
11459 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11461 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11463 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11467 hardcode_into_libs
=yes
11468 dynamic_linker
="$host_os dld.sl"
11469 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11470 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11472 soname_spec
='${libname}${release}${shared_ext}$major'
11473 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11474 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11478 dynamic_linker
="$host_os dld.sl"
11479 shlibpath_var
=SHLIB_PATH
11480 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11482 soname_spec
='${libname}${release}${shared_ext}$major'
11485 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11486 postinstall_cmds
='chmod 555 $lib'
11487 # or fails outright, so override atomically:
11488 install_override_mode
=555
11495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11496 soname_spec
='${libname}${release}${shared_ext}$major'
11497 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11498 shlibpath_var
=LD_LIBRARY_PATH
11499 shlibpath_overrides_runpath
=no
11500 hardcode_into_libs
=yes
11503 irix5
* | irix6
* | nonstopux
*)
11505 nonstopux
*) version_type
=nonstopux
;;
11507 if test "$lt_cv_prog_gnu_ld" = yes; then
11515 soname_spec
='${libname}${release}${shared_ext}$major'
11516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11518 irix5
* | nonstopux
*)
11519 libsuff
= shlibsuff
=
11522 case $LD in # libtool.m4 will add one of these switches to LD
11523 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11524 libsuff
= shlibsuff
= libmagic
=32-bit;;
11525 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11526 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11527 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11528 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11529 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11533 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11534 shlibpath_overrides_runpath
=no
11535 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11536 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11537 hardcode_into_libs
=yes
11540 # No shared lib support for Linux oldld, aout, or coff.
11541 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11545 # This must be Linux ELF.
11546 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11551 soname_spec
='${libname}${release}${shared_ext}$major'
11552 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11553 shlibpath_var
=LD_LIBRARY_PATH
11554 shlibpath_overrides_runpath
=no
11556 # Some binutils ld are patched to set DT_RUNPATH
11557 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11558 $as_echo_n "(cached) " >&6
11560 lt_cv_shlibpath_overrides_runpath
=no
11561 save_LDFLAGS
=$LDFLAGS
11562 save_libdir
=$libdir
11563 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11564 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11576 if ac_fn_c_try_link
"$LINENO"; then :
11577 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11578 lt_cv_shlibpath_overrides_runpath
=yes
11581 rm -f core conftest.err conftest.
$ac_objext \
11582 conftest
$ac_exeext conftest.
$ac_ext
11583 LDFLAGS
=$save_LDFLAGS
11584 libdir
=$save_libdir
11588 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11590 # This implies no fast_install, which is unacceptable.
11591 # Some rework will be needed to allow for fast_install
11592 # before this can be enabled.
11593 hardcode_into_libs
=yes
11595 # Append ld.so.conf contents to the search path
11596 if test -f /etc
/ld.so.conf
; then
11597 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;s/"//g;/^$/d' | tr '\n' ' '`
11598 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11601 # We used to test for /lib/ld.so.1 and disable shared libraries on
11602 # powerpc, because MkLinux only supported shared libraries with the
11603 # GNU dynamic linker. Since this was broken with cross compilers,
11604 # most powerpc-linux boxes support dynamic linking these days and
11605 # people can always --disable-shared, the test was removed, and we
11606 # assume the GNU/Linux dynamic linker is in use.
11607 dynamic_linker
='GNU/Linux ld.so'
11614 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11616 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11617 dynamic_linker
='NetBSD (a.out) ld.so'
11619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11620 soname_spec
='${libname}${release}${shared_ext}$major'
11621 dynamic_linker
='NetBSD ld.elf_so'
11623 shlibpath_var
=LD_LIBRARY_PATH
11624 shlibpath_overrides_runpath
=yes
11625 hardcode_into_libs
=yes
11630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631 shlibpath_var
=LD_LIBRARY_PATH
11632 shlibpath_overrides_runpath
=yes
11639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11640 soname_spec
='${libname}${release}${shared_ext}$major'
11641 shlibpath_var
=LD_LIBRARY_PATH
11642 shlibpath_overrides_runpath
=no
11643 hardcode_into_libs
=yes
11644 dynamic_linker
='ldqnx.so'
11649 sys_lib_dlsearch_path_spec
="/usr/lib"
11651 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11653 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11654 *) need_version
=no
;;
11656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11657 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11658 shlibpath_var
=LD_LIBRARY_PATH
11659 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11661 openbsd2.
[89] | openbsd2.
[89].
*)
11662 shlibpath_overrides_runpath
=no
11665 shlibpath_overrides_runpath
=yes
11669 shlibpath_overrides_runpath
=yes
11674 libname_spec
='$name'
11677 library_names_spec
='$libname${shared_ext} $libname.a'
11678 dynamic_linker
='OS/2 ld.exe'
11679 shlibpath_var
=LIBPATH
11682 osf3
* | osf4
* | osf5
*)
11686 soname_spec
='${libname}${release}${shared_ext}$major'
11687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11688 shlibpath_var
=LD_LIBRARY_PATH
11689 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11690 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11702 soname_spec
='${libname}${release}${shared_ext}$major'
11703 shlibpath_var
=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath
=yes
11705 hardcode_into_libs
=yes
11706 # ldd complains unless libraries are executable
11707 postinstall_cmds
='chmod +x $lib'
11712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11713 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11714 shlibpath_var
=LD_LIBRARY_PATH
11715 shlibpath_overrides_runpath
=yes
11716 if test "$with_gnu_ld" = yes; then
11724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11725 soname_spec
='${libname}${release}${shared_ext}$major'
11726 shlibpath_var
=LD_LIBRARY_PATH
11727 case $host_vendor in
11729 shlibpath_overrides_runpath
=no
11731 runpath_var
=LD_RUN_PATH
11739 shlibpath_overrides_runpath
=no
11740 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11746 if test -d /usr
/nec
;then
11748 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11749 soname_spec
='$libname${shared_ext}.$major'
11750 shlibpath_var
=LD_LIBRARY_PATH
11754 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11755 version_type
=freebsd
-elf
11758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11759 soname_spec
='${libname}${release}${shared_ext}$major'
11760 shlibpath_var
=LD_LIBRARY_PATH
11761 shlibpath_overrides_runpath
=yes
11762 hardcode_into_libs
=yes
11763 if test "$with_gnu_ld" = yes; then
11764 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11766 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11769 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11773 sys_lib_dlsearch_path_spec
='/usr/lib'
11777 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11782 shlibpath_var
=LD_LIBRARY_PATH
11783 shlibpath_overrides_runpath
=no
11784 hardcode_into_libs
=yes
11789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11790 soname_spec
='${libname}${release}${shared_ext}$major'
11791 shlibpath_var
=LD_LIBRARY_PATH
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11799 $as_echo "$dynamic_linker" >&6; }
11800 test "$dynamic_linker" = no
&& can_build_shared
=no
11802 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11803 if test "$GCC" = yes; then
11804 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11807 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11808 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11810 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11811 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11906 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11908 if test -n "$hardcode_libdir_flag_spec" ||
11909 test -n "$runpath_var" ||
11910 test "X$hardcode_automatic" = "Xyes" ; then
11912 # We can hardcode non-existent directories.
11913 if test "$hardcode_direct" != no
&&
11914 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11915 # have to relink, otherwise we might link with an installed library
11916 # when we should be linking with a yet-to-be-installed one
11917 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11918 test "$hardcode_minus_L" != no
; then
11919 # Linking always hardcodes the temporary library directory.
11920 hardcode_action
=relink
11922 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11923 hardcode_action
=immediate
11926 # We cannot hardcode anything, or else we can only hardcode existing
11928 hardcode_action
=unsupported
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11931 $as_echo "$hardcode_action" >&6; }
11933 if test "$hardcode_action" = relink
||
11934 test "$inherit_rpath" = yes; then
11935 # Fast installation is not supported
11936 enable_fast_install
=no
11937 elif test "$shlibpath_overrides_runpath" = yes ||
11938 test "$enable_shared" = no
; then
11939 # Fast installation is not necessary
11940 enable_fast_install
=needless
11948 if test "x$enable_dlopen" != xyes
; then
11949 enable_dlopen
=unknown
11950 enable_dlopen_self
=unknown
11951 enable_dlopen_self_static
=unknown
11958 lt_cv_dlopen
="load_add_on"
11960 lt_cv_dlopen_self
=yes
11963 mingw
* | pw32
* | cegcc
*)
11964 lt_cv_dlopen
="LoadLibrary"
11969 lt_cv_dlopen
="dlopen"
11974 # if libdl is installed we need to link against it
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11976 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11977 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11978 $as_echo_n "(cached) " >&6
11980 ac_check_lib_save_LIBS
=$LIBS
11982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
12000 if ac_fn_c_try_link
"$LINENO"; then :
12001 ac_cv_lib_dl_dlopen
=yes
12003 ac_cv_lib_dl_dlopen
=no
12005 rm -f core conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 LIBS
=$ac_check_lib_save_LIBS
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12010 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12011 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12012 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12015 lt_cv_dlopen
="dyld"
12017 lt_cv_dlopen_self
=yes
12024 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12025 if test "x$ac_cv_func_shl_load" = xyes
; then :
12026 lt_cv_dlopen
="shl_load"
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12029 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12030 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12031 $as_echo_n "(cached) " >&6
12033 ac_check_lib_save_LIBS
=$LIBS
12035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12048 return shl_load ();
12053 if ac_fn_c_try_link
"$LINENO"; then :
12054 ac_cv_lib_dld_shl_load
=yes
12056 ac_cv_lib_dld_shl_load
=no
12058 rm -f core conftest.err conftest.
$ac_objext \
12059 conftest
$ac_exeext conftest.
$ac_ext
12060 LIBS
=$ac_check_lib_save_LIBS
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12063 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12064 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12065 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12067 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12068 if test "x$ac_cv_func_dlopen" = xyes
; then :
12069 lt_cv_dlopen
="dlopen"
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12072 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12073 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12074 $as_echo_n "(cached) " >&6
12076 ac_check_lib_save_LIBS
=$LIBS
12078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 /* Override any GCC internal prototype to avoid an error.
12082 Use char because int might match the return type of a GCC
12083 builtin and then its argument prototype would still apply. */
12096 if ac_fn_c_try_link
"$LINENO"; then :
12097 ac_cv_lib_dl_dlopen
=yes
12099 ac_cv_lib_dl_dlopen
=no
12101 rm -f core conftest.err conftest.
$ac_objext \
12102 conftest
$ac_exeext conftest.
$ac_ext
12103 LIBS
=$ac_check_lib_save_LIBS
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12106 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12107 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12108 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12111 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12112 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12113 $as_echo_n "(cached) " >&6
12115 ac_check_lib_save_LIBS
=$LIBS
12116 LIBS
="-lsvld $LIBS"
12117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 /* Override any GCC internal prototype to avoid an error.
12121 Use char because int might match the return type of a GCC
12122 builtin and then its argument prototype would still apply. */
12135 if ac_fn_c_try_link
"$LINENO"; then :
12136 ac_cv_lib_svld_dlopen
=yes
12138 ac_cv_lib_svld_dlopen
=no
12140 rm -f core conftest.err conftest.
$ac_objext \
12141 conftest
$ac_exeext conftest.
$ac_ext
12142 LIBS
=$ac_check_lib_save_LIBS
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12145 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12146 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12147 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12150 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12151 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12152 $as_echo_n "(cached) " >&6
12154 ac_check_lib_save_LIBS
=$LIBS
12156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12169 return dld_link ();
12174 if ac_fn_c_try_link
"$LINENO"; then :
12175 ac_cv_lib_dld_dld_link
=yes
12177 ac_cv_lib_dld_dld_link
=no
12179 rm -f core conftest.err conftest.
$ac_objext \
12180 conftest
$ac_exeext conftest.
$ac_ext
12181 LIBS
=$ac_check_lib_save_LIBS
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12184 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12185 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12186 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12207 if test "x$lt_cv_dlopen" != xno
; then
12213 case $lt_cv_dlopen in
12215 save_CPPFLAGS
="$CPPFLAGS"
12216 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12218 save_LDFLAGS
="$LDFLAGS"
12219 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12222 LIBS
="$lt_cv_dlopen_libs $LIBS"
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12225 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12226 if ${lt_cv_dlopen_self+:} false
; then :
12227 $as_echo_n "(cached) " >&6
12229 if test "$cross_compiling" = yes; then :
12230 lt_cv_dlopen_self
=cross
12232 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12233 lt_status
=$lt_dlunknown
12234 cat > conftest.
$ac_ext <<_LT_EOF
12235 #line $LINENO "configure"
12236 #include "confdefs.h"
12245 # define LT_DLGLOBAL RTLD_GLOBAL
12248 # define LT_DLGLOBAL DL_GLOBAL
12250 # define LT_DLGLOBAL 0
12254 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12255 find out it does not work in some platform. */
12256 #ifndef LT_DLLAZY_OR_NOW
12258 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12261 # define LT_DLLAZY_OR_NOW DL_LAZY
12264 # define LT_DLLAZY_OR_NOW RTLD_NOW
12267 # define LT_DLLAZY_OR_NOW DL_NOW
12269 # define LT_DLLAZY_OR_NOW 0
12276 /* When -fvisbility=hidden is used, assume the code has been annotated
12277 correspondingly for the symbols needed. */
12278 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12279 int fnord () __attribute__((visibility("default")));
12282 int fnord () { return 42; }
12285 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12286 int status = $lt_dlunknown;
12290 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12293 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12294 else puts (dlerror ());
12296 /* dlclose (self); */
12304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12305 (eval $ac_link) 2>&5
12307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12308 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12309 (.
/conftest
; exit; ) >&5 2>/dev
/null
12311 case x
$lt_status in
12312 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12313 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12314 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12317 # compilation failed
12318 lt_cv_dlopen_self
=no
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12326 $as_echo "$lt_cv_dlopen_self" >&6; }
12328 if test "x$lt_cv_dlopen_self" = xyes
; then
12329 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12331 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12332 if ${lt_cv_dlopen_self_static+:} false
; then :
12333 $as_echo_n "(cached) " >&6
12335 if test "$cross_compiling" = yes; then :
12336 lt_cv_dlopen_self_static
=cross
12338 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12339 lt_status
=$lt_dlunknown
12340 cat > conftest.
$ac_ext <<_LT_EOF
12341 #line $LINENO "configure"
12342 #include "confdefs.h"
12351 # define LT_DLGLOBAL RTLD_GLOBAL
12354 # define LT_DLGLOBAL DL_GLOBAL
12356 # define LT_DLGLOBAL 0
12360 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12361 find out it does not work in some platform. */
12362 #ifndef LT_DLLAZY_OR_NOW
12364 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12367 # define LT_DLLAZY_OR_NOW DL_LAZY
12370 # define LT_DLLAZY_OR_NOW RTLD_NOW
12373 # define LT_DLLAZY_OR_NOW DL_NOW
12375 # define LT_DLLAZY_OR_NOW 0
12382 /* When -fvisbility=hidden is used, assume the code has been annotated
12383 correspondingly for the symbols needed. */
12384 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12385 int fnord () __attribute__((visibility("default")));
12388 int fnord () { return 42; }
12391 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12392 int status = $lt_dlunknown;
12396 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12399 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12400 else puts (dlerror ());
12402 /* dlclose (self); */
12410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12411 (eval $ac_link) 2>&5
12413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12414 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12415 (.
/conftest
; exit; ) >&5 2>/dev
/null
12417 case x
$lt_status in
12418 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12419 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12420 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12423 # compilation failed
12424 lt_cv_dlopen_self_static
=no
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12432 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12435 CPPFLAGS
="$save_CPPFLAGS"
12436 LDFLAGS
="$save_LDFLAGS"
12441 case $lt_cv_dlopen_self in
12442 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12443 *) enable_dlopen_self
=unknown
;;
12446 case $lt_cv_dlopen_self_static in
12447 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12448 *) enable_dlopen_self_static
=unknown
;;
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12471 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12472 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12473 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12474 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12476 $as_echo "yes" >&6; }
12478 # FIXME - insert some real tests, host_os isn't really good enough
12481 if test -n "$STRIP" ; then
12482 striplib
="$STRIP -x"
12483 old_striplib
="$STRIP -S"
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12485 $as_echo "yes" >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493 $as_echo "no" >&6; }
12509 # Report which library types will actually be built
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12511 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12513 $as_echo "$can_build_shared" >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12516 $as_echo_n "checking whether to build shared libraries... " >&6; }
12517 test "$can_build_shared" = "no" && enable_shared
=no
12519 # On AIX, shared libraries and static libraries use the same namespace, and
12520 # are all built from PIC.
12523 test "$enable_shared" = yes && enable_static
=no
12524 if test -n "$RANLIB"; then
12525 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12526 postinstall_cmds
='$RANLIB $lib'
12531 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12532 test "$enable_shared" = yes && enable_static
=no
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12537 $as_echo "$enable_shared" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12540 $as_echo_n "checking whether to build static libraries... " >&6; }
12541 # Make sure either enable_shared or enable_static is yes.
12542 test "$enable_shared" = yes || enable_static
=yes
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12544 $as_echo "$enable_static" >&6; }
12551 ac_cpp
='$CPP $CPPFLAGS'
12552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12570 ac_config_commands
="$ac_config_commands libtool"
12575 # Only expand once:
12579 LIBTOOL
="$LIBTOOL --silent"
12584 cat >>confdefs.h
<<_ACEOF
12589 cat >>confdefs.h
<<_ACEOF
12596 cat >>confdefs.h
<<_ACEOF
12601 cat >>confdefs.h
<<_ACEOF
12605 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
12606 if test "x$ac_cv_header_windows_h" = xyes
; then :
12609 as_fn_error $?
"** MinGW and no windows.h. I give up." "$LINENO" 5
12613 ac_fn_c_check_header_mongrel
"$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
12614 if test "x$ac_cv_header_winsock2_h" = xyes
; then :
12617 as_fn_error $?
"** MinGW and no winsock2.h. I give up." "$LINENO" 5
12622 cat >>confdefs.h
<<_ACEOF
12623 #define HAVE_WINSOCK2_H 1
12627 cat >>confdefs.h
<<_ACEOF
12628 #define HAVE_WINSOCK_H 1
12631 LIBS
="$LIBS -lws2_32 -liphlpapi"
12635 CPPFLAGS
="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
12638 CPPFLAGS
="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2"
12644 if test "$is_mingw" = "yes"; then
12654 # backwards support for IRC_CFLAGS
12655 CFLAGS
="$IRC_CFLAGS $CFLAGS -Wall"
12657 if test "$libexecdir" = '${exec_prefix}/libexec' &&
12658 test "$localstatedir" = '${prefix}/var'; then
12659 libexecdir
='${bindir}'
12660 localstatedir
='${prefix}'
12663 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12664 if test "x$ac_cv_type_pid_t" = xyes
; then :
12668 cat >>confdefs.h
<<_ACEOF
12674 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12675 if test "x$ac_cv_type_size_t" = xyes
; then :
12679 cat >>confdefs.h
<<_ACEOF
12680 #define size_t unsigned int
12685 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12686 if test "x$ac_cv_type_ssize_t" = xyes
; then :
12690 cat >>confdefs.h
<<_ACEOF
12691 #define ssize_t int
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12697 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12698 if ${ac_cv_type_uid_t+:} false
; then :
12699 $as_echo_n "(cached) " >&6
12701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12703 #include <sys/types.h>
12706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12707 $EGREP "uid_t" >/dev
/null
2>&1; then :
12708 ac_cv_type_uid_t
=yes
12710 ac_cv_type_uid_t
=no
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12716 $as_echo "$ac_cv_type_uid_t" >&6; }
12717 if test $ac_cv_type_uid_t = no
; then
12719 $as_echo "#define uid_t int" >>confdefs.h
12722 $as_echo "#define gid_t int" >>confdefs.h
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12729 $as_echo_n "checking for ANSI C header files... " >&6; }
12730 if ${ac_cv_header_stdc+:} false
; then :
12731 $as_echo_n "(cached) " >&6
12733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12735 #include <stdlib.h>
12736 #include <stdarg.h>
12737 #include <string.h>
12748 if ac_fn_c_try_compile
"$LINENO"; then :
12749 ac_cv_header_stdc
=yes
12751 ac_cv_header_stdc
=no
12753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12755 if test $ac_cv_header_stdc = yes; then
12756 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12758 /* end confdefs.h. */
12759 #include <string.h>
12762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12763 $EGREP "memchr" >/dev
/null
2>&1; then :
12766 ac_cv_header_stdc
=no
12772 if test $ac_cv_header_stdc = yes; then
12773 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12776 #include <stdlib.h>
12779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12780 $EGREP "free" >/dev
/null
2>&1; then :
12783 ac_cv_header_stdc
=no
12789 if test $ac_cv_header_stdc = yes; then
12790 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12791 if test "$cross_compiling" = yes; then :
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 #include <stdlib.h>
12798 #if ((' ' & 0x0FF) == 0x020)
12799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12802 # define ISLOWER(c) \
12803 (('a' <= (c) && (c) <= 'i') \
12804 || ('j' <= (c) && (c) <= 'r') \
12805 || ('s' <= (c) && (c) <= 'z'))
12806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12814 for (i = 0; i < 256; i++)
12815 if (XOR (islower (i), ISLOWER (i))
12816 || toupper (i) != TOUPPER (i))
12821 if ac_fn_c_try_run
"$LINENO"; then :
12824 ac_cv_header_stdc
=no
12826 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12827 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12833 $as_echo "$ac_cv_header_stdc" >&6; }
12834 if test $ac_cv_header_stdc = yes; then
12836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12841 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
12843 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12844 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12845 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12846 cat >>confdefs.h
<<_ACEOF
12847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12855 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12856 if ${ac_cv_header_time+:} false
; then :
12857 $as_echo_n "(cached) " >&6
12859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12861 #include <sys/types.h>
12862 #include <sys/time.h>
12868 if ((struct tm *) 0)
12874 if ac_fn_c_try_compile
"$LINENO"; then :
12875 ac_cv_header_time
=yes
12877 ac_cv_header_time
=no
12879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12882 $as_echo "$ac_cv_header_time" >&6; }
12883 if test $ac_cv_header_time = yes; then
12885 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12892 $as_echo_n "checking for library containing socket... " >&6; }
12893 if ${ac_cv_search_socket+:} false
; then :
12894 $as_echo_n "(cached) " >&6
12896 ac_func_search_save_LIBS
=$LIBS
12897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 /* Override any GCC internal prototype to avoid an error.
12901 Use char because int might match the return type of a GCC
12902 builtin and then its argument prototype would still apply. */
12915 for ac_lib
in '' socket
; do
12916 if test -z "$ac_lib"; then
12917 ac_res
="none required"
12920 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12922 if ac_fn_c_try_link
"$LINENO"; then :
12923 ac_cv_search_socket
=$ac_res
12925 rm -f core conftest.err conftest.
$ac_objext \
12927 if ${ac_cv_search_socket+:} false
; then :
12931 if ${ac_cv_search_socket+:} false
; then :
12934 ac_cv_search_socket
=no
12936 rm conftest.
$ac_ext
12937 LIBS
=$ac_func_search_save_LIBS
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12940 $as_echo "$ac_cv_search_socket" >&6; }
12941 ac_res
=$ac_cv_search_socket
12942 if test "$ac_res" != no
; then :
12943 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12949 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
12950 #ifdef HAVE_SYS_TYPES_H
12951 #include <sys/types.h>
12953 #ifdef HAVE_SYS_SOCKET_H
12954 #include <sys/socket.h>
12956 #ifdef HAVE_WINSOCK2_H
12957 #include <winsock2.h>
12961 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
12963 $as_echo "#define SOCKADDR_IN_HAS_LEN 1" >>confdefs.h
12968 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
12969 #include <sys/socket.h>
12971 if test "x$ac_cv_type_socklen_t" = xyes
; then :
12972 rb_cv_socklen_t
=socklen_t
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
12976 $as_echo_n "checking for socklen_t equivalent... " >&6; }
12977 if ${rb_cv_socklen_t+:} false
; then :
12978 $as_echo_n "(cached) " >&6
12981 # Systems have either "struct sockaddr *" or
12982 # "void *" as the second argument to getpeername
12984 for arg2
in "struct sockaddr" void
; do
12985 for t
in int size_t unsigned long
"unsigned long"; do
12986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 #ifdef HAVE_SYS_TYPES_H
12990 #include <sys/types.h>
12992 #ifdef HAVE_SYS_SOCKET_H
12993 #include <sys/socket.h>
12995 #ifdef HAVE_WINSOCK2_H
12996 #include <winsock2.h>
12998 int getpeername (int, $arg2 *, $t *);
13005 getpeername(0,0,&len);
13011 if ac_fn_c_try_compile
"$LINENO"; then :
13013 rb_cv_socklen_t
="$t"
13017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13021 if test "x$rb_cv_socklen_t" = x
; then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find a type to use in place of socklen_t using int" >&5
13023 $as_echo "$as_me: WARNING: Cannot find a type to use in place of socklen_t using int" >&2;}
13024 rb_cv_socklen_t
=int
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_socklen_t" >&5
13030 $as_echo "$rb_cv_socklen_t" >&6; }
13034 rb_socklen_t
=$rb_cv_socklen_t
13040 # Check whether --enable-ipv6 was given.
13041 if test "${enable_ipv6+set}" = set; then :
13042 enableval
=$enable_ipv6; ipv6
=$enableval
13048 if test x
$ipv6 != xyes
; then
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INET6 protocol support" >&5
13055 $as_echo_n "checking for INET6 protocol support... " >&6; }
13056 if ${rb_cv_proto_inet6+:} false
; then :
13057 $as_echo_n "(cached) " >&6
13060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 #include <sys/types.h>
13064 #include <sys/socket.h>
13067 #error Missing PF_INET6
13070 #error Mlssing AF_INET6
13074 if ac_fn_c_try_cpp
"$LINENO"; then :
13076 rb_cv_proto_inet6
=yes
13080 rb_cv_proto_inet6
=no
13083 rm -f conftest.err conftest.i conftest.
$ac_ext
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_proto_inet6" >&5
13087 $as_echo "$rb_cv_proto_inet6" >&6; }
13089 if test "X$rb_cv_proto_inet6" = "Xyes"; then :
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: PF_INET6 not found" >&5
13094 $as_echo "$as_me: Disabling IPv6 support: PF_INET6 not found" >&6;}
13100 if test "X$have_v6" = "Xyes"; then
13102 rb_have_sockaddr_in6
=
13103 ac_fn_c_check_type
"$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
13104 #include <sys/types.h>
13105 #include <sys/socket.h>
13106 #include <netinet/in.h>
13109 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes
; then :
13111 cat >>confdefs.h
<<_ACEOF
13112 #define HAVE_STRUCT_SOCKADDR_IN6 1
13116 rb_have_sockaddr_in6
=yes
13120 rb_have_sockaddr_in6
=no
13125 if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: struct sockaddr_in6 not found" >&5
13130 $as_echo "$as_me: Disabling IPv6 support: struct sockaddr_in6 not found" >&6;}
13139 ac_fn_c_check_type
"$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
13140 #include <sys/types.h>
13141 #include <sys/socket.h>
13144 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
; then :
13146 cat >>confdefs.h
<<_ACEOF
13147 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13151 rb_have_sockaddr_storage
=yes
13157 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
13158 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
13161 as_fn_error $?
"** stdarg.h could not be found - libratbox will not compile without it **" "$LINENO" 5
13166 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
13167 #include <sys/socket.h>
13169 if test "x$ac_cv_type_sa_family_t" = xyes
; then :
13173 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
13179 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
13181 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13182 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13183 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13184 cat >>confdefs.h
<<_ACEOF
13185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
13193 $as_echo_n "checking for library containing nanosleep... " >&6; }
13194 if ${ac_cv_search_nanosleep+:} false
; then :
13195 $as_echo_n "(cached) " >&6
13197 ac_func_search_save_LIBS
=$LIBS
13198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13201 /* Override any GCC internal prototype to avoid an error.
13202 Use char because int might match the return type of a GCC
13203 builtin and then its argument prototype would still apply. */
13211 return nanosleep ();
13216 for ac_lib
in '' rt posix4
; do
13217 if test -z "$ac_lib"; then
13218 ac_res
="none required"
13221 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13223 if ac_fn_c_try_link
"$LINENO"; then :
13224 ac_cv_search_nanosleep
=$ac_res
13226 rm -f core conftest.err conftest.
$ac_objext \
13228 if ${ac_cv_search_nanosleep+:} false
; then :
13232 if ${ac_cv_search_nanosleep+:} false
; then :
13235 ac_cv_search_nanosleep
=no
13237 rm conftest.
$ac_ext
13238 LIBS
=$ac_func_search_save_LIBS
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
13241 $as_echo "$ac_cv_search_nanosleep" >&6; }
13242 ac_res
=$ac_cv_search_nanosleep
13243 if test "$ac_res" != no
; then :
13244 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13246 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
13251 $as_echo_n "checking for library containing timer_create... " >&6; }
13252 if ${ac_cv_search_timer_create+:} false
; then :
13253 $as_echo_n "(cached) " >&6
13255 ac_func_search_save_LIBS
=$LIBS
13256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13265 char timer_create ();
13269 return timer_create ();
13274 for ac_lib
in '' rt
; do
13275 if test -z "$ac_lib"; then
13276 ac_res
="none required"
13279 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13281 if ac_fn_c_try_link
"$LINENO"; then :
13282 ac_cv_search_timer_create
=$ac_res
13284 rm -f core conftest.err conftest.
$ac_objext \
13286 if ${ac_cv_search_timer_create+:} false
; then :
13290 if ${ac_cv_search_timer_create+:} false
; then :
13293 ac_cv_search_timer_create
=no
13295 rm conftest.
$ac_ext
13296 LIBS
=$ac_func_search_save_LIBS
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5
13299 $as_echo "$ac_cv_search_timer_create" >&6; }
13300 ac_res
=$ac_cv_search_timer_create
13301 if test "$ac_res" != no
; then :
13302 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13304 $as_echo "#define HAVE_TIMER_CREATE 1" >>confdefs.h
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timer_create(CLOCK_REALTIME)" >&5
13309 $as_echo_n "checking for a working timer_create(CLOCK_REALTIME)... " >&6; }
13310 if ${rb__cv_timer_create_works+:} false
; then :
13311 $as_echo_n "(cached) " >&6
13313 if test "$cross_compiling" = yes; then :
13314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13316 as_fn_error $?
"cannot run test program while cross compiling
13317 See \`config.log' for more details" "$LINENO" 5; }
13319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h. */
13325 #ifdef HAVE_SIGNAL_H
13326 #include <signal.h>
13328 #ifdef HAVE_UNISTD_H
13329 #include <unistd.h>
13331 int main(int argc, char *argv[])
13333 #if HAVE_TIMER_CREATE
13334 struct sigevent ev;
13336 ev.sigev_notify = SIGEV_SIGNAL;
13337 ev.sigev_signo = SIGVTALRM;
13338 if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
13348 if ac_fn_c_try_run
"$LINENO"; then :
13349 rb__cv_timer_create_works
=yes
13351 rb__cv_timer_create_works
=no
13353 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13354 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timer_create_works" >&5
13360 $as_echo "$rb__cv_timer_create_works" >&6; }
13361 case $rb__cv_timer_create_works in
13363 $as_echo "#define USE_TIMER_CREATE 1" >>confdefs.h
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timerfd_create(CLOCK_REALTIME)" >&5
13368 $as_echo_n "checking for a working timerfd_create(CLOCK_REALTIME)... " >&6; }
13369 if ${rb__cv_timerfd_create_works+:} false
; then :
13370 $as_echo_n "(cached) " >&6
13372 if test "$cross_compiling" = yes; then :
13373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13375 as_fn_error $?
"cannot run test program while cross compiling
13376 See \`config.log' for more details" "$LINENO" 5; }
13378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13379 /* end confdefs.h. */
13384 #ifdef HAVE_SIGNAL_H
13385 #include <signal.h>
13387 #ifdef HAVE_UNISTD_H
13388 #include <unistd.h>
13390 #ifdef HAVE_SYS_TIMERFD_H
13391 #include <sys/timerfd.h>
13393 int main(int argc, char *argv[])
13395 #if defined(HAVE_TIMERFD_CREATE) && defined(HAVE_SYS_TIMERFD_H)
13396 if (timerfd_create(CLOCK_REALTIME, 0) < 0) {
13406 if ac_fn_c_try_run
"$LINENO"; then :
13407 rb__cv_timerfd_create_works
=yes
13409 rb__cv_timerfd_create_works
=no
13411 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13412 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timerfd_create_works" >&5
13418 $as_echo "$rb__cv_timerfd_create_works" >&6; }
13419 case $rb__cv_timerfd_create_works in
13421 $as_echo "#define USE_TIMERFD_CREATE 1" >>confdefs.h
13426 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13427 # for constant arguments. Useless!
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13429 $as_echo_n "checking for working alloca.h... " >&6; }
13430 if ${ac_cv_working_alloca_h+:} false
; then :
13431 $as_echo_n "(cached) " >&6
13433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13435 #include <alloca.h>
13439 char *p = (char *) alloca (2 * sizeof (int));
13445 if ac_fn_c_try_link
"$LINENO"; then :
13446 ac_cv_working_alloca_h
=yes
13448 ac_cv_working_alloca_h
=no
13450 rm -f core conftest.err conftest.
$ac_objext \
13451 conftest
$ac_exeext conftest.
$ac_ext
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13454 $as_echo "$ac_cv_working_alloca_h" >&6; }
13455 if test $ac_cv_working_alloca_h = yes; then
13457 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13462 $as_echo_n "checking for alloca... " >&6; }
13463 if ${ac_cv_func_alloca_works+:} false
; then :
13464 $as_echo_n "(cached) " >&6
13466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13467 /* end confdefs.h. */
13469 # define alloca __builtin_alloca
13472 # include <malloc.h>
13473 # define alloca _alloca
13475 # ifdef HAVE_ALLOCA_H
13476 # include <alloca.h>
13481 # ifndef alloca /* predefined by HP cc +Olibcalls */
13482 void *alloca (size_t);
13492 char *p = (char *) alloca (1);
13498 if ac_fn_c_try_link
"$LINENO"; then :
13499 ac_cv_func_alloca_works
=yes
13501 ac_cv_func_alloca_works
=no
13503 rm -f core conftest.err conftest.
$ac_objext \
13504 conftest
$ac_exeext conftest.
$ac_ext
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13507 $as_echo "$ac_cv_func_alloca_works" >&6; }
13509 if test $ac_cv_func_alloca_works = yes; then
13511 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13514 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13515 # that cause trouble. Some versions do not even contain alloca or
13516 # contain a buggy version. If you still want to use their alloca,
13517 # use ar to extract alloca.o from them instead of compiling alloca.c.
13519 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
13521 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13525 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13526 if ${ac_cv_os_cray+:} false
; then :
13527 $as_echo_n "(cached) " >&6
13529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 #if defined CRAY && ! defined CRAY2
13538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13539 $EGREP "webecray" >/dev
/null
2>&1; then :
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13548 $as_echo "$ac_cv_os_cray" >&6; }
13549 if test $ac_cv_os_cray = yes; then
13550 for ac_func
in _getb67 GETB67 getb67
; do
13551 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13552 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13553 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13555 cat >>confdefs.h
<<_ACEOF
13556 #define CRAY_STACKSEG_END $ac_func
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13566 $as_echo_n "checking stack direction for C alloca... " >&6; }
13567 if ${ac_cv_c_stack_direction+:} false
; then :
13568 $as_echo_n "(cached) " >&6
13570 if test "$cross_compiling" = yes; then :
13571 ac_cv_c_stack_direction
=0
13573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 $ac_includes_default
13577 find_stack_direction ()
13579 static char *addr = 0;
13584 return find_stack_direction ();
13587 return (&dummy > addr) ? 1 : -1;
13593 return find_stack_direction () < 0;
13596 if ac_fn_c_try_run
"$LINENO"; then :
13597 ac_cv_c_stack_direction
=1
13599 ac_cv_c_stack_direction
=-1
13601 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13602 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13607 $as_echo "$ac_cv_c_stack_direction" >&6; }
13608 cat >>confdefs.h
<<_ACEOF
13609 #define STACK_DIRECTION $ac_cv_c_stack_direction
13615 for ac_header
in vfork.h
13617 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
13618 if test "x$ac_cv_header_vfork_h" = xyes
; then :
13619 cat >>confdefs.h
<<_ACEOF
13620 #define HAVE_VFORK_H 1
13627 for ac_func
in fork vfork
13629 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13630 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13631 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13632 cat >>confdefs.h
<<_ACEOF
13633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13639 if test "x$ac_cv_func_fork" = xyes
; then
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
13641 $as_echo_n "checking for working fork... " >&6; }
13642 if ${ac_cv_func_fork_works+:} false
; then :
13643 $as_echo_n "(cached) " >&6
13645 if test "$cross_compiling" = yes; then :
13646 ac_cv_func_fork_works
=cross
13648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13650 $ac_includes_default
13655 /* By Ruediger Kuhlmann. */
13656 return fork () < 0;
13662 if ac_fn_c_try_run
"$LINENO"; then :
13663 ac_cv_func_fork_works
=yes
13665 ac_cv_func_fork_works
=no
13667 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13668 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
13673 $as_echo "$ac_cv_func_fork_works" >&6; }
13676 ac_cv_func_fork_works
=$ac_cv_func_fork
13678 if test "x$ac_cv_func_fork_works" = xcross
; then
13680 *-*-amigaos* | *-*-msdosdjgpp*)
13681 # Override, as these systems have only a dummy fork() stub
13682 ac_cv_func_fork_works
=no
13685 ac_cv_func_fork_works
=yes
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
13689 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
13691 ac_cv_func_vfork_works
=$ac_cv_func_vfork
13692 if test "x$ac_cv_func_vfork" = xyes
; then
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
13694 $as_echo_n "checking for working vfork... " >&6; }
13695 if ${ac_cv_func_vfork_works+:} false
; then :
13696 $as_echo_n "(cached) " >&6
13698 if test "$cross_compiling" = yes; then :
13699 ac_cv_func_vfork_works
=cross
13701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13703 /* Thanks to Paul Eggert for this test. */
13704 $ac_includes_default
13705 #include <sys/wait.h>
13706 #ifdef HAVE_VFORK_H
13707 # include <vfork.h>
13709 /* On some sparc systems, changes by the child to local and incoming
13710 argument registers are propagated back to the parent. The compiler
13711 is told about this with #include <vfork.h>, but some compilers
13712 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
13713 static variable whose address is put into a register that is
13714 clobbered by the vfork. */
13717 sparc_address_test (int arg)
13719 sparc_address_test (arg) int arg;
13722 static pid_t child;
13740 pid_t parent = getpid ();
13743 sparc_address_test (0);
13748 /* Here is another test for sparc vfork register problems. This
13749 test uses lots of local variables, at least as many local
13750 variables as main has allocated so far including compiler
13751 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
13752 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
13753 reuse the register of parent for one of the local variables,
13754 since it will think that parent can't possibly be used any more
13755 in this routine. Assigning to the local variable will thus
13756 munge parent in the parent process. */
13758 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
13759 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
13760 /* Convince the compiler that p..p7 are live; otherwise, it might
13761 use the same hardware register for all 8 local variables. */
13762 if (p != p1 || p != p2 || p != p3 || p != p4
13763 || p != p5 || p != p6 || p != p7)
13766 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
13767 from child file descriptors. If the child closes a descriptor
13768 before it execs or exits, this munges the parent's descriptor
13769 as well. Test for this by closing stdout in the child. */
13770 _exit(close(fileno(stdout)) != 0);
13775 while (wait(&status) != child)
13778 /* Was there some problem with vforking? */
13781 /* Did the child fail? (This shouldn't happen.) */
13784 /* Did the vfork/compiler bug occur? */
13785 || parent != getpid()
13787 /* Did the file descriptor bug occur? */
13788 || fstat(fileno(stdout), &st) != 0
13793 if ac_fn_c_try_run
"$LINENO"; then :
13794 ac_cv_func_vfork_works
=yes
13796 ac_cv_func_vfork_works
=no
13798 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13799 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13804 $as_echo "$ac_cv_func_vfork_works" >&6; }
13807 if test "x$ac_cv_func_fork_works" = xcross
; then
13808 ac_cv_func_vfork_works
=$ac_cv_func_vfork
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13810 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13813 if test "x$ac_cv_func_vfork_works" = xyes
; then
13815 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13819 $as_echo "#define vfork fork" >>confdefs.h
13822 if test "x$ac_cv_func_fork_works" = xyes
; then
13824 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13831 for ac_header
in $ac_header_list
13833 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13834 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13836 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13837 cat >>confdefs.h
<<_ACEOF
13838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13852 for ac_func
in getpagesize
13854 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13855 if test "x$ac_cv_func_getpagesize" = xyes
; then :
13856 cat >>confdefs.h
<<_ACEOF
13857 #define HAVE_GETPAGESIZE 1
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13864 $as_echo_n "checking for working mmap... " >&6; }
13865 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 if test "$cross_compiling" = yes; then :
13869 ac_cv_func_mmap_fixed_mapped
=no
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 $ac_includes_default
13874 /* malloc might have been renamed as rpl_malloc. */
13877 /* Thanks to Mike Haertel and Jim Avera for this test.
13878 Here is a matrix of mmap possibilities:
13879 mmap private not fixed
13880 mmap private fixed at somewhere currently unmapped
13881 mmap private fixed at somewhere already mapped
13882 mmap shared not fixed
13883 mmap shared fixed at somewhere currently unmapped
13884 mmap shared fixed at somewhere already mapped
13885 For private mappings, we should verify that changes cannot be read()
13886 back from the file, nor mmap's back from the file at a different
13887 address. (There have been systems where private was not correctly
13888 implemented like the infamous i386 svr4.0, and systems where the
13889 VM page cache was not coherent with the file system buffer cache
13890 like early versions of FreeBSD and possibly contemporary NetBSD.)
13891 For shared mappings, we should conversely verify that changes get
13892 propagated back to all the places they're supposed to be.
13894 Grep wants private fixed already mapped.
13895 The main things grep needs to know about mmap are:
13896 * does it exist and is it safe to write into the mmap'd area
13897 * how to use it (BSD variants) */
13900 #include <sys/mman.h>
13902 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13906 /* This mess was copied from the GNU getpagesize.h. */
13907 #ifndef HAVE_GETPAGESIZE
13908 # ifdef _SC_PAGESIZE
13909 # define getpagesize() sysconf(_SC_PAGESIZE)
13910 # else /* no _SC_PAGESIZE */
13911 # ifdef HAVE_SYS_PARAM_H
13912 # include <sys/param.h>
13913 # ifdef EXEC_PAGESIZE
13914 # define getpagesize() EXEC_PAGESIZE
13915 # else /* no EXEC_PAGESIZE */
13917 # define getpagesize() NBPG * CLSIZE
13920 # endif /* no CLSIZE */
13921 # else /* no NBPG */
13923 # define getpagesize() NBPC
13924 # else /* no NBPC */
13926 # define getpagesize() PAGESIZE
13927 # endif /* PAGESIZE */
13928 # endif /* no NBPC */
13929 # endif /* no NBPG */
13930 # endif /* no EXEC_PAGESIZE */
13931 # else /* no HAVE_SYS_PARAM_H */
13932 # define getpagesize() 8192 /* punt totally */
13933 # endif /* no HAVE_SYS_PARAM_H */
13934 # endif /* no _SC_PAGESIZE */
13936 #endif /* no HAVE_GETPAGESIZE */
13941 char *data, *data2, *data3;
13942 const char *cdata2;
13946 pagesize = getpagesize ();
13948 /* First, make a file with some known garbage in it. */
13949 data = (char *) malloc (pagesize);
13952 for (i = 0; i < pagesize; ++i)
13953 *(data + i) = rand ();
13955 fd = creat ("conftest.mmap", 0600);
13958 if (write (fd, data, pagesize) != pagesize)
13962 /* Next, check that the tail of a page is zero-filled. File must have
13963 non-zero length, otherwise we risk SIGBUS for entire page. */
13964 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13968 if (write (fd2, cdata2, 1) != 1)
13970 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13971 if (data2 == MAP_FAILED)
13973 for (i = 0; i < pagesize; ++i)
13977 if (munmap (data2, pagesize))
13980 /* Next, try to mmap the file at a fixed address which already has
13981 something else allocated at it. If we can, also make sure that
13982 we see the same garbage. */
13983 fd = open ("conftest.mmap", O_RDWR);
13986 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13987 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13989 for (i = 0; i < pagesize; ++i)
13990 if (*(data + i) != *(data2 + i))
13993 /* Finally, make sure that changes to the mapped area do not
13994 percolate back to the file as seen by read(). (This is a bug on
13995 some variants of i386 svr4.0.) */
13996 for (i = 0; i < pagesize; ++i)
13997 *(data2 + i) = *(data2 + i) + 1;
13998 data3 = (char *) malloc (pagesize);
14001 if (read (fd, data3, pagesize) != pagesize)
14003 for (i = 0; i < pagesize; ++i)
14004 if (*(data + i) != *(data3 + i))
14010 if ac_fn_c_try_run
"$LINENO"; then :
14011 ac_cv_func_mmap_fixed_mapped
=yes
14013 ac_cv_func_mmap_fixed_mapped
=no
14015 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14016 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14021 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14022 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14024 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14027 rm -f conftest.mmap conftest.txt
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/poll" >&5
14031 $as_echo_n "checking for /dev/poll... " >&6; }
14032 if test -c "/dev/poll"; then
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14034 $as_echo "yes" >&6; }
14036 $as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14040 $as_echo "no" >&6; }
14044 if test "$is_mingw" = "yes"; then
14046 $as_echo "#define HAVE_WIN32 1" >>confdefs.h
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14052 $as_echo_n "checking for OpenSSL... " >&6; }
14053 # Check whether --enable-openssl was given.
14054 if test "${enable_openssl+set}" = set; then :
14055 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
14057 cf_enable_openssl
="auto"
14061 if test "$cf_enable_openssl" != "no" ; then
14062 cf_openssl_basedir
=""
14063 if test "$cf_enable_openssl" != "auto" &&
14064 test "$cf_enable_openssl" != "yes" ; then
14065 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
14067 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
14068 /usr
/local
/openssl
; do
14069 if test -f "${dirs}/include/openssl/opensslv.h" ; then
14070 cf_openssl_basedir
="${dirs}"
14076 if test ! -z "$cf_openssl_basedir"; then
14077 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
14078 SSL_CFLAGS
="-I${cf_openssl_basedir}/include"
14079 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
14081 cf_openssl_basedir
=""
14084 if test -f "/usr/include/openssl/opensslv.h" ; then
14085 cf_openssl_basedir
="/usr"
14089 if test ! -z "$cf_openssl_basedir"; then
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14091 $as_echo "$cf_openssl_basedir" >&6; }
14092 cf_enable_openssl
="yes"
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
14095 $as_echo "not found. Specify a correct path?" >&6; }
14096 cf_enable_openssl
="no"
14098 unset cf_openssl_basedir
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14101 $as_echo "disabled" >&6; }
14104 save_CPPFLAGS
="$CPPFLAGS"
14105 CPPFLAGS
="$CPPFLAGS $SSL_CFLAGS"
14107 LIBS
="$LIBS $SSL_LIBS"
14108 if test "$cf_enable_openssl" != no
; then
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14110 $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14111 if test "$cross_compiling" = yes; then :
14112 cf_enable_openssl
=no
14114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14116 #include <openssl/opensslv.h>
14117 #include <stdlib.h>
14121 if (OPENSSL_VERSION_NUMBER >= 0x00907000)
14122 exit(0); else exit(1);
14127 if ac_fn_c_try_run
"$LINENO"; then :
14128 cf_enable_openssl
=yes
14130 cf_enable_openssl
=no
14132 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14133 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14137 if test "$cf_enable_openssl" != no
; then
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14139 $as_echo "found" >&6; }
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14142 $as_echo "no - OpenSSL support disabled" >&6; }
14148 if test "$cf_enable_openssl" != no
; then
14149 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_status in -lcrypto" >&5
14151 $as_echo_n "checking for RAND_status in -lcrypto... " >&6; }
14152 if ${ac_cv_lib_crypto_RAND_status+:} false
; then :
14153 $as_echo_n "(cached) " >&6
14155 ac_check_lib_save_LIBS
=$LIBS
14156 LIBS
="-lcrypto $LIBS"
14157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14160 /* Override any GCC internal prototype to avoid an error.
14161 Use char because int might match the return type of a GCC
14162 builtin and then its argument prototype would still apply. */
14166 char RAND_status ();
14170 return RAND_status ();
14175 if ac_fn_c_try_link
"$LINENO"; then :
14176 ac_cv_lib_crypto_RAND_status
=yes
14178 ac_cv_lib_crypto_RAND_status
=no
14180 rm -f core conftest.err conftest.
$ac_objext \
14181 conftest
$ac_exeext conftest.
$ac_ext
14182 LIBS
=$ac_check_lib_save_LIBS
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_status" >&5
14185 $as_echo "$ac_cv_lib_crypto_RAND_status" >&6; }
14186 if test "x$ac_cv_lib_crypto_RAND_status" = xyes
; then :
14187 cf_enable_openssl
=yes
14189 cf_enable_openssl
=no
14194 if test "$cf_enable_openssl" != no
; then
14195 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_read in -lssl" >&5
14197 $as_echo_n "checking for SSL_read in -lssl... " >&6; }
14198 if ${ac_cv_lib_ssl_SSL_read+:} false
; then :
14199 $as_echo_n "(cached) " >&6
14201 ac_check_lib_save_LIBS
=$LIBS
14202 LIBS
="-lssl -lcrypto $LIBS"
14203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14216 return SSL_read ();
14221 if ac_fn_c_try_link
"$LINENO"; then :
14222 ac_cv_lib_ssl_SSL_read
=yes
14224 ac_cv_lib_ssl_SSL_read
=no
14226 rm -f core conftest.err conftest.
$ac_objext \
14227 conftest
$ac_exeext conftest.
$ac_ext
14228 LIBS
=$ac_check_lib_save_LIBS
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_read" >&5
14231 $as_echo "$ac_cv_lib_ssl_SSL_read" >&6; }
14232 if test "x$ac_cv_lib_ssl_SSL_read" = xyes
; then :
14233 SSL_LIBS
="$SSL_LIBS -lssl -lcrypto"
14235 cf_enable_openssl
=no
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GnuTLS" >&5
14243 $as_echo_n "checking for GnuTLS... " >&6; }
14244 # Check whether --enable-gnutls was given.
14245 if test "${enable_gnutls+set}" = set; then :
14246 enableval
=$enable_gnutls; cf_enable_gnutls
=$enableval
14248 cf_enable_gnutls
="auto"
14252 if test "$cf_enable_gnutls" != no
; then
14260 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14261 if test -n "$ac_tool_prefix"; then
14262 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14263 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14265 $as_echo_n "checking for $ac_word... " >&6; }
14266 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
14267 $as_echo_n "(cached) " >&6
14269 case $PKG_CONFIG in
14271 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14275 for as_dir
in $PATH
14278 test -z "$as_dir" && as_dir
=.
14279 for ac_exec_ext
in '' $ac_executable_extensions; do
14280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14281 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14292 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
14293 if test -n "$PKG_CONFIG"; then
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14295 $as_echo "$PKG_CONFIG" >&6; }
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14298 $as_echo "no" >&6; }
14303 if test -z "$ac_cv_path_PKG_CONFIG"; then
14304 ac_pt_PKG_CONFIG
=$PKG_CONFIG
14305 # Extract the first word of "pkg-config", so it can be a program name with args.
14306 set dummy pkg
-config; ac_word
=$2
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14308 $as_echo_n "checking for $ac_word... " >&6; }
14309 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
14310 $as_echo_n "(cached) " >&6
14312 case $ac_pt_PKG_CONFIG in
14314 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14318 for as_dir
in $PATH
14321 test -z "$as_dir" && as_dir
=.
14322 for ac_exec_ext
in '' $ac_executable_extensions; do
14323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14324 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14335 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
14336 if test -n "$ac_pt_PKG_CONFIG"; then
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14338 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14341 $as_echo "no" >&6; }
14344 if test "x$ac_pt_PKG_CONFIG" = x
; then
14347 case $cross_compiling:$ac_tool_warned in
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14351 ac_tool_warned
=yes ;;
14353 PKG_CONFIG
=$ac_pt_PKG_CONFIG
14356 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14360 if test -n "$PKG_CONFIG"; then
14361 _pkg_min_version
=0.9.0
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14363 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14364 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14366 $as_echo "yes" >&6; }
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14369 $as_echo "no" >&6; }
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5
14376 $as_echo_n "checking for GNUTLS... " >&6; }
14378 if test -n "$GNUTLS_CFLAGS"; then
14379 pkg_cv_GNUTLS_CFLAGS
="$GNUTLS_CFLAGS"
14380 elif test -n "$PKG_CONFIG"; then
14381 if test -n "$PKG_CONFIG" && \
14382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
14383 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
14385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14386 test $ac_status = 0; }; then
14387 pkg_cv_GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags "gnutls" 2>/dev/null`
14388 test "x$?" != "x0" && pkg_failed
=yes
14395 if test -n "$GNUTLS_LIBS"; then
14396 pkg_cv_GNUTLS_LIBS
="$GNUTLS_LIBS"
14397 elif test -n "$PKG_CONFIG"; then
14398 if test -n "$PKG_CONFIG" && \
14399 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls\""; } >&5
14400 ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
14402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14403 test $ac_status = 0; }; then
14404 pkg_cv_GNUTLS_LIBS
=`$PKG_CONFIG --libs "gnutls" 2>/dev/null`
14405 test "x$?" != "x0" && pkg_failed
=yes
14415 if test $pkg_failed = yes; then
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14417 $as_echo "no" >&6; }
14419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14420 _pkg_short_errors_supported
=yes
14422 _pkg_short_errors_supported
=no
14424 if test $_pkg_short_errors_supported = yes; then
14425 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls" 2>&1`
14427 GNUTLS_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "gnutls" 2>&1`
14429 # Put the nasty error message in config.log where it belongs
14430 echo "$GNUTLS_PKG_ERRORS" >&5
14432 cf_enable_gnutls
="no"
14433 elif test $pkg_failed = untried
; then
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14435 $as_echo "no" >&6; }
14436 cf_enable_gnutls
="no"
14438 GNUTLS_CFLAGS
=$pkg_cv_GNUTLS_CFLAGS
14439 GNUTLS_LIBS
=$pkg_cv_GNUTLS_LIBS
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14441 $as_echo "yes" >&6; }
14443 cf_enable_gnutls
="yes"
14448 if test "$cf_enable_gnutls" = "auto" -a "$cf_enable_openssl" = "yes"; then
14449 cf_enable_gnutls
="no"
14452 if test x
"$cf_enable_openssl" != xno
; then
14454 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
14459 elif test x
"$cf_enable_gnutls" != xno
; then
14461 $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h
14471 CPPFLAGS
="$save_CPPFLAGS"
14479 # Check whether --enable-assert was given.
14480 if test "${enable_assert+set}" = set; then :
14481 enableval
=$enable_assert; assert
=$enableval
14487 if test "$assert" = no
; then
14489 $as_echo "#define NDEBUG 1" >>confdefs.h
14491 elif test "$assert" = soft
; then
14493 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
14496 $as_echo "#define NDEBUG 1" >>confdefs.h
14498 elif test "$assert" = yes; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
14503 $as_echo_n "checking if you want to do a profile build... " >&6; }
14504 # Check whether --enable-profile was given.
14505 if test "${enable_profile+set}" = set; then :
14506 enableval
=$enable_profile; profile
=$enableval
14512 if test "$profile" = yes; then
14513 if test "$ac_cv_c_compiler_gnu" = yes; then
14514 CFLAGS
="$CFLAGS -pg -static"
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg -static" >&5
14516 $as_echo "yes, adding -pg -static" >&6; }
14518 $as_echo "#define RATBOX_PROFILE 1" >>confdefs.h
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
14522 $as_echo "no, profile builds only work with gcc" >&6; }
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14526 $as_echo "no" >&6; }
14529 # Check whether --enable-balloc was given.
14530 if test "${enable_balloc+set}" = set; then :
14531 enableval
=$enable_balloc; balloc
=$enableval
14537 if test "$balloc" = no
; then
14539 $as_echo "#define NOBALLOC 1" >>confdefs.h
14543 # Check whether --enable-warnings was given.
14544 if test "${enable_warnings+set}" = set; then :
14545 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"
14558 if test "$prefix" = "NONE"; then
14560 cat >>confdefs.h
<<_ACEOF
14561 #define RB_PREFIX "$ac_default_prefix"
14568 prefix
=`echo $prefix | sed 's/\/$//'`
14570 cat >>confdefs.h
<<_ACEOF
14571 #define RB_PREFIX "$prefix"
14579 ac_config_commands
="$ac_config_commands include/librb-config.h"
14583 ac_config_files
="$ac_config_files src/Makefile Makefile libratbox.pc"
14586 cat >confcache
<<\_ACEOF
14587 # This file is a shell script that caches the results of configure
14588 # tests run on this system so they can be shared between configure
14589 # scripts and configure runs, see configure's option --config-cache.
14590 # It is not useful on other systems. If it contains results you don't
14591 # want to keep, you may remove or edit it.
14593 # config.status only pays attention to the cache file if you give it
14594 # the --recheck option to rerun configure.
14596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14598 # following values.
14602 # The following way of writing the cache mishandles newlines in values,
14603 # but we know of no workaround that is simple, portable, and efficient.
14604 # So, we kill variables containing newlines.
14605 # Ultrix sh set writes to stderr and can't be redirected directly,
14606 # and sets the high bit in the cache file unless we assign to the vars.
14608 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14609 eval ac_val
=\$
$ac_var
14613 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14614 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14617 _
| IFS
| as_nl
) ;; #(
14618 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
14619 *) { eval $ac_var=; unset $ac_var;} ;;
14625 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14626 *${as_nl}ac_space
=\
*)
14627 # `set' does not quote correctly, so add quotes: double-quote
14628 # substitution turns \\\\ into \\, and sed turns \\ into \.
14631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14634 # `set' quotes correctly as required by POSIX, so do not add quotes.
14635 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14644 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14646 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14648 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14649 if test -w "$cache_file"; then
14650 if test "x$cache_file" != "x/dev/null"; then
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14652 $as_echo "$as_me: updating cache $cache_file" >&6;}
14653 if test ! -f "$cache_file" || test -h "$cache_file"; then
14654 cat confcache
>"$cache_file"
14656 case $cache_file in #(
14658 mv -f confcache
"$cache_file"$$
&&
14659 mv -f "$cache_file"$$
"$cache_file" ;; #(
14661 mv -f confcache
"$cache_file" ;;
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14667 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14672 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14673 # Let make expand exec_prefix.
14674 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14676 DEFS
=-DHAVE_CONFIG_H
14681 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14682 # 1. Remove the extension, and $U if already installed.
14683 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14684 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14685 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14686 # will be set to the directory where LIBOBJS objects are built.
14687 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14688 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14690 LIBOBJS
=$ac_libobjs
14692 LTLIBOBJS
=$ac_ltlibobjs
14695 if test -n "$EXEEXT"; then
14697 am__EXEEXT_FALSE
='#'
14699 am__EXEEXT_TRUE
='#'
14703 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14704 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14707 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14708 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14711 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14712 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14716 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
14717 as_fn_error $?
"conditional \"MINGW\" was never defined.
14718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14721 : "${CONFIG_STATUS=./config.status}"
14723 ac_clean_files_save
=$ac_clean_files
14724 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14726 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14728 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14730 # Generated by $as_me.
14731 # Run this file to recreate the current configuration.
14732 # Compiler output produced by configure, useful for debugging
14733 # configure, is in config.log if it exists.
14736 ac_cs_recheck=false
14739 SHELL=\${CONFIG_SHELL-$SHELL}
14742 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
14743 ## -------------------- ##
14744 ## M4sh Initialization. ##
14745 ## -------------------- ##
14747 # Be more Bourne compatible
14748 DUALCASE
=1; export DUALCASE
# for MKS sh
14749 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14752 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14753 # is contrary to our usage. Disable this feature.
14754 alias -g '${1+"$@"}'='"$@"'
14755 setopt NO_GLOB_SUBST
14757 case `(set -o) 2>/dev/null` in #(
14769 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14770 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14772 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14773 # Prefer a ksh shell builtin over an external printf program on Solaris,
14774 # but without wasting forks for bash or zsh.
14775 if test -z "$BASH_VERSION$ZSH_VERSION" \
14776 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14777 as_echo='print
-r --'
14778 as_echo_n='print
-rn --'
14779 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14780 as_echo='printf %s
\n'
14781 as_echo_n='printf %s
'
14783 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14784 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14785 as_echo_n='/usr
/ucb
/echo -n'
14787 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14788 as_echo_n_body='eval
14792 expr "X$arg" : "X\\(.*\\)$as_nl";
14793 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14795 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14797 export as_echo_n_body
14798 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14800 export as_echo_body
14801 as_echo='sh
-c $as_echo_body as_echo
'
14804 # The user is always right.
14805 if test "${PATH_SEPARATOR+set}" != set; then
14807 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14808 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14815 # We need space, tab and new line, in precisely that order. Quoting is
14816 # there to prevent editors from complaining about space-tab.
14817 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14818 # splitting by setting IFS to empty value.)
14821 # Find who we are. Look in the path if we contain no directory separator.
14824 *[\\/]* ) as_myself=$0 ;;
14825 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14826 for as_dir in $PATH
14829 test -z "$as_dir" && as_dir=.
14830 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14836 # We did not find ourselves, most probably we were run as `sh COMMAND'
14837 # in which case we are not to be found in the path.
14838 if test "x$as_myself" = x
; then
14841 if test ! -f "$as_myself"; then
14842 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14846 # Unset variables that we do not need and which cause bugs (e.g. in
14847 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14848 # suppresses any "Segmentation fault" message there. '((' could
14849 # trigger a bug in pdksh 5.2.14.
14850 for as_var
in BASH_ENV ENV MAIL MAILPATH
14851 do eval test x\
${$as_var+set} = xset \
14852 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
14865 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14868 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14869 # ----------------------------------------
14870 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14871 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14872 # script with STATUS, using 1 if that was 0.
14875 as_status
=$1; test $as_status -eq 0 && as_status
=1
14877 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14878 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14880 $as_echo "$as_me: error: $2" >&2
14881 as_fn_exit
$as_status
14885 # as_fn_set_status STATUS
14886 # -----------------------
14887 # Set $? to STATUS, without forking.
14888 as_fn_set_status
()
14891 } # as_fn_set_status
14893 # as_fn_exit STATUS
14894 # -----------------
14895 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14899 as_fn_set_status
$1
14905 # Portably unset VAR.
14908 { eval $1=; unset $1;}
14910 as_unset
=as_fn_unset
14911 # as_fn_append VAR VALUE
14912 # ----------------------
14913 # Append the text in VALUE to the end of the definition contained in VAR. Take
14914 # advantage of any shell optimizations that allow amortized linear growth over
14915 # repeated appends, instead of the typical quadratic growth present in naive
14917 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14918 eval 'as_fn_append ()
14929 # as_fn_arith ARG...
14930 # ------------------
14931 # Perform arithmetic evaluation on the ARGs, and store the result in the
14932 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14933 # must be portable across $(()) and expr.
14934 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14935 eval 'as_fn_arith ()
14942 as_val
=`expr "$@" || test $? -eq 1`
14947 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14948 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14954 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14955 as_basename
=basename
14960 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14966 as_me
=`$as_basename -- "$0" ||
14967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14968 X"$0" : 'X\(//\)$' \| \
14969 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14971 sed '/^.*\/\([^/][^/]*\)\/*$/{
14985 # Avoid depending upon Character Ranges.
14986 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14987 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14988 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14989 as_cr_digits
='0123456789'
14990 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14992 ECHO_C
= ECHO_N
= ECHO_T
=
14993 case `echo -n x` in #(((((
14995 case `echo 'xy\c'` in
14996 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14998 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15005 rm -f conf$$ conf$$.exe conf$$.
file
15006 if test -d conf$$.dir
; then
15007 rm -f conf$$.dir
/conf$$.
file
15010 mkdir conf$$.dir
2>/dev
/null
15012 if (echo >conf$$.
file) 2>/dev
/null
; then
15013 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15015 # ... but there are two gotchas:
15016 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15017 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15018 # In both cases, we have to default to `cp -p'.
15019 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
15021 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15029 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15030 rmdir conf$$.dir
2>/dev
/null
15035 # Create "$as_dir" as a directory, including parents if necessary.
15040 -*) as_dir
=.
/$as_dir;;
15042 test -d "$as_dir" || eval $as_mkdir_p || {
15046 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15047 *) as_qdir
=$as_dir;;
15049 as_dirs
="'$as_qdir' $as_dirs"
15050 as_dir
=`$as_dirname -- "$as_dir" ||
15051 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15052 X"$as_dir" : 'X\(//\)[^/]' \| \
15053 X"$as_dir" : 'X\(//\)$' \| \
15054 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15055 $as_echo X"$as_dir" |
15056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15060 /^X\(\/\/\)[^/].*/{
15073 test -d "$as_dir" && break
15075 test -z "$as_dirs" || eval "mkdir $as_dirs"
15076 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15080 if mkdir -p .
2>/dev
/null
; then
15081 as_mkdir_p
='mkdir -p "$as_dir"'
15083 test -d .
/-p && rmdir .
/-p
15087 if test -x / >/dev
/null
2>&1; then
15088 as_test_x
='test -x'
15090 if ls -dL / >/dev
/null
2>&1; then
15097 if test -d "$1"; then
15103 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15104 ???[sx]*):;;*)false;;esac;fi
15108 as_executable_p
=$as_test_x
15110 # Sed expression to map a string onto a valid CPP name.
15111 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15113 # Sed expression to map a string onto a valid variable name.
15114 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15118 ## ----------------------------------- ##
15119 ## Main body of $CONFIG_STATUS script. ##
15120 ## ----------------------------------- ##
15122 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15124 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15125 # Save the log message, to keep $0 and so on meaningful, and to
15126 # report actual input values of CONFIG_FILES etc. instead of their
15127 # values after options handling.
15129 This file was extended by libratbox $as_me devel, which was
15130 generated by GNU Autoconf 2.68. Invocation command line was
15132 CONFIG_FILES = $CONFIG_FILES
15133 CONFIG_HEADERS = $CONFIG_HEADERS
15134 CONFIG_LINKS = $CONFIG_LINKS
15135 CONFIG_COMMANDS = $CONFIG_COMMANDS
15138 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15143 case $ac_config_files in *"
15144 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15147 case $ac_config_headers in *"
15148 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15153 # Files that config.status was made for.
15154 config_files="$ac_config_files"
15155 config_headers="$ac_config_headers"
15156 config_commands="$ac_config_commands"
15160 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15162 \`$as_me' instantiates files and other configuration actions
15163 from templates according to the current configuration. Unless the files
15164 and actions are specified as TAGs, all are instantiated by default.
15166 Usage: $0 [OPTION]... [TAG]...
15168 -h, --help print this help, then exit
15169 -V, --version print version number and configuration settings, then exit
15170 --config print configuration, then exit
15171 -q, --quiet, --silent
15172 do not print progress messages
15173 -d, --debug don't remove temporary files
15174 --recheck update $as_me by reconfiguring in the same conditions
15175 --file=FILE[:TEMPLATE]
15176 instantiate the configuration file FILE
15177 --header=FILE[:TEMPLATE]
15178 instantiate the configuration header FILE
15180 Configuration files:
15183 Configuration headers:
15186 Configuration commands:
15189 Report bugs to the package provider."
15192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15193 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15195 libratbox config.status devel
15196 configured by $0, generated by GNU Autoconf 2.68,
15197 with options \\"\$ac_cs_config\\"
15199 Copyright (C) 2010 Free Software Foundation, Inc.
15200 This config.status script is free software; the Free Software Foundation
15201 gives unlimited permission to copy, distribute and modify it."
15208 test -n "\$AWK" || AWK=awk
15211 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15212 # The default lists apply if the user does not specify any file.
15218 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15219 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15223 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15235 # Handling of the options.
15236 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15238 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15239 $as_echo "$ac_cs_version"; exit ;;
15240 --config | --confi | --conf | --con | --co | --c )
15241 $as_echo "$ac_cs_config"; exit ;;
15242 --debug | --debu | --deb | --de | --d | -d )
15244 --file | --fil | --fi | --f )
15247 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15248 '') as_fn_error $?
"missing file argument" ;;
15250 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15251 ac_need_defaults
=false
;;
15252 --header | --heade | --head | --hea )
15255 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15257 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15258 ac_need_defaults
=false
;;
15260 # Conflict between --help and --header
15261 as_fn_error $?
"ambiguous option: \`$1'
15262 Try \`$0 --help' for more information.";;
15263 --help | --hel | -h )
15264 $as_echo "$ac_cs_usage"; exit ;;
15265 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15266 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15269 # This is an error.
15270 -*) as_fn_error $?
"unrecognized option: \`$1'
15271 Try \`$0 --help' for more information." ;;
15273 *) as_fn_append ac_config_targets
" $1"
15274 ac_need_defaults
=false
;;
15280 ac_configure_extra_args
=
15282 if $ac_cs_silent; then
15284 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15289 if \$ac_cs_recheck; then
15290 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15292 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15293 CONFIG_SHELL='$SHELL'
15294 export CONFIG_SHELL
15299 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15303 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15304 ## Running $as_me. ##
15310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15314 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15317 # The HP-UX ksh and POSIX shell print the target directory to stdout
15318 # if CDPATH is set.
15319 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15321 sed_quote_subst='$sed_quote_subst'
15322 double_quote_subst='$double_quote_subst'
15323 delay_variable_subst='$delay_variable_subst'
15324 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15325 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15326 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15327 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15328 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15329 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15330 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15331 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15332 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15333 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15334 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15335 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15336 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15337 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15338 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15339 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15340 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15341 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15342 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15343 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15344 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15345 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15346 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15347 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15348 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15349 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15350 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15351 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15352 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15353 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15354 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15355 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15356 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15357 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15358 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15359 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15360 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15361 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15362 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15363 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15364 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15365 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15366 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15367 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15368 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15369 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15370 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15371 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15372 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15373 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15374 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15375 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15376 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15377 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15378 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15379 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15380 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15381 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15382 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15383 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15384 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15385 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15386 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15387 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15388 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15389 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15390 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15391 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15392 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15393 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15394 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15395 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15396 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15397 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15398 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15399 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15400 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15401 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15402 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15403 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15404 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15405 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15406 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15407 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15408 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15409 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15410 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15411 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15412 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15413 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15414 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15415 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15416 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15417 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15418 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15419 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15420 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15421 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15422 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15423 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15424 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15425 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15426 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15427 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15428 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15429 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15430 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15431 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15432 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15433 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15434 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15435 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15436 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15437 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15438 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15439 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15440 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15441 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15442 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15443 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15444 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15445 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15446 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15447 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15448 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15449 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15450 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15451 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15452 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15453 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15456 LTCFLAGS='$LTCFLAGS'
15457 compiler='$compiler_DEFAULT'
15459 # A function that is used when there is no print builtin or printf.
15460 func_fallback_echo ()
15462 eval 'cat <<_LTECHO_EOF
15467 # Quote evaled strings.
15481 deplibs_check_method \
15486 sharedlib_from_linklib_cmd \
15489 archiver_list_spec \
15495 lt_cv_sys_global_symbol_pipe \
15496 lt_cv_sys_global_symbol_to_cdecl \
15497 lt_cv_sys_global_symbol_to_c_name_address \
15498 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15499 nm_file_list_spec \
15500 lt_prog_compiler_no_builtin_flag \
15501 lt_prog_compiler_pic \
15502 lt_prog_compiler_wl \
15503 lt_prog_compiler_static \
15504 lt_cv_prog_compiler_c_o \
15513 export_dynamic_flag_spec \
15514 whole_archive_flag_spec \
15515 compiler_needs_object \
15517 allow_undefined_flag \
15518 no_undefined_flag \
15519 hardcode_libdir_flag_spec \
15520 hardcode_libdir_flag_spec_ld \
15521 hardcode_libdir_separator \
15525 variables_saved_for_relink \
15527 library_names_spec \
15529 install_override_mode \
15533 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15534 *[\\\\\\\`\\"\\\$]*)
15535 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15538 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15543 # Double-quote double-evaled strings.
15544 for var in reload_cmds \
15545 old_postinstall_cmds \
15546 old_postuninstall_cmds \
15548 extract_expsyms_cmds \
15549 old_archive_from_new_cmds \
15550 old_archive_from_expsyms_cmds \
15552 archive_expsym_cmds \
15554 module_expsym_cmds \
15555 export_symbols_cmds \
15559 postuninstall_cmds \
15561 sys_lib_search_path_spec \
15562 sys_lib_dlsearch_path_spec; do
15563 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15564 *[\\\\\\\`\\"\\\$]*)
15565 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15568 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15573 ac_aux_dir='$ac_aux_dir'
15574 xsi_shell='$xsi_shell'
15575 lt_shell_append='$lt_shell_append'
15577 # See if we are running on zsh, and set the options which allow our
15578 # commands through without removal of \ escapes INIT.
15579 if test -n "\${ZSH_VERSION+set}" ; then
15580 setopt NO_GLOB_SUBST
15586 TIMESTAMP='$TIMESTAMP'
15593 if test x$ac_cv_header_stdc = xyes; then
15596 if test x$ac_cv_header_stdlib_h = xyes; then
15597 rb_header_stdlib_h=yes
15599 if test x$ac_cv_header_string_h = xyes; then
15600 rb_header_string_h=yes
15602 if test x$ac_cv_header_memory_h = xyes; then
15603 rb_header_memory_h=yes
15605 if test "x${ac_cv_working_alloca_h+set}" = xset ; then
15606 rb_alloca_h="$ac_cv_working_alloca_h"
15608 rb_alloc_h="$ac_cv_header_alloca_h"
15610 if test x$ac_cv_member_struct_sockaddr_sa_len = xyes; then
15611 rb_sockaddr_sa_len=yes
15613 if test x$ac_cv_header_sys_socket_h = xyes; then
15614 rb_sys_socket_h=yes
15616 if test x$ac_cv_header_sys_types_h = xyes; then
15619 if test x$ac_cv_header_sys_stat_h = xyes; then
15622 if test x$ac_cv_header_sys_time_h = xyes; then
15625 if test x$ac_cv_header_time = xyes; then
15629 if test x$ac_cv_header_stdint_h = xyes; then
15632 if test x$ac_cv_header_inttypes_h = xyes; then
15635 if test x$ac_cv_header_netinet_in_h = xyes; then
15636 rb_netinet_in_h=yes
15639 if test x$ac_cv_header_crypt_h = xyes; then
15642 if test x$ac_cv_header_errno_h = xyes; then
15645 if test x$ac_cv_header_unistd_h = xyes; then
15648 if test x$ac_cv_header_windows_h = xyes; then
15651 if test x$ac_cv_header_winsock2_h = xyes; then
15655 rb_socklen_t=$rb_socklen_t
15657 if test "x$rb_have_sockaddr_storage" = "xyes"; then
15658 rb_sockaddr_storage="yes"
15660 rb_sockaddr_storage="no"
15663 rb_have_ipv6="$have_v6"
15675 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15677 # Handling of arguments.
15678 for ac_config_target
in $ac_config_targets
15680 case $ac_config_target in
15681 "include/libratbox_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/libratbox_config.h" ;;
15682 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15683 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15684 "include/librb-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/librb-config.h" ;;
15685 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15686 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15687 "libratbox.pc") CONFIG_FILES
="$CONFIG_FILES libratbox.pc" ;;
15689 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15694 # If the user did not use the arguments to specify the items to instantiate,
15695 # then the envvar interface is used. Set only those that are not.
15696 # We use the long form for the default assignment because of an extremely
15697 # bizarre bug on SunOS 4.1.3.
15698 if $ac_need_defaults; then
15699 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15700 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15701 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15704 # Have a temporary directory for convenience. Make it in the build tree
15705 # simply because there is no reason against having it here, and in addition,
15706 # creating and moving files from /tmp can sometimes cause problems.
15707 # Hook for its removal unless debugging.
15708 # Note that there is a small window in which the directory will not be cleaned:
15709 # after its creation but before its name has been assigned to `$tmp'.
15713 trap 'exit_status=$?
15714 : "${ac_tmp:=$tmp}"
15715 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15717 trap 'as_fn_exit 1' 1 2 13 15
15719 # Create a (secure) tmp directory for tmp files.
15722 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15726 tmp
=.
/conf$$
-$RANDOM
15727 (umask 077 && mkdir "$tmp")
15728 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15731 # Set up the scripts for CONFIG_FILES section.
15732 # No need to generate them if there are no CONFIG_FILES.
15733 # This happens for instance with `./config.status config.h'.
15734 if test -n "$CONFIG_FILES"; then
15737 ac_cr
=`echo X | tr X '\015'`
15738 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15739 # But we know of no other shell where ac_cr would be empty at this
15740 # point, so we can use a bashism as a fallback.
15741 if test "x$ac_cr" = x
; then
15742 eval ac_cr
=\$
\'\\r
\'
15744 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15745 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15748 ac_cs_awk_cr
=$ac_cr
15751 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15756 echo "cat >conf$$subs.awk <<_ACEOF" &&
15757 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15759 } >conf$$subs.sh ||
15760 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15761 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15763 for ac_last_try in false false false false false :; do
15764 . ./conf$$subs.sh ||
15765 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15767 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15768 if test $ac_delim_n = $ac_delim_num; then
15770 elif $ac_last_try; then
15771 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15773 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15776 rm -f conf$$subs.sh
15778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15779 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15783 s/^/S["/; s
/!.
*/"]=/
15793 s/\(.\{148\}\)..*/\1/
15795 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15800 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15807 s/\(.\{148\}\)..*/\1/
15809 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15813 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15818 ' <conf$$subs.awk | sed '
15823 ' >>$CONFIG_STATUS || ac_write_fail=1
15824 rm -f conf$$subs.awk
15825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15827 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15828 for (key in S) S_is_set[key] = 1
15834 nfields = split(line, field, "@
")
15836 len = length(field[1])
15837 for (i = 2; i < nfields; i++) {
15839 keylen = length(key)
15840 if (S_is_set[key]) {
15842 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15843 len += length(value) + length(field[++i])
15854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15855 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15856 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15859 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15860 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15863 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15864 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15865 # trailing colons and then remove the whole line if VPATH becomes empty
15866 # (actually we leave an empty line to preserve line numbers).
15867 if test "x
$srcdir" = x.; then
15868 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15887 fi # test -n "$CONFIG_FILES"
15889 # Set up the scripts for CONFIG_HEADERS section.
15890 # No need to generate them if there are no CONFIG_HEADERS.
15891 # This happens for instance with `./config.status Makefile'.
15892 if test -n "$CONFIG_HEADERS"; then
15893 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15897 # Transform confdefs.h into an awk script `defines.awk', embedded as
15898 # here-document in config.status, that substitutes the proper values into
15899 # config.h.in to produce config.h.
15901 # Create a delimiter string that does not exist in confdefs.h, to ease
15902 # handling of long lines.
15904 for ac_last_try in false false :; do
15905 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15906 if test -z "$ac_tt"; then
15908 elif $ac_last_try; then
15909 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15911 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15915 # For the awk script, D is an array of macro values keyed by name,
15916 # likewise P contains macro parameters if any. Preserve backslash
15917 # newline sequences.
15919 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15921 s/.\{148\}/&'"$ac_delim"'/g
15924 s/^[ ]*#[ ]*define[ ][ ]*/ /
15931 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15933 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15937 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15938 D["\
1"]=" \
3\\\\\\n
"\\/p
15940 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15945 s/.\{148\}/&'"$ac_delim"'/g
15950 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15953 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15955 ' <confdefs.h | sed '
15956 s/'"$ac_delim"'/"\\\
15957 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15960 for (key in D) D_is_set[key] = 1
15963 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15965 split(line, arg, " ")
15966 if (arg[1] == "#") {
15970 defundef
= substr
(arg
[1], 2)
15973 split(mac1
, mac2
, "(") #)
15975 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15976 if (D_is_set
[macro
]) {
15977 # Preserve the white space surrounding the "#".
15978 print prefix
"define", macro P
[macro
] D
[macro
]
15981 # Replace #undef with comments. This is necessary, for example,
15982 # in the case of _POSIX_SOURCE, which is predefined and required
15983 # on some systems where configure will not decide to define it.
15984 if (defundef
== "undef") {
15985 print
"/*", prefix defundef
, macro
, "*/"
15993 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15994 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15995 fi # test -n "$CONFIG_HEADERS"
15998 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16003 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16005 case $ac_mode$ac_tag in
16007 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16008 :[FH
]-) ac_tag
=-:-;;
16009 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16026 -) ac_f
="$ac_tmp/stdin";;
16027 *) # Look for the file first in the build tree, then in the source tree
16028 # (if the path is not absolute). The absolute path cannot be DOS-style,
16029 # because $ac_f cannot contain `:'.
16033 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16035 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16037 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16038 as_fn_append ac_file_inputs
" '$ac_f'"
16041 # Let's still pretend it is `configure' which instantiates (i.e., don't
16042 # use $as_me), people would be surprised to read:
16043 # /* config.h. Generated by config.status. */
16044 configure_input
='Generated from '`
16045 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16047 if test x
"$ac_file" != x
-; then
16048 configure_input
="$ac_file. $configure_input"
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16050 $as_echo "$as_me: creating $ac_file" >&6;}
16052 # Neutralize special characters interpreted by sed in replacement strings.
16053 case $configure_input in #(
16054 *\
&* | *\
|* | *\\* )
16055 ac_sed_conf_input
=`$as_echo "$configure_input" |
16056 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16057 *) ac_sed_conf_input
=$configure_input;;
16061 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16062 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16067 ac_dir
=`$as_dirname -- "$ac_file" ||
16068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16069 X"$ac_file" : 'X\(//\)[^/]' \| \
16070 X"$ac_file" : 'X\(//\)$' \| \
16071 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16072 $as_echo X"$ac_file" |
16073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16077 /^X\(\/\/\)[^/].*/{
16090 as_dir
="$ac_dir"; as_fn_mkdir_p
16094 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16096 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16097 # A ".." for each directory in $ac_dir_suffix.
16098 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16099 case $ac_top_builddir_sub in
16100 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16101 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16104 ac_abs_top_builddir
=$ac_pwd
16105 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16106 # for backward compatibility:
16107 ac_top_builddir
=$ac_top_build_prefix
16110 .
) # We are building in place.
16112 ac_top_srcdir
=$ac_top_builddir_sub
16113 ac_abs_top_srcdir
=$ac_pwd ;;
16114 [\\/]* | ?
:[\\/]* ) # Absolute name.
16115 ac_srcdir
=$srcdir$ac_dir_suffix;
16116 ac_top_srcdir
=$srcdir
16117 ac_abs_top_srcdir
=$srcdir ;;
16118 *) # Relative name.
16119 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16120 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16121 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16123 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16133 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16134 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16136 ac_MKDIR_P
=$MKDIR_P
16138 [\\/$
]* | ?
:[\\/]* ) ;;
16139 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16143 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16144 # If the template does not know about datarootdir, expand it.
16145 # FIXME: This hack should be removed a few years after 2.60.
16146 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16157 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16158 *datarootdir
*) ac_datarootdir_seen
=yes;;
16159 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16161 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16164 ac_datarootdir_hack='
16165 s&@datadir@&$datadir&g
16166 s&@docdir@&$docdir&g
16167 s&@infodir@&$infodir&g
16168 s&@localedir@&$localedir&g
16169 s&@mandir@&$mandir&g
16170 s&\\\${datarootdir}&$datarootdir&g' ;;
16174 # Neutralize VPATH when `$srcdir' = `.'.
16175 # Shell code in configure.ac might set extrasub.
16176 # FIXME: do we really want to maintain this feature?
16177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16178 ac_sed_extra="$ac_vpsub
16181 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16183 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
16184 s
|@configure_input@
|$ac_sed_conf_input|;t t
16185 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16186 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16187 s
&@srcdir@
&$ac_srcdir&;t t
16188 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16189 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16190 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16191 s
&@builddir@
&$ac_builddir&;t t
16192 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16193 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16194 s
&@INSTALL@
&$ac_INSTALL&;t t
16195 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16196 $ac_datarootdir_hack
16198 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16199 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16201 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16202 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16203 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16204 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16206 which seems to be undefined. Please make sure it is defined" >&5
16207 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16208 which seems to be undefined. Please make sure it is defined" >&2;}
16210 rm -f "$ac_tmp/stdin"
16212 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16213 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16215 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16221 if test x"$ac_file" != x-; then
16223 $as_echo "/* $configure_input */" \
16224 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16225 } >"$ac_tmp/config.h" \
16226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16227 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16229 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16232 mv "$ac_tmp/config.h" "$ac_file" \
16233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16236 $as_echo "/* $configure_input */" \
16237 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16238 || as_fn_error $? "could not create -" "$LINENO" 5
16240 # Compute "$ac_file"'s index
in $config_headers.
16243 for _am_header
in $config_headers :; do
16244 case $_am_header in
16245 $_am_arg | $_am_arg:* )
16248 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16251 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16252 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16253 X"$_am_arg" : 'X\(//\)[^/]' \| \
16254 X"$_am_arg" : 'X\(//\)$' \| \
16255 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16256 $as_echo X"$_am_arg" |
16257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16261 /^X\(\/\/\)[^/].*/{
16273 s/.*/./; q'`/stamp
-h$_am_stamp_count
16276 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16277 $as_echo "$as_me: executing $ac_file commands" >&6;}
16282 case $ac_file$ac_mode in
16283 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
16284 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16285 # are listed without --file. Let's play safe and only enable the eval
16286 # if we detect the quoting.
16287 case $CONFIG_FILES in
16288 *\'*) eval set x
"$CONFIG_FILES" ;;
16289 *) set x
$CONFIG_FILES ;;
16294 # Strip MF so we end up with the name of the file.
16295 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16296 # Check whether this is an Automake generated Makefile or not.
16297 # We used to match only the files named `Makefile.in', but
16298 # some people rename them; so instead we look at the file content.
16299 # Grep'ing the first line is not enough: some people post-process
16300 # each Makefile.in and add a new line on top of each file to say so.
16301 # Grep'ing the whole file is not good either: AIX grep has a line
16302 # limit of 2048, but all sed's we know have understand at least 4000.
16303 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
16304 dirpart
=`$as_dirname -- "$mf" ||
16305 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16306 X"$mf" : 'X\(//\)[^/]' \| \
16307 X"$mf" : 'X\(//\)$' \| \
16308 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16314 /^X\(\/\/\)[^/].*/{
16330 # Extract the definition of DEPDIR, am__include, and am__quote
16331 # from the Makefile without running `make'.
16332 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16333 test -z "$DEPDIR" && continue
16334 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16335 test -z "am__include" && continue
16336 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16337 # When using ansi2knr, U may be empty or an underscore; expand it
16338 U
=`sed -n 's/^U = //p' < "$mf"`
16339 # Find all dependency output files, they are included files with
16340 # $(DEPDIR) in their names. We invoke sed twice because it is the
16341 # simplest approach to changing $(DEPDIR) to its actual value in the
16343 for file in `sed -n "
16344 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16345 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16346 # Make sure the directory exists.
16347 test -f "$dirpart/$file" && continue
16348 fdir
=`$as_dirname -- "$file" ||
16349 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16350 X"$file" : 'X\(//\)[^/]' \| \
16351 X"$file" : 'X\(//\)$' \| \
16352 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16353 $as_echo X"$file" |
16354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16358 /^X\(\/\/\)[^/].*/{
16371 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16372 # echo "creating $dirpart/$file"
16373 echo '# dummy' > "$dirpart/$file"
16380 # See if we are running on zsh, and set the options which allow our
16381 # commands through without removal of \ escapes.
16382 if test -n "${ZSH_VERSION+set}" ; then
16383 setopt NO_GLOB_SUBST
16386 cfgfile
="${ofile}T"
16387 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16390 cat <<_LT_EOF >> "$cfgfile"
16393 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16394 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16395 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16396 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16398 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16399 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16401 # Written by Gordon Matzigkeit, 1996
16403 # This file is part of GNU Libtool.
16405 # GNU Libtool is free software; you can redistribute it and/or
16406 # modify it under the terms of the GNU General Public License as
16407 # published by the Free Software Foundation; either version 2 of
16408 # the License, or (at your option) any later version.
16410 # As a special exception to the GNU General Public License,
16411 # if you distribute this file as part of a program or library that
16412 # is built using GNU Libtool, you may include this file under the
16413 # same distribution terms that you use for the rest of that program.
16415 # GNU Libtool is distributed in the hope that it will be useful,
16416 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16417 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16418 # GNU General Public License for more details.
16420 # You should have received a copy of the GNU General Public License
16421 # along with GNU Libtool; see the file COPYING. If not, a copy
16422 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16423 # obtained by writing to the Free Software Foundation, Inc.,
16424 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16427 # The names of the tagged configurations supported by this script.
16430 # ### BEGIN LIBTOOL CONFIG
16432 # Whether or not to build static libraries.
16433 build_old_libs=$enable_static
16435 # Whether or not to build shared libraries.
16436 build_libtool_libs=$enable_shared
16438 # Which release of libtool.m4 was used?
16439 macro_version=$macro_version
16440 macro_revision=$macro_revision
16442 # What type of objects to build.
16445 # Whether or not to optimize for fast installation.
16446 fast_install=$enable_fast_install
16448 # Shell to use when invoking shell scripts.
16451 # An echo program that protects backslashes.
16455 host_alias=$host_alias
16459 # The build system.
16460 build_alias=$build_alias
16464 # A sed program that does not truncate output.
16467 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16468 Xsed="\$SED -e 1s/^X//"
16470 # A grep program that handles long lines.
16476 # A literal string matcher.
16479 # A BSD- or MS-compatible name lister.
16482 # Whether we need soft or hard links.
16485 # What is the maximum length of a command?
16486 max_cmd_len=$max_cmd_len
16488 # Object file suffix (normally "o").
16491 # Executable file suffix (normally "").
16494 # whether the shell understands "unset".
16497 # turn spaces into newlines.
16500 # turn newlines into spaces.
16503 # convert \$build file names to \$host format.
16504 to_host_file_cmd=$lt_cv_to_host_file_cmd
16506 # convert \$build files to toolchain format.
16507 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16509 # An object symbol dumper.
16510 OBJDUMP=$lt_OBJDUMP
16512 # Method to check whether dependent libraries are shared objects.
16513 deplibs_check_method=$lt_deplibs_check_method
16515 # Command to use when deplibs_check_method = "file_magic".
16516 file_magic_cmd=$lt_file_magic_cmd
16518 # How to find potential files when deplibs_check_method = "file_magic".
16519 file_magic_glob=$lt_file_magic_glob
16521 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16522 want_nocaseglob=$lt_want_nocaseglob
16524 # DLL creation program.
16525 DLLTOOL=$lt_DLLTOOL
16527 # Command to associate shared and link libraries.
16528 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16533 # Flags to create an archive.
16534 AR_FLAGS=$lt_AR_FLAGS
16536 # How to feed a file listing to the archiver.
16537 archiver_list_spec=$lt_archiver_list_spec
16539 # A symbol stripping program.
16542 # Commands used to install an old-style archive.
16544 old_postinstall_cmds=$lt_old_postinstall_cmds
16545 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16547 # Whether to use a lock for old archive extraction.
16548 lock_old_archive_extraction=$lock_old_archive_extraction
16553 # LTCC compiler flags.
16554 LTCFLAGS=$lt_CFLAGS
16556 # Take the output of nm and produce a listing of raw symbols and C names.
16557 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16559 # Transform the output of nm in a proper C declaration.
16560 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16562 # Transform the output of nm in a C name address pair.
16563 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16565 # Transform the output of nm in a C name address pair when lib prefix is needed.
16566 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16568 # Specify filename containing input files for \$NM.
16569 nm_file_list_spec=$lt_nm_file_list_spec
16571 # The root where to search for dependent libraries,and in which our libraries should be installed.
16572 lt_sysroot=$lt_sysroot
16574 # The name of the directory that contains temporary libtool files.
16577 # Used to examine libraries when file_magic_cmd begins with "file".
16578 MAGIC_CMD=$MAGIC_CMD
16580 # Must we lock files when doing compilation?
16581 need_locks=$lt_need_locks
16584 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16586 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16587 DSYMUTIL=$lt_DSYMUTIL
16589 # Tool to change global to local symbols on Mac OS X.
16592 # Tool to manipulate fat objects and archives on Mac OS X.
16595 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16598 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16599 OTOOL64=$lt_OTOOL64
16601 # Old archive suffix (normally "a").
16604 # Shared library suffix (normally ".so").
16605 shrext_cmds=$lt_shrext_cmds
16607 # The commands to extract the exported symbol list from a shared archive.
16608 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16610 # Variables whose values should be saved in libtool wrapper scripts and
16611 # restored at link time.
16612 variables_saved_for_relink=$lt_variables_saved_for_relink
16614 # Do we need the "lib" prefix for modules?
16615 need_lib_prefix=$need_lib_prefix
16617 # Do we need a version for libraries?
16618 need_version=$need_version
16620 # Library versioning type.
16621 version_type=$version_type
16623 # Shared library runtime path variable.
16624 runpath_var=$runpath_var
16626 # Shared library path variable.
16627 shlibpath_var=$shlibpath_var
16629 # Is shlibpath searched before the hard-coded library search path?
16630 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16632 # Format of library name prefix.
16633 libname_spec=$lt_libname_spec
16635 # List of archive names. First name is the real one, the rest are links.
16636 # The last name is the one that the linker finds with -lNAME
16637 library_names_spec=$lt_library_names_spec
16639 # The coded name of the library, if different from the real name.
16640 soname_spec=$lt_soname_spec
16642 # Permission mode override for installation of shared libraries.
16643 install_override_mode=$lt_install_override_mode
16645 # Command to use after installation of a shared archive.
16646 postinstall_cmds=$lt_postinstall_cmds
16648 # Command to use after uninstallation of a shared archive.
16649 postuninstall_cmds=$lt_postuninstall_cmds
16651 # Commands used to finish a libtool library installation in a directory.
16652 finish_cmds=$lt_finish_cmds
16654 # As "finish_cmds", except a single script fragment to be evaled but
16656 finish_eval=$lt_finish_eval
16658 # Whether we should hardcode library paths into libraries.
16659 hardcode_into_libs=$hardcode_into_libs
16661 # Compile-time system search path for libraries.
16662 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16664 # Run-time system search path for libraries.
16665 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16667 # Whether dlopen is supported.
16668 dlopen_support=$enable_dlopen
16670 # Whether dlopen of programs is supported.
16671 dlopen_self=$enable_dlopen_self
16673 # Whether dlopen of statically linked programs is supported.
16674 dlopen_self_static=$enable_dlopen_self_static
16676 # Commands to strip libraries.
16677 old_striplib=$lt_old_striplib
16678 striplib=$lt_striplib
16681 # The linker used to build libraries.
16684 # How to create reloadable object files.
16685 reload_flag=$lt_reload_flag
16686 reload_cmds=$lt_reload_cmds
16688 # Commands used to build an old-style archive.
16689 old_archive_cmds=$lt_old_archive_cmds
16691 # A language specific compiler.
16694 # Is the compiler the GNU compiler?
16697 # Compiler flag to turn off builtin functions.
16698 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16700 # Additional compiler flags for building library objects.
16701 pic_flag=$lt_lt_prog_compiler_pic
16703 # How to pass a linker flag through the compiler.
16704 wl=$lt_lt_prog_compiler_wl
16706 # Compiler flag to prevent dynamic linking.
16707 link_static_flag=$lt_lt_prog_compiler_static
16709 # Does compiler simultaneously support -c and -o options?
16710 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16712 # Whether or not to add -lc for building shared libraries.
16713 build_libtool_need_lc=$archive_cmds_need_lc
16715 # Whether or not to disallow shared libs when runtime libs are static.
16716 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16718 # Compiler flag to allow reflexive dlopens.
16719 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16721 # Compiler flag to generate shared objects directly from archives.
16722 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16724 # Whether the compiler copes with passing no objects directly.
16725 compiler_needs_object=$lt_compiler_needs_object
16727 # Create an old-style archive from a shared archive.
16728 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16730 # Create a temporary old-style archive to link instead of a shared archive.
16731 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16733 # Commands used to build a shared archive.
16734 archive_cmds=$lt_archive_cmds
16735 archive_expsym_cmds=$lt_archive_expsym_cmds
16737 # Commands used to build a loadable module if different from building
16738 # a shared archive.
16739 module_cmds=$lt_module_cmds
16740 module_expsym_cmds=$lt_module_expsym_cmds
16742 # Whether we are building with GNU ld or not.
16743 with_gnu_ld=$lt_with_gnu_ld
16745 # Flag that allows shared libraries with undefined symbols to be built.
16746 allow_undefined_flag=$lt_allow_undefined_flag
16748 # Flag that enforces no undefined symbols.
16749 no_undefined_flag=$lt_no_undefined_flag
16751 # Flag to hardcode \$libdir into a binary during linking.
16752 # This must work even if \$libdir does not exist
16753 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16755 # If ld is used when linking, flag to hardcode \$libdir into a binary
16756 # during linking. This must work even if \$libdir does not exist.
16757 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16759 # Whether we need a single "-rpath" flag with a separated argument.
16760 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16762 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16763 # DIR into the resulting binary.
16764 hardcode_direct=$hardcode_direct
16766 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16767 # DIR into the resulting binary and the resulting library dependency is
16768 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16769 # library is relocated.
16770 hardcode_direct_absolute=$hardcode_direct_absolute
16772 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16773 # into the resulting binary.
16774 hardcode_minus_L=$hardcode_minus_L
16776 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16777 # into the resulting binary.
16778 hardcode_shlibpath_var=$hardcode_shlibpath_var
16780 # Set to "yes" if building a shared library automatically hardcodes DIR
16781 # into the library and all subsequent libraries and executables linked
16783 hardcode_automatic=$hardcode_automatic
16785 # Set to yes if linker adds runtime paths of dependent libraries
16786 # to runtime path list.
16787 inherit_rpath=$inherit_rpath
16789 # Whether libtool must link a program against all its dependency libraries.
16790 link_all_deplibs=$link_all_deplibs
16792 # Set to "yes" if exported symbols are required.
16793 always_export_symbols=$always_export_symbols
16795 # The commands to list exported symbols.
16796 export_symbols_cmds=$lt_export_symbols_cmds
16798 # Symbols that should not be listed in the preloaded symbols.
16799 exclude_expsyms=$lt_exclude_expsyms
16801 # Symbols that must always be exported.
16802 include_expsyms=$lt_include_expsyms
16804 # Commands necessary for linking programs (against libraries) with templates.
16805 prelink_cmds=$lt_prelink_cmds
16807 # Commands necessary for finishing linking programs.
16808 postlink_cmds=$lt_postlink_cmds
16810 # Specify filename containing input files.
16811 file_list_spec=$lt_file_list_spec
16813 # How to hardcode a shared library path into an executable.
16814 hardcode_action=$hardcode_action
16816 # ### END LIBTOOL CONFIG
16822 cat <<\_LT_EOF
>> "$cfgfile"
16823 # AIX sometimes has problems with the GCC collect2 program. For some
16824 # reason, if we set the COLLECT_NAMES environment variable, the problems
16825 # vanish in a puff of smoke.
16826 if test "X${COLLECT_NAMES+set}" != Xset
; then
16828 export COLLECT_NAMES
16835 ltmain
="$ac_aux_dir/ltmain.sh"
16838 # We use sed instead of cat because bash on DJGPP gets confused if
16839 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16840 # text mode, it properly converts lines to CR/LF. This bash problem
16841 # is reportedly fixed, but why not run on old versions too?
16842 sed '$q' "$ltmain" >> "$cfgfile" \
16843 || (rm -f "$cfgfile"; exit 1)
16845 if test x
"$xsi_shell" = xyes
; then
16846 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16850 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16851 \ * ) func_dirname_result="${3}" ;;\
16853 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16854 && mv -f "$cfgfile.tmp" "$cfgfile" \
16855 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16856 test 0 -eq $?
|| _lt_function_replace_fail
=:
16859 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16862 \ func_basename_result="${1##*/}"\
16863 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16864 && mv -f "$cfgfile.tmp" "$cfgfile" \
16865 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16866 test 0 -eq $?
|| _lt_function_replace_fail
=:
16869 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16870 func_dirname_and_basename ()\
16873 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16874 \ * ) func_dirname_result="${3}" ;;\
16876 \ func_basename_result="${1##*/}"\
16877 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16878 && mv -f "$cfgfile.tmp" "$cfgfile" \
16879 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16880 test 0 -eq $?
|| _lt_function_replace_fail
=:
16883 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16886 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16887 \ # positional parameters, so assign one to ordinary parameter first.\
16888 \ func_stripname_result=${3}\
16889 \ func_stripname_result=${func_stripname_result#"${1}"}\
16890 \ func_stripname_result=${func_stripname_result%"${2}"}\
16891 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16892 && mv -f "$cfgfile.tmp" "$cfgfile" \
16893 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16894 test 0 -eq $?
|| _lt_function_replace_fail
=:
16897 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16898 func_split_long_opt ()\
16900 \ func_split_long_opt_name=${1%%=*}\
16901 \ func_split_long_opt_arg=${1#*=}\
16902 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16903 && mv -f "$cfgfile.tmp" "$cfgfile" \
16904 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16905 test 0 -eq $?
|| _lt_function_replace_fail
=:
16908 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16909 func_split_short_opt ()\
16911 \ func_split_short_opt_arg=${1#??}\
16912 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16913 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16914 && mv -f "$cfgfile.tmp" "$cfgfile" \
16915 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16916 test 0 -eq $?
|| _lt_function_replace_fail
=:
16919 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16923 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16924 \ *) func_lo2o_result=${1} ;;\
16926 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16927 && mv -f "$cfgfile.tmp" "$cfgfile" \
16928 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16929 test 0 -eq $?
|| _lt_function_replace_fail
=:
16932 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16935 func_xform_result=${1%.*}.lo\
16936 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16937 && mv -f "$cfgfile.tmp" "$cfgfile" \
16938 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16939 test 0 -eq $?
|| _lt_function_replace_fail
=:
16942 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16945 func_arith_result=$(( $* ))\
16946 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16947 && mv -f "$cfgfile.tmp" "$cfgfile" \
16948 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16949 test 0 -eq $?
|| _lt_function_replace_fail
=:
16952 sed -e '/^func_len ()$/,/^} # func_len /c\
16955 func_len_result=${#1}\
16956 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16957 && mv -f "$cfgfile.tmp" "$cfgfile" \
16958 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16959 test 0 -eq $?
|| _lt_function_replace_fail
=:
16963 if test x
"$lt_shell_append" = xyes
; then
16964 sed -e '/^func_append ()$/,/^} # func_append /c\
16967 eval "${1}+=\\${2}"\
16968 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16969 && mv -f "$cfgfile.tmp" "$cfgfile" \
16970 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16971 test 0 -eq $?
|| _lt_function_replace_fail
=:
16974 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16975 func_append_quoted ()\
16977 \ func_quote_for_eval "${2}"\
16978 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16979 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16980 && mv -f "$cfgfile.tmp" "$cfgfile" \
16981 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16982 test 0 -eq $?
|| _lt_function_replace_fail
=:
16985 # Save a `func_append' function call where possible by direct use of '+='
16986 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16987 && mv -f "$cfgfile.tmp" "$cfgfile" \
16988 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16989 test 0 -eq $?
|| _lt_function_replace_fail
=:
16991 # Save a `func_append' function call even when '+=' is not available
16992 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16993 && mv -f "$cfgfile.tmp" "$cfgfile" \
16994 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16995 test 0 -eq $?
|| _lt_function_replace_fail
=:
16998 if test x
"$_lt_function_replace_fail" = x
":"; then
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17000 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17004 mv -f "$cfgfile" "$ofile" ||
17005 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17009 "include/librb-config.h":C
)
17010 outfile
=include
/librb
-config.h.tmp
17011 cat > $outfile <<\_______EOF
17013 * librb
-config.h
: libratbox config
file. Please modify configure.ac
17016 #ifndef __LIBRB_CONFIG_H
17017 #define __LIBRB_CONFIG_H
17021 if test "x$rb_have_ipv6" = "xyes"; then
17022 echo "#define RB_IPV6 1" >> $outfile
17025 if test "x$rb_windows_h" = "xyes"; then
17026 echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
17027 echo '#include <windows.h>' >> $outfile
17028 echo '#include <winsock2.h>' >> $outfile
17029 echo '#include <iphlpapi.h>' >> $outfile
17032 if test "x$rb_alloca_h" = "xyes"; then
17033 echo '#define RB_HAVE_ALLOCA_H 1' >> $outfile
17036 if test "x$rb_header_stdc" = "xyes"; then
17037 echo '#include <stdlib.h>' >> $outfile
17038 echo '#include <stddef.h>' >> $outfile
17039 elif test "x$rb_header_stdlib" = "xyes"; then
17040 echo '#include <stdlib.h>' >> $outfile
17043 if test "x$rb_header_string_h" = "xyes"; then
17044 echo '#include <string.h>' >> $outfile
17047 if test "x$rb_stdint_h" = "xyes"; then
17048 echo '#include <stdint.h>' >> $outfile
17051 if test "x$rb_inttypes_h" = "xyes"; then
17052 echo '#include <inttypes.h>' >> $outfile
17055 if test "x$rb_sys_types_h" = "xyes"; then
17056 echo '#include <sys/types.h>' >> $outfile
17058 if test "x$rb_sys_time_h" = "xyes"; then
17059 echo '#include <sys/time.h>' >> $outfile
17061 if test "x$rb_sys_stat_h" = "xyes"; then
17062 echo '#include <sys/stat.h>' >> $outfile
17064 if test "x$rb_time_h" = "xyes"; then
17065 echo '#include <time.h>' >> $outfile
17068 if test "x$rb_sys_socket_h" = "xyes"; then
17069 echo '#include <sys/socket.h>' >> $outfile
17072 if test "x$rb_netinet_in_h" = "xyes"; then
17073 echo '#include <netinet/in.h>' >> $outfile
17076 if test "x$rb_arpa_inet_h" = "xyes"; then
17077 echo '#include <arpa/inet.h>' >> $outfile
17080 if test "x$rb_unistd_h" = "xyes"; then
17081 echo '#include <unistd.h>' >> $outfile
17084 if test "x$rb_crypt_h" = "xyes"; then
17085 echo '#include <crypt.h>' >> $outfile
17088 if test "x$rb_errno_h" = "xyes"; then
17089 echo '#include <errno.h>' >> $outfile
17092 echo "typedef $rb_socklen_t rb_socklen_t;" >> $outfile
17095 if test "x$rb_sockaddr_sa_len" = "xyes"; then
17096 echo '#define RB_SOCKADDR_HAS_SA_LEN 1' >> $outfile
17099 if test "x$rb_sockaddr_storage" = "xyes"; then
17100 echo '#define rb_sockaddr_storage sockaddr_storage' >> $outfile
17102 echo 'struct rb_sockaddr_storage { uint8_t _padding[128]; };' >> $outfile
17105 cat >> $outfile <<\_______EOF
17106 #endif /* __LIBRB_CONFIG_H */
17109 if cmp -s $outfile include
/librb
-config.h
; then
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: include/librb-config.h is unchanged" >&5
17111 $as_echo "$as_me: include/librb-config.h is unchanged" >&6;}
17112 ${rb_rm} -f $outfile
17114 ${rb_mv} $outfile include
/librb
-config.h
17125 ac_clean_files
=$ac_clean_files_save
17127 test $ac_write_fail = 0 ||
17128 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17131 # configure is writing to config.log, and then calls config.status.
17132 # config.status does its own redirection, appending to config.log.
17133 # Unfortunately, on DOS this fails, as config.log is still kept open
17134 # by configure, so config.status won't be able to write to it; its
17135 # output is simply discarded. So we exec the FD to /dev/null,
17136 # effectively closing config.log, so it can be properly (re)opened and
17137 # appended to by config.status. When coming back to configure, we
17138 # need to make the FD available again.
17139 if test "$no_create" != yes; then
17141 ac_config_status_args
=
17142 test "$silent" = yes &&
17143 ac_config_status_args
="$ac_config_status_args --quiet"
17145 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17147 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17148 # would make configure fail if this is the last instruction.
17149 $ac_cs_success || as_fn_exit
1
17151 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17153 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17159 echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
17162 echo "Installing into: $prefix"
17164 echo "IPv6 support ................... $have_v6"
17165 echo "Assert debugging ............... $assert"
17166 echo "Block allocator ................ $balloc"
17167 echo "SSL Type........................ $SSL_TYPE"