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
660 MAINTAINER_MODE_FALSE
690 INSTALL_STRIP_PROGRAM
732 program_transform_name
745 enable_option_checking
746 enable_dependency_tracking
749 enable_maintainer_mode
762 ac_precious_vars
='build_alias
773 # Initialize some variables set by options.
775 ac_init_version
=false
776 ac_unrecognized_opts
=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
787 program_transform_name
=s
,x
,x
,
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir
='${exec_prefix}/bin'
802 sbindir
='${exec_prefix}/sbin'
803 libexecdir
='${exec_prefix}/libexec'
804 datarootdir
='${prefix}/share'
805 datadir
='${datarootdir}'
806 sysconfdir
='${prefix}/etc'
807 sharedstatedir
='${prefix}/com'
808 localstatedir
='${prefix}/var'
809 includedir
='${prefix}/include'
810 oldincludedir
='/usr/include'
811 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
812 infodir
='${datarootdir}/info'
817 libdir
='${exec_prefix}/lib'
818 localedir
='${datarootdir}/locale'
819 mandir
='${datarootdir}/man'
825 # If the previous option needs an argument, assign it.
826 if test -n "$ac_prev"; then
827 eval $ac_prev=\
$ac_option
833 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838 # Accept the important Cygnus configure options, so we can diagnose typos.
840 case $ac_dashdash$ac_option in
844 -bindir | --bindir | --bindi | --bind | --bin | --bi)
846 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
849 -build | --build | --buil | --bui | --bu)
850 ac_prev
=build_alias
;;
851 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
852 build_alias
=$ac_optarg ;;
854 -cache-file | --cache-file | --cache-fil | --cache-fi \
855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
856 ac_prev
=cache_file
;;
857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
859 cache_file
=$ac_optarg ;;
862 cache_file
=config.cache
;;
864 -datadir | --datadir | --datadi | --datad)
866 -datadir=* | --datadir=* | --datadi=* | --datad=*)
867 datadir
=$ac_optarg ;;
869 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
870 | --dataroo | --dataro | --datar)
871 ac_prev
=datarootdir
;;
872 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
873 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
874 datarootdir
=$ac_optarg ;;
876 -disable-* | --disable-*)
877 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
880 as_fn_error $?
"invalid feature name: $ac_useropt"
881 ac_useropt_orig
=$ac_useropt
882 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
888 ac_unrecognized_sep
=', ';;
890 eval enable_
$ac_useropt=no
;;
892 -docdir | --docdir | --docdi | --doc | --do)
894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
902 -enable-* | --enable-*)
903 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
906 as_fn_error $?
"invalid feature name: $ac_useropt"
907 ac_useropt_orig
=$ac_useropt
908 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909 case $ac_user_opts in
913 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
914 ac_unrecognized_sep
=', ';;
916 eval enable_
$ac_useropt=\
$ac_optarg ;;
918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
920 | --exec | --exe | --ex)
921 ac_prev
=exec_prefix
;;
922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
924 | --exec=* | --exe=* | --ex=*)
925 exec_prefix
=$ac_optarg ;;
927 -gas | --gas | --ga | --g)
928 # Obsolete; use --with-gas.
931 -help | --help | --hel | --he | -h)
933 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
934 ac_init_help
=recursive
;;
935 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
936 ac_init_help
=short
;;
938 -host | --host | --hos | --ho)
939 ac_prev
=host_alias
;;
940 -host=* | --host=* | --hos=* | --ho=*)
941 host_alias
=$ac_optarg ;;
943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 htmldir
=$ac_optarg ;;
949 -includedir | --includedir | --includedi | --included | --include \
950 | --includ | --inclu | --incl | --inc)
951 ac_prev
=includedir
;;
952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
953 | --includ=* | --inclu=* | --incl=* | --inc=*)
954 includedir
=$ac_optarg ;;
956 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
959 infodir
=$ac_optarg ;;
961 -libdir | --libdir | --libdi | --libd)
963 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
967 | --libexe | --libex | --libe)
968 ac_prev
=libexecdir
;;
969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
970 | --libexe=* | --libex=* | --libe=*)
971 libexecdir
=$ac_optarg ;;
973 -localedir | --localedir | --localedi | --localed | --locale)
975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
976 localedir
=$ac_optarg ;;
978 -localstatedir | --localstatedir | --localstatedi | --localstated \
979 | --localstate | --localstat | --localsta | --localst | --locals)
980 ac_prev
=localstatedir
;;
981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
983 localstatedir
=$ac_optarg ;;
985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991 # Obsolete; use --without-fp.
994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
995 | --no-cr | --no-c | -n)
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1004 | --oldin | --oldi | --old | --ol | --o)
1005 ac_prev
=oldincludedir
;;
1006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1009 oldincludedir
=$ac_optarg ;;
1011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1014 prefix
=$ac_optarg ;;
1016 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1017 | --program-pre | --program-pr | --program-p)
1018 ac_prev
=program_prefix
;;
1019 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1021 program_prefix
=$ac_optarg ;;
1023 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1024 | --program-suf | --program-su | --program-s)
1025 ac_prev
=program_suffix
;;
1026 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1028 program_suffix
=$ac_optarg ;;
1030 -program-transform-name | --program-transform-name \
1031 | --program-transform-nam | --program-transform-na \
1032 | --program-transform-n | --program-transform- \
1033 | --program-transform | --program-transfor \
1034 | --program-transfo | --program-transf \
1035 | --program-trans | --program-tran \
1036 | --progr-tra | --program-tr | --program-t)
1037 ac_prev
=program_transform_name
;;
1038 -program-transform-name=* | --program-transform-name=* \
1039 | --program-transform-nam=* | --program-transform-na=* \
1040 | --program-transform-n=* | --program-transform-=* \
1041 | --program-transform=* | --program-transfor=* \
1042 | --program-transfo=* | --program-transf=* \
1043 | --program-trans=* | --program-tran=* \
1044 | --progr-tra=* | --program-tr=* | --program-t=*)
1045 program_transform_name
=$ac_optarg ;;
1047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1050 pdfdir
=$ac_optarg ;;
1052 -psdir | --psdir | --psdi | --psd | --ps)
1054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1061 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 sbindir
=$ac_optarg ;;
1067 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1068 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1069 | --sharedst | --shareds | --shared | --share | --shar \
1071 ac_prev
=sharedstatedir
;;
1072 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1073 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1074 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 sharedstatedir
=$ac_optarg ;;
1078 -site | --site | --sit)
1080 -site=* | --site=* | --sit=*)
1083 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1086 srcdir
=$ac_optarg ;;
1088 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1089 | --syscon | --sysco | --sysc | --sys | --sy)
1090 ac_prev
=sysconfdir
;;
1091 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1092 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1093 sysconfdir
=$ac_optarg ;;
1095 -target | --target | --targe | --targ | --tar | --ta | --t)
1096 ac_prev
=target_alias
;;
1097 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1098 target_alias
=$ac_optarg ;;
1100 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 -version | --version | --versio | --versi | --vers | -V)
1104 ac_init_version
=: ;;
1107 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1110 as_fn_error $?
"invalid package name: $ac_useropt"
1111 ac_useropt_orig
=$ac_useropt
1112 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1117 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1118 ac_unrecognized_sep
=', ';;
1120 eval with_
$ac_useropt=\
$ac_optarg ;;
1122 -without-* | --without-*)
1123 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error $?
"invalid package name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval with_
$ac_useropt=no
;;
1139 # Obsolete; use --with-x.
1142 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1143 | --x-incl | --x-inc | --x-in | --x-i)
1144 ac_prev
=x_includes
;;
1145 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1146 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1147 x_includes
=$ac_optarg ;;
1149 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1150 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1151 ac_prev
=x_libraries
;;
1152 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1153 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1154 x_libraries
=$ac_optarg ;;
1156 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1157 Try \`$0 --help' for more information"
1161 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 case $ac_envvar in #(
1164 '' | [0-9]* | *[!_$as_cr_alnum]* )
1165 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1167 eval $ac_envvar=\
$ac_optarg
1168 export $ac_envvar ;;
1171 # FIXME: should be removed in autoconf 3.0.
1172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1175 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1181 if test -n "$ac_prev"; then
1182 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1183 as_fn_error $?
"missing argument to $ac_option"
1186 if test -n "$ac_unrecognized_opts"; then
1187 case $enable_option_checking in
1189 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1190 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1194 # Check all directory arguments for consistency.
1195 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1196 datadir sysconfdir sharedstatedir localstatedir includedir \
1197 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1198 libdir localedir mandir
1200 eval ac_val
=\$
$ac_var
1201 # Remove trailing slashes.
1204 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1205 eval $ac_var=\
$ac_val;;
1207 # Be sure to have absolute directory names.
1209 [\\/$
]* | ?
:[\\/]* ) continue;;
1210 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1212 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1215 # There might be people who depend on the old broken behavior: `$host'
1216 # used to hold the argument of --host etc.
1217 # FIXME: To remove some day.
1220 target
=$target_alias
1222 # FIXME: To remove some day.
1223 if test "x$host_alias" != x
; then
1224 if test "x$build_alias" = x
; then
1225 cross_compiling
=maybe
1226 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1227 If a cross compiler is detected then cross compile mode will be used" >&2
1228 elif test "x$build_alias" != "x$host_alias"; then
1234 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1236 test "$silent" = yes && exec 6>/dev
/null
1239 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1240 ac_ls_di
=`ls -di .` &&
1241 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1242 as_fn_error $?
"working directory cannot be determined"
1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1244 as_fn_error $?
"pwd does not report name of working directory"
1247 # Find the source files, if location was not specified.
1248 if test -z "$srcdir"; then
1249 ac_srcdir_defaulted
=yes
1250 # Try the directory containing this script, then the parent directory.
1251 ac_confdir
=`$as_dirname -- "$as_myself" ||
1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1253 X"$as_myself" : 'X\(//\)[^/]' \| \
1254 X"$as_myself" : 'X\(//\)$' \| \
1255 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1256 $as_echo X"$as_myself" |
1257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275 if test ! -r "$srcdir/$ac_unique_file"; then
1279 ac_srcdir_defaulted
=no
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1282 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1283 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1285 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1287 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1289 # When building in place, set srcdir=.
1290 if test "$ac_abs_confdir" = "$ac_pwd"; then
1293 # Remove unnecessary trailing slashes from srcdir.
1294 # Double slashes in file names in object file debugging info
1295 # mess up M-x gdb in Emacs.
1297 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1299 for ac_var
in $ac_precious_vars; do
1300 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1301 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1302 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1303 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1307 # Report the --help message.
1309 if test "$ac_init_help" = "long"; then
1310 # Omit some internal or obsolete options to make the list less imposing.
1311 # This message is too long to be a string in the A/UX 3.1 sh.
1313 \`configure' configures libratbox devel to adapt to many kinds of systems.
1315 Usage: $0 [OPTION]... [VAR=VALUE]...
1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1318 VAR=VALUE. See below for descriptions of some of the useful variables.
1320 Defaults for the options are specified in brackets.
1323 -h, --help display this help and exit
1324 --help=short display options specific to this package
1325 --help=recursive display the short help of all the included packages
1326 -V, --version display version information and exit
1327 -q, --quiet, --silent do not print \`checking ...' messages
1328 --cache-file=FILE cache test results in FILE [disabled]
1329 -C, --config-cache alias for \`--cache-file=config.cache'
1330 -n, --no-create do not create output files
1331 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1333 Installation directories:
1334 --prefix=PREFIX install architecture-independent files in PREFIX
1335 [$ac_default_prefix]
1336 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1339 By default, \`make install' will install all the files in
1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1342 for instance \`--prefix=\$HOME'.
1344 For better control, use the options below.
1346 Fine tuning of the installation directories:
1347 --bindir=DIR user executables [EPREFIX/bin]
1348 --sbindir=DIR system admin executables [EPREFIX/sbin]
1349 --libexecdir=DIR program executables [EPREFIX/libexec]
1350 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1351 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1352 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1353 --libdir=DIR object code libraries [EPREFIX/lib]
1354 --includedir=DIR C header files [PREFIX/include]
1355 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1356 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1357 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1358 --infodir=DIR info documentation [DATAROOTDIR/info]
1359 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1360 --mandir=DIR man documentation [DATAROOTDIR/man]
1361 --docdir=DIR documentation root [DATAROOTDIR/doc/libratbox]
1362 --htmldir=DIR html documentation [DOCDIR]
1363 --dvidir=DIR dvi documentation [DOCDIR]
1364 --pdfdir=DIR pdf documentation [DOCDIR]
1365 --psdir=DIR ps documentation [DOCDIR]
1371 --program-prefix=PREFIX prepend PREFIX to installed program names
1372 --program-suffix=SUFFIX append SUFFIX to installed program names
1373 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1376 --build=BUILD configure
for building on BUILD
[guessed
]
1377 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1381 if test -n "$ac_init_help"; then
1382 case $ac_init_help in
1383 short
| recursive
) echo "Configuration of libratbox devel:";;
1388 --disable-option-checking ignore unrecognized
--enable/--with options
1389 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1390 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1391 --disable-dependency-tracking speeds up one
-time build
1392 --enable-dependency-tracking do not reject slow dependency extractors
1393 --enable-static[=PKGS
] build static libraries
[default
=no
]
1394 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1395 --enable-maintainer-mode enable make rules and dependencies not useful
1396 (and sometimes confusing
) to the casual installer
1397 --enable-fast-install[=PKGS
]
1398 optimize
for fast installation
[default
=yes]
1399 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1400 --disable-ipv6 Disable IPv6 support
1401 --enable-openssl=DIR Enable OpenSSL support
(DIR optional
).
1402 --disable-openssl Disable OpenSSL support.
1403 --enable-assert Enable assert
(). Choose between soft
(warnings
) and
1404 hard
(aborts the daemon
)
1405 --enable-profile Enable profiling
1406 --disable-balloc Disable the block allocator.
1407 --enable-warnings Enable all sorts of warnings
for debugging.
1410 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1411 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1412 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1414 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1415 --with-sysroot=DIR Search
for dependent libraries within DIR
1416 (or the compiler
's sysroot if not specified).
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1428 Use these variables to override the choices made by `configure' or to
help
1429 it to
find libraries and programs with nonstandard names
/locations.
1431 Report bugs to the package provider.
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1439 test -d "$ac_dir" ||
1440 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1447 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1455 ac_abs_top_builddir
=$ac_pwd
1456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir
=$ac_top_build_prefix
1461 .
) # We are building in place.
1463 ac_top_srcdir
=$ac_top_builddir_sub
1464 ac_abs_top_srcdir
=$ac_pwd ;;
1465 [\\/]* | ?
:[\\/]* ) # Absolute name.
1466 ac_srcdir
=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir
=$srcdir
1468 ac_abs_top_srcdir
=$srcdir ;;
1470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" || { ac_status
=$?
; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1485 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 cd "$ac_pwd" || { ac_status
=$?
; break; }
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1494 libratbox configure devel
1495 generated by GNU Autoconf
2.68
1497 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1498 This configure
script is free software
; the Free Software Foundation
1499 gives unlimited permission to copy
, distribute and modify it.
1501 $Id: configure.ac
26260 2008-12-10 04:08:39Z androsyn $
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile
()
1515 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1516 rm -f conftest.
$ac_objext
1517 if { { ac_try
="$ac_compile"
1519 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err; then
1527 grep -v '^ *+' conftest.err >conftest.er1
1528 cat conftest.er1 >&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.$ac_ext >&5
1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1544 as_fn_set_status $ac_retval
1546 } # ac_fn_c_try_compile
1548 # ac_fn_c_try_cpp LINENO
1549 # ----------------------
1550 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1554 if { { ac_try="$ac_cpp conftest.$ac_ext"
1556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1557 *) ac_try_echo
=$ac_try;;
1559 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 $as_echo "$ac_try_echo"; } >&5
1561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1563 if test -s conftest.err
; then
1564 grep -v '^ *+' conftest.err
>conftest.er1
1565 cat conftest.er1
>&5
1566 mv -f conftest.er1 conftest.err
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } > conftest.i
&& {
1570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1575 $as_echo "$as_me: failed program was:" >&5
1576 sed 's/^/| /' conftest.
$ac_ext >&5
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status
$ac_retval
1585 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1586 # -------------------------------------------------------
1587 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1588 # the include files in INCLUDES and setting the cache variable VAR
1590 ac_fn_c_check_header_mongrel
()
1592 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1593 if eval \
${$3+:} false
; then :
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1595 $as_echo_n "checking for $2... " >&6; }
1596 if eval \
${$3+:} false
; then :
1597 $as_echo_n "(cached) " >&6
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601 $as_echo "$ac_res" >&6; }
1603 # Is the header compilable?
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1605 $as_echo_n "checking $2 usability... " >&6; }
1606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1607 /* end confdefs.h. */
1611 if ac_fn_c_try_compile
"$LINENO"; then :
1612 ac_header_compiler
=yes
1614 ac_header_compiler
=no
1616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1618 $as_echo "$ac_header_compiler" >&6; }
1620 # Is the header present?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1622 $as_echo_n "checking $2 presence... " >&6; }
1623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1627 if ac_fn_c_try_cpp
"$LINENO"; then :
1628 ac_header_preproc
=yes
1630 ac_header_preproc
=no
1632 rm -f conftest.err conftest.i conftest.
$ac_ext
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1634 $as_echo "$ac_header_preproc" >&6; }
1636 # So? What about this header?
1637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1640 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1642 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1646 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1648 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1650 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1652 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1654 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1658 $as_echo_n "checking for $2... " >&6; }
1659 if eval \
${$3+:} false
; then :
1660 $as_echo_n "(cached) " >&6
1662 eval "$3=\$ac_header_compiler"
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1666 $as_echo "$ac_res" >&6; }
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670 } # ac_fn_c_check_header_mongrel
1672 # ac_fn_c_try_run LINENO
1673 # ----------------------
1674 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1675 # that executables *can* be run.
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 if { { ac_try
="$ac_link"
1681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1682 *) ac_try_echo=$ac_try;;
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_link") 2>&5
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1690 { { case "(($ac_try" in
1691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1692 *) ac_try_echo
=$ac_try;;
1694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_try") 2>&5
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; }; }; then :
1702 $as_echo "$as_me: program exited with status $ac_status" >&5
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.
$ac_ext >&5
1706 ac_retval
=$ac_status
1708 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710 as_fn_set_status
$ac_retval
1714 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1715 # -------------------------------------------------------
1716 # Tests whether HEADER exists and can be compiled using the include files in
1717 # INCLUDES, setting the cache variable VAR accordingly.
1718 ac_fn_c_check_header_compile
()
1720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722 $as_echo_n "checking for $2... " >&6; }
1723 if eval \
${$3+:} false
; then :
1724 $as_echo_n "(cached) " >&6
1726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h. */
1731 if ac_fn_c_try_compile
"$LINENO"; then :
1736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_c_check_header_compile
1745 # ac_fn_c_try_link LINENO
1746 # -----------------------
1747 # Try to link conftest.$ac_ext, and return whether this succeeded.
1750 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1751 rm -f conftest.
$ac_objext conftest
$ac_exeext
1752 if { { ac_try
="$ac_link"
1754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_link") 2>conftest.err
1761 if test -s conftest.err; then
1762 grep -v '^ *+' conftest.err >conftest.er1
1763 cat conftest.er1 >&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_c_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest$ac_exeext && {
1771 test "$cross_compiling" = yes ||
1772 $as_test_x conftest$ac_exeext
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1781 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1782 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1783 # interfere with the next link command; also delete a directory that is
1784 # left behind by Apple's compiler. We do this before executing the actions.
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1789 } # ac_fn_c_try_link
1791 # ac_fn_c_check_func LINENO FUNC VAR
1792 # ----------------------------------
1793 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1794 ac_fn_c_check_func ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if eval \${$3+:} false; then :
1800 $as_echo_n "(cached) " >&6
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1804 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1806 #define $2 innocuous_$2
1808 /* System header to define __stub macros and hopefully few prototypes,
1809 which can conflict with char $2 (); below.
1810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1811 <limits.h> exists even on freestanding compilers. */
1814 # include <limits.h>
1816 # include <assert.h>
1821 /* Override any GCC internal prototype to avoid an error.
1822 Use char because int might match the return type of a GCC
1823 builtin and then its argument prototype would still apply. */
1828 /* The GNU C library defines this for functions which it implements
1829 to always fail with ENOSYS. Some functions are actually named
1830 something starting with __ and the normal name is an alias. */
1831 #if defined __stub_$2 || defined __stub___$2
1843 if ac_fn_c_try_link "$LINENO"; then :
1848 rm -f core conftest.err conftest.$ac_objext \
1849 conftest$ac_exeext conftest.$ac_ext
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856 } # ac_fn_c_check_func
1858 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1859 # -------------------------------------------
1860 # Tests whether TYPE exists after having included INCLUDES, setting cache
1861 # variable VAR accordingly.
1862 ac_fn_c_check_type ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \${$3+:} false; then :
1868 $as_echo_n "(cached) " >&6
1871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1872 /* end confdefs.h. */
1883 if ac_fn_c_try_compile "$LINENO"; then :
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1896 if ac_fn_c_try_compile "$LINENO"; then :
1901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 } # ac_fn_c_check_type
1912 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1913 # ----------------------------------------------------
1914 # Tries to find if the field MEMBER exists in type AGGR, after including
1915 # INCLUDES, setting cache variable VAR accordingly.
1916 ac_fn_c_check_member ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1920 $as_echo_n "checking for $2.$3... " >&6; }
1921 if eval \${$4+:} false; then :
1922 $as_echo_n "(cached) " >&6
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1937 if ac_fn_c_try_compile "$LINENO"; then :
1940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1947 if (sizeof ac_aggr.$3)
1953 if ac_fn_c_try_compile "$LINENO"; then :
1958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1967 } # ac_fn_c_check_member
1968 cat >config.log <<_ACEOF
1969 This file contains any messages produced by compilers while
1970 running configure, to aid debugging if configure makes a mistake.
1972 It was created by libratbox $as_me devel, which was
1973 generated by GNU Autoconf 2.68. Invocation command line was
1985 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1986 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1987 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1988 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1989 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1991 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1992 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1994 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1995 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1996 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1997 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1998 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1999 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2000 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2008 test -z "$as_dir" && as_dir=.
2009 $as_echo "PATH: $as_dir"
2025 # Keep a trace of the command line.
2026 # Strip out --no-create and --no-recursion so they do not pile up.
2027 # Strip out --silent because we don't want to record it for future runs.
2028 # Also quote any args containing shell meta-characters.
2029 # Make two passes to allow for proper duplicate-argument suppression.
2033 ac_must_keep_next=false
2039 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2041 | -silent | --silent | --silen | --sile | --sil)
2044 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2047 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2049 as_fn_append ac_configure_args1 " '$ac_arg'"
2050 if test $ac_must_keep_next = true; then
2051 ac_must_keep_next=false # Got value, back to normal.
2054 *=* | --config-cache | -C | -disable-* | --disable-* \
2055 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2056 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2057 | -with-* | --with-* | -without-* | --without-* | --x)
2058 case "$ac_configure_args0 " in
2059 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2062 -* ) ac_must_keep_next=true ;;
2065 as_fn_append ac_configure_args " '$ac_arg'"
2070 { ac_configure_args0=; unset ac_configure_args0;}
2071 { ac_configure_args1=; unset ac_configure_args1;}
2073 # When interrupted or exit'd, cleanup temporary files, and complete
2074 # config.log. We remove comments because anyway the quotes in there
2075 # would cause problems or look ugly.
2076 # WARNING: Use '\'' to represent an apostrophe within the trap.
2077 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2078 trap 'exit_status=$?
2079 # Save into config.log some information that might help in debugging.
2083 $as_echo "## ---------------- ##
2084 ## Cache variables. ##
2085 ## ---------------- ##"
2087 # The following way of writing the cache mishandles newlines in values,
2089 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2090 eval ac_val=\$$ac_var
2094 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2095 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2098 _ | IFS | as_nl) ;; #(
2099 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2100 *) { eval $ac_var=; unset $ac_var;} ;;
2105 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2106 *${as_nl}ac_space=\ *)
2108 "s/'\''/'\''\\\\'\'''\''/g;
2109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2112 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2119 $as_echo "## ----------------- ##
2120 ## Output variables. ##
2121 ## ----------------- ##"
2123 for ac_var in $ac_subst_vars
2125 eval ac_val=\$$ac_var
2127 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2129 $as_echo "$ac_var='\''$ac_val'\''"
2133 if test -n "$ac_subst_files"; then
2134 $as_echo "## ------------------- ##
2135 ## File substitutions. ##
2136 ## ------------------- ##"
2138 for ac_var in $ac_subst_files
2140 eval ac_val=\$$ac_var
2142 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2144 $as_echo "$ac_var='\''$ac_val'\''"
2149 if test -s confdefs.h; then
2150 $as_echo "## ----------- ##
2157 test "$ac_signal" != 0 &&
2158 $as_echo "$as_me: caught signal $ac_signal"
2159 $as_echo "$as_me: exit $exit_status"
2161 rm -f core *.core core.conftest.* &&
2162 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2165 for ac_signal in 1 2 13 15; do
2166 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2170 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2171 rm -f -r conftest* confdefs.h
2173 $as_echo "/* confdefs.h */" > confdefs.h
2175 # Predefined preprocessor variables.
2177 cat >>confdefs.h <<_ACEOF
2178 #define PACKAGE_NAME "$PACKAGE_NAME"
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2185 cat >>confdefs.h <<_ACEOF
2186 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_STRING "$PACKAGE_STRING"
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2197 cat >>confdefs.h <<_ACEOF
2198 #define PACKAGE_URL "$PACKAGE_URL"
2202 # Let the site file select an alternate cache file if it wants to.
2203 # Prefer an explicitly selected file to automatically selected ones.
2206 if test -n "$CONFIG_SITE"; then
2207 # We do not want a PATH search for config.site.
2208 case $CONFIG_SITE in #((
2209 -*) ac_site_file1=./$CONFIG_SITE;;
2210 */*) ac_site_file1=$CONFIG_SITE;;
2211 *) ac_site_file1=./$CONFIG_SITE;;
2213 elif test "x$prefix" != xNONE; then
2214 ac_site_file1=$prefix/share/config.site
2215 ac_site_file2=$prefix/etc/config.site
2217 ac_site_file1=$ac_default_prefix/share/config.site
2218 ac_site_file2=$ac_default_prefix/etc/config.site
2220 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2222 test "x$ac_site_file" = xNONE && continue
2223 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2225 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2226 sed 's/^/| /' "$ac_site_file" >&5
2228 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2230 as_fn_error $? "failed to load site
script $ac_site_file
2231 See \
`config.log' for more details" "$LINENO" 5; }
2235 if test -r "$cache_file"; then
2236 # Some versions of bash will fail to source /dev/null (special files
2237 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2238 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2240 $as_echo "$as_me: loading cache $cache_file" >&6;}
2242 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2243 *) . "./$cache_file";;
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2248 $as_echo "$as_me: creating cache $cache_file" >&6;}
2252 as_fn_append ac_header_list " stdlib.h"
2253 as_fn_append ac_header_list " unistd.h"
2254 as_fn_append ac_header_list " sys/param.h"
2255 # Check that the precious variables saved in the cache have kept the same
2257 ac_cache_corrupted=false
2258 for ac_var in $ac_precious_vars; do
2259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2260 eval ac_new_set=\$ac_env_${ac_var}_set
2261 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2262 eval ac_new_val=\$ac_env_${ac_var}_value
2263 case $ac_old_set,$ac_new_set in
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2266 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2267 ac_cache_corrupted=: ;;
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2270 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2271 ac_cache_corrupted=: ;;
2274 if test "x$ac_old_val" != "x$ac_new_val"; then
2275 # differences in whitespace do not lead to failure.
2276 ac_old_val_w=`echo x
$ac_old_val`
2277 ac_new_val_w=`echo x
$ac_new_val`
2278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2280 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2281 ac_cache_corrupted=:
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2284 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2285 eval $ac_var=\$ac_old_val
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2288 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2290 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2293 # Pass precious variables to config.status.
2294 if test "$ac_new_set" = set; then
2296 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2297 *) ac_arg=$ac_var=$ac_new_val ;;
2299 case " $ac_configure_args " in
2300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2301 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2305 if $ac_cache_corrupted; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2309 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2310 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2312 ## -------------------- ##
2313 ## Main body of script. ##
2314 ## -------------------- ##
2317 ac_cpp='$CPP $CPPFLAGS'
2318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323 am__api_version='1.11'
2326 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2327 if test -f "$ac_dir/install-sh"; then
2329 ac_install_sh="$ac_aux_dir/install-sh -c"
2331 elif test -f "$ac_dir/install.sh"; then
2333 ac_install_sh="$ac_aux_dir/install.sh -c"
2335 elif test -f "$ac_dir/shtool"; then
2337 ac_install_sh="$ac_aux_dir/shtool install -c"
2341 if test -z "$ac_aux_dir"; then
2342 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2345 # These three variables are undocumented and unsupported,
2346 # and are intended to be withdrawn in a future Autoconf release.
2347 # They can cause serious problems if a builder's source tree is in a directory
2348 # whose full name contains unusual characters.
2349 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2350 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2351 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2354 # Find a good install program. We prefer a C program (faster),
2355 # so one script is as good as another. But avoid the broken or
2356 # incompatible versions:
2357 # SysV /etc/install, /usr/sbin/install
2358 # SunOS /usr/etc/install
2359 # IRIX /sbin/install
2361 # AmigaOS /C/install, which installs bootblocks on floppy discs
2362 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2363 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2364 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2365 # OS/2's system install, which has a completely different semantic
2366 # ./install, which can be erroneously created by make from ./install.sh.
2367 # Reject install programs that cannot install multiple files.
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2369 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2370 if test -z "$INSTALL"; then
2371 if ${ac_cv_path_install+:} false; then :
2372 $as_echo_n "(cached) " >&6
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2378 test -z "$as_dir" && as_dir=.
2379 # Account for people who put trailing slashes in PATH elements.
2380 case $as_dir/ in #((
2381 ./ | .// | /[cC]/* | \
2382 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2383 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2386 # OSF1 and SCO ODT 3.0 have their own names for install.
2387 # Don't use installbsd from OSF since it installs stuff as root
2389 for ac_prog in ginstall scoinst install; do
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2392 if test $ac_prog = install &&
2393 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2394 # AIX install. It has an incompatible calling convention.
2396 elif test $ac_prog = install &&
2397 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398 # program-specific install script used by HP pwplus--don't use.
2401 rm -rf conftest.one conftest.two conftest.dir
2402 echo one > conftest.one
2403 echo two > conftest.two
2405 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2406 test -s conftest.one && test -s conftest.two &&
2407 test -s conftest.dir/conftest.one &&
2408 test -s conftest.dir/conftest.two
2410 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2423 rm -rf conftest.one conftest.two conftest.dir
2426 if test "${ac_cv_path_install+set}" = set; then
2427 INSTALL=$ac_cv_path_install
2429 # As a last resort, use the slow shell script. Don't cache a
2430 # value for INSTALL within a source directory, because that will
2431 # break other packages using the cache if that directory is
2432 # removed, or if the value is a relative name.
2433 INSTALL=$ac_install_sh
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2437 $as_echo "$INSTALL" >&6; }
2439 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2440 # It thinks the first close brace ends the variable substitution.
2441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2443 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2445 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2448 $as_echo_n "checking whether build environment is sane... " >&6; }
2451 echo timestamp > conftest.file
2452 # Reject unsafe characters in $srcdir or the absolute working directory
2453 # name. Accept space and tab only in the latter.
2457 *[\\\"\#\$\&\'\`$am_lf]*)
2458 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2461 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2462 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2465 # Do `set' in a subshell so we don
't clobber the current shell's
2466 # arguments. Must try -L first in case configure is actually a
2467 # symlink; some systems play weird games with the mod time of symlinks
2468 # (eg FreeBSD returns the mod time of the symlink's containing
2471 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2472 if test "$*" = "X"; then
2474 set X
`ls -t "$srcdir/configure" conftest.file`
2477 if test "$*" != "X $srcdir/configure conftest.file" \
2478 && test "$*" != "X conftest.file $srcdir/configure"; then
2480 # If neither matched, then we have a broken ls. This can happen
2481 # if, for instance, CONFIG_SHELL is bash and it inherits a
2482 # broken ls alias from the environment. This has actually
2483 # happened. Such a system could not be considered "sane".
2484 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2485 alias in your environment" "$LINENO" 5
2488 test "$2" = conftest.
file
2494 as_fn_error $?
"newly created file is older than distributed files!
2495 Check your system clock" "$LINENO" 5
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2498 $as_echo "yes" >&6; }
2499 test "$program_prefix" != NONE
&&
2500 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2501 # Use a double $ so make ignores it.
2502 test "$program_suffix" != NONE
&&
2503 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2504 # Double any \ or $.
2505 # By default was `s,x,x', remove it if useless.
2506 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2507 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2509 # expand $ac_aux_dir to an absolute path
2510 am_aux_dir
=`cd $ac_aux_dir && pwd`
2512 if test x
"${MISSING+set}" != xset
; then
2515 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2517 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2520 # Use eval to expand $SHELL
2521 if eval "$MISSING --run true"; then
2522 am_missing_run
="$MISSING --run "
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2526 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2529 if test x
"${install_sh}" != xset
; then
2532 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2534 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2538 # Installed binaries are usually stripped using `strip' when the user
2539 # run `make install-strip'. However `strip' might not be the right
2540 # tool to use in cross-compilation environments, therefore Automake
2541 # will honor the `STRIP' environment variable to overrule this program.
2542 if test "$cross_compiling" != no
; then
2543 if test -n "$ac_tool_prefix"; then
2544 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2545 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if ${ac_cv_prog_STRIP+:} false
; then :
2549 $as_echo_n "(cached) " >&6
2551 if test -n "$STRIP"; then
2552 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2558 test -z "$as_dir" && as_dir
=.
2559 for ac_exec_ext
in '' $ac_executable_extensions; do
2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2561 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 STRIP
=$ac_cv_prog_STRIP
2572 if test -n "$STRIP"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2574 $as_echo "$STRIP" >&6; }
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2577 $as_echo "no" >&6; }
2582 if test -z "$ac_cv_prog_STRIP"; then
2584 # Extract the first word of "strip", so it can be a program name with args.
2585 set dummy strip
; ac_word
=$2
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2589 $as_echo_n "(cached) " >&6
2591 if test -n "$ac_ct_STRIP"; then
2592 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir
=.
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_ac_ct_STRIP
="strip"
2602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2612 if test -n "$ac_ct_STRIP"; then
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2614 $as_echo "$ac_ct_STRIP" >&6; }
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2617 $as_echo "no" >&6; }
2620 if test "x$ac_ct_STRIP" = x
; then
2623 case $cross_compiling:$ac_tool_warned in
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2627 ac_tool_warned
=yes ;;
2632 STRIP
="$ac_cv_prog_STRIP"
2636 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2639 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2640 if test -z "$MKDIR_P"; then
2641 if ${ac_cv_path_mkdir+:} false
; then :
2642 $as_echo_n "(cached) " >&6
2644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2645 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2648 test -z "$as_dir" && as_dir
=.
2649 for ac_prog
in mkdir gmkdir
; do
2650 for ac_exec_ext
in '' $ac_executable_extensions; do
2651 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2652 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2653 'mkdir (GNU coreutils) '* | \
2654 'mkdir (coreutils) '* | \
2655 'mkdir (fileutils) '4.1*)
2656 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2666 test -d .
/--version && rmdir .
/--version
2667 if test "${ac_cv_path_mkdir+set}" = set; then
2668 MKDIR_P
="$ac_cv_path_mkdir -p"
2670 # As a last resort, use the slow shell script. Don't cache a
2671 # value for MKDIR_P within a source directory, because that will
2672 # break other packages using the cache if that directory is
2673 # removed, or if the value is a relative name.
2674 MKDIR_P
="$ac_install_sh -d"
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2678 $as_echo "$MKDIR_P" >&6; }
2682 [\\/$
]* | ?
:[\\/]*) ;;
2683 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2686 for ac_prog
in gawk mawk nawk
awk
2688 # Extract the first word of "$ac_prog", so it can be a program name with args.
2689 set dummy
$ac_prog; ac_word
=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_AWK+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$AWK"; then
2696 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir
=.
2703 for ac_exec_ext
in '' $ac_executable_extensions; do
2704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2705 ac_cv_prog_AWK
="$ac_prog"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 if test -n "$AWK"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2718 $as_echo "$AWK" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2725 test -n "$AWK" && break
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2729 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2731 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2732 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2733 $as_echo_n "(cached) " >&6
2735 cat >conftest.
make <<\_ACEOF
2738 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2740 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2741 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2743 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2745 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2749 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2751 $as_echo "yes" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2756 SET_MAKE
="MAKE=${MAKE-make}"
2759 rm -rf .tst
2>/dev
/null
2760 mkdir .tst
2>/dev
/null
2761 if test -d .tst
; then
2766 rmdir .tst
2>/dev
/null
2768 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2769 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2770 # is not polluted with repeated "-I."
2771 am__isrc
=' -I$(srcdir)'
2772 # test to see if srcdir already configured
2773 if test -f $srcdir/config.status
; then
2774 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2778 # test whether we have cygpath
2779 if test -z "$CYGPATH_W"; then
2780 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2781 CYGPATH_W
='cygpath -w'
2788 # Define the identity of the package.
2793 # Some tools Automake needs.
2795 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2798 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2801 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2804 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2807 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2809 # We need awk for the "check" target. The system "awk" is bad on
2811 # Always define AMTAR for backward compatibility.
2813 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2815 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2822 ac_config_headers
="$ac_config_headers include/libratbox_config.h"
2826 DEPDIR
="${am__leading_dot}deps"
2828 ac_config_commands
="$ac_config_commands depfiles"
2831 am_make
=${MAKE-make}
2832 cat > confinc
<< 'END'
2834 @echo this is the am__doit target
2837 # If we don't find an include directive, just comment out the code.
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2839 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2843 # First try GNU make style include.
2844 echo "include confinc" > confmf
2845 # Ignore all kinds of additional output from `make'.
2846 case `$am_make -s -f confmf 2> /dev/null` in #(
2847 *the\ am__doit\ target
*)
2853 # Now try BSD make style include.
2854 if test "$am__include" = "#"; then
2855 echo '.include "confinc"' > confmf
2856 case `$am_make -s -f confmf 2> /dev/null` in #(
2857 *the\ am__doit\ target
*)
2858 am__include
=.include
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2867 $as_echo "$_am_result" >&6; }
2868 rm -f confinc confmf
2870 # Check whether --enable-dependency-tracking was given.
2871 if test "${enable_dependency_tracking+set}" = set; then :
2872 enableval
=$enable_dependency_tracking;
2875 if test "x$enable_dependency_tracking" != xno
; then
2876 am_depcomp
="$ac_aux_dir/depcomp"
2879 if test "x$enable_dependency_tracking" != xno; then
2889 ac_cpp
='$CPP $CPPFLAGS'
2890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2893 if test -n "$ac_tool_prefix"; then
2894 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2895 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if ${ac_cv_prog_CC+:} false
; then :
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$CC"; then
2902 ac_cv_prog_CC
="$CC" # Let the user override the test.
2904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir
=.
2909 for ac_exec_ext
in '' $ac_executable_extensions; do
2910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2911 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 if test -n "$CC"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2924 $as_echo "$CC" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2932 if test -z "$ac_cv_prog_CC"; then
2934 # Extract the first word of "gcc", so it can be a program name with args.
2935 set dummy gcc
; ac_word
=$2
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937 $as_echo_n "checking for $ac_word... " >&6; }
2938 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2939 $as_echo_n "(cached) " >&6
2941 if test -n "$ac_ct_CC"; then
2942 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir
=.
2949 for ac_exec_ext
in '' $ac_executable_extensions; do
2950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2951 ac_cv_prog_ac_ct_CC
="gcc"
2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2962 if test -n "$ac_ct_CC"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2964 $as_echo "$ac_ct_CC" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2970 if test "x$ac_ct_CC" = x
; then
2973 case $cross_compiling:$ac_tool_warned in
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2977 ac_tool_warned
=yes ;;
2985 if test -z "$CC"; then
2986 if test -n "$ac_tool_prefix"; then
2987 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2988 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if ${ac_cv_prog_CC+:} false
; then :
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$CC"; then
2995 ac_cv_prog_CC
="$CC" # Let the user override the test.
2997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir
=.
3002 for ac_exec_ext
in '' $ac_executable_extensions; do
3003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3004 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 if test -n "$CC"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017 $as_echo "$CC" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3026 if test -z "$CC"; then
3027 # Extract the first word of "cc", so it can be a program name with args.
3028 set dummy cc
; ac_word
=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_CC+:} false
; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC
="$CC" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3046 ac_prog_rejected
=yes
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 if test $ac_prog_rejected = yes; then
3058 # We found a bogon in the path, so make sure we never use it.
3059 set dummy
$ac_cv_prog_CC
3061 if test $# != 0; then
3062 # We chose a different compiler from the bogus one.
3063 # However, it has the same basename, so the bogon will be chosen
3064 # first if we set CC to just the basename; use the full file name.
3066 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3072 if test -n "$CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3074 $as_echo "$CC" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3082 if test -z "$CC"; then
3083 if test -n "$ac_tool_prefix"; then
3084 for ac_prog
in cl.exe
3086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3087 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if ${ac_cv_prog_CC+:} false
; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$CC"; then
3094 ac_cv_prog_CC
="$CC" # Let the user override the test.
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 for ac_exec_ext
in '' $ac_executable_extensions; do
3102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116 $as_echo "$CC" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3123 test -n "$CC" && break
3126 if test -z "$CC"; then
3128 for ac_prog
in cl.exe
3130 # Extract the first word of "$ac_prog", so it can be a program name with args.
3131 set dummy
$ac_prog; ac_word
=$2
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3133 $as_echo_n "checking for $ac_word... " >&6; }
3134 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3135 $as_echo_n "(cached) " >&6
3137 if test -n "$ac_ct_CC"; then
3138 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir
=.
3145 for ac_exec_ext
in '' $ac_executable_extensions; do
3146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3147 ac_cv_prog_ac_ct_CC
="$ac_prog"
3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3158 if test -n "$ac_ct_CC"; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3160 $as_echo "$ac_ct_CC" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3167 test -n "$ac_ct_CC" && break
3170 if test "x$ac_ct_CC" = x
; then
3173 case $cross_compiling:$ac_tool_warned in
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3177 ac_tool_warned
=yes ;;
3186 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error $?
"no acceptable C compiler found in \$PATH
3189 See \`config.log' for more details" "$LINENO" 5; }
3191 # Provide some information about the compiler.
3192 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3195 for ac_option
in --version -v -V -qversion; do
3196 { { ac_try
="$ac_compiler $ac_option >&5"
3198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3205 if test -s conftest.err; then
3207 ... rest of stderr output deleted ...
3208 10q' conftest.err >conftest.er1
3209 cat conftest.er1 >&5
3211 rm -f conftest.er1 conftest.err
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3227 ac_clean_files_save=$ac_clean_files
3228 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3229 # Try to create an executable without -o first, disregard a.out.
3230 # It will help us diagnose broken compilers, and finding out an intuition
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3233 $as_echo_n "checking whether the C compiler works... " >&6; }
3234 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3236 # The possible output files:
3237 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3240 for ac_file in $ac_files
3243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3244 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3249 if { { ac_try="$ac_link_default"
3251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3252 *) ac_try_echo
=$ac_try;;
3254 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3255 $as_echo "$ac_try_echo"; } >&5
3256 (eval "$ac_link_default") 2>&5
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; }; then :
3260 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3261 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3262 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3263 # so that the user can short-circuit this test for compilers unknown to
3265 for ac_file
in $ac_files ''
3267 test -f "$ac_file" || continue
3269 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3272 # We found the default executable, but exeext='' is most
3276 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3278 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3280 # We set ac_cv_exeext here because the later test for it is not
3281 # safe: cross compilers may not add the suffix if given an `-o'
3282 # argument, so we may need to know it at that point already.
3283 # Even if this section looks crufty: it has the advantage of
3290 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3295 if test -z "$ac_file"; then :
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3298 $as_echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.
$ac_ext >&5
3301 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3302 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3303 as_fn_error
77 "C compiler cannot create executables
3304 See \`config.log' for more details" "$LINENO" 5; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3307 $as_echo "yes" >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3310 $as_echo_n "checking for C compiler default output file name... " >&6; }
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3312 $as_echo "$ac_file" >&6; }
3313 ac_exeext
=$ac_cv_exeext
3315 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3316 ac_clean_files
=$ac_clean_files_save
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3318 $as_echo_n "checking for suffix of executables... " >&6; }
3319 if { { ac_try
="$ac_link"
3321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326 (eval "$ac_link") 2>&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329 test $ac_status = 0; }; then :
3330 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3331 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3332 # work properly (i.e., refer to `conftest.exe'), while it won't with
3334 for ac_file
in conftest.exe conftest conftest.
*; do
3335 test -f "$ac_file" || continue
3337 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3338 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3347 See \`config.log' for more details" "$LINENO" 5; }
3349 rm -f conftest conftest
$ac_cv_exeext
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3351 $as_echo "$ac_cv_exeext" >&6; }
3353 rm -f conftest.
$ac_ext
3354 EXEEXT
=$ac_cv_exeext
3356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3362 FILE *f = fopen ("conftest.out", "w");
3363 return ferror (f) || fclose (f) != 0;
3369 ac_clean_files
="$ac_clean_files conftest.out"
3370 # Check that the compiler produces executables we can run. If not, either
3371 # the compiler is broken, or we cross compile.
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3373 $as_echo_n "checking whether we are cross compiling... " >&6; }
3374 if test "$cross_compiling" != yes; then
3375 { { ac_try
="$ac_link"
3377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3378 *) ac_try_echo=$ac_try;;
3380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_link") 2>&5
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }
3386 if { ac_try='./conftest$ac_cv_exeext'
3387 { { case "(($ac_try" in
3388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3389 *) ac_try_echo
=$ac_try;;
3391 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3392 $as_echo "$ac_try_echo"; } >&5
3393 (eval "$ac_try") 2>&5
3395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3396 test $ac_status = 0; }; }; then
3399 if test "$cross_compiling" = maybe
; then
3402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3404 as_fn_error $?
"cannot run C compiled programs.
3405 If you meant to cross compile, use \`--host'.
3406 See \`config.log' for more details" "$LINENO" 5; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3411 $as_echo "$cross_compiling" >&6; }
3413 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3414 ac_clean_files
=$ac_clean_files_save
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3416 $as_echo_n "checking for suffix of object files... " >&6; }
3417 if ${ac_cv_objext+:} false
; then :
3418 $as_echo_n "(cached) " >&6
3420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3431 rm -f conftest.o conftest.obj
3432 if { { ac_try
="$ac_compile"
3434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439 (eval "$ac_compile") 2>&5
3441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442 test $ac_status = 0; }; then :
3443 for ac_file in conftest.o conftest.obj conftest.*; do
3444 test -f "$ac_file" || continue;
3446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3447 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3452 $as_echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3458 See \
`config.log' for more details" "$LINENO" 5; }
3460 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3463 $as_echo "$ac_cv_objext" >&6; }
3464 OBJEXT=$ac_cv_objext
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3467 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3468 if ${ac_cv_c_compiler_gnu+:} false; then :
3469 $as_echo_n "(cached) " >&6
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3485 if ac_fn_c_try_compile "$LINENO"; then :
3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3491 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3495 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3496 if test $ac_compiler_gnu = yes; then
3501 ac_test_CFLAGS=${CFLAGS+set}
3502 ac_save_CFLAGS=$CFLAGS
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3504 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3505 if ${ac_cv_prog_cc_g+:} false; then :
3506 $as_echo_n "(cached) " >&6
3508 ac_save_c_werror_flag=$ac_c_werror_flag
3509 ac_c_werror_flag=yes
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3523 if ac_fn_c_try_compile "$LINENO"; then :
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3538 if ac_fn_c_try_compile "$LINENO"; then :
3541 ac_c_werror_flag=$ac_save_c_werror_flag
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3554 if ac_fn_c_try_compile "$LINENO"; then :
3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 ac_c_werror_flag=$ac_save_c_werror_flag
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3565 $as_echo "$ac_cv_prog_cc_g" >&6; }
3566 if test "$ac_test_CFLAGS" = set; then
3567 CFLAGS=$ac_save_CFLAGS
3568 elif test $ac_cv_prog_cc_g = yes; then
3569 if test "$GCC" = yes; then
3575 if test "$GCC" = yes; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3582 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3583 if ${ac_cv_prog_cc_c89+:} false; then :
3584 $as_echo_n "(cached) " >&6
3586 ac_cv_prog_cc_c89=no
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3592 #include <sys/types.h>
3593 #include <sys/stat.h>
3594 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3595 struct buf { int x; };
3596 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3597 static char *e (p, i)
3603 static char *f (char * (*g) (char **, int), char **p, ...)
3608 s = g (p, va_arg (v,int));
3613 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3614 function prototypes and stuff, but not '\xHH' hex character constants.
3615 These don't provoke an error unfortunately, instead are silently treated
3616 as 'x'. The following induces an error, until -std is added to get
3617 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3618 array size at least. It's necessary to write '\x00'==0 to get something
3619 that's true only with -std. */
3620 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3622 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3623 inside strings and character constants. */
3625 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3627 int test (int i, double x);
3628 struct s1 {int (*f) (int a);};
3629 struct s2 {int (*f) (double a);};
3630 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3636 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3641 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3642 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3644 CC="$ac_save_CC $ac_arg"
3645 if ac_fn_c_try_compile "$LINENO"; then :
3646 ac_cv_prog_cc_c89=$ac_arg
3648 rm -f core conftest.err conftest.$ac_objext
3649 test "x$ac_cv_prog_cc_c89" != "xno" && break
3651 rm -f conftest.$ac_ext
3656 case "x$ac_cv_prog_cc_c89" in
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3659 $as_echo "none needed" >&6; } ;;
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3662 $as_echo "unsupported" >&6; } ;;
3664 CC="$CC $ac_cv_prog_cc_c89"
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3666 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3668 if test "x$ac_cv_prog_cc_c89" != xno; then :
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678 depcc="$CC" am_compiler_list=
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3681 $as_echo_n "checking dependency style of $depcc... " >&6; }
3682 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3683 $as_echo_n "(cached) " >&6
3685 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3686 # We make a subdir and do the tests there. Otherwise we can end up
3687 # making bogus files that we don't know about and never remove. For
3688 # instance it was reported that on HP-UX the gcc test will end up
3689 # making a dummy file named `D
' -- because `-MD' means
`put the output
3692 # Copy depcomp to subdir because otherwise we won't find it if we're
3693 # using a relative directory.
3694 cp "$am_depcomp" conftest.dir
3696 # We will build objects and dependencies in a subdirectory because
3697 # it helps to detect inapplicable dependency modes. For instance
3698 # both Tru64's cc and ICC support -MD to output dependencies as a
3699 # side effect of compilation, but ICC will put the dependencies in
3700 # the current directory while Tru64 will put them in the object
3704 am_cv_CC_dependencies_compiler_type=none
3705 if test "$am_compiler_list" = ""; then
3706 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3709 case " $depcc " in #(
3710 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3713 for depmode in $am_compiler_list; do
3714 # Setup a source with many dependencies, because some compilers
3715 # like to wrap large dependency lists on column 80 (with \), and
3716 # we should not choose a depcomp mode which is confused by this.
3718 # We need to recreate these files for each test, as the compiler may
3719 # overwrite some of them when testing with obscure command lines.
3720 # This happens at least with the AIX C compiler.
3722 for i in 1 2 3 4 5 6; do
3723 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3724 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3725 # Solaris 8's
{/usr
,}/bin
/sh.
3726 touch sub
/conftst
$i.h
3728 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3730 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3731 # mode. It turns out that the SunPro C++ compiler does not properly
3732 # handle `-M -o', and we need to detect this. Also, some Intel
3733 # versions had trouble with output in subdirs
3734 am__obj
=sub
/conftest.
${OBJEXT-o}
3735 am__minus_obj
="-o $am__obj"
3738 # This depmode causes a compiler race in universal mode.
3739 test "$am__universal" = false
|| continue
3742 # after this tag, mechanisms are not by side-effect, so they'll
3743 # only be used when explicitly requested
3744 if test "x$enable_dependency_tracking" = xyes
; then
3750 msvisualcpp
| msvcmsys
)
3751 # This compiler won't grok `-c -o', but also, the minuso test has
3752 # not run yet. These depmodes are late enough in the game, and
3753 # so weak that their functioning should not be impacted.
3754 am__obj
=conftest.
${OBJEXT-o}
3759 if depmode
=$depmode \
3760 source=sub
/conftest.c object
=$am__obj \
3761 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3762 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3763 >/dev
/null
2>conftest.err
&&
3764 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3765 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3766 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3767 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3768 # icc doesn't choke on unknown options, it will just issue warnings
3769 # or remarks (even with -Werror). So we grep stderr for any message
3770 # that says an option was ignored or not supported.
3771 # When given -MP, icc 7.0 and 7.1 complain thusly:
3772 # icc: Command line warning: ignoring option '-M'; no argument required
3773 # The diagnosis changed in icc 8.0:
3774 # icc: Command line remark: option '-MP' not supported
3775 if (grep 'ignoring option' conftest.err
||
3776 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3777 am_cv_CC_dependencies_compiler_type
=$depmode
3786 am_cv_CC_dependencies_compiler_type
=none
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3791 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3792 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3795 test "x$enable_dependency_tracking" != xno \
3796 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3798 am__fastdepCC_FALSE
='#'
3800 am__fastdepCC_TRUE
='#'
3801 am__fastdepCC_FALSE
=
3807 ac_cpp
='$CPP $CPPFLAGS'
3808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3812 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3813 # On Suns, sometimes $CPP names a directory.
3814 if test -n "$CPP" && test -d "$CPP"; then
3817 if test -z "$CPP"; then
3818 if ${ac_cv_prog_CPP+:} false
; then :
3819 $as_echo_n "(cached) " >&6
3821 # Double quotes because CPP needs to be expanded
3822 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3825 for ac_c_preproc_warn_flag
in '' yes
3827 # Use a header file that comes with gcc, so configuring glibc
3828 # with a fresh cross-compiler works.
3829 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3830 # <limits.h> exists even on freestanding compilers.
3831 # On the NeXT, cc -E runs the code through the compiler's parser,
3832 # not just through cpp. "Syntax error" is here to catch this case.
3833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3836 # include <limits.h>
3838 # include <assert.h>
3842 if ac_fn_c_try_cpp
"$LINENO"; then :
3845 # Broken: fails on valid input.
3848 rm -f conftest.err conftest.i conftest.
$ac_ext
3850 # OK, works on sane cases. Now check whether nonexistent headers
3851 # can be detected and how.
3852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3854 #include <ac_nonexistent.h>
3856 if ac_fn_c_try_cpp
"$LINENO"; then :
3857 # Broken: success on invalid input.
3860 # Passes both tests.
3864 rm -f conftest.err conftest.i conftest.
$ac_ext
3867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3868 rm -f conftest.i conftest.err conftest.
$ac_ext
3869 if $ac_preproc_ok; then :
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3882 $as_echo "$CPP" >&6; }
3884 for ac_c_preproc_warn_flag
in '' yes
3886 # Use a header file that comes with gcc, so configuring glibc
3887 # with a fresh cross-compiler works.
3888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3889 # <limits.h> exists even on freestanding compilers.
3890 # On the NeXT, cc -E runs the code through the compiler's parser,
3891 # not just through cpp. "Syntax error" is here to catch this case.
3892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3895 # include <limits.h>
3897 # include <assert.h>
3901 if ac_fn_c_try_cpp
"$LINENO"; then :
3904 # Broken: fails on valid input.
3907 rm -f conftest.err conftest.i conftest.
$ac_ext
3909 # OK, works on sane cases. Now check whether nonexistent headers
3910 # can be detected and how.
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3913 #include <ac_nonexistent.h>
3915 if ac_fn_c_try_cpp
"$LINENO"; then :
3916 # Broken: success on invalid input.
3919 # Passes both tests.
3923 rm -f conftest.err conftest.i conftest.
$ac_ext
3926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3927 rm -f conftest.i conftest.err conftest.
$ac_ext
3928 if $ac_preproc_ok; then :
3931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3934 See \`config.log' for more details" "$LINENO" 5; }
3938 ac_cpp
='$CPP $CPPFLAGS'
3939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3945 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3946 if ${ac_cv_path_GREP+:} false
; then :
3947 $as_echo_n "(cached) " >&6
3949 if test -z "$GREP"; then
3950 ac_path_GREP_found
=false
3951 # Loop through the user's path and test for each of PROGNAME-LIST
3952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3953 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3956 test -z "$as_dir" && as_dir
=.
3957 for ac_prog
in grep ggrep
; do
3958 for ac_exec_ext
in '' $ac_executable_extensions; do
3959 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3960 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3961 # Check for GNU ac_path_GREP and select it if it is found.
3962 # Check for GNU $ac_path_GREP
3963 case `"$ac_path_GREP" --version 2>&1` in
3965 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3968 $as_echo_n 0123456789 >"conftest.in"
3971 cat "conftest.in" "conftest.in" >"conftest.tmp"
3972 mv "conftest.tmp" "conftest.in"
3973 cp "conftest.in" "conftest.nl"
3974 $as_echo 'GREP' >> "conftest.nl"
3975 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3976 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3977 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3978 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3979 # Best one so far, save it but keep looking for a better one
3980 ac_cv_path_GREP
="$ac_path_GREP"
3981 ac_path_GREP_max
=$ac_count
3983 # 10*(2^10) chars as input seems more than enough
3984 test $ac_count -gt 10 && break
3986 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3989 $ac_path_GREP_found && break 3
3994 if test -z "$ac_cv_path_GREP"; then
3995 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3998 ac_cv_path_GREP
=$GREP
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4003 $as_echo "$ac_cv_path_GREP" >&6; }
4004 GREP
="$ac_cv_path_GREP"
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4008 $as_echo_n "checking for egrep... " >&6; }
4009 if ${ac_cv_path_EGREP+:} false
; then :
4010 $as_echo_n "(cached) " >&6
4012 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4013 then ac_cv_path_EGREP
="$GREP -E"
4015 if test -z "$EGREP"; then
4016 ac_path_EGREP_found
=false
4017 # Loop through the user's path and test for each of PROGNAME-LIST
4018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4019 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4022 test -z "$as_dir" && as_dir
=.
4023 for ac_prog
in egrep; do
4024 for ac_exec_ext
in '' $ac_executable_extensions; do
4025 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4026 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4027 # Check for GNU ac_path_EGREP and select it if it is found.
4028 # Check for GNU $ac_path_EGREP
4029 case `"$ac_path_EGREP" --version 2>&1` in
4031 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4034 $as_echo_n 0123456789 >"conftest.in"
4037 cat "conftest.in" "conftest.in" >"conftest.tmp"
4038 mv "conftest.tmp" "conftest.in"
4039 cp "conftest.in" "conftest.nl"
4040 $as_echo 'EGREP' >> "conftest.nl"
4041 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4042 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4043 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4044 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4045 # Best one so far, save it but keep looking for a better one
4046 ac_cv_path_EGREP
="$ac_path_EGREP"
4047 ac_path_EGREP_max
=$ac_count
4049 # 10*(2^10) chars as input seems more than enough
4050 test $ac_count -gt 10 && break
4052 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4055 $ac_path_EGREP_found && break 3
4060 if test -z "$ac_cv_path_EGREP"; then
4061 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4064 ac_cv_path_EGREP
=$EGREP
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4070 $as_echo "$ac_cv_path_EGREP" >&6; }
4071 EGREP
="$ac_cv_path_EGREP"
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4075 $as_echo_n "checking for ANSI C header files... " >&6; }
4076 if ${ac_cv_header_stdc+:} false
; then :
4077 $as_echo_n "(cached) " >&6
4079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4094 if ac_fn_c_try_compile
"$LINENO"; then :
4095 ac_cv_header_stdc
=yes
4097 ac_cv_header_stdc
=no
4099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4101 if test $ac_cv_header_stdc = yes; then
4102 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4104 /* end confdefs.h. */
4108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4109 $EGREP "memchr" >/dev
/null
2>&1; then :
4112 ac_cv_header_stdc
=no
4118 if test $ac_cv_header_stdc = yes; then
4119 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4126 $EGREP "free" >/dev
/null
2>&1; then :
4129 ac_cv_header_stdc
=no
4135 if test $ac_cv_header_stdc = yes; then
4136 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4137 if test "$cross_compiling" = yes; then :
4140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h. */
4144 #if ((' ' & 0x0FF) == 0x020)
4145 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4146 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4148 # define ISLOWER(c) \
4149 (('a' <= (c) && (c) <= 'i') \
4150 || ('j' <= (c) && (c) <= 'r') \
4151 || ('s' <= (c) && (c) <= 'z'))
4152 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4155 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4160 for (i = 0; i < 256; i++)
4161 if (XOR (islower (i), ISLOWER (i))
4162 || toupper (i) != TOUPPER (i))
4167 if ac_fn_c_try_run
"$LINENO"; then :
4170 ac_cv_header_stdc
=no
4172 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4173 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4179 $as_echo "$ac_cv_header_stdc" >&6; }
4180 if test $ac_cv_header_stdc = yes; then
4182 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4186 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4187 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4188 inttypes.h stdint.h unistd.h
4190 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4191 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4193 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4194 cat >>confdefs.h
<<_ACEOF
4195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4204 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4205 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
4212 if test "$MINIX" = yes; then
4214 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4217 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4220 $as_echo "#define _MINIX 1" >>confdefs.h
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4226 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4227 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
4228 $as_echo_n "(cached) " >&6
4230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4233 # define __EXTENSIONS__ 1
4234 $ac_includes_default
4243 if ac_fn_c_try_compile
"$LINENO"; then :
4244 ac_cv_safe_to_define___extensions__
=yes
4246 ac_cv_safe_to_define___extensions__
=no
4248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4251 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4252 test $ac_cv_safe_to_define___extensions__ = yes &&
4253 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4255 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4257 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4259 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4261 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4267 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4268 if ${ac_cv_prog_cc_c99+:} false
; then :
4269 $as_echo_n "(cached) " >&6
4271 ac_cv_prog_cc_c99
=no
4273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4276 #include <stdbool.h>
4281 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4282 #define debug(...) fprintf (stderr, __VA_ARGS__)
4283 #define showlist(...) puts (#__VA_ARGS__)
4284 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4286 test_varargs_macros (void)
4291 debug ("X = %d\n", x);
4292 showlist (The first, second, and third items.);
4293 report (x>y, "x is %d but y is %d", x, y);
4296 // Check long long types.
4297 #define BIG64 18446744073709551615ull
4298 #define BIG32 4294967295ul
4299 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4301 your preprocessor is broken;
4305 your preprocessor is broken;
4307 static long long int bignum = -9223372036854775807LL;
4308 static unsigned long long int ubignum = BIG64;
4310 struct incomplete_array
4318 const wchar_t *name;
4322 typedef const char *ccp;
4325 test_restrict (ccp restrict text)
4327 // See if C++-style comments work.
4328 // Iterate through items via the restricted pointer.
4329 // Also check for declarations in for loops.
4330 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4335 // Check varargs and va_copy.
4337 test_varargs (const char *format, ...)
4340 va_start (args, format);
4342 va_copy (args_copy, args);
4353 str = va_arg (args_copy, const char *);
4356 number = va_arg (args_copy, int);
4359 fnumber = va_arg (args_copy, double);
4374 _Bool success = false;
4377 if (test_restrict ("String literal") == 0)
4379 char *restrict newvar = "Another string";
4382 test_varargs ("s, d' f .", "string", 65, 34.234);
4383 test_varargs_macros ();
4385 // Check flexible array members.
4386 struct incomplete_array *ia =
4387 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4389 for (int i = 0; i < ia->datasize; ++i)
4390 ia->data[i] = i * 1.234;
4392 // Check named initializers.
4393 struct named_init ni = {
4395 .name = L"Test wide string",
4396 .average = 543.34343,
4401 int dynamic_array[ni.number];
4402 dynamic_array[ni.number - 1] = 543;
4404 // work around unused variable warnings
4405 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4406 || dynamic_array[ni.number - 1] != 543);
4412 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
4414 CC
="$ac_save_CC $ac_arg"
4415 if ac_fn_c_try_compile
"$LINENO"; then :
4416 ac_cv_prog_cc_c99
=$ac_arg
4418 rm -f core conftest.err conftest.
$ac_objext
4419 test "x$ac_cv_prog_cc_c99" != "xno" && break
4421 rm -f conftest.
$ac_ext
4426 case "x$ac_cv_prog_cc_c99" in
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4429 $as_echo "none needed" >&6; } ;;
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4432 $as_echo "unsupported" >&6; } ;;
4434 CC
="$CC $ac_cv_prog_cc_c99"
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4436 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4438 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4444 if test x
"$ac_cv_prog_cc_c99" = "xno"; then
4445 as_fn_error $?
"ircd-ratbox requires a C99 capable compiler" "$LINENO" 5
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4451 $as_echo_n "checking for egrep... " >&6; }
4452 if ${ac_cv_path_EGREP+:} false
; then :
4453 $as_echo_n "(cached) " >&6
4455 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4456 then ac_cv_path_EGREP
="$GREP -E"
4458 if test -z "$EGREP"; then
4459 ac_path_EGREP_found
=false
4460 # Loop through the user's path and test for each of PROGNAME-LIST
4461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4462 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4465 test -z "$as_dir" && as_dir
=.
4466 for ac_prog
in egrep; do
4467 for ac_exec_ext
in '' $ac_executable_extensions; do
4468 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4469 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4470 # Check for GNU ac_path_EGREP and select it if it is found.
4471 # Check for GNU $ac_path_EGREP
4472 case `"$ac_path_EGREP" --version 2>&1` in
4474 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4477 $as_echo_n 0123456789 >"conftest.in"
4480 cat "conftest.in" "conftest.in" >"conftest.tmp"
4481 mv "conftest.tmp" "conftest.in"
4482 cp "conftest.in" "conftest.nl"
4483 $as_echo 'EGREP' >> "conftest.nl"
4484 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4485 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4486 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4487 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4488 # Best one so far, save it but keep looking for a better one
4489 ac_cv_path_EGREP
="$ac_path_EGREP"
4490 ac_path_EGREP_max
=$ac_count
4492 # 10*(2^10) chars as input seems more than enough
4493 test $ac_count -gt 10 && break
4495 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4498 $ac_path_EGREP_found && break 3
4503 if test -z "$ac_cv_path_EGREP"; then
4504 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4507 ac_cv_path_EGREP
=$EGREP
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4513 $as_echo "$ac_cv_path_EGREP" >&6; }
4514 EGREP
="$ac_cv_path_EGREP"
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4518 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4519 if ${ac_cv_path_SED+:} false
; then :
4520 $as_echo_n "(cached) " >&6
4522 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4523 for ac_i
in 1 2 3 4 5 6 7; do
4524 ac_script
="$ac_script$as_nl$ac_script"
4526 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
4527 { ac_script
=; unset ac_script
;}
4528 if test -z "$SED"; then
4529 ac_path_SED_found
=false
4530 # Loop through the user's path and test for each of PROGNAME-LIST
4531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir
=.
4536 for ac_prog
in sed gsed
; do
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4539 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4540 # Check for GNU ac_path_SED and select it if it is found.
4541 # Check for GNU $ac_path_SED
4542 case `"$ac_path_SED" --version 2>&1` in
4544 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4547 $as_echo_n 0123456789 >"conftest.in"
4550 cat "conftest.in" "conftest.in" >"conftest.tmp"
4551 mv "conftest.tmp" "conftest.in"
4552 cp "conftest.in" "conftest.nl"
4553 $as_echo '' >> "conftest.nl"
4554 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4555 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4556 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4557 if test $ac_count -gt ${ac_path_SED_max-0}; then
4558 # Best one so far, save it but keep looking for a better one
4559 ac_cv_path_SED
="$ac_path_SED"
4560 ac_path_SED_max
=$ac_count
4562 # 10*(2^10) chars as input seems more than enough
4563 test $ac_count -gt 10 && break
4565 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4568 $ac_path_SED_found && break 3
4573 if test -z "$ac_cv_path_SED"; then
4574 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4582 $as_echo "$ac_cv_path_SED" >&6; }
4583 SED
="$ac_cv_path_SED"
4591 # Check whether --enable-static was given.
4592 if test "${enable_static+set}" = set; then :
4593 enableval
=$enable_static; p
=${PACKAGE-default}
4595 yes) enable_static
=yes ;;
4596 no
) enable_static
=no
;;
4599 # Look at the argument we got. We use all the common list separators.
4600 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4601 for pkg
in $enableval; do
4603 if test "X$pkg" = "X$p"; then
4622 # Check whether --enable-shared was given.
4623 if test "${enable_shared+set}" = set; then :
4624 enableval
=$enable_shared; p
=${PACKAGE-default}
4626 yes) enable_shared
=yes ;;
4627 no
) enable_shared
=no
;;
4630 # Look at the argument we got. We use all the common list separators.
4631 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4632 for pkg
in $enableval; do
4634 if test "X$pkg" = "X$p"; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4655 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4656 # Check whether --enable-maintainer-mode was given.
4657 if test "${enable_maintainer_mode+set}" = set; then :
4658 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4660 USE_MAINTAINER_MODE
=no
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4664 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4665 if test $USE_MAINTAINER_MODE = yes; then
4666 MAINTAINER_MODE_TRUE
=
4667 MAINTAINER_MODE_FALSE
='#'
4669 MAINTAINER_MODE_TRUE
='#'
4670 MAINTAINER_MODE_FALSE
=
4673 MAINT
=$MAINTAINER_MODE_TRUE
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4678 $as_echo_n "checking for library containing strerror... " >&6; }
4679 if ${ac_cv_search_strerror+:} false
; then :
4680 $as_echo_n "(cached) " >&6
4682 ac_func_search_save_LIBS
=$LIBS
4683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4686 /* Override any GCC internal prototype to avoid an error.
4687 Use char because int might match the return type of a GCC
4688 builtin and then its argument prototype would still apply. */
4701 for ac_lib
in '' cposix
; do
4702 if test -z "$ac_lib"; then
4703 ac_res
="none required"
4706 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4708 if ac_fn_c_try_link
"$LINENO"; then :
4709 ac_cv_search_strerror
=$ac_res
4711 rm -f core conftest.err conftest.
$ac_objext \
4713 if ${ac_cv_search_strerror+:} false
; then :
4717 if ${ac_cv_search_strerror+:} false
; then :
4720 ac_cv_search_strerror
=no
4723 LIBS
=$ac_func_search_save_LIBS
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4726 $as_echo "$ac_cv_search_strerror" >&6; }
4727 ac_res
=$ac_cv_search_strerror
4728 if test "$ac_res" != no
; then :
4729 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4734 $as_echo_n "checking for inline... " >&6; }
4735 if ${ac_cv_c_inline+:} false
; then :
4736 $as_echo_n "(cached) " >&6
4739 for ac_kw
in inline __inline__ __inline
; do
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4744 static $ac_kw foo_t static_foo () {return 0; }
4745 $ac_kw foo_t foo () {return 0; }
4749 if ac_fn_c_try_compile
"$LINENO"; then :
4750 ac_cv_c_inline
=$ac_kw
4752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4753 test "$ac_cv_c_inline" != no
&& break
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4758 $as_echo "$ac_cv_c_inline" >&6; }
4760 case $ac_cv_c_inline in
4763 case $ac_cv_c_inline in
4765 *) ac_val
=$ac_cv_c_inline;;
4767 cat >>confdefs.h
<<_ACEOF
4769 #define inline $ac_val
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4776 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4777 if ${ac_cv_c_const+:} false
; then :
4778 $as_echo_n "(cached) " >&6
4780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4786 /* FIXME: Include the comments suggested by Paul. */
4788 /* Ultrix mips cc rejects this. */
4789 typedef int charset[2];
4791 /* SunOS 4.1.1 cc rejects this. */
4792 char const *const *pcpcc;
4794 /* NEC SVR4.0.2 mips cc rejects this. */
4795 struct point {int x, y;};
4796 static struct point const zero = {0,0};
4797 /* AIX XL C 1.02.0.0 rejects this.
4798 It does not let you subtract one const X* pointer from another in
4799 an arm of an if-expression whose if-part is not a constant
4801 const char *g = "string";
4802 pcpcc = &g + (g ? g-g : 0);
4803 /* HPUX 7.0 cc rejects these. */
4805 ppc = (char**) pcpcc;
4806 pcpcc = (char const *const *) ppc;
4807 { /* SCO 3.2v4 cc rejects this. */
4809 char const *s = 0 ? (char *) 0 : (char const *) 0;
4814 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4816 const int *foo = &x[0];
4819 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4820 typedef const int *iptr;
4824 { /* AIX XL C 1.02.0.0 rejects this saying
4825 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4826 struct s { int j; const int *ap[3]; };
4827 struct s *b; b->j = 5;
4829 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4833 return !cs[0] && !zero.x;
4840 if ac_fn_c_try_compile
"$LINENO"; then :
4845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4848 $as_echo "$ac_cv_c_const" >&6; }
4849 if test $ac_cv_c_const = no
; then
4851 $as_echo "#define const /**/" >>confdefs.h
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4856 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4857 if ${ac_cv_c_bigendian+:} false
; then :
4858 $as_echo_n "(cached) " >&6
4860 ac_cv_c_bigendian
=unknown
4861 # See if we're dealing with a universal compiler.
4862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4864 #ifndef __APPLE_CC__
4865 not a universal capable compiler
4870 if ac_fn_c_try_compile
"$LINENO"; then :
4872 # Check for potential -arch flags. It is not universal unless
4873 # there are at least two -arch flags with different values.
4876 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4877 if test -n "$ac_prev"; then
4879 i?
86 | x86_64
| ppc
| ppc64
)
4880 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4883 ac_cv_c_bigendian
=universal
4889 elif test "x$ac_word" = "x-arch"; then
4894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4895 if test $ac_cv_c_bigendian = unknown
; then
4896 # See if sys/param.h defines the BYTE_ORDER macro.
4897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4899 #include <sys/types.h>
4900 #include <sys/param.h>
4905 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4906 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4915 if ac_fn_c_try_compile
"$LINENO"; then :
4916 # It does; now see whether it defined to BIG_ENDIAN or not.
4917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4918 /* end confdefs.h. */
4919 #include <sys/types.h>
4920 #include <sys/param.h>
4925 #if BYTE_ORDER != BIG_ENDIAN
4933 if ac_fn_c_try_compile
"$LINENO"; then :
4934 ac_cv_c_bigendian
=yes
4936 ac_cv_c_bigendian
=no
4938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4942 if test $ac_cv_c_bigendian = unknown
; then
4943 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4951 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4959 if ac_fn_c_try_compile
"$LINENO"; then :
4960 # It does; now see whether it defined to _BIG_ENDIAN or not.
4961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4976 if ac_fn_c_try_compile
"$LINENO"; then :
4977 ac_cv_c_bigendian
=yes
4979 ac_cv_c_bigendian
=no
4981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4985 if test $ac_cv_c_bigendian = unknown
; then
4986 # Compile a test program.
4987 if test "$cross_compiling" = yes; then :
4988 # Try to guess by grepping values from an object file.
4989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4991 short int ascii_mm[] =
4992 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4993 short int ascii_ii[] =
4994 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4995 int use_ascii (int i) {
4996 return ascii_mm[i] + ascii_ii[i];
4998 short int ebcdic_ii[] =
4999 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5000 short int ebcdic_mm[] =
5001 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5002 int use_ebcdic (int i) {
5003 return ebcdic_mm[i] + ebcdic_ii[i];
5010 return use_ascii (foo) == use_ebcdic (foo);
5015 if ac_fn_c_try_compile
"$LINENO"; then :
5016 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5017 ac_cv_c_bigendian
=yes
5019 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5020 if test "$ac_cv_c_bigendian" = unknown
; then
5021 ac_cv_c_bigendian
=no
5023 # finding both strings is unlikely to happen, but who knows?
5024 ac_cv_c_bigendian
=unknown
5028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 $ac_includes_default
5037 /* Are we little or big endian? From Harbison&Steele. */
5041 char c[sizeof (long int)];
5044 return u.c[sizeof (long int) - 1] == 1;
5050 if ac_fn_c_try_run
"$LINENO"; then :
5051 ac_cv_c_bigendian
=no
5053 ac_cv_c_bigendian
=yes
5055 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5056 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5062 $as_echo "$ac_cv_c_bigendian" >&6; }
5063 case $ac_cv_c_bigendian in #(
5065 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5071 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5075 as_fn_error $?
"unknown endianness
5076 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5080 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5082 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5083 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5084 $as_echo_n "(cached) " >&6
5086 cat >conftest.
make <<\_ACEOF
5089 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5091 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5092 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5094 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5096 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5100 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5102 $as_echo "yes" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5107 SET_MAKE
="MAKE=${MAKE-make}"
5111 # Extract the first word of "automake", so it can be a program name with args.
5112 set dummy automake
; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_path_AUTOMAKE+:} false
; then :
5116 $as_echo_n "(cached) " >&6
5120 ac_cv_path_AUTOMAKE
="$AUTOMAKE" # Let the user override the test with a path.
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_exec_ext
in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_path_AUTOMAKE
="$as_dir/$ac_word$ac_exec_ext"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 AUTOMAKE
=$ac_cv_path_AUTOMAKE
5142 if test -n "$AUTOMAKE"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOMAKE" >&5
5144 $as_echo "$AUTOMAKE" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5151 # Extract the first word of "aclocal", so it can be a program name with args.
5152 set dummy aclocal
; ac_word
=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_path_ACLOCAL+:} false
; then :
5156 $as_echo_n "(cached) " >&6
5160 ac_cv_path_ACLOCAL
="$ACLOCAL" # Let the user override the test with a path.
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_path_ACLOCAL
="$as_dir/$ac_word$ac_exec_ext"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 ACLOCAL
=$ac_cv_path_ACLOCAL
5182 if test -n "$ACLOCAL"; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
5184 $as_echo "$ACLOCAL" >&6; }
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5191 # Extract the first word of "autoheader", so it can be a program name with args.
5192 set dummy autoheader
; ac_word
=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_path_AUTOHEADER+:} false
; then :
5196 $as_echo_n "(cached) " >&6
5200 ac_cv_path_AUTOHEADER
="$AUTOHEADER" # Let the user override the test with a path.
5203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir
=.
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5210 ac_cv_path_AUTOHEADER
="$as_dir/$ac_word$ac_exec_ext"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 AUTOHEADER
=$ac_cv_path_AUTOHEADER
5222 if test -n "$AUTOHEADER"; then
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
5224 $as_echo "$AUTOHEADER" >&6; }
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5231 # Extract the first word of "as", so it can be a program name with args.
5232 set dummy as
; ac_word
=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_path_AS+:} false
; then :
5236 $as_echo_n "(cached) " >&6
5240 ac_cv_path_AS
="$AS" # Let the user override the test with a path.
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5250 ac_cv_path_AS
="$as_dir/$ac_word$ac_exec_ext"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 if test -n "$AS"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5264 $as_echo "$AS" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5271 # Extract the first word of "rm", so it can be a program name with args.
5272 set dummy
rm; ac_word
=$2
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5274 $as_echo_n "checking for $ac_word... " >&6; }
5275 if ${ac_cv_path_RM+:} false
; then :
5276 $as_echo_n "(cached) " >&6
5280 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
5283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir
=.
5288 for ac_exec_ext
in '' $ac_executable_extensions; do
5289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5302 if test -n "$RM"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
5304 $as_echo "$RM" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5311 # Extract the first word of "cp", so it can be a program name with args.
5312 set dummy
cp; ac_word
=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_path_CP+:} false
; then :
5316 $as_echo_n "(cached) " >&6
5320 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
5323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir
=.
5328 for ac_exec_ext
in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 if test -n "$CP"; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
5344 $as_echo "$CP" >&6; }
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5347 $as_echo "no" >&6; }
5351 # Extract the first word of "mv", so it can be a program name with args.
5352 set dummy
mv; ac_word
=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_path_MV+:} false
; then :
5356 $as_echo_n "(cached) " >&6
5360 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
5363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir
=.
5368 for ac_exec_ext
in '' $ac_executable_extensions; do
5369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5370 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 if test -n "$MV"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
5384 $as_echo "$MV" >&6; }
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5391 # Extract the first word of "ln", so it can be a program name with args.
5392 set dummy
ln; ac_word
=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_path_LN+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5400 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 if test -n "$LN"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
5424 $as_echo "$LN" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5431 # Extract the first word of "touch", so it can be a program name with args.
5432 set dummy
touch; ac_word
=$2
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434 $as_echo_n "checking for $ac_word... " >&6; }
5435 if ${ac_cv_path_TOUCH+:} false
; then :
5436 $as_echo_n "(cached) " >&6
5440 ac_cv_path_TOUCH
="$TOUCH" # Let the user override the test with a path.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_path_TOUCH
="$as_dir/$ac_word$ac_exec_ext"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 TOUCH
=$ac_cv_path_TOUCH
5462 if test -n "$TOUCH"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
5464 $as_echo "$TOUCH" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5472 ac_cpp
='$CPP $CPPFLAGS'
5473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5481 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5486 macro_version
='2.4.2'
5487 macro_revision
='1.3337'
5501 ltmain
="$ac_aux_dir/ltmain.sh"
5503 # Make sure we can run config.sub.
5504 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
5505 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5508 $as_echo_n "checking build system type... " >&6; }
5509 if ${ac_cv_build+:} false
; then :
5510 $as_echo_n "(cached) " >&6
5512 ac_build_alias
=$build_alias
5513 test "x$ac_build_alias" = x
&&
5514 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
5515 test "x$ac_build_alias" = x
&&
5516 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
5517 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5518 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5522 $as_echo "$ac_cv_build" >&6; }
5523 case $ac_cv_build in
5525 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
5528 ac_save_IFS
=$IFS; IFS
='-'
5534 # Remember, the first character of IFS is used to create $*,
5535 # except with old shells:
5538 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5542 $as_echo_n "checking host system type... " >&6; }
5543 if ${ac_cv_host+:} false
; then :
5544 $as_echo_n "(cached) " >&6
5546 if test "x$host_alias" = x
; then
5547 ac_cv_host
=$ac_cv_build
5549 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5550 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5555 $as_echo "$ac_cv_host" >&6; }
5558 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
5561 ac_save_IFS
=$IFS; IFS
='-'
5567 # Remember, the first character of IFS is used to create $*,
5568 # except with old shells:
5571 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
5574 # Backslashify metacharacters that are still active within
5575 # double-quoted strings.
5576 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5578 # Same as above, but do not quote variable references.
5579 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5581 # Sed substitution to delay expansion of an escaped shell variable in a
5582 # double_quote_subst'ed string.
5583 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5585 # Sed substitution to delay expansion of an escaped single quote.
5586 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5588 # Sed substitution to avoid accidental globbing in evaled expressions
5589 no_glob_subst
='s/\*/\\\*/g'
5591 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5592 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5593 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5596 $as_echo_n "checking how to print strings... " >&6; }
5597 # Test print first, because it will be a builtin if present.
5598 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5599 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5601 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5604 # Use this function as a fallback that always works.
5605 func_fallback_echo ()
5607 eval 'cat <<_LTECHO_EOF
5611 ECHO='func_fallback_echo
'
5614 # func_echo_all arg...
5615 # Invoke $ECHO with all args, space-separated.
5622 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5623 $as_echo "printf" >&6; } ;;
5624 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5625 $as_echo "print -r" >&6; } ;;
5626 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5627 $as_echo "cat" >&6; } ;;
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5644 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5645 if ${ac_cv_path_SED+:} false; then :
5646 $as_echo_n "(cached) " >&6
5648 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5649 for ac_i in 1 2 3 4 5 6 7; do
5650 ac_script="$ac_script$as_nl$ac_script"
5652 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5653 { ac_script=; unset ac_script;}
5654 if test -z "$SED"; then
5655 ac_path_SED_found=false
5656 # Loop through the user's path and
test for each of PROGNAME
-LIST
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_prog
in sed gsed
; do
5663 for ac_exec_ext
in '' $ac_executable_extensions; do
5664 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5665 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5666 # Check for GNU ac_path_SED and select it if it is found.
5667 # Check for GNU $ac_path_SED
5668 case `"$ac_path_SED" --version 2>&1` in
5670 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5673 $as_echo_n 0123456789 >"conftest.in"
5676 cat "conftest.in" "conftest.in" >"conftest.tmp"
5677 mv "conftest.tmp" "conftest.in"
5678 cp "conftest.in" "conftest.nl"
5679 $as_echo '' >> "conftest.nl"
5680 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5681 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5682 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5683 if test $ac_count -gt ${ac_path_SED_max-0}; then
5684 # Best one so far, save it but keep looking for a better one
5685 ac_cv_path_SED
="$ac_path_SED"
5686 ac_path_SED_max
=$ac_count
5688 # 10*(2^10) chars as input seems more than enough
5689 test $ac_count -gt 10 && break
5691 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5694 $ac_path_SED_found && break 3
5699 if test -z "$ac_cv_path_SED"; then
5700 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5708 $as_echo "$ac_cv_path_SED" >&6; }
5709 SED
="$ac_cv_path_SED"
5712 test -z "$SED" && SED
=sed
5713 Xsed
="$SED -e 1s/^X//"
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5726 $as_echo_n "checking for fgrep... " >&6; }
5727 if ${ac_cv_path_FGREP+:} false
; then :
5728 $as_echo_n "(cached) " >&6
5730 if echo 'ab*c' | $GREP -F 'ab*c' >/dev
/null
2>&1
5731 then ac_cv_path_FGREP
="$GREP -F"
5733 if test -z "$FGREP"; then
5734 ac_path_FGREP_found
=false
5735 # Loop through the user's path and test for each of PROGNAME-LIST
5736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5740 test -z "$as_dir" && as_dir
=.
5741 for ac_prog
in fgrep
; do
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5744 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5745 # Check for GNU ac_path_FGREP and select it if it is found.
5746 # Check for GNU $ac_path_FGREP
5747 case `"$ac_path_FGREP" --version 2>&1` in
5749 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5752 $as_echo_n 0123456789 >"conftest.in"
5755 cat "conftest.in" "conftest.in" >"conftest.tmp"
5756 mv "conftest.tmp" "conftest.in"
5757 cp "conftest.in" "conftest.nl"
5758 $as_echo 'FGREP' >> "conftest.nl"
5759 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
5760 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
5761 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5762 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5763 # Best one so far, save it but keep looking for a better one
5764 ac_cv_path_FGREP
="$ac_path_FGREP"
5765 ac_path_FGREP_max
=$ac_count
5767 # 10*(2^10) chars as input seems more than enough
5768 test $ac_count -gt 10 && break
5770 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5773 $ac_path_FGREP_found && break 3
5778 if test -z "$ac_cv_path_FGREP"; then
5779 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5782 ac_cv_path_FGREP
=$FGREP
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5788 $as_echo "$ac_cv_path_FGREP" >&6; }
5789 FGREP
="$ac_cv_path_FGREP"
5792 test -z "$GREP" && GREP
=grep
5812 # Check whether --with-gnu-ld was given.
5813 if test "${with_gnu_ld+set}" = set; then :
5814 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
5820 if test "$GCC" = yes; then
5821 # Check if gcc -print-prog-name=ld gives a path.
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5823 $as_echo_n "checking for ld used by $CC... " >&6; }
5826 # gcc leaves a trailing carriage return which upsets mingw
5827 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5829 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5832 # Accept absolute paths.
5834 re_direlt
='/[^/][^/]*/\.\./'
5835 # Canonicalize the pathname of ld
5836 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5837 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
5838 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5840 test -z "$LD" && LD
="$ac_prog"
5843 # If it fails, then pretend we aren't using GCC.
5847 # If it is relative, then search for the first ld in PATH.
5851 elif test "$with_gnu_ld" = yes; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5853 $as_echo_n "checking for GNU ld... " >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5856 $as_echo_n "checking for non-GNU ld... " >&6; }
5858 if ${lt_cv_path_LD+:} false
; then :
5859 $as_echo_n "(cached) " >&6
5861 if test -z "$LD"; then
5862 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5863 for ac_dir
in $PATH; do
5865 test -z "$ac_dir" && ac_dir
=.
5866 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5867 lt_cv_path_LD
="$ac_dir/$ac_prog"
5868 # Check to see if the program is GNU ld. I'd rather use --version,
5869 # but apparently some variants of GNU ld only accept -v.
5870 # Break only if it was the GNU/non-GNU ld that we prefer.
5871 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5872 *GNU
* | *'with BFD'*)
5873 test "$with_gnu_ld" != no
&& break
5876 test "$with_gnu_ld" != yes && break
5883 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5888 if test -n "$LD"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5890 $as_echo "$LD" >&6; }
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5895 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5897 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5898 if ${lt_cv_prog_gnu_ld+:} false
; then :
5899 $as_echo_n "(cached) " >&6
5901 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5902 case `$LD -v 2>&1 </dev/null` in
5903 *GNU
* | *'with BFD'*)
5904 lt_cv_prog_gnu_ld
=yes
5907 lt_cv_prog_gnu_ld
=no
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5912 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5913 with_gnu_ld
=$lt_cv_prog_gnu_ld
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5924 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5925 if ${lt_cv_path_NM+:} false
; then :
5926 $as_echo_n "(cached) " >&6
5928 if test -n "$NM"; then
5929 # Let the user override the test.
5932 lt_nm_to_check
="${ac_tool_prefix}nm"
5933 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5934 lt_nm_to_check
="$lt_nm_to_check nm"
5936 for lt_tmp_nm
in $lt_nm_to_check; do
5937 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5938 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5940 test -z "$ac_dir" && ac_dir
=.
5941 tmp_nm
="$ac_dir/$lt_tmp_nm"
5942 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5943 # Check to see if the nm accepts a BSD-compat flag.
5944 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5945 # nm: unknown option "B" ignored
5946 # Tru64's nm complains that /dev/null is an invalid object file
5947 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5948 */dev
/null
* | *'Invalid file or object type'*)
5949 lt_cv_path_NM
="$tmp_nm -B"
5953 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5955 lt_cv_path_NM
="$tmp_nm -p"
5959 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5960 continue # so that we can try to find one that supports BSD flags
5969 : ${lt_cv_path_NM=no}
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5973 $as_echo "$lt_cv_path_NM" >&6; }
5974 if test "$lt_cv_path_NM" != "no"; then
5977 # Didn't find any BSD compatible name lister, look for dumpbin.
5978 if test -n "$DUMPBIN"; then :
5979 # Let the user override the test.
5981 if test -n "$ac_tool_prefix"; then
5982 for ac_prog
in dumpbin
"link -dump"
5984 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5985 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5987 $as_echo_n "checking for $ac_word... " >&6; }
5988 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5989 $as_echo_n "(cached) " >&6
5991 if test -n "$DUMPBIN"; then
5992 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir
=.
5999 for ac_exec_ext
in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 DUMPBIN
=$ac_cv_prog_DUMPBIN
6012 if test -n "$DUMPBIN"; then
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6014 $as_echo "$DUMPBIN" >&6; }
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 $as_echo "no" >&6; }
6021 test -n "$DUMPBIN" && break
6024 if test -z "$DUMPBIN"; then
6025 ac_ct_DUMPBIN
=$DUMPBIN
6026 for ac_prog
in dumpbin
"link -dump"
6028 # Extract the first word of "$ac_prog", so it can be a program name with args.
6029 set dummy
$ac_prog; ac_word
=$2
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6031 $as_echo_n "checking for $ac_word... " >&6; }
6032 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6033 $as_echo_n "(cached) " >&6
6035 if test -n "$ac_ct_DUMPBIN"; then
6036 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6042 test -z "$as_dir" && as_dir
=.
6043 for ac_exec_ext
in '' $ac_executable_extensions; do
6044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6045 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6056 if test -n "$ac_ct_DUMPBIN"; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6058 $as_echo "$ac_ct_DUMPBIN" >&6; }
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 $as_echo "no" >&6; }
6065 test -n "$ac_ct_DUMPBIN" && break
6068 if test "x$ac_ct_DUMPBIN" = x
; then
6071 case $cross_compiling:$ac_tool_warned in
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6075 ac_tool_warned
=yes ;;
6077 DUMPBIN
=$ac_ct_DUMPBIN
6081 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6083 DUMPBIN
="$DUMPBIN -symbols"
6091 if test "$DUMPBIN" != ":"; then
6095 test -z "$NM" && NM
=nm
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6103 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6104 if ${lt_cv_nm_interface+:} false
; then :
6105 $as_echo_n "(cached) " >&6
6107 lt_cv_nm_interface
="BSD nm"
6108 echo "int some_variable = 0;" > conftest.
$ac_ext
6109 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6110 (eval "$ac_compile" 2>conftest.err
)
6111 cat conftest.err
>&5
6112 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6113 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6114 cat conftest.err
>&5
6115 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6116 cat conftest.out
>&5
6117 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6118 lt_cv_nm_interface
="MS dumpbin"
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6123 $as_echo "$lt_cv_nm_interface" >&6; }
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6126 $as_echo_n "checking whether ln -s works... " >&6; }
6128 if test "$LN_S" = "ln -s"; then
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6130 $as_echo "yes" >&6; }
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6133 $as_echo "no, using $LN_S" >&6; }
6136 # find the maximum length of command line arguments
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6138 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6139 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6140 $as_echo_n "(cached) " >&6
6147 # On DJGPP, this test can blow up pretty badly due to problems in libc
6148 # (any single argument exceeding 2000 bytes causes a buffer overrun
6149 # during glob expansion). Even if it were fixed, the result of this
6150 # check would be larger than it should be.
6151 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6155 # Under GNU Hurd, this test is not required because there is
6156 # no limit to the length of command line arguments.
6157 # Libtool will interpret -1 as no limit whatsoever
6158 lt_cv_sys_max_cmd_len
=-1;
6161 cygwin
* | mingw
* | cegcc
*)
6162 # On Win9x/ME, this test blows up -- it succeeds, but takes
6163 # about 5 minutes as the teststring grows exponentially.
6164 # Worse, since 9x/ME are not pre-emptively multitasking,
6165 # you end up with a "frozen" computer, even though with patience
6166 # the test eventually succeeds (with a max line length of 256k).
6167 # Instead, let's just punt: use the minimum linelength reported by
6168 # all of the supported platforms: 8192 (on NT/2K/XP).
6169 lt_cv_sys_max_cmd_len
=8192;
6173 # On MiNT this can take a long time and run out of memory.
6174 lt_cv_sys_max_cmd_len
=8192;
6178 # On AmigaOS with pdksh, this test takes hours, literally.
6179 # So we just punt and use a minimum line length of 8192.
6180 lt_cv_sys_max_cmd_len
=8192;
6183 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6184 # This has been around since 386BSD, at least. Likely further.
6185 if test -x /sbin
/sysctl
; then
6186 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6187 elif test -x /usr
/sbin
/sysctl
; then
6188 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6190 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6192 # And add a safety zone
6193 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6194 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6198 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6199 lt_cv_sys_max_cmd_len
=196608
6203 # The test takes a long time on OS/2.
6204 lt_cv_sys_max_cmd_len
=8192
6208 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6209 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6210 # nice to cause kernel panics so lets avoid the loop below.
6211 # First set a reasonable default.
6212 lt_cv_sys_max_cmd_len
=16384
6214 if test -x /sbin
/sysconfig
; then
6215 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6216 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6221 lt_cv_sys_max_cmd_len
=102400
6223 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6224 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6225 if test -n "$kargmax"; then
6226 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6228 lt_cv_sys_max_cmd_len
=32768
6232 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6233 if test -n "$lt_cv_sys_max_cmd_len"; then
6234 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6235 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6237 # Make teststring a little bigger before we do anything with it.
6238 # a 1K string should be a reasonable start.
6239 for i
in 1 2 3 4 5 6 7 8 ; do
6240 teststring
=$teststring$teststring
6242 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6243 # If test is not a shell built-in, we'll probably end up computing a
6244 # maximum length that is only half of the actual maximum length, but
6246 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6247 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6248 test $i != 17 # 1/2 MB should be enough
6251 teststring
=$teststring$teststring
6253 # Only check the string length outside the loop.
6254 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6256 # Add a significant safety factor because C++ compilers can tack on
6257 # massive amounts of additional arguments before passing them to the
6258 # linker. It appears as though 1/2 is a usable value.
6259 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6266 if test -n $lt_cv_sys_max_cmd_len ; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6268 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6271 $as_echo "none" >&6; }
6273 max_cmd_len
=$lt_cv_sys_max_cmd_len
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6285 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6286 # Try some XSI features
6289 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6291 && eval 'test $(( 1 + 1 )) -eq 2 \
6292 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6295 $as_echo "$xsi_shell" >&6; }
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6299 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6301 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6303 && lt_shell_append
=yes
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6305 $as_echo "$lt_shell_append" >&6; }
6308 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
6318 # test EBCDIC or ASCII
6319 case `echo X|tr X '\101'` in
6320 A
) # ASCII based system
6321 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6322 lt_SP2NL
='tr \040 \012'
6323 lt_NL2SP
='tr \015\012 \040\040'
6325 *) # EBCDIC based system
6326 lt_SP2NL
='tr \100 \n'
6327 lt_NL2SP
='tr \r\n \100\100'
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6340 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6341 if ${lt_cv_to_host_file_cmd+:} false
; then :
6342 $as_echo_n "(cached) " >&6
6347 *-*-mingw* ) # actually msys
6348 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
6351 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
6353 * ) # otherwise, assume *nix
6354 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
6360 *-*-mingw* ) # actually msys
6361 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
6364 lt_cv_to_host_file_cmd
=func_convert_file_noop
6366 * ) # otherwise, assume *nix
6367 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
6371 * ) # unhandled hosts (and "normal" native builds)
6372 lt_cv_to_host_file_cmd
=func_convert_file_noop
6378 to_host_file_cmd
=$lt_cv_to_host_file_cmd
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6380 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6387 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6388 if ${lt_cv_to_tool_file_cmd+:} false
; then :
6389 $as_echo_n "(cached) " >&6
6391 #assume ordinary cross tools, or native build.
6392 lt_cv_to_tool_file_cmd
=func_convert_file_noop
6396 *-*-mingw* ) # actually msys
6397 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
6405 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6407 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6414 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6415 if ${lt_cv_ld_reload_flag+:} false
; then :
6416 $as_echo_n "(cached) " >&6
6418 lt_cv_ld_reload_flag
='-r'
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6421 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6422 reload_flag
=$lt_cv_ld_reload_flag
6423 case $reload_flag in
6425 *) reload_flag
=" $reload_flag" ;;
6427 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6429 cygwin
* | mingw
* | pw32
* | cegcc
*)
6430 if test "$GCC" != yes; then
6435 if test "$GCC" = yes; then
6436 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6438 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
6451 if test -n "$ac_tool_prefix"; then
6452 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6453 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_OBJDUMP+:} false
; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$OBJDUMP"; then
6460 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
6462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir
=.
6467 for ac_exec_ext
in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 OBJDUMP
=$ac_cv_prog_OBJDUMP
6480 if test -n "$OBJDUMP"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6482 $as_echo "$OBJDUMP" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6490 if test -z "$ac_cv_prog_OBJDUMP"; then
6491 ac_ct_OBJDUMP
=$OBJDUMP
6492 # Extract the first word of "objdump", so it can be a program name with args.
6493 set dummy objdump
; ac_word
=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495 $as_echo_n "checking for $ac_word... " >&6; }
6496 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
6497 $as_echo_n "(cached) " >&6
6499 if test -n "$ac_ct_OBJDUMP"; then
6500 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
6502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir
=.
6507 for ac_exec_ext
in '' $ac_executable_extensions; do
6508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
6520 if test -n "$ac_ct_OBJDUMP"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6522 $as_echo "$ac_ct_OBJDUMP" >&6; }
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 $as_echo "no" >&6; }
6528 if test "x$ac_ct_OBJDUMP" = x
; then
6531 case $cross_compiling:$ac_tool_warned in
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6535 ac_tool_warned
=yes ;;
6537 OBJDUMP
=$ac_ct_OBJDUMP
6540 OBJDUMP
="$ac_cv_prog_OBJDUMP"
6543 test -z "$OBJDUMP" && OBJDUMP
=objdump
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6554 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6555 if ${lt_cv_deplibs_check_method+:} false
; then :
6556 $as_echo_n "(cached) " >&6
6558 lt_cv_file_magic_cmd
='$MAGIC_CMD'
6559 lt_cv_file_magic_test_file
=
6560 lt_cv_deplibs_check_method
='unknown'
6561 # Need to set the preceding variable on all platforms that support
6562 # interlibrary dependencies.
6563 # 'none' -- dependencies not supported.
6564 # `unknown' -- same as none, but documents that we really don't know.
6565 # 'pass_all' -- all dependencies passed with no checks.
6566 # 'test_compile' -- check by making test program.
6567 # 'file_magic [[regex]]' -- check by looking for files in library path
6568 # which responds to the $file_magic_cmd with a given extended regex.
6569 # If you have `file' or equivalent on your system and you're not sure
6570 # whether `pass_all' will *always* work, you probably want this one.
6574 lt_cv_deplibs_check_method
=pass_all
6578 lt_cv_deplibs_check_method
=pass_all
6582 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6583 lt_cv_file_magic_cmd
='/usr/bin/file -L'
6584 lt_cv_file_magic_test_file
=/shlib
/libc.so
6588 # func_win32_libid is a shell function defined in ltmain.sh
6589 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6590 lt_cv_file_magic_cmd
='func_win32_libid'
6594 # Base MSYS/MinGW do not provide the 'file' command needed by
6595 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6596 # unless we find 'file', for example because we are cross-compiling.
6597 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6598 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6599 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6600 lt_cv_file_magic_cmd
='func_win32_libid'
6602 # Keep this pattern in sync with the one in func_win32_libid.
6603 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6604 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6609 # use the weaker test based on 'objdump'. See mingw*.
6610 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6611 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6614 darwin
* | rhapsody
*)
6615 lt_cv_deplibs_check_method
=pass_all
6618 freebsd
* | dragonfly
*)
6619 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6622 # Not sure whether the presence of OpenBSD here was a mistake.
6623 # Let's accept both of them until this is cleared up.
6624 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6625 lt_cv_file_magic_cmd
=/usr
/bin
/file
6626 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6630 lt_cv_deplibs_check_method
=pass_all
6635 lt_cv_deplibs_check_method
=pass_all
6639 lt_cv_deplibs_check_method
=pass_all
6642 hpux10.20
* | hpux11
*)
6643 lt_cv_file_magic_cmd
=/usr
/bin
/file
6646 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6647 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
6650 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]'
6651 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
6654 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6655 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6661 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6662 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6665 irix5
* | irix6
* | nonstopux
*)
6667 *-32|*"-32 ") libmagic
=32-bit;;
6668 *-n32|*"-n32 ") libmagic
=N32
;;
6669 *-64|*"-64 ") libmagic
=64-bit;;
6670 *) libmagic
=never
-match;;
6672 lt_cv_deplibs_check_method
=pass_all
6675 # This must be glibc/ELF.
6676 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6677 lt_cv_deplibs_check_method
=pass_all
6681 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
6682 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6684 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6689 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6690 lt_cv_file_magic_cmd
=/usr
/bin
/file
6691 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6695 lt_cv_deplibs_check_method
=pass_all
6699 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6700 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6702 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6706 osf3
* | osf4
* | osf5
*)
6707 lt_cv_deplibs_check_method
=pass_all
6711 lt_cv_deplibs_check_method
=pass_all
6715 lt_cv_deplibs_check_method
=pass_all
6718 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6719 lt_cv_deplibs_check_method
=pass_all
6723 case $host_vendor in
6725 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]'
6726 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6729 lt_cv_deplibs_check_method
=pass_all
6732 lt_cv_file_magic_cmd
='/bin/file'
6733 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6736 lt_cv_file_magic_cmd
='/bin/file'
6737 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6738 lt_cv_file_magic_test_file
=/lib
/libc.so
6741 lt_cv_deplibs_check_method
=pass_all
6744 lt_cv_deplibs_check_method
=pass_all
6750 lt_cv_deplibs_check_method
=pass_all
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6756 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6760 if test "$build" = "$host"; then
6763 if ( shopt | grep nocaseglob
) >/dev
/null
2>&1; then
6766 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6772 file_magic_cmd
=$lt_cv_file_magic_cmd
6773 deplibs_check_method
=$lt_cv_deplibs_check_method
6774 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6797 if test -n "$ac_tool_prefix"; then
6798 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6799 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6801 $as_echo_n "checking for $ac_word... " >&6; }
6802 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6803 $as_echo_n "(cached) " >&6
6805 if test -n "$DLLTOOL"; then
6806 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir
=.
6813 for ac_exec_ext
in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6815 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825 DLLTOOL
=$ac_cv_prog_DLLTOOL
6826 if test -n "$DLLTOOL"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6828 $as_echo "$DLLTOOL" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6831 $as_echo "no" >&6; }
6836 if test -z "$ac_cv_prog_DLLTOOL"; then
6837 ac_ct_DLLTOOL
=$DLLTOOL
6838 # Extract the first word of "dlltool", so it can be a program name with args.
6839 set dummy dlltool
; ac_word
=$2
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841 $as_echo_n "checking for $ac_word... " >&6; }
6842 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6843 $as_echo_n "(cached) " >&6
6845 if test -n "$ac_ct_DLLTOOL"; then
6846 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir
=.
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6866 if test -n "$ac_ct_DLLTOOL"; then
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6868 $as_echo "$ac_ct_DLLTOOL" >&6; }
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871 $as_echo "no" >&6; }
6874 if test "x$ac_ct_DLLTOOL" = x
; then
6877 case $cross_compiling:$ac_tool_warned in
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6881 ac_tool_warned
=yes ;;
6883 DLLTOOL
=$ac_ct_DLLTOOL
6886 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6889 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6901 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6902 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6903 $as_echo_n "(cached) " >&6
6905 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6908 cygwin
* | mingw
* | pw32
* | cegcc
*)
6909 # two different shell functions defined in ltmain.sh
6910 # decide which to use based on capabilities of $DLLTOOL
6911 case `$DLLTOOL --help 2>&1` in
6912 *--identify-strict*)
6913 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6916 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6921 # fallback: assume linklib IS sharedlib
6922 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6928 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6929 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6930 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6938 if test -n "$ac_tool_prefix"; then
6941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6942 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if ${ac_cv_prog_AR+:} false
; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$AR"; then
6949 ac_cv_prog_AR
="$AR" # Let the user override the test.
6951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir
=.
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969 if test -n "$AR"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6971 $as_echo "$AR" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6978 test -n "$AR" && break
6981 if test -z "$AR"; then
6985 # Extract the first word of "$ac_prog", so it can be a program name with args.
6986 set dummy
$ac_prog; ac_word
=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6990 $as_echo_n "(cached) " >&6
6992 if test -n "$ac_ct_AR"; then
6993 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6999 test -z "$as_dir" && as_dir
=.
7000 for ac_exec_ext
in '' $ac_executable_extensions; do
7001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7002 ac_cv_prog_ac_ct_AR
="$ac_prog"
7003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7013 if test -n "$ac_ct_AR"; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7015 $as_echo "$ac_ct_AR" >&6; }
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7022 test -n "$ac_ct_AR" && break
7025 if test "x$ac_ct_AR" = x
; then
7028 case $cross_compiling:$ac_tool_warned in
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7032 ac_tool_warned
=yes ;;
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7052 $as_echo_n "checking for archiver @FILE support... " >&6; }
7053 if ${lt_cv_ar_at_file+:} false
; then :
7054 $as_echo_n "(cached) " >&6
7057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7058 /* end confdefs.h. */
7068 if ac_fn_c_try_compile
"$LINENO"; then :
7069 echo conftest.
$ac_objext > conftest.lst
7070 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7071 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7072 (eval $lt_ar_try) 2>&5
7074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7075 test $ac_status = 0; }
7076 if test "$ac_status" -eq 0; then
7077 # Ensure the archiver fails upon bogus file names.
7078 rm -f conftest.
$ac_objext libconftest.a
7079 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7080 (eval $lt_ar_try) 2>&5
7082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7083 test $ac_status = 0; }
7084 if test "$ac_status" -ne 0; then
7088 rm -f conftest.
* libconftest.a
7091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7095 $as_echo "$lt_cv_ar_at_file" >&6; }
7097 if test "x$lt_cv_ar_at_file" = xno
; then
7100 archiver_list_spec
=$lt_cv_ar_at_file
7109 if test -n "$ac_tool_prefix"; then
7110 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7111 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7113 $as_echo_n "checking for $ac_word... " >&6; }
7114 if ${ac_cv_prog_STRIP+:} false
; then :
7115 $as_echo_n "(cached) " >&6
7117 if test -n "$STRIP"; then
7118 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7124 test -z "$as_dir" && as_dir
=.
7125 for ac_exec_ext
in '' $ac_executable_extensions; do
7126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7127 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 STRIP
=$ac_cv_prog_STRIP
7138 if test -n "$STRIP"; then
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7140 $as_echo "$STRIP" >&6; }
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 $as_echo "no" >&6; }
7148 if test -z "$ac_cv_prog_STRIP"; then
7150 # Extract the first word of "strip", so it can be a program name with args.
7151 set dummy strip
; ac_word
=$2
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7153 $as_echo_n "checking for $ac_word... " >&6; }
7154 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7155 $as_echo_n "(cached) " >&6
7157 if test -n "$ac_ct_STRIP"; then
7158 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7164 test -z "$as_dir" && as_dir
=.
7165 for ac_exec_ext
in '' $ac_executable_extensions; do
7166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7167 ac_cv_prog_ac_ct_STRIP
="strip"
7168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7178 if test -n "$ac_ct_STRIP"; then
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7180 $as_echo "$ac_ct_STRIP" >&6; }
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7183 $as_echo "no" >&6; }
7186 if test "x$ac_ct_STRIP" = x
; then
7189 case $cross_compiling:$ac_tool_warned in
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7193 ac_tool_warned
=yes ;;
7198 STRIP
="$ac_cv_prog_STRIP"
7201 test -z "$STRIP" && STRIP
=:
7208 if test -n "$ac_tool_prefix"; then
7209 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7210 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 $as_echo_n "checking for $ac_word... " >&6; }
7213 if ${ac_cv_prog_RANLIB+:} false
; then :
7214 $as_echo_n "(cached) " >&6
7216 if test -n "$RANLIB"; then
7217 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7223 test -z "$as_dir" && as_dir
=.
7224 for ac_exec_ext
in '' $ac_executable_extensions; do
7225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7226 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 RANLIB
=$ac_cv_prog_RANLIB
7237 if test -n "$RANLIB"; then
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7239 $as_echo "$RANLIB" >&6; }
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7242 $as_echo "no" >&6; }
7247 if test -z "$ac_cv_prog_RANLIB"; then
7248 ac_ct_RANLIB
=$RANLIB
7249 # Extract the first word of "ranlib", so it can be a program name with args.
7250 set dummy ranlib
; ac_word
=$2
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252 $as_echo_n "checking for $ac_word... " >&6; }
7253 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7254 $as_echo_n "(cached) " >&6
7256 if test -n "$ac_ct_RANLIB"; then
7257 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7263 test -z "$as_dir" && as_dir
=.
7264 for ac_exec_ext
in '' $ac_executable_extensions; do
7265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7266 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7276 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7277 if test -n "$ac_ct_RANLIB"; then
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7279 $as_echo "$ac_ct_RANLIB" >&6; }
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282 $as_echo "no" >&6; }
7285 if test "x$ac_ct_RANLIB" = x
; then
7288 case $cross_compiling:$ac_tool_warned in
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7292 ac_tool_warned
=yes ;;
7294 RANLIB
=$ac_ct_RANLIB
7297 RANLIB
="$ac_cv_prog_RANLIB"
7300 test -z "$RANLIB" && RANLIB
=:
7307 # Determine commands to create old-style static archives.
7308 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7309 old_postinstall_cmds
='chmod 644 $oldlib'
7310 old_postuninstall_cmds
=
7312 if test -n "$RANLIB"; then
7315 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7318 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7321 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7326 lock_old_archive_extraction
=yes ;;
7328 lock_old_archive_extraction
=no
;;
7369 # If no C compiler was specified, use CC.
7372 # If no C compiler flags were specified, use CFLAGS.
7373 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7375 # Allow CC to be a program name with arguments.
7379 # Check for command to grab the raw symbol name followed by C symbol from nm.
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7381 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7382 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
7383 $as_echo_n "(cached) " >&6
7386 # These are sane defaults that work on at least a few old systems.
7387 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7389 # Character class describing NM global symbol codes.
7390 symcode
='[BCDEGRST]'
7392 # Regexp to match symbols that can be accessed directly from C.
7393 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7395 # Define system-specific variables.
7400 cygwin
* | mingw
* | pw32
* | cegcc
*)
7401 symcode
='[ABCDGISTW]'
7404 if test "$host_cpu" = ia64
; then
7405 symcode
='[ABCDEGRST]'
7409 symcode
='[BCDEGRST]'
7412 symcode
='[BCDEGQRST]'
7423 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7431 # If we're using GNU nm, then use its standard symbol codes.
7432 case `$NM -V 2>&1` in
7433 *GNU
* | *'with BFD'*)
7434 symcode
='[ABCDGIRSTW]' ;;
7437 # Transform an extracted symbol line into a proper C declaration.
7438 # Some systems (esp. on ia64) link data and code symbols differently,
7439 # so use this general approach.
7440 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7442 # Transform an extracted symbol line into symbol name and symbol address
7443 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7444 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'"
7446 # Handle CRLF in mingw tool chain
7450 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7454 # Try without a prefix underscore, then with it.
7455 for ac_symprfx
in "" "_"; do
7457 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7458 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7460 # Write the raw and C identifiers.
7461 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7462 # Fake it for dumpbin and say T for any non-static function
7463 # and D for any global variable.
7464 # Also find C++ and __fastcall symbols from MSVC++,
7465 # which start with @ or ?.
7466 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7467 " {last_section=section; section=\$ 3};"\
7468 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7469 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7470 " \$ 0!~/External *\|/{next};"\
7471 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7472 " {if(hide[section]) next};"\
7473 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7474 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7475 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7476 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7477 " ' prfx=^$ac_symprfx"
7479 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7481 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7483 # Check to see that the pipe works correctly.
7487 cat > conftest.
$ac_ext <<_LT_EOF
7492 void nm_test_func(void);
7493 void nm_test_func(void){}
7497 int main(){nm_test_var='a';nm_test_func();return(0);}
7500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7501 (eval $ac_compile) 2>&5
7503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7504 test $ac_status = 0; }; then
7505 # Now try to grab the symbols.
7507 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7508 (eval $NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7511 test $ac_status = 0; } && test -s "$nlist"; then
7512 # Try sorting and uniquifying the output.
7513 if sort "$nlist" | uniq > "$nlist"T
; then
7514 mv -f "$nlist"T
"$nlist"
7519 # Make sure that we snagged all the symbols we need.
7520 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7521 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7522 cat <<_LT_EOF > conftest.$ac_ext
7523 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7524 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7525 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7526 relocations are performed -- see ld's documentation on pseudo-relocs. */
7527 # define LT_DLSYM_CONST
7528 #elif defined(__osf__)
7529 /* This system does not cope well with relocations in const data. */
7530 # define LT_DLSYM_CONST
7532 # define LT_DLSYM_CONST const
7540 # Now generate the symbol file.
7541 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7543 cat <<_LT_EOF >> conftest.$ac_ext
7545 /* The mapping between symbol names and symbols. */
7546 LT_DLSYM_CONST struct {
7550 lt__PROGRAM__LTX_preloaded_symbols[] =
7552 { "@PROGRAM@", (void *) 0 },
7554 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
7555 cat <<\_LT_EOF
>> conftest.
$ac_ext
7559 /* This works around a problem
in FreeBSD linker
*/
7560 #ifdef FREEBSD_WORKAROUND
7561 static const void
*lt_preloaded_setup
() {
7562 return lt__PROGRAM__LTX_preloaded_symbols
;
7570 # Now try linking the two files.
7571 mv conftest.
$ac_objext conftstm.
$ac_objext
7572 lt_globsym_save_LIBS
=$LIBS
7573 lt_globsym_save_CFLAGS
=$CFLAGS
7574 LIBS
="conftstm.$ac_objext"
7575 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7577 (eval $ac_link) 2>&5
7579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7580 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7583 LIBS
=$lt_globsym_save_LIBS
7584 CFLAGS
=$lt_globsym_save_CFLAGS
7586 echo "cannot find nm_test_func in $nlist" >&5
7589 echo "cannot find nm_test_var in $nlist" >&5
7592 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7595 echo "$progname: failed program was:" >&5
7596 cat conftest.
$ac_ext >&5
7598 rm -rf conftest
* conftst
*
7600 # Do not use the global_symbol_pipe unless it works.
7601 if test "$pipe_works" = yes; then
7604 lt_cv_sys_global_symbol_pipe
=
7610 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7611 lt_cv_sys_global_symbol_to_cdecl
=
7613 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7615 $as_echo "failed" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7618 $as_echo "ok" >&6; }
7621 # Response file support.
7622 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7623 nm_file_list_spec
='@'
7624 elif $NM --help 2>/dev
/null
| grep '[@]FILE' >/dev
/null
; then
7625 nm_file_list_spec
='@'
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7655 $as_echo_n "checking for sysroot... " >&6; }
7657 # Check whether --with-sysroot was given.
7658 if test "${with_sysroot+set}" = set; then :
7659 withval
=$with_sysroot;
7666 case ${with_sysroot} in #(
7668 if test "$GCC" = yes; then
7669 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7673 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7679 $as_echo "${with_sysroot}" >&6; }
7680 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7685 $as_echo "${lt_sysroot:-no}" >&6; }
7691 # Check whether --enable-libtool-lock was given.
7692 if test "${enable_libtool_lock+set}" = set; then :
7693 enableval
=$enable_libtool_lock;
7696 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7698 # Some flags need to be propagated to the compiler or linker for good
7702 # Find out which ABI we are using.
7703 echo 'int i;' > conftest.
$ac_ext
7704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7705 (eval $ac_compile) 2>&5
7707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7708 test $ac_status = 0; }; then
7709 case `/usr/bin/file conftest.$ac_objext` in
7721 # Find out which ABI we are using.
7722 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7724 (eval $ac_compile) 2>&5
7726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7727 test $ac_status = 0; }; then
7728 if test "$lt_cv_prog_gnu_ld" = yes; then
7729 case `/usr/bin/file conftest.$ac_objext` in
7731 LD
="${LD-ld} -melf32bsmip"
7734 LD
="${LD-ld} -melf32bmipn32"
7737 LD
="${LD-ld} -melf64bmip"
7741 case `/usr/bin/file conftest.$ac_objext` in
7757 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
7758 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7759 # Find out which ABI we are using.
7760 echo 'int i;' > conftest.
$ac_ext
7761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7762 (eval $ac_compile) 2>&5
7764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7765 test $ac_status = 0; }; then
7766 case `/usr/bin/file conftest.o` in
7769 x86_64
-*kfreebsd
*-gnu)
7770 LD
="${LD-ld} -m elf_i386_fbsd"
7773 LD
="${LD-ld} -m elf_i386"
7775 ppc64
-*linux
*|powerpc64
-*linux
*)
7776 LD
="${LD-ld} -m elf32ppclinux"
7779 LD
="${LD-ld} -m elf_s390"
7782 LD
="${LD-ld} -m elf32_sparc"
7788 x86_64
-*kfreebsd
*-gnu)
7789 LD
="${LD-ld} -m elf_x86_64_fbsd"
7792 LD
="${LD-ld} -m elf_x86_64"
7794 ppc
*-*linux
*|powerpc
*-*linux
*)
7795 LD
="${LD-ld} -m elf64ppc"
7797 s390
*-*linux
*|s390
*-*tpf
*)
7798 LD
="${LD-ld} -m elf64_s390"
7801 LD
="${LD-ld} -m elf64_sparc"
7811 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7812 SAVE_CFLAGS
="$CFLAGS"
7813 CFLAGS
="$CFLAGS -belf"
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7815 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7816 if ${lt_cv_cc_needs_belf+:} false
; then :
7817 $as_echo_n "(cached) " >&6
7820 ac_cpp
='$CPP $CPPFLAGS'
7821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7826 /* end confdefs.h. */
7836 if ac_fn_c_try_link
"$LINENO"; then :
7837 lt_cv_cc_needs_belf
=yes
7839 lt_cv_cc_needs_belf
=no
7841 rm -f core conftest.err conftest.
$ac_objext \
7842 conftest
$ac_exeext conftest.
$ac_ext
7844 ac_cpp
='$CPP $CPPFLAGS'
7845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7851 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7852 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7853 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7854 CFLAGS
="$SAVE_CFLAGS"
7858 # Find out which ABI we are using.
7859 echo 'int i;' > conftest.
$ac_ext
7860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7861 (eval $ac_compile) 2>&5
7863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7864 test $ac_status = 0; }; then
7865 case `/usr/bin/file conftest.o` in
7867 case $lt_cv_prog_gnu_ld in
7871 LD
="${LD-ld} -m elf_x86_64"
7874 LD
="${LD-ld} -m elf64_sparc"
7877 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7878 if ${LD-ld} -V | grep _sol2
>/dev
/null
2>&1; then
7883 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7895 need_locks
="$enable_libtool_lock"
7897 if test -n "$ac_tool_prefix"; then
7898 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7899 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7901 $as_echo_n "checking for $ac_word... " >&6; }
7902 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7903 $as_echo_n "(cached) " >&6
7905 if test -n "$MANIFEST_TOOL"; then
7906 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7912 test -z "$as_dir" && as_dir
=.
7913 for ac_exec_ext
in '' $ac_executable_extensions; do
7914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7915 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7925 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7926 if test -n "$MANIFEST_TOOL"; then
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7928 $as_echo "$MANIFEST_TOOL" >&6; }
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7931 $as_echo "no" >&6; }
7936 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7937 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7938 # Extract the first word of "mt", so it can be a program name with args.
7939 set dummy mt
; ac_word
=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7943 $as_echo_n "(cached) " >&6
7945 if test -n "$ac_ct_MANIFEST_TOOL"; then
7946 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7952 test -z "$as_dir" && as_dir
=.
7953 for ac_exec_ext
in '' $ac_executable_extensions; do
7954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7955 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7966 if test -n "$ac_ct_MANIFEST_TOOL"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7968 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7974 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7977 case $cross_compiling:$ac_tool_warned in
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7981 ac_tool_warned
=yes ;;
7983 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7986 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7989 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7991 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7992 if ${lt_cv_path_mainfest_tool+:} false
; then :
7993 $as_echo_n "(cached) " >&6
7995 lt_cv_path_mainfest_tool
=no
7996 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7997 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7998 cat conftest.err
>&5
7999 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
8000 lt_cv_path_mainfest_tool
=yes
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8005 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8006 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
8016 rhapsody
* | darwin
*)
8017 if test -n "$ac_tool_prefix"; then
8018 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8019 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8021 $as_echo_n "checking for $ac_word... " >&6; }
8022 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8023 $as_echo_n "(cached) " >&6
8025 if test -n "$DSYMUTIL"; then
8026 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8032 test -z "$as_dir" && as_dir
=.
8033 for ac_exec_ext
in '' $ac_executable_extensions; do
8034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8035 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8046 if test -n "$DSYMUTIL"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8048 $as_echo "$DSYMUTIL" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8051 $as_echo "no" >&6; }
8056 if test -z "$ac_cv_prog_DSYMUTIL"; then
8057 ac_ct_DSYMUTIL
=$DSYMUTIL
8058 # Extract the first word of "dsymutil", so it can be a program name with args.
8059 set dummy dsymutil
; ac_word
=$2
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8061 $as_echo_n "checking for $ac_word... " >&6; }
8062 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8063 $as_echo_n "(cached) " >&6
8065 if test -n "$ac_ct_DSYMUTIL"; then
8066 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8072 test -z "$as_dir" && as_dir
=.
8073 for ac_exec_ext
in '' $ac_executable_extensions; do
8074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8075 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8085 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8086 if test -n "$ac_ct_DSYMUTIL"; then
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8088 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8091 $as_echo "no" >&6; }
8094 if test "x$ac_ct_DSYMUTIL" = x
; then
8097 case $cross_compiling:$ac_tool_warned in
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8101 ac_tool_warned
=yes ;;
8103 DSYMUTIL
=$ac_ct_DSYMUTIL
8106 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8109 if test -n "$ac_tool_prefix"; then
8110 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8111 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8113 $as_echo_n "checking for $ac_word... " >&6; }
8114 if ${ac_cv_prog_NMEDIT+:} false
; then :
8115 $as_echo_n "(cached) " >&6
8117 if test -n "$NMEDIT"; then
8118 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8124 test -z "$as_dir" && as_dir
=.
8125 for ac_exec_ext
in '' $ac_executable_extensions; do
8126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8127 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8137 NMEDIT
=$ac_cv_prog_NMEDIT
8138 if test -n "$NMEDIT"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8140 $as_echo "$NMEDIT" >&6; }
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
8148 if test -z "$ac_cv_prog_NMEDIT"; then
8149 ac_ct_NMEDIT
=$NMEDIT
8150 # Extract the first word of "nmedit", so it can be a program name with args.
8151 set dummy nmedit
; ac_word
=$2
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8153 $as_echo_n "checking for $ac_word... " >&6; }
8154 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8155 $as_echo_n "(cached) " >&6
8157 if test -n "$ac_ct_NMEDIT"; then
8158 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8164 test -z "$as_dir" && as_dir
=.
8165 for ac_exec_ext
in '' $ac_executable_extensions; do
8166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8167 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8177 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8178 if test -n "$ac_ct_NMEDIT"; then
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8180 $as_echo "$ac_ct_NMEDIT" >&6; }
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8183 $as_echo "no" >&6; }
8186 if test "x$ac_ct_NMEDIT" = x
; then
8189 case $cross_compiling:$ac_tool_warned in
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8193 ac_tool_warned
=yes ;;
8195 NMEDIT
=$ac_ct_NMEDIT
8198 NMEDIT
="$ac_cv_prog_NMEDIT"
8201 if test -n "$ac_tool_prefix"; then
8202 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8203 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if ${ac_cv_prog_LIPO+:} false
; then :
8207 $as_echo_n "(cached) " >&6
8209 if test -n "$LIPO"; then
8210 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8216 test -z "$as_dir" && as_dir
=.
8217 for ac_exec_ext
in '' $ac_executable_extensions; do
8218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8219 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8229 LIPO
=$ac_cv_prog_LIPO
8230 if test -n "$LIPO"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8232 $as_echo "$LIPO" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8240 if test -z "$ac_cv_prog_LIPO"; then
8242 # Extract the first word of "lipo", so it can be a program name with args.
8243 set dummy lipo
; ac_word
=$2
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8245 $as_echo_n "checking for $ac_word... " >&6; }
8246 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8247 $as_echo_n "(cached) " >&6
8249 if test -n "$ac_ct_LIPO"; then
8250 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8256 test -z "$as_dir" && as_dir
=.
8257 for ac_exec_ext
in '' $ac_executable_extensions; do
8258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8259 ac_cv_prog_ac_ct_LIPO
="lipo"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8269 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8270 if test -n "$ac_ct_LIPO"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8272 $as_echo "$ac_ct_LIPO" >&6; }
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275 $as_echo "no" >&6; }
8278 if test "x$ac_ct_LIPO" = x
; then
8281 case $cross_compiling:$ac_tool_warned in
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8285 ac_tool_warned
=yes ;;
8290 LIPO
="$ac_cv_prog_LIPO"
8293 if test -n "$ac_tool_prefix"; then
8294 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8295 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if ${ac_cv_prog_OTOOL+:} false
; then :
8299 $as_echo_n "(cached) " >&6
8301 if test -n "$OTOOL"; then
8302 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir
=.
8309 for ac_exec_ext
in '' $ac_executable_extensions; do
8310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8311 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8321 OTOOL
=$ac_cv_prog_OTOOL
8322 if test -n "$OTOOL"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8324 $as_echo "$OTOOL" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
8332 if test -z "$ac_cv_prog_OTOOL"; then
8334 # Extract the first word of "otool", so it can be a program name with args.
8335 set dummy otool
; ac_word
=$2
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8337 $as_echo_n "checking for $ac_word... " >&6; }
8338 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8339 $as_echo_n "(cached) " >&6
8341 if test -n "$ac_ct_OTOOL"; then
8342 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8348 test -z "$as_dir" && as_dir
=.
8349 for ac_exec_ext
in '' $ac_executable_extensions; do
8350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8351 ac_cv_prog_ac_ct_OTOOL
="otool"
8352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8362 if test -n "$ac_ct_OTOOL"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8364 $as_echo "$ac_ct_OTOOL" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8370 if test "x$ac_ct_OTOOL" = x
; then
8373 case $cross_compiling:$ac_tool_warned in
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8377 ac_tool_warned
=yes ;;
8382 OTOOL
="$ac_cv_prog_OTOOL"
8385 if test -n "$ac_tool_prefix"; then
8386 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8387 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8389 $as_echo_n "checking for $ac_word... " >&6; }
8390 if ${ac_cv_prog_OTOOL64+:} false
; then :
8391 $as_echo_n "(cached) " >&6
8393 if test -n "$OTOOL64"; then
8394 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir
=.
8401 for ac_exec_ext
in '' $ac_executable_extensions; do
8402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8403 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 OTOOL64
=$ac_cv_prog_OTOOL64
8414 if test -n "$OTOOL64"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8416 $as_echo "$OTOOL64" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8424 if test -z "$ac_cv_prog_OTOOL64"; then
8425 ac_ct_OTOOL64
=$OTOOL64
8426 # Extract the first word of "otool64", so it can be a program name with args.
8427 set dummy otool64
; ac_word
=$2
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8429 $as_echo_n "checking for $ac_word... " >&6; }
8430 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8431 $as_echo_n "(cached) " >&6
8433 if test -n "$ac_ct_OTOOL64"; then
8434 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8440 test -z "$as_dir" && as_dir
=.
8441 for ac_exec_ext
in '' $ac_executable_extensions; do
8442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8443 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8453 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8454 if test -n "$ac_ct_OTOOL64"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8456 $as_echo "$ac_ct_OTOOL64" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8462 if test "x$ac_ct_OTOOL64" = x
; then
8465 case $cross_compiling:$ac_tool_warned in
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8469 ac_tool_warned
=yes ;;
8471 OTOOL64
=$ac_ct_OTOOL64
8474 OTOOL64
="$ac_cv_prog_OTOOL64"
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8504 $as_echo_n "checking for -single_module linker flag... " >&6; }
8505 if ${lt_cv_apple_cc_single_mod+:} false
; then :
8506 $as_echo_n "(cached) " >&6
8508 lt_cv_apple_cc_single_mod
=no
8509 if test -z "${LT_MULTI_MODULE}"; then
8510 # By default we will add the -single_module flag. You can override
8511 # by either setting the environment variable LT_MULTI_MODULE
8512 # non-empty at configure time, or by adding -multi_module to the
8514 rm -rf libconftest.dylib
*
8515 echo "int foo(void){return 1;}" > conftest.c
8516 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8517 -dynamiclib -Wl,-single_module conftest.c" >&5
8518 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8519 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8521 # If there is a non-empty error log, and "single_module"
8522 # appears in it, assume the flag caused a linker warning
8523 if test -s conftest.err
&& $GREP single_module conftest.err
; then
8524 cat conftest.err
>&5
8525 # Otherwise, if the output was created with a 0 exit code from
8526 # the compiler, it worked.
8527 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
8528 lt_cv_apple_cc_single_mod
=yes
8530 cat conftest.err
>&5
8532 rm -rf libconftest.dylib
*
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8537 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8540 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8541 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
8542 $as_echo_n "(cached) " >&6
8544 lt_cv_ld_exported_symbols_list
=no
8545 save_LDFLAGS
=$LDFLAGS
8546 echo "_main" > conftest.sym
8547 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8559 if ac_fn_c_try_link
"$LINENO"; then :
8560 lt_cv_ld_exported_symbols_list
=yes
8562 lt_cv_ld_exported_symbols_list
=no
8564 rm -f core conftest.err conftest.
$ac_objext \
8565 conftest
$ac_exeext conftest.
$ac_ext
8566 LDFLAGS
="$save_LDFLAGS"
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8570 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8573 $as_echo_n "checking for -force_load linker flag... " >&6; }
8574 if ${lt_cv_ld_force_load+:} false
; then :
8575 $as_echo_n "(cached) " >&6
8577 lt_cv_ld_force_load
=no
8578 cat > conftest.c
<< _LT_EOF
8579 int forced_loaded() { return 2;}
8581 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8582 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8583 echo "$AR cru libconftest.a conftest.o" >&5
8584 $AR cru libconftest.a conftest.o
2>&5
8585 echo "$RANLIB libconftest.a" >&5
8586 $RANLIB libconftest.a
2>&5
8587 cat > conftest.c
<< _LT_EOF
8588 int main() { return 0;}
8590 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8591 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8593 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8594 cat conftest.err
>&5
8595 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
8596 lt_cv_ld_force_load
=yes
8598 cat conftest.err
>&5
8600 rm -f conftest.err libconftest.a conftest conftest.c
8601 rm -rf conftest.dSYM
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8605 $as_echo "$lt_cv_ld_force_load" >&6; }
8607 rhapsody
* | darwin1.
[012])
8608 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8610 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8611 darwin
*) # darwin 5.x on
8612 # if running on 10.5 or later, the deployment target defaults
8613 # to the OS version, if on x86, and 10.4, the deployment
8614 # target defaults to 10.4. Don't you love it?
8615 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8616 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8617 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8619 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8621 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8625 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8626 _lt_dar_single_mod
='$single_module'
8628 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8629 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8631 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8633 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8634 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8641 for ac_header
in dlfcn.h
8643 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8645 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8646 cat >>confdefs.h
<<_ACEOF
8647 #define HAVE_DLFCN_H 1
8671 # Check whether --with-pic was given.
8672 if test "${with_pic+set}" = set; then :
8673 withval
=$with_pic; lt_p
=${PACKAGE-default}
8675 yes|no
) pic_mode
=$withval ;;
8678 # Look at the argument we got. We use all the common list separators.
8679 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8680 for lt_pkg
in $withval; do
8682 if test "X$lt_pkg" = "X$lt_p"; then
8694 test -z "$pic_mode" && pic_mode
=default
8702 # Check whether --enable-fast-install was given.
8703 if test "${enable_fast_install+set}" = set; then :
8704 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8706 yes) enable_fast_install
=yes ;;
8707 no
) enable_fast_install
=no
;;
8709 enable_fast_install
=no
8710 # Look at the argument we got. We use all the common list separators.
8711 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8712 for pkg
in $enableval; do
8714 if test "X$pkg" = "X$p"; then
8715 enable_fast_install
=yes
8722 enable_fast_install
=yes
8735 # This can be used to rebuild libtool when needed
8736 LIBTOOL_DEPS
="$ltmain"
8738 # Always use our own libtool.
8739 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8770 test -z "$LN_S" && LN_S
="ln -s"
8785 if test -n "${ZSH_VERSION+set}" ; then
8786 setopt NO_GLOB_SUBST
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8790 $as_echo_n "checking for objdir... " >&6; }
8791 if ${lt_cv_objdir+:} false
; then :
8792 $as_echo_n "(cached) " >&6
8794 rm -f .libs
2>/dev
/null
8795 mkdir .libs
2>/dev
/null
8796 if test -d .libs
; then
8799 # MS-DOS does not allow filenames that begin with a dot.
8802 rmdir .libs
2>/dev
/null
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8805 $as_echo "$lt_cv_objdir" >&6; }
8806 objdir
=$lt_cv_objdir
8812 cat >>confdefs.h
<<_ACEOF
8813 #define LT_OBJDIR "$lt_cv_objdir/"
8821 # AIX sometimes has problems with the GCC collect2 program. For some
8822 # reason, if we set the COLLECT_NAMES environment variable, the problems
8823 # vanish in a puff of smoke.
8824 if test "X${COLLECT_NAMES+set}" != Xset
; then
8826 export COLLECT_NAMES
8833 can_build_shared
=yes
8835 # All known linkers require a `.a' archive for static linking (except MSVC,
8836 # which needs '.lib').
8839 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8842 old_CFLAGS
="$CFLAGS"
8844 # Set sane defaults for various variables
8845 test -z "$CC" && CC
=cc
8846 test -z "$LTCC" && LTCC
=$CC
8847 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8848 test -z "$LD" && LD
=ld
8849 test -z "$ac_objext" && ac_objext
=o
8851 for cc_temp
in $compiler""; do
8853 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
8854 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
8859 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8862 # Only perform the check for file, if the check method requires it
8863 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8864 case $deplibs_check_method in
8866 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8868 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8869 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8870 $as_echo_n "(cached) " >&6
8874 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8877 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8878 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8879 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8880 for ac_dir
in $ac_dummy; do
8882 test -z "$ac_dir" && ac_dir
=.
8883 if test -f $ac_dir/${ac_tool_prefix}file; then
8884 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8885 if test -n "$file_magic_test_file"; then
8886 case $deplibs_check_method in
8888 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8889 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8890 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8891 $EGREP "$file_magic_regex" > /dev
/null
; then
8896 *** Warning: the command libtool uses to detect shared libraries,
8897 *** $file_magic_cmd, produces output that libtool cannot recognize.
8898 *** The result is that libtool may fail to recognize shared libraries
8899 *** as such. This will affect the creation of libtool libraries that
8900 *** depend on shared libraries, but programs linked with such libtool
8901 *** libraries will work regardless of this problem. Nevertheless, you
8902 *** may want to report the problem to your system manager and/or to
8903 *** bug-libtool@gnu.org
8913 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8918 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8919 if test -n "$MAGIC_CMD"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8921 $as_echo "$MAGIC_CMD" >&6; }
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8931 if test -z "$lt_cv_path_MAGIC_CMD"; then
8932 if test -n "$ac_tool_prefix"; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8934 $as_echo_n "checking for file... " >&6; }
8935 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8936 $as_echo_n "(cached) " >&6
8940 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8943 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8944 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8945 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8946 for ac_dir
in $ac_dummy; do
8948 test -z "$ac_dir" && ac_dir
=.
8949 if test -f $ac_dir/file; then
8950 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8951 if test -n "$file_magic_test_file"; then
8952 case $deplibs_check_method in
8954 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8955 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8956 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8957 $EGREP "$file_magic_regex" > /dev
/null
; then
8962 *** Warning: the command libtool uses to detect shared libraries,
8963 *** $file_magic_cmd, produces output that libtool cannot recognize.
8964 *** The result is that libtool may fail to recognize shared libraries
8965 *** as such. This will affect the creation of libtool libraries that
8966 *** depend on shared libraries, but programs linked with such libtool
8967 *** libraries will work regardless of this problem. Nevertheless, you
8968 *** may want to report the problem to your system manager and/or to
8969 *** bug-libtool@gnu.org
8979 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8984 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8985 if test -n "$MAGIC_CMD"; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8987 $as_echo "$MAGIC_CMD" >&6; }
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8990 $as_echo "no" >&6; }
9003 # Use C for the default configuration in the libtool script
9007 ac_cpp
='$CPP $CPPFLAGS'
9008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9013 # Source file extension for C test sources.
9016 # Object file extension for compiled C test sources.
9020 # Code to be used in simple compile tests
9021 lt_simple_compile_test_code
="int some_variable = 0;"
9023 # Code to be used in simple link tests
9024 lt_simple_link_test_code
='int main(){return(0);}'
9032 # If no C compiler was specified, use CC.
9035 # If no C compiler flags were specified, use CFLAGS.
9036 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9038 # Allow CC to be a program name with arguments.
9041 # Save the default compiler, since it gets overwritten when the other
9042 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9043 compiler_DEFAULT
=$CC
9045 # save warnings/boilerplate of simple test code
9046 ac_outfile
=conftest.
$ac_objext
9047 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9048 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9049 _lt_compiler_boilerplate
=`cat conftest.err`
9052 ac_outfile
=conftest.
$ac_objext
9053 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9054 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
9055 _lt_linker_boilerplate
=`cat conftest.err`
9059 if test -n "$compiler"; then
9061 lt_prog_compiler_no_builtin_flag
=
9063 if test "$GCC" = yes; then
9064 case $cc_basename in
9066 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9068 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9072 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9073 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 lt_cv_prog_compiler_rtti_exceptions
=no
9077 ac_outfile
=conftest.
$ac_objext
9078 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9079 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9080 # Insert the option either (1) after the last *FLAGS variable, or
9081 # (2) before a word containing "conftest.", or (3) at the end.
9082 # Note that $ac_compile itself does not contain backslashes and begins
9083 # with a dollar sign (not a hyphen), so the echo should work correctly.
9084 # The option is referenced via a variable to avoid confusing sed.
9085 lt_compile
=`echo "$ac_compile" | $SED \
9086 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9087 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9088 -e 's:$: $lt_compiler_flag:'`
9089 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9090 (eval "$lt_compile" 2>conftest.err
)
9092 cat conftest.err
>&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 if (exit $ac_status) && test -s "$ac_outfile"; then
9095 # The compiler can only warn and ignore the option if not recognized
9096 # So say no if there are warnings other than the usual output.
9097 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9098 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9099 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9100 lt_cv_prog_compiler_rtti_exceptions
=yes
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9107 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9109 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9110 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9122 lt_prog_compiler_wl
=
9123 lt_prog_compiler_pic
=
9124 lt_prog_compiler_static
=
9127 if test "$GCC" = yes; then
9128 lt_prog_compiler_wl
='-Wl,'
9129 lt_prog_compiler_static
='-static'
9133 # All AIX code is PIC.
9134 if test "$host_cpu" = ia64
; then
9135 # AIX 5 now supports IA64 processor
9136 lt_prog_compiler_static
='-Bstatic'
9143 # see comment about AmigaOS4 .so support
9144 lt_prog_compiler_pic
='-fPIC'
9147 # FIXME: we need at least 68020 code to build shared libraries, but
9148 # adding the `-m68020' flag to GCC prevents building anything better,
9150 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9155 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9156 # PIC is the default for these OSes.
9159 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9160 # This hack is so that the source file can tell whether it is being
9161 # built for inclusion in a dll (and should export symbols for example).
9162 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9163 # (--disable-auto-import) libraries
9164 lt_prog_compiler_pic
='-DDLL_EXPORT'
9167 darwin
* | rhapsody
*)
9168 # PIC is the default on this platform
9169 # Common symbols not allowed in MH_DYLIB files
9170 lt_prog_compiler_pic
='-fno-common'
9174 # PIC is the default for Haiku.
9175 # The "-static" flag exists, but is broken.
9176 lt_prog_compiler_static
=
9180 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9181 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9182 # sets the default TLS model and affects inlining.
9188 lt_prog_compiler_pic
='-fPIC'
9194 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9195 # Instead, we relocate shared libraries at runtime.
9199 # Just because we use GCC doesn't mean we suddenly get shared libraries
9200 # on systems that don't support them.
9201 lt_prog_compiler_can_build_shared
=no
9206 # QNX uses GNU C++, but need to define -shared option too, otherwise
9208 lt_prog_compiler_pic
='-fPIC -shared'
9212 if test -d /usr
/nec
; then
9213 lt_prog_compiler_pic
=-Kconform_pic
9218 lt_prog_compiler_pic
='-fPIC'
9222 case $cc_basename in
9223 nvcc
*) # Cuda Compiler Driver 2.2
9224 lt_prog_compiler_wl
='-Xlinker '
9225 if test -n "$lt_prog_compiler_pic"; then
9226 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9231 # PORTME Check for flag to pass linker flags through the system compiler.
9234 lt_prog_compiler_wl
='-Wl,'
9235 if test "$host_cpu" = ia64
; then
9236 # AIX 5 now supports IA64 processor
9237 lt_prog_compiler_static
='-Bstatic'
9239 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9243 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9244 # This hack is so that the source file can tell whether it is being
9245 # built for inclusion in a dll (and should export symbols for example).
9246 lt_prog_compiler_pic
='-DDLL_EXPORT'
9249 hpux9
* | hpux10
* | hpux11
*)
9250 lt_prog_compiler_wl
='-Wl,'
9251 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9258 lt_prog_compiler_pic
='+Z'
9261 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9262 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9265 irix5
* | irix6
* | nonstopux
*)
9266 lt_prog_compiler_wl
='-Wl,'
9267 # PIC (with -KPIC) is the default.
9268 lt_prog_compiler_static
='-non_shared'
9271 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9272 case $cc_basename in
9273 # old Intel for x86_64 which still supported -KPIC.
9275 lt_prog_compiler_wl
='-Wl,'
9276 lt_prog_compiler_pic
='-KPIC'
9277 lt_prog_compiler_static
='-static'
9279 # icc used to be incompatible with GCC.
9280 # ICC 10 doesn't accept -KPIC any more.
9282 lt_prog_compiler_wl
='-Wl,'
9283 lt_prog_compiler_pic
='-fPIC'
9284 lt_prog_compiler_static
='-static'
9286 # Lahey Fortran 8.1.
9288 lt_prog_compiler_wl
='-Wl,'
9289 lt_prog_compiler_pic
='--shared'
9290 lt_prog_compiler_static
='--static'
9293 # NAG Fortran compiler
9294 lt_prog_compiler_wl
='-Wl,-Wl,,'
9295 lt_prog_compiler_pic
='-PIC'
9296 lt_prog_compiler_static
='-Bstatic'
9298 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9299 # Portland Group compilers (*not* the Pentium gcc compiler,
9300 # which looks to be a dead project)
9301 lt_prog_compiler_wl
='-Wl,'
9302 lt_prog_compiler_pic
='-fpic'
9303 lt_prog_compiler_static
='-Bstatic'
9306 lt_prog_compiler_wl
='-Wl,'
9307 # All Alpha code is PIC.
9308 lt_prog_compiler_static
='-non_shared'
9310 xl
* | bgxl
* | bgf
* | mpixl
*)
9311 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9312 lt_prog_compiler_wl
='-Wl,'
9313 lt_prog_compiler_pic
='-qpic'
9314 lt_prog_compiler_static
='-qstaticlink'
9317 case `$CC -V 2>&1 | sed 5q` in
9318 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9319 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9320 lt_prog_compiler_pic
='-KPIC'
9321 lt_prog_compiler_static
='-Bstatic'
9322 lt_prog_compiler_wl
=''
9324 *Sun\ F
* | *Sun
*Fortran
*)
9325 lt_prog_compiler_pic
='-KPIC'
9326 lt_prog_compiler_static
='-Bstatic'
9327 lt_prog_compiler_wl
='-Qoption ld '
9331 lt_prog_compiler_pic
='-KPIC'
9332 lt_prog_compiler_static
='-Bstatic'
9333 lt_prog_compiler_wl
='-Wl,'
9335 *Intel
*\
[CF
]*Compiler
*)
9336 lt_prog_compiler_wl
='-Wl,'
9337 lt_prog_compiler_pic
='-fPIC'
9338 lt_prog_compiler_static
='-static'
9341 lt_prog_compiler_wl
='-Wl,'
9342 lt_prog_compiler_pic
='-fpic'
9343 lt_prog_compiler_static
='-Bstatic'
9351 lt_prog_compiler_pic
='-KPIC'
9352 lt_prog_compiler_static
='-Bstatic'
9356 # QNX uses GNU C++, but need to define -shared option too, otherwise
9358 lt_prog_compiler_pic
='-fPIC -shared'
9361 osf3
* | osf4
* | osf5
*)
9362 lt_prog_compiler_wl
='-Wl,'
9363 # All OSF/1 code is PIC.
9364 lt_prog_compiler_static
='-non_shared'
9368 lt_prog_compiler_static
='-non_shared'
9372 lt_prog_compiler_pic
='-KPIC'
9373 lt_prog_compiler_static
='-Bstatic'
9374 case $cc_basename in
9375 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9376 lt_prog_compiler_wl
='-Qoption ld ';;
9378 lt_prog_compiler_wl
='-Wl,';;
9383 lt_prog_compiler_wl
='-Qoption ld '
9384 lt_prog_compiler_pic
='-PIC'
9385 lt_prog_compiler_static
='-Bstatic'
9388 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9389 lt_prog_compiler_wl
='-Wl,'
9390 lt_prog_compiler_pic
='-KPIC'
9391 lt_prog_compiler_static
='-Bstatic'
9395 if test -d /usr
/nec
;then
9396 lt_prog_compiler_pic
='-Kconform_pic'
9397 lt_prog_compiler_static
='-Bstatic'
9401 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9402 lt_prog_compiler_wl
='-Wl,'
9403 lt_prog_compiler_pic
='-KPIC'
9404 lt_prog_compiler_static
='-Bstatic'
9408 lt_prog_compiler_wl
='-Wl,'
9409 lt_prog_compiler_can_build_shared
=no
9413 lt_prog_compiler_pic
='-pic'
9414 lt_prog_compiler_static
='-Bstatic'
9418 lt_prog_compiler_can_build_shared
=no
9424 # For platforms which do not support PIC, -DPIC is meaningless:
9426 lt_prog_compiler_pic
=
9429 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9434 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9435 if ${lt_cv_prog_compiler_pic+:} false
; then :
9436 $as_echo_n "(cached) " >&6
9438 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9441 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9442 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9445 # Check to make sure the PIC flag actually works.
9447 if test -n "$lt_prog_compiler_pic"; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9449 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9450 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9451 $as_echo_n "(cached) " >&6
9453 lt_cv_prog_compiler_pic_works
=no
9454 ac_outfile
=conftest.
$ac_objext
9455 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9456 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9457 # Insert the option either (1) after the last *FLAGS variable, or
9458 # (2) before a word containing "conftest.", or (3) at the end.
9459 # Note that $ac_compile itself does not contain backslashes and begins
9460 # with a dollar sign (not a hyphen), so the echo should work correctly.
9461 # The option is referenced via a variable to avoid confusing sed.
9462 lt_compile
=`echo "$ac_compile" | $SED \
9463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9465 -e 's:$: $lt_compiler_flag:'`
9466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9467 (eval "$lt_compile" 2>conftest.err
)
9469 cat conftest.err
>&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 if (exit $ac_status) && test -s "$ac_outfile"; then
9472 # The compiler can only warn and ignore the option if not recognized
9473 # So say no if there are warnings other than the usual output.
9474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9475 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9476 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9477 lt_cv_prog_compiler_pic_works
=yes
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9484 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9486 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9487 case $lt_prog_compiler_pic in
9489 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9492 lt_prog_compiler_pic
=
9493 lt_prog_compiler_can_build_shared
=no
9509 # Check to make sure the static flag actually works.
9511 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9513 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9514 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9515 $as_echo_n "(cached) " >&6
9517 lt_cv_prog_compiler_static_works
=no
9518 save_LDFLAGS
="$LDFLAGS"
9519 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9520 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9521 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9522 # The linker can only warn and ignore the option if not recognized
9523 # So say no if there are warnings
9524 if test -s conftest.err
; then
9525 # Append any errors to the config.log.
9526 cat conftest.err
1>&5
9527 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9528 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9529 if diff conftest.exp conftest.er2
>/dev
/null
; then
9530 lt_cv_prog_compiler_static_works
=yes
9533 lt_cv_prog_compiler_static_works
=yes
9537 LDFLAGS
="$save_LDFLAGS"
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9541 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9543 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9546 lt_prog_compiler_static
=
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9556 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9557 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9558 $as_echo_n "(cached) " >&6
9560 lt_cv_prog_compiler_c_o
=no
9561 $RM -r conftest
2>/dev
/null
9565 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9567 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9568 # Insert the option either (1) after the last *FLAGS variable, or
9569 # (2) before a word containing "conftest.", or (3) at the end.
9570 # Note that $ac_compile itself does not contain backslashes and begins
9571 # with a dollar sign (not a hyphen), so the echo should work correctly.
9572 lt_compile
=`echo "$ac_compile" | $SED \
9573 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9574 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9575 -e 's:$: $lt_compiler_flag:'`
9576 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9577 (eval "$lt_compile" 2>out
/conftest.err
)
9579 cat out
/conftest.err
>&5
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9583 # The compiler can only warn and ignore the option if not recognized
9584 # So say no if there are warnings
9585 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9586 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9587 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9588 lt_cv_prog_compiler_c_o
=yes
9593 # SGI C++ compiler will create directory out/ii_files/ for
9594 # template instantiation
9595 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9596 $RM out
/* && rmdir out
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9603 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9611 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9612 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9613 $as_echo_n "(cached) " >&6
9615 lt_cv_prog_compiler_c_o
=no
9616 $RM -r conftest
2>/dev
/null
9620 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9622 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9623 # Insert the option either (1) after the last *FLAGS variable, or
9624 # (2) before a word containing "conftest.", or (3) at the end.
9625 # Note that $ac_compile itself does not contain backslashes and begins
9626 # with a dollar sign (not a hyphen), so the echo should work correctly.
9627 lt_compile
=`echo "$ac_compile" | $SED \
9628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9630 -e 's:$: $lt_compiler_flag:'`
9631 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9632 (eval "$lt_compile" 2>out
/conftest.err
)
9634 cat out
/conftest.err
>&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9638 # The compiler can only warn and ignore the option if not recognized
9639 # So say no if there are warnings
9640 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9641 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9642 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9643 lt_cv_prog_compiler_c_o
=yes
9648 # SGI C++ compiler will create directory out/ii_files/ for
9649 # template instantiation
9650 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9651 $RM out
/* && rmdir out
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9658 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9663 hard_links
="nottested"
9664 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9665 # do not overwrite the value of need_locks provided by the user
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9667 $as_echo_n "checking if we can lock with hard links... " >&6; }
9670 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9672 ln conftest.a conftest.b
2>&5 || hard_links
=no
9673 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9675 $as_echo "$hard_links" >&6; }
9676 if test "$hard_links" = no
; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9678 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9691 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9694 allow_undefined_flag
=
9695 always_export_symbols
=no
9697 archive_expsym_cmds
=
9698 compiler_needs_object
=no
9699 enable_shared_with_static_runtimes
=no
9700 export_dynamic_flag_spec
=
9701 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9702 hardcode_automatic
=no
9704 hardcode_direct_absolute
=no
9705 hardcode_libdir_flag_spec
=
9706 hardcode_libdir_separator
=
9708 hardcode_shlibpath_var
=unsupported
9710 link_all_deplibs
=unknown
9713 old_archive_from_new_cmds
=
9714 old_archive_from_expsyms_cmds
=
9715 thread_safe_flag_spec
=
9716 whole_archive_flag_spec
=
9717 # include_expsyms should be a list of space-separated symbols to be *always*
9718 # included in the symbol list
9720 # exclude_expsyms can be an extended regexp of symbols to exclude
9721 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9722 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9723 # as well as any symbol that contains `d'.
9724 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9725 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9726 # platforms (ab)use it in PIC code, but their linkers get confused if
9727 # the symbol is explicitly referenced. Since portable code cannot
9728 # rely on this symbol name, it's probably fine to never include it in
9729 # preloaded symbol tables.
9730 # Exclude shared library initialization/finalization symbols.
9731 extract_expsyms_cmds
=
9734 cygwin
* | mingw
* | pw32
* | cegcc
*)
9735 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9736 # When not using gcc, we currently assume that we are using
9737 # Microsoft Visual C++.
9738 if test "$GCC" != yes; then
9743 # we just hope/assume this is gcc and not c89 (= MSVC++)
9753 # On some targets, GNU ld is compatible enough with the native linker
9754 # that we're better off using the native interface for both.
9755 lt_use_gnu_ld_interface
=no
9756 if test "$with_gnu_ld" = yes; then
9759 # The AIX port of GNU ld has always aspired to compatibility
9760 # with the native linker. However, as the warning in the GNU ld
9761 # block says, versions before 2.19.5* couldn't really create working
9762 # shared libraries, regardless of the interface used.
9763 case `$LD -v 2>&1` in
9764 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9765 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9766 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9768 lt_use_gnu_ld_interface
=yes
9773 lt_use_gnu_ld_interface
=yes
9778 if test "$lt_use_gnu_ld_interface" = yes; then
9779 # If archive_cmds runs LD, not CC, wlarc should be empty
9782 # Set some defaults for GNU ld with shared library support. These
9783 # are reset later if shared libraries are not supported. Putting them
9784 # here allows them to be overridden if necessary.
9785 runpath_var
=LD_RUN_PATH
9786 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9787 export_dynamic_flag_spec
='${wl}--export-dynamic'
9788 # ancient GNU ld didn't support --whole-archive et. al.
9789 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9790 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9792 whole_archive_flag_spec
=
9794 supports_anon_versioning
=no
9795 case `$LD -v 2>&1` in
9796 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9797 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9798 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9799 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9800 *\
2.11.
*) ;; # other 2.11 versions
9801 *) supports_anon_versioning
=yes ;;
9804 # See if GNU ld supports shared libraries.
9807 # On AIX/PPC, the GNU linker is very broken
9808 if test "$host_cpu" != ia64
; then
9812 *** Warning: the GNU linker, at least up to release 2.19, is reported
9813 *** to be unable to reliably create shared libraries on AIX.
9814 *** Therefore, libtool is disabling shared libraries support. If you
9815 *** really care for shared libraries, you may want to install binutils
9816 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9817 *** You will then need to restart the configuration process.
9826 # see comment about AmigaOS4 .so support
9827 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9828 archive_expsym_cmds
=''
9831 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)'
9832 hardcode_libdir_flag_spec
='-L$libdir'
9833 hardcode_minus_L
=yes
9839 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9840 allow_undefined_flag
=unsupported
9841 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9842 # support --undefined. This deserves some investigation. FIXME
9843 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9849 cygwin
* | mingw
* | pw32
* | cegcc
*)
9850 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9851 # as there is no search path for DLLs.
9852 hardcode_libdir_flag_spec
='-L$libdir'
9853 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9854 allow_undefined_flag
=unsupported
9855 always_export_symbols
=no
9856 enable_shared_with_static_runtimes
=yes
9857 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'
9858 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9860 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9861 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9862 # If the export-symbols file already is a .def file (1st line
9863 # is EXPORTS), use it as is; otherwise, prepend...
9864 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9865 cp $export_symbols $output_objdir/$soname.def;
9867 echo EXPORTS > $output_objdir/$soname.def;
9868 cat $export_symbols >> $output_objdir/$soname.def;
9870 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9877 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 link_all_deplibs
=yes
9883 hardcode_shlibpath_var
=no
9884 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9885 export_dynamic_flag_spec
='${wl}-E'
9886 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9887 # Instead, shared libraries are loaded at an image base (0x10000000 by
9888 # default) and relocated if they conflict, which is a slow very memory
9889 # consuming and fragmenting process. To avoid this, we pick a random,
9890 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9891 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9892 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9893 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'
9896 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9898 if test "$host_os" = linux
-dietlibc; then
9899 case $cc_basename in
9900 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9903 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9904 && test "$tmp_diet" = no
9906 tmp_addflag
=' $pic_flag'
9907 tmp_sharedflag
='-shared'
9908 case $cc_basename,$host_cpu in
9909 pgcc
*) # Portland Group C compiler
9910 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'
9911 tmp_addflag
=' $pic_flag'
9913 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9914 # Portland Group f77 and f90 compilers
9915 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'
9916 tmp_addflag
=' $pic_flag -Mnomain' ;;
9917 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9918 tmp_addflag
=' -i_dynamic' ;;
9919 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9920 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9921 ifc
* | ifort
*) # Intel Fortran compiler
9922 tmp_addflag
=' -nofor_main' ;;
9923 lf95
*) # Lahey Fortran 8.1
9924 whole_archive_flag_spec
=
9925 tmp_sharedflag
='--shared' ;;
9926 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9927 tmp_sharedflag
='-qmkshrobj'
9929 nvcc
*) # Cuda Compiler Driver 2.2
9930 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'
9931 compiler_needs_object
=yes
9934 case `$CC -V 2>&1 | sed 5q` in
9935 *Sun\ C
*) # Sun C 5.9
9936 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'
9937 compiler_needs_object
=yes
9938 tmp_sharedflag
='-G' ;;
9939 *Sun\ F
*) # Sun Fortran 8.3
9940 tmp_sharedflag
='-G' ;;
9942 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944 if test "x$supports_anon_versioning" = xyes
; then
9945 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9946 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9947 echo "local: *; };" >> $output_objdir/$libname.ver~
9948 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9951 case $cc_basename in
9952 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9953 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9954 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9955 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9956 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9957 if test "x$supports_anon_versioning" = xyes
; then
9958 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9959 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9960 echo "local: *; };" >> $output_objdir/$libname.ver~
9961 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9971 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9972 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9975 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9976 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9981 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9985 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9986 *** create shared libraries on Solaris systems. Therefore, libtool
9987 *** is disabling shared libraries support. We urge you to upgrade GNU
9988 *** binutils to release 2.9.1 or newer. Another option is to modify
9989 *** your PATH or compiler configuration so that the native linker is
9990 *** used, and then restart.
9993 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9994 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9995 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10001 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10002 case `$LD -v 2>&1` in
10003 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
10007 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10008 *** reliably create shared libraries on SCO systems. Therefore, libtool
10009 *** is disabling shared libraries support. We urge you to upgrade GNU
10010 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10011 *** your PATH or compiler configuration so that the native linker is
10012 *** used, and then restart.
10017 # For security reasons, it is highly recommended that you always
10018 # use absolute paths for naming shared libraries, and exclude the
10019 # DT_RUNPATH tag from executables and libraries. But doing so
10020 # requires that you compile everything twice, which is a pain.
10021 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10022 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10023 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10024 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10033 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10035 hardcode_direct
=yes
10036 hardcode_shlibpath_var
=no
10040 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
10041 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10042 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10049 if test "$ld_shlibs" = no
; then
10051 hardcode_libdir_flag_spec
=
10052 export_dynamic_flag_spec
=
10053 whole_archive_flag_spec
=
10056 # PORTME fill in a description of your system's linker (not GNU ld)
10059 allow_undefined_flag
=unsupported
10060 always_export_symbols
=yes
10061 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'
10062 # Note: this linker hardcodes the directories in LIBPATH if there
10063 # are no directories specified by -L.
10064 hardcode_minus_L
=yes
10065 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10066 # Neither direct hardcoding nor static linking is supported with a
10068 hardcode_direct
=unsupported
10073 if test "$host_cpu" = ia64
; then
10074 # On IA64, the linker does run time linking by default, so we don't
10075 # have to do anything special.
10076 aix_use_runtimelinking
=no
10077 exp_sym_flag
='-Bexport'
10080 # If we're using GNU nm, then we don't want the "-C" option.
10081 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10082 # Also, AIX nm treats weak defined symbols like other global
10083 # defined symbols, whereas GNU nm marks them as "W".
10084 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
10085 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'
10087 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'
10089 aix_use_runtimelinking
=no
10091 # Test if we are trying to use run time linking or normal
10092 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10093 # need to do runtime linking.
10094 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10095 for ld_flag
in $LDFLAGS; do
10096 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10097 aix_use_runtimelinking
=yes
10104 exp_sym_flag
='-bexport'
10105 no_entry_flag
='-bnoentry'
10108 # When large executables or shared objects are built, AIX ld can
10109 # have problems creating the table of contents. If linking a library
10110 # or program results in "error TOC overflow" add -mminimal-toc to
10111 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10112 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10115 hardcode_direct
=yes
10116 hardcode_direct_absolute
=yes
10117 hardcode_libdir_separator
=':'
10118 link_all_deplibs
=yes
10119 file_list_spec
='${wl}-f,'
10121 if test "$GCC" = yes; then
10122 case $host_os in aix4.
[012]|aix4.
[012].
*)
10123 # We only want to do this on AIX 4.2 and lower, the check
10124 # below for broken collect2 doesn't work under 4.3+
10125 collect2name
=`${CC} -print-prog-name=collect2`
10126 if test -f "$collect2name" &&
10127 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
10129 # We have reworked collect2
10132 # We have old collect2
10133 hardcode_direct
=unsupported
10134 # It fails to find uninstalled libraries when the uninstalled
10135 # path is not listed in the libpath. Setting hardcode_minus_L
10136 # to unsupported forces relinking
10137 hardcode_minus_L
=yes
10138 hardcode_libdir_flag_spec
='-L$libdir'
10139 hardcode_libdir_separator
=
10143 shared_flag
='-shared'
10144 if test "$aix_use_runtimelinking" = yes; then
10145 shared_flag
="$shared_flag "'${wl}-G'
10149 if test "$host_cpu" = ia64
; then
10150 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10151 # chokes on -Wl,-G. The following line is correct:
10154 if test "$aix_use_runtimelinking" = yes; then
10155 shared_flag
='${wl}-G'
10157 shared_flag
='${wl}-bM:SRE'
10162 export_dynamic_flag_spec
='${wl}-bexpall'
10163 # It seems that -bexpall does not export symbols beginning with
10164 # underscore (_), so it is better to generate a list of symbols to export.
10165 always_export_symbols
=yes
10166 if test "$aix_use_runtimelinking" = yes; then
10167 # Warning - without using the other runtime loading flags (-brtl),
10168 # -berok will link without error, but may produce a broken library.
10169 allow_undefined_flag
='-berok'
10170 # Determine the default libpath from the value encoded in an
10171 # empty executable.
10172 if test "${lt_cv_aix_libpath+set}" = set; then
10173 aix_libpath
=$lt_cv_aix_libpath
10175 if ${lt_cv_aix_libpath_+:} false
; then :
10176 $as_echo_n "(cached) " >&6
10178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10189 if ac_fn_c_try_link
"$LINENO"; then :
10191 lt_aix_libpath_sed
='
10192 /Import File Strings/,/^$/ {
10194 s/^0 *\([^ ]*\) *$/\1/
10198 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10199 # Check for a 64-bit object if we didn't find anything.
10200 if test -z "$lt_cv_aix_libpath_"; then
10201 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10204 rm -f core conftest.err conftest.
$ac_objext \
10205 conftest
$ac_exeext conftest.
$ac_ext
10206 if test -z "$lt_cv_aix_libpath_"; then
10207 lt_cv_aix_libpath_
="/usr/lib:/lib"
10212 aix_libpath
=$lt_cv_aix_libpath_
10215 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10216 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"
10218 if test "$host_cpu" = ia64
; then
10219 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10220 allow_undefined_flag
="-z nodefs"
10221 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"
10223 # Determine the default libpath from the value encoded in an
10224 # empty executable.
10225 if test "${lt_cv_aix_libpath+set}" = set; then
10226 aix_libpath
=$lt_cv_aix_libpath
10228 if ${lt_cv_aix_libpath_+:} false
; then :
10229 $as_echo_n "(cached) " >&6
10231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10242 if ac_fn_c_try_link
"$LINENO"; then :
10244 lt_aix_libpath_sed
='
10245 /Import File Strings/,/^$/ {
10247 s/^0 *\([^ ]*\) *$/\1/
10251 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10252 # Check for a 64-bit object if we didn't find anything.
10253 if test -z "$lt_cv_aix_libpath_"; then
10254 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10257 rm -f core conftest.err conftest.
$ac_objext \
10258 conftest
$ac_exeext conftest.
$ac_ext
10259 if test -z "$lt_cv_aix_libpath_"; then
10260 lt_cv_aix_libpath_
="/usr/lib:/lib"
10265 aix_libpath
=$lt_cv_aix_libpath_
10268 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10269 # Warning - without using the other run time loading flags,
10270 # -berok will link without error, but may produce a broken library.
10271 no_undefined_flag
=' ${wl}-bernotok'
10272 allow_undefined_flag
=' ${wl}-berok'
10273 if test "$with_gnu_ld" = yes; then
10274 # We only use this code for GNU lds that support --whole-archive.
10275 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10277 # Exported symbols can be pulled into shared objects from archives
10278 whole_archive_flag_spec
='$convenience'
10280 archive_cmds_need_lc
=yes
10281 # This is similar to how AIX traditionally builds its shared libraries.
10282 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'
10290 # see comment about AmigaOS4 .so support
10291 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10292 archive_expsym_cmds
=''
10295 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)'
10296 hardcode_libdir_flag_spec
='-L$libdir'
10297 hardcode_minus_L
=yes
10303 export_dynamic_flag_spec
=-rdynamic
10306 cygwin
* | mingw
* | pw32
* | cegcc
*)
10307 # When not using gcc, we currently assume that we are using
10308 # Microsoft Visual C++.
10309 # hardcode_libdir_flag_spec is actually meaningless, as there is
10310 # no search path for DLLs.
10311 case $cc_basename in
10314 hardcode_libdir_flag_spec
=' '
10315 allow_undefined_flag
=unsupported
10316 always_export_symbols
=yes
10318 # Tell ltmain to make .lib files, not .a files.
10320 # Tell ltmain to make .dll files, not .so files.
10322 # FIXME: Setting linknames here is a bad hack.
10323 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10324 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10325 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10327 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10329 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10331 # The linker will not automatically build a static lib if we build a DLL.
10332 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10333 enable_shared_with_static_runtimes
=yes
10334 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10335 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10337 old_postinstall_cmds
='chmod 644 $oldlib'
10338 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10339 lt_tool_outputfile="@TOOL_OUTPUT@"~
10340 case $lt_outputfile in
10343 lt_outputfile="$lt_outputfile.exe"
10344 lt_tool_outputfile="$lt_tool_outputfile.exe"
10347 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10348 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10349 $RM "$lt_outputfile.manifest";
10353 # Assume MSVC wrapper
10354 hardcode_libdir_flag_spec
=' '
10355 allow_undefined_flag
=unsupported
10356 # Tell ltmain to make .lib files, not .a files.
10358 # Tell ltmain to make .dll files, not .so files.
10360 # FIXME: Setting linknames here is a bad hack.
10361 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10362 # The linker will automatically build a .lib file if we build a DLL.
10363 old_archive_from_new_cmds
='true'
10364 # FIXME: Should let the user specify the lib program.
10365 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10366 enable_shared_with_static_runtimes
=yes
10371 darwin
* | rhapsody
*)
10374 archive_cmds_need_lc
=no
10376 hardcode_automatic
=yes
10377 hardcode_shlibpath_var
=unsupported
10378 if test "$lt_cv_ld_force_load" = "yes"; then
10379 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\"`'
10382 whole_archive_flag_spec
=''
10384 link_all_deplibs
=yes
10385 allow_undefined_flag
="$_lt_dar_allow_undefined"
10386 case $cc_basename in
10387 ifort
*) _lt_dar_can_shared
=yes ;;
10388 *) _lt_dar_can_shared
=$GCC ;;
10390 if test "$_lt_dar_can_shared" = "yes"; then
10391 output_verbose_link_cmd
=func_echo_all
10392 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10393 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10394 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}"
10395 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}"
10404 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10405 hardcode_libdir_flag_spec
='-L$libdir'
10406 hardcode_shlibpath_var
=no
10409 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10410 # support. Future versions do this automatically, but an explicit c++rt0.o
10411 # does not break anything, and helps significantly (at the cost of a little
10414 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10415 hardcode_libdir_flag_spec
='-R$libdir'
10416 hardcode_direct
=yes
10417 hardcode_shlibpath_var
=no
10420 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10422 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10423 hardcode_direct
=yes
10424 hardcode_minus_L
=yes
10425 hardcode_shlibpath_var
=no
10428 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10429 freebsd
* | dragonfly
*)
10430 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10431 hardcode_libdir_flag_spec
='-R$libdir'
10432 hardcode_direct
=yes
10433 hardcode_shlibpath_var
=no
10437 if test "$GCC" = yes; then
10438 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'
10440 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'
10442 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10443 hardcode_libdir_separator
=:
10444 hardcode_direct
=yes
10446 # hardcode_minus_L: Not really in the search PATH,
10447 # but as the default location of the library.
10448 hardcode_minus_L
=yes
10449 export_dynamic_flag_spec
='${wl}-E'
10453 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10454 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10456 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10458 if test "$with_gnu_ld" = no
; then
10459 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10460 hardcode_libdir_separator
=:
10461 hardcode_direct
=yes
10462 hardcode_direct_absolute
=yes
10463 export_dynamic_flag_spec
='${wl}-E'
10464 # hardcode_minus_L: Not really in the search PATH,
10465 # but as the default location of the library.
10466 hardcode_minus_L
=yes
10471 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10474 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10477 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10480 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10486 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10489 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10493 # Older versions of the 11.00 compiler do not understand -b yet
10494 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10496 $as_echo_n "checking if $CC understands -b... " >&6; }
10497 if ${lt_cv_prog_compiler__b+:} false
; then :
10498 $as_echo_n "(cached) " >&6
10500 lt_cv_prog_compiler__b
=no
10501 save_LDFLAGS
="$LDFLAGS"
10502 LDFLAGS
="$LDFLAGS -b"
10503 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10504 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10505 # The linker can only warn and ignore the option if not recognized
10506 # So say no if there are warnings
10507 if test -s conftest.err
; then
10508 # Append any errors to the config.log.
10509 cat conftest.err
1>&5
10510 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10511 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10512 if diff conftest.exp conftest.er2
>/dev
/null
; then
10513 lt_cv_prog_compiler__b
=yes
10516 lt_cv_prog_compiler__b
=yes
10520 LDFLAGS
="$save_LDFLAGS"
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10524 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10526 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10527 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10529 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10535 if test "$with_gnu_ld" = no
; then
10536 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10537 hardcode_libdir_separator
=:
10542 hardcode_shlibpath_var
=no
10545 hardcode_direct
=yes
10546 hardcode_direct_absolute
=yes
10547 export_dynamic_flag_spec
='${wl}-E'
10549 # hardcode_minus_L: Not really in the search PATH,
10550 # but as the default location of the library.
10551 hardcode_minus_L
=yes
10557 irix5
* | irix6
* | nonstopux
*)
10558 if test "$GCC" = yes; then
10559 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'
10560 # Try to use the -exported_symbol ld option, if it does not
10561 # work, assume that -exports_file does not work either and
10562 # implicitly export all symbols.
10563 # This should be the same for all languages, so no per-tag cache variable.
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10565 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10566 if ${lt_cv_irix_exported_symbol+:} false
; then :
10567 $as_echo_n "(cached) " >&6
10569 save_LDFLAGS
="$LDFLAGS"
10570 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10572 /* end confdefs.h. */
10573 int foo (void) { return 0; }
10575 if ac_fn_c_try_link
"$LINENO"; then :
10576 lt_cv_irix_exported_symbol
=yes
10578 lt_cv_irix_exported_symbol
=no
10580 rm -f core conftest.err conftest.
$ac_objext \
10581 conftest
$ac_exeext conftest.
$ac_ext
10582 LDFLAGS
="$save_LDFLAGS"
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10585 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10586 if test "$lt_cv_irix_exported_symbol" = yes; then
10587 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'
10590 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'
10591 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'
10593 archive_cmds_need_lc
='no'
10594 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10595 hardcode_libdir_separator
=:
10597 link_all_deplibs
=yes
10601 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10602 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10604 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10606 hardcode_libdir_flag_spec
='-R$libdir'
10607 hardcode_direct
=yes
10608 hardcode_shlibpath_var
=no
10612 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10613 hardcode_direct
=yes
10614 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10615 hardcode_libdir_separator
=:
10616 hardcode_shlibpath_var
=no
10623 if test -f /usr
/libexec
/ld.so
; then
10624 hardcode_direct
=yes
10625 hardcode_shlibpath_var
=no
10626 hardcode_direct_absolute
=yes
10627 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10628 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10629 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10630 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10631 export_dynamic_flag_spec
='${wl}-E'
10634 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10635 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10636 hardcode_libdir_flag_spec
='-R$libdir'
10639 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10640 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10650 hardcode_libdir_flag_spec
='-L$libdir'
10651 hardcode_minus_L
=yes
10652 allow_undefined_flag
=unsupported
10653 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'
10654 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10658 if test "$GCC" = yes; then
10659 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10660 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'
10662 allow_undefined_flag
=' -expect_unresolved \*'
10663 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'
10665 archive_cmds_need_lc
='no'
10666 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10667 hardcode_libdir_separator
=:
10670 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10671 if test "$GCC" = yes; then
10672 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10673 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'
10674 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10676 allow_undefined_flag
=' -expect_unresolved \*'
10677 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'
10678 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~
10679 $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'
10681 # Both c and cxx compiler support -rpath directly
10682 hardcode_libdir_flag_spec
='-rpath $libdir'
10684 archive_cmds_need_lc
='no'
10685 hardcode_libdir_separator
=:
10689 no_undefined_flag
=' -z defs'
10690 if test "$GCC" = yes; then
10692 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10693 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10694 $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'
10696 case `$CC -V 2>&1` in
10699 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10700 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10701 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10705 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10706 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10707 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10711 hardcode_libdir_flag_spec
='-R$libdir'
10712 hardcode_shlibpath_var
=no
10714 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10716 # The compiler driver will combine and reorder linker options,
10717 # but understands `-z linker_flag'. GCC discards it without `$wl',
10718 # but is careful enough not to reorder.
10719 # Supported since Solaris 2.6 (maybe 2.5.1?)
10720 if test "$GCC" = yes; then
10721 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10723 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10727 link_all_deplibs
=yes
10731 if test "x$host_vendor" = xsequent
; then
10732 # Use $CC to link under sequent, because it throws in some extra .o
10733 # files that make .init and .fini sections work.
10734 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10736 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10738 hardcode_libdir_flag_spec
='-L$libdir'
10739 hardcode_direct
=yes
10740 hardcode_minus_L
=yes
10741 hardcode_shlibpath_var
=no
10745 case $host_vendor in
10747 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10748 hardcode_direct
=yes # is this really true???
10751 ## LD is ld it makes a PLAMLIB
10752 ## CC just makes a GrossModule.
10753 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10754 reload_cmds
='$CC -r -o $output$reload_objs'
10758 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10759 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10762 runpath_var
='LD_RUN_PATH'
10763 hardcode_shlibpath_var
=no
10767 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_shlibpath_var
=no
10769 export_dynamic_flag_spec
='-Bexport'
10773 if test -d /usr
/nec
; then
10774 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10775 hardcode_shlibpath_var
=no
10776 runpath_var
=LD_RUN_PATH
10777 hardcode_runpath_var
=yes
10782 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10783 no_undefined_flag
='${wl}-z,text'
10784 archive_cmds_need_lc
=no
10785 hardcode_shlibpath_var
=no
10786 runpath_var
='LD_RUN_PATH'
10788 if test "$GCC" = yes; then
10789 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10790 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10792 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10793 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10797 sysv5
* | sco3.2v5
* | sco5v6
*)
10798 # Note: We can NOT use -z defs as we might desire, because we do not
10799 # link with -lc, and that would cause any symbols used from libc to
10800 # always be unresolved, which means just about no library would
10801 # ever link correctly. If we're not using GNU ld we use -z text
10802 # though, which does catch some bad symbols but isn't as heavy-handed
10804 no_undefined_flag
='${wl}-z,text'
10805 allow_undefined_flag
='${wl}-z,nodefs'
10806 archive_cmds_need_lc
=no
10807 hardcode_shlibpath_var
=no
10808 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10809 hardcode_libdir_separator
=':'
10810 link_all_deplibs
=yes
10811 export_dynamic_flag_spec
='${wl}-Bexport'
10812 runpath_var
='LD_RUN_PATH'
10814 if test "$GCC" = yes; then
10815 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10816 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10818 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10819 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10824 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10825 hardcode_libdir_flag_spec
='-L$libdir'
10826 hardcode_shlibpath_var
=no
10834 if test x
$host_vendor = xsni
; then
10836 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10837 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10844 $as_echo "$ld_shlibs" >&6; }
10845 test "$ld_shlibs" = no
&& can_build_shared
=no
10847 with_gnu_ld
=$with_gnu_ld
10864 # Do we need to explicitly link libc?
10866 case "x$archive_cmds_need_lc" in
10868 # Assume -lc should be added
10869 archive_cmds_need_lc
=yes
10871 if test "$enable_shared" = yes && test "$GCC" = yes; then
10872 case $archive_cmds in
10874 # FIXME: we may have to deal with multi-command sequences.
10877 # Test whether the compiler implicitly links with -lc since on some
10878 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10879 # to ld, don't add -lc before -lgcc.
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10881 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10882 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10883 $as_echo_n "(cached) " >&6
10886 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10889 (eval $ac_compile) 2>&5
10891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10892 test $ac_status = 0; } 2>conftest.err
; then
10895 libobjs
=conftest.
$ac_objext
10897 wl
=$lt_prog_compiler_wl
10898 pic_flag
=$lt_prog_compiler_pic
10904 lt_save_allow_undefined_flag
=$allow_undefined_flag
10905 allow_undefined_flag
=
10906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10907 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10910 test $ac_status = 0; }
10912 lt_cv_archive_cmds_need_lc
=no
10914 lt_cv_archive_cmds_need_lc
=yes
10916 allow_undefined_flag
=$lt_save_allow_undefined_flag
10918 cat conftest.err
1>&5
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10924 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10925 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11084 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11086 if test "$GCC" = yes; then
11088 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11089 *) lt_awk_arg
="/^libraries:/" ;;
11092 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11093 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11095 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11096 case $lt_search_path_spec in
11098 # if the path contains ";" then we assume it to be the separator
11099 # otherwise default to the standard path separator (i.e. ":") - it is
11100 # assumed that no part of a normal pathname contains ";" but that should
11101 # okay in the real world where ";" in dirpaths is itself problematic.
11102 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11105 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11108 # Ok, now we have the path, separated by spaces, we can step through it
11109 # and add multilib dir if necessary.
11110 lt_tmp_lt_search_path_spec
=
11111 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11112 for lt_sys_path
in $lt_search_path_spec; do
11113 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11114 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11116 test -d "$lt_sys_path" && \
11117 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11120 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11121 BEGIN {RS=" "; FS="/|\n";} {
11124 for (lt_i = NF; lt_i > 0; lt_i--) {
11125 if ($lt_i != "" && $lt_i != ".") {
11126 if ($lt_i == "..") {
11129 if (lt_count == 0) {
11130 lt_foo="/" $lt_i lt_foo;
11137 if (lt_foo != "") { lt_freq[lt_foo]++; }
11138 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11140 # AWK program above erroneously prepends '/' to C:/dos/paths
11143 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11144 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11146 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11148 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11150 library_names_spec
=
11151 libname_spec
='lib$name'
11155 postuninstall_cmds
=
11159 shlibpath_overrides_runpath
=unknown
11161 dynamic_linker
="$host_os ld.so"
11162 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11163 need_lib_prefix
=unknown
11164 hardcode_into_libs
=no
11166 # when you set need_version to no, make sure it does not cause -set_version
11167 # flags to be left without arguments
11168 need_version
=unknown
11172 version_type
=linux
# correct to gnu/linux during the next big refactor
11173 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11174 shlibpath_var
=LIBPATH
11176 # AIX 3 has no versioning support, so we append a major version to the name.
11177 soname_spec
='${libname}${release}${shared_ext}$major'
11181 version_type
=linux
# correct to gnu/linux during the next big refactor
11184 hardcode_into_libs
=yes
11185 if test "$host_cpu" = ia64
; then
11186 # AIX 5 supports IA64
11187 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11188 shlibpath_var
=LD_LIBRARY_PATH
11190 # With GCC up to 2.95.x, collect2 would create an import file
11191 # for dependence libraries. The import file would start with
11192 # the line `#! .'. This would cause the generated library to
11193 # depend on `.', always an invalid library. This was fixed in
11194 # development snapshots of GCC prior to 3.0.
11196 aix4
| aix4.
[01] | aix4.
[01].
*)
11197 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11199 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
11202 can_build_shared
=no
11206 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11207 # soname into executable. Probably we can add versioning support to
11208 # collect2, so additional links can be useful in future.
11209 if test "$aix_use_runtimelinking" = yes; then
11210 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11211 # instead of lib<name>.a to let people know that these are not
11212 # typical AIX shared libraries.
11213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11215 # We preserve .a as extension for shared libraries through AIX4.2
11216 # and later when we are not doing run time linking.
11217 library_names_spec
='${libname}${release}.a $libname.a'
11218 soname_spec
='${libname}${release}${shared_ext}$major'
11220 shlibpath_var
=LIBPATH
11227 # Since July 2007 AmigaOS4 officially supports .so libraries.
11228 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11232 library_names_spec
='$libname.ixlibrary $libname.a'
11233 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11234 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'
11240 library_names_spec
='${libname}${shared_ext}'
11241 dynamic_linker
="$host_os ld.so"
11242 shlibpath_var
=LIBRARY_PATH
11246 version_type
=linux
# correct to gnu/linux during the next big refactor
11248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249 soname_spec
='${libname}${release}${shared_ext}$major'
11250 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11251 shlibpath_var
=LD_LIBRARY_PATH
11252 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11253 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11254 # the default ld.so.conf also contains /usr/contrib/lib and
11255 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11256 # libtool to hard-code these into programs
11259 cygwin
* | mingw
* | pw32
* | cegcc
*)
11260 version_type
=windows
11265 case $GCC,$cc_basename in
11268 library_names_spec
='$libname.dll.a'
11269 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11270 postinstall_cmds
='base_file=`basename \${file}`~
11271 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11272 dldir=$destdir/`dirname \$dlpath`~
11273 test -d \$dldir || mkdir -p \$dldir~
11274 $install_prog $dir/$dlname \$dldir/$dlname~
11275 chmod a+x \$dldir/$dlname~
11276 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11277 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11279 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11280 dlpath=$dir/\$dldll~
11282 shlibpath_overrides_runpath
=yes
11286 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11287 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11289 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11292 # MinGW DLLs use traditional 'lib' prefix
11293 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11296 # pw32 DLLs use 'pw' prefix rather than 'lib'
11297 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11300 dynamic_linker
='Win32 ld.exe'
11305 libname_spec
='$name'
11306 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
11307 library_names_spec
='${libname}.dll.lib'
11311 sys_lib_search_path_spec
=
11314 for lt_path
in $LIB
11317 # Let DOS variable expansion print the short 8.3 style file name.
11318 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11319 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11322 # Convert to MSYS style.
11323 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11326 # Convert to unix form, then to dos form, then back to unix form
11327 # but this time dos style (no spaces!) so that the unix form looks
11328 # like /cygdrive/c/PROGRA~1:/cygdr...
11329 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11330 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11331 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11334 sys_lib_search_path_spec
="$LIB"
11335 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11336 # It is most probably a Windows format PATH.
11337 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11339 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11341 # FIXME: find the short name or the path components, as spaces are
11342 # common. (e.g. "Program Files" -> "PROGRA~1")
11346 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11347 postinstall_cmds
='base_file=`basename \${file}`~
11348 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11349 dldir=$destdir/`dirname \$dlpath`~
11350 test -d \$dldir || mkdir -p \$dldir~
11351 $install_prog $dir/$dlname \$dldir/$dlname'
11352 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11353 dlpath=$dir/\$dldll~
11355 shlibpath_overrides_runpath
=yes
11356 dynamic_linker
='Win32 link.exe'
11360 # Assume MSVC wrapper
11361 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
11362 dynamic_linker
='Win32 ld.exe'
11365 # FIXME: first we should search . and the directory the executable is in
11369 darwin
* | rhapsody
*)
11370 dynamic_linker
="$host_os dyld"
11371 version_type
=darwin
11374 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11375 soname_spec
='${libname}${release}${major}$shared_ext'
11376 shlibpath_overrides_runpath
=yes
11377 shlibpath_var
=DYLD_LIBRARY_PATH
11378 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11380 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11381 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11385 version_type
=linux
# correct to gnu/linux during the next big refactor
11388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11389 soname_spec
='${libname}${release}${shared_ext}$major'
11390 shlibpath_var
=LD_LIBRARY_PATH
11393 freebsd
* | dragonfly
*)
11394 # DragonFly does not have aout. When/if they implement a new
11395 # versioning mechanism, adjust this.
11396 if test -x /usr
/bin
/objformat
; then
11397 objformat
=`/usr/bin/objformat`
11400 freebsd
[23].
*) objformat
=aout
;;
11401 *) objformat
=elf
;;
11404 version_type
=freebsd
-$objformat
11405 case $version_type in
11407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11412 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11416 shlibpath_var
=LD_LIBRARY_PATH
11419 shlibpath_overrides_runpath
=yes
11421 freebsd3.
[01]* | freebsdelf3.
[01]*)
11422 shlibpath_overrides_runpath
=yes
11423 hardcode_into_libs
=yes
11425 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11426 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11427 shlibpath_overrides_runpath
=no
11428 hardcode_into_libs
=yes
11430 *) # from 4.6 on, and DragonFly
11431 shlibpath_overrides_runpath
=yes
11432 hardcode_into_libs
=yes
11438 version_type
=linux
# correct to gnu/linux during the next big refactor
11441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11442 soname_spec
='${libname}${release}${shared_ext}$major'
11443 shlibpath_var
=LD_LIBRARY_PATH
11444 shlibpath_overrides_runpath
=no
11445 hardcode_into_libs
=yes
11449 version_type
=linux
# correct to gnu/linux during the next big refactor
11452 dynamic_linker
="$host_os runtime_loader"
11453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11454 soname_spec
='${libname}${release}${shared_ext}$major'
11455 shlibpath_var
=LIBRARY_PATH
11456 shlibpath_overrides_runpath
=yes
11457 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11458 hardcode_into_libs
=yes
11461 hpux9
* | hpux10
* | hpux11
*)
11462 # Give a soname corresponding to the major version so that dld.sl refuses to
11463 # link against other versions.
11470 hardcode_into_libs
=yes
11471 dynamic_linker
="$host_os dld.so"
11472 shlibpath_var
=LD_LIBRARY_PATH
11473 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11475 soname_spec
='${libname}${release}${shared_ext}$major'
11476 if test "X$HPUX_IA64_MODE" = X32
; then
11477 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11479 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11481 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11485 hardcode_into_libs
=yes
11486 dynamic_linker
="$host_os dld.sl"
11487 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11488 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490 soname_spec
='${libname}${release}${shared_ext}$major'
11491 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11492 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11496 dynamic_linker
="$host_os dld.sl"
11497 shlibpath_var
=SHLIB_PATH
11498 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11500 soname_spec
='${libname}${release}${shared_ext}$major'
11503 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11504 postinstall_cmds
='chmod 555 $lib'
11505 # or fails outright, so override atomically:
11506 install_override_mode
=555
11510 version_type
=linux
# correct to gnu/linux during the next big refactor
11513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11514 soname_spec
='${libname}${release}${shared_ext}$major'
11515 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11516 shlibpath_var
=LD_LIBRARY_PATH
11517 shlibpath_overrides_runpath
=no
11518 hardcode_into_libs
=yes
11521 irix5
* | irix6
* | nonstopux
*)
11523 nonstopux
*) version_type
=nonstopux
;;
11525 if test "$lt_cv_prog_gnu_ld" = yes; then
11526 version_type
=linux
# correct to gnu/linux during the next big refactor
11533 soname_spec
='${libname}${release}${shared_ext}$major'
11534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11536 irix5
* | nonstopux
*)
11537 libsuff
= shlibsuff
=
11540 case $LD in # libtool.m4 will add one of these switches to LD
11541 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11542 libsuff
= shlibsuff
= libmagic
=32-bit;;
11543 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11544 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11545 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11546 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11547 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11551 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11552 shlibpath_overrides_runpath
=no
11553 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11554 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11555 hardcode_into_libs
=yes
11558 # No shared lib support for Linux oldld, aout, or coff.
11559 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11563 # This must be glibc/ELF.
11564 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11565 version_type
=linux
# correct to gnu/linux during the next big refactor
11568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569 soname_spec
='${libname}${release}${shared_ext}$major'
11570 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11571 shlibpath_var
=LD_LIBRARY_PATH
11572 shlibpath_overrides_runpath
=no
11574 # Some binutils ld are patched to set DT_RUNPATH
11575 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11576 $as_echo_n "(cached) " >&6
11578 lt_cv_shlibpath_overrides_runpath
=no
11579 save_LDFLAGS
=$LDFLAGS
11580 save_libdir
=$libdir
11581 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11582 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11594 if ac_fn_c_try_link
"$LINENO"; then :
11595 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
11596 lt_cv_shlibpath_overrides_runpath
=yes
11599 rm -f core conftest.err conftest.
$ac_objext \
11600 conftest
$ac_exeext conftest.
$ac_ext
11601 LDFLAGS
=$save_LDFLAGS
11602 libdir
=$save_libdir
11606 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11608 # This implies no fast_install, which is unacceptable.
11609 # Some rework will be needed to allow for fast_install
11610 # before this can be enabled.
11611 hardcode_into_libs
=yes
11613 # Append ld.so.conf contents to the search path
11614 if test -f /etc
/ld.so.conf
; then
11615 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' ' '`
11616 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11619 # We used to test for /lib/ld.so.1 and disable shared libraries on
11620 # powerpc, because MkLinux only supported shared libraries with the
11621 # GNU dynamic linker. Since this was broken with cross compilers,
11622 # most powerpc-linux boxes support dynamic linking these days and
11623 # people can always --disable-shared, the test was removed, and we
11624 # assume the GNU/Linux dynamic linker is in use.
11625 dynamic_linker
='GNU/Linux ld.so'
11632 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11634 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11635 dynamic_linker
='NetBSD (a.out) ld.so'
11637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11638 soname_spec
='${libname}${release}${shared_ext}$major'
11639 dynamic_linker
='NetBSD ld.elf_so'
11641 shlibpath_var
=LD_LIBRARY_PATH
11642 shlibpath_overrides_runpath
=yes
11643 hardcode_into_libs
=yes
11647 version_type
=linux
# correct to gnu/linux during the next big refactor
11648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11649 shlibpath_var
=LD_LIBRARY_PATH
11650 shlibpath_overrides_runpath
=yes
11657 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11658 soname_spec
='${libname}${release}${shared_ext}$major'
11659 shlibpath_var
=LD_LIBRARY_PATH
11660 shlibpath_overrides_runpath
=no
11661 hardcode_into_libs
=yes
11662 dynamic_linker
='ldqnx.so'
11667 sys_lib_dlsearch_path_spec
="/usr/lib"
11669 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11671 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
11672 *) need_version
=no
;;
11674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11675 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11676 shlibpath_var
=LD_LIBRARY_PATH
11677 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11679 openbsd2.
[89] | openbsd2.
[89].
*)
11680 shlibpath_overrides_runpath
=no
11683 shlibpath_overrides_runpath
=yes
11687 shlibpath_overrides_runpath
=yes
11692 libname_spec
='$name'
11695 library_names_spec
='$libname${shared_ext} $libname.a'
11696 dynamic_linker
='OS/2 ld.exe'
11697 shlibpath_var
=LIBPATH
11700 osf3
* | osf4
* | osf5
*)
11704 soname_spec
='${libname}${release}${shared_ext}$major'
11705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11706 shlibpath_var
=LD_LIBRARY_PATH
11707 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11708 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11716 version_type
=linux
# correct to gnu/linux during the next big refactor
11719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11720 soname_spec
='${libname}${release}${shared_ext}$major'
11721 shlibpath_var
=LD_LIBRARY_PATH
11722 shlibpath_overrides_runpath
=yes
11723 hardcode_into_libs
=yes
11724 # ldd complains unless libraries are executable
11725 postinstall_cmds
='chmod +x $lib'
11730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11731 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11732 shlibpath_var
=LD_LIBRARY_PATH
11733 shlibpath_overrides_runpath
=yes
11734 if test "$with_gnu_ld" = yes; then
11741 version_type
=linux
# correct to gnu/linux during the next big refactor
11742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11743 soname_spec
='${libname}${release}${shared_ext}$major'
11744 shlibpath_var
=LD_LIBRARY_PATH
11745 case $host_vendor in
11747 shlibpath_overrides_runpath
=no
11749 runpath_var
=LD_RUN_PATH
11757 shlibpath_overrides_runpath
=no
11758 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11764 if test -d /usr
/nec
;then
11765 version_type
=linux
# correct to gnu/linux during the next big refactor
11766 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11767 soname_spec
='$libname${shared_ext}.$major'
11768 shlibpath_var
=LD_LIBRARY_PATH
11772 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11773 version_type
=freebsd
-elf
11776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11777 soname_spec
='${libname}${release}${shared_ext}$major'
11778 shlibpath_var
=LD_LIBRARY_PATH
11779 shlibpath_overrides_runpath
=yes
11780 hardcode_into_libs
=yes
11781 if test "$with_gnu_ld" = yes; then
11782 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11784 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11787 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11791 sys_lib_dlsearch_path_spec
='/usr/lib'
11795 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11796 version_type
=linux
# correct to gnu/linux during the next big refactor
11799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11800 shlibpath_var
=LD_LIBRARY_PATH
11801 shlibpath_overrides_runpath
=no
11802 hardcode_into_libs
=yes
11806 version_type
=linux
# correct to gnu/linux during the next big refactor
11807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11808 soname_spec
='${libname}${release}${shared_ext}$major'
11809 shlibpath_var
=LD_LIBRARY_PATH
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11817 $as_echo "$dynamic_linker" >&6; }
11818 test "$dynamic_linker" = no
&& can_build_shared
=no
11820 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11821 if test "$GCC" = yes; then
11822 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11825 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11826 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11828 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11829 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11924 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11926 if test -n "$hardcode_libdir_flag_spec" ||
11927 test -n "$runpath_var" ||
11928 test "X$hardcode_automatic" = "Xyes" ; then
11930 # We can hardcode non-existent directories.
11931 if test "$hardcode_direct" != no
&&
11932 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11933 # have to relink, otherwise we might link with an installed library
11934 # when we should be linking with a yet-to-be-installed one
11935 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11936 test "$hardcode_minus_L" != no
; then
11937 # Linking always hardcodes the temporary library directory.
11938 hardcode_action
=relink
11940 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11941 hardcode_action
=immediate
11944 # We cannot hardcode anything, or else we can only hardcode existing
11946 hardcode_action
=unsupported
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11949 $as_echo "$hardcode_action" >&6; }
11951 if test "$hardcode_action" = relink
||
11952 test "$inherit_rpath" = yes; then
11953 # Fast installation is not supported
11954 enable_fast_install
=no
11955 elif test "$shlibpath_overrides_runpath" = yes ||
11956 test "$enable_shared" = no
; then
11957 # Fast installation is not necessary
11958 enable_fast_install
=needless
11966 if test "x$enable_dlopen" != xyes
; then
11967 enable_dlopen
=unknown
11968 enable_dlopen_self
=unknown
11969 enable_dlopen_self_static
=unknown
11976 lt_cv_dlopen
="load_add_on"
11978 lt_cv_dlopen_self
=yes
11981 mingw
* | pw32
* | cegcc
*)
11982 lt_cv_dlopen
="LoadLibrary"
11987 lt_cv_dlopen
="dlopen"
11992 # if libdl is installed we need to link against it
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11994 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11995 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11996 $as_echo_n "(cached) " >&6
11998 ac_check_lib_save_LIBS
=$LIBS
12000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12018 if ac_fn_c_try_link
"$LINENO"; then :
12019 ac_cv_lib_dl_dlopen
=yes
12021 ac_cv_lib_dl_dlopen
=no
12023 rm -f core conftest.err conftest.
$ac_objext \
12024 conftest
$ac_exeext conftest.
$ac_ext
12025 LIBS
=$ac_check_lib_save_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12028 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12029 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12030 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12033 lt_cv_dlopen
="dyld"
12035 lt_cv_dlopen_self
=yes
12042 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12043 if test "x$ac_cv_func_shl_load" = xyes
; then :
12044 lt_cv_dlopen
="shl_load"
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12047 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12048 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12049 $as_echo_n "(cached) " >&6
12051 ac_check_lib_save_LIBS
=$LIBS
12053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12066 return shl_load ();
12071 if ac_fn_c_try_link
"$LINENO"; then :
12072 ac_cv_lib_dld_shl_load
=yes
12074 ac_cv_lib_dld_shl_load
=no
12076 rm -f core conftest.err conftest.
$ac_objext \
12077 conftest
$ac_exeext conftest.
$ac_ext
12078 LIBS
=$ac_check_lib_save_LIBS
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12081 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12082 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12083 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12085 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12086 if test "x$ac_cv_func_dlopen" = xyes
; then :
12087 lt_cv_dlopen
="dlopen"
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12090 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12091 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12092 $as_echo_n "(cached) " >&6
12094 ac_check_lib_save_LIBS
=$LIBS
12096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12114 if ac_fn_c_try_link
"$LINENO"; then :
12115 ac_cv_lib_dl_dlopen
=yes
12117 ac_cv_lib_dl_dlopen
=no
12119 rm -f core conftest.err conftest.
$ac_objext \
12120 conftest
$ac_exeext conftest.
$ac_ext
12121 LIBS
=$ac_check_lib_save_LIBS
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12124 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12125 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12126 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12129 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12130 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12131 $as_echo_n "(cached) " >&6
12133 ac_check_lib_save_LIBS
=$LIBS
12134 LIBS
="-lsvld $LIBS"
12135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12136 /* end confdefs.h. */
12138 /* Override any GCC internal prototype to avoid an error.
12139 Use char because int might match the return type of a GCC
12140 builtin and then its argument prototype would still apply. */
12153 if ac_fn_c_try_link
"$LINENO"; then :
12154 ac_cv_lib_svld_dlopen
=yes
12156 ac_cv_lib_svld_dlopen
=no
12158 rm -f core conftest.err conftest.
$ac_objext \
12159 conftest
$ac_exeext conftest.
$ac_ext
12160 LIBS
=$ac_check_lib_save_LIBS
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12163 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12164 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12165 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12168 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12169 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12170 $as_echo_n "(cached) " >&6
12172 ac_check_lib_save_LIBS
=$LIBS
12174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12177 /* Override any GCC internal prototype to avoid an error.
12178 Use char because int might match the return type of a GCC
12179 builtin and then its argument prototype would still apply. */
12187 return dld_link ();
12192 if ac_fn_c_try_link
"$LINENO"; then :
12193 ac_cv_lib_dld_dld_link
=yes
12195 ac_cv_lib_dld_dld_link
=no
12197 rm -f core conftest.err conftest.
$ac_objext \
12198 conftest
$ac_exeext conftest.
$ac_ext
12199 LIBS
=$ac_check_lib_save_LIBS
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12202 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12203 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12204 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12225 if test "x$lt_cv_dlopen" != xno
; then
12231 case $lt_cv_dlopen in
12233 save_CPPFLAGS
="$CPPFLAGS"
12234 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12236 save_LDFLAGS
="$LDFLAGS"
12237 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12240 LIBS
="$lt_cv_dlopen_libs $LIBS"
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12243 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12244 if ${lt_cv_dlopen_self+:} false
; then :
12245 $as_echo_n "(cached) " >&6
12247 if test "$cross_compiling" = yes; then :
12248 lt_cv_dlopen_self
=cross
12250 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12251 lt_status
=$lt_dlunknown
12252 cat > conftest.
$ac_ext <<_LT_EOF
12253 #line $LINENO "configure"
12254 #include "confdefs.h"
12263 # define LT_DLGLOBAL RTLD_GLOBAL
12266 # define LT_DLGLOBAL DL_GLOBAL
12268 # define LT_DLGLOBAL 0
12272 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12273 find out it does not work in some platform. */
12274 #ifndef LT_DLLAZY_OR_NOW
12276 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12279 # define LT_DLLAZY_OR_NOW DL_LAZY
12282 # define LT_DLLAZY_OR_NOW RTLD_NOW
12285 # define LT_DLLAZY_OR_NOW DL_NOW
12287 # define LT_DLLAZY_OR_NOW 0
12294 /* When -fvisbility=hidden is used, assume the code has been annotated
12295 correspondingly for the symbols needed. */
12296 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12297 int fnord () __attribute__((visibility("default")));
12300 int fnord () { return 42; }
12303 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12304 int status = $lt_dlunknown;
12308 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12311 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12312 else puts (dlerror ());
12314 /* dlclose (self); */
12322 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12323 (eval $ac_link) 2>&5
12325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12326 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12327 (.
/conftest
; exit; ) >&5 2>/dev
/null
12329 case x
$lt_status in
12330 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12331 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12332 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12335 # compilation failed
12336 lt_cv_dlopen_self
=no
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12344 $as_echo "$lt_cv_dlopen_self" >&6; }
12346 if test "x$lt_cv_dlopen_self" = xyes
; then
12347 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12349 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12350 if ${lt_cv_dlopen_self_static+:} false
; then :
12351 $as_echo_n "(cached) " >&6
12353 if test "$cross_compiling" = yes; then :
12354 lt_cv_dlopen_self_static
=cross
12356 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12357 lt_status
=$lt_dlunknown
12358 cat > conftest.
$ac_ext <<_LT_EOF
12359 #line $LINENO "configure"
12360 #include "confdefs.h"
12369 # define LT_DLGLOBAL RTLD_GLOBAL
12372 # define LT_DLGLOBAL DL_GLOBAL
12374 # define LT_DLGLOBAL 0
12378 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12379 find out it does not work in some platform. */
12380 #ifndef LT_DLLAZY_OR_NOW
12382 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12385 # define LT_DLLAZY_OR_NOW DL_LAZY
12388 # define LT_DLLAZY_OR_NOW RTLD_NOW
12391 # define LT_DLLAZY_OR_NOW DL_NOW
12393 # define LT_DLLAZY_OR_NOW 0
12400 /* When -fvisbility=hidden is used, assume the code has been annotated
12401 correspondingly for the symbols needed. */
12402 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12403 int fnord () __attribute__((visibility("default")));
12406 int fnord () { return 42; }
12409 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12410 int status = $lt_dlunknown;
12414 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12417 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12418 else puts (dlerror ());
12420 /* dlclose (self); */
12428 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12429 (eval $ac_link) 2>&5
12431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12432 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12433 (.
/conftest
; exit; ) >&5 2>/dev
/null
12435 case x
$lt_status in
12436 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12437 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12438 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12441 # compilation failed
12442 lt_cv_dlopen_self_static
=no
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12450 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12453 CPPFLAGS
="$save_CPPFLAGS"
12454 LDFLAGS
="$save_LDFLAGS"
12459 case $lt_cv_dlopen_self in
12460 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12461 *) enable_dlopen_self
=unknown
;;
12464 case $lt_cv_dlopen_self_static in
12465 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12466 *) enable_dlopen_self_static
=unknown
;;
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12489 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12490 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12491 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12492 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12494 $as_echo "yes" >&6; }
12496 # FIXME - insert some real tests, host_os isn't really good enough
12499 if test -n "$STRIP" ; then
12500 striplib
="$STRIP -x"
12501 old_striplib
="$STRIP -S"
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12503 $as_echo "yes" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12511 $as_echo "no" >&6; }
12527 # Report which library types will actually be built
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12529 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12531 $as_echo "$can_build_shared" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12534 $as_echo_n "checking whether to build shared libraries... " >&6; }
12535 test "$can_build_shared" = "no" && enable_shared
=no
12537 # On AIX, shared libraries and static libraries use the same namespace, and
12538 # are all built from PIC.
12541 test "$enable_shared" = yes && enable_static
=no
12542 if test -n "$RANLIB"; then
12543 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12544 postinstall_cmds
='$RANLIB $lib'
12549 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12550 test "$enable_shared" = yes && enable_static
=no
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12555 $as_echo "$enable_shared" >&6; }
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12558 $as_echo_n "checking whether to build static libraries... " >&6; }
12559 # Make sure either enable_shared or enable_static is yes.
12560 test "$enable_shared" = yes || enable_static
=yes
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12562 $as_echo "$enable_static" >&6; }
12569 ac_cpp
='$CPP $CPPFLAGS'
12570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12590 ac_config_commands
="$ac_config_commands libtool"
12595 # Only expand once:
12599 LIBTOOL
="$LIBTOOL --silent"
12604 cat >>confdefs.h
<<_ACEOF
12609 cat >>confdefs.h
<<_ACEOF
12616 cat >>confdefs.h
<<_ACEOF
12621 cat >>confdefs.h
<<_ACEOF
12625 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
12626 if test "x$ac_cv_header_windows_h" = xyes
; then :
12629 as_fn_error $?
"** MinGW and no windows.h. I give up." "$LINENO" 5
12633 ac_fn_c_check_header_mongrel
"$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
12634 if test "x$ac_cv_header_winsock2_h" = xyes
; then :
12637 as_fn_error $?
"** MinGW and no winsock2.h. I give up." "$LINENO" 5
12642 cat >>confdefs.h
<<_ACEOF
12643 #define HAVE_WINSOCK2_H 1
12647 cat >>confdefs.h
<<_ACEOF
12648 #define HAVE_WINSOCK_H 1
12651 LIBS
="$LIBS -lws2_32 -liphlpapi"
12655 CPPFLAGS
="$CFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=500"
12658 CPPFLAGS
="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2"
12664 if test "$is_mingw" = "yes"; then
12674 # backwards support for IRC_CFLAGS
12675 CFLAGS
="$IRC_CFLAGS $CFLAGS -Wall"
12677 if test "$libexecdir" = '${exec_prefix}/libexec' &&
12678 test "$localstatedir" = '${prefix}/var'; then
12679 libexecdir
='${bindir}'
12680 localstatedir
='${prefix}'
12683 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12684 if test "x$ac_cv_type_pid_t" = xyes
; then :
12688 cat >>confdefs.h
<<_ACEOF
12694 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12695 if test "x$ac_cv_type_size_t" = xyes
; then :
12699 cat >>confdefs.h
<<_ACEOF
12700 #define size_t unsigned int
12705 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12706 if test "x$ac_cv_type_ssize_t" = xyes
; then :
12710 cat >>confdefs.h
<<_ACEOF
12711 #define ssize_t int
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
12717 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12718 if ${ac_cv_type_uid_t+:} false
; then :
12719 $as_echo_n "(cached) " >&6
12721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12723 #include <sys/types.h>
12726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12727 $EGREP "uid_t" >/dev
/null
2>&1; then :
12728 ac_cv_type_uid_t
=yes
12730 ac_cv_type_uid_t
=no
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
12736 $as_echo "$ac_cv_type_uid_t" >&6; }
12737 if test $ac_cv_type_uid_t = no
; then
12739 $as_echo "#define uid_t int" >>confdefs.h
12742 $as_echo "#define gid_t int" >>confdefs.h
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12749 $as_echo_n "checking for ANSI C header files... " >&6; }
12750 if ${ac_cv_header_stdc+:} false
; then :
12751 $as_echo_n "(cached) " >&6
12753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12755 #include <stdlib.h>
12756 #include <stdarg.h>
12757 #include <string.h>
12768 if ac_fn_c_try_compile
"$LINENO"; then :
12769 ac_cv_header_stdc
=yes
12771 ac_cv_header_stdc
=no
12773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12775 if test $ac_cv_header_stdc = yes; then
12776 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12779 #include <string.h>
12782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12783 $EGREP "memchr" >/dev
/null
2>&1; then :
12786 ac_cv_header_stdc
=no
12792 if test $ac_cv_header_stdc = yes; then
12793 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12796 #include <stdlib.h>
12799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12800 $EGREP "free" >/dev
/null
2>&1; then :
12803 ac_cv_header_stdc
=no
12809 if test $ac_cv_header_stdc = yes; then
12810 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12811 if test "$cross_compiling" = yes; then :
12814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 #include <stdlib.h>
12818 #if ((' ' & 0x0FF) == 0x020)
12819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12822 # define ISLOWER(c) \
12823 (('a' <= (c) && (c) <= 'i') \
12824 || ('j' <= (c) && (c) <= 'r') \
12825 || ('s' <= (c) && (c) <= 'z'))
12826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12834 for (i = 0; i < 256; i++)
12835 if (XOR (islower (i), ISLOWER (i))
12836 || toupper (i) != TOUPPER (i))
12841 if ac_fn_c_try_run
"$LINENO"; then :
12844 ac_cv_header_stdc
=no
12846 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12847 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12853 $as_echo "$ac_cv_header_stdc" >&6; }
12854 if test $ac_cv_header_stdc = yes; then
12856 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12861 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 linux
/tcp.h
12863 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12864 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12865 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12866 cat >>confdefs.h
<<_ACEOF
12867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12875 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12876 if ${ac_cv_header_time+:} false
; then :
12877 $as_echo_n "(cached) " >&6
12879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h. */
12881 #include <sys/types.h>
12882 #include <sys/time.h>
12888 if ((struct tm *) 0)
12894 if ac_fn_c_try_compile
"$LINENO"; then :
12895 ac_cv_header_time
=yes
12897 ac_cv_header_time
=no
12899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12902 $as_echo "$ac_cv_header_time" >&6; }
12903 if test $ac_cv_header_time = yes; then
12905 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
12912 $as_echo_n "checking for library containing socket... " >&6; }
12913 if ${ac_cv_search_socket+:} false
; then :
12914 $as_echo_n "(cached) " >&6
12916 ac_func_search_save_LIBS
=$LIBS
12917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12935 for ac_lib
in '' socket
; do
12936 if test -z "$ac_lib"; then
12937 ac_res
="none required"
12940 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12942 if ac_fn_c_try_link
"$LINENO"; then :
12943 ac_cv_search_socket
=$ac_res
12945 rm -f core conftest.err conftest.
$ac_objext \
12947 if ${ac_cv_search_socket+:} false
; then :
12951 if ${ac_cv_search_socket+:} false
; then :
12954 ac_cv_search_socket
=no
12956 rm conftest.
$ac_ext
12957 LIBS
=$ac_func_search_save_LIBS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
12960 $as_echo "$ac_cv_search_socket" >&6; }
12961 ac_res
=$ac_cv_search_socket
12962 if test "$ac_res" != no
; then :
12963 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12969 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
12970 #ifdef HAVE_SYS_TYPES_H
12971 #include <sys/types.h>
12973 #ifdef HAVE_SYS_SOCKET_H
12974 #include <sys/socket.h>
12976 #ifdef HAVE_WINSOCK2_H
12977 #include <winsock2.h>
12981 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
12983 $as_echo "#define SOCKADDR_IN_HAS_LEN 1" >>confdefs.h
12988 ac_fn_c_check_type
"$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
12989 #include <sys/socket.h>
12991 if test "x$ac_cv_type_socklen_t" = xyes
; then :
12992 rb_cv_socklen_t
=socklen_t
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
12996 $as_echo_n "checking for socklen_t equivalent... " >&6; }
12997 if ${rb_cv_socklen_t+:} false
; then :
12998 $as_echo_n "(cached) " >&6
13001 # Systems have either "struct sockaddr *" or
13002 # "void *" as the second argument to getpeername
13004 for arg2
in "struct sockaddr" void
; do
13005 for t
in int size_t unsigned long
"unsigned long"; do
13006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 #ifdef HAVE_SYS_TYPES_H
13010 #include <sys/types.h>
13012 #ifdef HAVE_SYS_SOCKET_H
13013 #include <sys/socket.h>
13015 #ifdef HAVE_WINSOCK2_H
13016 #include <winsock2.h>
13018 int getpeername (int, $arg2 *, $t *);
13025 getpeername(0,0,&len);
13031 if ac_fn_c_try_compile
"$LINENO"; then :
13033 rb_cv_socklen_t
="$t"
13037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13041 if test "x$rb_cv_socklen_t" = x
; then
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find a type to use in place of socklen_t using int" >&5
13043 $as_echo "$as_me: WARNING: Cannot find a type to use in place of socklen_t using int" >&2;}
13044 rb_cv_socklen_t
=int
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_socklen_t" >&5
13050 $as_echo "$rb_cv_socklen_t" >&6; }
13054 rb_socklen_t
=$rb_cv_socklen_t
13060 # Check whether --enable-ipv6 was given.
13061 if test "${enable_ipv6+set}" = set; then :
13062 enableval
=$enable_ipv6; ipv6
=$enableval
13068 if test x
$ipv6 != xyes
; then
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for INET6 protocol support" >&5
13075 $as_echo_n "checking for INET6 protocol support... " >&6; }
13076 if ${rb_cv_proto_inet6+:} false
; then :
13077 $as_echo_n "(cached) " >&6
13080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13081 /* end confdefs.h. */
13083 #include <sys/types.h>
13084 #include <sys/socket.h>
13087 #error Missing PF_INET6
13090 #error Mlssing AF_INET6
13094 if ac_fn_c_try_cpp
"$LINENO"; then :
13096 rb_cv_proto_inet6
=yes
13100 rb_cv_proto_inet6
=no
13103 rm -f conftest.err conftest.i conftest.
$ac_ext
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb_cv_proto_inet6" >&5
13107 $as_echo "$rb_cv_proto_inet6" >&6; }
13109 if test "X$rb_cv_proto_inet6" = "Xyes"; then :
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: PF_INET6 not found" >&5
13114 $as_echo "$as_me: Disabling IPv6 support: PF_INET6 not found" >&6;}
13120 if test "X$have_v6" = "Xyes"; then
13122 rb_have_sockaddr_in6
=
13123 ac_fn_c_check_type
"$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
13124 #include <sys/types.h>
13125 #include <sys/socket.h>
13126 #include <netinet/in.h>
13129 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes
; then :
13131 cat >>confdefs.h
<<_ACEOF
13132 #define HAVE_STRUCT_SOCKADDR_IN6 1
13136 rb_have_sockaddr_in6
=yes
13140 rb_have_sockaddr_in6
=no
13145 if test "X$rb_have_sockaddr_in6" = "Xyes"; then :
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling IPv6 support: struct sockaddr_in6 not found" >&5
13150 $as_echo "$as_me: Disabling IPv6 support: struct sockaddr_in6 not found" >&6;}
13159 ac_fn_c_check_type
"$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
13160 #include <sys/types.h>
13161 #include <sys/socket.h>
13164 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
; then :
13166 cat >>confdefs.h
<<_ACEOF
13167 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
13171 rb_have_sockaddr_storage
=yes
13177 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
13178 if test "x$ac_cv_header_stdarg_h" = xyes
; then :
13181 as_fn_error $?
"** stdarg.h could not be found - libratbox will not compile without it **" "$LINENO" 5
13186 ac_fn_c_check_type
"$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" "#include <sys/types.h>
13187 #include <sys/socket.h>
13189 if test "x$ac_cv_type_sa_family_t" = xyes
; then :
13193 $as_echo "#define sa_family_t u_int16_t" >>confdefs.h
13199 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
13201 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13202 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13203 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13204 cat >>confdefs.h
<<_ACEOF
13205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
13213 $as_echo_n "checking for library containing nanosleep... " >&6; }
13214 if ${ac_cv_search_nanosleep+:} false
; then :
13215 $as_echo_n "(cached) " >&6
13217 ac_func_search_save_LIBS
=$LIBS
13218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13231 return nanosleep ();
13236 for ac_lib
in '' rt posix4
; do
13237 if test -z "$ac_lib"; then
13238 ac_res
="none required"
13241 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13243 if ac_fn_c_try_link
"$LINENO"; then :
13244 ac_cv_search_nanosleep
=$ac_res
13246 rm -f core conftest.err conftest.
$ac_objext \
13248 if ${ac_cv_search_nanosleep+:} false
; then :
13252 if ${ac_cv_search_nanosleep+:} false
; then :
13255 ac_cv_search_nanosleep
=no
13257 rm conftest.
$ac_ext
13258 LIBS
=$ac_func_search_save_LIBS
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
13261 $as_echo "$ac_cv_search_nanosleep" >&6; }
13262 ac_res
=$ac_cv_search_nanosleep
13263 if test "$ac_res" != no
; then :
13264 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13266 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing timer_create" >&5
13271 $as_echo_n "checking for library containing timer_create... " >&6; }
13272 if ${ac_cv_search_timer_create+:} false
; then :
13273 $as_echo_n "(cached) " >&6
13275 ac_func_search_save_LIBS
=$LIBS
13276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13277 /* end confdefs.h. */
13279 /* Override any GCC internal prototype to avoid an error.
13280 Use char because int might match the return type of a GCC
13281 builtin and then its argument prototype would still apply. */
13285 char timer_create ();
13289 return timer_create ();
13294 for ac_lib
in '' rt
; do
13295 if test -z "$ac_lib"; then
13296 ac_res
="none required"
13299 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13301 if ac_fn_c_try_link
"$LINENO"; then :
13302 ac_cv_search_timer_create
=$ac_res
13304 rm -f core conftest.err conftest.
$ac_objext \
13306 if ${ac_cv_search_timer_create+:} false
; then :
13310 if ${ac_cv_search_timer_create+:} false
; then :
13313 ac_cv_search_timer_create
=no
13315 rm conftest.
$ac_ext
13316 LIBS
=$ac_func_search_save_LIBS
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_timer_create" >&5
13319 $as_echo "$ac_cv_search_timer_create" >&6; }
13320 ac_res
=$ac_cv_search_timer_create
13321 if test "$ac_res" != no
; then :
13322 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13324 $as_echo "#define HAVE_TIMER_CREATE 1" >>confdefs.h
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timer_create(CLOCK_REALTIME)" >&5
13329 $as_echo_n "checking for a working timer_create(CLOCK_REALTIME)... " >&6; }
13330 if ${rb__cv_timer_create_works+:} false
; then :
13331 $as_echo_n "(cached) " >&6
13333 if test "$cross_compiling" = yes; then :
13334 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13336 as_fn_error $?
"cannot run test program while cross compiling
13337 See \`config.log' for more details" "$LINENO" 5; }
13339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13345 #ifdef HAVE_SIGNAL_H
13346 #include <signal.h>
13348 #ifdef HAVE_UNISTD_H
13349 #include <unistd.h>
13351 int main(int argc, char *argv[])
13353 #if HAVE_TIMER_CREATE
13354 struct sigevent ev;
13356 ev.sigev_notify = SIGEV_SIGNAL;
13357 ev.sigev_signo = SIGVTALRM;
13358 if (timer_create(CLOCK_REALTIME, &ev, &timer) != 0) {
13368 if ac_fn_c_try_run
"$LINENO"; then :
13369 rb__cv_timer_create_works
=yes
13371 rb__cv_timer_create_works
=no
13373 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13374 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timer_create_works" >&5
13380 $as_echo "$rb__cv_timer_create_works" >&6; }
13381 case $rb__cv_timer_create_works in
13383 $as_echo "#define USE_TIMER_CREATE 1" >>confdefs.h
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working timerfd_create(CLOCK_REALTIME)" >&5
13388 $as_echo_n "checking for a working timerfd_create(CLOCK_REALTIME)... " >&6; }
13389 if ${rb__cv_timerfd_create_works+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 if test "$cross_compiling" = yes; then :
13393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13395 as_fn_error $?
"cannot run test program while cross compiling
13396 See \`config.log' for more details" "$LINENO" 5; }
13398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13404 #ifdef HAVE_SIGNAL_H
13405 #include <signal.h>
13407 #ifdef HAVE_UNISTD_H
13408 #include <unistd.h>
13410 #ifdef HAVE_SYS_TIMERFD_H
13411 #include <sys/timerfd.h>
13413 int main(int argc, char *argv[])
13415 #if defined(HAVE_TIMERFD_CREATE) && defined(HAVE_SYS_TIMERFD_H)
13416 if (timerfd_create(CLOCK_REALTIME, 0) < 0) {
13426 if ac_fn_c_try_run
"$LINENO"; then :
13427 rb__cv_timerfd_create_works
=yes
13429 rb__cv_timerfd_create_works
=no
13431 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13432 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rb__cv_timerfd_create_works" >&5
13438 $as_echo "$rb__cv_timerfd_create_works" >&6; }
13439 case $rb__cv_timerfd_create_works in
13441 $as_echo "#define USE_TIMERFD_CREATE 1" >>confdefs.h
13446 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13447 # for constant arguments. Useless!
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13449 $as_echo_n "checking for working alloca.h... " >&6; }
13450 if ${ac_cv_working_alloca_h+:} false
; then :
13451 $as_echo_n "(cached) " >&6
13453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13455 #include <alloca.h>
13459 char *p = (char *) alloca (2 * sizeof (int));
13465 if ac_fn_c_try_link
"$LINENO"; then :
13466 ac_cv_working_alloca_h
=yes
13468 ac_cv_working_alloca_h
=no
13470 rm -f core conftest.err conftest.
$ac_objext \
13471 conftest
$ac_exeext conftest.
$ac_ext
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13474 $as_echo "$ac_cv_working_alloca_h" >&6; }
13475 if test $ac_cv_working_alloca_h = yes; then
13477 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13482 $as_echo_n "checking for alloca... " >&6; }
13483 if ${ac_cv_func_alloca_works+:} false
; then :
13484 $as_echo_n "(cached) " >&6
13486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13489 # define alloca __builtin_alloca
13492 # include <malloc.h>
13493 # define alloca _alloca
13495 # ifdef HAVE_ALLOCA_H
13496 # include <alloca.h>
13501 # ifndef alloca /* predefined by HP cc +Olibcalls */
13502 void *alloca (size_t);
13512 char *p = (char *) alloca (1);
13518 if ac_fn_c_try_link
"$LINENO"; then :
13519 ac_cv_func_alloca_works
=yes
13521 ac_cv_func_alloca_works
=no
13523 rm -f core conftest.err conftest.
$ac_objext \
13524 conftest
$ac_exeext conftest.
$ac_ext
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13527 $as_echo "$ac_cv_func_alloca_works" >&6; }
13529 if test $ac_cv_func_alloca_works = yes; then
13531 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13534 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13535 # that cause trouble. Some versions do not even contain alloca or
13536 # contain a buggy version. If you still want to use their alloca,
13537 # use ar to extract alloca.o from them instead of compiling alloca.c.
13539 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
13541 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13545 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13546 if ${ac_cv_os_cray+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13550 /* end confdefs.h. */
13551 #if defined CRAY && ! defined CRAY2
13558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13559 $EGREP "webecray" >/dev
/null
2>&1; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13568 $as_echo "$ac_cv_os_cray" >&6; }
13569 if test $ac_cv_os_cray = yes; then
13570 for ac_func
in _getb67 GETB67 getb67
; do
13571 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13572 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13573 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13575 cat >>confdefs.h
<<_ACEOF
13576 #define CRAY_STACKSEG_END $ac_func
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13586 $as_echo_n "checking stack direction for C alloca... " >&6; }
13587 if ${ac_cv_c_stack_direction+:} false
; then :
13588 $as_echo_n "(cached) " >&6
13590 if test "$cross_compiling" = yes; then :
13591 ac_cv_c_stack_direction
=0
13593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 $ac_includes_default
13597 find_stack_direction ()
13599 static char *addr = 0;
13604 return find_stack_direction ();
13607 return (&dummy > addr) ? 1 : -1;
13613 return find_stack_direction () < 0;
13616 if ac_fn_c_try_run
"$LINENO"; then :
13617 ac_cv_c_stack_direction
=1
13619 ac_cv_c_stack_direction
=-1
13621 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13622 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13627 $as_echo "$ac_cv_c_stack_direction" >&6; }
13628 cat >>confdefs.h
<<_ACEOF
13629 #define STACK_DIRECTION $ac_cv_c_stack_direction
13635 for ac_header
in vfork.h
13637 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
13638 if test "x$ac_cv_header_vfork_h" = xyes
; then :
13639 cat >>confdefs.h
<<_ACEOF
13640 #define HAVE_VFORK_H 1
13647 for ac_func
in fork vfork
13649 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13650 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13651 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13652 cat >>confdefs.h
<<_ACEOF
13653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13659 if test "x$ac_cv_func_fork" = xyes
; then
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
13661 $as_echo_n "checking for working fork... " >&6; }
13662 if ${ac_cv_func_fork_works+:} false
; then :
13663 $as_echo_n "(cached) " >&6
13665 if test "$cross_compiling" = yes; then :
13666 ac_cv_func_fork_works
=cross
13668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13669 /* end confdefs.h. */
13670 $ac_includes_default
13675 /* By Ruediger Kuhlmann. */
13676 return fork () < 0;
13682 if ac_fn_c_try_run
"$LINENO"; then :
13683 ac_cv_func_fork_works
=yes
13685 ac_cv_func_fork_works
=no
13687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
13693 $as_echo "$ac_cv_func_fork_works" >&6; }
13696 ac_cv_func_fork_works
=$ac_cv_func_fork
13698 if test "x$ac_cv_func_fork_works" = xcross
; then
13700 *-*-amigaos* | *-*-msdosdjgpp*)
13701 # Override, as these systems have only a dummy fork() stub
13702 ac_cv_func_fork_works
=no
13705 ac_cv_func_fork_works
=yes
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
13709 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
13711 ac_cv_func_vfork_works
=$ac_cv_func_vfork
13712 if test "x$ac_cv_func_vfork" = xyes
; then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
13714 $as_echo_n "checking for working vfork... " >&6; }
13715 if ${ac_cv_func_vfork_works+:} false
; then :
13716 $as_echo_n "(cached) " >&6
13718 if test "$cross_compiling" = yes; then :
13719 ac_cv_func_vfork_works
=cross
13721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 /* Thanks to Paul Eggert for this test. */
13724 $ac_includes_default
13725 #include <sys/wait.h>
13726 #ifdef HAVE_VFORK_H
13727 # include <vfork.h>
13729 /* On some sparc systems, changes by the child to local and incoming
13730 argument registers are propagated back to the parent. The compiler
13731 is told about this with #include <vfork.h>, but some compilers
13732 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
13733 static variable whose address is put into a register that is
13734 clobbered by the vfork. */
13737 sparc_address_test (int arg)
13739 sparc_address_test (arg) int arg;
13742 static pid_t child;
13760 pid_t parent = getpid ();
13763 sparc_address_test (0);
13768 /* Here is another test for sparc vfork register problems. This
13769 test uses lots of local variables, at least as many local
13770 variables as main has allocated so far including compiler
13771 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
13772 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
13773 reuse the register of parent for one of the local variables,
13774 since it will think that parent can't possibly be used any more
13775 in this routine. Assigning to the local variable will thus
13776 munge parent in the parent process. */
13778 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
13779 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
13780 /* Convince the compiler that p..p7 are live; otherwise, it might
13781 use the same hardware register for all 8 local variables. */
13782 if (p != p1 || p != p2 || p != p3 || p != p4
13783 || p != p5 || p != p6 || p != p7)
13786 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
13787 from child file descriptors. If the child closes a descriptor
13788 before it execs or exits, this munges the parent's descriptor
13789 as well. Test for this by closing stdout in the child. */
13790 _exit(close(fileno(stdout)) != 0);
13795 while (wait(&status) != child)
13798 /* Was there some problem with vforking? */
13801 /* Did the child fail? (This shouldn't happen.) */
13804 /* Did the vfork/compiler bug occur? */
13805 || parent != getpid()
13807 /* Did the file descriptor bug occur? */
13808 || fstat(fileno(stdout), &st) != 0
13813 if ac_fn_c_try_run
"$LINENO"; then :
13814 ac_cv_func_vfork_works
=yes
13816 ac_cv_func_vfork_works
=no
13818 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13819 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
13824 $as_echo "$ac_cv_func_vfork_works" >&6; }
13827 if test "x$ac_cv_func_fork_works" = xcross
; then
13828 ac_cv_func_vfork_works
=$ac_cv_func_vfork
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
13830 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
13833 if test "x$ac_cv_func_vfork_works" = xyes
; then
13835 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
13839 $as_echo "#define vfork fork" >>confdefs.h
13842 if test "x$ac_cv_func_fork_works" = xyes
; then
13844 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
13851 for ac_header
in $ac_header_list
13853 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13854 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13856 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13857 cat >>confdefs.h
<<_ACEOF
13858 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13872 for ac_func
in getpagesize
13874 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13875 if test "x$ac_cv_func_getpagesize" = xyes
; then :
13876 cat >>confdefs.h
<<_ACEOF
13877 #define HAVE_GETPAGESIZE 1
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13884 $as_echo_n "checking for working mmap... " >&6; }
13885 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
13886 $as_echo_n "(cached) " >&6
13888 if test "$cross_compiling" = yes; then :
13889 ac_cv_func_mmap_fixed_mapped
=no
13891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13893 $ac_includes_default
13894 /* malloc might have been renamed as rpl_malloc. */
13897 /* Thanks to Mike Haertel and Jim Avera for this test.
13898 Here is a matrix of mmap possibilities:
13899 mmap private not fixed
13900 mmap private fixed at somewhere currently unmapped
13901 mmap private fixed at somewhere already mapped
13902 mmap shared not fixed
13903 mmap shared fixed at somewhere currently unmapped
13904 mmap shared fixed at somewhere already mapped
13905 For private mappings, we should verify that changes cannot be read()
13906 back from the file, nor mmap's back from the file at a different
13907 address. (There have been systems where private was not correctly
13908 implemented like the infamous i386 svr4.0, and systems where the
13909 VM page cache was not coherent with the file system buffer cache
13910 like early versions of FreeBSD and possibly contemporary NetBSD.)
13911 For shared mappings, we should conversely verify that changes get
13912 propagated back to all the places they're supposed to be.
13914 Grep wants private fixed already mapped.
13915 The main things grep needs to know about mmap are:
13916 * does it exist and is it safe to write into the mmap'd area
13917 * how to use it (BSD variants) */
13920 #include <sys/mman.h>
13922 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13926 /* This mess was copied from the GNU getpagesize.h. */
13927 #ifndef HAVE_GETPAGESIZE
13928 # ifdef _SC_PAGESIZE
13929 # define getpagesize() sysconf(_SC_PAGESIZE)
13930 # else /* no _SC_PAGESIZE */
13931 # ifdef HAVE_SYS_PARAM_H
13932 # include <sys/param.h>
13933 # ifdef EXEC_PAGESIZE
13934 # define getpagesize() EXEC_PAGESIZE
13935 # else /* no EXEC_PAGESIZE */
13937 # define getpagesize() NBPG * CLSIZE
13940 # endif /* no CLSIZE */
13941 # else /* no NBPG */
13943 # define getpagesize() NBPC
13944 # else /* no NBPC */
13946 # define getpagesize() PAGESIZE
13947 # endif /* PAGESIZE */
13948 # endif /* no NBPC */
13949 # endif /* no NBPG */
13950 # endif /* no EXEC_PAGESIZE */
13951 # else /* no HAVE_SYS_PARAM_H */
13952 # define getpagesize() 8192 /* punt totally */
13953 # endif /* no HAVE_SYS_PARAM_H */
13954 # endif /* no _SC_PAGESIZE */
13956 #endif /* no HAVE_GETPAGESIZE */
13961 char *data, *data2, *data3;
13962 const char *cdata2;
13966 pagesize = getpagesize ();
13968 /* First, make a file with some known garbage in it. */
13969 data = (char *) malloc (pagesize);
13972 for (i = 0; i < pagesize; ++i)
13973 *(data + i) = rand ();
13975 fd = creat ("conftest.mmap", 0600);
13978 if (write (fd, data, pagesize) != pagesize)
13982 /* Next, check that the tail of a page is zero-filled. File must have
13983 non-zero length, otherwise we risk SIGBUS for entire page. */
13984 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13988 if (write (fd2, cdata2, 1) != 1)
13990 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13991 if (data2 == MAP_FAILED)
13993 for (i = 0; i < pagesize; ++i)
13997 if (munmap (data2, pagesize))
14000 /* Next, try to mmap the file at a fixed address which already has
14001 something else allocated at it. If we can, also make sure that
14002 we see the same garbage. */
14003 fd = open ("conftest.mmap", O_RDWR);
14006 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14007 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14009 for (i = 0; i < pagesize; ++i)
14010 if (*(data + i) != *(data2 + i))
14013 /* Finally, make sure that changes to the mapped area do not
14014 percolate back to the file as seen by read(). (This is a bug on
14015 some variants of i386 svr4.0.) */
14016 for (i = 0; i < pagesize; ++i)
14017 *(data2 + i) = *(data2 + i) + 1;
14018 data3 = (char *) malloc (pagesize);
14021 if (read (fd, data3, pagesize) != pagesize)
14023 for (i = 0; i < pagesize; ++i)
14024 if (*(data + i) != *(data3 + i))
14030 if ac_fn_c_try_run
"$LINENO"; then :
14031 ac_cv_func_mmap_fixed_mapped
=yes
14033 ac_cv_func_mmap_fixed_mapped
=no
14035 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14036 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14041 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14042 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14044 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14047 rm -f conftest.mmap conftest.txt
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/poll" >&5
14051 $as_echo_n "checking for /dev/poll... " >&6; }
14052 if test -c "/dev/poll"; then
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14054 $as_echo "yes" >&6; }
14056 $as_echo "#define HAVE_DEVPOLL 1" >>confdefs.h
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14060 $as_echo "no" >&6; }
14064 if test "$is_mingw" = "yes"; then
14066 $as_echo "#define HAVE_WIN32 1" >>confdefs.h
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
14072 $as_echo_n "checking for OpenSSL... " >&6; }
14073 # Check whether --enable-openssl was given.
14074 if test "${enable_openssl+set}" = set; then :
14075 enableval
=$enable_openssl; cf_enable_openssl
=$enableval
14077 cf_enable_openssl
="auto"
14081 if test "$cf_enable_openssl" != "no" ; then
14082 cf_openssl_basedir
=""
14083 if test "$cf_enable_openssl" != "auto" &&
14084 test "$cf_enable_openssl" != "yes" ; then
14085 cf_openssl_basedir
="`echo ${cf_enable_openssl} | sed 's/\/$//'`"
14087 for dirs in /usr
/local
/ssl
/usr
/pkg
/usr
/local \
14088 /usr
/local
/openssl
; do
14089 if test -f "${dirs}/include/openssl/opensslv.h" ; then
14090 cf_openssl_basedir
="${dirs}"
14096 if test ! -z "$cf_openssl_basedir"; then
14097 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h" ; then
14098 SSL_CFLAGS
="-I${cf_openssl_basedir}/include"
14099 SSL_LIBS
="-L${cf_openssl_basedir}/lib"
14101 cf_openssl_basedir
=""
14104 if test -f "/usr/include/openssl/opensslv.h" ; then
14105 cf_openssl_basedir
="/usr"
14109 if test ! -z "$cf_openssl_basedir"; then
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
14111 $as_echo "$cf_openssl_basedir" >&6; }
14112 cf_enable_openssl
="yes"
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Specify a correct path?" >&5
14115 $as_echo "not found. Specify a correct path?" >&6; }
14116 cf_enable_openssl
="no"
14118 unset cf_openssl_basedir
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
14121 $as_echo "disabled" >&6; }
14124 save_CPPFLAGS
="$CPPFLAGS"
14125 CPPFLAGS
="$CPPFLAGS $SSL_CFLAGS"
14127 LIBS
="$LIBS $SSL_LIBS"
14128 if test "$cf_enable_openssl" != no
; then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.7 or above" >&5
14130 $as_echo_n "checking for OpenSSL 0.9.7 or above... " >&6; }
14131 if test "$cross_compiling" = yes; then :
14132 cf_enable_openssl
=no
14134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14136 #include <openssl/opensslv.h>
14137 #include <stdlib.h>
14141 if (OPENSSL_VERSION_NUMBER >= 0x00907000)
14142 exit(0); else exit(1);
14147 if ac_fn_c_try_run
"$LINENO"; then :
14148 cf_enable_openssl
=yes
14150 cf_enable_openssl
=no
14152 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14153 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14157 if test "$cf_enable_openssl" != no
; then
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14159 $as_echo "found" >&6; }
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5
14162 $as_echo "no - OpenSSL support disabled" >&6; }
14168 if test "$cf_enable_openssl" != no
; then
14169 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAND_status in -lcrypto" >&5
14171 $as_echo_n "checking for RAND_status in -lcrypto... " >&6; }
14172 if ${ac_cv_lib_crypto_RAND_status+:} false
; then :
14173 $as_echo_n "(cached) " >&6
14175 ac_check_lib_save_LIBS
=$LIBS
14176 LIBS
="-lcrypto $LIBS"
14177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14180 /* Override any GCC internal prototype to avoid an error.
14181 Use char because int might match the return type of a GCC
14182 builtin and then its argument prototype would still apply. */
14186 char RAND_status ();
14190 return RAND_status ();
14195 if ac_fn_c_try_link
"$LINENO"; then :
14196 ac_cv_lib_crypto_RAND_status
=yes
14198 ac_cv_lib_crypto_RAND_status
=no
14200 rm -f core conftest.err conftest.
$ac_objext \
14201 conftest
$ac_exeext conftest.
$ac_ext
14202 LIBS
=$ac_check_lib_save_LIBS
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RAND_status" >&5
14205 $as_echo "$ac_cv_lib_crypto_RAND_status" >&6; }
14206 if test "x$ac_cv_lib_crypto_RAND_status" = xyes
; then :
14207 cf_enable_openssl
=yes
14209 cf_enable_openssl
=no
14214 if test "$cf_enable_openssl" != no
; then
14215 CPPFLAGS
="$CPPFLAGS $SSL_LIBS"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_read in -lssl" >&5
14217 $as_echo_n "checking for SSL_read in -lssl... " >&6; }
14218 if ${ac_cv_lib_ssl_SSL_read+:} false
; then :
14219 $as_echo_n "(cached) " >&6
14221 ac_check_lib_save_LIBS
=$LIBS
14222 LIBS
="-lssl -lcrypto $LIBS"
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14226 /* Override any GCC internal prototype to avoid an error.
14227 Use char because int might match the return type of a GCC
14228 builtin and then its argument prototype would still apply. */
14236 return SSL_read ();
14241 if ac_fn_c_try_link
"$LINENO"; then :
14242 ac_cv_lib_ssl_SSL_read
=yes
14244 ac_cv_lib_ssl_SSL_read
=no
14246 rm -f core conftest.err conftest.
$ac_objext \
14247 conftest
$ac_exeext conftest.
$ac_ext
14248 LIBS
=$ac_check_lib_save_LIBS
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_read" >&5
14251 $as_echo "$ac_cv_lib_ssl_SSL_read" >&6; }
14252 if test "x$ac_cv_lib_ssl_SSL_read" = xyes
; then :
14253 SSL_LIBS
="$SSL_LIBS -lssl -lcrypto"
14255 cf_enable_openssl
=no
14262 if test x
"$cf_enable_openssl" != xno
; then
14264 $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h
14272 CPPFLAGS
="$save_CPPFLAGS"
14280 # Check whether --enable-assert was given.
14281 if test "${enable_assert+set}" = set; then :
14282 enableval
=$enable_assert; assert
=$enableval
14288 if test "$assert" = no
; then
14290 $as_echo "#define NDEBUG 1" >>confdefs.h
14292 elif test "$assert" = soft
; then
14294 $as_echo "#define SOFT_ASSERT 1" >>confdefs.h
14297 $as_echo "#define NDEBUG 1" >>confdefs.h
14299 elif test "$assert" = yes; then
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want to do a profile build" >&5
14304 $as_echo_n "checking if you want to do a profile build... " >&6; }
14305 # Check whether --enable-profile was given.
14306 if test "${enable_profile+set}" = set; then :
14307 enableval
=$enable_profile; profile
=$enableval
14313 if test "$profile" = yes; then
14314 if test "$ac_cv_c_compiler_gnu" = yes; then
14315 CFLAGS
="$CFLAGS -pg -static"
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, adding -pg -static" >&5
14317 $as_echo "yes, adding -pg -static" >&6; }
14319 $as_echo "#define RATBOX_PROFILE 1" >>confdefs.h
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, profile builds only work with gcc" >&5
14323 $as_echo "no, profile builds only work with gcc" >&6; }
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14327 $as_echo "no" >&6; }
14330 # Check whether --enable-balloc was given.
14331 if test "${enable_balloc+set}" = set; then :
14332 enableval
=$enable_balloc; balloc
=$enableval
14338 if test "$balloc" = no
; then
14340 $as_echo "#define NOBALLOC 1" >>confdefs.h
14344 # Check whether --enable-warnings was given.
14345 if test "${enable_warnings+set}" = set; then :
14346 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"
14357 if test "$prefix" = "NONE"; then
14359 cat >>confdefs.h
<<_ACEOF
14360 #define RB_PREFIX "$ac_default_prefix"
14367 prefix
=`echo $prefix | sed 's/\/$//'`
14369 cat >>confdefs.h
<<_ACEOF
14370 #define RB_PREFIX "$prefix"
14378 ac_config_commands
="$ac_config_commands include/librb-config.h"
14382 ac_config_files
="$ac_config_files src/Makefile Makefile libratbox.pc"
14385 cat >confcache
<<\_ACEOF
14386 # This file is a shell script that caches the results of configure
14387 # tests run on this system so they can be shared between configure
14388 # scripts and configure runs, see configure's option --config-cache.
14389 # It is not useful on other systems. If it contains results you don't
14390 # want to keep, you may remove or edit it.
14392 # config.status only pays attention to the cache file if you give it
14393 # the --recheck option to rerun configure.
14395 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14396 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14397 # following values.
14401 # The following way of writing the cache mishandles newlines in values,
14402 # but we know of no workaround that is simple, portable, and efficient.
14403 # So, we kill variables containing newlines.
14404 # Ultrix sh set writes to stderr and can't be redirected directly,
14405 # and sets the high bit in the cache file unless we assign to the vars.
14407 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14408 eval ac_val
=\$
$ac_var
14412 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14413 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14416 _
| IFS
| as_nl
) ;; #(
14417 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
14418 *) { eval $ac_var=; unset $ac_var;} ;;
14424 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14425 *${as_nl}ac_space
=\
*)
14426 # `set' does not quote correctly, so add quotes: double-quote
14427 # substitution turns \\\\ into \\, and sed turns \\ into \.
14430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14433 # `set' quotes correctly as required by POSIX, so do not add quotes.
14434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14443 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14445 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14447 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14448 if test -w "$cache_file"; then
14449 if test "x$cache_file" != "x/dev/null"; then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14451 $as_echo "$as_me: updating cache $cache_file" >&6;}
14452 if test ! -f "$cache_file" || test -h "$cache_file"; then
14453 cat confcache
>"$cache_file"
14455 case $cache_file in #(
14457 mv -f confcache
"$cache_file"$$
&&
14458 mv -f "$cache_file"$$
"$cache_file" ;; #(
14460 mv -f confcache
"$cache_file" ;;
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14466 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14471 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14472 # Let make expand exec_prefix.
14473 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14475 DEFS
=-DHAVE_CONFIG_H
14480 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14481 # 1. Remove the extension, and $U if already installed.
14482 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14483 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14484 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14485 # will be set to the directory where LIBOBJS objects are built.
14486 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14487 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14489 LIBOBJS
=$ac_libobjs
14491 LTLIBOBJS
=$ac_ltlibobjs
14494 if test -n "$EXEEXT"; then
14496 am__EXEEXT_FALSE
='#'
14498 am__EXEEXT_TRUE
='#'
14502 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14503 as_fn_error $?
"conditional \"AMDEP\" was never defined.
14504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14506 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14507 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
14508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14510 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14511 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
14512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14515 if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
14516 as_fn_error $?
"conditional \"MINGW\" was never defined.
14517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14520 : "${CONFIG_STATUS=./config.status}"
14522 ac_clean_files_save
=$ac_clean_files
14523 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14525 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14527 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14529 # Generated by $as_me.
14530 # Run this file to recreate the current configuration.
14531 # Compiler output produced by configure, useful for debugging
14532 # configure, is in config.log if it exists.
14535 ac_cs_recheck=false
14538 SHELL=\${CONFIG_SHELL-$SHELL}
14541 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
14542 ## -------------------- ##
14543 ## M4sh Initialization. ##
14544 ## -------------------- ##
14546 # Be more Bourne compatible
14547 DUALCASE
=1; export DUALCASE
# for MKS sh
14548 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14551 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14552 # is contrary to our usage. Disable this feature.
14553 alias -g '${1+"$@"}'='"$@"'
14554 setopt NO_GLOB_SUBST
14556 case `(set -o) 2>/dev/null` in #(
14568 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14569 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14570 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14572 # Prefer a ksh shell builtin over an external printf program on Solaris,
14573 # but without wasting forks for bash or zsh.
14574 if test -z "$BASH_VERSION$ZSH_VERSION" \
14575 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14576 as_echo='print
-r --'
14577 as_echo_n='print
-rn --'
14578 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14579 as_echo='printf %s
\n'
14580 as_echo_n='printf %s
'
14582 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14583 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14584 as_echo_n='/usr
/ucb
/echo -n'
14586 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14587 as_echo_n_body='eval
14591 expr "X$arg" : "X\\(.*\\)$as_nl";
14592 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14594 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14596 export as_echo_n_body
14597 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14599 export as_echo_body
14600 as_echo='sh
-c $as_echo_body as_echo
'
14603 # The user is always right.
14604 if test "${PATH_SEPARATOR+set}" != set; then
14606 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14607 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14614 # We need space, tab and new line, in precisely that order. Quoting is
14615 # there to prevent editors from complaining about space-tab.
14616 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14617 # splitting by setting IFS to empty value.)
14620 # Find who we are. Look in the path if we contain no directory separator.
14623 *[\\/]* ) as_myself=$0 ;;
14624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14625 for as_dir in $PATH
14628 test -z "$as_dir" && as_dir=.
14629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14635 # We did not find ourselves, most probably we were run as `sh COMMAND'
14636 # in which case we are not to be found in the path.
14637 if test "x$as_myself" = x
; then
14640 if test ! -f "$as_myself"; then
14641 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14645 # Unset variables that we do not need and which cause bugs (e.g. in
14646 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14647 # suppresses any "Segmentation fault" message there. '((' could
14648 # trigger a bug in pdksh 5.2.14.
14649 for as_var
in BASH_ENV ENV MAIL MAILPATH
14650 do eval test x\
${$as_var+set} = xset \
14651 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
14664 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14667 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14668 # ----------------------------------------
14669 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14670 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14671 # script with STATUS, using 1 if that was 0.
14674 as_status
=$1; test $as_status -eq 0 && as_status
=1
14676 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14677 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14679 $as_echo "$as_me: error: $2" >&2
14680 as_fn_exit
$as_status
14684 # as_fn_set_status STATUS
14685 # -----------------------
14686 # Set $? to STATUS, without forking.
14687 as_fn_set_status
()
14690 } # as_fn_set_status
14692 # as_fn_exit STATUS
14693 # -----------------
14694 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14698 as_fn_set_status
$1
14704 # Portably unset VAR.
14707 { eval $1=; unset $1;}
14709 as_unset
=as_fn_unset
14710 # as_fn_append VAR VALUE
14711 # ----------------------
14712 # Append the text in VALUE to the end of the definition contained in VAR. Take
14713 # advantage of any shell optimizations that allow amortized linear growth over
14714 # repeated appends, instead of the typical quadratic growth present in naive
14716 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14717 eval 'as_fn_append ()
14728 # as_fn_arith ARG...
14729 # ------------------
14730 # Perform arithmetic evaluation on the ARGs, and store the result in the
14731 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14732 # must be portable across $(()) and expr.
14733 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14734 eval 'as_fn_arith ()
14741 as_val
=`expr "$@" || test $? -eq 1`
14746 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14747 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14753 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14754 as_basename
=basename
14759 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14765 as_me
=`$as_basename -- "$0" ||
14766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14767 X"$0" : 'X\(//\)$' \| \
14768 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14770 sed '/^.*\/\([^/][^/]*\)\/*$/{
14784 # Avoid depending upon Character Ranges.
14785 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14786 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14787 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14788 as_cr_digits
='0123456789'
14789 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14791 ECHO_C
= ECHO_N
= ECHO_T
=
14792 case `echo -n x` in #(((((
14794 case `echo 'xy\c'` in
14795 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14797 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14804 rm -f conf$$ conf$$.exe conf$$.
file
14805 if test -d conf$$.dir
; then
14806 rm -f conf$$.dir
/conf$$.
file
14809 mkdir conf$$.dir
2>/dev
/null
14811 if (echo >conf$$.
file) 2>/dev
/null
; then
14812 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14814 # ... but there are two gotchas:
14815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14817 # In both cases, we have to default to `cp -p'.
14818 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
14820 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14828 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14829 rmdir conf$$.dir
2>/dev
/null
14834 # Create "$as_dir" as a directory, including parents if necessary.
14839 -*) as_dir
=.
/$as_dir;;
14841 test -d "$as_dir" || eval $as_mkdir_p || {
14845 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14846 *) as_qdir
=$as_dir;;
14848 as_dirs
="'$as_qdir' $as_dirs"
14849 as_dir
=`$as_dirname -- "$as_dir" ||
14850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14851 X"$as_dir" : 'X\(//\)[^/]' \| \
14852 X"$as_dir" : 'X\(//\)$' \| \
14853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14854 $as_echo X"$as_dir" |
14855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14859 /^X\(\/\/\)[^/].*/{
14872 test -d "$as_dir" && break
14874 test -z "$as_dirs" || eval "mkdir $as_dirs"
14875 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
14879 if mkdir -p .
2>/dev
/null
; then
14880 as_mkdir_p
='mkdir -p "$as_dir"'
14882 test -d .
/-p && rmdir .
/-p
14886 if test -x / >/dev
/null
2>&1; then
14887 as_test_x
='test -x'
14889 if ls -dL / >/dev
/null
2>&1; then
14896 if test -d "$1"; then
14902 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14903 ???[sx]*):;;*)false;;esac;fi
14907 as_executable_p
=$as_test_x
14909 # Sed expression to map a string onto a valid CPP name.
14910 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14912 # Sed expression to map a string onto a valid variable name.
14913 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14917 ## ----------------------------------- ##
14918 ## Main body of $CONFIG_STATUS script. ##
14919 ## ----------------------------------- ##
14921 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14923 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14924 # Save the log message, to keep $0 and so on meaningful, and to
14925 # report actual input values of CONFIG_FILES etc. instead of their
14926 # values after options handling.
14928 This file was extended by libratbox $as_me devel, which was
14929 generated by GNU Autoconf 2.68. Invocation command line was
14931 CONFIG_FILES = $CONFIG_FILES
14932 CONFIG_HEADERS = $CONFIG_HEADERS
14933 CONFIG_LINKS = $CONFIG_LINKS
14934 CONFIG_COMMANDS = $CONFIG_COMMANDS
14937 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14942 case $ac_config_files in *"
14943 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14946 case $ac_config_headers in *"
14947 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
14951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14952 # Files that config.status was made for.
14953 config_files="$ac_config_files"
14954 config_headers="$ac_config_headers"
14955 config_commands="$ac_config_commands"
14959 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
14961 \`$as_me' instantiates files and other configuration actions
14962 from templates according to the current configuration. Unless the files
14963 and actions are specified as TAGs, all are instantiated by default.
14965 Usage: $0 [OPTION]... [TAG]...
14967 -h, --help print this help, then exit
14968 -V, --version print version number and configuration settings, then exit
14969 --config print configuration, then exit
14970 -q, --quiet, --silent
14971 do not print progress messages
14972 -d, --debug don't remove temporary files
14973 --recheck update $as_me by reconfiguring in the same conditions
14974 --file=FILE[:TEMPLATE]
14975 instantiate the configuration file FILE
14976 --header=FILE[:TEMPLATE]
14977 instantiate the configuration header FILE
14979 Configuration files:
14982 Configuration headers:
14985 Configuration commands:
14988 Report bugs to the package provider."
14991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14992 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14994 libratbox config.status devel
14995 configured by $0, generated by GNU Autoconf 2.68,
14996 with options \\"\$ac_cs_config\\"
14998 Copyright (C) 2010 Free Software Foundation, Inc.
14999 This config.status script is free software; the Free Software Foundation
15000 gives unlimited permission to copy, distribute and modify it."
15007 test -n "\$AWK" || AWK=awk
15010 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15011 # The default lists apply if the user does not specify any file.
15017 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15018 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15022 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15034 # Handling of the options.
15035 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15037 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15038 $as_echo "$ac_cs_version"; exit ;;
15039 --config | --confi | --conf | --con | --co | --c )
15040 $as_echo "$ac_cs_config"; exit ;;
15041 --debug | --debu | --deb | --de | --d | -d )
15043 --file | --fil | --fi | --f )
15046 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15047 '') as_fn_error $?
"missing file argument" ;;
15049 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15050 ac_need_defaults
=false
;;
15051 --header | --heade | --head | --hea )
15054 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15056 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15057 ac_need_defaults
=false
;;
15059 # Conflict between --help and --header
15060 as_fn_error $?
"ambiguous option: \`$1'
15061 Try \`$0 --help' for more information.";;
15062 --help | --hel | -h )
15063 $as_echo "$ac_cs_usage"; exit ;;
15064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15065 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15068 # This is an error.
15069 -*) as_fn_error $?
"unrecognized option: \`$1'
15070 Try \`$0 --help' for more information." ;;
15072 *) as_fn_append ac_config_targets
" $1"
15073 ac_need_defaults
=false
;;
15079 ac_configure_extra_args
=
15081 if $ac_cs_silent; then
15083 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15088 if \$ac_cs_recheck; then
15089 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15091 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15092 CONFIG_SHELL='$SHELL'
15093 export CONFIG_SHELL
15098 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15102 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15103 ## Running $as_me. ##
15109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15113 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15116 # The HP-UX ksh and POSIX shell print the target directory to stdout
15117 # if CDPATH is set.
15118 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15120 sed_quote_subst='$sed_quote_subst'
15121 double_quote_subst='$double_quote_subst'
15122 delay_variable_subst='$delay_variable_subst'
15123 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15124 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15125 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15126 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15127 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15128 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15129 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15130 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15131 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15132 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15133 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15134 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15135 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15136 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15137 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15138 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15139 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15140 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15141 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15142 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15143 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15144 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15145 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15146 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15147 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15148 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15149 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15150 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15151 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15152 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15153 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15154 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15155 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15156 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15157 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15158 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15159 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15160 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15161 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15162 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15163 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15164 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15165 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15166 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15167 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15168 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15169 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15170 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15171 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15172 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15173 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15174 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15175 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15176 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15177 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15178 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15179 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"`'
15180 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15181 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15182 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15183 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15184 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15185 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15186 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15187 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15188 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15189 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15190 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15191 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15192 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15193 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15194 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15195 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15196 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15197 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15198 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15199 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15200 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15201 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15202 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15203 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15204 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15205 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15206 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15207 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15208 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15209 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15210 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15211 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15212 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15213 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15214 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15215 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15216 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15217 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15218 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15219 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15220 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15221 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15222 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15223 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15224 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15225 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15226 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15227 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15228 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15229 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15230 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15231 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15232 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15233 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15234 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15235 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15236 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15237 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15238 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15239 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15240 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15241 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15242 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15243 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15244 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15245 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15246 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15247 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15248 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15249 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15250 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15251 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15252 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15255 LTCFLAGS='$LTCFLAGS'
15256 compiler='$compiler_DEFAULT'
15258 # A function that is used when there is no print builtin or printf.
15259 func_fallback_echo ()
15261 eval 'cat <<_LTECHO_EOF
15266 # Quote evaled strings.
15281 deplibs_check_method \
15286 sharedlib_from_linklib_cmd \
15289 archiver_list_spec \
15295 lt_cv_sys_global_symbol_pipe \
15296 lt_cv_sys_global_symbol_to_cdecl \
15297 lt_cv_sys_global_symbol_to_c_name_address \
15298 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15299 nm_file_list_spec \
15300 lt_prog_compiler_no_builtin_flag \
15301 lt_prog_compiler_pic \
15302 lt_prog_compiler_wl \
15303 lt_prog_compiler_static \
15304 lt_cv_prog_compiler_c_o \
15313 export_dynamic_flag_spec \
15314 whole_archive_flag_spec \
15315 compiler_needs_object \
15317 allow_undefined_flag \
15318 no_undefined_flag \
15319 hardcode_libdir_flag_spec \
15320 hardcode_libdir_separator \
15324 variables_saved_for_relink \
15326 library_names_spec \
15328 install_override_mode \
15332 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15333 *[\\\\\\\`\\"\\\$]*)
15334 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15337 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15342 # Double-quote double-evaled strings.
15343 for var in reload_cmds \
15344 old_postinstall_cmds \
15345 old_postuninstall_cmds \
15347 extract_expsyms_cmds \
15348 old_archive_from_new_cmds \
15349 old_archive_from_expsyms_cmds \
15351 archive_expsym_cmds \
15353 module_expsym_cmds \
15354 export_symbols_cmds \
15358 postuninstall_cmds \
15360 sys_lib_search_path_spec \
15361 sys_lib_dlsearch_path_spec; do
15362 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15363 *[\\\\\\\`\\"\\\$]*)
15364 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15367 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15372 ac_aux_dir='$ac_aux_dir'
15373 xsi_shell='$xsi_shell'
15374 lt_shell_append='$lt_shell_append'
15376 # See if we are running on zsh, and set the options which allow our
15377 # commands through without removal of \ escapes INIT.
15378 if test -n "\${ZSH_VERSION+set}" ; then
15379 setopt NO_GLOB_SUBST
15385 TIMESTAMP='$TIMESTAMP'
15392 if test x$ac_cv_header_stdc = xyes; then
15395 if test x$ac_cv_header_stdlib_h = xyes; then
15396 rb_header_stdlib_h=yes
15398 if test x$ac_cv_header_string_h = xyes; then
15399 rb_header_string_h=yes
15401 if test x$ac_cv_header_memory_h = xyes; then
15402 rb_header_memory_h=yes
15404 if test "x${ac_cv_working_alloca_h+set}" = xset ; then
15405 rb_alloca_h="$ac_cv_working_alloca_h"
15407 rb_alloc_h="$ac_cv_header_alloca_h"
15409 if test x$ac_cv_member_struct_sockaddr_sa_len = xyes; then
15410 rb_sockaddr_sa_len=yes
15412 if test x$ac_cv_header_sys_socket_h = xyes; then
15413 rb_sys_socket_h=yes
15415 if test x$ac_cv_header_sys_types_h = xyes; then
15418 if test x$ac_cv_header_sys_stat_h = xyes; then
15421 if test x$ac_cv_header_sys_time_h = xyes; then
15424 if test x$ac_cv_header_time = xyes; then
15428 if test x$ac_cv_header_stdint_h = xyes; then
15431 if test x$ac_cv_header_inttypes_h = xyes; then
15434 if test x$ac_cv_header_netinet_in_h = xyes; then
15435 rb_netinet_in_h=yes
15438 if test x$ac_cv_header_crypt_h = xyes; then
15441 if test x$ac_cv_header_errno_h = xyes; then
15444 if test x$ac_cv_header_unistd_h = xyes; then
15447 if test x$ac_cv_header_windows_h = xyes; then
15450 if test x$ac_cv_header_winsock2_h = xyes; then
15454 rb_socklen_t=$rb_socklen_t
15456 if test "x$rb_have_sockaddr_storage" = "xyes"; then
15457 rb_sockaddr_storage="yes"
15459 rb_sockaddr_storage="no"
15462 rb_have_ipv6="$have_v6"
15474 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15476 # Handling of arguments.
15477 for ac_config_target
in $ac_config_targets
15479 case $ac_config_target in
15480 "include/libratbox_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/libratbox_config.h" ;;
15481 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15482 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15483 "include/librb-config.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/librb-config.h" ;;
15484 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15485 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15486 "libratbox.pc") CONFIG_FILES
="$CONFIG_FILES libratbox.pc" ;;
15488 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15493 # If the user did not use the arguments to specify the items to instantiate,
15494 # then the envvar interface is used. Set only those that are not.
15495 # We use the long form for the default assignment because of an extremely
15496 # bizarre bug on SunOS 4.1.3.
15497 if $ac_need_defaults; then
15498 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15499 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15500 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15503 # Have a temporary directory for convenience. Make it in the build tree
15504 # simply because there is no reason against having it here, and in addition,
15505 # creating and moving files from /tmp can sometimes cause problems.
15506 # Hook for its removal unless debugging.
15507 # Note that there is a small window in which the directory will not be cleaned:
15508 # after its creation but before its name has been assigned to `$tmp'.
15512 trap 'exit_status=$?
15513 : "${ac_tmp:=$tmp}"
15514 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15516 trap 'as_fn_exit 1' 1 2 13 15
15518 # Create a (secure) tmp directory for tmp files.
15521 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15525 tmp
=.
/conf$$
-$RANDOM
15526 (umask 077 && mkdir "$tmp")
15527 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15530 # Set up the scripts for CONFIG_FILES section.
15531 # No need to generate them if there are no CONFIG_FILES.
15532 # This happens for instance with `./config.status config.h'.
15533 if test -n "$CONFIG_FILES"; then
15536 ac_cr
=`echo X | tr X '\015'`
15537 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15538 # But we know of no other shell where ac_cr would be empty at this
15539 # point, so we can use a bashism as a fallback.
15540 if test "x$ac_cr" = x
; then
15541 eval ac_cr
=\$
\'\\r
\'
15543 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15544 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15547 ac_cs_awk_cr
=$ac_cr
15550 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15555 echo "cat >conf$$subs.awk <<_ACEOF" &&
15556 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15558 } >conf$$subs.sh ||
15559 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15560 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15562 for ac_last_try in false false false false false :; do
15563 . ./conf$$subs.sh ||
15564 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15566 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15567 if test $ac_delim_n = $ac_delim_num; then
15569 elif $ac_last_try; then
15570 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15572 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15575 rm -f conf$$subs.sh
15577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15578 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15582 s/^/S["/; s
/!.
*/"]=/
15592 s/\(.\{148\}\)..*/\1/
15594 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15599 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15606 s/\(.\{148\}\)..*/\1/
15608 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15612 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15617 ' <conf$$subs.awk | sed '
15622 ' >>$CONFIG_STATUS || ac_write_fail=1
15623 rm -f conf$$subs.awk
15624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15626 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15627 for (key in S) S_is_set[key] = 1
15633 nfields = split(line, field, "@
")
15635 len = length(field[1])
15636 for (i = 2; i < nfields; i++) {
15638 keylen = length(key)
15639 if (S_is_set[key]) {
15641 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15642 len += length(value) + length(field[++i])
15653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15654 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15655 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15658 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15659 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15662 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15663 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15664 # trailing colons and then remove the whole line if VPATH becomes empty
15665 # (actually we leave an empty line to preserve line numbers).
15666 if test "x
$srcdir" = x.; then
15667 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15686 fi # test -n "$CONFIG_FILES"
15688 # Set up the scripts for CONFIG_HEADERS section.
15689 # No need to generate them if there are no CONFIG_HEADERS.
15690 # This happens for instance with `./config.status Makefile'.
15691 if test -n "$CONFIG_HEADERS"; then
15692 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
15696 # Transform confdefs.h into an awk script `defines.awk', embedded as
15697 # here-document in config.status, that substitutes the proper values into
15698 # config.h.in to produce config.h.
15700 # Create a delimiter string that does not exist in confdefs.h, to ease
15701 # handling of long lines.
15703 for ac_last_try in false false :; do
15704 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
15705 if test -z "$ac_tt"; then
15707 elif $ac_last_try; then
15708 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
15710 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15714 # For the awk script, D is an array of macro values keyed by name,
15715 # likewise P contains macro parameters if any. Preserve backslash
15716 # newline sequences.
15718 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15720 s/.\{148\}/&'"$ac_delim"'/g
15723 s/^[ ]*#[ ]*define[ ][ ]*/ /
15730 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15732 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15736 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15737 D["\
1"]=" \
3\\\\\\n
"\\/p
15739 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15744 s/.\{148\}/&'"$ac_delim"'/g
15749 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15752 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15754 ' <confdefs.h | sed '
15755 s/'"$ac_delim"'/"\\\
15756 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15759 for (key in D) D_is_set[key] = 1
15762 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15764 split(line, arg, " ")
15765 if (arg[1] == "#") {
15769 defundef
= substr
(arg
[1], 2)
15772 split(mac1
, mac2
, "(") #)
15774 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15775 if (D_is_set
[macro
]) {
15776 # Preserve the white space surrounding the "#".
15777 print prefix
"define", macro P
[macro
] D
[macro
]
15780 # Replace #undef with comments. This is necessary, for example,
15781 # in the case of _POSIX_SOURCE, which is predefined and required
15782 # on some systems where configure will not decide to define it.
15783 if (defundef
== "undef") {
15784 print
"/*", prefix defundef
, macro
, "*/"
15792 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15793 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
15794 fi # test -n "$CONFIG_HEADERS"
15797 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15802 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15804 case $ac_mode$ac_tag in
15806 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15807 :[FH
]-) ac_tag
=-:-;;
15808 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15825 -) ac_f
="$ac_tmp/stdin";;
15826 *) # Look for the file first in the build tree, then in the source tree
15827 # (if the path is not absolute). The absolute path cannot be DOS-style,
15828 # because $ac_f cannot contain `:'.
15832 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15834 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15836 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15837 as_fn_append ac_file_inputs
" '$ac_f'"
15840 # Let's still pretend it is `configure' which instantiates (i.e., don't
15841 # use $as_me), people would be surprised to read:
15842 # /* config.h. Generated by config.status. */
15843 configure_input
='Generated from '`
15844 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15846 if test x
"$ac_file" != x
-; then
15847 configure_input
="$ac_file. $configure_input"
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15849 $as_echo "$as_me: creating $ac_file" >&6;}
15851 # Neutralize special characters interpreted by sed in replacement strings.
15852 case $configure_input in #(
15853 *\
&* | *\
|* | *\\* )
15854 ac_sed_conf_input
=`$as_echo "$configure_input" |
15855 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15856 *) ac_sed_conf_input
=$configure_input;;
15860 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15861 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
15866 ac_dir
=`$as_dirname -- "$ac_file" ||
15867 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15868 X"$ac_file" : 'X\(//\)[^/]' \| \
15869 X"$ac_file" : 'X\(//\)$' \| \
15870 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15871 $as_echo X"$ac_file" |
15872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15876 /^X\(\/\/\)[^/].*/{
15889 as_dir
="$ac_dir"; as_fn_mkdir_p
15893 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15895 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15896 # A ".." for each directory in $ac_dir_suffix.
15897 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15898 case $ac_top_builddir_sub in
15899 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15900 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15903 ac_abs_top_builddir
=$ac_pwd
15904 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15905 # for backward compatibility:
15906 ac_top_builddir
=$ac_top_build_prefix
15909 .
) # We are building in place.
15911 ac_top_srcdir
=$ac_top_builddir_sub
15912 ac_abs_top_srcdir
=$ac_pwd ;;
15913 [\\/]* | ?
:[\\/]* ) # Absolute name.
15914 ac_srcdir
=$srcdir$ac_dir_suffix;
15915 ac_top_srcdir
=$srcdir
15916 ac_abs_top_srcdir
=$srcdir ;;
15917 *) # Relative name.
15918 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15919 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15920 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15922 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15932 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15933 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15935 ac_MKDIR_P
=$MKDIR_P
15937 [\\/$
]* | ?
:[\\/]* ) ;;
15938 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15942 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15943 # If the template does not know about datarootdir, expand it.
15944 # FIXME: This hack should be removed a few years after 2.60.
15945 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15956 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15957 *datarootdir
*) ac_datarootdir_seen
=yes;;
15958 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15960 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15963 ac_datarootdir_hack='
15964 s&@datadir@&$datadir&g
15965 s&@docdir@&$docdir&g
15966 s&@infodir@&$infodir&g
15967 s&@localedir@&$localedir&g
15968 s&@mandir@&$mandir&g
15969 s&\\\${datarootdir}&$datarootdir&g' ;;
15973 # Neutralize VPATH when `$srcdir' = `.'.
15974 # Shell code in configure.ac might set extrasub.
15975 # FIXME: do we really want to maintain this feature?
15976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15977 ac_sed_extra="$ac_vpsub
15980 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
15982 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
15983 s
|@configure_input@
|$ac_sed_conf_input|;t t
15984 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15985 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15986 s
&@srcdir@
&$ac_srcdir&;t t
15987 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15988 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15989 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15990 s
&@builddir@
&$ac_builddir&;t t
15991 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15992 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15993 s
&@INSTALL@
&$ac_INSTALL&;t t
15994 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15995 $ac_datarootdir_hack
15997 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
15998 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16000 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16001 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16002 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16003 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16005 which seems to be undefined. Please make sure it is defined" >&5
16006 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16007 which seems to be undefined. Please make sure it is defined" >&2;}
16009 rm -f "$ac_tmp/stdin"
16011 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16012 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16014 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16020 if test x"$ac_file" != x-; then
16022 $as_echo "/* $configure_input */" \
16023 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16024 } >"$ac_tmp/config.h" \
16025 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16026 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16028 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16031 mv "$ac_tmp/config.h" "$ac_file" \
16032 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16035 $as_echo "/* $configure_input */" \
16036 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16037 || as_fn_error $? "could not create -" "$LINENO" 5
16039 # Compute "$ac_file"'s index
in $config_headers.
16042 for _am_header
in $config_headers :; do
16043 case $_am_header in
16044 $_am_arg | $_am_arg:* )
16047 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16050 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16051 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16052 X"$_am_arg" : 'X\(//\)[^/]' \| \
16053 X"$_am_arg" : 'X\(//\)$' \| \
16054 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16055 $as_echo X"$_am_arg" |
16056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16060 /^X\(\/\/\)[^/].*/{
16072 s/.*/./; q'`/stamp
-h$_am_stamp_count
16075 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16076 $as_echo "$as_me: executing $ac_file commands" >&6;}
16081 case $ac_file$ac_mode in
16082 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
16083 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16084 # are listed without --file. Let's play safe and only enable the eval
16085 # if we detect the quoting.
16086 case $CONFIG_FILES in
16087 *\'*) eval set x
"$CONFIG_FILES" ;;
16088 *) set x
$CONFIG_FILES ;;
16093 # Strip MF so we end up with the name of the file.
16094 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16095 # Check whether this is an Automake generated Makefile or not.
16096 # We used to match only the files named `Makefile.in', but
16097 # some people rename them; so instead we look at the file content.
16098 # Grep'ing the first line is not enough: some people post-process
16099 # each Makefile.in and add a new line on top of each file to say so.
16100 # Grep'ing the whole file is not good either: AIX grep has a line
16101 # limit of 2048, but all sed's we know have understand at least 4000.
16102 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X
>/dev
/null
2>&1; then
16103 dirpart
=`$as_dirname -- "$mf" ||
16104 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16105 X"$mf" : 'X\(//\)[^/]' \| \
16106 X"$mf" : 'X\(//\)$' \| \
16107 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16113 /^X\(\/\/\)[^/].*/{
16129 # Extract the definition of DEPDIR, am__include, and am__quote
16130 # from the Makefile without running `make'.
16131 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16132 test -z "$DEPDIR" && continue
16133 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16134 test -z "am__include" && continue
16135 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16136 # When using ansi2knr, U may be empty or an underscore; expand it
16137 U
=`sed -n 's/^U = //p' < "$mf"`
16138 # Find all dependency output files, they are included files with
16139 # $(DEPDIR) in their names. We invoke sed twice because it is the
16140 # simplest approach to changing $(DEPDIR) to its actual value in the
16142 for file in `sed -n "
16143 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16144 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16145 # Make sure the directory exists.
16146 test -f "$dirpart/$file" && continue
16147 fdir
=`$as_dirname -- "$file" ||
16148 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16149 X"$file" : 'X\(//\)[^/]' \| \
16150 X"$file" : 'X\(//\)$' \| \
16151 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16152 $as_echo X"$file" |
16153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16157 /^X\(\/\/\)[^/].*/{
16170 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16171 # echo "creating $dirpart/$file"
16172 echo '# dummy' > "$dirpart/$file"
16179 # See if we are running on zsh, and set the options which allow our
16180 # commands through without removal of \ escapes.
16181 if test -n "${ZSH_VERSION+set}" ; then
16182 setopt NO_GLOB_SUBST
16185 cfgfile
="${ofile}T"
16186 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16189 cat <<_LT_EOF >> "$cfgfile"
16192 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16193 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16194 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16195 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16197 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16198 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16200 # Written by Gordon Matzigkeit, 1996
16202 # This file is part of GNU Libtool.
16204 # GNU Libtool is free software; you can redistribute it and/or
16205 # modify it under the terms of the GNU General Public License as
16206 # published by the Free Software Foundation; either version 2 of
16207 # the License, or (at your option) any later version.
16209 # As a special exception to the GNU General Public License,
16210 # if you distribute this file as part of a program or library that
16211 # is built using GNU Libtool, you may include this file under the
16212 # same distribution terms that you use for the rest of that program.
16214 # GNU Libtool is distributed in the hope that it will be useful,
16215 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16216 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16217 # GNU General Public License for more details.
16219 # You should have received a copy of the GNU General Public License
16220 # along with GNU Libtool; see the file COPYING. If not, a copy
16221 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16222 # obtained by writing to the Free Software Foundation, Inc.,
16223 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16226 # The names of the tagged configurations supported by this script.
16229 # ### BEGIN LIBTOOL CONFIG
16231 # Whether or not to build static libraries.
16232 build_old_libs=$enable_static
16234 # Whether or not to build shared libraries.
16235 build_libtool_libs=$enable_shared
16237 # Which release of libtool.m4 was used?
16238 macro_version=$macro_version
16239 macro_revision=$macro_revision
16241 # What type of objects to build.
16244 # Whether or not to optimize for fast installation.
16245 fast_install=$enable_fast_install
16247 # Shell to use when invoking shell scripts.
16250 # An echo program that protects backslashes.
16253 # The PATH separator for the build system.
16254 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16257 host_alias=$host_alias
16261 # The build system.
16262 build_alias=$build_alias
16266 # A sed program that does not truncate output.
16269 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16270 Xsed="\$SED -e 1s/^X//"
16272 # A grep program that handles long lines.
16278 # A literal string matcher.
16281 # A BSD- or MS-compatible name lister.
16284 # Whether we need soft or hard links.
16287 # What is the maximum length of a command?
16288 max_cmd_len=$max_cmd_len
16290 # Object file suffix (normally "o").
16293 # Executable file suffix (normally "").
16296 # whether the shell understands "unset".
16299 # turn spaces into newlines.
16302 # turn newlines into spaces.
16305 # convert \$build file names to \$host format.
16306 to_host_file_cmd=$lt_cv_to_host_file_cmd
16308 # convert \$build files to toolchain format.
16309 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16311 # An object symbol dumper.
16312 OBJDUMP=$lt_OBJDUMP
16314 # Method to check whether dependent libraries are shared objects.
16315 deplibs_check_method=$lt_deplibs_check_method
16317 # Command to use when deplibs_check_method = "file_magic".
16318 file_magic_cmd=$lt_file_magic_cmd
16320 # How to find potential files when deplibs_check_method = "file_magic".
16321 file_magic_glob=$lt_file_magic_glob
16323 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16324 want_nocaseglob=$lt_want_nocaseglob
16326 # DLL creation program.
16327 DLLTOOL=$lt_DLLTOOL
16329 # Command to associate shared and link libraries.
16330 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16335 # Flags to create an archive.
16336 AR_FLAGS=$lt_AR_FLAGS
16338 # How to feed a file listing to the archiver.
16339 archiver_list_spec=$lt_archiver_list_spec
16341 # A symbol stripping program.
16344 # Commands used to install an old-style archive.
16346 old_postinstall_cmds=$lt_old_postinstall_cmds
16347 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16349 # Whether to use a lock for old archive extraction.
16350 lock_old_archive_extraction=$lock_old_archive_extraction
16355 # LTCC compiler flags.
16356 LTCFLAGS=$lt_CFLAGS
16358 # Take the output of nm and produce a listing of raw symbols and C names.
16359 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16361 # Transform the output of nm in a proper C declaration.
16362 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16364 # Transform the output of nm in a C name address pair.
16365 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16367 # Transform the output of nm in a C name address pair when lib prefix is needed.
16368 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16370 # Specify filename containing input files for \$NM.
16371 nm_file_list_spec=$lt_nm_file_list_spec
16373 # The root where to search for dependent libraries,and in which our libraries should be installed.
16374 lt_sysroot=$lt_sysroot
16376 # The name of the directory that contains temporary libtool files.
16379 # Used to examine libraries when file_magic_cmd begins with "file".
16380 MAGIC_CMD=$MAGIC_CMD
16382 # Must we lock files when doing compilation?
16383 need_locks=$lt_need_locks
16386 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16388 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16389 DSYMUTIL=$lt_DSYMUTIL
16391 # Tool to change global to local symbols on Mac OS X.
16394 # Tool to manipulate fat objects and archives on Mac OS X.
16397 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16400 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16401 OTOOL64=$lt_OTOOL64
16403 # Old archive suffix (normally "a").
16406 # Shared library suffix (normally ".so").
16407 shrext_cmds=$lt_shrext_cmds
16409 # The commands to extract the exported symbol list from a shared archive.
16410 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16412 # Variables whose values should be saved in libtool wrapper scripts and
16413 # restored at link time.
16414 variables_saved_for_relink=$lt_variables_saved_for_relink
16416 # Do we need the "lib" prefix for modules?
16417 need_lib_prefix=$need_lib_prefix
16419 # Do we need a version for libraries?
16420 need_version=$need_version
16422 # Library versioning type.
16423 version_type=$version_type
16425 # Shared library runtime path variable.
16426 runpath_var=$runpath_var
16428 # Shared library path variable.
16429 shlibpath_var=$shlibpath_var
16431 # Is shlibpath searched before the hard-coded library search path?
16432 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16434 # Format of library name prefix.
16435 libname_spec=$lt_libname_spec
16437 # List of archive names. First name is the real one, the rest are links.
16438 # The last name is the one that the linker finds with -lNAME
16439 library_names_spec=$lt_library_names_spec
16441 # The coded name of the library, if different from the real name.
16442 soname_spec=$lt_soname_spec
16444 # Permission mode override for installation of shared libraries.
16445 install_override_mode=$lt_install_override_mode
16447 # Command to use after installation of a shared archive.
16448 postinstall_cmds=$lt_postinstall_cmds
16450 # Command to use after uninstallation of a shared archive.
16451 postuninstall_cmds=$lt_postuninstall_cmds
16453 # Commands used to finish a libtool library installation in a directory.
16454 finish_cmds=$lt_finish_cmds
16456 # As "finish_cmds", except a single script fragment to be evaled but
16458 finish_eval=$lt_finish_eval
16460 # Whether we should hardcode library paths into libraries.
16461 hardcode_into_libs=$hardcode_into_libs
16463 # Compile-time system search path for libraries.
16464 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16466 # Run-time system search path for libraries.
16467 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16469 # Whether dlopen is supported.
16470 dlopen_support=$enable_dlopen
16472 # Whether dlopen of programs is supported.
16473 dlopen_self=$enable_dlopen_self
16475 # Whether dlopen of statically linked programs is supported.
16476 dlopen_self_static=$enable_dlopen_self_static
16478 # Commands to strip libraries.
16479 old_striplib=$lt_old_striplib
16480 striplib=$lt_striplib
16483 # The linker used to build libraries.
16486 # How to create reloadable object files.
16487 reload_flag=$lt_reload_flag
16488 reload_cmds=$lt_reload_cmds
16490 # Commands used to build an old-style archive.
16491 old_archive_cmds=$lt_old_archive_cmds
16493 # A language specific compiler.
16496 # Is the compiler the GNU compiler?
16499 # Compiler flag to turn off builtin functions.
16500 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16502 # Additional compiler flags for building library objects.
16503 pic_flag=$lt_lt_prog_compiler_pic
16505 # How to pass a linker flag through the compiler.
16506 wl=$lt_lt_prog_compiler_wl
16508 # Compiler flag to prevent dynamic linking.
16509 link_static_flag=$lt_lt_prog_compiler_static
16511 # Does compiler simultaneously support -c and -o options?
16512 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16514 # Whether or not to add -lc for building shared libraries.
16515 build_libtool_need_lc=$archive_cmds_need_lc
16517 # Whether or not to disallow shared libs when runtime libs are static.
16518 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16520 # Compiler flag to allow reflexive dlopens.
16521 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16523 # Compiler flag to generate shared objects directly from archives.
16524 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16526 # Whether the compiler copes with passing no objects directly.
16527 compiler_needs_object=$lt_compiler_needs_object
16529 # Create an old-style archive from a shared archive.
16530 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16532 # Create a temporary old-style archive to link instead of a shared archive.
16533 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16535 # Commands used to build a shared archive.
16536 archive_cmds=$lt_archive_cmds
16537 archive_expsym_cmds=$lt_archive_expsym_cmds
16539 # Commands used to build a loadable module if different from building
16540 # a shared archive.
16541 module_cmds=$lt_module_cmds
16542 module_expsym_cmds=$lt_module_expsym_cmds
16544 # Whether we are building with GNU ld or not.
16545 with_gnu_ld=$lt_with_gnu_ld
16547 # Flag that allows shared libraries with undefined symbols to be built.
16548 allow_undefined_flag=$lt_allow_undefined_flag
16550 # Flag that enforces no undefined symbols.
16551 no_undefined_flag=$lt_no_undefined_flag
16553 # Flag to hardcode \$libdir into a binary during linking.
16554 # This must work even if \$libdir does not exist
16555 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16557 # Whether we need a single "-rpath" flag with a separated argument.
16558 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16560 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16561 # DIR into the resulting binary.
16562 hardcode_direct=$hardcode_direct
16564 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16565 # DIR into the resulting binary and the resulting library dependency is
16566 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16567 # library is relocated.
16568 hardcode_direct_absolute=$hardcode_direct_absolute
16570 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16571 # into the resulting binary.
16572 hardcode_minus_L=$hardcode_minus_L
16574 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16575 # into the resulting binary.
16576 hardcode_shlibpath_var=$hardcode_shlibpath_var
16578 # Set to "yes" if building a shared library automatically hardcodes DIR
16579 # into the library and all subsequent libraries and executables linked
16581 hardcode_automatic=$hardcode_automatic
16583 # Set to yes if linker adds runtime paths of dependent libraries
16584 # to runtime path list.
16585 inherit_rpath=$inherit_rpath
16587 # Whether libtool must link a program against all its dependency libraries.
16588 link_all_deplibs=$link_all_deplibs
16590 # Set to "yes" if exported symbols are required.
16591 always_export_symbols=$always_export_symbols
16593 # The commands to list exported symbols.
16594 export_symbols_cmds=$lt_export_symbols_cmds
16596 # Symbols that should not be listed in the preloaded symbols.
16597 exclude_expsyms=$lt_exclude_expsyms
16599 # Symbols that must always be exported.
16600 include_expsyms=$lt_include_expsyms
16602 # Commands necessary for linking programs (against libraries) with templates.
16603 prelink_cmds=$lt_prelink_cmds
16605 # Commands necessary for finishing linking programs.
16606 postlink_cmds=$lt_postlink_cmds
16608 # Specify filename containing input files.
16609 file_list_spec=$lt_file_list_spec
16611 # How to hardcode a shared library path into an executable.
16612 hardcode_action=$hardcode_action
16614 # ### END LIBTOOL CONFIG
16620 cat <<\_LT_EOF
>> "$cfgfile"
16621 # AIX sometimes has problems with the GCC collect2 program. For some
16622 # reason, if we set the COLLECT_NAMES environment variable, the problems
16623 # vanish in a puff of smoke.
16624 if test "X${COLLECT_NAMES+set}" != Xset
; then
16626 export COLLECT_NAMES
16633 ltmain
="$ac_aux_dir/ltmain.sh"
16636 # We use sed instead of cat because bash on DJGPP gets confused if
16637 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16638 # text mode, it properly converts lines to CR/LF. This bash problem
16639 # is reportedly fixed, but why not run on old versions too?
16640 sed '$q' "$ltmain" >> "$cfgfile" \
16641 || (rm -f "$cfgfile"; exit 1)
16643 if test x
"$xsi_shell" = xyes
; then
16644 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16648 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16649 \ * ) func_dirname_result="${3}" ;;\
16651 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16652 && mv -f "$cfgfile.tmp" "$cfgfile" \
16653 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16654 test 0 -eq $?
|| _lt_function_replace_fail
=:
16657 sed -e '/^func_basename ()$/,/^} # func_basename /c\
16660 \ func_basename_result="${1##*/}"\
16661 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16662 && mv -f "$cfgfile.tmp" "$cfgfile" \
16663 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16664 test 0 -eq $?
|| _lt_function_replace_fail
=:
16667 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16668 func_dirname_and_basename ()\
16671 \ */*) func_dirname_result="${1%/*}${2}" ;;\
16672 \ * ) func_dirname_result="${3}" ;;\
16674 \ func_basename_result="${1##*/}"\
16675 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16676 && mv -f "$cfgfile.tmp" "$cfgfile" \
16677 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16678 test 0 -eq $?
|| _lt_function_replace_fail
=:
16681 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16684 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16685 \ # positional parameters, so assign one to ordinary parameter first.\
16686 \ func_stripname_result=${3}\
16687 \ func_stripname_result=${func_stripname_result#"${1}"}\
16688 \ func_stripname_result=${func_stripname_result%"${2}"}\
16689 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16690 && mv -f "$cfgfile.tmp" "$cfgfile" \
16691 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16692 test 0 -eq $?
|| _lt_function_replace_fail
=:
16695 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16696 func_split_long_opt ()\
16698 \ func_split_long_opt_name=${1%%=*}\
16699 \ func_split_long_opt_arg=${1#*=}\
16700 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16701 && mv -f "$cfgfile.tmp" "$cfgfile" \
16702 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16703 test 0 -eq $?
|| _lt_function_replace_fail
=:
16706 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16707 func_split_short_opt ()\
16709 \ func_split_short_opt_arg=${1#??}\
16710 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16711 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16712 && mv -f "$cfgfile.tmp" "$cfgfile" \
16713 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16714 test 0 -eq $?
|| _lt_function_replace_fail
=:
16717 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16721 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16722 \ *) func_lo2o_result=${1} ;;\
16724 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16725 && mv -f "$cfgfile.tmp" "$cfgfile" \
16726 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16727 test 0 -eq $?
|| _lt_function_replace_fail
=:
16730 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16733 func_xform_result=${1%.*}.lo\
16734 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16735 && mv -f "$cfgfile.tmp" "$cfgfile" \
16736 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16737 test 0 -eq $?
|| _lt_function_replace_fail
=:
16740 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16743 func_arith_result=$(( $* ))\
16744 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16745 && mv -f "$cfgfile.tmp" "$cfgfile" \
16746 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16747 test 0 -eq $?
|| _lt_function_replace_fail
=:
16750 sed -e '/^func_len ()$/,/^} # func_len /c\
16753 func_len_result=${#1}\
16754 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16755 && mv -f "$cfgfile.tmp" "$cfgfile" \
16756 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16757 test 0 -eq $?
|| _lt_function_replace_fail
=:
16761 if test x
"$lt_shell_append" = xyes
; then
16762 sed -e '/^func_append ()$/,/^} # func_append /c\
16765 eval "${1}+=\\${2}"\
16766 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16767 && mv -f "$cfgfile.tmp" "$cfgfile" \
16768 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16769 test 0 -eq $?
|| _lt_function_replace_fail
=:
16772 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16773 func_append_quoted ()\
16775 \ func_quote_for_eval "${2}"\
16776 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16777 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16778 && mv -f "$cfgfile.tmp" "$cfgfile" \
16779 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16780 test 0 -eq $?
|| _lt_function_replace_fail
=:
16783 # Save a `func_append' function call where possible by direct use of '+='
16784 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16785 && mv -f "$cfgfile.tmp" "$cfgfile" \
16786 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16787 test 0 -eq $?
|| _lt_function_replace_fail
=:
16789 # Save a `func_append' function call even when '+=' is not available
16790 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16791 && mv -f "$cfgfile.tmp" "$cfgfile" \
16792 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16793 test 0 -eq $?
|| _lt_function_replace_fail
=:
16796 if test x
"$_lt_function_replace_fail" = x
":"; then
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16798 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16802 mv -f "$cfgfile" "$ofile" ||
16803 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16807 "include/librb-config.h":C
)
16808 outfile
=include
/librb
-config.h.tmp
16809 cat > $outfile <<\_______EOF
16811 * librb
-config.h
: libratbox config
file. Please modify configure.ac
16814 #ifndef __LIBRB_CONFIG_H
16815 #define __LIBRB_CONFIG_H
16819 if test "x$rb_have_ipv6" = "xyes"; then
16820 echo "#define RB_IPV6 1" >> $outfile
16823 if test "x$rb_windows_h" = "xyes"; then
16824 echo '#define WIN32_LEAN_AND_MEAN 1' >> $outfile
16825 echo '#include <windows.h>' >> $outfile
16826 echo '#include <winsock2.h>' >> $outfile
16827 echo '#include <iphlpapi.h>' >> $outfile
16830 if test "x$rb_alloca_h" = "xyes"; then
16831 echo '#define RB_HAVE_ALLOCA_H 1' >> $outfile
16834 if test "x$rb_header_stdc" = "xyes"; then
16835 echo '#include <stdlib.h>' >> $outfile
16836 echo '#include <stddef.h>' >> $outfile
16837 elif test "x$rb_header_stdlib" = "xyes"; then
16838 echo '#include <stdlib.h>' >> $outfile
16841 if test "x$rb_header_string_h" = "xyes"; then
16842 echo '#include <string.h>' >> $outfile
16845 if test "x$rb_stdint_h" = "xyes"; then
16846 echo '#include <stdint.h>' >> $outfile
16849 if test "x$rb_inttypes_h" = "xyes"; then
16850 echo '#include <inttypes.h>' >> $outfile
16853 if test "x$rb_sys_types_h" = "xyes"; then
16854 echo '#include <sys/types.h>' >> $outfile
16856 if test "x$rb_sys_time_h" = "xyes"; then
16857 echo '#include <sys/time.h>' >> $outfile
16859 if test "x$rb_sys_stat_h" = "xyes"; then
16860 echo '#include <sys/stat.h>' >> $outfile
16862 if test "x$rb_time_h" = "xyes"; then
16863 echo '#include <time.h>' >> $outfile
16866 if test "x$rb_sys_socket_h" = "xyes"; then
16867 echo '#include <sys/socket.h>' >> $outfile
16870 if test "x$rb_netinet_in_h" = "xyes"; then
16871 echo '#include <netinet/in.h>' >> $outfile
16874 if test "x$rb_arpa_inet_h" = "xyes"; then
16875 echo '#include <arpa/inet.h>' >> $outfile
16878 if test "x$rb_unistd_h" = "xyes"; then
16879 echo '#include <unistd.h>' >> $outfile
16882 if test "x$rb_crypt_h" = "xyes"; then
16883 echo '#include <crypt.h>' >> $outfile
16886 if test "x$rb_errno_h" = "xyes"; then
16887 echo '#include <errno.h>' >> $outfile
16890 echo "typedef $rb_socklen_t rb_socklen_t;" >> $outfile
16893 if test "x$rb_sockaddr_sa_len" = "xyes"; then
16894 echo '#define RB_SOCKADDR_HAS_SA_LEN 1' >> $outfile
16897 if test "x$rb_sockaddr_storage" = "xyes"; then
16898 echo '#define rb_sockaddr_storage sockaddr_storage' >> $outfile
16900 echo 'struct rb_sockaddr_storage { uint8_t _padding[128]; };' >> $outfile
16903 cat >> $outfile <<\_______EOF
16904 #endif /* __LIBRB_CONFIG_H */
16907 if cmp -s $outfile include
/librb
-config.h
; then
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: include/librb-config.h is unchanged" >&5
16909 $as_echo "$as_me: include/librb-config.h is unchanged" >&6;}
16910 ${rb_rm} -f $outfile
16912 ${rb_mv} $outfile include
/librb
-config.h
16923 ac_clean_files
=$ac_clean_files_save
16925 test $ac_write_fail = 0 ||
16926 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16929 # configure is writing to config.log, and then calls config.status.
16930 # config.status does its own redirection, appending to config.log.
16931 # Unfortunately, on DOS this fails, as config.log is still kept open
16932 # by configure, so config.status won't be able to write to it; its
16933 # output is simply discarded. So we exec the FD to /dev/null,
16934 # effectively closing config.log, so it can be properly (re)opened and
16935 # appended to by config.status. When coming back to configure, we
16936 # need to make the FD available again.
16937 if test "$no_create" != yes; then
16939 ac_config_status_args
=
16940 test "$silent" = yes &&
16941 ac_config_status_args
="$ac_config_status_args --quiet"
16943 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16945 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16946 # would make configure fail if this is the last instruction.
16947 $ac_cs_success || as_fn_exit
1
16949 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16951 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16957 echo "Compiling $PACKAGE_NAME $PACKAGE_VERSION"
16960 echo "Installing into: $prefix"
16962 echo "IPv6 support ................... $have_v6"
16963 echo "Assert debugging ............... $assert"
16964 echo "Block allocator ................ $balloc"
16965 echo "SSL Type........................ $SSL_TYPE"